ext3 > ext2 without data loss? - Optimus One, P500, V General

I've been following the discussion in dev forums and seems ext2 will give me the best performance.
How can I revert back to ext2 without loosing my apps on that partition?
thanks.

You can't easily. Make a backup with your recovery, format the ext partition to ext2, and then restore your backup.

ok thanks.. not the answer I was hoping for tho

Related

CUstom Recovery +a2sd on EXT4 not working

i will keep it simple ..Custom recovery is unable to take a nandroid backup if i have a2sd on ext4 partition that same run nandroid-mobile.sh via adb...please fix it or tell me how to.. i m new to android but m good with C and Linux
i had same as your problem , every time when i try to include .android and ext files with my backup it gives me error message , but after i installed a new rom everything went fine!!
For me mounting of ext in recovery helped as well.
The_ERROR said:
For me mounting of ext in recovery helped as well.
Click to expand...
Click to collapse
And doing this, did you managed to restore the backup successfully ??
Well this thing happens with BOTH megatron and void roms...when i boot into custom recovery /cache is the only one mounted and i tried unmounting it before trying a nand+ext+.android_secure backup...doesn't work my sd card is like 3 gb free and ext4 a2sd has only 130Mb of apps in it..
Guys I had made a simple nandroid backup after rootingand installing custom recovr and before installing void. Now if I restore the nandroid backup, will I still have the custom recovery or not?
Sent from my LG-P500 using Tapatalk
lekhwani said:
Guys I had made a simple nandroid backup after rootingand installing custom recovr and before installing void. Now if I restore the nandroid backup, will I still have the custom recovery or not?
Sent from my LG-P500 using Tapatalk
Click to expand...
Click to collapse
u made nandroid after instaling custom recovery :|
how can u lose it?? i dnt think so ..
i cant mount the sd-ext partition from the custom recovery.. it says:
E:Can't mount /dev/block/mmcblk0p2
even nadroid back up with ext ends: run nandroid-mobile.sh via adb
any solution??
Boot in recovery mode.
Connect phone to pc.
Mount ext partition via adb.(after that in Custom recovery mount menu you will found ext partition mounted)
Do nandroid
sugaritos said:
i cant mount the sd-ext partition from the custom recovery.. it says:
E:Can't mount /dev/block/mmcblk0p2
even nadroid back up with ext ends: run nandroid-mobile.sh via adb
any solution??
Click to expand...
Click to collapse
//Edit: First try to create backup ONLY of system, without any other option. If this will be work, you probably done same mistake as I did.
Same as me. I didn't do wipe of EXT after creating of ext-part and I had same symptoms. Backup all your data with Titanium Backup, backup data on SDcard, delete ext, create ext2 again, convert ext2 on one, that you want, do wipe of it. Than it should be working (I had).
anotherloony said:
Boot in recovery mode.
Connect phone to pc.
Mount ext partition via adb.(after that in Custom recovery mount menu you will found ext partition mounted)
Do nandroid
Click to expand...
Click to collapse
i tried via adb but it keeps saying the same thing:
mounting /dev/block/mmcblk0p2 on /sd-ext failed: invalid argument
i dont know if i am doing it right..
The_ERROR said:
//Edit: First try to create backup ONLY of system, without any other option. If this will be work, you probably done same mistake as I did.
Same as me. I didn't do wipe of EXT after creating of ext-part and I had same symptoms. Backup all your data with Titanium Backup, backup data on SDcard, delete ext, create ext2 again, convert ext2 on one, that you want, do wipe of it. Than it should be working (I had).
Click to expand...
Click to collapse
thankss!! i will try it..
i read somewhere that ext4 has problems and is better or recommended the ext2 even though it is slow..
sugaritos said:
thankss!! i will try it..
i read somewhere that ext4 has problems and is better or recommended the ext2 even though it is slow..
Click to expand...
Click to collapse
ext2 is faster, because it haven't journal. But it on some I/O output error is not possible to recover it by itself. Ext3 have journal - is slower, but in case of problem will (can) repair itself. ext4 is better ext3.
under partition section - http://forum.xda-developers.com/showpost.php?p=10377391&postcount=4
At the time I made the recovery kernel sources were not out so I couldnt add ext3 & ext4 support to recovery. I'll try to update it as time allows.
mount -t ext4 /dev/block/mmcblk0p2 /sd-ext
be shure /se-ext exists
drellisdee said:
At the time I made the recovery kernel sources were not out so I couldnt add ext3 & ext4 support to recovery. I'll try to update it as time allows.
Click to expand...
Click to collapse
i know that.. but in ext4 i couldnt take a nandroid +ext backup because the ext4 partition could not be mounted. in ext2 and ext3 i managed to do nandroid backup +ext and mount the ext partition only through adb..

[Q] Clockworkmod and sd-ext

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.

[Q] SD card change+Rom change from xpart to a2sd+ and taking over ext4?

