Cannot perma-flash custom recovery - Galaxy S II Q&A, Help & Troubleshooting

Hey guys!
So I was helping my friend flash a ROM to his S2(G) but the problem is, after flashing the zip file for the recovery in the stock recovery as is recommended in the guides here, should I reboot, it once again reverts back to the stock recovery, and not the custom one.
Can someone please help?
Thanks again.
And please ask me for any more details if necessary.

That's because the partition layout on the I9100 is different to other phones; recovery is 'baked' into the kernel & not in a separate partition. So that's why when you flash a recovery independently, the recovery will revert to stock recovery (or whatever custom recovery the custom kernel you're currently running has) when you reboot.
You need to flash a custom kernel which will give you a rooted phone + permanent CWM; PhilZ seems to be easy (search for the thread).
If you want a specific CWM version, you'll need to flash a kernel that has it.

Related

What should do next after failing installing ROM's and having boot loops problems

Im tired of installing many ROM's and 2 different Recovery, some "cant open .zip" and having boot problems, and in other recovery, it can install roms, but other aslo cant open .zip, and also having boot problems,
Im really tired of reflashing stock ICS Fw then root, install Recovery again, after failing installing ROMs.. its too long to reflash, root, install recovery,, its waste my time and having headache after failing installing ROMs for almost a week
Is there any fast solution or what would you do after you fail installing ROMs and cant boot? even do you can enter recovery? what proper should do next? would you also reflash again stock ICS then root and install recovery?
or any other fast way solution..
Please help
Root and install recovery onto your device. Enter recovery and make a nandroid back up of your device. Flash your new rom and reboot the device. If you boot loop or the rom doesn't work or even if you just don't like it, enter recovery (may have to remove the battery to restart a boot cycle) and use your nandroid back up to restore your device.
Before flashing the new rom, you should make sure that the kernel is compatible with the one that is already on your device. If it isn't compatible, you will also want to flash the new kernel using fastboot/flashtool, and not recovery. Also make sure you have a back up of your rom's current kernel so you can flash the original kernel, if you decide to go backwards.
justmpm said:
Root and install recovery onto your device. Enter recovery and make a nandroid back up of your device. Flash your new rom and reboot the device. If you boot loop or the rom doesn't work or even if you just don't like it, enter recovery (may have to remove the battery to restart a boot cycle) and use your nandroid back up to restore your device.
Before flashing the new rom, you should make sure that the kernel is compatible with the one that is already on your device. If it isn't compatible, you will also want to flash the new kernel using fastboot/flashtool, and not recovery. Also make sure you have a back up of your rom's current kernel so you can flash the original kernel, if you decide to go backwards.
Click to expand...
Click to collapse
Thanks I think that what im looking for.. the Nandriod backup..
gota way to find that now and how to install
Thanks a lot!
Hmmm...the most easiest way it to unlock your bootloader first...then flash custom kernel...this can help you skip rooting and installing recovery again and again if something goes wrong cause all custom kernel is pre-rooted and got recovery by default....
next you need to find which custom roms you want to flash...some custom roms have their own kernel or flash any custom kernel that is compatible with the roms....
remember, custom kernel is important cause if you flash the wrong kernel, you might get bootloop after flashing the roms....
Pusak Gaoq said:
Hmmm...the most easiest way it to unlock your bootloader first...then flash custom kernel...this can help you skip rooting and installing recovery again and again if something goes wrong cause all custom kernel is pre-rooted and got recovery by default....
THANKS! I have a plan now to unlock my BL
thanks for that info
Click to expand...
Click to collapse

[Q] Recovery Help

Ok i had the PhilZ Touch 5 Recovery and running a Stock Sammy JB 4.1.2 rom.
So i decided to test an AOSP rom (RootBox to be precise).
And i downloaded the Rom and Gapps put them on my internal Sdcard and flashed (doing alll the wipes etc...) after i wanted to reboot into recovery and flash the gapps (before i boot up the new Rom) and the Philz touch 5 revocery was gonne and now i have CWM 6.0.x.x
What happened and how can i fix?
EDIT : ok i realised i asked a stupid question and that PhilZ rec only works with Stock roms... BUT : how can i revert back ? do i just flash a Stock rom ?
When you flash a new kernel (which is obviously included in any rom package), you'll end up with whatever recovery that kernel has. If you want to go back to stock, thread stickied near the top of Q&A has the info you need (but you should really know this stuff inside out/be able to do it in your sleep before you start flashing custom roms/anything else).

[Q] Correct way to first time flash ROM... then return to originally running one?

Would the following work as a way to try out, for example Cyanogenmod 10. I am currently running a 4.1.2 install (pretty much stock just rooted/cwm via Philz as per the tutorial). I have a complete backup made via Philz recovery of this rom along with the kernel (which I believe is still stock from that) and efs.
1) Install a custom kernel (eg. dorimanx 9.x?) via the Philz recovery.
2) Install cm-10.2-20140102-NIGHTLY-i9100.zip.
3) To return to the original rom, reflash the original kernel (with whatever CWM is included in dorimanx) - then reflash the backed up rom via the same recovery?
I hope this is clear enough a question.
I believe you have to flash a stock rom through Odin, to return to complete stock. Just flashing a stock kernel isn't enough, and is surely not going to work (so don't do it).There are also tutorials how to remove the yellow triangle afterwards.
Please correct me if I'm wrong
Donnie Sins said:
I believe you have to flash a stock rom through Odin, to return to complete stock. Just flashing a stock kernel isn't enough, and is surely not going to work (so don't do it).There are also tutorials how to remove the yellow triangle afterwards.
Please correct me if I'm wrong
Click to expand...
Click to collapse
This is the part I'm most unsure of. Ideally I'm trying to figure out the process that lets me go from CM10.2 (and whatever recovery) to the point I am running the backed up rom rooted with PhilZ-cwm6-XWLSW-XEU-5.06.1-signed.zip again. Very confused on how to do so.
TopherBrink said:
This is the part I'm most unsure of. Ideally I'm trying to figure out the process that lets me go from CM10.2 (and whatever recovery) to the point I am running the backed up rom rooted with PhilZ-cwm6-XWLSW-XEU-5.06.1-signed.zip again. Very confused on how to do so.
Click to expand...
Click to collapse
Topher,
If you have rooted and cwm via philz, you already have a modified kernel installed. I believe the philz-cwm6 should be as close to stock kernel with the CWM incorporated. You don't need to add another kernel, because it will be replaced when you install the custom ROM. You should just be able to flash the cm10.2 via philz or via odin. You can then flash the dormanix kernel if you want - can't comment on that kernel - or if it has cwm included.
I would also suggest that you consider backing up you /efs folder (one with you imei information etc) prior to flashing any custom roms. People have been using hcKtool to do the backups and also an actual copy as well.
Depending on the custom rom, you may have connection problems with your network. So you may want to consider keeping a copy of your modem.bin file from your stock rom handy in case you need to flash onto the custom rom.
If you want to go back to stock, then you just need to flash the stock rom - you can check sammobile website for your stock rom or use the backup that you made.
I should point out that I have yet to do any of the above - I gathered this from reading the forums. Some more experienced forum users can add corrections. I rooted my phone a couple of months ago and now considering installing custom rom in the next couple of months.
Thanks.
if u flash a custom rom (cm10.2 for example), it already included kernel as well. so if u want to try out other custom kernel, i can flash it after you are done flashing a custom rom but make sure it is compatible with your android version. (u cant use custom kernel that not support android 4.3 with a custom rom running android 4.3)

