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?
What ROM and apps2ext method are you using?
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?
CaptainMaki said:
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.
Click to expand...
Click to collapse
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?
Click to expand...
Click to collapse
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.
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.
CaptainMaki said:
how do you format boot and system partitions?
Click to expand...
Click to collapse
In CWM recovery, select "mounts and storage". The options to format the boot and system partitions will be there.
CaptainMaki said:
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.
Click to expand...
Click to collapse
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.
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.
CaptainMaki said:
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.
Click to expand...
Click to collapse
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.
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.
Related
Just installed link2sd earlier (formatted partition as ext3). Wanted to flash a different rom. Trying to backup my phone, and clockworkmod tells me it can't mount sd-ext. Anyone know a reason and/or work around?
I think CWM works only with ext4 partition AFAIK. So, you can re-partition your sd card to a ext4 partition using CWM, or you can format the ext partition only to ext4 using a computer.
YouArePoop said:
Just installed link2sd earlier (formatted partition as ext3). Wanted to flash a different rom. Trying to backup my phone, and clockworkmod tells me it can't mount sd-ext. Anyone know a reason and/or work around?
Click to expand...
Click to collapse
which version of CWM have you got?
3.0.2.4, which I've used for a while now, always tries to back up my 6GB ext2 debian partition unless I remember to change cards first. no way I leave room in the vfat partition to back up that much data.
I'll put it up on 4shared if you want it.
mihir287 said:
I think CWM works only with ext4 partition AFAIK. So, you can re-partition your sd card to a ext4 partition using CWM, or you can format the ext partition only to ext4 using a computer.
Click to expand...
Click to collapse
Guess when I get home I'll copy the contents to computer, reformat, and copy back. Hopefully link2sd will notice the formatting has changed and reset itself
Sent from my LG-VM670 using XDA App
Doesn't work with extra either. Version 3.2.0.1 I believe it was.
Guess it doesn't really matter, can just use titanium since its all app stuff on there anyways...
Sent from my LG-VM670 using XDA App
i use CWM to back up my 512MB ext2 partition for my data2ext all the time (with the rest of the backup) and it seems to have no problem, and just to check i just mounted the partition in mounts and storage and it mounts fine. I know some recoveries ive used in the past on other phones would have problems with partitions that were not in 64-128-256-512-1024 MB, etc. format because of block size issue errors that i would get (when mounting or trying to set block size to 4096). I also found that when partitoning/formatting to ext2/3/4 some programs do not properly write the drive formatting and certain systems/recoveries/apps could not properly read them on the android. the best most consistent (android friendly) formats that i have gotten to date were in ubuntu (or any other) linux using "gparted". It seemed to always be the best and usually better than the format done by the phone recovery. Hope this helps. Sorry to drone on and on.
Partitioned originally with gparted. Have since resized to be 2048, and set its label to 'sd-ext'. Now instead of getting an error saying sd-ext might not be supported on my device, it just gives me a generic 'error mounting sd-ext'
I've had ext partition mounting problems before, I'm not sure if the cause is something to do with vold or what, but
after unmounting a sd card to exchange it with another one, it changes the device partitions in /dev/block like
/dev/block/mmcblk1p2
for the sd-ext partition instead of the normal
/dev/block/mmcblk0p2
you can see if this has happened by
Code:
ls /dev/block
in adb shell.
to mount it manually, if the numbering is off,
Code:
mount /dev/block/mmcblk1p2 /sd-ext
I've only had this happen with android running, but it might work in recovery too
Switched over to using data2ext. Mounts the 2nd partition as the /data partition instead of /sd-ext. Can manually mount 2nd as /sd-ext from within rom, but it doesn't carry over to recovery.
A possible solution... Create a symbolic link pointing /sd-ext to the 2nd partition? But then again, since /data now points to 2nd partition, is recovery picking up on that unknowingly and backing up the 2nd's contents when it thinks its backing up the normal /data?
I suppose I should investigate.
Edit: Yep it does backup the 2nd partition, thankfully. Just tried to install a theme made in UOT Kitchen, it borked some stuff, and the restore worked.
I've rooted plenty of devices, flashed countless ROMS all the way back to Windows Mobile but this dern Aria is killing me.
This is a coworker's phone that I rooted and flashed CyanogenMod 7.
it's out of memory, of course, ClockworkMod version is 2.5.0.7. Rom Manager is the latest in the market.
First I tried to partition the card through Rom Manager which didn't work. It did format the card though.
Went into ClockworkMod and there no menu for partitioning. So... I put the SDCard in my Epic4G and partitioned it there.
The partition shows in Titanium Backup but no apps go there.
He's previously moved all apps to the SDCard, no partition, if that matters.
I've tried DarkTremor, didn't boot and had to restore, Tried S2E, caused EVERYTHING to FC. Tried installing new apps to test they still go to internal. Tried mounting the SDEXT in ClockworkMod, Same.
I'm out of ideas, Help!
Is the partition formatted as EXT3? AFAIK, S2E is not compatible with EXT4. Also, try to reformat with the linux tool gparted.
Sent from my Liberty using XDA App
u can try a program called link2sd its free in the market.
Thanks, I'll bring my linux notebook and try to muddle through it.
I'm not sure what my Epic, IIRC it does have an official clockwork recovery, formatted the card to.
Do a clean install on his phone. Backup all his apps with titanium. Boot into CWM, format /system, wipe data and factory reset, clear cache, clear dalvik, install Rom, install kernel (optional), flash DT script, reboot (it will bootloop twice, this is normal behavior and then it will boot into android). Restore with titanium and all the apps will be installed to the EXT partition.
This phone is hateful!
Wiped everything, installed the latest nightly, flash DT Beta 04.
Rebooted started installing apps and they all went to the EXT partition. Yay!
Titanium FC'd in one app so I installed GAPPS and BOOM! The internal is filled again!
WTF?!
Open up terminal and type
Su
a2sd reinstall
Reboot (don't know if this is necessary)
Sent from HTC Aria - GB Salsa Sense 2.1 + Drowning Kernel
I have s2e install on my aria and it runs flawlessly. I have all about 200 apps and my dalvik on my sd and still have 140mb available of internal space.
This maybe a long shot, but in cm settings, make sure "allow application moving" is un-checked and install location is set at automatic. s2e tricks the phone in thinking the ext is the internal space. I hope this is helpful. good luck.
I have an Optimus V running IHO with s2e installed.
I am trying to use s2e to copy my dalvik cache to my sd-ext partition, but it's not working. I check the box and it says "reboot required", so I reboot, re-open s2e, and it still says "reboot required". I don't think it actually copied it to sd-ext.
How can I get it to copy my dalvik cache (~107MB)?
I havent heard of iho. But s2e is only for cm7 based roms...
Sent from my LG Optimus One P500 using xda premium
Android is right, you can only use with cm7...try using ungaze or darktremor
Sent from my LG-P500 using xda premium
IHO is based of CM 7.1. s2e copied my apps and download cache to my sd-ext just fine, it's the dalvik cache it's having issues with.
I had the same problem yesterday, uninstall s2e than reinstall from market and all of those blocked selections will be available to check....giving your on a cm7 rom...if that doesn't work repartition the sdcard than reinstall the s2e.apk than select which options you want moved to sdext and it should work
Sent from my LG-P500 using xda premium
Try wiping dalvik-cache, maybe the new one will be created on the sd-ext.
Ianis G. Vasilev said:
Try wiping dalvik-cache, maybe the new one will be created on the sd-ext.
Click to expand...
Click to collapse
I tried that, didn't work
I think the partition is corrupted, try formatting again
Garuxa said:
I think the partition is corrupted, try formatting again
Click to expand...
Click to collapse
I currently have my apps and download cache on sd-ext. That worked (works) fine.
I just noticed that I have both /cache/dalvik-cache and /data/dalvik-cache. Could this be why I can't move it to sd-ext?
Jrhodes85 said:
I had the same problem yesterday, uninstall s2e than reinstall from market and all of those blocked selections will be available to check....giving your on a cm7 rom...if that doesn't work repartition the sdcard than reinstall the s2e.apk than select which options you want moved to sdext and it should work
Click to expand...
Click to collapse
I tried uninstalling and re-installing s2e, didn't work. The weird thing is that my apps and my download cache moved to sd-ext just fine.
im having the same problem. just loaded bobzhome CM7.2.0 on my optimus v. it will move anything but the dalvik cache. whats the problem?
IMPORTANT NOTE!!!!!
i moved applications only to the SD ext partition. after this i wasnt able to load many of my apps, the most important of which was s2e. so i wasnt able to undo the move. fortunately this happened early on after i flashed the new rom. so i just called it a bad job and reflashed the rom.
im giving up on the idea of extending my ext partition. i just reformatted my SD card for basic SD storage. i will just have to live within my means. not being able to move the Dalvik cache should have been enough to ward me off, but after having it mess my apps up too im not going to try again until im really desperate.
Personally I tried ungaze a d s2e and darktremor was my favorite. You get the .zip for recovery and the UI in market, search for darktremor in it. You will have the option to move dalvik cache to sd ext. My ext is formated in ext4 by the way, might be your problem. I write here mainly to tell you that in my own experience moving dalvik to sd-ext on top of my apps to sd-ext made my rom laggy and slow. Apps only worked fine. Darktremor's the best. Try it.
Sent from my LG-P500 using Much Love
Mount as Ext4
how r u partitioning the sd card? I use mini tool and have partitioned it fine. make sure you make a fat32 1st, 2nd ext2 & 3rd Linux swap (see attached image - Disc 2 as example). Thats the only way it works. Best of luck Also, once s2e is installed, open s2e > menu > settings > select option 'Mount as Ext4'. I will not recommend moving applications and private apps, just move dalvik cache and download cache.
Community: http://on.fb.me/Root4Andrd
I have been going round and round with this issue for a long time.... i used mini tool and other programs like darktremor and NONE worked,
I used mini tool like nth20 has stated only I created a fat32 partition,
I used the integrate SYS davik option in titanium backup!
I am useing a IHO rom that has link2sd and that worked for me...
good luck i have reflashed and tried so many roms and was finally able to get this to work.
__________________
Phone: LG Optimus V (VM670)
ROM: CyanogenMod 7.10.1-BobZhome-11132011
Kernel: 2.6.32.9-v3.3
Android Version 2.3.7
Overclock: 480~806MHz - Performance
Provider: Virgin Mobile USA
Mangala_Dharma said:
Personally I tried ungaze a d s2e and darktremor was my favorite. You get the .zip for recovery and the UI in market, search for darktremor in it. You will have the option to move dalvik cache to sd ext. My ext is formated in ext4 by the way, might be your problem. I write here mainly to tell you that in my own experience moving dalvik to sd-ext on top of my apps to sd-ext made my rom laggy and slow. Apps only worked fine. Darktremor's the best. Try it.
Sent from my LG-P500 using Much Love
Click to expand...
Click to collapse
I don't really want to move the dalvik-cache, to sd-ext, but when I try to install or update anything from the market, I get "package file invalid". I'm assuming that the error is that my cache is full.
nth20 said:
how r u partitioning the sd card? I use mini tool and have partitioned it fine. make sure you make a fat32 1st, 2nd ext2 & 3rd Linux swap (see attached image - Disc 2 as example). Thats the only way it works. Best of luck Also, once s2e is installed, open s2e > menu > settings > select option 'Mount as Ext4'. I will not recommend moving applications and private apps, just move dalvik cache and download cache.
Community: http://on.fb.me/Root4Andrd
Click to expand...
Click to collapse
Do you need a swap partition for dalvik cache to move correctly? I didn't add one, so that may be the issue. Unfortunately, I have too many apps, and I need them moved to sd-ext, because they don't fit in the internal memory.
slappy18201 said:
I have been going round and round with this issue for a long time.... i used mini tool and other programs like darktremor and NONE worked,
I used mini tool like nth20 has stated only I created a fat32 partition,
I used the integrate SYS davik option in titanium backup!
I am useing a IHO rom that has link2sd and that worked for me...
good luck i have reflashed and tried so many roms and was finally able to get this to work.
Click to expand...
Click to collapse
"integrate SYS davik option", eh? That looks interesting, let me try it. That seemed to help. s2e still didn't move the cache, but I can correctly install/update from the market now.
NTICompass said:
I don't really want to move the dalvik-cache, to sd-ext, but when I try to install or update anything from the market, I get "package file invalid". I'm assuming that the error is that my cache is full.
Yup. Either your dalvik cache or download cache or both cannot find enough space in internal memory.
Do you need a swap partition for dalvik cache to move correctly? I didn't add one, so that may be the issue. Unfortunately, I have too many apps, and I need them moved to sd-ext, because they don't fit in the internal memory.
You need the swap partition as apps use it the space while installations. Saves you from the 'package file invalid' error.
Hope this helps.
Community: Rooting for Android
Click to expand...
Click to collapse
I was able to use Titanium Backup's "Intergrate Sys Dalvik into ROM", and that fixed the problem (it moved ~20MB of stuff).
nth20 said:
You need the swap partition as apps use it the space while installations. Saves you from the 'package file invalid' error.
Click to expand...
Click to collapse
I can try to add one, and see if that helps, but I think if I can install apps now, then I don't need to actually move the dalvik cache.
NTICompass said:
I was able to use Titanium Backup's "Intergrate Sys Dalvik into ROM", and that fixed the problem (it moved ~20MB of stuff).
I can try to add one, and see if that helps, but I think if I can install apps now, then I don't need to actually move the dalvik cache.
Click to expand...
Click to collapse
Just 20MB. That's kinda low. Attached is a screenshot from my device. Check the size of the dalvik cache.
Community: Rooting for Android
Hye everyone, my name is toby and I have a question..
Long a go after I bought sgs2 I try to remember, I think I've formatted this phone once using my laptop via usb. I plugged the phone, right click on my computer and format, I think it was NTFS file system. do you guys think this will have impact on the phone performance r/w or ROM? or will the sd partition won't work at all?
I'm asking this because I have installed ROM's and It lag and crashed a few times.. I think maybe this two connected.
Thank you..
p/s:f5,f5,f5,f5 waiting for some rom to update.
Yes the two are likely to be connected. If you formatted your sdcard as ntfs then I would presume that it is using the ntfs support in the Linux kernel to access it. However, NTFS is not a light fs, it is intended for heavy duty file work, and definately not suited for mobile devices. I'm not surprised it's causing your phone to lag.
I suggest you enter your phone's recovery mode and reformat your /sdcard partition, and if you have CWM just to be sure, do a full factory wipe, and format ALL partitions in the advanced section.
So...
mrnaz said:
Yes the two are likely to be connected. If you formatted your sdcard as ntfs then I would presume that it is using the ntfs support in the Linux kernel to access it. However, NTFS is not a light fs, it is intended for heavy duty file work, and definately not suited for mobile devices. I'm not surprised it's causing your phone to lag.
I suggest you enter your phone's recovery mode and reformat your /sdcard partition, and if you have CWM just to be sure, do a full factory wipe, and format ALL partitions in the advanced section.
Click to expand...
Click to collapse
So... everytime I wipe cache partition in cwm recovery mode, it reformat my /sdcard? so, I have nothing to worry right, because I always do the 4 steps of cleaning before installing, sorry, flashing new rom.
No. Wiping the cache does exactly that, wipes the cache. If you do wipe the cache, you'll find the first boot after you do it will take a bit longer than normal while the cache is rebuilt.
If you want to format your /sdcard, you need to go into mounts & storage in CWM.
thegreatdead69 said:
So... everytime I wipe cache partition in cwm recovery mode, it reformat my /sdcard? so, I have nothing to worry right, because I always do the 4 steps of cleaning before installing, sorry, flashing new rom.
Click to expand...
Click to collapse
Hm...
MistahBungle said:
No. Wiping the cache does exactly that, wipes the cache. If you do wipe the cache, you'll find the first boot after you do it will take a bit longer than normal while the cache is rebuilt.
If you want to format your /sdcard, you need to go into mounts & storage in CWM.
Click to expand...
Click to collapse
Okkkaay... Thank you sir..
Need Help with cwm
Hye, I can't find format /sdcard option in cwm Mounts & Storage Menu..
only have this formatting option:
format cache, system, data, secondrom_cache, secondrom_data, secondrom_system, external storage, internal storage.
and I can't mount /sdcard it say Error mounting /sdcard!
I am using CWMR Touch 5.5.0.4 btw.
P/S:Im not using any external mmc.
So after years of flashing roms, installing apps, saving junk to my phone I think it is time to completely wipe it. I've searched and come across a few threads but I want to look at some of the CWM Mounts and storage options to be sure. Here is one I came across:
http://forum.xda-developers.com/galaxy-s2/general/ref-cwm-clockworkmode-menu-options-t1542857
If I wanted to do a compete wipe including all internal SD data, but not lose Root, I would do the following???
wipe data / factory reset
wipe cache partition
wipe dallvik cache
format /system
format /cache
format /data
format /preload (unsure about this one, can't find info)
format /storage/sdcard0
install rom then from my ext sdcard1
install gapps then from my ext sdcard1
reboot into a clean phone and start installing stuff again.
That should be enough correct? I'm not sure where CWM Recovery lives but I would assume that would be on the /boot partition and that is the one section that I don't want to format, correct? I'm also not sure of where the modem is set/installed and would that need to be reinstalled again?
With this device, recovery lives with the kernel in the boot partition. Everytime you install a kernel, a fresh image is installed to the partition.
I'm not sure what your actual goal is, but the process you've outlined process is very redundant.
factory reset wipes /data & /cache (which includes dalvik-cache)
A factory reset plus manually wiping /system (and /preload if using samsung-based firmware) promises a clean installation of ANYTHING.
jackal2001 said:
[...]
If I wanted to do a compete wipe including all internal SD data, but not lose Root, I would do the following???
wipe data / factory reset
wipe cache partition
wipe dallvik cache
format /system
format /cache
format /data
format /preload (unsure about this one, can't find info)
format /storage/sdcard0
install rom then from my ext sdcard1
install gapps then from my ext sdcard1
reboot into a clean phone and start installing stuff again.
That should be enough correct? I'm not sure where CWM Recovery lives but I would assume that would be on the /boot partition and that is the one section that I don't want to format, correct? I'm also not sure of where the modem is set/installed and would that need to be reinstalled again?
Click to expand...
Click to collapse
I want to have a fresh install. Basically wipe everything including whatever junk is installed on the SD card. Like a new phone pulled out of the box. I'm sure there is tons of junk on the SD card due to apps being installed/uninstalled over the years.
Yes I understand some of the options may be redundant, but it only takes a second.
So as long as I don't "format /boot" you saying that should be OK?
If you prefer to take the extra steps, then I don't see any harm in your procedure.
It may seem obvious, but make sure you have everything you'll need on that ext-sd card, before you format /system.
mr.cook has some scripts that will format preload, if the option isn't present in your recovery.
jackal2001 said:
I want to have a fresh install. Basically wipe everything including whatever junk is installed on the SD card. Like a new phone pulled out of the box. I'm sure there is tons of junk on the SD card due to apps being installed/uninstalled over the years.
Yes I understand some of the options may be redundant, but it only takes a second.
So as long as I don't "format /boot" you saying that should be OK?
Click to expand...
Click to collapse