internal memory (getting more out of the G1) - G1 Android Development

everyone know the g1's internal storage isn't very big (not complaining i still love the phone)
i just made this thread for people to post ways on how to better use the limited storage of the phone.
examples
going to: Settings -> applications -> manage applications and clearing the data of high memory usage apps like:
browser(will delete bookmarks and saved passwords),
youtube(will delete),
maps, and streetview,
Download Manager
html viewer
media storage (brings ring tones back to default)
package installer
*myfavs* (clears all contacts and redial list)
settings (defaults background and items on the main screens)
System linking caches to sdcard
browser cache to sdcard (works with steel and mippin)
http://forum.xda-developers.com/showthread.php?t=443336
market cache to sdcard
http://forum.xda-developers.com/showthread.php?t=444294
if anyone has any other tips to saving memory like multifunction apps that replace more than one other apps like "handstand" and "telegraph.co.uk" please post
In addition, is there any progress in saving apps to the sdcard? also seeing as though some people have root access, is it possible to uninstall apps that came with the phone like the im application?

only good if u have root access...

Related

{Guide} It's not you, it's me. I need my space.

So since most are concerned with the allmighty "SAVING OF internal SPACE". Here is a sort of NOOb guide for just that and some the options that go with it. Some of these most of you may know but there are also some tidbits that I have found out about through trial and error, (No relation to forum member "Try-And-Error").
Obviously there is app2sd (2.1), app2ext, app2card, link2sd, native froyo app2sd and just plain not installing a bunch of garbage apps. There are plenty of threads about these and their uses, so I won't go into them
But did you know that you can also free up some internal memory space by just basic maintenance? You can install a Cache Cleaner from the market. I use Cache Cleaner NG (root) and CacheMate (root) which will clear your cache for you, Cache Cleaner NG will even clear your cache on your SDcard. Open Root Explorer and if you see a bunch of free floating cache files, those need to go. Wasted space. Small in the scheme of your SDcard, but still wasted.
So here we go (best part is at the bottom though):
Ok so you go into XDA on your phone, go to the themes page and look at what and how people are theming their phones or see some pix of someone's SetCPU profiles. All those develop a cache that takes up space on your phone and if you don't get rid of it, you'll run out (I have had mine up to 54mb before). Now lets say that you go to the market and look through some apps or update your apps (more on this later). This also generates cache, usually up to 2-4mb. Ever try to download something from the market and it says something like "not enough space". This not needed cache may be some of the reason.
Here are some tricks and apps that some of you may know and also some tricks that I have found that I am sure most don't know about.
SOME GOOD LOW MEMORY APPS:
Cache Cleaner NG and Cache Mate (both root and free-Cache Mate has a paid but the free one works just fine.)
Diskusage (free) ~ this one will show you a graphical version of your /data/apps and also you SD card to show you exactly what is taking up so much space. You can click on that thing and hit "Show" and it will take you to the app's page in Manager Applications. It also has a root function too that will allow you to see what is in /system, /cache, /data,…
Some sort of file manager to get to some things I'll mention below. (I use Root Explorer)
SOME MEMORY CLEARING TIPS AND TRICKS:
Home Launcher ~ If you have a 3rd party home launcher, see if it has the ability to long-press an icon to take you to its screen in the Manage Apps section. I use ADWex and if you long-press on say Market, it takes me to the same place as is I were to go to Settings->Applications->Manage Apps->Market. Instead of all that, just long-press on the icon and BAM! it takes you there. Here you can clear out your cache for the market or delete the data (if you need to do that). Or clear the cache of the XDA app b/c you looked at too many pix.
Browsers ~ These develop cache that takes up memory and space, especially the stock browser. If you use a 3rd party, you can get the settings to clear cache, cookies, passwords,…on exit. I use Dolphin, but I am pretty sure that most have something like this on them. (side note: most 3rd party browsers once exited will not run in the background unlike the stuck one)
Media ~ So you download a bunch of mp3's from the net or click on some pix and save it to your SD card. Or maybe you just felt like wiping your card and having a fresh start. Every time you reboot, you phone will scan media. No big deal, but the more you criss-cross things from PC to phone and back again, it can create a bunch of double files in your media cache on the phone. With the proper placement of .nomedia files (this prevents your media scanner from doing just that, scanning media- i.e. pix, jpegs,…Don’t place a .nomedia in your music, album art or DCIM files**bad), Every once in a while, I'll hit the Diskusage or go to Manage apps and clear the media cache. Then I got to my file manager and the DCIM->Thumbs and delete the .Thumbnails files (should be 2). Unmount the SD card and remount to start the media scan, pull up the Gallery and wait for the thumbs to come back (depending on how many you have, this could take awhile). By doing this you can get almost 5 mb back if you have a bunch of double scans in your media folder.
AND NOW FOR SOME TIPS THAT MOST COULD NOT KNOW:
Lets say that you have your phone plugged into your PC and for some reason you, in a fit of rage, jerk the plug out without unmounting it first. This creates a file that is put into your LOST DIR folder on your SD card. Anytime you don't safely unmount the SD card, it will create a file in that folder. In the scheme of the SD card, it isn't too much, but I don't like having useless items free floating about.
So you are downloading an update from the market and for some reason your phone freezes and the Force close-Retry-Wait doesn't work out for you. You have to do a battery pull. Frustrating I know and the memory takes a hit too. Every time you have to do a battery pull because of a freeze up or something of the like, it creates a TOMBSTONE file in /data. These are useless and can be deleted. If you are flashing ROMs and are constantly having to do battery pulls b/c market crashes or an app freezes, then you are creating a Tombstone file.
**Here is where your file manager (with root) will help. Go into /data and scroll all the way to the bottom and open /tombstone. There should be some files in there and depending on how many there are, I could be a nice chunk of wasted memory. Just select all and delete. They are not needed. Your internal memory should go up by doing this.
Same scenario, but now go into /data/ cache or /cache and you'll see Dalvik-Cache (don’t mess with this), Lost & Found and Recovery. If you tried to download an app and it got frozen for some reason and had to do a battery pull, the apk will be free floating in there, uninstalled. You can delete this. While it isn't in the Dalvik-Cahce folder, it is taking up space. Once you are able to download something completely and correctly from the market, it will populate into Dex correctly and won't be a free radical, as I like to say.
Obviously this is not all encompassing, but just some things that I have found along the way that some of the newer people may not know and just wondered about. And as usual, always make back ups and I am not responsible.
p.s ~ Didn’t mean for this to be a manifesto-sized, but some of the things above needed scenarios to make sure you understand.
Wow very detailed. Thumbs up for the effort to explain to us!
Sent from my Milestone using XDA App
Just bookmarked it, very useful!