Samsung SII 19100T How to install recovery

i searched forum but i am unable to find way to install recovery to install Cm12.1 from official link official site have recovery *.img and ROM zip but i find no solution on how to install recovery
In my other phone(htc,xiaomi) i can just reboot to bootloader and fastboot flash recovery but this method is not working on samsung phone
kindly update me or show xda link showing how to install CM12.1 recovery on my SII 9100 T model phone i already downloaded ROM and Recoveyr.img from
https://download.cyanogenmod.org/?device=i9100
Does my i9100 T model support 12.1 ?
KiranP23 said:
i searched forum but i am unable to find way to install recovery to install Cm12.1 from official link official site have recovery *.img and ROM zip but i find no solution on how to install recovery
In my other phone(htc,xiaomi) i can just reboot to bootloader and fastboot flash recovery but this method is not working on samsung phone
kindly update me or show xda link showing how to install CM12.1 recovery on my SII 9100 T model phone i already downloaded ROM and Recoveyr.img from
https://download.cyanogenmod.org/?device=i9100
Does my i9100 T model support 12.1 ?
Click to expand...
Click to collapse
Forget about the recovery.img. I don't know why it is there. On the i9100(and i9100T), there is no seperate recovery partition. It is bundled with the kernel. So if you have a custom recovery that is capable of flashing a lollipop rom, just use that. Once you have flashed CM12.1, the CM recovery(kernel) will overwrite the recovery(kernel) you had anyway. Which is not a good thing(not that you have a choice). Currently the CM recovery is not very functional compared to CWM or TWRP
noppy22 said:
Forget about the recovery.img. I don't know why it is there. On the i9100(and i9100T), there is no seperate recovery partition. It is bundled with the kernel. So if you have a custom recovery that is capable of flashing a lollipop rom, just use that. Once you have flashed CM12.1, the CM recovery(kernel) will overwrite the recovery(kernel) you had anyway. Which is not a good thing(not that you have a choice). Currently the CM recovery is not very functional compared to CWM or TWRP
Click to expand...
Click to collapse
Thank you that answers many things , now can u kindly provide a LINK to recovery which is supported by my S2 I9100 T and flashing method so i can install CM12.1 nighties
KiranP23 said:
Thank you that answers many things , now can u kindly provide a LINK to recovery which is supported by my S2 I9100 T and flashing method so i can install CM12.1 nighties
Click to expand...
Click to collapse
I'm assuming you have stock unrooted firmware? The easiest way is to install philz kernel from stock(3e) recovery, then reboot to recovery and flash a newer recovery that is capable of flashing the newer versions of android. If you just want to install CM12.1 straight away just back up your efs then:
1. Download the DVLSH kernel .zip from HERE
2. Download the philz 6.48.4 from HERE
3. Reboot into stock recovery, flash the DVLSH kernel(if your firmware build is DVL**, you could probably reboot into system no problem)
4. Reboot to recovery(not system), flash the philz 6.48.4
5. Reboot to recovery(not system), follow the steps for installing in the CM12.1 thread after backing up etc
Keep the DVLSH kernel. Once you install CM, you will have CM recovery, which only allows you to flash signed .zips(which this one is)
EDIT - The philz 6.48.4 is also signed and is probably the more useful one to keep, being compatible with the newer roms
noppy22 said:
I'm assuming you have stock unrooted firmware? The easiest way is to install philz kernel from stock(3e) recovery, then reboot to recovery and flash a newer recovery that is capable of flashing the newer versions of android. If you just want to install CM12.1 straight away just back up your efs then:
1. Download the DVLSH kernel .zip from HERE
2. Download the philz 6.48.4 from HERE
3. Reboot into stock recovery, flash the DVLSH kernel(if your firmware build is DVL**, you could probably reboot into system no problem)
4. Reboot to recovery(not system), flash the philz 6.48.4
5. Reboot to recovery(not system), follow the steps for installing in the CM12.1 thread after backing up etc
Keep the DVLSH kernel. Once you install CM, you will have CM recovery, which only allows you to flash signed .zips(which this one is)
EDIT - The philz 6.48.4 is also signed and is probably the more useful one to keep, being compatible with the newer roms
Click to expand...
Click to collapse
thankyou i will backup efs with efs backup application form playstore then follow the procedure
thankyou , like you installed flashed recovery i installed from official LInk , flashed nano gapps = boots ,keyboard FC , after sometime frequent random reboots heavily
installed again after full formating ,wipe,dav cache etc flash only cm12.1 nighties =still FC keyboard and random reboots
help me pls

			
				
