[How-To] Unroot your phone and return to stock
This thread has been depreciated. Please see the "Sticky Threads" section at the top of this forum for updated guides with working links. Thanks.
Otherwise you will perma-brick your phone.
Due to the increased number of bricks I have to put this announcement
When I say to flash LG Stock Recovery, it means flash LG Stock Recovery.
It does NOT mean that you can skip this step because you want custom recovery, because you want to save time, because you are lazy, because LG Recovery hates your dog... whatever.
There is a reason we are flashing back to LG's recovery.
Steps 25-29 are NOT OPTIONAL!!!!
I have made a nandroid dump of the complete V8 stock system, including kernel, rom, recovery.. everything except the evil devil RADIO. Restoring to V8 will allow you to accept the Sprint V9 update and update your radio PROPERLY.
It will also allow you to bring your phone in for repair, or just remove any hacks you did so you can sell the phone, ect.
This is 99.9% STOCK. This returns your phone to the state it was when you opened the box.
In fact, I pulled this from a brand new Optimus, using the rageagainstthecage exploit, being sure NOT to modify /system in ANY WAY.
However, in order to restore the recovery, I had to use V9's boot and recovery. This will not effect the upgrade process from V8 to V9 in any way.
Here is what you need to do.
1) Root the Optimus. I assume you are already rooted if you are needing a total system restore.
2) Download GNM's v1.1.0 Recovery Kernel. Please use this recovery and no other as this is the only one I have tested. Use of another recovery kernel may brick your phone! Your recovery is going to be wiped with LG's recovery anyway, so don't risk it!.
3) Download flash_image.
4) Connect your optimus to your PC and prepare for ADB usage.
5) Unzip the recovery kernel and flash_image.
6) adb push recovery-RA-GNM-thunderc-s-1.1.0.img /sdcard/
7) adb push flash_image /data/local/tmp
8) adb shell
10) chmod 755 /data/local/tmp/flash_image
11) /data/local/tmp/flash_image recovery /sdcard/recovery-RA-GNM-thunderc-s-1.1.0.img
12) reboot recovery
Now you should be in GNM's recovery with aqua-colored text. The controls are: Up = VolUP, Down = VolDown, Back = Back, Select = Menu (right of home).
13) Go down to "USB-MS Toggle"
14) Select "USB-MS Toggle SDCard"
15) Download my Stock V8 Nandroid Dump
16) Unzip it into the root of the USB Device/SDCard
17) Safely remove the USB device using your PC OS.
18) Press menu to disable USB-MS Toggle.
19) Press back.
20) Select "Backup/Restore".
21) Select "Nand restore".
22) Select "mem=477M".
23) Select "BCDMRS12-20101122-1915"
24) Press menu to confirm.
25) When the process is complete, DO NOT REBOOT. Nandroid does NOT flash recovery by default, to protect from losing your custom recovery. In this case we WANT to lose it, otherwise we won't be stock, and OTA updates will not work. Therefore we must...
26) adb shell
27) mount /sdcard (if this throws an error about "device or resource busy", just ignore it)
28) cd /sdcard/nandroid/mem=477M/BCDMRS12-20101122-1915
29) flash_image recovery recovery.img
Now you are back to V8 stock! Enjoy!
To upgrade to V9:
Due to the kernel being from V9, the phone thinks the firmware is up to date, so you will NOT be prompted for the OTA update. However, since I have a copy of it, you can manually install it. Heres how:
1) Plug phone into PC
2) Enable USB Mass Storage
3) Download the V8 to V9 update and place it in the root of the USB Device/SDCard as "update.zip" (renaming it is important!)
4) run the following from cmd prompt: "adb reboot recovery"
5) You are now at LG's dark-blue recovery screen (should only be 4 options, if not STOP HERE)
6) Select the option with "update.zip"
7) follow instructions on screen (VERY IMPORTANT)
You now have V9 Radio/Baseband and V9 stock update. You can delete the update.zip from your SDCard when you are back into Android.
To upgrade from V9 to VC:
1) Use the LG Updater.
You now have VC Radio/Baseband and VC stock update. You can delete the update.zip from your SDCard when you are back into android.
To re-root on VC, see this thread.
- 11-22-2010, 04:50 PM #2
- 12-03-2010, 07:58 PM #3
hey zefie im haven trouble trying to get the last step down i have done everything else to get to the flash the last .zip i finnaly got a laptop soo i wanted to update the radio and never got to it sooo i get a fat 0 when i came to flashing the v8 to v9 it giving me errors like no sutch file /sdcard/update.zip but it is on the sdcard i had tryed copy paste 3 times and i actually can download the update thru sprint but the battery is dead going to try with that and with the stock recovery any hints why everything is mint?
- 12-03-2010, 08:40 PM #4
sorry zefie wasnt paying attention i was going from computer naming everything .zip and i just used astro and i realized the computer wasnt showing the .zip there already was thanks for the great instrutions deff helped out when we needed it ;-)
- 12-03-2010, 10:37 PM #5
this is the best took a little trial and user error haha now im back from the doctor aka fresh and clean optimus s using these directions to the t and now once again zefie has save my buns again lol this can be done by anyone just read first over and over oh ya and over again before attempting anything lol great job
- 12-06-2010, 11:41 PM #6
- 12-07-2010, 01:06 AM #7
- 2 Posts
For smccloud...if you are successful unbricking your phone, please post here. My is bricked as well. Thanks.
- 12-07-2010, 09:46 PM #8
- 30 Posts
- Drew CM7
Revert back to stock
- 12-07-2010, 11:55 PM #9
You can use zefies directions to get back to stock the read is called back to v8 stock just on case you have to get b radio or something like that and you can use z4root if you did or didnt and it will take away the root ether way you should do zefies directions first to get your recovery image off
Sent from my LS670 using Tapatalk
- 12-08-2010, 09:24 AM #10
- 275 Posts
Definitely interested in seeing how many people's phones this fixes. Would make me feel a lot safer about installing a ROM on this thing :P
- 12-20-2010, 11:04 PM #11
- 12-21-2010, 06:15 AM #12
- 12-21-2010, 02:48 PM #13
- 13 Posts
I had to restore to stock for a test at work with Active Sync. Worked great!! I assume I can put Thunder back on here after I'm done proving that our Active sync settings are wrong on the server ;-)
OK, I stand corrected. The problem was my phone. For reference: A rooted phone will join Active Sync, but the server will not be able to force a lock policy, or perform a remote wipe. Whooooops
- 12-21-2010, 03:04 PM #14
- 31 Posts
Directions on OP worked to the "T" Thanks!!
- 12-29-2010, 04:02 PM #15
- 12-30-2010, 02:38 PM #16
- 9 Posts
why am i always the one with a problem lol. i renamed the file update.zip but when i go to apply it in the lg menu it tells me no such file exist
idk if i should but i went into system updates and its updating as i type.
- 12-30-2010, 06:41 PM #18
- 12-30-2010, 09:10 PM #20
- 111 Posts
This worked great for me. THANKS
- 01-01-2011, 01:14 AM #21
- 39 Posts
So would this go back to the state where we bought the phone? Like, even if we get updates, we'll be able to accept it, and even if we wipe data through privacy, it won't be bricked?
- 01-02-2011, 07:14 PM #22
- 5 Posts
getting error when trying to update to v9. I placed the file on the root of the sd and renamed it to update.zip
-- Install from sdcard...
Finding update package...
Opening update package...
Verifying update package...
E:failed to open /sdcard/update.zip (No such file or directory)
E:signature verification failed
Nvm. Phone prompted me for and update while I was looking through the forums. Didn't need to manually update.
- 01-03-2011, 10:19 AM #23
- 2 Posts
- ThundeRom 1.5
I'm running into problems right here, I get an error message "Error: run 'android-mobile.sh restore' via adb!
I have thundeRom 1.5, custom recovery and your [OC Kernel] Xionia Kernel 22.214.171.124** on my phone
**flashed thundeRom again to go back to original kernel
i already have v9
any help would be appreciated
- 01-12-2011, 06:06 PM #24
Help going back to stock
I am having big time troubles after I rooted and ROMed my Optimus S. I read "[How-To] Unroot your phone and return to stock" but I cant get it to work. I am also using a MAC to add to the mess.
My phones bluetooth is stuck on and when I try to turn it off it reboots my phone but doesnt turn it off. I have tried to restore my nandbackup but that didnt help.
I rooted the phone using z4. I followed Ksmithinny "[How-To] Root, Recovery, ROM without touching a computer" to get recovery, and to flash the thunderrom. Everything was fine until I tried to turn off bluetooth....
I just need / want to go completely back to stock right now. can anyone help me?
When I go to terminal it is telling me permission denied... what am i doing wrong?
- 01-13-2011, 02:46 PM #25
Wow, everyone needs to settle down and answer one at time
I have fixed this. I followed the directions the best I could but I was not able to access through the terminal. every time I tried it said permission denied.
Here is what I did to get it back to stock with a custom recovery.
I had my original nandbackup saved and I knew it was up to date with the latest versions but my original backup had some apps and settings messed with and I didnt want to trust it would fix my problem. So I did this....
I booted to recovery
did a factory wipe
cleared both caches
then I loaded my original nandbackup
once I did that I did another factory wipe
clear both caches
made another nandbackup
It got me back to factory and I fixed my problem.
I have rooted several phones before and I know enough to be dangerous. I have always been able to follow the directions to root phones and if I have problems I can usually get help through the forums that support the device. That was not the case here to say the least I am quite disappointed and I will think twice about installing anyones custom ROMs again. I know I did all this at my own risk and I am not blaming anyone for a bad ROM I just hoped that I could get more help as the **** was hitting the fan with my phone.....