[Q] flashing back a stock rom - Galaxy S II Q&A, Help & Troubleshooting

i'm on my KF1 stock rom, and i want to experiment on different roms.
1) are all custom roms (e.g lite'ning, cognition, darky) flashable using CWM? (i got my CWM from flashing the mirage kernel). or i can use odin anytime if i want to flash them thru the computer?
2) i searched for the forums for my stock rom, and i found a link:
http://www.multiupload.com/U95BI5QVDL
it's in an .exe format. is that flashable too thru CWM, or i have to use Odin to flash it back if ever i want to revert back to my stock rom? isn't flashble stuff in .tar or .md5 format?

The one you found is correct and it has to be extracted from .exe format via Winrar/7Zip. Then you will get .tar file which you could flash via Odin.
And I think you can flash any Custom ROM via Odin over any ROM.
Regards.

do i flash the stock rom under the PDA tab only, just like flashing a kernel? i don't have to tick any other options (bootloader, phone, csc, etc)?

poch_1421 said:
do i flash the stock rom under the PDA tab only, just like flashing a kernel? i don't have to tick any other options (bootloader, phone, csc, etc)?
Click to expand...
Click to collapse
yes m8, do not tick repartion

Related

[Q] ZIp to Tar for Odin Flash

Hello everyone, Well i c there are lot roms developed and to test them you need CWM kernel to flash the zip file but is there a tool that can convert them from .zip to .tar or .md5 with no wipe so it can be flashed with ODIN as i am in canada using GT9100M and if I flash some other kernels then required it goes into boot loop and cannot restore anything from backup using CWM or FLASH. Also the rom "AndyX ROM v2.0 - XWKL1 - 2.3.6 - Stable - Fast - Beautifull - Siyah 2.6.5+ - JKay" is in zip and different language and same with other roms can the language be changed to english and converterd to be flashed with "NO WIPE" using odin.
Please help.
Thank you
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Omia28000 said:
Well i c there are lot roms developed and to test them you need CWM kernel to flash the zip file but is there a tool that can convert them from .zip to .tar or .md5 with no wipe so it can be flashed with ODIN as i am in canada using GT9100M
Click to expand...
Click to collapse
Such a tool isn't needed, just flash a cf-root kernel for your firmware and flash the zip from cwm. Your i9100m is identical to the internationl i9100, you can flash any kernel/modem/rom that is made for a i9100.
Also the rom "AndyX ROM v2.0 - XWKL1 - 2.3.6 - Stable - Fast - Beautifull - Siyah 2.6.5+ - JKay" is in zip and different language and same with other roms can the language be changed to english and converterd to be flashed with "NO WIPE" using odin.
Click to expand...
Click to collapse
Im sure you can change the language in the settings menu, you can't convert a rom that's meant to be flashed through cwm to odin.
Thanks for the reply. I have tried to use that kernel to restore my files but does not seem to finish it of and gets aborted and therefore I have to re-flash the entire phone. Is there a way to create a File Dump of my phone so that I can use it with ODIN?
No, you need to use cwm recovery to restore/backup roms.
Thanks. I think I found my answer through some research. Might be helpful check it out.
http://androidforums.com/behold-2-all-things-root/54424-creating-custom-roms-backups-odin.html
http://forum.xda-developers.com/showthread.php?t=762104
http://forum.xda-developers.com/showthread.php?t=1082288
But the questions is is the process same for Galaxy S2 as well as I believe all phone have different blocks (not sure). If thats true the, HOW-TO Create Custom ODIN Images for Backup/Restore on Galaxy S2

[Q] Flashing stock zip via cwm from CM9