[Q] [Howto] Clear Backup contents and Apps isolated memory?

Hi,
Surprisingly after installing playing many games and trying out applications, now my phone has only 100mb free space left, which is indeed worrying me.
Since 3.9GB out of 8GB is showing as "Reserve Space and other content" in Zune.
But I need to clear out any unnecessary backup data and applications isolated data so that I can get most of the space back.
Phone: Omnia W
Developer unlocked only. No full unlock available yet.
nitin88g said:
Hi,
Surprisingly after installing playing many games and trying out applications, now my phone has only 100mb free space left, which is indeed worrying me.
Since 3.9GB out of 8GB is showing as "Reserve Space and other content" in Zune.
But I need to clear out any unnecessary backup data and applications isolated data so that I can get most of the space back.
Phone: Omnia W
Developer unlocked only. No full unlock available yet.
Click to expand...
Click to collapse
In Zune you can set your reserved content to about 500mb if you want and you can get other space for storage. Double click on the 'orange' reserved content you will be able to decide how much you want to reserve. Uninstalling apps will get rid of it's storage etc.
If nothing helps, hard reset and you are good to go.
If your phone is interop-unlocked (WindowBreak or similar) you can install WP7 Root Tools and then use it to enable appSiege, which will let you see how much data each app is using up.
Uninstalling an app deletes all its isolated storage files. You can then re-install the app if you still want to have it on the phone. Some apps also have a feature to purge their cached data.
Given how much data you have in the OS, it's possible you're keeping email for too long. You may want to either sync fewer email folders or keep the synced files for a shorter time (most of my accounts only keep messages for two weeks). You can also try deleting your Internet Explorer cache (Settings -> Applications -> Internet Explorer -> Delete History) although that will delete your saved passwords and such too... it's possible to delete just the temp files, but doing so requires high-privilege access to the filesystem.

