Ext4 to rfs - Verizon Droid Charge

Does anyone know how to change the file system formatting from Ext4 back to Rfs somewhat like the ext4 formatter? This would be helpful when flashing from ext4 nandroid backups to stock Rfs nandroid backups. So far this has been unsuccessful for me.
Sent from my SCH-I510 using XDA App

The voodoo control app will turn it off. Then you need to reboot to make the changes.

emtee_skull said:
The voodoo control app will turn it off. Then you need to reboot to make the changes.
Click to expand...
Click to collapse
That will only work if you are using a Voodoo kernel. I can find the needed commands to format everything to rfs for you then and create a CWM zip that will do it for you (or modify one if I can find it) so you can go back to RFS. However, CWM should format partitions before restoring.

I have always used the charge.pit file with repartition checked and ee4 to convert back to rfs via odin. I have also been told this charge.pit works with gb as well...

Try this. It's similar to the ext4 formatting package but should convert everything back to RFS for you. However, it is untested, so it may not work. I think I have it all setup properly, but I'm not completely sure.

Sweet bro., Thanks, I will try this; not sure why but when I try to go from Humble 5.2 or say your newest Infinity Rom back to the either leaked EP4D or the stock ota rooted EP4D, it gives me an error in CWM saying that the file system isn't RFS. All of the other ROMS are ext4. Something else that was interesting was I tried to format the OTA with the ext4 all formatter and it bricked my phone. Nothing worked except the charge pit and EE4 odin. I will give this a shot and tell you the results. thanks for the speedy answers. (BTW- I donwloaded some of the software to compare and contrast ROM's in Kdiff and it always gives me a Runtime error and force closes.I am trying this on xDark 4.3 tweaked so this might the issue, but any thoughts on this is appreciated.)
EDIT: I tried the rfs-all-formatter and it said it worked, but when I tried to restore the nandroid for EP4D stock rooted, it gives me this error:
format_rfs_device failed on /dev/block/st110
system won't mount either.
I then used the ext4 formatter and can restore Infinity or Humble no problem.

Related

[ext4] Glitch/Discovery

So it has come to my attention that when you restore a firmware via nandroid backup It does not restore the default ext4 partition that you convert. I found this out today when I had hoped my constant flashing would lead to XXKPN not booting unless I used CFRoot when flashing from Cranium [XXKPH]. Only to find out the firmware booted . Now this got me in surprise only because default partition is rfs and not supposed to be able to boot if set partition format was ext4. All default Samsung firmwares come with rfs partition.
Code:
Note: Next time you flash to a new firmware and back, you are required to flash the ext4 script then restore your nandroid backup for that respective firmware.
Misledz said:
So it has come to my attention that when you restore a firmware via nandroid backup It does not restore the default ext4 partition that you convert. I found this out today when I had hoped my constant flashing would lead to XXKPN not booting unless I used CFRoot when flashing from Cranium [XXKPH]. Only to find out the firmware booted . Now this got me in surprise only because default partition is rfs and not supposed to be able to boot if set partition format was ext4. All default Samsung firmwares come with rfs partition.
Code:
Note: Next time you flash to a new firmware and back, you are required to flash the ext4 script then restore your nandroid backup for that respective firmware.
Click to expand...
Click to collapse
I thought everyone knows this Because
1. before converting to ext4 you make backup. And if it will restore filesystem you will never get ext4 (it will always put rfs from backup)
2. when you make backup you can see that it backups files, not partition.
Mods please Sticky this thread and lock it by Misledz's permission before the thread is noob killed
Tapashocked via my gt-I9003 with a random keyboard of my choice !
I think mod should murge this info in already available sticky thread. Making lot of thread sticky will not be a good idea.
vishal24387 said:
I think mod should murge this info in already available sticky thread. Making lot of thread sticky will not be a good idea.
Click to expand...
Click to collapse
I have to agree, although this is helpful information, having too many stickied threads could become a problem.
falex007 said:
I thought everyone knows this Because
1. before converting to ext4 you make backup. And if it will restore filesystem you will never get ext4 (it will always put rfs from backup)
2. when you make backup you can see that it backups files, not partition.
Click to expand...
Click to collapse
I too already know this by reading skin's original post on ext4.
Instructions were to make nandroid backup -> convert to ext4 -> restore backup -> reboot.
After that u will have ext4 partitions.
So after you anything restore from backup, u will still have ext4.
Yeah but this came as a surprise, I didn't expect that the file system gets overwritten. Some cases flashing to another firmware kicks you into a bootloop due to ext4 previously there, but there are times when the firmware boots which got me in wtf is happening kind of scenario.
When I used cranium or any custom ROM usually does Ext4 by default, but upon flashing XXKPN on top of it, it worked? Which isn't supposed to, So what I'm confused is, What is responsible for the rfs file format, the pit? or the firmware? , and does clearing cache partition reset to rfs?
Because flashing XXKPH->XXKPN->XXKPH without use of pit works and this is without CFRoot
Yes for what this pit file for ? Means for what partition.is it convert file system to rfs ?

