I have a HTC Legend running on NewSense RC4. I have App2SD installed. I've changed the default install location to SD Card via " pm shell setInstallLocation 2". Though I've done all this, I have only around 2-3 MB space always. I're removed the data and cache for many apps. Yet, this is the situation. And I only have 52 APPS.
Please tell me another method to increase the amount of space. Please don't sugesst me to flash to another ROM.
I also read somewhere about partitions on SD card or something. Can you please enlighten me on this?
Note: I read to fast and COMPLETELY skipped the part where you said "Don't tell me to flash another rom" I am soooooo sorry!
The only other option I can give you is to flash Cyanogenmod7 and use data2ext if you want app space, but that is probably out of the question for you!
On the partitioning note:
Partitioning quite simply means splitting your microSD card into 2 or more PARTS (hintART-itioning). Often times, partitioning is used to create a separate space for apps2SD or data2ext. The simplest way to partition is to download rom manager (you must have root and be able to boot into recovery) and choose the option "partition sd card" choose 0 swap , then choose 512mb partitioning space! WARNING: this will delete EVERYTHING on your memory card, so either turn back, or backip tour mem. Card! After it is partitioned, you can proceed to add apps to the new partition of your SD card. Note this will, like I said, split your memory card space! Ex:
If you hav a 1 GB (1024 MB) Memory card, after partitioning, your memory for files will decrease to 512 mb, while 512 mb is reserved for your apps!
Just a word of advice from a fellow XDA-er!
I am not aware whether or not the HTC legend runs Cyanogenmod7 or not, but it would be well worth the flash to use it. Unless you are in love with the Sense UI (because CM7 uses 2.3.3 Gingerbread) then come on over to the Cyan side . Data2ext takes your ENTIRE data section of your phone (that part that holds the meat and bones of an app, PLUS the huge apk file) and puts it in that partition you created. Data2ext is simply a flashable script that puts that partition in action. After flashing the script via recovery, just go to your terminal emulator app on your phone and on the first line, type "su" (without quotes) and then type "data2ext --enable" (exactly as typed without quotes) and vuala, your REAL data section on your phone is literally virtually UNTOUCHED! Which makes your phone a lot faster. There is also a script that let's you choose the size of your partition (no more than 2 GB is strongly recommended) but I haven't used that script just yet, but will soon! Data2ext is WAY bettr than apps to SD! I know that I did way more than just answer your question, but I wanted to answer, plus give a better alternative should you choose to use it
Hope I answered ur question,
Ognimnella
Sent from my T-Mobile myTouch 3G Slide using XDA App
ognimnella said:
Note: I read to fast and COMPLETELY skipped the part where you said "Don't tell me to flash another rom" I am soooooo sorry!
The only other option I can give you is to flash Cyanogenmod7 and use data2ext if you want app space, but that is probably out of the question for you!
On the partitioning note:
Partitioning quite simply means splitting your microSD card into 2 or more PARTS (hintART-itioning). Often times, partitioning is used to create a separate space for apps2SD or data2ext. The simplest way to partition is to download rom manager (you must have root and be able to boot into recovery) and choose the option "partition sd card" choose 0 swap , then choose 512mb partitioning space! WARNING: this will delete EVERYTHING on your memory card, so either turn back, or backip tour mem. Card! After it is partitioned, you can proceed to add apps to the new partition of your SD card. Note this will, like I said, split your memory card space! Ex:
If you hav a 1 GB (1024 MB) Memory card, after partitioning, your memory for files will decrease to 512 mb, while 512 mb is reserved for your apps!
Just a word of advice from a fellow XDA-er!
I am not aware whether or not the HTC legend runs Cyanogenmod7 or not, but it would be well worth the flash to use it. Unless you are in love with the Sense UI (because CM7 uses 2.3.3 Gingerbread) then come on over to the Cyan side . Data2ext takes your ENTIRE data section of your phone (that part that holds the meat and bones of an app, PLUS the huge apk file) and puts it in that partition you created. Data2ext is simply a flashable script that puts that partition in action. After flashing the script via recovery, just go to your terminal emulator app on your phone and on the first line, type "su" (without quotes) and then type "data2ext --enable" (exactly as typed without quotes) and vuala, your REAL data section on your phone is literally virtually UNTOUCHED! Which makes your phone a lot faster. There is also a script that let's you choose the size of your partition (no more than 2 GB is strongly recommended) but I haven't used that script just yet, but will soon! Data2ext is WAY bettr than apps to SD! I know that I did way more than just answer your question, but I wanted to answer, plus give a better alternative should you choose to use it
Hope I answered ur question,
Ognimnella
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
Yes, I read about the partitioning method. I've a few questions.
1. Will this method work on ANY ROM ?
2. Will I reclaim ALL my internal memory?
3. Is this is a sure shot method to install AS MANY apps as we need (the only condition being you that much SD card partition space) ?
4. Can you please link me to a detailed tutorial?
abhishek_turbo911 said:
Yes, I read about the partitioning method. I've a few questions.
1. Will this method work on ANY ROM ?
2. Will I reclaim ALL my internal memory?
3. Is this is a sure shot method to install AS MANY apps as we need (the only condition being you that much SD card partition space) ?
4. Can you please link me to a detailed tutorial?
Click to expand...
Click to collapse
1. Method will only work on rom that support it.
2. You will get a lot of internal memory back but data will remain internal unless you move app's data to sd-ext also.
3. Method trick the phone into thinking the sd-ext is part of your internal memory so you'll be able to install a good amount of apps.
4. Search Dark Tremor's a2sd or S2E in the market.
abhishek_turbo911 said:
Yes, I read about the partitioning method. I've a few questions.
1. Will this method work on ANY ROM ?
2. Will I reclaim ALL my internal memory?
3. Is this is a sure shot method to install AS MANY apps as we need (the only condition being you that much SD card partition space) ?
4. Can you please link me to a detailed tutorial?
Click to expand...
Click to collapse
1. No to my knowledge it only works on CM7 (and you said flashing a new rom is out of the question)
2. Yes, plus more
3. Yes, so far, I hav somewhere around 85 apps installed (and that's with 512 mb only, with 150-200mb still left
4. http://forum.xda-developers.com/showthread.php?t=902395
P.S. - If you want to have the freedom of installing up to 2GB partition space for apps, use data2ext-v4. If you want the already preset 512mb, then use data2ext-v7 (it is thoroughly explained in the post)
Sent from my T-Mobile myTouch 3G Slide using XDA App
Related
Can someone provide me a tutorial about how to install app2sd on rooted Lg Optimus GT540.
Thanks a lot & Regards
Anyone...?
i wanna know too...
You wanna too, but anyone don't want to explain us how to make it work.
Not possible on Android 1.6
how to install app2SD on LG GT540 (android 1.6)
yes me too
plz help me
how to install app2SD on LG GT540 (android 1.6)
If you update to 2.1 then it's meant to work. There's a guide on Modaco on how to do it.
I am only passing on information that I have searched (mainly through Modaco) for and tried and tested. This is by no means my creation or discovery! And also...dont sue me if you mess your phone up!
First of all, you must be rooted!
Best thing to do before installing apps2sd is to do a factory data reset.
There has been discussions on whether apps2sd overwrites the phones factory defaults. I think the problem lays in an old script of apps2sd, perhaps there is a new on out... I couldnt tell ya! Anyhow, this is not really a problem if you want apps2sd permanently on your phone though. So remember, start from scratch, reset your data.
1. Partition your sdcard and make 3 partition on it.
Example: sdcard is 1 GB
1st partition in FAT32 600mb
2nd partition in ext2 300mb
3th partition as swap 100mb
Im not sure if the swap partition is needed but I made it anyway.
2. Copy the apps2sd folder to the root of the sdcard.
Example: /sdcard/app2sd/
3. Connect your phone from ADB and type this command :
adb shell
su (approve with superuser aplication in your phone)
sh /sdcard/app2sd/app2sd.sh
After a while your phone will reboot.
4. Now check how much internal memory you have (I had 135mb after my clean install of apps2sd. I have never had that much after a factory reset, a hard reset or a flash).
And there you have it folks!
tutorial : how to insert app2sd in optimus
first, im sorry for my english
for app2sd on optimus, you must have root level.
before install app2sd, please check you internal memory (setting-sd card & phone storage)
and remember your free space. biggrin.gif
step:
1.Partition your sdcard (i use paragon manager)
make 3 partition on your sd card.
example : your sdcard is 4 GB
1st partition in FAT32 3 GB
2nd partition in ext2 700mb
3th partition swap 300 mb
2.download this file mediafire[dot]com/?2os3np35b0fmc60
3.extract the download file
Added automatic installation app2sd. Just run APP2SD.bat
Unnecessary SDK TOOLS
what happen in your memory?
good luck
@skribbler86 swap is not needed I think, i don't make swap and app2sd works for me
jakubek1994 said:
@skribbler86 swap is not needed I think, i don't make swap and app2sd works for me
Click to expand...
Click to collapse
swap like a virtual memory may be.
i think phone need a virtual memory for app2sd.
Swap is like a linux swap (as in swap space for the RAM), but from what I read, it's not actually needed
Ah I see! Well thanks for that info. Its a bit too late now lol but atleast I know for next time. Thanks
Here We Go Everyone
http://forum.xda-developers.com/showthread.php?goto=newpost&t=803695
Click to expand...
Click to collapse
Hey, I have an unlocked LG Optimus, if I set it to factory default will that lock it again? Or can I do this without setting my phone to factory default?
Old post but for reference's sake, am posting this here.
I used MiniTool Partition Wizard Home Edition for making the partition.
I had a 16GB microSDHC but I made only a 512mB ext2 and left the rest as FAT32.
GT540 was designed to handle only 140mB of usable internal memory. So, making a huge ext2 partition will considerably slow down your phone. I would recommend to keep it below 512mB. Most often, you won't install more than 200-300mB worth of apps. Most games have their extra data downloaded to the SD and only apk and dex files reside in the phone.
And, I found that Link2SD was better than apps2sd. I never used apps2sd because by the time I wanted apps2sd, Link2SD was out. Check it out.
http://forum.xda-developers.com/showthread.php?t=919326
@nibras_reeza
i am having 8 GB memory card. can you please tell me the steps how to do partion..
why dont you just put 2.2 or 2.3 on your phone. the roms are available in the developer forum.
I found installing cm7 made it work. Although i lost the functionality of my camera app2sd worked other than that it is a great rom.
I agree, link2sd is far more better than apps2sd.
Also u need to upgrade ur firmware from 1.6 and 2.1 to higher roms, 2.3 is good.
So to fully use ur android,root your device, install a rom manager, then clockworkmod and superuser, there you can enjoy.
Hi,
I am new here and did my best searching but couldn;t find a conclusive answer so i just need some suggestions about a way forward.
So far using Froyo's move to SD implementation I have managed to gain some space on the phone for more apps but i am still running out. I also have to use the slow Apps 2 SD application.
So my problem is I want more space for apps. Using adb, setting the install location to SD card helps provide some more but i have hit that limit too.
So, from what i've read so far, there is another symbolic link based method, that creates a partition on the SD card and then the phone appears to think its still on the phone.
I have a stock ROM and would prefer not having a custom ROM for now. What would be the suggested way of getting Apps2sdext functionality? I mean like installing a package after rooting.
I have read about rooting, and apps2sdext also seems to need root. But i'd really appreciate if somebody could drop some links as to what I could do. Here are my thoughts of what they might be:
Root phone
Format SD card with partitions
Install a2sd
Another question: is there no way of using Gparted, etc to resize partitions and create the ext4 partition on pc? As in before taking it to the phone? that way no need to reinstall some apps.
Ok so for now I see I can use Z4Root to root my phone. So i've sorted that part out.
I also saw on DarkTremor apps2sd page that stock roms need a custom init.rc. Where are the instructions for that?
gontadu said:
Another question: is there no way of using Gparted, etc to resize partitions and create the ext4 partition on pc? As in before taking it to the phone? that way no need to reinstall some apps.
Click to expand...
Click to collapse
I'm not quite sure. I'm not an A2SD user. But, here are my hunches/ideas/opinions:
I suggest you partition with the partitioner in the recovery image. A2SD may have trouble finding the ext partition when the layout is quite different from what it expects, though I'm not quite sure.
As for not having to reinstall apps, this is what I did prior to installing A2SD:
Move all apps to phone memory
Backup
Partition SD
Flash A2SD
Install A2SD (yes, I had to manually launch a2sd scripts --')
Done
Works as intended, but I've found that there wasn't a significant increase in free phone memory storage, but I'm very sure a2sd was applied.
So I went back to native A2SD.
Which leads me to say: I suggest flashing a custom ROM with A2SD integrated
Idk, maybe I just didn't give A2SD some time. Just try it out.
Hmmm interesting! Still digging up more info as i go along...
Ok so far I installed, z4root and it installs fine and does the whole root and restart thing.
Now when i browse from adb shell i still get the $ prompt and not the # prompt. But when i go into z4root it provides options for re-root and un-root...
UPDATE: well i found out that once the shell opens as $, you type su. When you do that look at your phone and accept the superuser request, otherwise permission denied appears on the pc screen. now i have the # prompt!!!
UPDATE: Got Clockworkmod running now! and exploring a2sd... i give up. cannot find a concise thing that says here's the script that you use after doing the clockworkmod. what do i do???
Hi,I came from megatron rom and is using CM7 rom now.Not sure partitioning of sd card work on stock rom but you can try.
Disclaimer: I'm not responsible for anything that happens to your phone! Below is what I did.
Instructions: Download DarkTremor Apps2sd.zip file.
Then,Backup all your sd card contents on your PC.You MUST backup as partitioning of sd card will wipe the whole sd card.
Reboot in recovery and select partition sd card > Partition sd card again> Swap Size:Choose 0 (I'm not sure what the other numbers will do.) > Then 512mb for the next option.Then it will start partitioning. > After you're done,upgrade ext.2 to ext.3 > Then upgrade ext.3 to ext.4 > After that,connect usb or take out sd card and put DarkTremor apps2sd.zip file in the root of your sd card and then flash it!
DONE AND PROFIT!
Your internal storage should decrease very slowly because your apps are now 'tricked' into being installed on your sd card Hope this helps!
Sorted my problem out!!
Gonna post details asap! So excited
gontadu said:
Sorted my problem out!!
Gonna post details asap! So excited
Click to expand...
Click to collapse
So you did my method or what?
Nope actually not. Found a simpler method that's easier for noobs.
So here goes in very short since I don't have links
1. Split memory card into two partitions. I used 1GB. I did the partitioning on Ubuntu as it was much easier to just resize the partition using gparted. I am not sure what file systems are supported for the apps but i used ext3 for the 1GB. Backup should not be necessary but you are welcome to be careful
2. Root phone with z4root, very straightforward process
3. Install Link2SD from Android Market.
4. Once its installed, it'll prob ask for root permissions. Grant them.
5. Open Link2SD and in the list, one by one for each app you'd like to move, select and it opens a page with some details. Just click on create link, and in the next page an option for moving cache also shows. Select that too. Then the app gets moved in the background and slowly your space starts increasing.
6. I did not move any preinstalled apps that came with the phone. Just moving the apps I installed gave me plenty of space not to worry with App 2 SD (froyo method) or anything. Also with this method, mounting for USB Mass Storage also gets quicker.
What's there not to line?
Always do a nandroid backup! I didn't as i didn't think much of an app.. my phone went into continued android logo loop. After several tries of battery pull,I managed to get into the phone but many of my apps went missing.. sighz...
Running Stock rom
Sent from my LG-P500 using XDA App
yanuk said:
Always do a nandroid backup! I didn't as i didn't think much of an app.. my phone went into continued android logo loop. After several tries of battery pull,I managed to get into the phone but many of my apps went missing.. sighz...
Running Stock rom
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
You mean the backup option that is there in clockwork mod recovery menu right? I screwed up the files once and the backup came in real handy!
Sent from my LG-P500 using XDA App
It may not help you but I was using megatron rom froyo 2.2 and had barley any memory space on my phone and since I flashed CM7 rom from milk I have tons of space I have twice as many as many apps and stol 100 megabits left
Sent from my LG-P500 using XDA Premium App
Just curious, on a scale of 10 how hard is it to get cm7 onto your optimistic? And any clue whether existing settings are lost? Any other benefits? And features missing? It would be nice if we either got more battery life or better performance if not both
Sent from my LG-P500 using XDA App
I use a stock ROM (2.2.1) and I have rooted and installed "Move2SD Enabler" from the market and moved all the apps to SD (except for widgets) in the plain simple old fashion. I currently have over 150 apps installed with about 90MBytes of internal memory free.
Hi everyone,
First of all i would like to thank the developers over here doing a wonderful job,
Ok so this is what i have at the moment:
clockwork recovery installed
Flashed Neojn's devoid #froyo final ROM
franco's kernel v17
now i've followed the guides over here on partitioning and installing, but seem to be doing wrong some where..
Ok on to the questons:
1)Is this Partitioning and darktremor's A2SD flashing to be done before or after install of ROM, i did it after ROM install
2) In Clockwork... there is only an option to create partition but i don't find any option to select the format like ext 2 or ext 3 or ext 4... why is this..?
3) Ok After flashing Darktremor's A2SD (by selecting install zip from location)... i don't see any app icon related to it, how can i know that its working..
4) I went to application manager and checked my previously installed applications, they all have move to sd card greyed out, is it still on phone memory or on the ext partition..
5) i checked by installing a new apk which normally installs in phone memory.. i checked it in application manager.. it too had "move to SD card greyed out" did this app install in ext or phone memory..?
6) I have not been able to locate ext partition in root explorer.. where should be it located, although my memory card size seems to have been reduced after the partition...?
7) How can i transfer dalvich cache to ext partition, should i type in the commands after installing the emulator...
Sorry but i don't seem to get it..
1. First partition, then rom, then a2sd
2. Clockwork only creates ext4 partition
3. From adb or terminal emulator type su, then 'a2sd check' , and it will show you the status.
4. After installing a2sd, the phone treats the ext partition as internal memory (in other words it is tricked) and by default all apps get installed to this partition.
5. So all apps will show that they have installed in phone memory but they are in ext parition. You can check if this is activated by using a2sd check or if you want to check for yourself, navigate to /system/sd (froyo) or /sd-ext (GB) through root explorer and you will see the apps installed there.
6. And obviously, if you have 2 gb card, inherently it is not 2 gb but 1.7 GB, and then if you create a paritition of 512 MB and then if you check in settings it will show sd card space 1.7 - 0.5 = 1.2 GB.
7. To transfer dalvik to ext partition type via terminal or adb, su, then 'a2sd cachesd'. The phone will reboot.
For more commands in a2sd, type 'a2sd help' (after giving su permissions of course) .
If u dont want typing ,download a2sdgui from market and check if its installed it will show details ,otherwise automatic close ,you can check if apps are installed in internal or ext ,and can also move dalvik to ext through this app.
So give it a try ,if u facing any problems then u can pm me.
Sent from my LG-P500 using XDA Premium App
mihir287 said:
1. First partition, then rom, then a2sd
2. Clockwork only creates ext4 partition
3. From adb or terminal emulator type su, then 'a2sd check' , and it will show you the status.
4. After installing a2sd, the phone treats the ext partition as internal memory (in other words it is tricked) and by default all apps get installed to this partition.
5. So all apps will show that they have installed in phone memory but they are in ext parition. You can check if this is activated by using a2sd check or if you want to check for yourself, navigate to /system/sd (froyo) or /sd-ext (GB) through root explorer and you will see the apps installed there.
6. And obviously, if you have 2 gb card, inherently it is not 2 gb but 1.7 GB, and then if you create a paritition of 512 MB and then if you check in settings it will show sd card space 1.7 - 0.5 = 1.2 GB.
7. To transfer dalvik to ext partition type via terminal or adb, su, then 'a2sd cachesd'. The phone will reboot.
For more commands in a2sd, type 'a2sd help' (after giving su permissions of course) .
Click to expand...
Click to collapse
Thanked You, for the details provided.. will check out and post my findings
Nimitmak said:
If u dont want typing ,download a2sdgui from market and check if its installed it will show details ,otherwise automatic close ,you can check if apps are installed in internal or ext ,and can also move dalvik to ext through this app.
So give it a try ,if u facing any problems then u can pm me.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
Thanks mate, i'll download it from market and post my findings here...
You're welcome I forgot a2sdgui, because i prefer the commands, get it from market, it will provide a GUI to those commands.
OK mates
I have located the ext partition using root explorer in system/sd, really i am relieved now, thank GOD
I ran A2SDgui, it started, i have the led on for "Apps are on SD button", however its off for "zipalign on boot" and "swap is deactivated" anyone knows what they do?
Whats the low memory tab for ?, by default its set to "strict low memory settings"
Under system info - general info
I have got SD-ext using some space, this shows its working i suppose, and whats the /cache/ i have total of 64mb and 63mb is free, what does that do?
And Suppose if i want say for a widget to be on phone memory, how do i turn off this feature just for that ?
One final question, Where does clock work recovery mod actually live in phone, is it possible that we can delete it and brick our phone, i always thought that flashing a new rom wipes everything on phone including clockwork, but i am wrong i suppose...
Sorry for my never ending questions .. but i am curious
Finally i am free from that dreaded low memory message, thanks to people over here
Don't touch the zipalign, swap and low memory settings unless you know what you are doing.
The recovery resides on a separate mount-point ( separate partition if you will) and flashing a rom does not erase it.
Unfortunately, with DT a2sd you cannot selectively choose which apps should be on internal or on ext partition. For that check out Link2sd on the market. It will allow you choose which apps to put on ext and which on internal. Keep in mind, if you want to use link2sd then it's best to use it on a fresh flash as a2sd and ink2sd don't work together.
The cache partition is another partition which stores cache files and as a temporary download location. Don't worry about it.
Sent from my LG-P500 using XDA App
mihir287 said:
Don't touch the zipalign, swap and low memory settings unless you know what you are doing.
The recovery resides on a separate mount-point ( separate partition if you will) and flashing a rom does not erase it.
Unfortunately, with DT a2sd you cannot selectively choose which apps should be on internal or on ext partition. For that check out Link2sd on the market. It will allow you choose which apps to put on ext and which on internal. Keep in mind, if you want to use link2sd then it's best to use it on a fresh flash as a2sd and ink2sd don't work together.
The cache partition is another partition which stores cache files and as a temporary download location. Don't worry about it.
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
Thanks a ton bro. I have decided to stay with A2SD for now. will move to link 2 SD when a Rom based on the official gingerbread becomes available. BTW do you have any links that explain link2sd in detail..
CtrlU said:
Thanks a ton bro. I have decided to stay with A2SD for now. will move to link 2 SD when a Rom based on the official gingerbread becomes available. BTW do you have any links that explain link2sd in detail..
Click to expand...
Click to collapse
Oh, I don't know; see the market description, or as always, google is your friend!
This thread answered a lot of my doubts about the partitioning. However, i did not understand if the card should be partitioned after or before the install of the ROM? Will there be a problem if it is done after because I am getting a 16GB card tomorrow but I've already flashed a custom ROM using the 2GB stock lg card? Or should i re-do everything again to be safe?
Sparkyte said:
This thread answered a lot of my doubts about the partitioning. However, i did not understand if the card should be partitioned after or before the install of the ROM? Will there be a problem if it is done after because I am getting a 16GB card tomorrow but I've already flashed a custom ROM using the 2GB stock lg card? Or should i re-do everything again to be safe?
Click to expand...
Click to collapse
for your first question, it should be partitioned BEFORE you flash the rom and other stuffs
also dont forget to read the pink words in my signiture
and for card changing, its simple:
first make a nandroid backup, choose all stuffs including ext-partition
then partition your new card (better the same size as before idk just feeling better with that)
nandroid full restore.
and reboot then all things will be cool dont have to redo stuffs
but for the worst situations better make a full titanium before changing the card!
good luck and hope i helped
Above the hood
Well today I intended to answer voyager's problem which was stated in the interactive data2sd thread located here http://forum.xda-developers.com/showthread.php?p=23744977#
and then i think that after i have gathered so much information from the other parts of the world into this little post it would be a waste if it is pushed away by regular posts in the thread. so, i opened this thread here in the general forum so all people with similar confusion can read about it.
YES, there are SO MANY WORDS TO READ. but in order to use a2sd+ or data2sd+ you MUST read them all
you will never know how frustrated i was when i was encountering the bootloop problem for the ENTIRE month.
my report thread - http://forum.xda-developers.com/showthread.php?t=1239063
my help-seeking in the darktremor thread which was answered by famous developer temasek - http://forum.xda-developers.com/showthread.php?p=17232233
my target was originally voyager the person but now its to all of you, please ignore my incorrect pronouns, if there are any
OH FINALLY i luckily found the very useful reference that i have read before!! after reading these you will understand everything
tobydjones said:
Some phones, eg the Desire, don't have enough internal memory (NAND). A2SD and other 'init.d scripts' fool Android into storing various things on the SD card instead of internal memory to free up space. They can move either apps, the Dalvik cache (a pre-compiled copy of each app) and/or app data. And they can move them to either the 1st (only) partition of the SD card (formatted as FAT or FAT32) or a 2nd partition of the SD card (formatted as ext3 or ext4).
As there's so many different scripts doing different things, I had to make a table to sort it all out. Please let me know if I've made any mistakes, or if you can answer any of my questions in italics.
script ................ apps . Dalvik . data .. comment
---------------------------------------------------------------------------------------------------------------
A2SD pre Froyo ........ SD ... int .... int ... Made to move app data to SD {or was it already ext?}
Froyo A2SD/"move to SD" SD<1>. int<9> . int ... Built in
Gingerbread A2SD ...... SD.... int .... <6> ... Built in. As Froyo but a bit more space.
apps2sd app (on market) ....................... App to make Froyo/Gingerbread "move to SD" easier, not a script
Force2SD (on market) .. ....................... As apps2sd + move system apps>SD {does apps2sd also do this?}
A2SD/AS2D+ (or apps2SD) ext<8> in/ex<2> int ... Various implementations<7> some move Dalvik (manual/auto)
Darktremor A2SD/DT-A2SD ext .. in/ex... int ... Move Dalvik. Used to be auto, now command line (or use A2SDGUI)
MIUI_Au PC-A2SD ....... ext .. ext .... int ... Allows android to boot if SD Card broken/removed. With logs
Link2SD (on market) ... ext .. ext .... <6> ... Moves apps individually
Sibere DATA2SD ........ ext .. ext .... ext<3>. Moves whole /data folder to ext for more space <4><5>
DATA2EXT .............. ext .. ext .... ext ... {another implementation of DATA2SD? how does it differ?}
data2whatever/DATA2WE . ext .. ext .... ext ... Can use ext2-4 plus variety of unusual filesystems eg B(RT?)FS
Notes:
<1> The SD card is mounted very late in the boot up process, so background apps and widgets won't work. Also apps on SD aren't available when SD card is used as a disk ('mounted')
<2> Dalvik on SD/ext may wear out SD card a bit quicker {not a big issue compared with int memory wearing out?}
<3> Data on ext wears out SD card faster because of data writes {how much of an issue is this?}
<4> Data2SD on Sense ROMS - possible corruption during battery pull or forced reboot
<5> Data2SD on ASOP ROMS - corruption when turning off phone due to unclean dismount {or is this fixed now?}
<6> GB doesn't move all of data, but does move app libs (/data/data/<appname>/Lib)
<7> There's a lot of confusion what AS2D, AS2D+ and apps2sd refer to, and the distinction between them, as those names been used for many things, including an app on the market! The + appeared after Froyo was released and often means the Dalvik cache can be moved (not always automatically)
<8> Unlike moving apps to SD, you can move widgets to ext, and apps are available when SD card is used as a disk
<9> If Dalvik cache is on int, number of apps is still limited as pre-compiled copy of each app held in cache
Updated 01/10/11. Thanks to rootSU, fllash & rmcsilva for corrections and additions
Click to expand...
Click to collapse
neoKushan said:
Ok, so here's the deal, in a very longwinded way that should hopefully explain everything and answer ALL questions.
You have an SD card in your phone and, a bit like normal PC Hard Drives, you can "partition" them (split them into two or more sections of different filesystems). Normally, your SD card is just one big FAT32 partition, which is fine for storing your pics, messages, emails, etc.
Now, other then your Phone's SD card, your phone will have its own internal flash memory (or "NAND") storage. Tradditionally with Android, you could only install applications to this NAND storage, you cannot install them onto your SD card. So if you have an empty 32GB SD card, but only 5Mb of internal phone storage, you still wont be able to install many apps, if any at all.
This was done to protect the apps from things like piracy - it's not easy to access the location where apps are installed on your phone's internal storage (normally impossible without root), so you can't for example buy an app, copy it, refund it, then install it again.
Still, this is no good for those of us who like to install lots and lots of apps, legitimately, as we run out of internal storage very quickly.
So Google came up with a way to install apps to the SD card. A folder is created called something like .android_secure and this stores (I believe) encrypted versions of applications, but there's a few catches:
1) Apps aren't automatically stored here, you have to manually "move" them
2) Not all apps are capable of being moved, in fact most apps aren't, the developer needs to update their app and allow it. Some apps aren't and wont be updated and some developers may not want to allow it for whatever reason.
3) Not all app data is moved, most of it is but some data is left on your phone so many people still run out of internal storage quickly.
4) You can force ALL apps to be moved to this area by default, but it breaks incompatible ones - such as Widgets, which are unable to load due to the SD card not being "prepared".
So that's Froyo's version. Before Froyo existed, some very clever people came up with a thing called "Apps2SD". Remember I said that your SD card normally is one big FAT32 partition? Well, Apps2SD works by having your SD card patitioned into TWO filesystems. A normal FAT32 partition for your usual stuff and a secondary "EXT" partition. EXT is just a filesystem, like FAT32 or NTFS, but it's the filesystem used by Android internally. The SD card is normally FAT32 because it's a "universal" filesystem, that just about any machine will be able to read, whereas EXT filesystems are generally Linux only, but I digress.
EXT has several different versions. The most common one you'll see is ext3. The main difference between ext2 and ext3 is "journaling", which is just a fancy way of saying that should an operation (such as copying, writing or reading) be interrupted unexpectedly (say, by you turning your phone off), then no data should be lost or corrupted. You know how when you turn your phone on, it says "preparing SD card"? It takes a few minutes, but what it's actually doing is checking that the FAT32 partition hasn't been damaged, because FAT does NOT have journaling. If you used a computer back in the Windows 98 days, you may remember that lovely blue "Scandisk" screen that had to run every time you didn't shut your computer down correctly - that's the same thing. But then Windows 2000/XP came along with NTFS, which also has journaling, meaning you had less chance of loosing data. But I digress once more.
So you have your SD card partitioned into EXT and FAT32. Generally it doesn't matter if it's ext3 or ext4, but you don't get any real advantage with ext4 over ext3 in this instance. Apps2SD then runs a special script on your phone which "symbolically links" the folder from your phone's internal storage where your apps are normally stored, to the ext partition on your SD card. A symbolic link is a bit like a shortcut for folders, except it's transparent to the OS: In other words, Android doesn't know that when it's installing it's apps to the internal phone storage, it's actually being stored on the SD card. This effectively boosts your internal phone memory from the previous 5mb that you had in my example above, up to whatever size you made the ext partition on your SD card (often 512Mb or 1Gb, but it depends on how many apps you install).
Plus, because it's "journaled", it doesn't need to be "prepared", meaning it's ready to go as soon as the phone starts - so your widgets and apps work immediately (unlike "forced" Froyo Apps2SD, where widgets disappear).
The catch with Apps2SD is that whatever space the ext partition takes up is taken away from the SD card. So if you have a 4Gb card (with something like 3.5Gb of actual storage) and you make a 512Mb ext partition, your SD card will "shrink" to 3Gb. The space isn't actually lost, it's just being used by the ext partition. If you reformat your card, you'll get it back.
Finally, there's a difference between "Apps2SD" and "Apps2SD+". Remember I said that your apps are stored on a special folder inside your Phone's NAND storage? Well, that was a bit of a lie. It's actually stored in TWO places. There's a second area which is called the Davlik Cache. You don't really need to worry about what this is for (Hint: IT's to do with the Java runetime your phone uses to run apps), all you need to know is that apps use it to store data, which also eats up internal phone memory. Apps2SD+ moves davlik cache to the ext partition on your SD card as well, freeing up even more space. Some people believe that this may come at the cost of performance, as the internal NAND memory should be faster than your SD card (Which is why you also get people arguing over which "class" SD card is better for Apps2SD - the logic being that a faster SD card means less impact from this move), but the truth of the matter is that your applications will be running from your Phone's RAM anyway, so performance isn't really impacted at all. Since most apps are only a few hundred Kb's in size, or a couple of MB at the most, it's a non-issue.
Finally, any recent version of Apps2SD/Apps2SD+ should work with an SD card that is or isn't formatted with an ext partition. It'll check for this partition when your phone first boots and if it's not there, just use internal phone storage.
Having an ext partition WITHOUT Apps2SD+ shouldn't cause any issues, either, so you can format your SD card whenever you're ready.
So in summary:
Apps2SD "fakes" your phone's internal memory and puts it all on a hidden section of your SD card.
Apps2SD+ pushes even more content to the SD card, freeing up even more space on the phone itself.
"Froyo" Apps2SD has various limitations that "old" apps2SD does not, but is much easier to handle as it doesn't involve any kind of "partitioning".
Click to expand...
Click to collapse
first, please consider the wording "app2sd+" used above can also be applied to "data2sd+" which should be the main purpose of this thread, because they are similar as they both use the sd-ext partition to store things. the only different is that app2sd+ only moves /data/app and dalvik cache but data2sd+ moves the entire /data partition
now based on my experience of how did i solve my bootloop problems even i install over 300 apps, is, not to integrate Froyo app2sd and app2sd+(or your data2sd+) then things will be fine.
as ive seen that voyager you have "moved all apps to sd" with froyo app2sd while you are TOGETHER using the script of app2sd+(or data2sd+). from the above explanation, your apps and data are now SHARED among /sd-ext and /sdcard/.android_secure which MAY lead to problems on our phones when it enters the process system after going through the bootanimation.
still remember the days and things we have discussed? it was in november when we first known each other i think my founding still applies to data2sd+
voyager20021 said:
For bootloops on Miks CM7 fist post he says
If you get bootloop or stuck at LG logo do next:
Sometimes Recovery can't format /system so you need to clear /system manually. You can do it with this zip (flash as always in recovery), or in mounts menu (clockworkmod recovery only), or with adb:
1. Mount /system in recovery.
2. adb shell rm -rf /system/*
You get 1 error. This is ok.
Will update if I found this bug.
Anyone tried that zip or adb fix? I am not so familiar with adb shell. The zip i think is incompatible or smth.
Franco, do you know if this has something to do with random reboots caused by moving too many apps to sd?
Click to expand...
Click to collapse
Miasmic said:
me.
that successfully wiped system partition and 2 months ago i did full wipe (including /system) and reinstall everything then do the same thing, and i got the same results - bootloop
please go to darktremor's main thread (nexus one dev forum) and scroll a few pages back, ive been yelling there for help and they did a lot to help me especially temasek(u know who? a famous n1 developer)....
but finally we got no conclusions trying everything, even switching to s2e had ****ed up my phone.
what solution i can tell is that
fk kernel + mik + dt a2sd script 2.7.5.2-1
+ apps staying on /EXT (shown "on phone")
= no problems
fk kernel + mik + dt a2sd script 2.7.5.2-1
+ apps staying partly on /EXT and partly on /android.secure (shown "on SD card")
= after booting (seen lockscreen) for about 3mins, the phone goes back to bootanimation and boot again
[im sure voyager is asking about this]
p.s. fk kernel + mik + dt 2.7.5.3 beta4
will result in LG logo stuck every 2 reboots. wipe /system no help.
hope my info is useful and yeah, take alook at the dt thread
until now the only solution is not to move apps partly to /android.secure
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
franciscofranco said:
Why move apps to sd card instead of /ext? doesn't make any sense............. No wonder **** happens...
Click to expand...
Click to collapse
Miasmic said:
Yea I agree with your point, moving the app only to /ext is apparently a safer method than dividing it into /ext and /android.secure
But however this method (using darktremor together with froyos a2sd feature) can save even more internal storage on our phones because darktremor doesn't move 100% of the "app" to /ext. Except "app data" , a small portion of "app" is also occupying the internal storage when using dartremor.
Say angry birds, despite its ~500kb /data size, when using darktremor, 18mb its "app" is moved to /ext while 2mb of it is staying in the internal storage. When using froyos a2sd feature, this 2mb is moved to /android.secure therefore even more internal space is free-ed.
According to the main darktremor thread, a user named bassmadrigal and even temasek himself, has stated that integrating darktremor "move to EXT" and froyos "move to FAT" does not produce any problems (at least on their nexus one) and can save even more space.
Well its not a problem for me as I only move 4 of my biggest apps to FAT and not having issues now.
I think voyagers attempting to move a lot of his apps (partly as they still partly stay at /ext) to /android.secure (as I tried before) and he got ****ed up like me before.
Hmmph I am not quite sure, voyager have you tried the same procedure (restore titanium and move them to FAT) without flashing Franco.kernel and only with the ROM (ans default kernel) and darktremor script installed? In that way we can see whether the "issue"(not at all but just an disadvantage of not supporting a feature) is about Franco's kernel or about our phones. cheers!!
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
franciscofranco said:
Just don't mess with the part that stays in the phone, if you do you're on your own, it's just too damn obvious to waste my time with it, sorry :/
Click to expand...
Click to collapse
Miasmic said:
yea, i definitely dont think it is of any priorities to request you to dig on this stuff and please dont, lol
was just telling my experiences to others and esp. voyager
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
yea, franco also said we shouldn't use the froyo app2sd function when we have already moved stuffs to the /sd-ext using app2sd+/data2sd+
therefore to prevent such abnormal behaviours on our phones we should treat our phones as Android 2.1 or before which does not have the capabilities to use froyo app2sd function to move things to /sdcard/.android_secure instead we should just let them be moved to the /ext partition.
i can confirm that yes there will still be decrease in internal storage because even you got data2sd+, there are something that cannot be moved from the internal storage to /sd-ext and we dont know what. JUST be fuxking sure that all your apps are stayed in "internal storage" (thats a way to fake the phone! you know) and they will be very safe in /sd-ext.
you may also like to install app2sd app but reverse the original concept of this app, i.e. to confirm NO APPS ARE EXISTING IN THE 2nd TAB (ON "SD CARD" with froyo function)
so, to test this out quickly, you may simply:
make proper partitions
wipe properly
flash rom
flash your a2sd+/data2sd+ script
boot phone
run the proper commands (for dt now i would dl a2sdgui and apply stuffs and let it reboot)
now restore titanium backup with INSTALL LOCATION set as "internal storage"
(in CM7 settings > application you may also choose "internal storage" to make sure everything is PURELY moved to /sd-ext instead of sharing among /sdcard/.android_secure with the froyo a2sd function) (however what i can tell you that this CM7 function is not working properly at least with my DT a2sd+ script therefore we have to double check whether it is in "INTERNAL STORAGE" when we install a new app) so now app2sd app came in handy remember is to reverse all apps to internal but not move them to so-called sd which was the original purpose of this app.
ok hope you understand what i meant and now you should not have bootloops
Under the hood
however, some users have reported that they have NO problems at all when they share their apps among /sd-ext and /sdcard/.android_secure. an example was bassmadrigal (located in the darktremor official thread)
maybe, it is phone specific. maybe, they have shared a less amount of apps as i myself can also confirm that the bootloop problems only occur if we SHARE A CERTAIN AMOUNT OF APPS among the two places.
and for your safety, at least to first eliminate the bootloops problems before doing any experiments, still follow the above and MOVE ALL OF THEM TO so-called "INTERNAL" (pure /sd-ext)
so you mean to say that keep all the apps in internal memeory and it will be safe in sd-ext with any a2d script rather than moving into sdcard?
There is one script i am tryingvhttp://forum.xda-developers.com/showthread.php?t=1342387. I dont have any script installed.But it is still giving me bootloops.
williamcharles said:
so you mean to say that keep all the apps in internal memeory and it will be safe in sd-ext with any a2d script rather than moving into sdcard?
There is one script i am tryingvhttp://forum.xda-developers.com/showthread.php?t=1342387. I dont have any script installed.But it is still giving me bootloops.
Click to expand...
Click to collapse
yes, the message i would like to bring is rather simple and easy but most of the users are confused about "move to ext" and "move to FAT" and the BUTTON in the application manager of our phones show "MOVE TO SD" which is moving PART of the app to SD-FAT (android.secure) so they are now SHARED and will produce PROBLEMS.
This important point is what most of the script developers have forgotten to warn their users.
Remember to check your settings and ROM/kernels/partitions/scripts compatibility with each other before regarding the script solely as the cause of any problematic behaviour (best way to prove is to see whether there are someone using the same combination without problems
then, install the script, and start installing apps only into "internal storage" (to fake your phone as they actually goes to /sd-ext) and NEVER EVER touch the button "Move to SD" in the application manager then you should be fine as said in my first post, double check they are in the internal storage after you have grabbed a new app from market it will be fine to move it back to "internal storage" as long as you havnt reboot the phone.
Miasmic said:
yes, the message i would like to bring is rather simple and easy but most of the users are confused about "move to ext" and "move to FAT" and the BUTTON in the application manager of our phones show "MOVE TO SD" which is moving PART of the app to SD-FAT (android.secure) so they are now SHARED and will produce PROBLEMS.
This important point is what most of the script developers have forgotten to warn their users.
Remember to check your settings and ROM/kernels/partitions/scripts compatibility with each other before regarding the script solely as the cause of any problematic behaviour (best way to prove is to see whether there are someone using the same combination without problems
then, install the script, and start installing apps only into "internal storage" (to fake your phone as they actually goes to /sd-ext) and NEVER EVER touch the button "Move to SD" in the application manager then you should be fine as said in my first post, double check they are in the internal storage after you have grabbed a new app from market it will be fine to move it back to "internal storage" as long as you havnt reboot the phone.
Click to expand...
Click to collapse
Miasmic said:
yes, the message i would like to bring is rather simple and easy but most of the users are confused about "move to ext" and "move to FAT" and the BUTTON in the application manager of our phones show "MOVE TO SD" which is moving PART of the app to SD-FAT (android.secure) so they are now SHARED and will produce PROBLEMS.
This important point is what most of the script developers have forgotten to warn their users.
Remember to check your settings and ROM/kernels/partitions/scripts compatibility with each other before regarding the script solely as the cause of any problematic behaviour (best way to prove is to see whether there are someone using the same combination without problems
then, install the script, and start installing apps only into "internal storage" (to fake your phone as they actually goes to /sd-ext) and NEVER EVER touch the button "Move to SD" in the application manager then you should be fine as said in my first post, double check they are in the internal storage after you have grabbed a new app from market it will be fine to move it back to "internal storage" as long as you havnt reboot the phone.
Click to expand...
Click to collapse
Much simpler explained. We'll have to test your theory. Only now i use ungaze's script which is something like "everything2sd". The button reading move to sd or move to internal has no influence at all. And still having bootloops at some point. Only now the sd ext is 2Gb max, though it never got to fill it without that damn bootloop.
Thanks again MIASMIC for addressing one of the biggest remaining problems which keep us away from having a PERFECT AND COMPLETE O1, now when we are close to having the stable official CM7 and official or not CM9 which will bring so many and awsome STABLE ROMs based on those 2.
Hello!
I've just rooted Viewpad 7 and installed EUViewpad7 v1.7b firmware.
In Quick System Info app it says I have only 4 kb free "system storage" left.
I'd like to try to increase internal storage size, perhaps at expense of some internal storage or somesuch (since apps run from SD thanks to apps2sd)
And yes, the ROM already has apps2sd, so I don't think I can move any more stuff to SD without breaking everything...
Is increasing "system storage" possible ?
1. Link2sd way
- Rooted
- Partition EXT3 or 4 in your micro-sd, size whatever u want (1024 mb recommend).
- Open Link2sd's app select ext3 or 4.
- Reboot
2. a2sd way
- Rooted
- Install CMW.
- Partition EXT3 or 4 in your micro-sd, size whatever u want (1024 mb recommend).
- Install a2sd from recovery mode.
- Install a2sd gui from Google play.
- move data from app or in terminal [type su>enter>type a2sd datasd>enter>auto reboot]
3. Google move to sd-card, apps2sd or app way
- Install app that the name say move to sd or something.
- Not help.
And like other developer alway said, Do it with your own risk.
Sorry for my weak english.
I think a2sd is already installed and all the apps that can be moved to SD are on SD already (a2sd comes with EUViewpad7 v1.7b by default, and I did create all the partitions and stuff on SD. Also, terminal emulator -> a2sd check says that I have apps and dalvik cache running from SD)
So. moving apps 2 sd is unlikely to yield much relief since they all are already there
Any other ideas on getting more "system storage" ?
If your a2sd run perfect, your rom space will not decreate even if u install a lot of app.
Sent from my ViewPad7 using xda premium
Yeah.
Though I would still rather have it larger, you know, just in case (also curious about it on general principle of finding out new stuff)
indyend said:
If your a2sd run perfect, your rom space will not decreate even if u install a lot of app.
Sent from my ViewPad7 using xda premium
Click to expand...
Click to collapse
+++1 on that, many others have successfully used A2SD on the EU v1.7b ITE ROM like myself, it's been documented in extensive details in the custom Rom's thread, please re-read and follow the steps outlined, and, backup anything & everything important on the mSD card first.
I'm guessing that the mSD card wasn't fully reformatted and setup properly.
Quick key steps: make sure you do a full dalvik, cache & system wipe first (after backing up via CWM 2.x - recommended verison over 4.x or newer 5.x) and format ext3/4 with 1MB space, move/copy ZIP file back to ROM and select it to flash/install, continue with full setup, power down & restart.
You will need to re-install Titanium Backup & A2SDGUI from Market (it's now Google Play, once your account is setup/restored) and check your memory/storage with A2SDGUI, it should show plenty of available/free space for internal, system/rom and SD/ext card usage.
If not, re-check your steps and repeat it for proper installation. If it's working, A2SD will dynamically move & free up plenty of space for Apps, I have over 50 (market) apps of them in addition to the default/custom Rom's Apps, and 2 verisons (soon to be 3) of Angry Birds running on it.
A 8GB mSD is the minimum that I would use, a 16GB mSD is better with all the CWM files that you will store on it, plus MP3 and videos, etc.
FYI - mine device's readings are:
Internal memory free (total) 93MB (171MB)
SD-Ext free (total) 555MB (914MB)
/cache/free (total) 86MB (88MB)
Ram free (total) 226MB (415MB)
A corrupt installation will not display all of the above. I have yet to come across after trying other App2SD apps out in the "Market" that work and can free up so much "extra" for the Vpad7 ... YMMV
Good luck & if you are not sure, please post your results/space as shown under A2SD as written by DT.
Link of my space and u will see how much free of my viewpad7. And the most important is no app on m-sd. It's all in ext3.
http://db.tt/YTSbK5Ss
Sent from my ViewPad7 using xda premium
Okay, guess I'll just have to stop worrying lol