Sd-ext and classes - Desire Q&A, Help & Troubleshooting

So I've been using Oxygen based roms for a while and they're all great and fast but I've gotten tired of the low internal memory. The thread for mildwild 4.4 has people saying its the fastest desire rom out there and comes with apps and data to ext by default. I installed the rom and its great, quick,and pretty. But when I started installing apps I noticed that just about all of them hang and bring up the wait/force close screen. They all respond if I wait but it takes a while. So my question is, is this being caused by my 16gb class-4 SD card? 4mbps seems fast enough to me though. I formatted the card through recovery with 1gb ext and 128mb swap.
Sent from my HTC Desire using xda app-developers app

mine's class 4, runs fine for me
plenty of posts in that thread and in general about partitioning properly: should be done with gparted or 4ext recovery only, and you don't need swap (which could be the cause of the freezes)
my recommendation would be to start from scratch again so you get a clean, fresh install. or you could wait til Mildwild releases his 'final' 4.5.0 just around the corner.
- backup sd card
- repartition from scratch as instructed
- restore sd card
- titanium backup all apps
- nandroid backup
- switch to cm7r2 hboot if you haven't already (requires s-off, search for guides)
- full wipe and reinstall rom again, enable sd-ext as in first post.
- restore apps

Related

App2Sd Causes phone to not boot. HELP!!!

Hi I just rooted my phone using a method from another website ( not sure if i can post the website as that is xda-developers policy.. )
It rooted fine and it loaded back and i could use my phone.
Then I try to install app sd, i follow a guide to the letter, and once it rebooted it just gets stuck at the htc white screen. I've been waiting for 10 minutes and nothing loads. Is it bricked? I can still go into bootloader or whatever but how do i get it back? Is it the SD card?
I'm using a 8GB sdhc card Kingston Class 4. If it has to do with anything. What do i do? I really need to use the phone!!!
What rom did you install?
Does the rom you have not already have Apps2SD integrated? (check thread title of rom and change log notes to find out)
Are you able to get into Recovery Mode?
If you did not flash a Froyo only (not Sense UI) rom, did you forget to partition your SD card before rebooting?
Sent from my HTC Desire using XDA App
i install whatever rom that came with the package of rooting from android.modaco.com. I don't knwo what it is but i'm guessing its some 2.1 rom.
No i think the roms was used jsut for rom, so i dont' think app2 sd is integrated. I am able to get into recovery mode, but don't know what to do it from there.
I actually partition the sd card and did the ext2 to et 3 and after it finished i rebooted and it just get stuck on this screen. What i did now is install a custom rom on it and it boots. However I want to load back just the htc rom that came with the root package and add Apps 2 SD
On MoDaCo, there should be an option to download a custom 2.1 based rom that already includes A2SD in the downloads section. Try downloading that rom, in Recovery Mode, do a full wipe, flash the rom, and while still in Recovery Mode, partition your SD card with 0 MB swap, ext2 size of 512 MB, rest to FAT32. Then convert ext2 to ext3.
If you still have the same issue, report back here bud.
Just make sure it is a 2.1 based rom that you are attempting to flash with A2SD. If it is a 2.2 Froyo based rom without Sense, then you do not partition your SD card at all as it is setup differently.
does your sd card have an ext partition? if your using an apps2sd with a dalvik cache script, your fone wont boot without a ext partiton because your fone has nowhere to put the dalvik cache lol
Thank to the two of you for your help. I was planning to use 2.1 as I only wanted a2Sd because i ran out of space very easily installing apps and games.
Anyways i wipe and install the official froyo sense one from adamg from here in the desire forums. Now i'm confused, he saids he has google's app2 sd, legacy app2 sd, and davlik cache app2 sd..
Can u guys explain the differences? What is app 2 sd+ ??
I understand google's one is the one that comes with froyo that it only works if the developers of the games and apps code it in, or else it wont' move to the sd card. Legacy is the one which uses the ext3 partition ( which i still have btw.. ) but i don't know how to use that one even though its already preinstalled. I have no idea about davlik cache except that i had to clear it before i install app2sd.. and i'm in the blind for a2sd+ ...
Thanks
I read somewhere minimum class of sd should be 6 for apps2sd. Also had a freeze once, i panicked then took battery out, went into recovery and just re-installed ROM and it worked after that.
@Supergluey basically, a2sd just moves the apps, while a2sd+ also moves the dalvik cache.
The Froyo implementation is pretty lame (only moves apps if allowed by creator) and is best ignored.
If your rom comes with the legacy a2sd (not Froyo native) then you can partition your sd card in Recovery Mode by setting a 0 MB swap size, an ext2 size (dedicated for apps) of 512 MB, and remaining space to the FAT32 file system (mass storage space).
You then convert ext2 to ext3 while still in Recovery Mode.
Explanation about how Dalvik cache works: when Android OS starts up, the DalvikVM looks through all of your applications (.apk files) and frameworks, and builds a tree of dependencies. It uses this dependency tree to optimise the bytecode for every application and stores it in the Dalvik cache. The applications are then run using the optimised bytecode. This is why when you install a new ROM, sometimes it takes a very long time to boot for the first time. Any time an application (or framework library) changes, it's re-optimised and the cache is updated.
Sent from my HTC Desire using XDA App
MasDroid said:
@Supergluey basically, a2sd just moves the apps, while a2sd+ also moves the dalvik cache.
The Froyo implementation is pretty lame (only moves apps if allowed by creator) and is best ignored.
If your rom comes with the legacy a2sd (not Froyo native) then you can partition your sd card in Recovery Mode by setting a 0 MB swap size, an ext2 size (dedicated for apps) of 512 MB, and remaining space to the FAT32 file system (mass storage space).
You then convert ext2 to ext3 while still in Recovery Mode.
Explanation about how Dalvik cache works: when Android OS starts up, the DalvikVM looks through all of your applications (.apk files) and frameworks, and builds a tree of dependencies. It uses this dependency tree to optimise the bytecode for every application and stores it in the Dalvik cache. The applications are then run using the optimised bytecode. This is why when you install a new ROM, sometimes it takes a very long time to boot for the first time. Any time an application (or framework library) changes, it's re-optimised and the cache is updated.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Thanks MasDroid. I get the differences now. But i have a problem. So like my last post I install the official froyo rom that is posted on here by AdamG. I loved it cause its based off some hong kong test rom and i'm in HK However, he added more features to it such as the apps to sd (not the froyo one ) and davlik cache app to sd.
I formatted my 8GB with the swap file , fat 32 and ext 2 converted to ext 3 respectively to the sizes you stated. However whenever i install apps it still goes to the internal memory! I tried different partitions and it still doesn't' work! I tried wiping everything and re-flashing the rom and it doesn't' work. I also tried forcing it to install to external but all apps just fails to install. I tried reformat and remove all partitions and re partition again once through recovery mode and another through the android sdk and using adb. Is it the sd card problem?
When i first rooted my phone, with defrost and then later changing to devillian. It worked. Apps were installed on sd card but i changed roms because i found out it was dragging the internal memory as well. So i would still gt the "I have no space" message. What can I be doing wrong?
ruisinho said:
I read somewhere minimum class of sd should be 6 for apps2sd.
Click to expand...
Click to collapse
Definitely not true.
I use Apps2SD on my 16gb Sandisk Class 2 card and never have any lag whatsoever.
Regards,
Dave
foxmeister said:
Definitely not true.
I use Apps2SD on my 16gb Sandisk Class 2 card and never have any lag whatsoever.
Click to expand...
Click to collapse
+1
16 gig Sandisk class 2, absolutely no difference or lag comparing to internal memory

[Q] Just flashed Gingerburst. Performance sucks