Incredible "must have" apps to get memory back.

FIRST: A WARNING
These apps require the phone to be rooted to be able to reach their full potential. And as they give you complete control over what to do, it's easy to get your ChaCha f****d up. So a backup with CWM Recovery is highly recommended.
We all know that the internal memory of the Chacha is low, and we are always struggling to have it controlled. Custom roms can make that memory to be really low when just installed, but continued use and trying apps make the memory to be filled with many files that are still there, even when you delete the app and the data associated to that app.
Many people likes to once a month or two, delete data and cache and start again, but for many of us, that's not an option because of the level of customization we have and must be repeated every time that operation it's done.
Enter these three apps, that well used can make you lower the used memory. They allows you to do a mix of regular manteinance and 'once in a while' operations.
AppCache Cleaner Makes easy to clear every day the cache files used by many apps like Market, Maps, Shazam!, and many others. Those cache files are secure and safe to be deleted. The app is easy to be set up and more easy to use. Also, an automatic clean every N time can be set.
SD Maid - System cleaning tool Makes the work of the previous app but with added functionalities, aimed to a less regular manteinance and deep clean. It can find corpses: data files of uninstalled apps that are there wasting space and many other things like log files, duplicated files... that are there making your ChaCha life harder. Some attention is required here because some operations, it not rightly done, can make you have a bad time because of deleting files you wanted not to delete, or that are essential files for your apps or system to run.
SystemCleanup This app is the most powerful of all and also the most dangerous. It has many of the features of the paid version of Titanium Backup, but for free. You can move apps from /system to /data, from /data to /system, odex and deodex them, move from/to sdcard, edit the autorun events they receive, freeze them, make backups... You can get rid of many of the bloatware the ChaCha comes with, and also decide what to do with those apps. The app itself give you directions on some apps that are safe to remove of required not to remove, but you are free to do what you want to with it, so attention must be put on what to do when using it.
I my self was able to remove about 60MB of useless stuff and the free memory jumped to a whopping 92MB of free memory after using them.
Take a look and have luck.
Titanium Backup ★ root - it allows You to "integrate app update to ROM" and save space in user storage.
Also it allows you to remove unused app from ROM and move "integrate" some aplications to ROM.
Most important would be app for recording Calls (both side), do Enyone know that software?

Moving apps to SD & optimize memory on a phone with low memory [REQUIRES ROOT]

