Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
sinatosk
Old
#1  
sinatosk's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 154
Join Date: Oct 2009
Question [Q] root without flashing?

I've looked at a few threads but they seem to involve flashing before rooting...

Is there a way to root without flashing? if so... how?

Thanks
Google Asus Nexus 7 16GB
Google Nexus 4 16GB
 
unremarked
Old
#2  
unremarked's Avatar
Senior Member
Thanks Meter 116
Posts: 706
Join Date: Jun 2009
Location: Out There
You can unlock the bootloader without flashing by booting into Bootloader modem (power off device, then power on while holding Power+VOL UP) and typing fastboot oem unlock into ADB from your computer.

But you cannot gain root access, use a custom recovery, or use a custom ROM without flashing. The "Flashing" you're hearing about is via Fastboot which allows the flashing of custom recoverys, or boot.imgs.

The one-click methods that might have allowed this in the past were based on exploits in the stock ROM/kernel. The Nexus S might contain similiar flaws to be exploited later(no current methods work fyi), but right now the easiest way to gain root is by doing what I said above or from the threads in the development section dedicated to it (also linked in the stickied FAQ if you don't know where to start).

Given that it's also possible to just as easily relock the bootloader(e.g. for warranty purposes), it's likely it will be some time before the exploits are searched for/discovered.
Are you new to XDA? Don't be this guy:
Quote:
Originally Posted by Cell Master View Post
I figured out how to push this update download from AT&T and then manually force the phone to update. It's basically just tricking the phone. I would write a detailed guide on this but I don't have the time because I have work and bills to pay. Donations would help though
 
sinatosk
Old
#3  
sinatosk's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 154
Join Date: Oct 2009
Quote:
Originally Posted by unremarked View Post
You can unlock the bootloader without flashing by booting into Bootloader modem (power off device, then power on while holding Power+VOL UP) and typing fastboot oem unlock into ADB from your computer.

But you cannot gain root access, use a custom recovery, or use a custom ROM without flashing. The "Flashing" you're hearing about is via Fastboot which allows the flashing of custom recoverys, or boot.imgs.

The one-click methods that might have allowed this in the past were based on exploits in the stock ROM/kernel. The Nexus S might contain similiar flaws to be exploited later(no current methods work fyi), but right now the easiest way to gain root is by doing what I said above or from the threads in the development section dedicated to it (also linked in the stickied FAQ if you don't know where to start).

Given that it's also possible to just as easily relock the bootloader(e.g. for warranty purposes), it's likely it will be some time before the exploits are searched for/discovered.
abit confused by what your saying...

I'm interpreting what your saying as

"you can boot a boot loader/recovery without actually flashing it. It just boots that as a temporary and then apply superuser.apk, su" ???
Google Asus Nexus 7 16GB
Google Nexus 4 16GB
 
unremarked
Old
(Last edited by unremarked; 30th December 2010 at 09:24 PM.)
#4  
unremarked's Avatar
Senior Member
Thanks Meter 116
Posts: 706
Join Date: Jun 2009
Location: Out There
Quote:
Originally Posted by sinatosk View Post
abit confused by what your saying...

I'm interpreting what your saying as

"you can boot a boot loader/recovery without actually flashing it. It just boots that as a temporary and then apply superuser.apk, su" ???
The bootloader is built into the phone, there's nothing to flash for that.

Think of it as a pre-recovery. Fastboot is a feature in the Android SDK which works with the bootloader to flash things such as recovery, or boot.imgs prior to actually having a custom recovery/root. However, it does require the bootloader to be unlocked which is where the fastboot oem unlock command comes in. Once you have a custom recovery on your phone, you flash things like normal.

From the stickied FAQ:

Quote:
Originally Posted by unremarked
Q: How do I root/unroot the Nexus S?
Check the development section links below for more detail, but you gain root on the Nexus S by booting the phone into fastboot (aka the bootloader) mode and typing "fastboot oem unlock." This will wipe your phone and it's SD card partition. To unroot it, again boot into fastboot mode and type "fastboot oem lock."

Step 1: http://forum.xda-developers.com/showthread.php?t=878786
Step 2: http://forum.xda-developers.com/showthread.php?t=875875
The first step helps you set up the SDK and drivers. The second step will tell you how to root, install recovery, and flash Superuser.
Are you new to XDA? Don't be this guy:
Quote:
Originally Posted by Cell Master View Post
I figured out how to push this update download from AT&T and then manually force the phone to update. It's basically just tricking the phone. I would write a detailed guide on this but I don't have the time because I have work and bills to pay. Donations would help though
 
xspyda
Old
#5  
Senior Member
Thanks Meter 21
Posts: 584
Join Date: Mar 2006
Out of interest is there a step 3 that tells us how to reverse all of the above in the event of having to return the phone?
 
unremarked
Old
#6  
unremarked's Avatar
Senior Member
Thanks Meter 116
Posts: 706
Join Date: Jun 2009
Location: Out There
Quote:
Originally Posted by xspyda View Post
Out of interest is there a step 3 that tells us how to reverse all of the above in the event of having to return the phone?
No, I'll add one, but generally Best Buy employees don't check things like the recovery or bootloader to see if a phone is rooted or not.

Anyhow, if you if you flash the NAND backup found here: http://forum.xda-developers.com/showthread.php?t=884093 it will restore you completely to stock, including the recovery. After that, it's just a matter of going back into the boatloader/fastboot mode and typing fastboot oem lock.

That is the only way to return to stock until Google puts out the official recovery stuff.
Are you new to XDA? Don't be this guy:
Quote:
Originally Posted by Cell Master View Post
I figured out how to push this update download from AT&T and then manually force the phone to update. It's basically just tricking the phone. I would write a detailed guide on this but I don't have the time because I have work and bills to pay. Donations would help though
 
xspyda
Old
#7  
Senior Member
Thanks Meter 21
Posts: 584
Join Date: Mar 2006
Fair enough, thanks for that. One question, will this actually restore to a state my nexus s was received in? Reason I ask is that I thought this was an adapted nand - although I understand this is the only option right now.

My retailer is perhaps a little more clued up than the the average best buy employee so is there anything in the software that can identify this as being a none original Google image?

Thanks again.
 
sinatosk
Old
#8  
sinatosk's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 154
Join Date: Oct 2009
Quote:
Originally Posted by unremarked View Post
No, I'll add one, but generally Best Buy employees don't check things like the recovery or bootloader to see if a phone is rooted or not.

Anyhow, if you if you flash the NAND backup found here: http://forum.xda-developers.com/showthread.php?t=884093 it will restore you completely to stock, including the recovery. After that, it's just a matter of going back into the boatloader/fastboot mode and typing fastboot oem lock.

That is the only way to return to stock until Google puts out the official recovery stuff.
this is why I started this thread... Google not released the official recovery

I already have the SDK setup, I code android applications ... no fastboot in there though. May have to compile that myself or use the one from the thread

thanks for your help...
Google Asus Nexus 7 16GB
Google Nexus 4 16GB
 
unremarked
Old
#9  
unremarked's Avatar
Senior Member
Thanks Meter 116
Posts: 706
Join Date: Jun 2009
Location: Out There
Quote:
Originally Posted by xspyda View Post
Fair enough, thanks for that. One question, will this actually restore to a state my nexus s was received in? Reason I ask is that I thought this was an adapted nand - although I understand this is the only option right now.

My retailer is perhaps a little more clued up than the the average best buy employee so is there anything in the software that can identify this as being a none original Google image?

Thanks again.
It will restore your phone to the state it was received in if it had shipped with Android 2.3.1. The OTA should be fairly well known to anyone you're returning it to.

I don't think so. It's entirely possible that Samsung might have something tucked away deep inside the phone, either hardware or software, but I highly doubt it. And, if there were, I think only their technicians who are trained in the intricacies of this device would know about it. As far as I understand, that NAND is completely stock without any modifications. I'll admit I haven't read the entire thread. At the very most, it may have the Superuser.apk and related binaries but I don't think so.

Quote:
Originally Posted by sinatosk View Post
this is why I started this thread... Google not released the official recovery

I already have the SDK setup, I code android applications ... no fastboot in there though. May have to compile that myself or use the one from the thread

thanks for your help...
Ah, sorry, I'm having a hard time with explaining stuff. Some threads I'll jump in to try and help assuming the guy knows about ADB, root, system vs SD partitions, et al then find out not so much. Other threads, I'll end up making myself look silly.

Fastboot should just be an .exe file within the SDK's tool's section. You don't actually have to run it, though. Everything involving fastboot operates through CMD just like ADB, only you begin the obviously differently. (fastboot flash blahblahblah vs adb push blahblabhlah).
Are you new to XDA? Don't be this guy:
Quote:
Originally Posted by Cell Master View Post
I figured out how to push this update download from AT&T and then manually force the phone to update. It's basically just tricking the phone. I would write a detailed guide on this but I don't have the time because I have work and bills to pay. Donations would help though
 
sinatosk
Old
#10  
sinatosk's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 154
Join Date: Oct 2009
Quote:
Originally Posted by unremarked View Post
It will restore your phone to the state it was received in if it had shipped with Android 2.3.1. The OTA should be fairly well known to anyone you're returning it to.

I don't think so. It's entirely possible that Samsung might have something tucked away deep inside the phone, either hardware or software, but I highly doubt it. And, if there were, I think only their technicians who are trained in the intricacies of this device would know about it. As far as I understand, that NAND is completely stock without any modifications. I'll admit I haven't read the entire thread. At the very most, it may have the Superuser.apk and related binaries but I don't think so.



Ah, sorry, I'm having a hard time with explaining stuff. Some threads I'll jump in to try and help assuming the guy knows about ADB, root, system vs SD partitions, et al then find out not so much. Other threads, I'll end up making myself look silly.

Fastboot should just be an .exe file within the SDK's tool's section. You don't actually have to run it, though. Everything involving fastboot operates through CMD just like ADB, only you begin the obviously differently. (fastboot flash blahblahblah vs adb push blahblabhlah).
well yeah I know about ADB... just nothing about rooting
Google Asus Nexus 7 16GB
Google Nexus 4 16GB

 
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...

XDA PORTAL POSTS

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more

What Happened at Google I/O 2013 – XDA Developer TV

Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more