Was already asked on the original Link2SD thread but cannot find the answer anywhere there.
Say you have tons of stuff installed via Link2SD on /data/sdext2 (extX partition on SD card). Now:
- you go to recovery and wipe dalvik cache (or use something else to wipe it, does not exactly matter)
- on reboot, the cache gets rebuilt on /data
- hmmm, I said I have lots of stuff on SD
- so, you run out of space on /data ?! Now what?
IOW, how early does the Link2SD thing kick in? Does it prevent such things?
Hmmm... so, I wonder whether my question is too stupid or too difficult.
I'm also using link2sd with about 261 apps installed (according to Titanium Backup count)
Here's the step on my Optimus One (total internal memory: 209 MB)
before clear dalvik: I have about 78 MB free
1. boot to recovery (i'm using CWM) > advanced > wipe dalvik
2. reboot system
3. first time get into OS, there's notification low space on phone's memory
4. checked free space: only 28 MB free
I have to manually link dalvik cache to achieve the free space before (78 MB).
Thanks to the dev, on Link2SD 1.9.1 there is a menu to relink all dalvik cache at once, so I don't have to recreate link per one apps.
I think link2sd automatically link app-dalvik-lib files for newly installed apps only.
It can't detect a dalvik file recreated back into phone memory with apps still installed.
got the same problem.
It's a big issue when changing kernel and stuff
After installing XRON vb2.6 on my sister's Touchpad, I noticed 2GB was for the main, and the rest (approx 9gb) allocated to the SD Card (shared between WebOS)...
Is there a way to make the 2GB CM partition larger, as I believe some issues will arise if too many apps are installed (due to Davik cache being on same partition). I had this problem in the past with my Samsung Epic and found it was a royal pain in the arse once a lot of applications are installed, and the Davik cache precaching most resources on that system partition....
Is the Davik cache actually stored on same system partitions? Perhaps my concern is not necessary, however if it is, I want to resize at least to 4GB to be on the safe side.
eddieyee said:
After installing XRON vb2.6 on my sister's Touchpad, I noticed 2GB was for the main, and the rest (approx 9gb) allocated to the SD Card (shared between WebOS)...
Is there a way to make the 2GB CM partition larger, as I believe some issues will arise if too many apps are installed (due to Davik cache being on same partition). I had this problem in the past with my Samsung Epic and found it was a royal pain in the arse once a lot of applications are installed, and the Davik cache precaching most resources on that system partition....
Is the Davik cache actually stored on same system partitions? Perhaps my concern is not necessary, however if it is, I want to resize at least to 4GB to be on the safe side.
Click to expand...
Click to collapse
Dalvik is moved to cache at boot. You shouldn't run in to that issue
Sent from my Touchpad using Tapatalk
After some 2+ years of constantly changing ROMs, I've noticed that my i9100 shows more often than not the message of "your storage is getting full" or whatever it says. It does not work by clearing apps' data or even removing some of them because it ends up showing the warning soon. Also, factory reset has proved not to do much, since it just does a data wipe.
So I have decided to proceed with a format by entering Recovery > Mounts & storage > Format sdcard.
I just want to check first wether I will be able, after the format has finished, to flash CyanogenMod back from the same recovery (having placed it in the external SD card, which I understand is not formatted together with the internal storage) and have it working all ok, or the format will disable me from doing something else.
So my questions are:
That 'format sdcard' option in the Recovery means the internal storage, right?
The external SD card (the actual physical one) is not affected by the format, right?
Will I be able to flash CyanogenMod back again from the same Recovery after the format?
In case yes, any reboot in between the format and the flashing would brick my phone?
Help is much appreciated! :laugh:
jago84 said:
After some 2+ years of constantly changing ROMs, I've noticed that my i9100 shows more often than not the message of "your storage is getting full" or whatever it says. It does not work by clearing apps' data or even removing some of them because it ends up showing the warning soon. Also, factory reset has proved not to do much, since it just does a data wipe.
So I have decided to proceed with a format by entering Recovery > Mounts & storage > Format sdcard.
I just want to check first wether I will be able, after the format has finished, to flash CyanogenMod back from the same recovery (having placed it in the external SD card, which I understand is not formatted together with the internal storage) and have it working all ok, or the format will disable me from doing something else.
So my questions are:
That 'format sdcard' option in the Recovery means the internal storage, right?
The external SD card (the actual physical one) is not affected by the format, right?
Will I be able to flash CyanogenMod back again from the same Recovery after the format?
In case yes, any reboot in between the format and the flashing would brick my phone?
Help is much appreciated! :laugh:
Click to expand...
Click to collapse
well as i had flashed a lot of Roms too, maybe i can help you...i'll try!
after formatting sdcard, u wont lose ROM. u will just format your sdcard(12 gb i think).
1) i think the "format sdcard" option is supposed to mean the internal storage. but in some roms that i flashed, sometimes the sdcard mean the external sdcard and EMMC means the internal sdcard...so first take a look. go to install zip and select install from internal sdcard or external sdcard and look up in the screen, if it shows that u are in /sdcard or in /emmc, so u can know what sdcard are u really going to format
2) if u select to format the internal sdcard, it will only format the internal sdcard. nothing else.
3)well, as i said in the beginning, you won't lose rom in the format...u just formated sdcard, the rom and its stuff are still there, in the device storage(not sdcard or external sdcard, but in a card that is only for system/phone stuff(its like the phone has 2 cards. one u can use and send stuff(12gb) and the other one is for system files(2gb))
4) i think it would not brick it, since u just formated the sdcard, the rom is still on your phone but in the device storage, like i said above.
the ROM files arent stored in internal sdcard or external sdcard(those u can send files by usb), they are stored in the storage of the device that is only for system files. so if u do a format it wont affect Rom or Recovery.
hope it helped a little...cheers
Short notice from my side: I doubt formatting your sdcard will help to solve your original problem (low memory). This message appears if the /data space (those 2GB where all the system settings and application data are stored) is almost used completely. The easiest way to clean up this data is a system reset (which will make you loose all your data) or you need to look whether there are applications occupying much data there and remove these apps / tell them to store their data on /sdcard (if this is possible) or to selectively remove some log files / temp data. But in this you should be very careful, because removing the wrong data might cause strange system behaviour.
Sent from my Nexus 7 using xda app-developers app
AndDiSa said:
Short notice from my side: I doubt formatting your sdcard will help to solve your original problem (low memory). This message appears if the /data space (those 2GB where all the system settings and application data are stored) is almost used completely. The easiest way to clean up this data is a system reset (which will make you loose all your data) or you need to look whether there are applications occupying much data there and remove these apps / tell them to store their data on /sdcard (if this is possible) or to selectively remove some log files / temp data. But in this you should be very careful, because removing the wrong data might cause strange system behaviour.
Click to expand...
Click to collapse
I think that is not quite the problem I am faceing now. I explain myself: when I get that "storage almost full" message, if I check on Settings > Storage, the Internal Storage section (1,97 GB in total) shows an availability of only 205 MB and the bar is half full (see attached). First incoherence. I try to update any small app such as, for example, Bitcoin Wallet (1.3 MB) and it says it can't be updated because there is not enough space. Incoherent with the bar shown. Also, if I navigate to /data, it shows there is an amount of 2.31 GB inside that directory (incoherent with the amount shown by the Storage Manager. Other data folders, such as the one in /sdcard/data or the one in /data/data, are always smaller (3 MB and 425 MB respectively, also don't match any of the figures shown by the Storage Manager).
Some ROM installs ago, I remember I was able to install around 190 apps and no problem at all, and now I'm 160 and have to keep removing apps when I want to install more.
That's why I think my problem is not related to data, or fixed by a data wipe or factory reset. I understand there are too many files inside that are just lost from ROM to ROM, and not even the system know where do they belong to. It is running everything but fluent. I don't even remember what Project Butter is :silly:
RonDelonge182 said:
well as i had flashed a lot of Roms too, maybe i can help you...i'll try!
after formatting sdcard, u wont lose ROM. u will just format your sdcard(12 gb i think).
1) i think the "format sdcard" option is supposed to mean the internal storage. but in some roms that i flashed, sometimes the sdcard mean the external sdcard and EMMC means the internal sdcard...so first take a look. go to install zip and select install from internal sdcard or external sdcard and look up in the screen, if it shows that u are in /sdcard or in /emmc, so u can know what sdcard are u really going to format
2) if u select to format the internal sdcard, it will only format the internal sdcard. nothing else.
3)well, as i said in the beginning, you won't lose rom in the format...u just formated sdcard, the rom and its stuff are still there, in the device storage(not sdcard or external sdcard, but in a card that is only for system/phone stuff(its like the phone has 2 cards. one u can use and send stuff(12gb) and the other one is for system files(2gb))
4) i think it would not brick it, since u just formated the sdcard, the rom is still on your phone but in the device storage, like i said above.
the ROM files arent stored in internal sdcard or external sdcard(those u can send files by usb), they are stored in the storage of the device that is only for system files. so if u do a format it wont affect Rom or Recovery.
hope it helped a little...cheers
Click to expand...
Click to collapse
Thanks for your help, dude! Much appreciated.
Anyway, I feel that, if formatting sdcard does not wipe everything, maybe then what I need is to go Recovery > Mounts and storage > format /system, format /data, etc. All of them except for the actual physical sdcard (wether it is /emmc or /sdcard) and the directory in which the recovery "lives".
So I have new questions now:
If I formatted /system, would the phone be bricked or the Recovery would still allow me to install a CM ROM stored in the sd card?
Is there any of the directories shown in Recovery > Mounts and Storage that represents the actual Recovery partition/space?
There's no recovery partition you can format.
You can format system, preload, and data partition.
But flash a ROM right after.
There are flashable scripts (ROM wipe or ROM nuke) you can use. It does all the formats and wipes, and even back up some of your folders.
Envoyé depuis mon Nexus 10 avec Tapatalk
jago84 said:
I think that is not quite the problem I am faceing now. I explain myself: when I get that "storage almost full" message, if I check on Settings > Storage, the Internal Storage section (1,97 GB in total) shows an availability of only 205 MB and the bar is half full (see attached).
Click to expand...
Click to collapse
It's a known bug, that Android's performance is decreasing very much as soon as there is less than 10% free on /data. Additionally I wouldn't trust the graphics you see, because especially if you have man small files, the space occupied on "disk" is much higher than the file size. If they are only adding the file size of the files stored there this will be misleading. As far as I know the block size is 4kb, so each file takes at least 4kb of the memory. You can try to move some apps to /sdcard, but this works only to an external one, so you can free some space. Otherwise have a look on /data/system/dropbox or /data/system/usagestats if you can find some files which can be removed.
jago84 said:
Thanks for your help, dude! Much appreciated.
Anyway, I feel that, if formatting sdcard does not wipe everything, maybe then what I need is to go Recovery > Mounts and storage > format /system, format /data, etc. All of them except for the actual physical sdcard (wether it is /emmc or /sdcard) and the directory in which the recovery "lives".
So I have new questions now:
If I formatted /system, would the phone be bricked or the Recovery would still allow me to install a CM ROM stored in the sd card?
Is there any of the directories shown in Recovery > Mounts and Storage that represents the actual Recovery partition/space?
Click to expand...
Click to collapse
well, as Sergeileduc said, u can't format Recovery. so answering your questions:
1) yes, you would still be able to flash any other Rom, since formatting /system does not affect recovery. Wiping this partition will remove Android from the device without rendering it unbootable, and you will still be able to put the phone into recovery or bootloader mode to install a new ROM.
2) i dont think so...u can't format recovery...
hope it helped you...cheers!
well the 4rth question is no it wouldent brick your phone it will just hang at the galaxy s logo p.s thanks for helpin me on the other fourm
Just to add my own experience.....
Some months ago, my phone was suffering from poor performance (I was running CM10.1 at the time)
I decided to do a full format to totally "pristine" wipe my phone and start fresh. I copied a fresh version of the rom and gapps to my removable micro SD card and rebooted into CWM. I formatted cache, dalvic, preload, emmc and sd.....then just to be certain, I factory reset too.....
After that and while still in CWM, I flashed the rom and gapps and rebooted without issue......I believe this is what you want to do, so to answer your question. ...yes it is safe and possible to do this.....my phone is proof of that.....
Sent from my Rooted, De bloated Stock JB powered S2 via PhilZ kernel and Tapatalk 2....
keithross39 said:
Just to add my own experience.....
Some months ago, my phone was suffering from poor performance (I was running CM10.1 at the time)
I decided to do a full format to totally "pristine" wipe my phone and start fresh. I copied a fresh version of the rom and gapps to my removable micro SD card and rebooted into CWM. I formatted cache, dalvic, preload, emmc and sd.....then just to be certain, I factory reset too.....
After that and while still in CWM, I flashed the rom and gapps and rebooted without issue......I believe this is what you want to do, so to answer your question. ...yes it is safe and possible to do this.....my phone is proof of that.....
Click to expand...
Click to collapse
Thanks! Great feedback.
Just to complete my question, did you notice a significant performance improvement after the wipe-and-reinstall process?
It seemed to help a bit, but not as much as I'd anticipated. ..
Sent from my Rooted, De bloated Stock JB powered S2 via PhilZ kernel and Tapatalk 2....
Hi
Guess the question is relevant to all devices Anroaid.
I searched and read in many places but I still did not fully understand how is the internal sd card is devided, what each part contains and how to "clean up" things that are not relevant to more
My Galaxy S1 device internal card size is 8G.
Checking system -> storage indicates it is devided to two: 1.48 Internal storage and a 5.64 USB storage.
The first question is where is a almost 1G to complete to the total of 8G?
I understand that the internal storage contains the operating system and applications installations.
however,I can see the the usb storage also contains folders of past and current installed applications, of course in addition to music, pictures etc.
Now I want to install a new ROM and clean everything that is not nessacary.
I understand that when installing a new rom the internal storage actually completely cleared and re-installed. Is it true?
What about usb storage? Whether and how to re-format it? Is it necessary at all to do that?
Thanks
OJNSim said:
Hi
Guess the question is relevant to all devices Anroaid.
I searched and read in many places but I still did not fully understand how is the internal sd card is devided, what each part contains and how to "clean up" things that are not relevant to more
My Galaxy S1 device internal card size is 8G.
Checking system -> storage indicates it is devided to two: 1.48 Internal storage and a 5.64 USB storage.
The first question is where is a almost 1G to complete to the total of 8G?
I understand that the internal storage contains the operating system and applications installations.
however,I can see the the usb storage also contains folders of past and current installed applications, of course in addition to music, pictures etc.
Now I want to install a new ROM and clean everything that is not nessacary.
I understand that when installing a new rom the internal storage actually completely cleared and re-installed. Is it true?
What about usb storage? Whether and how to re-format it? Is it necessary at all to do that?
Thanks
Click to expand...
Click to collapse
Installing a new ROM won't clear all the internal storage. You have to do it manually. In stock, it is recommended to do a factory reset after the first boot. While in custom ROM you have to wipe data, wipe cache and wipe dalvic cache before the installation.
It is not necessary to clear the data in USB storage.
jabrif said:
Installing a new ROM won't clear all the internal storage. You have to do it manually. In stock, it is recommended to do a factory reset after the first boot. While in custom ROM you have to wipe data, wipe cache and wipe dalvic cache before the installation.
It is not necessary to clear the data in USB storage.
Click to expand...
Click to collapse
Lately the device has strange behavior every once in a while - and I would like to clean it as much as possible
I am using custom rom, hopefully wiping everything will do the job.
Yet, I do want to clean the internal storage as well.
What can be done regarding that? can I format it?
If yes - how, and how to recreate the standard folders tree?
If not - what can be done?
tx
OJNSim said:
Lately the device has strange behavior every once in a while - and I would like to clean it as much as possible
I am using custom rom, hopefully wiping everything will do the job.
Yet, I do want to clean the internal storage as well.
What can be done regarding that? can I format it?
If yes - how, and how to recreate the standard folders tree?
If not - what can be done?
tx
Click to expand...
Click to collapse
wiping data will clear your system memory, ie app data
If you want to go deep, there are options available in CWM recovery under Mounts and storage menu to format /system, /Data, /Cache, /sdcard and even External sdcard,
OJNSim said:
Lately the device has strange behavior every once in a while - and I would like to clean it as much as possible
I am using custom rom, hopefully wiping everything will do the job.
Yet, I do want to clean the internal storage as well.
What can be done regarding that? can I format it?
If yes - how, and how to recreate the standard folders tree?
If not - what can be done?
tx
Click to expand...
Click to collapse
jabrif said:
wiping data will clear your system memory, ie app data
If you want to go deep, there are options available in CWM recovery under Mounts and storage menu to format /system, /Data, /Cache, /sdcard and even External sdcard,
Click to expand...
Click to collapse
This is the thing...
I am trying to understand what the purpose of each option - and eventually what are the steps the order, to achieve the cleanest possible device with the rom I want to flash
I actually just noticed that in the previous post I wrote Internal storage rather than USB storage. Anyway..I need please some more accurate information.
Is that possible to format only the USB storage?
Or is there a way to safely remove / clean / wipe old stuff, like applications' folders that are not in used anymore, and other things I am not aware off?
tx
Hi All
Really am getting tired of running out of memory on my rooted htc desire. I used the CyanogenMod and now the Mildwild 5.0 but i`m only managing to install around 5-6 apps before i get the memory is low notification and am unable to install anymore. Any ideas what i`m doing wrong before I go and buy a new phone to end this madness hehe?
For example According to Mounts2SD app my storage is
Internal (/data) 132mb of 147mb
External /sd-ext 75mb of 3.75gb
Cache /sd-ext/cache 75mb of 3.75gb
Applications 10.85mb
System apps 2.0kb
Data 53Mb
Dalvik Cache 70.97MB
paulruk said:
Hi All
Really am getting tired of running out of memory on my rooted htc desire. I used the CyanogenMod and now the Mildwild 5.0 but i`m only managing to install around 5-6 apps before i get the memory is low notification and am unable to install anymore. Any ideas what i`m doing wrong before I go and buy a new phone to end this madness hehe?
For example According to Mounts2SD app my storage is
Internal (/data) 132mb of 147mb
External /sd-ext 75mb of 3.75gb
Cache /sd-ext/cache 75mb of 3.75gb
Applications 10.85mb
System apps 2.0kb
Data 53Mb
Dalvik Cache 70.97MB
Click to expand...
Click to collapse
Maybe your phone is running heavy apps in the background while you are not using them. Go to settings then apps and then go to running and choose some app and stop them from running while you are not using it.
Apps usually install to internal (/data) partition. Look into partitioning the sdcard and using link2sd to move apps and much of their data into the second partition (rooted phone requiered).
When you move apps to the sdcard, you are only transfering the apk file and libraries (if any). Dalvik cache and internal data go to the internal memory.
If theres free memory in the rom (/system) partition, consider converting your most used apps which remain on internal memory to system apps (youll be moving them from /data to /system).