In this thread I want to share my thoughts and experiences on how to optimize storage and memory for a phone with low internal memory and with access to an SD card, for example like the LG G4S (model H735) with only 8GB internal memory and 1.5GB RAM.
I'm happy to hear more suggestions to optimize!
First of all, you need to root your phone. Find out how to do this for your individual model.
Once you're rooted, you can optimize your storage and memory:
Get a good SD card with fast read and write speeds! This is crucial as you're going to be running lots of apps from it. Get a 32GB (or if your phone supports more, then more!).
You should partition your SD card so that you can make a second partition with the ext4 file system used by Android. Only then will you be able to move almost all your apps to SD! See notes below on how to partition your SD card.
You can now use the excellent Link2SD app to do all of the cleaning tasks:
Moving & linking apps & data to SD
Uninstall system apps
By default, you will only be able to move the "user" apps (the ones which were not installed as part of the system, e.g. the ones you installed yourself). But we can get around this with many apps! This is described below (in 4.).
You may have noticed that when you switch between apps, e.g. between your game and your messaging app, every time you switch, the app reloads (e.g. the game takes ages to start up again). This is because your RAM (main memory) usage is not optimized. You can also do something which is likely fix this, which I will describe below (in 5.).
1. A word about data usage of an app
You may have wondered why your memory usage is still so high when you moved your app to an SD card with the classic Android "Move to SD" functionality (which you can access via the Android app settings).
Well, the classic Android "Move to SD" only moves the app. But often the bulk of the data is actually not in the app itself, but in the data and OBB files of the app! In games, this can be up to several gigabytes. And this stuff remains on your internal storage! So we will need to move this as well, and then "link" to the moved data, so the Android OS "believes" that the data is still on internal storage. Imagine this similar to doing a (soft)link to a file on your computer.
Also, doing it this way ("linking") is much better than the classic Android move-apps. For example, you can avoid problems with widgets which may not run any more once they have been moved to SD with Android move-apps.
There are a few apps which can help you move&link your apps and data. I have tried a few, and in my opinion Link2SD is the best, as it
already detects if your app uses OBB and data files
you can easily display the apps which use most storage (also in terms of data files!)
and you can also uninstall system apps more reliably than with other root apps!
You will need to get the pro version in order to do everything with it, but this is $2 well worth spending, you won't need any other apps for managing the moving. It's much easier than e.g. FolderMount to easily move all the relevant data of an app to SD.
2. The partitions on your phone
Most likely, your phone will be using different partitions on the internal storage for different purposes. For example, there may be a partition which is exclusively to be used for the "system" (the Android OS and system applications).
You can use an app like Disk Info to show the partitions on your internal storage (and SD card) and how much space is still free on them.
This may vary between phones, but in most cases you should find a "data" partition or similar, which is used for
Applications installed by you
Updates of system apps (!!!)
Data, Cache, OBB files etc. used by your apps
The size of this data partition is pretty much what you can get out of your internal storage: if you move everything out of there, this is the maximum free space you can get (again, it may vary from phone to phone). You cannot easily get access to the system and cache partition to use as storage space, and you shouldn't try to mess with that anyway.
So what you can try to do, is shove as much as possible out of the data partition onto your SD card. The free space on data can then be used as a "buffer" when you download and install applications, before you move&link them onto the SD card.
Note also that your data partition is used for updates which may have been automatically downloaded. This may take up a significant chunk of your data partition! So you may want to either:
Move the whole system app to SD card (see below described for Link2SD).
Or, "merge" the updates into the main app, so that it then resides on the system partition again.
To merge the update with the main app, long-tap (tap and hold) on the app in Link2SD and select Integrate app into system. However keep an eye on the free disk space on the system partition, you don't want it to get too close to using full capacity! So only merge updates when you're sure there is enough free space on /system.
3. Partition your SD card
It is important that you create a second partition on your SD card, formatted with the ext4 file system used by Android. Only then will you be able to move all apps completely onto SD.
On Windows, you can use Mini Tool Partition Wizard to partition your SD card and format the second partition as ext4. I won't go into detailed instructions here, there's other documentation for this on-line.
Only a few notes:
It is important that you format the ext4 partition as "primary" also!!!
You can also "resize" the first partition (the FAT32 which may already be on it), without losing your data. However if something goes wrong, you may lose the data anyway, so it's advisable to backup your data on the SD card before.
You may want to keep a FAT32 partition (also formatted as primary), because on windows systems you cannot easily read ext4, so you may want to use the FAT partition to store your pictures etc., which you can then also read from a Windows computer.
4. Use Link2SD to move your apps
Open Link2SD and you will see a list of your apps. On the top bar you can select to display only apps of certain types, e.g. "user" and "system" apps. And you can also sort them according to different criteria, e.g. "Name" or "Size". I often use "Size (total)" in the bottom of the sorting criteria list. This shows the apps which use the most data overall first.
First, we will move the "user" apps to SD.
Display all the "user" apps and click on the first one you want to move & link to SD.
You will see a detailed list of your app and data usage.
You will see buttons to Link to SD card or Remove link. Below this, you see a field titled Android App2SD in which you can Move to SD Card --- this is the classic Android way to move apps: don't use this! Use Link to SD Card instead
After selecting Link to SD card , you can tick the boxes for everything you would like to move (app/cache/internal data...), and then click OK. Link2SD will move all your stuff to the ext4 partition of your SD card and then also link to it.
The apps which also use OBB files and extra data/cache will display extra boxes in Link2SD. Try a game app for example to see this, large games are likely to use this. You can click Link to SD for these extra files also, and it'll be all moved to your SD! Warning: I've had problems particularly with moving OBB files, sometimes also with data files -- the app was not launching properly after I've moved the OBBs. This is not the fault of Link2SD though, I've had the same problems with other apps like for example FolderMount.
If you want to undo the linking, just use Link2SD and select Remove Link. All your data will be moved back to internal storage, and the link will be removed. All back to how it was before. Easy!
Now you may also want to move system apps to SD to create even more space. While system apps natively reside on the /system partition (see 2. above), they also may store data and cache on the /data partition. Or, you may also want to create more space in the /system partition by moving system apps to SD.
The problem is, even though you are rooted, you cannot move the system apps. And for many of the system apps, you shouldn't do this either. However, it is safe to do this for apps which are installed as "system" but not really an integral part of the OS, such as
Chrome
Google maps
Google docs
Google drive
YouTube
and more.
To move them, you can use Link2SD to convert them from "system" app to "user" app.
Open Link2SD and long-tap (tap and hold) on the app to open the options menu. If you have a Convert to user app option, that's that!
If you don't have the conversion option, you can try something else:
Uninstall the app first by long-tapping on the app in Link2SD, and selecting Uninstall. But first make sure you will be able to download this app from Google Play!
You will need to reboot the phone.
Re-install the app from Google Play.
Now, you can use Link2SD to link the app to SD as we did for the user apps before.
Important: Never to this for core system apps, and I would also not touch Google Play or any of its services.
Note: You may also consider to just merge the updates of a system app so that it resides in the /system partition again. See description above (2.) for more details.
5. Optimizing your RAM
What I found particularly annoying on my LG G4S (H735) is that whenever I switched between my game (large files) and another app (e.g. messaging app), the game would load up from scratch again, which would take a few minutes. The reason for this is that the default settings on the phone were set to keep a too big part of the memory "free", so other apps were "killed" as soon as I was using my game. When I then switched back to home screen, all the other apps had to be re-launched, and my game instead "killed" again.
You can decrease the threshold of reserved free memory by editing the build props. There's a risk to get an unstable system if you tweak this too much, but if you try carefully, it may be ok. And you can also reset it to defaults if you're not happy with the results.
You will need a build prop editor, for example the Build Prop Editor app. Open it, and click on the "edit" pencil below to edit the following values:
ro.sys.fw.mOomMinFree1=...
ro.sys.fw.mOomMinFree2=...
ro.sys.fw.mOomMinFree3=...
ro.sys.fw.mOomMinFree4=...
ro.sys.fw.mOomMinFree5=...
ro.sys.fw.mOomMinFree6=...
It worked like a treat on my phone (LG G4S with 1.5GB RAM) and was also reported to work nicely with the LG G3, using the following values:
ro.sys.fw.mOomMinFree1=49152 (unchanged)
ro.sys.fw.mOomMinFree2=61440 (unchanged)
ro.sys.fw.mOomMinFree3=65000 (was set to 73728 originally)
ro.sys.fw.mOomMinFree4=70000 (was set to 204800 originally)
ro.sys.fw.mOomMinFree5=80000 (was set to 262144 originally)
ro.sys.fw.mOomMinFree6=100000 (was set to 327680 originally)
Please share your experiences if you have some tipps to further optimize low-memory phones! Thanks
See also
http://forums.androidcentral.com/lg...ry-using-link2sd-w-pros-cons-vs-data2ext.html
http://www.link2sd.info/faq
jen.magnolis said:
In this thread I want to share my thoughts and experiences on how to optimize storage and memory for a phone with low internal memory and with access to an SD card, for example like the LG G4S (model H735) with only 8GB internal memory and 1.5GB RAM.
I'm happy to hear more suggestions to optimize!
First of all, you need to root your phone. Find out how to do this for your individual model.
Once you're rooted, you can optimize your storage and memory:
Get a good SD card with fast read and write speeds! This is crucial as you're going to be running lots of apps from it. Get a 32GB (or if your phone supports more, then more!).
You should partition your SD card so that you can make a second partition with the ext4 file system used by Android. Only then will you be able to move almost all your apps to SD! See notes below on how to partition your SD card.
You can now use the excellent Link2SD app to do all of the cleaning tasks:
Moving & linking apps & data to SD
Uninstall system apps
By default, you will only be able to move the "user" apps (the ones which were not installed as part of the system, e.g. the ones you installed yourself). But we can get around this with many apps! This is described below (in 4.).
You may have noticed that when you switch between apps, e.g. between your game and your messaging app, every time you switch, the app reloads (e.g. the game takes ages to start up again). This is because your RAM (main memory) usage is not optimized. You can also do something which is likely fix this, which I will describe below (in 5.).
1. A word about data usage of an app
You may have wondered why your memory usage is still so high when you moved your app to an SD card with the classic Android "Move to SD" functionality (which you can access via the Android app settings).
Well, the classic Android "Move to SD" only moves the app. But often the bulk of the data is actually not in the app itself, but in the data and OBB files of the app! In games, this can be up to several gigabytes. And this stuff remains on your internal storage! So we will need to move this as well, and then "link" to the moved data, so the Android OS "believes" that the data is still on internal storage. Imagine this similar to doing a (soft)link to a file on your computer.
Also, doing it this way ("linking") is much better than the classic Android move-apps. For example, you can avoid problems with widgets which may not run any more once they have been moved to SD with Android move-apps.
There are a few apps which can help you move&link your apps and data. I have tried a few, and in my opinion Link2SD is the best, as it
already detects if your app uses OBB and data files
you can easily display the apps which use most storage (also in terms of data files!)
and you can also uninstall system apps more reliably than with other root apps!
You will need to get the pro version in order to do everything with it, but this is $2 well worth spending, you won't need any other apps for managing the moving. It's much easier than e.g. FolderMount to easily move all the relevant data of an app to SD.
2. The partitions on your phone
Most likely, your phone will be using different partitions on the internal storage for different purposes. For example, there may be a partition which is exclusively to be used for the "system" (the Android OS and system applications).
You can use an app like Disk Info to show the partitions on your internal storage (and SD card) and how much space is still free on them.
This may vary between phones, but in most cases you should find a "data" partition or similar, which is used for
Applications installed by you
Updates of system apps (!!!)
Data, Cache, OBB files etc. used by your apps
The size of this data partition is pretty much what you can get out of your internal storage: if you move everything out of there, this is the maximum free space you can get (again, it may vary from phone to phone). You cannot easily get access to the system and cache partition to use as storage space, and you shouldn't try to mess with that anyway.
So what you can try to do, is shove as much as possible out of the data partition onto your SD card. The free space on data can then be used as a "buffer" when you download and install applications, before you move&link them onto the SD card.
Note also that your data partition is used for updates which may have been automatically downloaded. This may take up a significant chunk of your data partition! So you may want to either:
Move the whole system app to SD card (see below described for Link2SD).
Or, "merge" the updates into the main app, so that it then resides on the system partition again.
To merge the update with the main app, long-tap (tap and hold) on the app in Link2SD and select Integrate app into system. However keep an eye on the free disk space on the system partition, you don't want it to get too close to using full capacity! So only merge updates when you're sure there is enough free space on /system.
3. Partition your SD card
It is important that you create a second partition on your SD card, formatted with the ext4 file system used by Android. Only then will you be able to move all apps completely onto SD.
On Windows, you can use Mini Tool Partition Wizard to partition your SD card and format the second partition as ext4. I won't go into detailed instructions here, there's other documentation for this on-line.
Only a few notes:
It is important that you format the ext4 partition as "primary" also!!!
You can also "resize" the first partition (the FAT32 which may already be on it), without losing your data. However if something goes wrong, you may lose the data anyway, so it's advisable to backup your data on the SD card before.
You may want to keep a FAT32 partition (also formatted as primary), because on windows systems you cannot easily read ext4, so you may want to use the FAT partition to store your pictures etc., which you can then also read from a Windows computer.
4. Use Link2SD to move your apps
Open Link2SD and you will see a list of your apps. On the top bar you can select to display only apps of certain types, e.g. "user" and "system" apps. And you can also sort them according to different criteria, e.g. "Name" or "Size". I often use "Size (total)" in the bottom of the sorting criteria list. This shows the apps which use the most data overall first.
First, we will move the "user" apps to SD.
Display all the "user" apps and click on the first one you want to move & link to SD.
You will see a detailed list of your app and data usage.
You will see buttons to Link to SD card or Remove link. Below this, you see a field titled Android App2SD in which you can Move to SD Card --- this is the classic Android way to move apps: don't use this! Use Link to SD Card instead
After selecting Link to SD card , you can tick the boxes for everything you would like to move (app/cache/internal data...), and then click OK. Link2SD will move all your stuff to the ext4 partition of your SD card and then also link to it.
The apps which also use OBB files and extra data/cache will display extra boxes in Link2SD. Try a game app for example to see this, large games are likely to use this. You can click Link to SD for these extra files also, and it'll be all moved to your SD! Warning: I've had problems particularly with moving OBB files, sometimes also with data files -- the app was not launching properly after I've moved the OBBs. This is not the fault of Link2SD though, I've had the same problems with other apps like for example FolderMount.
If you want to undo the linking, just use Link2SD and select Remove Link. All your data will be moved back to internal storage, and the link will be removed. All back to how it was before. Easy!
Now you may also want to move system apps to SD to create even more space. While system apps natively reside on the /system partition (see 2. above), they also may store data and cache on the /data partition. Or, you may also want to create more space in the /system partition by moving system apps to SD.
The problem is, even though you are rooted, you cannot move the system apps. And for many of the system apps, you shouldn't do this either. However, it is safe to do this for apps which are installed as "system" but not really an integral part of the OS, such as
Chrome
Google maps
Google docs
Google drive
YouTube
and more.
To move them, you can use Link2SD to convert them from "system" app to "user" app.
Open Link2SD and long-tap (tap and hold) on the app to open the options menu. If you have a Convert to user app option, that's that!
If you don't have the conversion option, you can try something else:
Uninstall the app first by long-tapping on the app in Link2SD, and selecting Uninstall. But first make sure you will be able to download this app from Google Play!
You will need to reboot the phone.
Re-install the app from Google Play.
Now, you can use Link2SD to link the app to SD as we did for the user apps before.
Important: Never to this for core system apps, and I would also not touch Google Play or any of its services.
Note: You may also consider to just merge the updates of a system app so that it resides in the /system partition again. See description above (2.) for more details.
5. Optimizing your RAM
What I found particularly annoying on my LG G4S (H735) is that whenever I switched between my game (large files) and another app (e.g. messaging app), the game would load up from scratch again, which would take a few minutes. The reason for this is that the default settings on the phone were set to keep a too big part of the memory "free", so other apps were "killed" as soon as I was using my game. When I then switched back to home screen, all the other apps had to be re-launched, and my game instead "killed" again.
You can decrease the threshold of reserved free memory by editing the build props. There's a risk to get an unstable system if you tweak this too much, but if you try carefully, it may be ok. And you can also reset it to defaults if you're not happy with the results.
You will need a build prop editor, for example the Build Prop Editor app. Open it, and click on the "edit" pencil below to edit the following values:
ro.sys.fw.mOomMinFree1=...
ro.sys.fw.mOomMinFree2=...
ro.sys.fw.mOomMinFree3=...
ro.sys.fw.mOomMinFree4=...
ro.sys.fw.mOomMinFree5=...
ro.sys.fw.mOomMinFree6=...
It worked like a treat on my phone (LG G4S with 1.5GB RAM) and was also reported to work nicely with the LG G3, using the following values:
ro.sys.fw.mOomMinFree1=49152 (unchanged)
ro.sys.fw.mOomMinFree2=61440 (unchanged)
ro.sys.fw.mOomMinFree3=65000 (was set to 73728 originally)
ro.sys.fw.mOomMinFree4=70000 (was set to 204800 originally)
ro.sys.fw.mOomMinFree5=80000 (was set to 262144 originally)
ro.sys.fw.mOomMinFree6=100000 (was set to 327680 originally)
Please share your experiences if you have some tipps to further optimize low-memory phones! Thanks
See also
http://forums.androidcentral.com/lg...ry-using-link2sd-w-pros-cons-vs-data2ext.html
http://www.link2sd.info/faq
Click to expand...
Click to collapse
So did the linking worked! Because I tried foldermount and link2SD but none of them worked. Which I create a link it simply tries to redownload all the data. Please help!
Hi, can you please be a bit more precise about what you were trying to do? Did you do step 3, then followed by 4, which didn't work?
Uninstall foldermount or make sure it is not linking anything. I had problems with foldermount, it may mess things up in your case.
It is also important you created the right file system in your SD card partition (step 3).
A bit complicated for me but gonna try to do it, thanks man
Sent from my Lenovo A5000 using XDA-Developers mobile app
Hi man
I have a Lenovo p70
And I have 32 gb Kingston class 4
I re-partion my memory with apps2sd all in one
And I link the most apps to SD card but I have a problems
When restart my phone most of the apps disappear and I need to restart my phone with soft restart
What the problem and how I can solve it ??
---------- Post added at 01:22 PM ---------- Previous post was at 01:18 PM ----------
And I have a question for you
Step 5 optimizing ram I don't optimizing it
If it nessesary to work plz tell me
I'm so sorry for bad language