nop
mick1mouse said:
Hi all, thanks for viewing this thread
- I flashed my friend's Bell SGS2 i9100M to CM9 a while back, but now he wants to go back to stock and needs to make use of his warranty because of the battery charging problem even when it's is not plugged in
- I need to flash his phone back to Bell stock firmware UGKG2, but I do not have the necessary firmware (PDA) .tar file to flash back to stock via Odin. I've checked Intratech's thread but multiupload is down so I cannot download the .tar files
- However, I have the stock ROM in .zip file, the kernel, modem and CSC in .tar file
- Unfortunately, I did not make the nandroid backup before flashing CM9 on his phone
- I currently do not have his phone with me, but he will be coming over in a few hours
So my questions are:
1) Is it okay to just flash the stock ROM .zip file via recovery from CM9? (After the standard procedures of wiping system, data, cache, etc.)
2) Will the CM9 kernel recovery flash the stock ROM .zip file? I think it might give some e: (some sdcard) error, I'm guessing... If so, will flashing a custom Gingerbread kernel then flashing the stock ROM .zip file via CWM work?
3) If 1 & 2 don't work, does this mean I absolutely have to flash back to stock via Odin?
I've also got an usb jig prepared
Thanks in advance
Click to expand...
Click to collapse
Hey,
like u said, the .zip includes .tar files.
.tar files always must flashed via odin!
Only way to to it via phone is using odin on phone, but I'm not up to date how is the status and if it's really working.
So to be sure:
1) make a full wipe (like u said above with formatting system, cache etc.)
2) Put files in Odin and flash
3) Flash cf-root or kernel to get CWM back (if u want)
CHEERS
nop
mick1mouse said:
the .zip file does not have the .tar files, it is CWM flashable; it has the META-INF folder, system folder, zimage, etc.
Click to expand...
Click to collapse
Oh ok. Didn't read carefully, sorry.
So dunno where u got it from, but if it is a source u trust, it should work.
... should be like flashin CM or any custom Rom
Much success!
CHEERS
nop

[Q] Flashing ROM/Kernel via Creepy's Guide

