[Q] Moving dalvik cache to sd-ext doesn't work?

CaptainMaki

Senior Member
Jun 26, 2011
236
12
0
I've searched and read on other sections. but I can't find a solution to this.
I've also done the specific instructions, and still got problems with moving dalvik to sd-ext. Every time I try it even with the ext3 or trying to mount as ext4 I get the HTC screen stuck on boot and can't pass that.
I can move applications but not dalvik and I need the space, as my data folder was almost completly full after a month of use in the device.

Any suggestions?
 

CaptainMaki

Senior Member
Jun 26, 2011
236
12
0
cyanogen 7.1.0 and S2E latest version.

I'm using an ext3 partition. I've wiped phone, formatted sd card with fat32, ext3 and linux swap. and if I move only apps everything works fine. if I move apps + dalvik the phone stuck on the HTC white screen.

Also is there a recovery for Aria that supports ext4?
 

drumist

Senior Member
Aug 6, 2010
1,725
543
0
cyanogen 7.1.0 and S2E latest version.

I'm using an ext3 partition. I've wiped phone, formatted sd card with fat32, ext3 and linux swap. and if I move only apps everything works fine. if I move apps + dalvik the phone stuck on the HTC white screen.
I dunno what's causing that. I'd probably try doing a 100% clean install to see if it fixes it. (In particular, wipe data/factory reset and format system and boot partitions before installing CM7 and Gapps again.)

Also is there a recovery for Aria that supports ext4?
I don't know, but there's very little benefit to using ext4 over ext3 for this particular purpose anyway. Also mounting ext3 as ext4 is equivalent in performance to ext4, if you really care about that.
 

CaptainMaki

Senior Member
Jun 26, 2011
236
12
0
how do you format boot and system partitions? I've re installed rom and s2e again. I will try to move dalvik later today after I'll have time to backup. for now the apps moved and works fine and the option to move dalvik is available.

when I mount ext3 as ext4 the recovery shows no sd-ext available. I think it's also mark the sd-ext as ext4 again, even without any action on it, which makes the sd-ext unusable when the phone boots up. it also not allows to backup the partition.
 

drumist

Senior Member
Aug 6, 2010
1,725
543
0
when I mount ext3 as ext4 the recovery shows no sd-ext available. I think it's also mark the sd-ext as ext4 again, even without any action on it, which makes the sd-ext unusable when the phone boots up. it also not allows to backup the partition.
Yeah, honestly, just use ext3. No one would actually notice a difference in performance between ext3 and ext4 for this particular purpose, and it's a lot more convenient to be able to make backups of the ext partition without any issues.
 

CaptainMaki

Senior Member
Jun 26, 2011
236
12
0
thx for all the help. I really don't know what is happening.
I've wiped boot + system, did factory wipe, wiped cache, installed CM 7.1.0 + Gapps, didn't even insreted sim card, installed only S2E and when i select Apps + Dalvik the phone is stuck on the HTC white screen.

Really frustrated with this.
 

drumist

Senior Member
Aug 6, 2010
1,725
543
0
thx for all the help. I really don't know what is happening.
I've wiped boot + system, did factory wipe, wiped cache, installed CM 7.1.0 + Gapps, didn't even insreted sim card, installed only S2E and when i select Apps + Dalvik the phone is stuck on the HTC white screen.

Really frustrated with this.
Can you confirm that the ext partition is formatted as a primary partition (not logical)? Have you tried a different SD card? Beyond that I'm not sure what is going on.

The first boot after enabling "dalvik cache" should take a while, but it shouldn't be at the HTC white screen, it should be at the CM boot screen.
 

CaptainMaki

Senior Member
Jun 26, 2011
236
12
0
I've formatted and re formatted the card, I will try another one.

Even if it's the card, how the apps are moving fine and the dalvik doesn't.

I've tried another thing: I've partitioned the card through ROM Manager, and it created a 512MB partition. I then moved the dalvik cache to the SD-ext and it worked. then I've used gparted to resize the partition to 1024MB. it also worked. I suspect that something in the formatting process wasnt right although I've always kept on creating primary partitions.
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone