[How-To] Unroot your phone and return to stock

Status
Not open for further replies.

sfhub

Well-known member
Jan 15, 2011
2,384
741
0
Visit site
Yes, on the PC.

I assume the instructions expect you to unzip the files in question into the same directory you have adb in, thus a complete source path wouldn't be necessary.
 
  • Like
Reactions: NicksOptimus

blackwaterstout

Well-known member
Nov 14, 2010
105
1
0
Visit site
I read through this thread and asked this question in another thread.

My phone is rooted. I want my phone to be back at factory defaults. I don't care about preserving anything on the phone and I'm not going to root again. Can't I just do a hard reset and then let the phone receive OTA updates in order to be up to date? Or is it 100% necesary that I follow the steps in this guide? Will performing a hard reset on a rooted phone brick it?

I ultimately want the phone in it's new factory state.
 

NicksOptimus

Well-known member
Feb 6, 2011
112
6
0
Visit site
Yes, on the PC.

I assume the instructions expect you to unzip the files in question into the same directory you have adb in, thus a complete source path wouldn't be necessary.

OK. So I unzip it to the "Android" folder which is on the root of my pc? That's where the SDK was installed?
 

kevintranca

Member
Nov 29, 2010
12
1
0
Visit site
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
30) reboot

Now you are back to V8 stock! Enjoy!

I got to this far, but I don't know what it means to "adb shell."

Can someone explain how to do these things when my phone is stuck on recovery mode?

Thank you.
 

sfhub

Well-known member
Jan 15, 2011
2,384
741
0
Visit site
OK. So I unzip it to the "Android" folder which is on the root of my pc? That's where the SDK was installed?
On my installation it is in sdk\tools

Various versions of the SDK might install in slightly different paths.

Just search your android sdk installation for "adb.exe"

Wherever that file is, assume the instructions want you to put the files in the same folder.
 
  • Like
Reactions: NicksOptimus

sfhub

Well-known member
Jan 15, 2011
2,384
741
0
Visit site
I got to this far, but I don't know what it means to "adb shell."

Can someone explain how to do these things when my phone is stuck on recovery mode?

Thank you.
ADB stands for android debug bridge.

It is a tool that allows you to do remote operations on the phone, including opening a shell (or command prompt for windows folks)

You need to have the Android SDK installed to get the adb.exe executable and running environment. adb.exe also requires you to have the proper drivers for your phone installed so that it can communicate with your phone over the USB cable. This should all be in one of the threads either directly incorporated into the instructions or incorporated as a link.
 

NicksOptimus

Well-known member
Feb 6, 2011
112
6
0
Visit site
On my installation it is in sdk\tools

Various versions of the SDK might install in slightly different paths.

Just search your android sdk installation for "adb.exe"

Wherever that file is, assume the instructions want you to put the files in the same folder.

Thanks a lot for your patience. Will try unrooting soon.:)
 

AyeGetIt

Member
Feb 1, 2011
6
1
0
Visit site
What I don't get is at around..

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
30) reboot

It tells me 'error: device not found' I got all the drivers and such and im connected to USB Debugging, soo yeah ...
 

sfhub

Well-known member
Jan 15, 2011
2,384
741
0
Visit site
What I don't get is at around..



It tells me 'error: device not found' I got all the drivers and such and im connected to USB Debugging, soo yeah ...
If you are seeing that after typing in step 20, then the phone isn't being recognized. Either a driver problem or usb debugging hasn't been enabled (but you say you have it enabled)

Do you see the "bug" icon in the status bar when you connect your phone?

Under device manager (devmgmt.msc) do you see
ADB Interface
Android Sooner Single ADB Interface
 

AyeGetIt

Member
Feb 1, 2011
6
1
0
Visit site
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
30) reboot

Now you are back to V8 stock! Enjoy!


I can't cant do the adb because my phones not in debug because the instructions say not to reboot after doing the restore, sooo I don't get how im suppose to do this. If someone can please help me on here or through a PM that would be magnificant.
 

kevintranca

Member
Nov 29, 2010
12
1
0
Visit site
would i just start at step 13 if i'm stuck in a recovery loop?

EDIT: okay, i got myself to learn how to get in adb and stuff, but the only thing is

it says there's no such file as recovery.img

i saw an answer to use boot.img but from where should i find it?
 
Last edited:

baysider

New member
Feb 5, 2011
4
0
0
Visit site
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)

Following step #6, I selected update.zip....and I get the following:
"finding update package....
opening update package...
E: failed to open /sdcard/update.zip (No such file or directory)
E:signature verification failed
Installation aborted."

I'm still on the 4-item recovery screen.....any solutions?
Thanks,
 

zefie

Well-known member
Nov 15, 2010
844
634
0
Visit site
can this be done from the phone with TERMINAL EMULATOR

No. You will need a PC for this one. Sorry :(


Following step #6, I selected update.zip....and I get the following:
"finding update package....
opening update package...
E: failed to open /sdcard/update.zip (No such file or directory)
E:signature verification failed
Installation aborted."

I'm still on the 4-item recovery screen.....any solutions?
Thanks,

Did you follow step #3? :)
 

NicksOptimus

Well-known member
Feb 6, 2011
112
6
0
Visit site
One more question since this thread now has a brick warning in effect.

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
30) reboot


All these steps are still performed on the PC, right? Not on the Terminal Emulator on the phone.
 

sfhub

Well-known member
Jan 15, 2011
2,384
741
0
Visit site
All these steps are still performed on the PC, right? Not on the Terminal Emulator on the phone.
Once you type adb shell, it is running in your PC command prompt, but the commands you are typing are actually being executed on the phone, just like they would if you used a Terminal Emulator on the phone.

"adb shell" essentially is acting like a terminal emulator running over USB to your phone.
 
  • Like
Reactions: NicksOptimus

cmyasika1

Well-known member
Dec 5, 2010
71
0
0
Visit site
I have a question. When I try to flash recovery.img it tells me that permission is denied. I don't know why. Can someone help me?
 
Status
Not open for further replies.

Forum statistics

Threads
943,148
Messages
6,917,516
Members
3,158,846
Latest member
RemusGhostofRome