[Q] Backup GS2 stock recovery before CWM - Galaxy S II Q&A, Help & Troubleshooting

Just successfully rooted my galaxy s 2. Now gonna flash CWM . But what is the easiest way to backup my current stock recovery? So that I can revert back to stock recovey if needed.
Sent from my GT-I9100 using xda premium

You can use something like MyBackup pro to backup your apps & stuff, but you won't get an 'image' of your setup like you will with a Nandroid backup done in CWRecovery. Or you could probably use Kies I guess (not sure about how this works though, have never used Kies for anything).
Best way to go would be to install CWM then do your backup before you go making any other changes to your phone (like flashing a custom rom). This will give you a backup of your setup as close as possible to it's original state (tho obviously rooted).
If you want to go back completely to stock (no root), all you'd need to do would be to download your original firmware from somewhere like Sammobile.com (until Intra gets his stock firmware collection up and running again) and flash that in Odin. Or you could get the latest stock firmware available for your phone/carrier/country with Checkfus (PC app, search for it on here/Google) flash the tarball you download in Odin.
rijans said:
Just successfully rooted my galaxy s 2. Now gonna flash CWM . But what is the easiest way to backup my current stock recovery? So that I can revert back to stock recovey if needed.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse

Don't think CWM backs up your stock recovery just everything else, to revert back to stock recovery you would just have to flash stock firmware but lose root in the process.
Sent from my GT-I9100 using xda premium

rijans said:
Just successfully rooted my galaxy s 2. Now gonna flash CWM . But what is the easiest way to backup my current stock recovery? So that I can revert back to stock recovey if needed.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Just as addition to MisthaBungle:
1. Flash a kernel containing CWM recovery (such as CF-Root).
2. Create a Nandroid backup in recovery mode (or use CWM Manager app if available).
If you want or have to restore your stock system, you can restore this Nandroid backup, but you will have to flash the stock kernel afterwards in order to replace the insecure/custom kernel containing the CWM recovery.
Alternatively you can do it like bubba949 described:
Just download and flash the latest officially released stock ROM to your phone, if you want or have to go back to stock.
I recommend to do a Nandroid backup before flashing a new kernel/ROM, just to be sure that you are able to go a step back in case something does not work.
So you will have an additional option ;-)

Thanks all of you for your assistance. I'm doing well with my phone since root.
Sent from my GT-I9100 using xda premium

Related

[Question!!] Restore stock?

Hi,
i've just installed the Resurrection remix rom on my phone but unfortunately the banking app that I use a lot doesnt work with it for some reason. How do I go about restoring my phone to the stock ICS and kernel... I do still want to keep root access, though.
This is the kernel I originally flashed it with
CF-Root-SGS2_XW_XEN_LP7-v5.4-CWM5.zip
all help will be greatly appreciated
I should add that I tried to restore from the back up that I made in clockwork recovery but the app cant find it so I'm thinking the back up didnt work properly!
Anyone?
Sent from my GT-I9100 using XDA
Using cwm wipe, if possible, format system partition, after that flash using Odin.
Learn how to use Odin, get file from sammobile, or check fus
Sent from my GT-I9100 using Tapatalk 2
you should find everything you need to know in this thread
http://forum.xda-developers.com/showthread.php?t=1075278
Did you make a nandroid backup in CWM? If yes, just boot to recover, do a full wipe and do a restore.
If not, go to receovery, do a full wipe, turn off phone, flash the firmware you want thru odin. Let it boot. Power off again, go into download mode, flash a rooted kernel, let it boot and then flash the original kernel with CWMManager from within the rom.
Thanks guys... all sorted

[Q] Question regarding restoring from a backup using CWM

Hi,
I have stock firmware with root acess and CWM. I plan to do a backup of it and install a custom ROM. Say later I would like to go back to the stock firmware which I have already backed up, will that be a problem? Or do I need to do something special?
Make backup using CWM and you will be able to get back whenever you want. But if you want warranty back, the rom flash counters must be set to zero.
Google "triangle away" program.
As above and any CWM backup requires stock kernel to replaced rooted kernel after.
Simple is use Triangle Away then flash a stock rom.
jje
Sent from my GT-I9300 using xda premium

