Going back to official firmware... - Galaxy S II Q&A, Help & Troubleshooting

Hi,
I currently have a rooted firmware on my phone and would like to go back to official stock, the question being can i just flash it back using odin and official firmware? would i re-partition to get it back to when i first bought the phone? would i not have to clean the kernel script or anything because i dont want anything left on my phone
I WILL THANK WHOEVER ANSWERS MY QUESTION
THANKS

Are you using a stock rooted ROM?
If yes, just flash a stock kernel

From cwm
Format cache, data, system, dalvik.
Using Odin flash your stock ROM
After boot wipe again using dial code.

Related

Best way to flash back to stock rom?

What would be the best way to go from any custom rom back to a stock rom. Wipe data, cache, dalvik cache in recovery, the shut down phone and flash stock rom via odin? Or should I also wipe system before flashing?
Thanks!
Lownita said:
What would be the best way to go from any custom rom back to a stock rom. Wipe data, cache, dalvik cache in recovery, the shut down phone and flash stock rom via odin? Or should I also wipe system before flashing?
Thanks!
Click to expand...
Click to collapse
You don't need to do any wipes through CWM if you are going to be flashing a stock Odin rom, odin automatically takes care of all that stuff. You can just boot your phone into download mode as is and flash the odin rom.
Regards.
Btw, your title is a bit misleading/ confusing? Aha, you ask "best way to flash back to custom rom" ??
Yes that was indeed a bit misleading, corrected!

No ROM Booting

