[Q] Correct way to first time flash ROM... then return to originally running one? - Galaxy S II Q&A, Help & Troubleshooting

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)

Related

[Q] SG2 rooted, but can't flash other ROMS via CWM...

so, I've had my SG2 for like a month now, rooted and all, but the problem is , i can't flash any other ROMs(but stock ROMs) or kernels (except for CF root,stock and siyah kernels ) on it via CMW... each time i tried to flash anything, i end up stuck at "galaxy s2 GT-I9100" boot-up logo.... I've tried flashing CM7 then i got the boot-loop ( even with double flash, or triple didn't work for me) and i can't get into CWM when i got the boot-loop....
someone please help me.. i read alotta threads and none of them got similar issue like mine...
i guess its true what they say : every galaxy s2 is different from the rest.
Hmm....must be something you're doing wrong. Nothing to do with Galaxy S2 being different.
Have you always followed the dev's instructions while flashing roms?
Wiping data, cache? Matching up the kernels and roms?
As far as I know, there hasn't been a single person who completely failed to install VillainROM on their SGS2.
I would advise you to give it a go.
Transmitted from a Galaxy far far away via XDA lightspeed telepathy.
What ROMs have you tried to flash?
If you're tring to flash AOSP ROms like CM7 or MIUI it's normal if you're not doing it with a comatible version of CWM. For example, cf root kernel installs a modified version of CWM on your device, which is not compatible with CM7. IF you want to flash CM7 first you have to flash codeworkx kernel http://forum.xda-developers.com/showthread.php?t=1118693, and then enter recovery (the new CWM installed with this kernel) to flash CM7.
Now if you can't flash samsung firmware based ROMs (villainROM, Leomar Revolution, Batista...), I don't know what it could be. I never had a problem flashing samsung firmware custom ROMs with the cf root CWM recovery.
tomascunill said:
What ROMs have you tried to flash?
If you're tring to flash AOSP ROms like CM7 or MIUI it's normal if you're not doing it with a comatible version of CWM. For example, cf root kernel installs a modified version of CWM on your device, which is not compatible with CM7. IF you want to flash CM7 first you have to flash codeworkx kernel http://forum.xda-developers.com/showthread.php?t=1118693, and then enter recovery (the new CWM installed with this kernel) to flash CM7.
Now if you can't flash samsung firmware based ROMs (villainROM, Leomar Revolution, Batista...), I don't know what it could be. I never had a problem flashing samsung firmware custom ROMs with the cf root CWM recovery.
Click to expand...
Click to collapse
If your phone has cf-root/kernal and cf cwm can you just flash over top codeworkx's kernel and do you have to re-root?
InFa_ReD_1 said:
If your phone has cf-root/kernal and cf cwm can you just flash over top codeworkx's kernel and do you have to re-root?
Click to expand...
Click to collapse
If you already have root then you won't loose it.
geko95gek said:
Hmm....must be something you're doing wrong. Nothing to do with Galaxy S2 being different.
Have you always followed the dev's instructions while flashing roms?
Wiping data, cache? Matching up the kernels and roms?
As far as I know, there hasn't been a single person who completely failed to install VillainROM on their SGS2.
I would advise you to give it a go.
Transmitted from a Galaxy far far away via XDA lightspeed telepathy.
Click to expand...
Click to collapse
I used to use VR 3.0 but could only work with stock kernel or cf root kernel has never booted with the ROM's kernel..
tomascunill said:
What ROMs have you tried to flash?
If you're tring to flash AOSP ROms like CM7 or MIUI it's normal if you're not doing it with a comatible version of CWM. For example, cf root kernel installs a modified version of CWM on your device, which is not compatible with CM7. IF you want to flash CM7 first you have to flash codeworkx kernel http://forum.xda-developers.com/showthread.php?t=1118693, and then enter recovery (the new CWM installed with this kernel) to flash CM7.
Now if you can't flash samsung firmware based ROMs (villainROM, Leomar Revolution, Batista...), I don't know what it could be. I never had a problem flashing samsung firmware custom ROMs with the cf root CWM recovery.
Click to expand...
Click to collapse
My phone came with CM7, but i flashed it with rooted stock coz i wanted to have a feel of it... but now i'm done with it but i can't get any roms to work... so frustrating.
i literally have tried flashing ALL Roms (ligtnung, gingerbread,vr, cm7), during the 1st few days that i got my phone it worked with VR 2.5 and 3.0, even MIUI.. but after i flashed with some Asian stock ROM via odin... nothing would work through cmw anymore...
i seriously don't know what i did wrong...
btw, right now im using basebad ver: I9100XXXKI4, kernel: 2.6.35.7-siyah [email protected]#20, build number GINGERBREAD.ZSKI3.
I really don't know. YOu should try to go the closest possible to stock and try from there. DO a full wipe, wipe data, wipe system, everything and flash a stock ROM from your country and carrier (there is a thread from infratech where you can get carrier specific ROMS). THen connect your phone to kies (maybe yo get an oficial update) and then do everything from scratch, root, install CWM, etc...
That's what I'd do but I really don't now if it's the best option.
i have almost the same problem,but me i can flash any rom,but the problem is with the kernel my phone refuse to boot on any other kernel else than cf-root and the speedmod,it freezes in the kernel loading so i must turn it off and reflash via odin cf-root or speedmod to get it works again.
tomascunill said:
I really don't know. YOu should try to go the closest possible to stock and try from there. DO a full wipe, wipe data, wipe system, everything and flash a stock ROM from your country and carrier (there is a thread from infratech where you can get carrier specific ROMS). THen connect your phone to kies (maybe yo get an oficial update) and then do everything from scratch, root, install CWM, etc...
That's what I'd do but I really don't now if it's the best option.
Click to expand...
Click to collapse
well, i'm gonna try that and see if it works, am also goin' try to see if downgrading to 2.3.4 or something would work too...
but please if you got any more ideas, just keep it coming..
thanks
Phew! NOW I HAVE CM7 RUNNING ON MY PHONE!!
I'm gonna try to explain how i fixed my issue, as clear and explanatory as i can..
lucky i didn't brick my phone during all this, because I tried so many things and none worked.I unsuccessfully tried downgrading to XWkI4, ZCKI4, and alot others via Odin... after flashing all i get is tons of error messages(on 3e recorvery) E: can't open/cache or E:failed blah bla bla to load /efs... i thought OMG! my phone is bricked! then i recalled reading somewhere that flashing the 3 tar (PDA,MODEM,CSC) files usually should work(maybe better than flashing a 1 tar file), so i found a 3 files xxKI3 rom, flashed it and BAM! it booted up this time without any error. so now i went ahead and rooted it since the tar files came unrooted, then went into CWM to flash cm7 ROM, flashed it twice and ofc i got stuck on boot logo.....i didn't panic much, i pulled out the battery, and restarted to CWM where i cleared cache/ dalvik/ and did wipe/factory reset, then i reflashed CM7 again (twice) and it worked!!!! YES, CM7 is fiannly working on my SG2!
thanks for everyone for helping, and i hope this can help others on the same boat as me..