OK I have read creepy's guide and several other ones and downloaded all the files.
So far the steps that I understand:
1. Recovery Wipe
2. Download Mobile Odin on your phone
3. Use Mobile Odin to flash custom kernel by selecting zImage file. (Apparently I need to use a gingerbread Kernel even though I am going to ICS? this I also don't really understand)
4. He says you can use Mobile Odin to flash a ROM but never explains how. The way I did this before is by loading a .tar file into the PDA section of ODIN on PC and then just clicking start while my phone is in download mode. I looked into Mobile Odin and found no option saying ROM or PDA. My options are Kernel, System, Data, Cache, Param, Modem, or Hidden. So where do I load the .zip/.tar file?
Help would be very appreciated thank you.
You can not use GB kernel on ICS rom. To flash kernel you should put zImage to kernel section on mobile odin and push flash firmware.
To flash rom via mobile odin you should put tar or md5 rom file to system section of mobile odin. Push flash firmware.
fakhri said:
You can not use GB kernel on ICS rom. To flash kernel you should put zImage to kernel section on mobile odin and push flash firmware.
To flash rom via mobile odin you should put tar or md5 rom file to system section of mobile odin. Push flash firmware.
Click to expand...
Click to collapse
if the zImage file is inside of the .tar file does that mean flashing the ROM will automatically flash the kernel as well?
Also creepy specifically states to use a gingerbread kernel, "You must use a Gingerbread kernel when using this method. If you use an ICS kernel while your phone is running Gingerbread, it will not boot!!!"
Sky` said:
if the zImage file is inside of the .tar file does that mean flashing the ROM will automatically flash the kernel as well?
Also creepy specifically states to use a gingerbread kernel, "You must use a Gingerbread kernel when using this method. If you use an ICS kernel while your phone is running Gingerbread, it will not boot!!!"
Click to expand...
Click to collapse
If tar or md5 file have zImage, mobile odin will leave old kernel.
If you want to flash ICS rom You should put tar or md5 file of rom in system and ICS kernel of this rom in kernel.
f you want to flash GB rom You should put tar or md5 file of rom in system and GB kernel of this rom in kernel.
Creepy states don't mix GB kernel with ICS rom and v.v.
If rom file have inside hidden, modem, zImage, system (factoryfs), cache. You can on mobil odin push "open file or archive .tar, .tar.md5, .exe, and separate file" and choose rom tar or md5 file. Mobile odin will put all file in right plase.
fakhri said:
If tar or md5 file have zImage, mobile odin will leave old kernel.
If you want to flash ICS rom You should put tar or md5 file of rom in system and ICS kernel of this rom in kernel.
f you want to flash GB rom You should put tar or md5 file of rom in system and GB kernel of this rom in kernel.
Creepy states don't mix GB kernel with ICS rom and v.v.
Click to expand...
Click to collapse
Apparently these are all .zip files? How am I suppose to do this using .zip files?
This is the ROM I am trying to flash:http://forum.xda-developers.com/showthread.php?t=1650948
The .zip file has only 5 files inside of it when extracted, cache.img, factoryfs.img, hidden.img, modem.bin, and zImage with no specified file extension.
When you said it will "leave the old kernel" do you mean it will leave it in place, or leave it to the new kernel inside of the .tar file?
So should I extract the .zip file use the zImage as my kernel and load the whole .tar file under system?
Or do I need to use a different kernel like fluxxi?
EDIT: I was also curious about this ROM, would it be difficult to install? http://forum.xda-developers.com/showthread.php?t=1752232
Sky` said:
This is the ROM I am trying to flash:http://forum.xda-developers.com/showthread.php?t=1650948
The .tar file has only 5 files inside of it when extracted, cache.img, factoryfs.img, hidden.img, modem.bin, and zImage with no specified file extension.
When you said it will "leave the old kernel" do you mean it will leave it in place, or leave it to the new kernel inside of the .tar file?
So should I extract the .tar file use the zImage as my kernel and load the whole .tar file under system?
Or do I need to use a different kernel like fluxxi?
EDIT: I was also curious about this ROM, would it be difficult to install? http://forum.xda-developers.com/showthread.php?t=1752232
Click to expand...
Click to collapse
First rom you should open with "open file" and mobile odin will put all him self. And you can flash. Kernel and modem will be changed to rom kernel and modem.
Second rom is not difficult but you should flash with cwm recovery.
fakhri said:
First rom you should open with "open file" and mobile odin will put all him self. And you can flash. Kernel and modem will be changed to rom kernel and modem.
Second rom is not difficult but you should flash with cwm recovery.
Click to expand...
Click to collapse
Sorry I gave you the wrong link for the first ROM, I have like 20 tabs open trying to figure this out.
this is the one I meant: http://forum.xda-developers.com/showthread.php?t=1746181
and it is a .tar file
Also for the second link, I'm guessing CWM is Clockwork Mod? is this a mobile software or PC based? I googled it and went to their main website and found no download link for anything similar to ODIN. I also searched for cwm recovery in play store and found an app called rom manager, is this it?
Thanks a bunch for your help, I really do appreciate this
Rahmat Aytmoq
Sky` said:
Sorry I gave you the wrong link for the first ROM, I have like 20 tabs open trying to figure this out.
this is the one I meant: http://forum.xda-developers.com/showthread.php?t=1746181
and it is a .tar file
Also for the second link, I'm guessing CWM is Clockwork Mod? is this a mobile software or PC based? I googled it and went to their main website and found no download link for anything similar to ODIN. I also searched for cwm recovery in play store and found an app called rom manager, is this it?
Thanks a bunch for your help, I really do appreciate this
Click to expand...
Click to collapse
It's same. put in "open file".
After installing rom you can change kernel via mobile odin.
After installing you will have a root and it' very easy.
You can change kernel to siyah kernel nomswap http://www.mediafire.com/?81odsaa6o6ib165. Take from zip file zImage and install via mobile odin. After you will have root and cwm recovery.
But it is for I777 based stock rom. For other rom you should install siyah mswap http://www.mediafire.com/?vihwj8l5wv8v263
fakhri said:
It's same. put in "open file".
After installing rom you can change kernel via mobile odin.
After installing you will have a root and it' very easy.
You can change kernel to siyah kernel nomswap http://www.mediafire.com/?81odsaa6o6ib165. Take from zip file zImage and install via mobile odin. After you will have root and cwm recovery.
But it is for I777 based stock rom. For other rom you should install siyah mswap http://www.mediafire.com/?vihwj8l5wv8v263
Click to expand...
Click to collapse
Ok great I know have all the files selected in mobile odin. I wanna go over this with you one more time before i begin the flash to make sure I made no mistakes.
1. I did not do a factory reset because I am still on gingerbread(rooted) is this ok?
2. I used "open file" as you said and it placed all the proper files in the right location.
3. There are two options that I'm not sure what they do, "wipe data and cache" and "Wipe Dalvik cache" Should I check both of these?
As soon as you tell me I'm fine ill start the flash! thanks again!
I impatiently started the flash I hope i didnt mess anything up
Sky` said:
Ok great I know have all the files selected in mobile odin. I wanna go over this with you one more time before i begin the flash to make sure I made no mistakes.
1. I did not do a factory reset because I am still on gingerbread(rooted) is this ok?
2. I used "open file" as you said and it placed all the proper files in the right location.
3. There are two options that I'm not sure what they do, "wipe data and cache" and "Wipe Dalvik cache" Should I check both of these?
As soon as you tell me I'm fine ill start the flash! thanks again!
Click to expand...
Click to collapse
If you from GB check both.
I didnt check both and already started the flash!
It already finished flashing and it seems to be working just fine except my phone feels hotter then normal I hope this isnt a heating issue.
Sky` said:
I didnt check both and already started the flash!
It already finished flashing and it seems to be working just fine except my phone feels hotter then normal I hope this isnt a heating issue.
Click to expand...
Click to collapse
It's matter of after flash only.
I think you need to do a lot more reading if you're going to continue flashing roms
Sent from my SGH-I777 using Tapatalk 2
Nick281051 said:
I think you need to do a lot more reading if you're going to continue flashing roms
Sent from my SGH-I777 using Tapatalk 2
Click to expand...
Click to collapse
The flash was successful though! Running ICS no problem and no more heating issue.
I wish I could customize the lock in the lock screen. Not a big fan of the small lock.
Anyway it works fine ! thanks for the help
Sky` said:
The flash was successful though! Running ICS no problem and no more heating issue.
I wish I could customize the lock in the lock screen. Not a big fan of the small lock.
Anyway it works fine ! thanks for the help
Click to expand...
Click to collapse
That would require flashing another rom, see what I mean?
Sent from my SGH-I777 using Tapatalk 2
Nick281051 said:
I think you need to do a lot more reading if you're going to continue flashing roms
Sent from my SGH-I777 using Tapatalk 2
Click to expand...
Click to collapse
+1 lots more reading needs to be done you need to wipe data and cache and dalvik cache always before flashing a new rom
Sent from my SGH-i777 using XDA
What is the importance of wiping data/cache before flashing?
Sky` said:
What is the importance of wiping data/cache before flashing?
Click to expand...
Click to collapse
It ensures that there are no "left behinds" from prior ROMs or kernels that could (and often do) conflict with the new firmware you're flashing. Many of the problems that people tend to blame on ROMs or kernels are actually often resolved when they go back and wipe fully before the install. May as well get it out of the way in the first place instead of ending up pulling your hair out (or frustrating the dev enough to do the same) because it wasn't done with a clean slate.
xhepera said:
It ensures that there are no "left behinds" from prior ROMs or kernels that could (and often do) conflict with the new firmware you're flashing. Many of the problems that people tend to blame on ROMs or kernels are actually often resolved when they go back and wipe fully before the install. May as well get it out of the way in the first place instead of ending up pulling your hair out (or frustrating the dev enough to do the same) because it wasn't done with a clean slate.
Click to expand...
Click to collapse
Right now I'm having one problem, wallpaper scrolling is not working after flashing creepy's ICS ROM. Is this because I did not wipe before hand?

I9100M back to stock help.

I'm trying to revert my I9100M back to stock, however, Im not sure where I find the stock ics kernel for bell. I downloaded the bell firmware from sammobile, however i want to have everything correct before i do flash it.
With the bell firmware that you get from sam mobile, where do you find the PDA/PHONE/CSC files? and also, when i do find all three correct ones, where do i go to flash the kernel to the corresponding one? I don't want to brick my phone!
what format was it downloaded. if it is tar format, use odin and put it in pda section, it is an all in one file with everything you need bundled together.
if it is in zip format use cwm to flash.
if it is in another format, extract thyebfiles and then use either odin cwm to flash depending on the file ending.

help with rooted stock

odin to the stock and rooted, wheres the best kernel so i can flash a rom? and im on rooted stock do i flash the rom first or kernel first or does it matter?
btw i tried triangle away but it does not work something about magic header should i flash the rom and kernel then try it or is there another way?
and can i flash twrp on this for my recovery?
Use mobile odin lite or mobile odin pro to flash the AJK v4.9 No Swap kernel to get CWM recovery. Open the zip archive and extract the boot.img, and flash that in mobile odin. Do not need to boot into system, and if you do, the buttons will not work correctly. Boot into recovery and flash the firmware of choice.
If you want something touchwiz based, then the best choices are either SHOstock3 v4.0 or Cooked. If you want something AOSP based, then there are a few choices which you will need to research yourself. You can probably have TWRP recovery by flashing a custom kernel containing TWRP, but this will depend on which firmware you choose.

Categories

Resources