A collection of tweaks for freeing up RAM, BIG TIME

Discussion in 'iOS Jailbreak & Cydia' started by An Outright Nihilist, Jun 16, 2012.

  1. An Outright Nihilist Well-Known Member

    Member Since:
    May 22, 2012
    Message Count:
    1,337
    Device:
    5G iPod touch
    This is written for iOS 5.
    May be compatible with previous or newer versions.

    DISCLAIMER: These tweaks seem to work better for people who have huge amounts of tweaks, after feedback from many people. I cannot fully guarantee that you will get the same results as me, which is Here.

    Before we start, this is what Wikipedia has to say about RAM
    So basically, RAM can be cleared through rebooting, but I found something related to it, something I call "Passive RAM". This "Passive RAM" is not affected by the rebooting, but does affect the RAM you see, which I call "Active RAM". Apparently, freeing up "Passive RAM" space gives free room for "Active RAM" to work, thus giving you more RAM, in a way. It is a permanent fix, so remember to back up. Then again, what you are going to do is EXTREMELY DANGEROUS, so you can't really undo your backups because most likely, by then, you are already stuck in a respring loop.:( But cheer up, at least you get a fresh version of iOS. Still keep the backups, you WILL need it later.

    Next, get yourself either "myFile" or "iFile" and SBSettings from Cydia store. These are the only things you need. You may need another thing called "afc2add" and a iDevice file browser like "iPhone Folders" if you want to back up stuff to your computer. SBSettings is used to check up on your RAM amount. Go on, do your research and installations. I'll wait.
    .
    .
    .
    .
    .
    Now that you are done, slide across the status bar and something would drop down. That is SBSettings. It is a convinient place where all your toggles rest, as well as whatever system statuses are. Look at the second last line and you would see 2 different sets of numbers. The first is your amount of RAM, the second, amount of space on your hard drive/flash drive. Take a look at the RAM amount and remember it, or take a screenshot by pressing the sleep and home button at the same time. It is theme-able but that is for next time.

    Now go into iFile or myFile. Keep on pressing the back button on the top left until you cannot go further. I am not sure for myFile, but in iFile, you can open tabs. At the bottom right, you can see a button. Press it. At the bottom left, press the + sign and a field of selections would come up. Press the first one stating "Local directory". Do either that or navigate to /var/mobile. Now create a backup folder. This is just in case anything goes wrong, which should not anyway. Now go back to the previous tab. Navigate through to /System/Library/TextInput and enter. Now start moving the whole folder to the backups folder. Then start deleting unwanted keyboards.

    KEYBOARDS.

    Textinput_ar : Arabic
    Textinput_bg : Bulgarian
    Textinput_bo : Tibetian
    Textinput_ca : Catalan
    Textinput_chr : Cherokee
    Textinput_cs : Chinese (Stroke) (Simplified and Traditional)
    Textinput_cy : Serbian (Cyrillic)
    Textinput_da : Danish
    Textinput_de : German (Possibly both Germany and Switzerland)
    Textinput_el : Greek
    Textinput_emoji : Obvious
    Textinput_en : English (UK and American)
    Textinput_es : ? (Possibly Spanish)(espaniol, see the first two letters?)
    Textinput_et : Estonian
    Textinput_fa : Persian (Possibly Related to Arabic)
    Textinput_fi : Finnish
    Textinput_fr : French
    Textinput_ga : Irish (Possibly Related to Icelandic)
    Textinput_haw : Hawaiian
    Textinput_he : Hebrew
    Textinput_hi : Hindi
    Textinput_hr : Croatian
    Textinput_hu : Hungarian
    Textinput_id : Indonesian
    Textinput_is : Icelandic
    Textinput_it : Italian
    Textinput_ja : Japanese (Romanji)
    Textinput_ka : Japanese (Kana)
    Textinput_ko : Korean
    Textinput_lt : Lithuanian (Or Latvian) (Messed Up, Sorry)
    Textinput_lv : Latvian (Or Lithuanian) (Messed Up, Sorry)
    Textinput_mk : Macedonian
    Textinput_ms : Malay
    Textinput_nb : Norwegian
    Textinput_nl : Flemish
    Textinput_pl : Polish
    Textinput_pt : Portuguese(Brazil and Portugal)
    Textinput_ro : Romanian
    Textinput_ru : Russian
    Textinput_sk : Slovak
    Textinput_sl : Slovenian (Possibly Related to Slovak)
    Textinput_sr : Serbian (Latin) (Do not delete if using Serbian)
    Textinput_sv : Swedish
    Textinput_th : Thai
    Textinput_tl : Tagalog (Possibly Related to Spanish, Latin)
    Textinput_tr : Turkish
    Textinput_uk : Ukranian
    Textinput_vi : Vietnamese
    Textinput_zh : Chinese (Zhuyin) ( Don't delete if you have any Chinese Keyboards)

    Remember why I asked you to backup? In case you need your Keyboards again. No sharing of Apple's files are allowed anywhere in the world UNLESS you have written permission from Apple.

    END OF KEYBOARDS.

    THIS SECTION IS NOT COMPULSORY AND IS ALSO NOT
    RECOMMENDED. (Sucks battery dry like a vampire)



    Now I am going to tell you how to get a really stable and quick iDevice, in theory. I did this on my 4th Gen Touch and found it went slightly quicker, at the cost of a slightly faster battery drain. You would need to edit some .plist files. First, use iFile, again, an navigate to /System/Library/CoreServices/powerd.bundle and find the file: com.apple.SystemPowerProfileDefaults.plist.

    Use the property list viewer and enter SystemProfileDefaults. Now all you have to do is enter every sub-section and navigate to the "Battery Power" section. Find the words "Reduce Processor Speed", which is obvious what it means. If the field has a "1", change it to a "0". You do not have to edit AC Power because when charging, everything is powered as maximum as possible. I don't know what UPS power means, so leave it alone for now.

    When you are done, save and reboot.


    END OF DANGER SECTION.
    :)


    Now, go to THIS thread, created by xXrkidXx. It teaches you how to free up, and speed up your iDevice by deleting Launch Daemons.

    One other way of speeding up your iDevice is by installing either "FakeClockUp" or "Speed Intensifier". Both from Cydia. I recommend "Speed Intensifier" because it is a relatively small tweak, just slightly smaller than "FakeClockUp". These tweaks boost your GUI, or Graphical User Interface, in which gives you faster graphics, but it can cause lags at times. But highly recommended.

    EXTRAS.

    Here is a list of stuff that are extra.

    First, if you have the time, you can go snooping all over /Library or/System/Library for pictures. Make sure you know what you are doing though. I will not be held responsible for this.


    First up, NON-Retina iDevices; go look for pictures that have the extra "@2x" at the back of the picture's name. Delete those or back them up first. Those are Retina files. You will never use them. They are just sitting there taking up space and collecting dust, like that old shirt you have in your closet that you never use. Get rid of those and you speed up your iDevice a little and also gives it some extra MBs.For example, Zeppelin has its files in /Library. Get rid of those extra logos you never use. Then, get into the file your logo is and delete the unnecessary @2x files in there too, lifting more weight off your iDevice's shoulders.





    Next, RETINA-Only iDevices; Do the opposite of the non-Retina guys. Delete anything without the "@2x". Those are non-retina files and you cannot use them. You can if you want to, but it's stupid. You get your Retina iDevice for Retina right? Basically, do the total opposite from the non-Retina guys.
    For example, Zeppelin has its files in /Library. Get rid of those extra logos you never use. Then, get into the file your logo is and delete the unnecessary files without @2x at the back of the name in there too.

    UPDATE 1: Also, find packages with integration with other packages, like SBSettings, which integrated both Poof! and MakeItMine, which allows you to change carrier names to your likings. This types of packages are far smaller than having two different packages sitting separately in your iDevice.

    One more thing. Before you start installing to your whim and fancy, look at the package's amount taken when installed. Most packages have this section below the descriptions. It will show you what is the expanded size, so you can find a similar tweak that is smaller, and thus makes your iDevice smoother, since it does not need to load huge files to run.

    Also, if you find your iDevice going slower, find out what you rarely use and delete it. You can always install it back if you want to. If you can install it, you can re-install it later when you really need it. The most common thing happening is Notifications Center lagging when it opens. You have too much extra tweaks. Instead of having an extra Notes tweak, you might as well get SBSettings, which has a notes integration, which is equally good and personally, I find it better than other ones.

    END OF UPDATE 1.

    MINOR UPDATE 3: For people who have SBSettings, as most of you may know, you can place date/Free RAM on the status bar beside the time. If you disable that, you free up about 5-10 MBs of RAM, don't know why though, but confirmed.

    END OF MINOR UPDATE 3.
    END OF EXTRAS.

    One last word, results vary from iDevice to iDevice. If you get more free RAM, good for you. If you don't, go delete those unnecessary tweaks, themes you have in there to free up even more RAM. Most tweaks take up RAM to a certain extent. Like Preference bundles for example. More bits of info coming up soon. Stay Tuned.

    Credits, xXrkidXx, for LaunchDaemon tweaks. Whoever created "Speed Intensifier", "iFile", "myFile", "FakeClockUp", "iPhone Folders" and "SBSettings". Also, tw23, for helping out wherever he can, although little, ValleyForge, for giving me some extra info at times. Others who argued with me to get my facts right and Apple Computer, for creating the best mobile platform ever, the iOS.

    UPDATE 2: After comparing doing and undoing my work, I found a huge battery life increase. I could play GTA Chinatown Wars for close to 6 hours straight, animations and sound going. Without the mods, only about 1-2 hours max.
    Also, after contacting iCleaner maker Exile_90, he has now input a new selection in v5.3.0 to allow you to move your system fonts to the data partition, giving you even more space for RAM.
    One more thing, if you want a teensy, but negligible extra RAM, go to your multitasking bar and delete all those unused icons. They take up space in the system drive, thus eats up your RAM, because it needs to load these images every time.
    END OF UPDATE 2.
  2. Laze Well-Known Member

    Member Since:
    Jun 14, 2012
    Message Count:
    2,112
    Device:
    iPad 3
    Deleting keyboards didn't make a difference to me. And by deleting @2x files you are only freeing space, not ram
    pandaa likes this.
  3. An Outright Nihilist Well-Known Member

    Member Since:
    May 22, 2012
    Message Count:
    1,337
    Device:
    5G iPod touch
    No, you don't get it. The Keyboards are located in the RAM sector. So deleting them means freeing up RAM, to an extent. Anyway, I did get a RAM boost and smoother graphics and got to a stable, close to non-crash state, for my Touch 4th Gen. Same thing for Launch Daemons and the others. More updates coming soon after I get my research done up proper.
  4. Laze Well-Known Member

    Member Since:
    Jun 14, 2012
    Message Count:
    2,112
    Device:
    iPad 3
    Perhaps it's a placebo effect, I don't know. I found that completely disabling location services via plist made a small difference for me, but then again, could be placebo.
  5. An Outright Nihilist Well-Known Member

    Member Since:
    May 22, 2012
    Message Count:
    1,337
    Device:
    5G iPod touch
    Odd why I got this really HUGE blank spot after the credits.
  6. An Outright Nihilist Well-Known Member

    Member Since:
    May 22, 2012
    Message Count:
    1,337
    Device:
    5G iPod touch
    It is a possible freeing method, I will look into that. But if you notice a fluctuation in the SBSettings RAM showing section, tell me and I would add your suggestion in.
  7. An Outright Nihilist Well-Known Member

    Member Since:
    May 22, 2012
    Message Count:
    1,337
    Device:
    5G iPod touch
    Fixed it. Apparently there is something wrong with the post creator that caused the huge gap.
  8. Laze Well-Known Member

    Member Since:
    Jun 14, 2012
    Message Count:
    2,112
    Device:
    iPad 3
    You should add foldericonlagfix in there. It makes the folders a fair bit quicker. I would post the repo but I think it has piracy on there.
  9. An Outright Nihilist Well-Known Member

    Member Since:
    May 22, 2012
    Message Count:
    1,337
    Device:
    5G iPod touch
    insane lyi? Maybe, but I already know that. It can be a fix, but it still takes up space. Remove all extra stuff=less things to process through=faster speeds. It's like giving your car nitro only to realise the nitro tanks are heavy and it slows your car down. Might as well get a Ferrari FXX, one of the lightest, fastest, commercially available cars in the world, that comes without nitro at all.
  10. ValleyForge Head of Community Development Team

    Member Since:
    May 25, 2011
    Message Count:
    10,801
    Device:
    5G iPod touch
    Interesting logic...although I hate to tell you that most of it is...not logical. What you call the "RAM Sector" is really the System partition, which is just where all of the files needed for the system to run are. It uses each of those individual files exclusively when it needs it. It can help a little to get them out of the way, probably for rapid indexing purposes, and there is a package for that called iCleaner on Cydia.
    ale624 and pandaa like this.