Some very basic ROM questions. Could not find an answer for 24hrs of searching!

Hello everyone,
I'm just about to go out of my mind, haha. I've successfully rooted my phone and I am interested in installing a new, custom ROM. However, I want to be 100% sure that I am not leading myself into the path of bricking. I have a couple questions that I think are basic enough, but haven't found an answer to anywhere online.
1.) Do I need a specific kernel and/or firmware in order to install a custom ROM?
2.) These are my specs for my phone
Android 2.3.3
Baseband: I9100DXKI1
Kernel: I9100DXKI2
Looking at my specs, will I be able to install this rom: http://forum.xda-developers.com/showthread.php?t=1198334 ?
Will any other ROM work for my phone? Now that it is rooted, am I freely able to install any ROM using clockworkmod or odin without having to change the kernels?
I'm very new to this and I'm hoping somoone can help me out with this.
Thanks a ton in advance!
Just rooting is not enough to install custom rom. You need to install clockworkmod recovery either through rom manager or flash a custom kernel which has CWM.
You can flash any kernel compatible with your device (for example, you cannot flash I9100G kernel/firmware on I9100 model).
You can get a lot of information here at xda. All the developers here are very friendly and co-operative.
You're good to go. Backup apps and some data using Titanium backup and/or My Backup Pro or something like those. Then boot into recovery, make a nandroid backup (can be found in the recovery menu), and flash the rom of your choice. You can flash any rom you like, just don't forget to wipe! This is also an option in recovery, wipe data/factory reset. You can also wipe dalvik-cache (found under 'advanced'). Have fun flashing!
Thanks for filling me in guys. I do have CWM installed on the phone, so I'll back up and try to flash. We'll see if I don't brick the phone somehow, haha.
roboedar said:
Thanks for filling me in guys. I do have CWM installed on the phone, so I'll back up and try to flash. We'll see if I don't brick the phone somehow, haha.
Click to expand...
Click to collapse
Well obviously you wont, all you can do with flashing a wrong rom is getting boot loop, you can always restore your previous rom via nandroid backup. Happy flashing

