FORUMS
Remove All Ads from XDA

[GUIDE] Steps to root stocked Nexus One android without flashing(unlocked bootloader)

9 posts
Thanks Meter: 1
 
By ferranb, Junior Member on 12th April 2011, 10:53 PM
Post Reply Email Thread
Disclaimer 1 : I tried to look for something like this but I did not found it. Then I tried to achieve it. Sorry if they are well known steps

This guide allows to root a Nexus One with unlocked bootloader with NO need to flash recovery

USE THAT INFORMATION AT YOUR RISK!!

Updated: Added a line to work with Gingerbread

That steps are for Ubuntu. If you are any interested windows user, please let me know.

Prerequisites:
  • Unlocked bootloader
  • adb working properly

1. Download fastboot
Code:
wget --referer=http://developer.htc.com/adp.html http://dl4.htc.com/RomCode/ADP/fastboot.zip
unzip fastboot.zip
chmod u+x fastboot
rm fastboot.zip
2. Obtain busybox (anyone have any direct link?) - NOT GOING TO FLASH CM, JUST GETTING busybox from a trusted place
Code:
wget http://download.cyanogenmod.com/get/update-cm-7.0.0-N1-signed.zip
unzip update-cm-7.0.0-N1-signed.zip system/xbin/busybox
rm update-cm-7.0.0-N1-signed.zip
3. Download su
-- UPDATE: that link broken, you have to donwload it from Google Play
Code:
wget http://dl.dropbox.com/u/6408470/su-releases/su-2.3.6.1-ef-signed.zip
unzip su-2.3.6.1-ef-signed.zip system/app/Superuser.apk system/bin/su
rm su-2.3.6.1-ef-signed.zip
4. Download recovery-RA - NOT GOING TO FLASH IT, DON'T WORRY!!!
Code:
wget -O recovery-RA-passion-v2.2.1.img http://files.androidspin.com/files/amon_ra/RECOVERY/recovery-RA-passion-v2.2.1.img
md5sum recovery-RA-passion-v2.2.1.img
echo ... Validate md5sum is 3def709ab1c9e051a92a1c8b1504a36a
5. Reboot to bootloader - JUST BOOTING WITH, NO FLASHING
Code:
adb devices
adb wait-for-device
adb reboot-bootloader
fastboot boot recovery-RA-passion-v2.2.1.img
echo ... Waiting for recovery image load
while [ -z `adb shell pwd 2> /dev/null` ]
do
  sleep 1
done
6. Root it!
Code:
adb shell mount /system

adb push system/xbin/busybox /system/bin/busybox
adb shell chmod 4755 /system/bin/busybox

adb push system/bin/su /system/bin/su
adb shell chmod 4755 /system/bin/su

adb push system/app/Superuser.apk /system/app/Superuser.apk
adb shell chmod 4755 /system/app/Superuser.apk
7. Reboot and enjoy rooting
Code:
adb shell reboot
 
 
13th April 2011, 01:29 AM |#2  
Junior Member
Flag São Paulo
Thanks Meter: 0
 
More
Will this work on stock Gingerbread?
13th April 2011, 02:16 AM |#3  
OP Junior Member
Thanks Meter: 1
 
More
If you are running Nexus One with Gingerbread, as I understand, it can work. I've not tried, you can try.... at your risk ;)
13th April 2011, 04:03 AM |#4  
danger-rat's Avatar
Senior Member
Flag USA
Thanks Meter: 316
 
More
Quote:
Originally Posted by Helleqn

Will this work on stock Gingerbread?

If you have an unlocked bootloader, yes, it will work. If you have an unlocked bootloader, you can install pretty much anything you want, whenever you want...

Sent from my Nexus One using XDA Premium App
1st May 2011, 12:29 PM |#5  
OP Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by Helleqn

Will this work on stock Gingerbread?

I've added a adb command (mount /system) to work with Gingerbread. It works on mine.
3rd May 2011, 10:01 PM |#6  
OP Junior Member
Thanks Meter: 1
 
More
It also works on 2.3.4
3rd May 2011, 11:06 PM |#7  
obstacles can kill's Avatar
Member
Thanks Meter: 1
 
More
Yep. Worked great for me. But with all due respect, it seemed a little fishy to me that your directions have users pull busybox from Cyanogenmod but then have them pull su and Superuser.apk from a random file on a Dropbox account especially since both files are available in the already trusted Cyanogenmod download that was used for busybox. And even more so because the Superuser.apk file using your instructions is a larger file than the one included with Cyanogenmod. So I only used the files from CM and it worked like a charm.

Not accusing you or anything. I'm just pointing that out.
3rd May 2011, 11:22 PM |#8  
danger-rat's Avatar
Senior Member
Flag USA
Thanks Meter: 316
 
More
The easier way is to do step 5, then flash the su zip from step 3, and you're pretty much done. You can install busybox through the Market app...
3rd May 2011, 11:25 PM |#9  
OP Junior Member
Thanks Meter: 1
 
More
Don't worry for the link, I toke it from the original post for that su release:

http://forum.xda-developers.com/showthread.php?t=682828

I agree it's enough with CM but I intend to get the last version... may be it's not the best option...

Thanks for your comments.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes