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

Root a2sd problems oxygen

Ruswit

Newbie
Hi there, im running this oxygen rom on my rooted gsm desire. [ROM] OxygenZM 1.2 [Complete] - xda-developers with i believe an ext 3 partition on my SD card of around 2gb.

I read through the questions for the rom and it seems that the a2sd should be activated automatically, however mine isnt and i am running out of space for apps!
I've flashed dalvik cache 2 sd

Thanks

Ruswit
 
What do Titanium Backup or Quick System Info say about a2sd usage? Need to be sure that's the problem.

If it is, exactly what partitions are on your card? Should be one fat32 followed by one ext (ext3 or ext4 preferred), nothing else (a few ROMs want 2 ext partitions, this isn't one of them). Both partitions should be primary. And what did you use to partition the card?
 
What do Titanium Backup or Quick System Info say about a2sd usage? Need to be sure that's the problem.

If it is, exactly what partitions are on your card? Should be one fat32 followed by one ext (ext3 or ext4 preferred), nothing else (a few ROMs want 2 ext partitions, this isn't one of them). Both partitions should be primary. And what did you use to partition the card?

Quick system info shows 1.67 gb of space for a2sd with 1.57gb free.
I've got a fat32 and an ext3/4 (cant remember which one) I used mini tool to partition ( i know you recommend booting a linux based one however this worked for me in the past).
 
I have 19 apps tagged as "user" (ie ones i downloaded i guess)
with 83 overall. Also quick system info pro seemed to automatically install to SD card, that is around 800kb in size. Not sure which portion that got installed to, but i cant move it back to phone because there isnt enough space.
 
Hmm. When using an a2sd script with an ext partition apps on the partition appear to be "on phone". So if it installed straight to sd that suggests that you have your install location set to that (unless most apps don't, in which case it may be set to auto).

83 apps, 100MB used - possible, as system apks will be in /system, and especially if apps are being installed to sd. So why so little space?

Can you use Quick System Info to view apps sorted by data size? Are any using huge amounts (10s of MB), and if so which?
 
Hmm. When using an a2sd script with an ext partition apps on the partition appear to be "on phone". So if it installed straight to sd that suggests that you have your install location set to that (unless most apps don't, in which case it may be set to auto).

83 apps, 100MB used - possible, as system apks will be in /system, and especially if apps are being installed to sd. So why so little space?

Can you use Quick System Info to view apps sorted by data size? Are any using huge amounts (10s of MB), and if so which?

I couldnt find out how to do that in QSI but i went into settings apps then sorted by size. Facebook is using 25.19MB skype is using 21.24MB maps is using 19.38MB dialler storage is using 13.33MB Flash is using 12.85 and whatsapp is using 9.51
 
Well that's 100MB of your 147MB used by data from just those apps (assuming you are S-On/using stock partitions).

I've no idea what is reasonable for Whatsapp or Facebook, but that's quite large for dialler storage (mine is 1.9 MB for > 300 contacts), about twice what I have for Maps (though I guess that depends on how many places you bookmark), and the only Flash I have is Flash Player (which for me stores ~nothing). You might want to try editing some of your contacts and seeing whether there is duplication (i.e. what appears to be a single contact actually has multiple copies of the same information, something you often can't see just by viewing contacts).
 
Well that's 100MB of your 147MB used by data from just those apps (assuming you are S-On/using stock partitions).

I've no idea what is reasonable for Whatsapp or Facebook, but that's quite large for dialler storage (mine is 1.9 MB for > 300 contacts), about twice what I have for Maps (though I guess that depends on how many places you bookmark), and the only Flash I have is Flash Player (which for me stores ~nothing). You might want to try editing some of your contacts and seeing whether there is duplication (i.e. what appears to be a single contact actually has multiple copies of the same information, something you often can't see just by viewing contacts).

Okay granted they are large apps, but surely that isnt solving the problem of no a2sD?
 
But if 100MB of the partition is used I think your a2sd is working. Why do you think it is not?

Try a root-capable file explorer like ES or Root Explorer and see what is actually on the ext partition. That would be the definitive test. Are there app and dalvik directories and is there anything in them? Not using it myself at the moment so can't give exact directory names.

Remember that apps on the ext partition appear to be on the phone, and the phone does not know about the partition. So the phone menu will still show 147 MB total space, just less of it should be used.

If the reason you think it's not working is lack of space, remember that app data remain in internal space regardless of a2sd. So if several apps are using 10s of MB of data that is probably the reason you lack space, or a major part of it. So it's worth checking whether this usage is reasonable.

If there is nothing you can do about app data you may need to consider going S-Off and installing a custom hboot. That will give you a lot more space - see the root memory faq for info.
 
Its just i made my EXT over 1.5gb, i definitely dont have 1.5gb worth of apps? Yet im still running out of space...
Is there and a2sd script i can run or anything?
 
I think you need to understand what a2sd+ (i.e. with the ext partition) actually does. It provides some expansion room, but only for part of the user-installed application.

If the script is working correctly, there will be an app directory on your ext partition and the apks of your apps will be there rather than in the internal memory. The directory in the internal memory where the phone expects the apks to be, /data/app, will be replaced by a link to the directory on the ext partition. So to the android system it appears as if the apks are in internal memory when they are actually on the card.
But the apk is only one part of an app. Another is the .dex file - these are the dalvik cache, which you have also moved in the same way (i.e. /data/dalvik-cache is now a pointer to a directory on the sd card). But all apps have other components, such as databases (settings & application data), library (in some cases), and others which depend on the application. And these live in the internal storage as well, in /data/data/<application>, and these elements are not moved to ext by the a2sd script. Nor, apart from the library (if any), are they moved if you move to sd using the phone menu. So as you install more apps, some internal space is still used, just less than would have been. And if an app stores data (and your contacts, call log, messages etc are all application data) then that uses internal storage. And it's not just user-installed apps: system applications use internal storage for everything except the apk itself.

So the point is that an a2sd+ solution moves what are usually the largest elements of the app (the apk and dalvik) but not everything. Hence as you install more apps your internal space will still decrease, just slower than it would otherwise. With just 147 MB of internal space you will never fill a 1.5 GB ext partition because you will run out of internal space first.

So what can you do?

Firstly, data stored by apps uses internal space - that's why I said to check this was reasonable. Some apps can get carried away and store (permanently or temporarily) large amounts of data. A cache cleaning app may help a little if you are short of space.

Secondly, there are a few apps that take up less space if you move to sd using the phone menu rather than keep them on ext (under Gingerbread - this is not true with Froyo). That's because as I said above with GB the "move to sd" moves the library component of the app too. Many apps don't have a library, but a few have a very large one (Google Earth comes to mind).

Thirdly, since Oxygen is about half the size of the HTC ROM, you can use a custom HBOOT to shrink your /system partition (and also /cache) and hence enlarge the /data partition, i.e. repartition the phone storage so that you have more available for apps and data. You need to be S-Off to do this. The combination of a custom hboot plus ext partition is enough to solve storage problems for almost everyone ;)
 
I sorta knew most of this, i was just surprised that i couldnt fit most of my apps on considering on my previous rom ( a sense one) i had more apps and plenty of memory. However I believe i was using dark tremor. IIRC that installs almost all of the app data to the sd card? Ill consider putting S-Off. are there any negatives to doing so?

Is there any way to check if the APKs are being put on the SD card other than guessing from 100mb of space used?
 
Last DarkTremor I used was just another a2sd script - flexible, configurable, but didn't do anything extra. There was a beta that claimed to have the option to move a bit more, but it remained beta for a very long time. Since data2sd type solutions slowed the phone down I didn't bother trying it - with a custom hboot plus a2sd I was fine. Been a year since I used an ext partition at all though, so I imagine I'm not up to date with DT.

As for how to check, see post #10 in this thread. That should work (I can see that my /sd-ext partition is empty, as I'd expect :)).
 
Last DarkTremor I used was just another a2sd script - flexible, configurable, but didn't do anything extra. There was a beta that claimed to have the option to move a bit more, but it remained beta for a very long time. Since data2sd type solutions slowed the phone down I didn't bother trying it - with a custom hboot plus a2sd I was fine. Been a year since I used an ext partition at all though, so I imagine I'm not up to date with DT.

As for how to check, see post #10 in this thread. That should work (I can see that my /sd-ext partition is empty, as I'd expect :)).

Yeah i mightve been on the beta, as far as i remember my phone was really slow whenever i had the dark tremor installed but quick when not installed :\

Without sounding like an imbecile, how do i check my ext partition with ES? Ive downloaded it however it just seems to show me the fat32
 
Keep going "up" using the button on the top bar. Or touch the star symbol ("favourites") and select "/". You should then see various partitions as folders, including sd-ext.

You may have to enable root features in the settings, though I think that's probably just for write access.
 
Ooh, yeah it does appear to be working! in my /app folder there are all my apps listed :)

So basically performing an S-off and then custom Hboot is the only workaround? Dangit htc and your 150mb!!
 
Or checking whether apps are storing reasonable amounts of data.

But if you install or store a lot of stuff then eventually, yes. It is the real problem with the Desire.
 
Think about flashing a custom hboot. CM7r2 from AlphaRev 1.8 will give you another 140mb of internal space. Read the guides first but if you've managed to partition your sd custom hboots are no more difficuly (IMHO) just a little more risky.
 
benefits = more room for app data with different hboot. with s-off you can change things in the system partition when android is running eg splash screens, bootloader images etc.

Disadvantages, you can only install a rom that will fit in that hboot, eg dGb will fit in stock hboot but not vice versa

made easy it's simple maths dGB 60 mb will go in 147mb stock hboot but not the other way around, you would need to fastboot flash back to the stock hboot to install a sense based rom.

They're the basics anyway. I expect your well confused now. :D
 
Further to Shauny's answer:

The big disadvantage is if you get it wrong you brick your phone.

Advantages include:
Your phone works as it is supposed to (no sticking plaster in the form of an ext partition).
You can change your sd card.
Data still sits on the internal /data partition but now you have more space for it.
Ditto the above for dalvik cache (there are scripts that will move this to ext).

I have had an sd card break so keep apps that I really need to work all the time on internal memory & move non essential apps to sd the stock froyo/gingerbread way.

Do make sure you understand the process before you even think about doing it!
 
Back
Top Bottom