Since I am not allowed to post in the development forum, I am making a new thread here. I just flashed the rom. Followed the instructions, partitioned, installed, rebooted and installed A2SD then rebooted. The performance is terrible. Gmail crashes. And I got continuous messages of com.android.acore (and com.android.phone) is not responding. At a time these pop ups, stop but running apps like the market or even People is very slow. I checked and it consumes hell lot of RAM, only 83mb are free or 140 after a few "kills". A lot less than the 220mb of stock froyo. I am not sure what kills the performance though. Is this normal for this rom?
I had the same issue, after a few hours of putting up with it I gave up and flashed CM7.1 instead
Sent from my CM7.1 Desire using XDA Premium App
At least you guys got it to work. I kept getting bootloops when I tried it.
I reflashed it. Now it seems I achieved a more proper installation. What I mean? Some widgets like the friendstream or the people widget are installed by default to some of the Sense "tabs" or however these are called. At my first installation all Sense tabs were blank. Overally, it seems more responsive, I still get the errors at boot but not at the same amount. Again, its speed is not like the stock rom though. So tomorrow I will flash another one. Any suggestions? I want something fast with 720p recording support.
Well I'm on CyanogenMod 7.1 and its very fast and stable. Its quoted as having 720p recording but some people are debating that, I haven't actually checked yet. It is an aosp ROM though so no sense.
Sent from my CM7.1 Desire using XDA Premium App
I had that issue before, apps take a minute to load.
Solution:
1. Make sure u have class 4 or higher SD card (no class 10).
2. Have at least a 1gb ext4 partition (1024mb, not 1000mb) I had 519mb before, changed to 1gb and its ok now.
3. Create FAT32 before you create ext4, won't work the other way around.
4. Try fix permissions in Rom manager to fix the force close issue.
Sent from my HTC Desire using XDA App
Or maybe u have a corrupted zip file. (somehow)
Sent from my HTC Desire using XDA App
muku_ said:
Since I am not allowed to post in the development forum, I am making a new thread here. I just flashed the rom. Followed the instructions, partitioned, installed, rebooted and installed A2SD then rebooted. The performance is terrible. Gmail crashes. And I got continuous messages of com.android.acore (and com.android.phone) is not responding. At a time these pop ups, stop but running apps like the market or even People is very slow. I checked and it consumes hell lot of RAM, only 83mb are free or 140 after a few "kills". A lot less than the 220mb of stock froyo. I am not sure what kills the performance though. Is this normal for this rom?
Click to expand...
Click to collapse
Did you full wipe before flashing?
To full wipe, you must;
Factory wipe/reset
Then in mounts/storage; format Data, format dalvic, format system and format sdext.
Then in advanced; Wipe Dalvic cache.
What has happened, is remnants of whatever previous ROM(s) you came from have remained in the system. Performing full-wipe above clears everything for your new ROM.
Not always necessary when flashing updates of the same ROM, but definitely a good idea if switching to another...
777ace said:
Did you full wipe before flashing?
To full wipe, you must;
Factory wipe/reset
Then in mounts/storage; format Data, format dalvic, format system and format sdext.
Then in advanced; Wipe Dalvic cache.
What has happened, is remnants of whatever previous ROM(s) you came from have remained in the system. Performing full-wipe above clears everything for your new ROM.
Not always necessary when flashing updates of the same ROM, but definitely a good idea if switching to another...
Click to expand...
Click to collapse
I definitely didn't do a full wipe. I only did the factory reset and i installed after. I was in stock rom before, I don't know if this is relevant to the full wipe. Anyway, I'll try that and see if it fixes the speed problems.
sebastianlow said:
I had that issue before, apps take a minute to load.
Solution:
1. Make sure u have class 4 or higher SD card (no class 10).
2. Have at least a 1gb ext4 partition (1024mb, not 1000mb) I had 519mb before, changed to 1gb and its ok now.
3. Create FAT32 before you create ext4, won't work the other way around.
4. Try fix permissions in Rom manager to fix the force close issue.
Click to expand...
Click to collapse
I fixed the permissions via the recovery menu. I also did the partitions via recovery, so I guess the procedure should be good. 1gb of ext, 64mb swap and the rest Fat.
I was about to order a new sd, because I use the stock one, 4gb class 4. I was thinking about getting a class 10, why did you tell me to avoid class 10? It should be the fastest, no?
Ok I reinstalled after wiping everything except boot from the recovery. Still the same issues. What I have noticed, is that the first time Gingerburst boots, when everything is in phone memory, the phone is fast. With no lags. After I reboot, to install the A2SD zip and then i start again my phone, then the performance sucks. Could it be the sd card? It's the stock card, class 4. Could it be the partitioning? I did it from the recovery. 1gb ext partition, 64mb swap, the rest Fat. Could it be the script installing A2SD problematic? I downloaded from the gingerburst site.
Droidzone highly recommends to do the partitioning with Gparted. Also the R/W speed of your card matters a lot in the speed of the ROM. My stock SD card has a writing speed of 4MB/sec and 5MB/sec for reading. This is definitely too slow to support data2sd, that's why I have ordered a class 6 sd card. You should do it too
UltimateGoblin said:
Droidzone highly recommends to do the partitioning with Gparted. Also the R/W speed of your card matters a lot in the speed of the ROM. My stock SD card has a writing speed of 4MB/sec and 5MB/sec for reading. This is definitely too slow to support data2sd, that's why I have ordered a class 6 sd card. You should do it too
Click to expand...
Click to collapse
I tried gparted at first but the gparted live disk didn't recognize my phone connected to the usb, so I then tried from the recovery. By the way why's everyone suggesting class 6 instead of class 10 sd cards?
Forget GingerBurst, it's a very laggy Gingerbread ROM. If you want Gingerbread with Data2SD, go for SuperNova (also by droidzone). I've experienced what you've experienced (lag, bootloops, fc's) despite my full wiping before flashing the ROM. My SD card is also partitioned by GParted, and it's Class 4 only, but I manage 1800+ Quadrant score w/ it. I went back to StarBurst (froyo) after consistently testing it to be faster than either GingerBurst or SuperNova. droidzone himself uses StarBurst for his personal phone.
No nid swap partition
Sent from my HTC Desire using XDA App
Droidzone said no class 10 :/
Sent from my HTC Desire using XDA App
Damn I guess it's the rom itself then. Although for some reason the lag starts after i install the A2SD. The first time the rom boots, before i install the script for data to sd, everything's pretty fast. I will order in any case a 16gb class 6 sd which i need for the extra storage, test with it and if the problem persists I'll try other roms like supernova you suggested or Leedroid. I am pretty new to this stuff so I don't know which is the best
I can confirm I had the same experience, it was great until I flashed the a2sd script. After that it was unusable.. that was with a class 6 card too
Sent from my CM7.1 Desire using XDA Premium App
I went back from GingerBurst to SuperNova too; now I am testing Unofficial BravoS by coolexe (because I really like Sense 2.1) and seems very good so far, the only thing I really dislike is A2SD+. A version based on Sibere's would be really great.
It's a bit of a relief to hear that other people have met the same issues as me with Gingerburst. I've already ordered my 16gb class 6 although from what you've told me, things won't get better I can't understand why the developer doesn't let us now that his Rom has still issues... I'll take a look to coolexe once I get my new memory. Anyone tried Leedroid HD?
The Rom is definitely fine, its just how you set it up...
Sent from my HTC Desire using XDA App

