[Q] Revert EXT4 to EXT3 partition - Atrix 4G Q&A, Help & Troubleshooting

Hi, i have installed a custom rom with CWM, the installation script converted system, data and cache partition to EXT4, now i want to return to stock with CWM backup but when i try the procedure e receive an error after restoring system, i think it's because EXT4 partition aren't supported by stock, how can i convert EXT4 to EXT3?
Thanks.

gdemis said:
Hi, i have installed a custom rom with CWM, the installation script converted system, data and cache partition to EXT4, now i want to return to stock with CWM backup but when i try the procedure e receive an error after restoring system, i think it's because EXT4 partition aren't supported by stock, how can i convert EXT4 to EXT3?
Thanks.
Click to expand...
Click to collapse
Open the zip of the backup you're trying to restore with a file manager. Each partition should be in there and have either an EXT3 or EXT4 filename. The recovery will automatically format the partitions based on how the backup was saved. So if /System is saved with an EXT3 extension, the recovery will format it for you. If you are getting an error then it might be a bad backup.
Also, try using fastboot to wipe everything instead of CWM. I though romracer told me fastboot always formats to EXT3, but I couldn't find the specific post/message. Won't hurt to try

I take error while restoring \system with cwm, this is the log details:
solibPhotoEditor.solibmtpstack.solibGLESv1_CM.solibmot_btpan_jni.solibnvmm_service.soliba2dp.solibWifiAPHardware.solibvpnclient_jni.sotar: write error: No space left on device
solibreverbwrapper.solibbundlewrapper.solibvisualizer.soError while restoring /system!
result was NULL, message is: assert failed: restore_rom("/sdcard/clockworkmod/backup/Firmware_Tim_2.3.4", "boot", "system", "data", "cache", "sd-ext")

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] after restoring through CWM 5.0.2.0 failed to mount my sd-ext (link2sd)

I used link2sd to move apps to sd-ext
link2sd created a script to mount the sd-ext
then i made a backup in CWM, and something went wrong last night
I did a restore, but now when I first open the link2sd, the following message appear
Code:
Mount script error
Mount script cannot be created.
mount: mounting /dev/blocl/vold/179:2 on /data/sdext2 failed: Invalid argument
so now I cannot see all the apps I have moved to sd-ext
any advice?
thanks
make sure you have proper ext2, ext3 or ext4 file system support in your rom/kernel
calhotel said:
make sure you have proper ext2, ext3 or ext4 file system support in your rom/kernel
Click to expand...
Click to collapse
thanks for the reply.
sd-ext was working fine, when i did the backup (so rom/kernel sure can support this)
it is having issue now, because i did a full restore (i suppose nand backup in CWM would backup sd-ext as well)

CM12.1 Bootloop