[Q] Can't Factory data reset my phone. Help??

Hey everyone so idk what happened i was trying to run the kc1 kernal so i can have CWM and i can't reboot or factory data reset my phone.
This is what it says when i try to factory data reset my phone on Manual Mode:
--Wiping data...
Formating /data...
E:format_volume: rfs format failed on /dev/block/stl10
Formating /cache...
Data wipe complete.
Than when i try and reboot my phone it says:
E:failed to mount /data (invaled argument)
E:copy_logs_files_to_data :: can't mount /datareboot...
Than it just goes through a boot loop
Is this because i axcidently partition my micro sdcard and lost everything on my micro sdcard??
Is there anything that can help me? Links and other stuff would be very appreciated. Please help asap!!
NicksDevouredByTheSkyline said:
Hey everyone so idk what happened i was trying to run the kc1 kernal so i can have CWM and i can't reboot or factory data reset my phone.
This is what it says when i try to factory data reset my phone on Manual Mode:
--Wiping data...
Formating /data...
E:format_volume: rfs format failed on /dev/block/stl10
Formating /cache...
Data wipe complete.
Than when i try and reboot my phone it says:
E:failed to mount /data (invaled argument)
E:copy_logs_files_to_data :: can't mount /datareboot...
Than it just goes through a boot loop
Is this because i axcidently partition my micro sdcard and lost everything on my micro sdcard??
Is there anything that can help me? Links and other stuff would be very appreciated. Please help asap!!
Click to expand...
Click to collapse
Did you have a voodoo enabled kernel on there before? If so, you'll need to flash a ROM, then flash a voodoo enabled kernel for that rom, then go into recovery & disable voodoo. Sounds like you have a bunch of ext4 filesystems which the native ROM/OS can't handle.
stephen_w said:
Did you have a voodoo enabled kernel on there before? If so, you'll need to flash a ROM, then flash a voodoo enabled kernel for that rom, then go into recovery & disable voodoo. Sounds like you have a bunch of ext4 filesystems which the native ROM/OS can't handle.
Click to expand...
Click to collapse
any links??
NicksDevouredByTheSkyline said:
any links??
Click to expand...
Click to collapse
Surely. Flash Raver's KJ6 ROM here:
http://forum.xda-developers.com/showthread.php?t=1353176
Then flash drhonk's KJ1 kernel (put it in the PDA section of ODIN):
http://forum.xda-developers.com/showthread.php?t=1194032
That will put you on the latest Gingerbread ROM with a kernel that has CWM, voodoo, and root.
If you want to flash back to KC1 after that, reboot the phone into recovery mode and (using the vol + & vol - to navigate up and down, power button to select):
- Scroll down & select the 'voodoo' menu
- Select 'disable lagfix'
- Select '/system lagfix off'
- Select '+++++ Go Back+++++'
- Select 'reboot system now'
Let the phone fully boot. It might take a few minutes while Linda converts the file systems from ext4 back to rfs. Once it's fully booted, you should be able to flash KC1. Just ensure the KC1 you have contains Froyo boot loaders else you'll end up in a boot loop or with the rainbow screen.
stephen_w said:
Surely. Flash Raver's KJ6 ROM here:
http://forum.xda-developers.com/showthread.php?t=1353176
Then flash drhonk's KJ1 kernel (put it in the PDA section of ODIN):
http://forum.xda-developers.com/showthread.php?t=1194032
That will put you on the latest Gingerbread ROM with a kernel that has CWM, voodoo, and root.
If you want to flash back to KC1 after that, reboot the phone into recovery mode and (using the vol + & vol - to navigate up and down, power button to select):
- Scroll down & select the 'voodoo' menu
- Select 'disable lagfix'
- Select '/system lagfix off'
- Select '+++++ Go Back+++++'
- Select 'reboot system now'
Let the phone fully boot. It might take a few minutes while Linda converts the file systems from ext4 back to rfs. Once it's fully booted, you should be able to flash KC1. Just ensure the KC1 you have contains Froyo boot loaders else you'll end up in a boot loop or with the rainbow screen.
Click to expand...
Click to collapse
the thing is ive already flashed the rom and the kc1 ill do it again and ill tell you what happens
NicksDevouredByTheSkyline said:
the thing is ive already flashed the rom and the kc1 ill do it again and ill tell you what happens
Click to expand...
Click to collapse
If you can get into download mode the instructions I gave you should work OK. Definitely let me know how it goes, though.
stephen_w said:
If you can get into download mode the instructions I gave you should work OK. Definitely let me know how it goes, though.
Click to expand...
Click to collapse
The rom and this is what it says now:
--Deleting files...
E:failed to mount /data (invalid argument)
E:delete_data_files:Can't mount /data your storage not prepared yet. please use UI menu for format and reboot options
--Updating filesystem...
E:failed to mount /data (invalid argument)
E:discard_filesystem_for_rfs:Can't mount /data
--Wiping cache...
Formating /cache...
Cache wipe failed.
--Appling Multi-CSC...
Installing Multi-CSC
Can't access to '/system/csc/TMB/system/'.
Successfully applied multi-CSC.
No, /data doesn't reside on the sdcard (that's mounted as /sdcard, different mounts). Check the Dev section for Chadster's KG4 leak. It has 4 files in it, one of which is the .pit file. I wonder if flashing that would help? Just put the .pit file in PIT, the CSC file in CSC, the Phone file in PHONE, and the other file in PDA.
Sent from my SGH-T959V using XDA App
stephen_w said:
No, /data doesn't reside on the sdcard (that's mounted as /sdcard, different mounts). Check the Dev section for Chadster's KG4 leak. It has 4 files in it, one of which is the .pit file. I wonder if flashing that would help? Just put the .pit file in PIT, the CSC file in CSC, the Phone file in PHONE, and the other file in PDA.
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
can i have a link to chadster's kg4 leak i can not for the life of me find it
NicksDevouredByTheSkyline said:
can i have a link to chadster's kg4 leak i can not for the life of me find it
Click to expand...
Click to collapse
Yeah, it's in the Bible in the Dev section. The Bible is your friend Here's the direct link:
http://forum.xda-developers.com/showthread.php?t=1183413
Good luck!
stephen_w said:
Yeah, it's in the Bible in the Dev section. The Bible is your friend Here's the direct link:
http://forum.xda-developers.com/showthread.php?t=1183413
Good luck!
Click to expand...
Click to collapse
dude you ROCK!!! Thank you soooo much! my phone is fixed now!! thank you!!
Awesome bro, glad it's working. You should be able to flash drhonk's kg4 kernel with cwm/root/voodoo, upgrade to KJ6, or whatever you want to do now.
Sent from my SGH-T959V using XDA App