So i managed to solve the problem that i had.
When i said that i could flash only the stock one, i was flashing XXKI3 as one file after each failed attempt to flash a custom one.
So i tried and flashed another stock rom, again as 1 file. after the flash was done the phone again stucked at first screen wit the triangle.
After that i thought that something was really messed up in the phone and flashed again XXKI3 with PIT and multiple files and offcourse RE-Partition.
After that flash a stock rom with 1 file and modified bootloader from Intratech's thread, this way you can also reset the binary caunter with a jig (can find many on ebay).
After finish flashing and first boot
root with CF kernel and flash any custom rom. It worked as it should. Now i am on a custom rom and trying to see which one suits me best.
Thank Jiganet for some may be needed modified bootloader which is recommended so you can reset binary counter.
Everyone tha nk you for your suggestions and help.
any rom that i install is not getting beyond the bootlogo. i had xxki3 stock with cf-root xxki3 kernel.
every install i make full wipe on everything before(data, cache, dalvik).
any body any idea?
only stock rom working.
The first boot takes some time. Are you waiting that long?
mariosraptor said:
any rom that i install is not getting beyond the bootlogo. i had xxki3 stock with cf-root xxki3 kernel.
every install i make full wipe on everything before(data, cache, dalvik).
any body any idea?
only stock rom working.
Click to expand...
Click to collapse
1. Enter Clockworkmod recovery
1a. Do a Backup (not a must, but i suggest) from the cwm recovery of your current rom/settings.
2. Wipe Data/Cache Factory reset
3. Flash the new rom you want
4. Again (not needed but well..) Wipe Data/Cache Factory Reset
5. Wipe Cache
6. Advanced -> Wipe Dalvik Cache (this is why you get bootloops)
7. Reboot to system
Wait 4-5 minutes and you will have your new, shiny working rom.
Hope it helps, cheers
yes. more than 10 minutes.
kanefox said:
The first boot takes some time. Are you waiting that long?
Click to expand...
Click to collapse
i am not getting any bootloops. it just gets stucked at the first screen with the triangle.
i have no experience in samsung but i have done all that you mention.
still no luck. i will try once more and let you know in about 20 minutes.
thanks for your help.
rembrandtlnx said:
1. Enter Clockworkmod recovery
1a. Do a Backup (not a must, but i suggest) from the cwm recovery of your current rom/settings.
2. Wipe Data/Cache Factory reset
3. Flash the new rom you want
4. Again (not needed but well..) Wipe Data/Cache Factory Reset
5. Wipe Cache
6. Advanced -> Wipe Dalvik Cache (this is why you get bootloops)
7. Reboot to system
Wait 4-5 minutes and you will have your new, shiny working rom.
Hope it helps, cheers
Click to expand...
Click to collapse
Mh strange, the strange is.. with the stock rom is working.
Looks like your phone dosnt like the rom you are flashing so the quesion now is:
Are you sure, you are flashing a rom your phone can read? I know the i9100G and the AT&T versions cant be flashed with the standard (i9100) S2 roms (there is a specific thread i think here on xda for those versions)
mine is an unbranded i9100 from Greece. i am flashing the correct roms.
rembrandtlnx said:
Mh strange, the strange is.. with the stock rom is working.
Looks like your phone dosnt like the rom you are flashing so the quesion now is:
Are you sure, you are flashing a rom your phone can read? I know the i9100G and the AT&T versions cant be flashed with the standard (i9100) S2 roms (there is a specific thread i think here on xda for those versions)
Click to expand...
Click to collapse
the same. more than 15 minutes of waiting time. flashing stock again.
Im sorry cant rly help you then, let's wait for some more experienced user answer
thanks. no worries. stock is good. matter of speaking
rembrandtlnx said:
Im sorry cant rly help you then, let's wait for some more experienced user answer
Click to expand...
Click to collapse
next time when u flash try formatting system.
In CWM >mounts and storage> format system
Please state detailed steps you did when flashing a ROM and what kind of ROM.. That will help alot on trouble shooting your problem.
Sent from my GT-I9100 using xda premium
every body read first post managed to solve this.
Hi was there a solution to this problem as I seem to get it with EVERY rom I try to install from zip?
Hi to all, this is my first Post and this is my First Android I come from an iPhone 2G, iPhone 3g, iPhone 3GS and my last phone was an iPhone 4!!! now I'm extremely happy with my new SGS2!!!
I have been searching a lot!!! for a solution for this flash loop issue,
1 - I have flash to a stock 2.3.5 KI3 samfirmware,
2- then I have Odin>PDA>cf-root-KI3-4.2.tar to root my phone.
3 - After that I downloaded 3 custom roms, DarkyROM2_KI3, VillainROM-3.0.0-signed and Cyanogen cm_galaxys2_full-112. put them on my root internal sdcard.
4 - booted to ClockworkMod Recovery menu.
5 - Wipe Data/Factory Reset
6 - Wipe Partition Cache.
7 - Install Zip from sdcard.
and every thing seems ok, but when i restart, it stays on the boot loop, even if i manage to enter to CWM Recovery menu it says that E: Can't Mount ... bla bla bla
I had been trying to put a custom rom so much that my binary counter is now on 10
I'm going to try what you wrote on the first post!
Restore to stock KI3 firmware using pit file and repartition.
after that install the cf-root kernel. Restart and try to install any custom firmware.
Hope it works
Not it did not work, Maybe the problem was Wipe Partition cache after installing new rom, going to stock and repeating
I'm having this exact same problem, please post here if you find an answer to your problem.
I first installed checkrom with no problems, then i decided to wipe and try install dlevrom but after rebooting i'm left with the same problem as above.
It's only when i flash stock 2.3.5 KI3 through odin with pit, repartition, all checked that my phone works.
I then repeat the steps of flashing cf root through odin and then try flash a custom rom, either checkrom or dlevrom and neither work.
Another try another fail!
I have no idea on what else can I do!!! tried again and nothing! I tied cf-root 4.1 and nothing and cf-root 4.2 and nothing!.
I'm having this exact same problem, please post here if you find an answer to your problem.
I first installed checkrom with no problems, then i decided to wipe and try install dlevrom but after rebooting i'm left with the same problem as above.
It's only when i flash stock 2.3.5 KI3 through odin with pit, repartition, all checked that my phone works.
I then repeat the steps of flashing cf root through odin and then try flash a custom rom, either checkrom or dlevrom and neither work.
Click to expand...
Click to collapse
After i got the stuck on boot! I can restore to stock by only using the PDA, I don't need to set the pit file again!, but I'm usign all the files on Odin to see If that makes any difference but nothing!!!
I wonder how mariosraptor did it!!!! Can you throw us a light???
I have explained it on first post. Just follow step by step the first post directions.
Sent from my GT-I9100 using xda premium
Nope it didn't work
The steps I did:
1. Restore to stock using PIT, PDA, PHONE, CSC.
2. After it boots root the phone with cf root 4.1 for ki3
3. Use CWM Recovery to flash the new rom on internal sdcard.
I have been doing it with wipe data, wipe cache, wipe develk.
Nothing is there a step that im missing?
Thanks
SOLVED!!!!!! JAJAJA
The only problem, was one minor thing, a little thing called Bootloader!
I installed the old bootloader!
find it here: http://forum.xda-developers.com/showthread.php?t=1075278
And after that every thing worked perfectly, no boot loops!!!!
Hope it helps!!!

Resetting the SGS2 to factory settings for a sale

