[Q] rooting to cwm 3 and ext4 but... - Epic 4G Q&A, Help & Troubleshooting

i rooted, then tried to do the root for ext4 and my device just stays on the samsung screen. so i went back to dk28 unrooted stock. rooted again using one click, tried to root to ext4 and it did the same thing, so i went back to dk 28. rooted and tried loading bonsai4allleaflessv2.0.1, and it says the install is aborted... any one have an idea as to what i can try to do?

I don't think you understand what you are doing.
Rooting gives you permission to make changes to protected areas. There is no way to "root to ext4."
Cwm3 will convert the file system to ext4 if the rom specifies it. There is another way to convert to ext4 using a combo of cwm 2.5.1.0 and 2.5.1.2, but it is more complicated.
Bonsai 2.0 has issues installing over stock dk28, but shouldn't get stuck at the Samsung screen.
Getting stuck at the Samsung screen can be caused by a number of issues, one of which is using a rom that is not compatible with your file system.

thanks, yeah i was trying to install an old rfs version of a rom that i had, it was named incorrectly and i found the proper ext4 version of bonsai and it booted properly

Related

[Q] Stuck and need help.

So I tried installing the new Bonsai4all 1.1.13 and may have permanetly messed up my phone but you never know. After installing I tried rebooting and it just sits at the samsung screen when it firsts boots up. I never installed the ext4 mod because I thought that the new bonsai had support for both ext4 and rfs support built in. I tried flashing another rom but no matter what i keep getting a write error at some point. So I figured I would try and odin back to stock but my computer will not recognize my phone. I am running windows 7 64bit and have installed the samsung drivers. I have even tried uninstalling and then reinstalling but with no luck. Any help would be appreciated and I refuse to believe I fully bricked my phone since I can get into recovery and download mode. Thank you for your help.
First, your phone is not bricked if you can get into d/l mode. Second, to run mammon's newest version of his ROM you must be using clockwork v3.x, which by default formats your file system to EXT4. Third, keep trying with Odin. Try different usb ports, cables, computers, etc. You could try a different version of Odin. Bottom line, it WILL work eventually.
I've used ODIN a couple times to return to stock. Last time I used my 64-bit Windows 7 desktop and had problems. I switched to a laptop running the 32-bit version and it worked perfectly on the first try. Any chance you can try a different PC?
leatherneck6017 said:
First, your phone is not bricked if you can get into d/l mode. Second, to run mammon's newest version of his ROM you must be using clockwork v3.x, which by default formats your file system to EXT4. Third, keep trying with Odin. Try different usb ports, cables, computers, etc. You could try a different version of Odin. Bottom line, it WILL work eventually.
Click to expand...
Click to collapse
I flashed 1.1.3 without error on 2.5.1.2 ... I was however already on ext4
kenvan19 said:
I flashed 1.1.3 without error on 2.5.1.2 ... I was however already on ext4
Click to expand...
Click to collapse
Did he include both script languages or something? I was under the impression that he was using the Edify script now.
As far as I am able to tell, the older version of CWM supports both types of scripts (as the EXT4-Formatter.zip used to convert to EXT4 uses an edify script, not the other kind (append?)). There are a few other zips floating around that are already using the edify scripts that work just fine on 2.5.1.0 and .2.
From what I have been able to get from various posts is that CWM 3.0.0.5 will support both rfs and ext4 (may be mistaken, not sure), and makes it easier to convert from one to the other (no preconverting necessary), but will only recognize the newer edify scripts.
problem solved
I ended up using my desktop and installing the Samsung drivers that I found over on sdx and was able to odin back to stock dk28. I just don't understand why my laptop won't recognize the phone when I connect it and just says it can't install the drivers. Wonder what could be causing the problem since I have used odin on it before. Oh well at least my phone works and I ended up just installing the ext4 mod and running bonsai and all is going well.
leatherneck6017 said:
First, your phone is not bricked if you can get into d/l mode. Second, to run mammon's newest version of his ROM you must be using clockwork v3.x, which by default formats your file system to EXT4. Third, keep trying with Odin. Try different usb ports, cables, computers, etc. You could try a different version of Odin. Bottom line, it WILL work eventually.
Click to expand...
Click to collapse
Yeah I figured it wasn't bricked I just don't understand why the drivers were not working on my laptop anymore since I had used it to odin to dk28 when it first came out. I thought the newest bonsai had a dual kernel so you could flash it whether you were on rfs still or if you had installed ext4.