Returning to stock after flashing custom firmware

I'm planning to flash Siyah kernel on my stock firmware (Samsung 4.0.3). In the Siyah thread it says it includes a CWM image. I inspected the Siyah flashable zip and I only found a zImage file. Is the recovery included inside it?
Please confirm that I can return to stock using the method below, im still a noob
* To restore counter I can use TriangleAway app.
* Should I wipe anything before returning from Siyah to stock?
* Then i flash stock firmware through Odin and the counter wont increase since its Samsung firmware right? Does flashing the official firnware also give me the stock recovery?
Is this all that I need to know ?
Should I worry about backing up EFS before flashing the Siyah kernel or perhaps before returning to stock?
Thank you very much! All answers appreciated!
Sent from my GT-I9100 using xda app-developers app
colapro said:
I'm planning to flash Siyah kernel on my stock firmware (Samsung 4.0.3). In the Siyah thread it says it includes a CWM image. I inspected the Siyah flashable zip and I only found a zImage file. Is the recovery included inside it?
Please confirm that I can return to stock using the method below, im still a noob
* To restore counter I can use TriangleAway app.
* Should I wipe anything before returning from Siyah to stock?
* Then i flash stock firmware through Odin and the counter wont increase since its Samsung firmware right? Does flashing the official firnware also give me the stock recovery?
Is this all that I need to know ?
Should I worry about backing up EFS before flashing the Siyah kernel or perhaps before returning to stock?
Thank you very much! All answers appreciated!
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
If are on stock ROM now, you will have to flash SiyahKernel as tar file with Odin.
And yes, CWM recovery is included in the kernel (zImage).
Before flashing, you should backup everything important. Just to be on the safe side.
Some EFS backup tools require root. If you find one which works without root, then you should backup before flashing.
Otherwise make the EFS backup (and a nandroid/system backup in CWM recovery) after flashing SiyahKernel.
Then use TriangleAway app to remove yellow triangle and rest the flash counter.
When flashing stock kernel after SiyahKernel, you don't need to wipe anything.
You can wipe data, if you want to do a factory reset, or you can do the factory reset later (on stock) too.
And yes, after flashing stock kernel, you will be back on stock recovery.
It_ler said:
If are on stock ROM now, you will have to flash SiyahKernel as tar file with Odin.
And yes, CWM recovery is included in the kernel (zImage).
Before flashing, you should backup everything important. Just to be on the safe side.
Some EFS backup tools require root. If you find one which works without root, then you should backup before flashing.
Otherwise make the EFS backup (and a nandroid/system backup in CWM recovery) after flashing SiyahKernel.
Then use TriangleAway app to remove yellow triangle and rest the flash counter.
When flashing stock kernel after SiyahKernel, you don't need to wipe anything.
You can wipe data, if you want to do a factory reset, or you can do the factory reset later (on stock) too.
And yes, after flashing stock kernel, you will be back on stock recovery.
Click to expand...
Click to collapse
Thank you very much for making it clear!
Sent from my GT-I9100 using xda app-developers app

[Q]Can you flash over a flash