kbxdauser2011 said:
Kiran, i'm in the same stage as you for installing cm 12.1.1 on my SGS2 (GT-I9100) Stock 4.1.2 Rom (Non rooted). Can you please share the steps (step by step) you took to took to install the same . Also how good or Bad is it to be used as a daily regular rom compared to the Samsung Stock rom for the SGS2 (GT-I9100)?
Click to expand...
Click to collapse
noppy22 said:
I'm assuming you have stock unrooted firmware? The easiest way is to install philz kernel from stock(3e) recovery, then reboot to recovery and flash a newer recovery that is capable of flashing the newer versions of android. If you just want to install CM12.1 straight away just back up your efs then:
1. Download the DVLSH kernel .zip from HERE
2. Download the philz 6.48.4 from HERE
3. Reboot into stock recovery, flash the DVLSH kernel(if your firmware build is DVL**, you could probably reboot into system no problem)
4. Reboot to recovery(not system), flash the philz 6.48.4
5. Reboot to recovery(not system), follow the steps for installing in the CM12.1 thread after backing up etc
Keep the DVLSH kernel. Once you install CM, you will have CM recovery, which only allows you to flash signed .zips(which this one is)
EDIT - The philz 6.48.4 is also signed and is probably the more useful one to keep, being compatible with the newer roms
Click to expand...
Click to collapse
please look at above steps

Confused about rooting, recovery and custom roms

Could someone provide me with an easy guide to rooting, installing recovery and installing a custom rom on my S2? I1900 version.
I'm wanting to put a KK rom on it but I'm confused about which recovery to use and the best method for rooting.
WastedJoker said:
Could someone provide me with an easy guide to rooting, installing recovery and installing a custom rom on my S2? I1900 version.
I'm wanting to put a KK rom on it but I'm confused about which recovery to use and the best method for rooting.
Click to expand...
Click to collapse
I read your post on another thread you said you have flashed siyah kernel, so you are already rooted. You just need to use a "kitkat compatible" recovery such as CWM 6.0.4.5+ or TWRP 2.7+ to flash kitkat roms
Just a quick google search for "kitkat compatible recovery" gave me this one. Just download the CWM .zip, flash it from siyah recovery, then reboot to recovery(not system), then do your wipes/backups and flash the rom and gapps you want and reboot to system. Done
will give this a go!

Categories

Resources