Titanium Backup & Internal Storage: Does Not Display Apps Which Exist on SD

Hey Guys -
I've looked everywhere for a solution to this issue and even submitted a request to Titanium's developers, but have yet to find a solution or get a response. In fact, I can't find an issue matching mine online. Posting here hoping someone can help...
The Issue
When launching Titanium Backup on my Shield (6.01 / Rooted), it lists only 289 apps. The problem is that I have a total of 310 user / system ones installed therefore roughly 20 apps aren't listed. I'm wanting to upgrade my tablet to 4.2 and want to backup first, but many of the apps I frequently use are installed to the sd physically.
Why I Think It's Happening
Apps not listed seem to be all of the ones whose files are physically stored on the SD by the OS - I don't think it's related to permissions at all. When upgrading to Marshmallow, I formatted my 64gb SD as "Internal Storage" as doing so makes space management so much easier. No more having to use 3rd party apps to manage and create symlinks for apps I manually copy to the SD. Android seems to dynamically moves / copies things to the SD as needed which works well. If wanting to install a large (1gb+) app, sometimes I must go to an app's properties in Settings and choose to have it's files physically stored on the SD, but that's rare and still using an OEM toolset.
Attempted Workarounds
Most topics I've found when looking for a resolution dealt with not being able to restore apps involving an SD which isn't my issue. Still, I did try the following:
- Tried different storage Providers when setting backup folder location
- Looked all over for potential settings that may have an effect
- Ensured everything's up to date (all is except minor version behind on OS)
- Created new Data Profile in TB
- Tried default settings in TB
Example
Attached are a couple of screenshots for my installation of "Borderlands 2" which is one of the apps affected. As installed it's just shy of 4gb, it must exist on an SD or be the only thing installed, yet it does not appear in TB. To note, when using a file explorer such as FX, the OBB & Data folders / files for applications existing physically on the SD still appear when browsing to Android\Obb or Android\Data from internal storage. In fact, they aren't even listed as symlinks.
Tablet Specs
- Nvidia Shield Tablet (Not K1, but was replaced after battery callback)
- Android 6.0.1
- Rooted /w SuperSU (binary 2.78) All prompts set to "Grant"
- Titanium Backup Pro 7.5.0
- 64gb microsd formatted as Internal Storage (Fastest write and best rated I could find as of 6 months ago)
- Storage (as reported by OS in Settings)
- 70.28gb total
- 63.96gb used
- Internal Storage: 8.31gb of 11.61gb used
- Samsung SD Card: 55.65gb or 58.67gb used
Any suggestions? Thanks!
Hi, in the meantime could you try another software to make your app's backup, helium is my current choice (slide down in first page and select full backup instead of data only).
regards

Categories

Resources