Hi All
Please let me explain in detail:
1. I had original ICS and flashed CF-Root with ODIN
2. Flashed new JB-Polland with ODIN
3. Lost root access and CF apps
4. Re-flashed CF-Root, CF apps and root access granted
5. Opening CWM i get the following msg: "This version of CWM should be used with CF-CWM v1.1" Now from reading other posts, i think this error is due to CF-Root not supporting JB.
Therefore what are my options?
1. Can I flash a new root over CF-Root, that supports JB.
2. Do I do the triangle away and try to clear CF-Root
3. Any other suggestions?
Thanks in advance guys.
Whenever I'm flashing a ROM, I flash over the previous one.
I installed CF-Root, flashed MIUI, didn't like it so flashed CM10, didn't like it so flashed to stock again then reset my flash count to 0.
Or use it as is. Everyone who uses CF-Root with JB gets that message. You can still perform backups, updates and ZIP installs through CWM recovery.
Thanks Sleepycat, I didn't realise you could keep using it. Part of the message says some features have been disabled.
Running backup in recovery mode now and seems to be going sweet.
Thanks Guys
its just the app that's incompatible, not CWM itself.
Sent from my GT-I9300 using Tapatalk 2
Depending on what you are flashing, what is on the phone will be "overwritten". For example if you flash a kernel you will replace just the kernel, if you are flashing a full rom, everything that the rom contains will overwrite its equivalent in the phone (which is why you needed to reflash the root).
If you want to ensure you can get back to original state you needed to have done a nandroid backup at the beginning from which to restore later.
Hope this helps
Sent from my GT-I9300 using xda app-developers app

Backup EFS directly from phone?