Hey guys.
I've read some threads about moving ext4 from one SD to another, but this isn't exactly what I need.
I am currently on MIUI XJ 1.8.12 XPart rom and I want to change to 1.8.12 A2SD+ and a bigger SD card.
Changing the rom isn't the problem, but backing up my ext4 partition from the old SD is!
I used the newest ubuntu live CD(11.04 I believe) to partition the new SD card to FAT32/ext4. Everything is fine.
The SD gets recognized as it should. FAT32 and EXT4 partition mount and I can access them.
But with my old SD it doesn't work.
If I plug it in, FAT32 and EXT4 partition get recognized. FAT32 partition is named "195" and EXT4 is "userdata".
When I try to click the EXT4 it just dissappears. In the media tab it is listed, but I can't access it because I am not the owner of it/I am missing permissions/rights to access it.
I partitioned it with CWM recovery, but meanwhile I changed my recovery to RMD 1.03 (I don't think that this matters though...).
Now my questions:
1. How can I access my EXT4 partition to backup its content?
2. If I can't access it because I can't change permissions... do I really need to copy it or will it be enough to restore my apps that I backed up under xpart with MIUI Backup?
3. Is it a problem to restore a app backup done under xpart-script with a a2sd+ rom?
Thank you for reading!
you can backup your ext partition in recovery. i think you can also just open a file explorer and copy the folder /sd-ext (i havent tried this, so im not sure if this will work)
Ok, I haven't tried to backup it with recovery.
Will it then be possible to flash a new rom (a2sd+ instead of xpart) and restore only the ext partition?
I want a clean install with a2sd+ but I don't want to loose settings and savegames.
Just a small "up" for my thread.
I backed up my sd-ext partition and I could wipe right now.
Will there be any problems with restoring the ext partition on a new rom?
What will happen if I just wipe sd-ext and restore MIUI Backup?
Will sd-ext will just be "rebuilded" from the MIUI Backup?
Bananebieger said:
Will there be any problems with restoring the ext partition on a new rom?
Click to expand...
Click to collapse
there will only be problems if your rom does not support either your a2sd or your current ext filesystem (which is to say, does it support ext4 or does it only support ext2 or ext3?)
Bananebieger said:
What will happen if I just wipe sd-ext and restore MIUI Backup?
Will sd-ext will just be "rebuilded" from the MIUI Backup?
Click to expand...
Click to collapse
i believe so (please dont take my word for it as i have not done this before. however, im pretty sure it will be "rebuilt" as you have it included in your backup)
Thank you again.
Its the MIUI rom from XJ for Desire Classic with XPART script. Your ext Partition gets converted to ext4 if you install this rom.
Will there be problems with using sd-ext content from XPART after update to A2SD+?
Maybe I'll bother the dev from this rom

partition sdcard to ext4

I am having little problem here. I partitioned my sdcard with cwm with 1gb ext4 partition and 256mb of swap partition. it said done succesfully.but when i crosschecked in minitool partition wizard it showd partition as ext3. now when link2sd asks me which partition it is then what should i do. i want to use as ext4 bcz i read that it is the best among ext2 3 4 (tell me if its not). also pls tell is swap space useful for xperia neo?are there any imrovements of performance with this swap partition? kind of confused here..
deepakpunjabi said:
I am having little problem here. I partitioned my sdcard with cwm with 1gb ext4 partition and 256mb of swap partition. it said done succesfully.but when i crosschecked in minitool partition wizard it showd partition as ext3. now when link2sd asks me which partition it is then what should i do. i want to use as ext4 bcz i read that it is the best among ext2 3 4 (tell me if its not). also pls tell is swap space useful for xperia neo?are there any imrovements of performance with this swap partition? kind of confused here..
Click to expand...
Click to collapse
Just use mini tool partition wizard to create the partition.
Not sure which is the "best" to use.
I use ext 2 because thats all the x10 kernels was able to handle and i have never had any problems.
I have never used swap, but from what i have read its not a good idea...
default ext4 have journaling feature and it will shorten the life of the sdcard will die more quickly but datas become more safety
ext4 without journaling feature better than ext2
as you can check yourself
http://forum.xda-developers.com/showthread.php?t=851407
http://www.thegeekstuff.com/2011/05/ext2-ext3-ext4/
gregbradley said:
Just use mini tool partition wizard to create the partition.
Not sure which is the "best" to use.
I use ext 2 because thats all the x10 kernels was able to handle and i have never had any problems.
I have never used swap, but from what i have read its not a good idea...
Click to expand...
Click to collapse
so you suggest that i again partition with minitool..and dont leave space for swap partition? right?

Wipe ext4 partition

I want to wipe the ext4 partition (not delete, just wipe so there's nothing in it).
The reason being that i use link2sd on my phone, and for some reason there are some extra files on that partition from other apps that won't delete. So i want to do it manually. How would i go about this?

Categories

Resources