Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
cammykool
Old
#1  
cammykool's Avatar
Senior Member - OP
Thanks Meter 32
Posts: 427
Join Date: Sep 2011
Location: Aurora Colorado
Default Is there any way I can flash the stock recovery to my n7 without a PC

Like my previous threads stated I'm trying to restore my n7 to as stock as possible to send it in. Can I flash a stock recovery without fastboot?

Sent from my Nexus 7 using Tapatalk 2


Quote:
Originally Posted by cyanogen View Post
I mean this with the utmost respect: go eat a bowl of dicks.
Current Device: Verizon Samsung Galaxy S3

Previous Devices:
HTC One V (in a drawer)
LG Optimus V (in the back of my moving van somewhere)
VZW Moto DROID (Same^)
Nexus 7 (on a shelf)
HTC Inspire 4G (Dev Device)
 
bftb0
Old
#2  
Senior Member
Thanks Meter 591
Posts: 1,795
Join Date: Feb 2010
Well, if you are running a rooted ROM, you certainly have write permission on the partition containing the recovery image.

You could probably use dd (I don't trust it), or if you were being thorough you could use the appropriate executables from CWM recovery (statically linked executables) to flash the recovery partition right from a (root) command line of the running ROM O/S

Obviously it should be the second to last thing you do - the last thing done would be manual removal of the Superuser kit (.apk, su binary, dalvik cache entry) from a root shell (terminal emulator). As soon as you exit that root shell, root will be forever gone & there is nothing left to do but a factory reset.

If you want to put tools (scripts or executable binaries) in /data/local/temp to assist in any of this, it's a good location as it is not in a -noexec mount, and will get nuked with the factory reset.

Note that none of this will relock your bootloader, and as soon as the device is powered up anybody can see that open padlock symbol.

But frankly I'm not sure why you would be worried about any of this, anyway - a damaged USB port is hardly a manufacturing defect that should be covered by a warranty return. I don't know why Google/Asus would be giving you a freebie on that... and if you are paying for a repair, what does it matter what is flashed onto the tab?

good luck
 
cammykool
Old
#3  
cammykool's Avatar
Senior Member - OP
Thanks Meter 32
Posts: 427
Join Date: Sep 2011
Location: Aurora Colorado
Default Re: Is there any way I can flash the stock recovery to my n7 without a PC

They are doing a replacement because the port and screen issues I told the guy it was unlocked and rooted. But nothing else.

Sent from my Nexus 7 using Tapatalk 2


Quote:
Originally Posted by cyanogen View Post
I mean this with the utmost respect: go eat a bowl of dicks.
Current Device: Verizon Samsung Galaxy S3

Previous Devices:
HTC One V (in a drawer)
LG Optimus V (in the back of my moving van somewhere)
VZW Moto DROID (Same^)
Nexus 7 (on a shelf)
HTC Inspire 4G (Dev Device)
 
protowave
Old
#4  
Junior Member
Thanks Meter 1
Posts: 7
Join Date: Jan 2011
Quote:
Originally Posted by cammykool View Post
They are doing a replacement because the port and screen issues I told the guy it was unlocked and rooted. But nothing else.

Sent from my Nexus 7 using Tapatalk 2
You can download the last OTA for 4.2.2 and do an ADB sideload from recovery and all will return stock (I'm not sure if the bootloader will lock or stay unlocked).

Proto
 
GedBlake
Old
#5  
GedBlake's Avatar
Senior Member
Thanks Meter 107
Posts: 210
Join Date: Jan 2013
Location: Ashton-under-Lyne
Quote:
Originally Posted by protowave View Post
You can download the last OTA for 4.2.2 and do an ADB sideload from recovery and all will return stock (I'm not sure if the bootloader will lock or stay unlocked).

Proto
My experience is it stays unlocked, but the bootloader updates from 4.13 to 4.18...

Rgrds,
Ged.
"Good Judgement Comes with Experience, but Experience Comes from Bad Judgement"

“No one is useless in this world who lightens the burdens of another.”
~ Charles Dickens ~

Advent Vega: VegaBean Beta 6 with 1GB ext2+zRam
Nexus 7 (16GB) WiFi: MoDaCo CyanogenMod10.1, r11 (JellyBean 4.2.2, JDQ39) and franco #48 kernel

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...