I am almost ready to perform my first custom ROM installation.
I am only travelling with a Mac so I can't use Windows software.
Is there a way to backup my/EFS directly from the phone?
Sent from my GT-I9100 using Tapatalk
You need a custom recovery. How will you flash a custom rom w/o custom recovery?
Sent from my GT-N7100 using XDA Premium 4 mobile app
Blomberg said:
I am almost ready to perform my first custom ROM installation.
I am only travelling with a Mac so I can't use Windows software.
Is there a way to backup my/EFS directly from the phone?
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Download HC ktool from the market, create your efs backup with it and use a root explorer to copy it to an external removable micro SD card......
Edit.......you need to be rooted in order to use HC ktool.......
This might be my S2, or it might be my W...but it's definitely CM
mezo91 said:
You need a custom recovery. How will you flash a custom rom w/o custom recovery?
Sent from my GT-N7100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
For rooting I will use Framaroot.
For installing CWM I believe that you can install it via ROM Manager, or you can install the ROM directly via Mobile Odin.
Sent from my GT-I9100 using Tapatalk
OK....first....
Why look elsewhere for rooting methods? Everything you need is right here on XDA.
Second.....NEVER use ROM manager on an S2.....it breaks things.
Third....mobile Odin can only be used on rooted devices....primarily for flashing stock firmwares.
What version of android is on your S2....GB, ICS or JB?
This might be my S2, or it might be my W...but it's definitely CM
Yes, I found Framaroot here and am planning to use it for the rooting purposes.
Thanks, good to know. So I will need to install CWM manually I guess. Somehow.
What is it that Mobile Odin does, is it an actual reovery ROM itself or does it install CWM which in turn installs the ROM?
But I can use Mobile Odin to install a custom ROM I think?
I am 4.1.2 JB
Sent from my GT-I9100 using Tapatalk
Mobile Odin is a phone based version of PC Odin.....it is designed to flash back to stock from a rooted modified phone without the need to hook the phone to a PC....
You're on 4.1.2.....
Search for the PhilZ thread.......
With the downloads contained, you can root and flash CWM via the stock recovery in one flash.....don't get much easier than that.......
This might be my S2, or it might be my W...but it's definitely CM
I can root it and flash it in one step? I've found like 50 guides but none of them as simple as you're suggesting.
There are so many ways to do each individual step.
I reckon the steps after that would be to install my custom ROM via CWM via SD card. Clear/Wipe cache and install the custom ROM again?
Sent from my GT-I9100 using Tapatalk
Edit: How can I backup EFS before using the technique you mentioned to root/flash CWM in one go, if my device is not yet rooted?
As I said........easy.....
1) flash PhilZ via stock recovery to root and flash CWM
2) At this stage your phone will still boot normally and allow you to download HC ktool in order to make your EFS backup. It might be an idea to make a full backup (nandroid backup) of your current setup using CWM too....
3) use CWM to flash the ROM (and it's associated gapps package) of your choice.
4) use CWM to perform the cache, dalvik and data wipes.
5) reboot, perform initial setup download user apps.......
Job done.......
This might be my S2, or it might be my W...but it's definitely CM
You could also juse Siyah Kernel, a good alternative to philz:good:
Except that it can't be flashed via the stock recovery.....it has to be flashed via Odin......
This might be my S2, or it might be my W...but it's definitely CM
In which way does a Kernel replace a rooter/bootloader flasher, are these not different things?
Sent from my GT-I9100 using Tapatalk
keithross39 said:
As I said........easy.....
1) flash PhilZ via stock recovery to root and flash CWM
2) At this stage your phone will still boot normally and allow you to download HC ktool in order to make your EFS backup. It might be an idea to make a full backup (nandroid backup) of your current setup using CWM too....
3) use CWM to flash the ROM (and it's associated gapps package) of your choice.
4) use CWM to perform the cache, dalvik and data wipes.
5) reboot, perform initial setup download user apps.......
Job done.......
This might be my S2, or it might be my W...but it's definitely CM
Click to expand...
Click to collapse
I very much appreciate your help Keith. I've been on numerous forum but never got this good feedback.
I searched the PhilZ thread and got so many results. My model is i9100 of the Galaxy S2, I guess the methods you have been describing works for this model?
I need to backup program data and EFS before I dare start playing around.
How can I backup EFS before using the technique you mentioned to root/flash CWM in one go, if my device is not yet rooted?
You can't. And you don't need to unless your phone is rooted, because if your phone is rooted nothing you can do to the phone is capable of borking the EFS/IMEI.
Edit - Also, I'm detecting a lack of knowledge of 'the basics' in the threads you've posted recently; I strongly suggest you read all the guides/tutorials stickied in the thread near the top of the General section before you do anything to your phone. A lack of knowledge exponentially increases the risk of you permanently breaking your phone depending on how little knowledge you have when you attempt to 'do stuff' to the phone.
For backing up the efs you'll need to flash a recovery first (like Philz as already suggested).
But anyway, problems with the efs won't be caused by just rooting so you can go ahead and root first and then use KTool.
kestrel5915 said:
For backing up the efs you'll need to flash a recovery first (like Philz as already suggested).
But anyway, problems with the efs won't be caused by just rooting so you can go ahead and root first and then use KTool.
Click to expand...
Click to collapse
* * *
Thank you. As I want to perform all the necessary steps directly on my phone, I am now thinking of doing the following.
Installing Framaroot (APK) and rooting my Samsung Galaxy S2 i9100 (http://forum.xda-developers.com/showthread.php?t=2130276)
Installing KTool and backing up EFS to external SD-card
Installing Titanium Backup (Root version) to backup AppData
Alt 1.) Downloading Mobile Odin to OS. Flashing ROM + GApps via this. But this keeps my stock recovery? (http://forum.xda-developers.com/showthread.php?t=1347899)
Alt 2.) Downloading PhilZ Touch Recovery 3.0 for Galaxy S2 i9100 which flashes + re-roots for me (?). Not sure if it's the right version as the post is old? (http://forum.xda-developers.com/showthread.php?t=1840223)
Alt 3.) Flashing CWM via Mobile Odin, and then in turn boot to recovery (now CWM) and flashing ROM + Gapps via CWM. This should update my recovery as well as my ROM?
After flashing ROM, entering recovery to Wipe Cache, Dalvik and Data
Flash ROM again as previous step supposedly deletes the ROM?
Boot ROM, Configure, Install Apps and restore App Data
Does the above look correct?
Is the version of PhilZ the correct one? It appears to be a 'temporary recovery' rather than a permanent, which might be what I am after if I want to flash the current version of CWM for Galaxy S2 from www.clockwerkmod.com/rommanager
Follow the instructions I gave in this post....
http://forum.xda-developers.com/showthread.php?p=48583106
and you will have a rooted phone running a custom ROM. No need to reflash the ROM after the wipes. Wiping cache, dalvik and data will NOT erase the ROM, all it'll do is erase any personal settings and downloaded apps.
Mobile Odin can't be used to flash custom ROMs, I think it can be used to flash CWM.... but only if you can find a compatible version in a .tar format.
PhilZ is still your best bet.....you will root your phone and install CWM in one hit.....all from your existing stock recovery. The CWM inPhilZ is NOT temporary, though it WILL be overwritten when you flash the ROM which will contain it's own permanent version of CWM. Just match your phones build version to the PhilZ kernel that you download.......
Why make extra work for yourself by increasing the number of steps you have to take (use framaroot then try to find a compatible CWM) when you can do it in one step?
And as mentioned before.....DON'T use ROM manager on an S2.....it breaks things....specifically recovery....one of your prime goals.....
This might be my S2, or it might be my W...but it's definitely CM
cubflyer said:
You could also juse Siyah Kernel, a good alternative to philz:good:
Click to expand...
Click to collapse
I made big projects of things. As a complete novice within Android, I've read through numerous threads, made project notes, consolidated info and made Mindmaps to understand this.
From my understanding, a kernel (I've seen Siyah mentions on many places) is the interpreter between hardware and the instructions given by the software.
In which way is this comparable to a recovery partition/ROM, namely PhilZ?
I'm sure it's some detail I'm missing, and thanks for the tip.
keithross39 said:
Follow the instructions I gave in this post....
http://forum.xda-developers.com/showthread.php?p=48583106
and you will have a rooted phone running a custom ROM. No need to reflash the ROM after the wipes. Wiping cache, dalvik and data will NOT erase the ROM, all it'll do is erase any personal settings and downloaded apps.
Mobile Odin can't be used to flash custom ROMs, I think it can be used to flash CWM.... but only if you can find a compatible version in a .tar format.
PhilZ is still your best bet.....you will root your phone and install CWM in one hit.....all from your existing stock recovery. The CWM inPhilZ is NOT temporary, though it WILL be overwritten when you flash the ROM which will contain it's own permanent version of CWM. Just match your phones build version to the PhilZ kernel that you download.......
Why make extra work for yourself by increasing the number of steps you have to take (use framaroot then try to find a compatible CWM) when you can do it in one step?
And as mentioned before.....DON'T use ROM manager on an S2.....it breaks things....specifically recovery....one of your prime goals.....
This might be my S2, or it might be my W...but it's definitely CM
Click to expand...
Click to collapse
Thank you once again Keith for your engagement and good tips.
I think the reasons why I am considering the different options, and also trying them out - is to get a broader understanding of Android and the alternative processes as I approach my goal of flashing a new ROM.
1.) So far I installed Framaroot and rooted the device successfully.
2.) I then downloaded Hellcat's kTool and made an EFS backup (and a kernel dump, whatever that is)
3.) Then I installed Titanium Backup and backed up all user + system apps (+data I think)
4.) I then downloaded CWM from www.clockworkmod.com/rommanager > recovery as a zip, booted the stock recovery and started CWM (locally, without replacing stock recovery for some reason), from which I did a full Nandroid backup (with stock recovery intact in this backup, I guess. Device was however rooted so it's not fully original).
I reckon I now just need to download my custom ROM and it's relevant Gapps.
I have read good things about Mobile Odin, and since a while back it supports *.zip files so I believe it is a good alternative for flashing custom ROM's now as well.
PhilZ was a bit intimidating, as there was a general thread and different model based threads in each subforum. They were also in different versions, dates and basebands. Also it appears to be available in a "permanent" download as well as a "temporary", which caused my confusion in the last thread.
I did not know that the recovery was replaced when installing a custom ROM, as I did not know that they contained their own partition of a recovery ROM.
Thanks for the information about not needing to re-flash ROM after the relevant wipes.
Thanks for the discouragement of ROM Manager, I promise to stay away from it.
From my understanding, PhilZ seems to be a modified version of CWM6, which includes ChainFire's Auto Root and some other add-ons as well. Is this a correct understanding?
You don't need to backup system apps/data from Titanium Backup because restoring them on a new rom will definitely cause issues.
Plus in case of a bad flash or something nandroid is always there for you so before doing anything new with the phone always do a nandroid backup.

Categories

Resources