[Q] Internal Memory Full after Reboot; All Apps on SD

My HTC Desire was restarted due to low battery long after I restored some backups (app + data) with Titanium Backup. When I booted back into Android, it showed 1MB of free internal space! So thought it might be the 4 downloads I had, so I deleted all of them and Android then said it had 61MB of free internal space.
Then I rebooted but now I only have 216KB free space!!
This is the second time it's happened and I've tried everything including SD Maid and every single app is linked to the SD card's 2nd partition. This didn't happen when Installing apps from the Play store or from Easy Installer; and Avast finds no problems.
It keeps saying "Unfortunately Google Play Store has stopped" etc. and the phone is very slow including booting.
I'm not willing to re-flash everything again and manually install each app, especially as the first time re-flashing, Clockwork Recovery said it couldn't mount the SD card, then after formatting, Windows 7 wouldn't recognize it, then neither would (after formatting using gparted)!
I'm only using Link2SD on ICS for HTC Desire 0.4.4.4.1, default HBoot, Clockworkmod Recovery Touch 5.8.0.2, aGPS and default homescreen with no scripts.
This is extremely irritating, can anyone help please?
Using any scripts like A2SD?
Cool story bro. Please post more relevant information so peeps here can help you out. How about letting us know your hboot information, rom you are currently using, scripts etc. ;-)
I'm only using Link2SD on ICS for HTC Desire 0.4.4.4.1, default HBoot, Clockworkmod Recovery Touch 5.8.0.2, aGPS and default homescreen with no scripts.
DarkIceGB said:
I'm only using Link2SD on ICS for HTC Desire 0.4.4.4.1, default HBoot, Clockworkmod Recovery Touch 5.8.0.2, aGPS and default homescreen with no scripts.
Click to expand...
Click to collapse
try stock a2sd then enable it with terminal
Code:
su
a2sd install
y
y
y
Edit: also DL 5.1, i found 4.4.4.1 SUPER buggy.
Thanks for the help, I've tried the above and it's been booting for 10 minutes now, should I wait for it to finish or is it stuck?
Edit: After 30 minutes of booting, I took the battery out. It now won't go past booting (the animated 'X screen') and it takes ages to get past the 'HTC' screen to the boot screen.
Edit 2: I booted into recovery and cleared all caches and fixed permissions and after booting it doesn't say the memory is full! Thanks for your help!
What else did it move and is the data on the first partition of the SD card or the second and can I remove the SD card safely? Any idea how the internal memory was filled and why there were issues with the SD card or if they might appear again? It's a new Samsung Extreme Speed Class 10 16GB Micro SDHC card.
I can't move apps from the SD card to the SD card's second partition or to the internal memory. It says, "pkg: /mnt/asec/appnamehere/pkg.apk Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]".
The internal memory is empty, the SD card has 8GB of free space and the 2nd partition has 1GB free out of 2GB.
Just upgraded to 5.1 and it's the same as above. Any ideas?
Anyone have any idea?
What A2SD-option did you pick in Aroma Installer? I cannot see any Link2SD option there.
Sorry I meant I chose the built-in a2sd but I used this app called Link2SD as I have a second partition on my sd card for apps.
DarkIceGB said:
Sorry I meant I chose the built-in a2sd but I used this app called Link2SD as I have a second partition on my sd card for apps.
Click to expand...
Click to collapse
How have you partitioned your SD? Primary and secondary FAT32 or primary FAT32 and secondary EXT? I've never used Link2SD 'cause i prefer the script way, but i think it works the same way.
If you are using EXT for secondary, i recommend you the 4ext recovery, if you are S-OFF you can install it directly from the phone using the Updater form 4ext.net.
Then I suggest you to do:
A nandroid backup
A backup of your SD data
Repartition you SD using 4ext
Check partition allignment with 4ext
Do a full wipe
Restore your SD's backup
Restore your nandroid backup
Re-install 0.5.1 and select built-in a2sd
In rom use terminal like bortak stated, but say NO to moving appdata (slowed down my phone a lot)
Uninstall Link2SD
This will give you a standard installation for a2sd.
If I were in you, i would format everything (except SD card first partition) and start from scratch with the built-in a2sd method without Link2SD; you'll have to reinstall everything and lose every data (backup with TB if you can), but you are sure to run a rock solid method to "enlarge you space"
If you are on double FAT32... well, i cannot help you there
Bortak, correct me if i ever say stupids things i want to help out and you surely are a master in troubleshooting and point to my errors
I'm actually running BCM 3.0U0 + 3.0U1 update with m2sd (with apps and dalvik on ext), 100% V6 supercharged and ScrollingCache patched... i have to say, in my opinion, it finally surpassed Sandvold ICS!
Thanks a lot for the help, I've followed the steps and everything's working now!
I used 4ext recovery, which appears to be a lot better than clockworkmod, with more useful options. 4etx said that the partitions weren't aligned (which I previously set in clockworkmod) so I wiped everything and made fresh partitions which were perfectly aligned. I'm using 0.5.2 now with a full format.
I had/have fat32 then ext4.
I've noticed that most apps don't appear to be on the SD card though. Any advice?