[Q]My 9003 is broken

My 9003 can't work from last week.
I just got the "com.sec.android.app.twlaucher" broken(force close) and all other applications are also broken even I flashed with any new ROM.
The whole broken story is here:
1. I installed XXKPQ with CWM, and created a backup with CWM
2. Then flashed it with DDKP2 by Odin
3. I got a application broken, and tried to backup DDKP2 with CWM and stopped by incident
4. I tried to restore OS with the backup in step 1
5. I got many Force Close after I restored the OS
6. I tried to flash with any ROM, but always got Force close for any application(even the com.sec.android.phone)
Can anyone give advice for it?
Or I have to change a new memory chip?
Thanks!
realcode said:
My 9003 can't work from last week.
I just got the "com.sec.android.app.twlaucher" broken(force close) and all other applications are also broken even I flashed with any new ROM.
The whole broken story is here:
1. I installed XXKPQ with CWM, and created a backup with CWM
2. Then flashed it with DDKP2 by Odin
3. I got a application broken, and tried to backup DDKP2 with CWM and stopped by incident
4. I tried to restore OS with the backup in step 1
5. I got many Force Close after I restored the OS
6. I tried to flash with any ROM, but always got Force close for any application(even the com.sec.android.phone)
Can anyone give advice for it?
Or I have to change a new memory chip?
Thanks!
Click to expand...
Click to collapse
Dont restore the backup of one firmware over another firmware.
Flash xxkpe twice aand over it flash xxkpq with factory reset after flashing each time. Use this guideforum.xda-developers.com/showthread.php?t=1133787
Sent from my GT-I9003
I tried to format the data, but it didn't work. I can see the previous installed application broken even I flashed with new ROM(Re-partion).
It seems something was locked by system.
Follow this guide to flash XXKPQ Check if everything works well. Try to restore your CWM backup
I tried to flash XXKPE/XXKPQ, but I got a wrong message "E: failed to mount /data (Invalid argument)" when the phone startup".
And the phone repeated to restart, I can't the normal phone.
It seems there is something wrong with the partion of /data.
Is there other way to fix it?
the /data is ext4, I am not sure XXKPQ support ext4 or not.
When flashing XXKPE with pit and all the other stuff you should see Re-Partition checked. Then everything should be formatted with the standard RFS filesystem unless you convert it. The stock Kernel doesn't support ext4, but that doesn't mean that you can't try to flash a Kernel that supports ext4.
Did you let the phone boot up completly after every flash?
I didn't let XXKPE boot up completely after flash.
It seems that the /data partion was not reset in flashing with the "Re-partion" selected.
I got error message when I tried to check the disk status.
/sbin # fsck.ext4 /dev/block/mmcblk0p3
fsck.ext4 /dev/block/mmcblk0p3
e2fsck 1.41.6 (30-May-2009)
/dev/block/mmcblk0p3: recovering journal
fsck.ext4: unable to set superblock flags on /dev/block/mmcblk0p3