[Q] CWM3 Leaves phone stuck on samsung screen :(

so after doin maaad steps i finally got nebula rom. and it was all good until i turned it off and thurned it back on only to experience infinite fc's so i decided to go back to SPH-D700-DK28-8Gb-REL and jus one click root cwm3 it. well it didnt work. it flashed fine. but when i turned off and on to have cwm3 actually install, itd work fine but after the reboot recovery it wud get stuck on the samsung screen i even tried cwm2.5 >>> cwm3 but no dice.
plz help
You must not have installed the EXT4 kernel , odin to stock then retry but remember to flash the kernel
mogulpcs said:
so after doin maaad steps i finally got nebula rom. and it was all good until i turned it off and thurned it back on only to experience infinite fc's so i decided to go back to SPH-D700-DK28-8Gb-REL and jus one click root cwm3 it. well it didnt work. it flashed fine. but when i turned off and on to have cwm3 actually install, itd work fine but after the reboot recovery it wud get stuck on the samsung screen i even tried cwm2.5 >>> cwm3 but no dice.
plz help
Click to expand...
Click to collapse
Follow my Idiot's guide to rooted DK28 with working gps in the epic Q&A section
063_XOBX said:
You must not have installed the EXT4 kernel , odin to stock then retry but remember to flash the kernel
Click to expand...
Click to collapse
Thanks I forgot to add the choice of file system to my idiot's guide. Now fixed.
where is the ext4 kernal at?
mogulpcs said:
where is the ext4 kernal at?
Click to expand...
Click to collapse
You have the option when you download the rom unless it is dual (will say something like DUAL RFS-EXT4 or RFS or EXT4 usually as part of file name)
Also if using EXT4 boot to CWM3 so it changes the file system.

upgrade from clockwork 2.5 to clockwork 3.0

I have clockwork 2.5, rfs, supernova, genocide kernal.
Can i just run 1click 3.0 to upgrade clockwork, and get ext4. Or do I have to return to stock first?
You can just run the one click.
Once installed, it will back up your phone, convert and restore your phone.
Make sure you have an EXT4 kernel on your SD card, or a dual filesystem (RFS & EXT4) kernal installed, or your phone will not boot once you install CWM 3.0.0.6 and convert to EXT4
AFAIK, the Genocide Kernel 0.3a does support RFS & EXT4
DCRocks said:
Make sure you have an EXT4 kernel on your SD card, or a dual filesystem (RFS & EXT4) kernal installed, or your phone will not boot once you install CWM 3.0.0.6 and convert to EXT4
AFAIK, the Genocide Kernel 0.3a does support RFS & EXT4
Click to expand...
Click to collapse
I think kernel would be ok too, but it shouldn't matter. Since I'm planning on installing frozen immediatly. I think I know everything I need to do. But could someone check my steps and make sure I don't forget something
first do 1click root 3.0. after converting to ext4(without reboot), wipe,wipe,wipe, flash frozen.
Seems to easy, I'm afraid I'm missing something.
That's pretty much all you do. ) Same steps I took.
I will flash it tomorrow, when I have all weekend to fix any screwups. Hopefully frozen 1.0.1 will come out tonight. But either way Its getting installed.
I have a need for speed!

[Q] Noob rom problem

I apologize if this has been covered. I've spent my entire lunch hour using the search feature to no avail.
I followed the instructions on installing the;
[ROM][ACS] SyndicateROM Frozen 1.0.1 (Madhouse) :: EXT4 - No CIQ/speed/battery :: 3/8
Now my power button does not work (so no turning the screen back on) and when I am in the UI, if I use any of the buttons on the bottom of the phone, I get 1 short vibe, pause, three short vibes, then a reboot.
I've wiped everything that can be wiped 3-6 times and done a restore, but I still have this problem after loading this rom. Any suggestions would be appreciated.
Try redownloading the Rom
If that doesn't work use ODIN and flash EB13
then root and flash ACS again....
What he said. Sometimes no matter how many times you wipe, you can still get a bad flash. 3 finger to CWM, wipe x3, and flash rom again.
Good luck!
Update:
I've used Odin to go back to EB13 successfully. However, I cannot get the one click root to work now. I suspect that my file system was changed to EXT4 (I actually know that part) but that going back to EB13 didn't restore the file system and the one click root is intended for the original file system only.
Does this sound plausible? If so, how can I get my file system back to factory so I can root my phone? Or is there an ext4 root method out there for phones already on ext4?
The Inner Geek said:
Update:
I've used Odin to go back to EB13 successfully. However, I cannot get the one click root to work now. I suspect that my file system was changed to EXT4 (I actually know that part) but that going back to EB13 didn't restore the file system and the one click root is intended for the original file system only.
Does this sound plausible? If so, how can I get my file system back to factory so I can root my phone? Or is there an ext4 root method out there for phones already on ext4?
Click to expand...
Click to collapse
Use the EB13 deodexed with CWM3 (EXT4) built in found in this thread:
http://forum.xda-developers.com/showthread.php?t=853209
This has been resolved.
I don't know why, but I tried running the one click root on another computer and it worked with no problem. I subsequently got the Frozen Rom to go on and I'm enjoying it today.
Thank you to the folks who replied. It is definitely appreciated!

Backup and Restore of Stock Gio S5660M Rom After Installing EXT4 Based Custom ROMs

I have been researching the forums for a few weeks now but I have not stumbled across enough threads that would assist me to fully understanding the proper process for restoring via CWM back to a stock ROM (without going back to ODIN to flash it).
Of course this all relates to my Samsung Gio GT-S5660M from Bell in Canada (Pay as you Go). I really only purchased the phone to play with it to learn more. My wife has had the same phone for over a year. Her phone was rooted in order to be none carrier specific so she could use it to replace a phone under contract that was stolen. Other than that, it is stock.
I tried not to post and continue reading but now I am at the point where I need to ask a some specific questions.
First, some background as to what I am trying to do and what I have done so far.
The goal, as I am sure is the case with others, is to test custom ROMs but also be able to restore back to a factory default Samsung based ROM CWM backup at any point in the most convenient fashion.
I would like to perform this process with known working tools on this forum.
To start, I am familiar with the installation of the CWM from phiexz's work http://forum.xda-developers.com/showthread.php?t=1421650. I have installed 5.0.2.7 via Flash from Recovery signed_cwm-5.0.2.7-flashablezip-ext4+rfs. After the installation of CWM I performed a backup of the stock rom.
Once that was complete, I began playing with some custom ROMs installing them via CWM off the SD card from zip files.
I learned after installing the custom ROMs that my phone was reformatted to EXT4 file system. This obviously makes it difficult to simply restore back to the stock ROMs original RFS file system easily. I received the obvious errors message (E:format_volume: format_rfs_device failed on /dev/block/stl12 Error while formatting /system!) when trying to restore the original ROM files via nandroid restore within CWM.
I have reviewed the nandroid backups stored on the SD card in the \clockworkmod\backup\appropriate dated file and I can see that the file names include RFS before the .tar extension for the system, data and cache files. From everything I have read this is normal since stock Samsung ROMs (at least FROYO and Gingerbread based ones) are based on the RFS file system as opposed to most custom ROMs which are based on EXT4. I made backups of some of the ROMs I was playing with from within CWM nandroid backup. I did notice those files had ext4 before the .tar extension in the file names. So I believe I am clear in understanding that portion.
I read that the only way to really get back to the RFS file version is to use ODIN to flash back the stock firmware all in one package retrieved from www.sammobile.com for the GT-S5660M for Bell in Canada. That again worked perfectly fine. I again went back into restore mode and re-installed signed_cwm-5.0.2.7-flashablezip-ext4+rfs. Once CWM was installed I tried to restore the original stock ROM backup I had saved originally and it gave me the same error (E:format_volume: format_rfs_device failed on /dev/block/stl12 Error while formatting /system!) even though I know the phone is now back at RFS file system again. Even when I try to perform a backup from CWM of the ODIN installed stock rom it complains stating (Backing up system.... Can't mount /system!.
I of course can reinstall Custom ROMs and restore them just fine after one initial installation and the file system being formatted back to EXT4.
So here are the questions.
1. What is the proper way to restore a stock ROM backup?
2. Is it possible to convert the RFS backup or existing system to EXT4 and have it still operate?
From what I can tell there is custom kernels that support EXT4 that can be injected via ODIN or CWM. Such as CF-ROOT however it is completely confusing to me on how to do that. I tried the ODIN method and that complained. I am not sure what version of CF-ROOT to use. Really I would like to stay with the EXT4 file system and convert the Stock backup to run with a custom ROM if need be. The goal is really just to be able to do it all within CWM and not require a computer other than for transferring files to the SD card as required.
I do not mind using ODIN but I would like to be able to restore with all the settings and changes I made in the stock OS to carry forward so I do not have to do that again.
3. Is there an easier or more reliable method to carry these steps out? Overall I would choose a method that consistently works over convenience.
Any assistance that could be provided would be appreciated.
Thank you in advance for your time in reading and/or hopefully replying to this thread.
Backup with cwm 5.0.2.6 and then when you have ext4 flash stock via odin. Root with stock cwm and then flash cwm 5.0.2.6 and restore.
Sent from my GT-S5660 using Tapatalk
AvrX said:
Backup with cwm 5.0.2.6 and then when you have ext4 flash stock via odin. Root with stock cwm and then flash cwm 5.0.2.6 and restore.
Sent from my GT-S5660 using Tapatalk
Click to expand...
Click to collapse
Thank you for the reply AvrX.
Is there any particular reason you are suggesting that I use an older version of cwm (5.0.2.6) over 5.0.2.7? Is it due to your experience with stability between the two versions or support of RFS over EXT4?
Also your procedure is a bit vague to me.
Why would backing up another version of the stock ROM again assist me? Converting the stock ROM to EXT4 and then reflashing stock ROM again with Odin does not really make sense. Does the phone have to be rooted again? I thought once rooted you did not have to root it again.
I believe I am even more confused now.
I am confident these are all noob questions that can be answered by someone out there with S5660 experience. Then maybe this thread can be locked for future reference for everyone.
http://forum.xda-developers.com/showthread.php?t=1449320
The thread above is not in the S5660 area but it seems like a step in the right direction. I just can not figure out what version of CF-Root to install via CWM from the following thread http://forum.xda-developers.com/showthread.php?t=788108 for the GT-S5560M. I realize the thread is for a different model phone though.
There is the thread for the GT-S5660 http://forum.xda-developers.com/showthread.php?t=1564629 but I do not see where you download the file for CF-ROOT 3.7. I have signed up for Gio Community forum but my account is not approved yet.
Hence I am still at a loss as to what to do next.
So as you can see I have done research which leads me to believe it is possible but I have no proof it can be done or I just do not fully understand and/or have access/knowledge of the tools to achieve it.
(I have the Canada Model of Galaxy Gio)
1. First use EXT4-only version of CWM
2. You could do a nandroid backup of your EXT4 ROM, the rename then files from .[highlight]EXT4[/highlight].IMG to .[highlight]RFS[/highlight].IMG
3. If you do this, make sure you also edit the [highlight]md5sum[/highlight]
4. Now use RFS+EXT4 version of CWM
5. Replace boot.img in the folder where you saved the backup, with a RFS kernel only! (Stock Kernel) To avoid bricking...
6. Then restore using CWM or nandroid
NOTE:​Do with your own risk. I plan to do it myself soon, but be careful...​
I've re-read your post a few times and I'm not 100% certain that I get what you're trying to do... Going back to a completely stock, out-of-the-box phone from CWM?
Different builds of CWM are available for the Gio. Some support RFS, others ext4. I'd rather avoid those with dual support as they're not very clear regarding what format they're using for which operation.
Let's clarify the types of ROMs out there, you've got:
-Stock, Samsung releases, RFS, Odin-flashable. Leaked images (such as those from samfirmware et al.) contain the CSC image, "put-together" ones (like my early 5660M stock backup) don't as the files are already integrated.
-Stock-based. Community-made ROMs with varying levels of modification; earlier ones were typically Odin-flashable (with a number of issues due to modem and kernel changes, especially for 5660M and V users), later releases usually CWM-flashable. File system support depends on the kernel used. The Samsung kernel only runs RFS, whereas others such as Phiexz's will run either ext4 or RFS.
-AOSP and derivatives. Community-made, CWM-flashable, ext4 ROMs, such as CM7, 9 and 10, or MIUI.
Recoveries:
-CWM, as previously discussed
-Stock: the Samsung recovery you've overwritten pretty early on if you're a typical XDA poster. It does provide for proper CSC installation when flashing a stock ROM through Odin. Can also do a factory reset and reformat /data and /cache RFS partitions.
In most situations you would want to go back to a stock ROM and kernel, but keep the CWM recovery, that's relatively easy to do with an RFS-compatible CWM and a nandroid backup. Even a non-RFS compatible CWM could be made to work with appropriate images and the (ADB shell) dd command.
But back to the question: going back to a completely stock, out-of-the-box phone from CWM, stock recovery, CSC and all?
I've thought about it for a few minutes, and it might just be possible to do. Neat? Kinda. Worth the trouble? Meh.
It would involve dd-ing RFS-format /system, /data and /cache partitions, boot.img and recovery.img, into place.
The part I'm not sure about is how to go about extracting CSC.rfs in the proper location and issuing a reboot recovery command at the end of the script, which should kick stock recovery into gear and apply CSC.
Maybe one manual reboot to finish the process.
Let us know if that helped,
Darkshado
Thank you for the replies Peteragent5 and Darkshado. Again I really do appreciate your time and your support of those out there interested in learning more about android based devices.
Going back to a completely stock, out-of-the-box phone from CWM?
Click to expand...
Click to collapse
Good question Darkshado....let me try to clarify things again. I apologize as I tend to ramble. I would rather give more information than not enough.
Yes that is the goal. Or at least I would like the ability to do that. I understand it is not entirely accurate though as with the installation of CWM it is not really stock.
Let's clarify the types of ROMs out there, you've got:
-Stock, Samsung releases, RFS, Odin-flashable. Leaked images (such as those from samfirmware et al.) contain the CSC image, "put-together" ones (like my early 5660M stock backup) don't as the files are already integrated.
-Stock-based. Community-made ROMs with varying levels of modification; earlier ones were typically Odin-flashable (with a number of issues due to modem and kernel changes, especially for 5660M and V users), later releases usually CWM-flashable. File system support depends on the kernel used. The Samsung kernel only runs RFS, whereas others such as Phiexz's will run either ext4 or RFS.
-AOSP and derivatives. Community-made, CWM-flashable, ext4 ROMs, such as CM7, 9 and 10, or MIUI.
Click to expand...
Click to collapse
Well of course I started with the Out-of-Box Stock Samsung/Bell Canada ROM on the phone based on Gingerbread 2.3.4. I rooted it of course. Then I installed CWM that supported both RFS and EXT4. I believe 5.2.0.7 by Phiexz as mentioned in my first post. To be honest, since I am a noob and I wanted to get started so quickly, I cannot honestly remember which version of CWM I used originally. It may have even been px-CWM-v2.zip. Regardless of the version it obviously supported Stock Samsung/Bell Canada RFS based file system and I used that to make the Nandroid based backup within CWM of the existing Stock ROM on the phone.
After that point I thought I would be safe to start playing with Community-made ROMs CWM-flashable installs based on the GT-S5660 although of course I had the GT-S5660M Canadian version. So I went forward and tried [ROM] Enhanced236 - stock 2.3.6 (06.08.2012 update) http://forum.xda-developers.com/showthread.php?t=1654317 as I wanted something close to original version of Gingerbread that came Out-of-Box with the phone but was upgraded to fix and issue I had with version 2.3.4 of Gingerbread.
The main drive for doing this was to assist my wife with an issue she has on her Bell GT-S5660M running on the SaskTel telco in SK. There is an issue with her SMS/texting. She always has to turn on/off Settings, Wireless and Network, Mobile Networks, Use Packet Data to get texting to send out. Receiving is fine. It seems to be a known issue when the phone is used with Telus or SaskTel networks in Canada. From what I understand the phone with 2.3.4 of Gingerbread is not affected on the Bell and Rogers network in Canada. It seems to be related to a bug in the phone at the particular Gingerbread version 2.3.4 from what I read. Since Kies did not have an update for the Bell based phone beyond version 2.3.4 I thought it is time to check out custom ROMs. After trying her SIM card with the Enhanced236 - stock 2.3.6 everything worked perfectly on my test phone for texting. So I took a Nandroid backup via CWM of that ROM. Then I tried [DEV] CyanogenMod 9.1 / CyanogenMod 10 by MacławStudios http://forum.xda-developers.com/showthread.php?t=1414173 to see what the Jelly Bean hype was about and again made a CWM backup of the ROM to maintain my settings.
I had a friend over and I was showing him what I had learned so far and I was showing all the capabilities of CWM. Then I told him I could even restore back to original factory ROM as well although I had not tried it yet thinking CWM was full proof. I tried it and it failed in front of him. So then I thought...wow...I do not understand as much as I think. That is when I stumbled on the difference between RFS in Stock Samsung ROMs and EXT4 in the Community-made ROMs. Sorry I know that is quite a bit of background information but it helps to show where I am coming from in terms of wanting to accomplish to here.
So I read a bunch and realized that the only way to go back was to flash back to Stock with ODIN. So that at that point I tried your Stock ROM GT-S5660M_MUGKG3_stock_rooted_ROM and the one from sammobile for the GT-5660M from Bell GT-S5660M_BMC_S5660MUGKG3_S5660MUGKG3_S5660MBMCKG3. I thought then I could simply install CWM again (the version that obviously supports RFS and EXT4 5.2.0.7) and then restore the original Stock Nandroid backup I made of the original Out-of-Box ROM. As mentioned in the previous post I saw the rfs in the file names of the back before the .tar extension.
That is when the failures in restoring via CWM occurred noted in the first post (E:format_volume: format_rfs_device failed on /dev/block/stl12 Error while formatting /system!). I thought this would work for sure. That is when I started to think if I could get this all to work I would convert the stock ROM with a custom kernel to running exclusively on EXT4 so that if I ever wanted to go back to 2.3.4 I could do it easier with out having to use ODIN and going back to stock RFS file system. So I guess really I do not want to go back to Stock but the Stock Files in EXT4 formatted form...which I understand would require a custom kernel. Regardless I am not able to restore the original backup so obviously there is something I am missing. That is where I would like to start. I thought as long as I can not get the original backup to restore....then I do not understand enough to continue on the journey. Hence to post requesting assistance.
Can also do a factory reset and reformat /data and /cache RFS partitions.
Click to expand...
Click to collapse
I am not exactly sure what you mean here. Once I flashed the Stock RFS Samsung/Bell Canada ROM back via ODIN in some cases it would not boot. It was in a boot loop stuck on the Samsung logo. I went into normal recovery mode (Not CWM recovery mode since I did not reinstall it yet at that point) and I would perform the Wipe Data and Wipe Cache functions within recovery to get it out of the boot loop. I always made sure the OS fully loaded and functioned before moving to the next step of what I was trying to do. It was at that point I would install CWM again and then find out the original backup I took would not restore with the same error (E:format_volume: format_rfs_device failed on /dev/block/stl12 Error while formatting /system!).
In most situations you would want to go back to a stock ROM and kernel, but keep the CWM recovery, that's relatively easy to do with an RFS-compatible CWM and a nandroid backup. Even a non-RFS compatible CWM could be made to work with appropriate images and the (ADB shell) dd command.
Click to expand...
Click to collapse
I read a bit about this but I did not completely understand it. Is there a thread you can point me to in regard to this? Ultimately the goal is just to be able to restore to stock (or stock converted to EXT4 with a custom "close to original" kernel like CF-Root) if and when I want to in the easiest fashion.
But back to the question: going back to a completely stock, out-of-the-box phone from CWM, stock recovery, CSC and all?
I've thought about it for a few minutes, and it might just be possible to do. Neat? Kinda. Worth the trouble? Meh.
Click to expand...
Click to collapse
Yes I can understand that it is a bit of an odd request and not one that many would really be that interested in...but I am simply from the point of view of just seeing if it is possible. Once I get something in my head I want to prove or disprove it is possible. But I need knowledgeable people like you to offer suggestions and share past experience. I do not mind performing the work....I just need some help from time to time. I have been employed in the IT field for over 15 years but I am more of Windows guys.... but I am not afraid to play with anything and learn. Please do not bash me on the Windows/Microsoft thing....it pays the bills.
Again the goal is to keep everything within CWM so that you do not really need to go back to a computer. It might take some work and effort to get there though. I am not sure who else would be interested but it then could be shared with the masses on this forum. Again not sure of the value to everyone.
It would involve dd-ing RFS-format /system, /data and /cache partitions, boot.img and recovery.img, into place
Click to expand...
Click to collapse
GREAT!!!...I am game to try it. Again if you have a post of step by step on how to achieve this it would be appreciated. I believe I saw a post of yours when I was performing my research about this but it may not be exact for what we are trying to accomplish here. Perhaps it is though.
The part I'm not sure about is how to go about extracting CSC.rfs in the proper location and issuing a reboot recovery command at the end of the script, which should kick stock recovery into gear and apply CSC.
Click to expand...
Click to collapse
Well based on the posts I have read on your dissection of the partitions on the GT-S5660, you are one of the great resources to assist on this. I noticed that the CSC.rfs in not in your GT-S5660M_MUGKG3_stock_rooted_ROM but it was included in the S5660MUGKG3_S5660MUGKG3_S5660MBMCKG3_home from samsmobile. So I am not sure where that version came from if it was leaked or what. I would guess that my original Out-of-Box CSC.rfs has been overwritten by the S5660MUGKG3_S5660MUGKG3_S5660MBMCKG3_home version if there happen to be any differences. My wife's phone is still available so I could still extract the original file from her phone. Maybe that would not help though....I am not really sure what is contained in the CSC.rfs if it is phone, ROM specific...etc.
Anyway regardless I appreciate the time anyone has put in reading or thinking about my post. Again thank you for your time and effort. This is really a great forum full of great information.
ps. How much do I dislike the ReCaptcha spam blocker when trying to post? Very much!!!....you have to hit refresh about 100 times before you can actually make out some words you can type.....FAIL. I see it on numerous sites....really annoying...I like the pattern based ones that you put together way better.
NOTE:​Do with your own risk. I plan to do it myself soon, but be careful...​
Click to expand...
Click to collapse
You first. You seem to have more experience. Ha!!!. Kinda joking but also kinda serious. I guess I am still a noob so I would be leery to try this. I always have the fear of the bricking.
LOL I admire you for your long list of explanations. As well as Darkshado's posts.
Let's backtrack shall we?
The reason it gave you "error while formatting /system" is because CWM doesn't support converting the filesystem back to RFS. At least that's what I know. But for ODIN, you can do this fine. The thing about ODIN, is that it includes the base RFS files and doesn't come with other RFS partitions because it assumes your phone is already RFS
Hmmm I don't know any reason to go back to Stock RFS if you have already converted your partitions into a far more superior filesystem --> EXT4. Darkshado has his own custom ROM that has these specifications
A CF-Root kernel is a kernel that includes root. So when you flash the kernel, it also gives you root and possibly busybox.
Busybox is a series of UNIX tools for Linux and derivatives (Android) to use in the Terminal.
Hehe. It's fine if you're getting paid at IT, or doing IT, dunno which one.. But if you wanna learn more about Android and whatever stuff about it, that's great! It's a nice place to start. Then make your way towards linux.
Linux Distros (Distributions):
Ubuntu = Newbies
Debian = Ubuntu based on this
Fedora = Productivity
Linux Mint 12/13 = Ease of Use
Arch Linux =Advanced
BackTrack = Hacking/Cracking
Tails = Security
Bohdi = Speed
SliTaz = Small & For old hardware + Nice UI
(Just giving you tips here, if you do wanna do this )
Be careful if you're dd'ing your data, cache, system, stl, bml, etc..
Because there is a chance of bricking your device. I know dd'ing stl5 has a high chance that you'll brick your device.
The CSC contains all the info about your carrier, and some other stuff... Lol
Yes I hate the 5 minute waiting period to post a reply or thread, and i hate the captcha..
Sent from my BlackBerry PlayBook
Let's backtrack shall we?
Click to expand...
Click to collapse
Fine by me.
The reason it gave you "error while formatting /system" is because CWM doesn't support converting the filesystem back to RFS. At least that's what I know. But for ODIN, you can do this fine. The thing about ODIN, is that it includes the base RFS files and doesn't come with other RFS partitions because it assumes your phone is already RFS
Click to expand...
Click to collapse
Okay I understand that. However when I made my first backup via CWM the system was stock with RFS. When I restored back to stock ROM after playing with custom ROMs with EXT4 filesystem, the system was back to RFS right? Therefore how come the original restore would not work when the filesystem of the stock rom was back to RFS. That is where I am struggling. Is there an easy way to confirm you are on RFS vs EXT4 from within CWM? Or does ODIN have the ability to restore the RFS Stock version back to a EXT4 formatted phone. I assumed it converts the system back to RFS during the flashing. Is that an incorrect assumption?
Hmmm I don't know any reason to go back to Stock RFS if you have already converted your partitions into a far more superior filesystem --> EXT4. Darkshado has his own custom ROM that has these specifications
Click to expand...
Click to collapse
I guess I have not spent the time to really check out every single Custom ROM. So are you saying Darkshado's ROM is Gingerbread based with EXT4? I agree I would like to stay with EXT4 over all as I understand it is superior and that even Samsung has finally moved to it for its Stock ROMs on newer phones. Really I just want the stock image converted to EXT4 and the ability to restore to that EXT4 based version of the stock ROM via CWM.
A CF-Root kernel is a kernel that includes root. So when you flash the kernel, it also gives you root and possibly busybox.
Click to expand...
Click to collapse
I also understand that CF-Root supports EXT4 and is supposed to be the closest to the original Samsung based kernel.
Hehe. It's fine if you're getting paid at IT, or doing IT, dunno which one.. But if you wanna learn more about Android and whatever stuff about it, that's great! It's a nice place to start. Then make your way towards linux.
Linux Distros (Distributions):
Ubuntu = Newbies
Debian = Ubuntu based on this
Fedora = Productivity
Linux Mint 12/13 = Ease of Use
Arch Linux =Advanced
BackTrack = Hacking/Cracking
Tails = Security
Bohdi = Speed
SliTaz = Small & For old hardware + Nice UI
(Just giving you tips here, if you do wanna do this )
Click to expand...
Click to collapse
To be more clear I am employed in the IT field/profession..however you want to describe it...for the past 15 years. More of a Windows Server Administrator position and previous to that various other positions starting in client support. I have played with Ubuntu before and I have used bootable versions of Knoppix and other linux based distros in the past. I just do not use them enough on a regular basis. It is more of a time issue than anything. Arch Linux looks interesting to me. Perhaps enough to try. I appreciate the tips. Regardless playing with the phone is fun for me for now. I have an iPhone as well but I love the flexibility and NON closed ecosystem that android offers. I guess ultimately both are based on Unix/Linux based OSs.
Be careful if you're dd'ing your data, cache, system, stl, bml, etc..
Because there is a chance of bricking your device. I know dd'ing stl5 has a high chance that you'll brick your device.
Click to expand...
Click to collapse
That is exactly why I am asking for step by step. It is really not worth it to me if the potential of bricking is high. I am interesting in playing and learning but not at the stake of losing the cash I put in to play with the phone.
The CSC contains all the info about your carrier, and some other stuff... Lol
Click to expand...
Click to collapse
I figured based on what I read in Darkshado partition mapping post that CSC has the carrier content. Really then that does not seem that important if the carrier is the main part of it to consider it for restoration. Again unless there is other items in there I should be concerned about.
Yes I hate the 5 minute waiting period to post a reply or thread, and i hate the captcha..
Click to expand...
Click to collapse
Well that is 2 votes. Moderators please consider another spam deterrent. Ha!!!
AvrX said:
Backup with cwm 5.0.2.6 and then when you have ext4 flash stock via odin. Root with stock cwm and then flash cwm 5.0.2.6 and restore.
Sent from my GT-S5660 using Tapatalk
Click to expand...
Click to collapse
Well it appears that CWM 5.0.2.7 may have been one of my issues in getting my original backup to restore.
I loaded CWM 5.0.2.6 from the following thread http://forum.xda-developers.com/showthread.php?t=1493932 and I was able to restore my original backup of the stock ROM with no issues. Thanks again Peteragent5 for putting that great post together.
Also a thank you AvrX for that for the suggestion of going back to 5.02.6. Also Darkshado's guidance of sticking with a CWM that supports one file system or the other.
I downloaded and installed the second version of 5.0.2.6 indicated in the 1st post of the thread named S5660M_cwm-5.0.2.6_feb_26_12.zip. Not sure if that is correct or not Peteragent5 as I not totally understanding the difference between Phiexz & Maclaw Roms and My ROMs in your post. I would assume you are speaking of the Custom ROMS created by Phiexz & Maclaw vs ones created by you? Regardless it would be nice to have a bit greater detail so I am confident in which tool to use in which situation.
So question 1 from my original post in this thread has been solved. Well sort of. Still not clear why 5.0.2.7 supports both RFS and EXT4 but it seems like all the functions for formatting are EXT4 based within it. Although the backup I made within it still shows the rfs prior to the *.tar extension.
Based on my last post I have a few new questions. After performing some more testing (trial by fire/trial and error) with CWM I am not sure that I really understand the support of CWM 5.0.2.7 RFS and EXT4 file system as mentioned in my last post.
Typically before I perform a backup of a ROM (in this case the stock ROM which is RFS filesystem based) I perform the following procedure in CWM regardless of the version of CWM
1. wipe data/factory reset
2. wipe cache partition
3. go to advanced menu
4. Wipe Dalvik Cache
5. Wipe Battery Stats
6. Main Menu -> backup and restore
7. Backup
Questions:
1. Is that the correct procedure? Could some steps be left out or added? What is the safest most reliable way? Should I even use those steps before I perform a backup or are they only really to be used when you are having problems? These are all really the same question presented in different ways.
2. If I am using CWM 5.0.2.7 (supports both RFS and EFS) and I perform the wipe data/factory reset, I see that it is Formatting /data /cache /sd-ext etc on the screen. Also with the wipe cache partition option I see Formatting /cache displayed on the screen. When using these functions in CWM 5.0.2.7 does this format the phone for those partitions from RFS to EXT4?
I am beginning to agree with Darkshado's comment
Different builds of CWM are available for the Gio. Some support RFS, others ext4. I'd rather avoid those with dual support as they're not very clear regarding what format they're using for which operation.
Click to expand...
Click to collapse
However if anyone else has done some extensive testing and know the answer to this....then I can move on and stop using tools. I believe that some of the tools are suppose to work and perform a certain operation but do the opposite or not what is claimed or do not explain the functions well enough for me to understand what operation does what. I want to understand....not just do.
The reason I am asking is that when I try to run a restore of an RFS (stock ROM) backup that was preformed in CWM 5.0.2.6 (only RFS supported) or a backup from CWM 5.0.2.7 (supports RFS and EXT4) after performing the above procedures within CWM 5.0.2.7, it always fails with the
dreaded (E:format_volume: format_rfs_device failed on /dev/block/stl12 Error while formatting /system!) error. This is of course after flashing via Odin back to the stock RFS based ROM GT-S5660M_BMC_S5660MUGKG3_S5660MUGKG3_S5660MBMCKG3 from sammobile.com and then entering stock recovery mode and installing CWM 5.0.2.7.
Does CWM 5.0.2.7 change the stock Kernel on my phone to one that supports RFS and EXT4? My assumption is yes but it would be nice to know for sure.
Based on my testing and findings so far I can tell right now that 5.0.2.7 is more EXT4 based then RFS. It will read RFS files and install on an RFS based filesystem (Stock ROM) and it will even make good backups of the RFS system. However it will not restore those RFS backups regardless if they were made in CWM 5.0.2.6 or CWM 5.0.2.7. Now if you flash back to stock ROM again via ODIN and install CWM 5.0.2.6 only RFS supported, you can restore backups of RFS based file systems backups( on a stock ROM system) made in either CWM 5.0.2.6 or CWM 5.0.2.7.
So the verdict is again (finding out the hard way)....DarkShado and AvrX are indeed correct. Use CWM 5.0.2.6 for backups and restores of Stock ROM.
For custom ROMs...which are predominantly EXT4 based now...I guess you need to use 5.0.2.7....but I will use the soley EXT4 based one from now on as the RFS & EXT4 based one I believe is limited. The only thing is if you install the 5.0.2.7 EXT4 only supported version, you will need to use the EXT4 Formatter (installed via CWM) before to make everything work properly before playing with EXT4 based Custom ROMs. Unless EXT4 formatting is built into the installer like it is with enhanced236_06.08.2012.
Morale of the story is again Darkshado is correct in what he was implying....what I am trying to accomplish is "Neat?" "Worth the Trouble"....My answer now...is a "NO".
None of the current versions of CWM "Fully" (read and write) support RFS and EXT4 at the same time and allow you to return to the stock based RFS backup plus play with EXT4 based new Custom ROMs. I know about the EXT4 Formatter....does anyone know of RFS Formatter tool that installable via CWM?
That tool might accomplish what I would like to achieve. Then it really is only a matter of the procedure to follow to make it all work within CWM. Just have to switch between CWM 5.0.2.6 and CWM 5.0.2.7.
Thanks for following the thread and reading my "trial and error" findings. I may perform a summary of my current findings in this post. It would be be a reply to my questions in the first post with the answer to my own questions. However I think I will wait to see if anyone is interested in providing any further comments.
modem issues after flashing anything other than stock
I am facing a similar issue to you TrippleRipple.
Sorry for the lengthy back story..but here it goes;
I am in Saskatchewan on Sasktel and I had originally given this phone to my son flashed with CM9 as a cheap android media and games device...but the screen on my SGS2 broke the other day and my son offered to "rent" his to me to use until my screen replacement comes in. When I put my SIM in the device (unlocked by retrieving code via ADB) it can connect to some providers in the area (Rogers)...but not to my home network of Sasktel. I read in a previous thread here on XDA that there is an issue with the baseband of custom firmware and that you should keep your stock modem for Bell/Telus handsets (Sasktel also falls in that category)....and so..I am trying to completely restore stock FW...to be able to connect to my home network.
Did you/do you have this modem issue as well?
kid___icarus said:
I am facing a similar issue to you TrippleRipple.
Sorry for the lengthy back story..but here it goes;
I am in Saskatchewan on Sasktel and I had originally given this phone to my son flashed with CM9 as a cheap android media and games device...but the screen on my SGS2 broke the other day and my son offered to "rent" his to me to use until my screen replacement comes in. When I put my SIM in the device (unlocked by retrieving code via ADB) it can connect to some providers in the area (Rogers)...but not to my home network of Sasktel. I read in a previous thread here on XDA that there is an issue with the baseband of custom firmware and that you should keep your stock modem for Bell/Telus handsets (Sasktel also falls in that category)....and so..I am trying to completely restore stock FW...to be able to connect to my home network.
Did you/do you have this modem issue as well?
Click to expand...
Click to collapse
To be honest, I have only really been playing with the custom ROMs but not really using them with an active SIM. So unfortunately I am not the best point of reference. I do know the stock firmware on sammobile does have the correct baseband in it as I copied down all of the details of the original out of box rom and it was the same once restored with the stock firmware from sammobile via odin. However with the out of box stock rom, there were issues with texting on SaskTel. You might want to try the enhanced236 ROM. That seemed to work fine on SaskTel with texting as well. However you should of course backup what you have now with CWM so that you can restore it back for your son when you get your other phone back.
I have not tried CM9 with the SIM chip...only with enhanced236. I did however play with CM9 and CM10. Sorry I could not have been of more assistance. Good luck.

Categories

Resources