[Q] Mildwild CM-5.0 and Mount2sd issues

Hi,
I have been running Supreme Desire 1.2 with the data2sd script on a 1gb ext-4 partition on my HTC Desire for a few months. So last week I broke my ankle and during my forced downtime I've been looking at updating my ROM, noticed that Supreme is still at 1.2 and plumped for MildWild 5.0 for a change:
http://forum.xda-developers.com/showthread.php?t=1453287&page=313
I wiped everything and formatted the sd card (not the sd-ext) via recovery and flashed the new ROM. So far so good. I should point out that I am in no way an expert but I'm not afraid to muck about with stuff if there are instructions to follow.
I looked for data2sd options and post 3127 in the above thread suggested mount2sd:
http://forum.xda-developers.com/showthread.php?t=1342387
I flashed and used the aroma installer and opted for the non-custom install. Titanium backup shows the SD(a2sd) as 1.05gb with some of it used but each time I have restored an app it has gone to the System ROM memory. Also, in the storage settings screen on Supreme it used to show the internal memory as over 1gb i.e. not distinguishing between the phone and the sd. This still shows that I have 148 mb internal storage.
Is this because it isn't working or I am I missing something obvious?
I've attached a couple of screenshots.
Cheers
Fabs
im using mildwild oxygen and in that u have to choose in the settings where apps are installed, sdcard, sd-ext r internal. maybe be the same with the CM version, try settings/cyanogen settings to see if its the same.
dont know if thats the answer u was looking for but thought id say anyway
Sent from my HTC Desire

