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

Search This thread

ferranb

Member
Dec 6, 2010
9
1
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
 
Last edited:

ferranb

Member
Dec 6, 2010
9
1
If you are running Nexus One with Gingerbread, as I understand, it can work. I've not tried, you can try.... at your risk ;-)
 

obstacles can kill

Senior Member
Oct 11, 2007
69
1
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.
 

danger-rat

Senior Member
Feb 14, 2010
2,218
316
USA
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...