[Q] Ext4 partition

I have a question about ext4 convert here.. Let's say I've flashed to a custom rom that converts my phone's partitions to ext4, once I flash a stock firmware on top of it, do the partitions stay in ext4 or back to rfs?
No it converted to rfs
Sent from my GT-I9003 using XDA App
Ok... What about I wipe date from cwm? Does that revert the partitions back to rfs as well?
I don't think by wiping your data cache u can revert back to rfs. you have to reflash for rfs.
e398rokr said:
I have a question about ext4 convert here.. Let's say I've flashed to a custom rom that converts my phone's partitions to ext4, once I flash a stock firmware on top of it, do the partitions stay in ext4 or back to rfs?
Click to expand...
Click to collapse
Wiping doesnot changes the partition format. When you flash a new firmware the partitions will be converted to rfs.
send from gt-i9003 using android keyboard
I have a big Q!
Once i flashed KPH and i tried to convert to ext4 via CWM, but i had a problem, after doing a backup i flashed the ext4 zip, when i tried to restore the nandroid i stuck on bootloop!
Any idea of what could have caused this?
Lucasred said:
I have a big Q!
Once i flashed KPH and i tried to convert to ext4 via CWM, but i had a problem, after doing a backup i flashed the ext4 zip, when i tried to restore the nandroid i stuck on bootloop!
Any idea of what could have caused this?
Click to expand...
Click to collapse
I think it is not compatible with xxkph. Try wiping cache and dalvik cach
send from gt-i9003 using android keyboard
sirilpta said:
I think it is not compatible with xxkph. Try wiping cache and dalvik cach
send from gt-i9003 using android keyboard
Click to expand...
Click to collapse
Could be the reason, but many guys at another forum did it and it worked perfect for them, i think the error could be in the flash of kph, so the whole process went bad
Lucasred, i had the same problem twice. But i had tried it with XXKPQ.
can i converted file system too ext4 on KPU
google translate
user_i9003 said:
can i converted file system too ext4 on KPU
google translate
Click to expand...
Click to collapse
Yes, I'm using it.
For the others: the restore of the nandroid backup after the conversion failed whenever I tried to convert the phone before deodexing it. Try to deodex first, and then convert.
What I found weird was that the error was "not enough space", but when I tried to restore the backup on rfs it worked, doing the same after the ext4 conversion gave the error. I don't know how you could convert the partitions in ext4 with an odexed rom, I didn't look for any solution, maybe if you don't want to deodex your rom you could try to remove some system apps or something like that before the nandroid backup, in order to get more space.

[Q] Can't convert to Ext4

Hello all. As per the title, I find that my i9003 cannot be converted to Ext4.
I am on DDLF2, and I used the Ext4 converter script once, then it soft-bricked my device. After flashing DDLF2 again and restoring from my backup, I tried it again - this time using the CF-Root's bundled Ext4 Manager, and its automated RFS to Ext4 conversion. I did it, but I opened it again and the internal flash is still RFS.
Can anyone help?
Requiem- said:
Hello all. As per the title, I find that my i9003 cannot be converted to Ext4.
I am on DDLF2, and I used the Ext4 converter script once, then it soft-bricked my device. After flashing DDLF2 again and restoring from my backup, I tried it again - this time using the CF-Root's bundled Ext4 Manager, and its automated RFS to Ext4 conversion. I did it, but I opened it again and the internal flash is still RFS.
Can anyone help?
Click to expand...
Click to collapse
If you're on FULL DDLF2 Custom Rom there is na application that will do this job for you.
Its simple. Just select the option you need, restart and you're good to go.

Categories

Resources