[Q] Desire / Internal 2GB gone after flashing new Rom

Hi guys,
i've got a problem with my desire (gsm, bravo).
I was using cyanogenmod 7.2.0.1 for a while and everything was ok. Today i did a nandroid backup and installed a MIUI V rom to test it.
I didn't like it and wanted to return to CM. So i restored nandroid backup... everything went well... BUT:
Now my internal memory is gone! I just see ~130MB Phone-memory and my 16GB SD-Card. The internal 2GB is nowhere to be found...
The 16GB-SDcard is mounted under /sdcard and the folder /sd-ext (Which i think was the 2GB internal memory before) is 0byte and empty.
Things i tried which did not fix:
- Restore factory default
- Wipe everything possible from inside clockworkmod
- Format /sd-ext from clockworkmod (completes fine, but does nothing)
- Restore other odler nandroid backup (cm7.1, cm7.0 - i even tried the stock HTC rom nandroid)
EDIT (in hope this doesn't push this thread up again)
FIXED:
Ok, after a night of sleep i realized that i was just stupid. I mistook that the desire HAD internal 2GB flash while it only has the small 512MB ROM partition + sdcard So all is working as expected and I was confusing it with another phone ... sorry to disturb you and thankd for your answer, eddiehk6.
Thanks
did the internal memory definitely say 2GB before you switched roms? it's a bit strange because a nandroid restore should restore everything exactly as it was before.
what A2SD script were you using on cm rom? CM doesn't move apps to sd-ext automatically. also confirm that the ext partition was created with gparted or 4ext recovery (not minitool or clockworkmod recovery)
also do your apps still work? if so then everything probably is still working.
even so, a lot of the time, you won't see your internal memory as "internal + sd-ext". depending on the script, keeping apps on internal should move trick them to sd-ext. use another app like 'diskusage' to browse your partitions.
your internal memory is also 130MB i imagine also because you are also on stock hboot? if you don't know what that means then s-off and change hboot to cm7r2 maximise space a bit, further reading here.

Categories

Resources