[Q] ClockworkMod-Recovery 6.0.2.9 - latest?

Hi, I'm a new to rooting, but long time jailbreaker, and man this is way harder than I thought!
I think I'm on the right track, I've uploaded Rom (Super Nexus 3.0 i9100 ect), CWM-SuperSU v0.97 and Google apps (gapps-jb-20130813 ect)
But, I've unfortunately had a couple of failed attempts, originally coming from 4.1.2, I'm now back to 'stock' 4.0.3 and can't update, so I'm going to try again.
So I wanted to know, using Odin, is 6.0.2.9 the latest version of ClockwordMod and/or for the Galaxy S II (if it matters?) I've already got it on there, but I've also got a Siyah on there too, so just want to do another flash to a CWM.
And yes, no quarms about completely wiping the phone, I've backed up all the music, pics, call logs, ect, so just want to learn how to root to the latest version of android, and this version looks great.
Mm it's really not harder than you thought. You're over complicating things.
2 current options :
Have you flashed & are currently running siyah? If so, then boot into recovery and flash supernexus & gapps. Done.
Not currently running siyah? Flash siyah via Odin in download mode. Reboot then into recovery and flash your rom and gapps. Simple. Rooted and new rom.
As far as using CWM on its own (ie just flashing the recovery) it'll only be temporary. Every reboot it will reset to stock recovery. Hence why you need to flash siyah to keep the permanent recovery & be able to flash a new rom.
Sent from a galaxy far, far away
Hopper8 said:
Mm it's really not harder than you thought. You're over complicating things.
2 current options :
Have you flashed & are currently running siyah? If so, then boot into recovery and flash supernexus & gapps. Done.
Not currently running siyah? Flash siyah via Odin in download mode. Reboot then into recovery and flash your rom and gapps. Simple. Rooted and new rom.
As far as using CWM on its own (ie just flashing the recovery) it'll only be temporary. Every reboot it will reset to stock recovery. Hence why you need to flash siyah to keep the permanent recovery & be able to flash a new rom.
Sent from a galaxy far, far away
Click to expand...
Click to collapse
Thanks Hopper,
I decided to use CWM 6.0.2.9 (so now there are three kernals, 2 CWMs and 1 Siyah, wish I knew how to clear them out).
First time I tried to use Super Nexus 3.0, it looked ok, but wouldn't reboot, but then I just re-installed eveything again (both times CWM), and now I've rebooted twice no problems? I think I read somewhere that it had to be done twice, I have no idea why that would be.
Oh yeah, but now I need to get Swype back on there, forgot it was a Samsung exclusive, I'll see how I go from the Google Play, but I'm guessing I could get a custom .apk from the internet anyway.

[Q] About Changing To Custom ROMs From Scratch