So, i;ve repartitioned my phone, and tried to install cm11...all good...., ..but with cm12.1 it seems it have a problem.
I tried, reflash/full wipe/format system , data ( preload i cant format ..it gives me this error )
formatting /preload....
E:format_volume: make_extf4fs failed on /dev/block/mmcblk0p12
Error formatting /preload
When im installing cm12..at the end i get this error : warning: no file_contexts detected filesystem ext4 for /dev/block/mmcblk0p12 ..but at the end it says that the script was succesfully installed
I thinks ..i get bootloop because of the repartition...how do i fix this ? ..can someone help me ?
The error indicates, that /preload partition is not having a proper ext4 filesystem. This is strange, as imo CM doesn't need this partition.
Try to flash a different recovery like TWRP (Link in CM12.1 Thread) and format /preload in there.
Afterwards I would wipe /system and /data and then flash CM12.1.
disclaimer: formatting /data or sdcard0 will result in loosing all your data, so backup your data before doing so.
fireburner-de said:
Did you format /system /data and sdcard0 after re partitioning? Don't forget to flash a ROM or Kernel after formatting /system, because formatting deletes your recovery.
disclaimer: formatting /data and sdcard0 will result in loosing all your data, so backup your data before doing so.
Click to expand...
Click to collapse
well..i did ...sdcard0 trough windows i think... is it because of that?..i thinks its fat32
Sorry, pls read my edited post. That may be more helpful.
But I would not suggest formatting sdcard0 through windows. I would suggest formatting it inside the recovery with vfat (fat32).
But that shouldn't be the cause of this problem.
well, i did format it with twrp ..doesnt show me any error..but i still get a bootloop
Okay, so the first problem is solved.
I then would suggest wiping /system /data /cache out of TWRP and then flash CM12.1 again.
diclaimer: wiping /data will delete your App data
welll..i did...still doesnt work..bootloop/.
Booting up CM12.1 for the first time may take some minutes. Are you sure you got a bootloop`?
i waited 10 minutes...
Did you try again, wiping all above mentioned and reflashing CM12.1?
disclaimer: formatting /data or sdcard0 will result in loosing all your data, so backup your data before doing so.
ill try it right now
same thing
ultravy said:
Use this guide for repartition by @gsstudios , and format your partitions correctly (ext4 cache, data, sys & vfat/fat32 sdcard0 your internal storage) . worked for me 1 gb system, 3 gb data!
Click to expand...
Click to collapse
Did you try formatting again like ultravy suggested?
yes
i have used the modified preload pit files I9100_6GB data - 45mb preload.pit
still bootloop
detected filesystem ext4 for /dev/block/mmcblk0p9
detected filesystem ext4 for /dev/block/mmcblk0p10
Patginking system image unconditionally...
Script succeeded: result was [0.20000]
How big is your /system partition with that PIT?
Else I don't know what's wrong here.
8gb system
Are you sure? Because that would lead to like 2-3GB left on sdcard0, when /system is 8 and /data 6. Stck /system is 512MB and suggested when repitting is 1GB or 1.5GB.
its working now..please close this topic
Thank you !

[HELP]Moto E TWRP error in filesystem and Boot-loop.

Im using Moto E 1st generation, Bootloader unlocked with TWRP custom recovery. I was using custom rom Marshmallow by Temasek and I thought to change the rom. Recently, I upgraded TWRP to 3.0.2-0.
I have wiped system, dalvik, internal storage, cache and data everything went smoothly.
when i tried to install Rom zip i encounter and error that causing boot loop.
HTML:
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name system at /system: invalid argument
unmount of /system failed : no such volume
Patching system image unconditionally ...
flashing Supersu..
scripting succeed result was []
update partition details
...done
when i reboot, my phone goes in boot loop.
i tried with repair or change file system but still the error is same
my file system and format
/system ext4
/Data ext4
/cache ext4
Please Help to recover my mobile thank you...
flash the stock firmware, some times it fix this issues.
flash the stock firmware without flashing the recovery partition, and flash again twrp to avoid any issue, then flash temasek

TWRP on Swift 2x: Failed to mount '/data' (Invalid Argument)

Hi all.
I'm trying to make a last backup of the stock Android of my Swift 2x before flashing LineageOS. But TWRP (version 3.3.0-0) Seems unable to use the /data partition. I got various messages like:
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid Argument)
I tried to format the partition: Wipe -> advanced wipe -> repair or change filesystem -> change filesystem -> ext4 but it didn't change anything.
What's wrong? What can I do?
Thanks a lot for any hint.
bumping this thread as I also ran into this issue.
When using TWRP, the data and system partitions can't be mounted. they also show up as being 0mb in size.
Because of this, no backups can be made and a full system wipe also yields errors.
What I did was change the filesystem to ext2 and then change it back again to ext4.
Doing this at least allowed me to flash crdroid, but making backups still doesn't work.
Whenever i go into TWRP again, it's the same thing again: unable to mount and partitions show up as 0 mb in size.
Anyone know what's causing this?
Wileyfox encrypts there data when you factory reset your device or after youve rooted your device .To get around this you need to do a factory reset using stock recovery once thats done then turn off the device. Then using minimum adb and fastboot type (fastboot boot twrp.img) that will boot your already installed twrp now erase data internal storage etc you'll notice you can finally delete stock os youll see internal storage is showing mbs available again etc worked for me perfectly.

Categories

Resources