Can anyone link to a guide about restoring my SGS2 to factory settings? I've moved to a Galaxy Nexus and will sell my SGS2 with Envirofone, of the mobile recycling companies.
Much appreciated!
Questions belong in the Q&A section!
Also, the information on how to restore your phone to factory defaults is covered by the user manual and does not require xda-developers.
if you are on a stock rom, unrooted, just go through the settings menu and somewhere in location and security (i believe) you should find what you are looking for. make sure to also format the internal sd card.
For Android ICS
Settings> Backup and Reset > Factory Data reset
Settings> Storage> Erase USB storage
Settings> Storage> Erase SD card
Assuming you have CWM/Recovery installed, format cache, data, system, & internal sd card in Recovery, flash stock rom in Odin then reset flash counter. Done.
If you don't have CWM/Recovery & not rooted, do as Chef Tony said (definitely not an XDA thing if you're not the sort of person who tinkers with the phone/doesn't root or run non-stock firmware).
MistahBungle said:
Assuming you have CWM/Recovery installed, format cache, data, system, & internal sd card in Recovery, flash stock rom in Odin then reset flash counter. Done.
If you don't have CWM/Recovery & not rooted, do as Chef Tony said (definitely not an XDA thing if you're not the sort of person who tinkers with the phone/doesn't root or run non-stock firmware).
Click to expand...
Click to collapse
Sorry I was not clear. I have one of the nightly CM 4.0.4 builds so it will be the former option. Can I reset the flash counter in Odin, and will the Odin flash also remove CWM and reinstall the stock kernel?
Thanks
Can you reset the flash counter in/with Odin ? Um, no
To reset the flash counter, you need Triangle Away if you're running ICS bootloaders, or a jig if you're running the old bootloader. Now that I think of it, if you're running ICS bootloaders, reset the flash counter with Triangle Away first, before you format everything in CWM & before you flash a stock rom as it requires root. Flashing the stock rom in Odin won't affect the flash counter.
Doing all those formats in CWM before you flash the stock rom will remove root (and everything else). When you flash a stock rom in Odin it will include a stock kernel.
MistahBungle said:
Can you reset the flash counter in/with Odin ? Um, no
To reset the flash counter, you need Triangle Away if you're running ICS bootloaders, or a jig if you're running the old bootloader. Now that I think of it, if you're running ICS bootloaders, reset the flash counter with Triangle Away first, before you format everything in CWM & before you flash a stock rom as it requires root. Flashing the stock rom in Odin won't affect the flash counter.
Doing all those formats in CWM before you flash the stock rom will remove root (and everything else). When you flash a stock rom in Odin it will include a stock kernel.
Click to expand...
Click to collapse
Thanks. Didn't know about Triangle Away, great app. Wiped everything in CWM, and then tried to restore two separate 4.0.3 images found here. Both times Odin finished fine, but after reboot the phone doesn't progress past the animated "S". Any ideas?
Nitsson said:
Thanks. Didn't know about Triangle Away, great app. Wiped everything in CWM, and then tried to restore two separate 4.0.3 images found here. Both times Odin finished fine, but after reboot the phone doesn't progress past the animated "S". Any ideas?
Click to expand...
Click to collapse
Go to www.sammobile.com and download a stock firmware and flash through odin.
Sent from my GT-I9100 using xda premium
Boot into recovery & try a factory reset/wipe before you do anything else.
kilometers4 said:
Go to www.sammobile.com and download a stock firmware and flash through odin.
Click to expand...
Click to collapse
MistahBungle said:
Boot into recovery & try a factory reset/wipe before you do anything else.
Click to expand...
Click to collapse
That, gentlemen, did it. Used the Open Europe firmware listed here and the instructions here. Many thanks for the help - off to enjoy JB on the Nexus now.

[Q] Custom ROM to Stock Touchwiz 5.0

Does Wipe data/factory reset in CWM remove the custom rom and I'm back on Touchwiz 5.0?
And if this is right, that i go back to TouchWiz, why would I flash a stock firmware from SamMobile.
I just need to be sure before i do anything.
Nyalia said:
Does Wipe data/factory reset in CWM remove the custom rom and I'm back on Touchwiz 5.0?
And if this is right, that i go back to TouchWiz, why would I flash a stock firmware from SamMobile.
I just need to be sure before i do anything.
Click to expand...
Click to collapse
Wiping just deletes all user data and apps etc, not the actual Rom, what you need to do is find the firmware you originally had and flash that with Odin, if you want to also reset your flash counter then use the app triangle away before you flash, all info can be found in general/stickies
Sent from my GT-I9300 using xda premium

Leaked Jelly LHI2 back to Official ICS

Hey
Can someone help me out
I'm on I9300XXDLI2(Leaked Jellybean ROM) i wanna roll back too 4.0.4- I9300XXBLH1-I9300ODDBLG2(ICS India)
The info i have so far
I know i can download the file from Sammobile and flash it via odin and i'll backup the files
Question are
1.Should i preform a wipe before or after flashing the ics to avoid getting stuck at Samsung Logo
2.Should i have Phone,CSC before i flash this rom
3. Are there any more Info i should know before flashing
I'll be leaving my town soon.. i won't have time to flash anymore leaked R.O.M:crying: thought i'll upgrade it via ota or kies
Just make a wipe data, cache and dalvik cache from cwm and than flash with odin the rom you want.
Sent from my GT-I9300 using Tapatalk 2
Depends upon what method you are going to use..
If cwm then do what the person above me said..
If using odin.. You don't need to wipe anything.. Guessing from the fact that you downloaded firmware from samfirmware.. You will be using odin.. So just flash the rom.. Install cwm recovery and then boot.. So that in case you are stuck at boot screen... You can wipe data from recovery rather than a factory reset..
By the way I am typing from my phone.. So expect typos!!
D experience learnt was from s2... where tried to downgrade from ics to gb...do wipe all (cache & data factory rset)..then flash or odun it...
Sent from my GT-I9300 using xda app-developers app

Categories

Resources