I'm planning to use Custom ROM for my JB using Custom Kernels from my Rooted ICS, and I have questions and doubts. Here's the steps and the Q's they have:
So, here's the steps I planned based on my S2 Guide Surfing:
1. Root my ICS (Done)
2. Flash Stock JB Official Firmware via Odin XWMS1? XWMS2? or XWLSW?
Questions Regarding This Step:
A. Do I have to backup my /efs folder from ICS here?
B. Do I have to Wipe Data/Factory Reset + Wipe Cache BEFORE/AFTER flashing the JB Firmware?
3. Flash Siyah? or DorimanX? Kernel via Odin
Questions Regarding This Step:
A. Can I run these kernels on my Stock JB ROM (if succeededly flashed)?
B. If I do a backup on Siyah via its CWM, and changed to DorimanX, then noticed that the kernel's not my type, can I restore my backup from Siyah's to DorimanX's CWM? Or does the both kernel have the same CWM?
4. Flashing Custom ROM via Custom CWM
Questions Regarding This Step:
A. If I flashed a Custom ROM which has a Cusrom Kernel inside (like NeatROM, I suppose), will it be overwritten my Siyah/DorimanX kernel? Or they will still be there?
Thanks for Noticing My Questions! And Very Thanks for Answering Them!
1) Yes, I'd backup up EFS immediately after you root your phone (and even before you do a nandroid backup with CWM). Use Hellcat's kTool from Google Play (and buy Hellcat a beer after you download it).
2) No. No need to wipe when flashing stock firmware (you can if you want though if you like a really clean install) because you're going to be wiping before you do a custom rom install anyway.
3) Yes. You should be able to run Siyah or Dorimanx just fine on stock JB (make sure you choose the right build though; read the threads devoted to these kernels to work out which build you need).
4) Yes, if you do a nandroid backup with CWM while running Siyah, and you switch to Dorimanx & decide you don't like it, you can restore your backup & go back to Siyah.
Though you could just easily re-flash Siyah with CWM to achieve the same result. That will probably be quicker than restoring a backup (say, 2 minutes Vs 10 minutes). If you re-flash a kernel, just the kernel changes, none of your settings/apps/anything else does, so restoring a nandroid just to go back to a particular kernel is overkill.
5) Yes. If you flash a custom rom, the kernel bundled with that rom will overwrite/replace your current kernel. If you don't like the kernel bundled with the rom, you should be able to use any other kernel you want with it provided the kernel you want to use works with the base of the rom (I.E the kernel you want to use works with TW roms if you're running a TW rom, or AOSP if you're running an AOSP rom) & the Android version of the rom you're running. Again, read the thread devoted to the kernel to determine compatibility before you flash it (worse thing that can happen if it isn't compatible is the phone will bootloop though; unlikely to brick your phone outright).

Newbie to flashing, rooting, etc - several basic questions

Hello,
So lately I've been have some troubles with my phone and I decided to try and flash with a new ROM and see if that helps.
I've been reading on the forums some of the guides, FAQ, and read about some ROMs but I'm still a bit unsure of the entire process.
Currently using GT-I9300, 4.1.2 OS, stock.
Backup:
1. Do I need to flash a custom recovery tool (CWM/TWRG) to create an image backup? Should I just root with Odin and then use Titanium?
2. Do these backup my EFS partition or should I back that up separately?
3. Do I need to root my phone with Odin to be able to flash custom recovery tool/backup my EFS?
ROM/Kernel flashing:
1. Since I'm a newbie to this and there seems to be a ton of ROM options, could you recommend on a stable CM based 4.3 ROM I could use?
2. I haven't seen a stock 4.4.4 for GT-I9300, is it stable to use?
I'm sorry If I've asked something thousands have asked before, I couldn't find a clear answer in a decent amount of time.
Thanks for the help!
menia3d said:
Hello,
So lately I've been have some troubles with my phone and I decided to try and flash with a new ROM and see if that helps.
I've been reading on the forums some of the guides, FAQ, and read about some ROMs but I'm still a bit unsure of the entire process.
Currently using GT-I9300, 4.1.2 OS, stock.
Backup:
1. Do I need to flash a custom recovery tool (CWM/TWRG) to create an image backup? Should I just root with Odin and then use Titanium?
2. Do these backup my EFS partition or should I back that up separately?
3. Do I need to root my phone with Odin to be able to flash custom recovery tool/backup my EFS?
ROM/Kernel flashing:
1. Since I'm a newbie to this and there seems to be a ton of ROM options, could you recommend on a stable CM based 4.3 ROM I could use?
2. I haven't seen a stock 4.4.4 for GT-I9300, is it stable to use?
I'm sorry If I've asked something thousands have asked before, I couldn't find a clear answer in a decent amount of time.
Thanks for the help!
Click to expand...
Click to collapse
Backup
(1) Titanium only backs up apps and data it does not do a full (Nandroid backup Google it) Root with cf autoroot http://forum.xda-developers.com/showthread.php?t=1980683 and then flash a custom recovery (choice is yours cwm,Twrp,PhilZ flash with Odin)
(2) Yes some custom recoveries back up efs PhilZ does I think twrp does not sure about cwm ( I don't think it does maybe wrong on that) nandroid backups don't backup your efs do this separately
(3) Technically you don't need root to flash a recovery but if you want to backup anything in recovery then you need to root.You will only need to root your phone once if you are intending to flash custom roms (so that you can backup) because root is included in custom roms.
IMPORTANT! You must backup your efs once you have flashed a custom recovery especially coming from 4.1.2. and keep multiple copies on phone and pc!
Rom/Kernel flashing
(1) We cannot recommend roms it is against XDA rules
(2) Their is no stock 4.4.4 roms last release was 4.3 anything else is a custom/port of 4.4
Thanks for your help, that cleared up a few things.
I ended up using samsung galaxy S3 toolkit (which is amazing btw) to root & load insecure boot image, flash custom recovery img and backup everything on my phone.
I'm now ready to flash my first custom ROM
Again, thanks a bunch

Categories

Resources