• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root How to I turn on A2SD+ in Ginger Villian?

irvs101

Newbie
So I Rooted my phone, then I partitioned my sd using rom manager (I tried using gpart but it wouldn't find my card) then I flashed GingerVillian , so how do I now choose the partitioned section as the internal memory? I set the ext partition as 512mb with 0mb swap. Thanks for your help.
 
It will do it automatically if you have done it correctly. Set install location to internal memory in the cm settings.
 
Well I'm getting internal mem full, anyway I can rectify this using terminal emulator or something? and reinstall my apps on sd
 
No the guide I used didn't tell me to do anything, could I grab a link or is it relatively simple to explain?
 
It's simple actually. All it does is move dalvikcache to ext too.

Open terminal emulator and get root access:
Type "su" and press enter.

Then move the dalvik:
Type "a2sd cachesd" and press enter. The phone should reboot and dalvik should be moved, giving much more space
 
Thanks, the both of you, Is the dalvik cache the place where the apps are kept on the internal memory?
 
No not really. The main memory chip (NAND) is partitioned into 3 main partitions.

/system - where the Rom goes
/cache - basically where market downloads go.
/data - self explanatory

Apps sit in /data/app. When you use a2sd+ /data/app is linked to the sd, /sd-ext/data/app and the content is moved over.

Many a2sd+ scripts also move /data/dalvik-cache as standard to /sd-ext/data/dalvik-cache. Dark tremor a2sd+ that gingervillain uses it is optional.

Dalvik cache is a bit like a windows registry. Android stores all the information about specific apps in there. Settings etc.

Edit Hadron beat me. I am over simplifying it. It's jvm like Hadron states.
 
is there anyway for me to make my apps install to sd-ext/data/app using commmands?
I really don't want to have to re format and partition then rewrite everything back to my sd card, its a class 4 32gb and takes forever to get all the music back onto it.
 
What do you mean? As standard, if your card is partitioned, they're already there. Theres nothing you need to do.
 
Ok Well basically I originally asked because my internal mem was full, then I used the command to move my dalvik cache over to ext partition but It's saying I'm using 99MB of 148MB in my internal mem. Now if it was on my sd partition wouldn't it say 99 of 512mb, or should it say I'm not using any internal storage at all? Does A2SD+ tell the phone to look at the ext partition as if it were your internal storage or does it tell the apps to go to the ext partition and in the settings>applications>storage use. will it just say the actual amount of storage being used?

It may help to point out that I used titatnium backup to reinstall my old apps+data and then I used my backup to reinstall them all again (acidentally, I thought it was for copying contacts, sms's and such over). Has this possibly sent them back to their original file locations on my stock rom? eg. back onto the internal mem? Sorry to be a nuisance and thanks for putting up with me guys
 
No, it will report the real size if the internal memory - only a couple of subdirectories have been redirected.

Do you have a lot of apps? 99MB used after moving dalvik is substantial, but not impossible - I am using 83MB internal between app data and caches (not dalvik) with 122 user apps and 63 system. Use Quick System Info and see what it says about your a2sd storage. Even use Ti, though that isn't very accurate. You need to check ext usage rather than try to work it out from internal space if you want to be sure.
 
Yeah I just checked to and it says I'm using maybe 50 or 60mb of it but I just installed a couple of big games and got into mem warning. Ill try the quick system way and post back, my gut thinks only the dalvik cache is on the ext partition
 
Okay, Just checked quick system info and I'm using 114Mb of 148Mb on Internal memory.
On A2SD+ I'm using 87 of 457MB.

Does 114MB sound to high for Int Mem?

Thanks for the tip on quick system by the way Hadron
 
Okay, Just checked quick system info and I'm using 114Mb of 148Mb on Internal memory.
On A2SD+ I'm using 87 of 457MB.

Does 114MB sound to high for Int Mem?

Thanks for the tip on quick system by the way Hadron

you are not moving the apps to sdcard once youve installed them are you?
this causes the opposite effect
you need to make sure they are still installed to internal memory as that uses the ext partition.
 
It sounds like your a2sd+ storage is working, but the ratio is wrong: for comparison, I'm using 83 MB internal and 222 MB A2SD+. Also your internal storage has gone up by a further 15MB in the last few posts?

There are other things use internal storage, but this does seem odd to me. Could you start the terminal emulator again and type the following commands:

su
ls -l /data

You should see the following amongst the output: "app -> /sd-ext/app" and "dalvik-cache -> /sd-ext/dalvik-cache". If not, then something hasn't been set up properly (which would be odd, since with GV this is all in by default).

There is an "a2sd check" command you could type.

If it looks like apps aren't being placed on the partition, or the link is missing, you could try typing "a2sd reinstall" - I've never done this (never needed to), but it claims this should move apps to the partition and undo anything blocking this.

Also just check under CM settings that you have the install location set to phone, or at least automatic? And maybe look at the manage applications menu to see where it thinks your applications are (if a2sd+ is set up right "phone" is ext, while "sd" is google-style SD).
 
Did you move the dalvik-cache as suggested earlier? Did it reboot when you did it and did you see a change in space take place?
 
That's the one Hadron, I checked using the ' ls -l /data ' command and it didn't have a path to sd-ext so I used a2sd reinstall (It actually tells you to do this in a2sd check if your filepath is wrong) and bobs my uncle all good now. Thanks for everyones help, Strange that it didn't work the first time though isn't it?
 
Back
Top Bottom