Unlocking and Rooting HTC Nexus one Mobile Phone
Vocabulary
Recovery: It means that this recovery will be the original for HTC or that of Amon_Re; which is used during booting in recovery mode, it is here that the boot will be placed.
Boot: Here one can find out that the boot is normal.
System: Here is the information of system, and that is where the ROM will be.
Cache: The cache at a factory reset.
Userdata: User data (like your login, your user settings etc.) When you factory reset the phone, (this area IS Wiped).
bootloader: As a BIOS on a PC.
adb (For Android Debug Bridge): A valuable tool to do everything that is not "conventional" with your Nexus.
fastboot: A protocol used to flash the system (or partition) via USB.
stock: Original.
How to Unlock bootloader of Nexus One
Install the Android SDK, download it from here.
Run it, select the https in Settings, restart it.
Download the SDK for Android 2.1 (Nexus One) AND USB Driver v3 + from here.
Connect your Nexus and open a command prompt in the folder of the SDK tools and type:
If this line does not return anything, do not continue: Your computer does not detect your Nexus!
Caution: this operation removes the guarantee, if you use the below command:
Code:
fastboot-windows oem unlock
This operation is irreversible: we can not re-lock unlocked bootloader.
This command will unlock the bootloader of Nexus One.
When started, now you'll see a padlock in the X shaped thing with four colors.
Rooting
Go here and download the version corresponding to your superboot for the Nexus One Phone.
You are done with the rooting!
Custom Recovery
Start on the bootloader:
Code:
adb reboot bootloader
Otherwise: Turn your Nexus and restart it by simultaneously pressing on the trackball and power. You arrive on a white background with Android guys on skate boards.
Get the Amon_Re Recovery from here and place it in the folder of the SDK tools and type:
Make sure that your Nexus is listed.
Otherwise: Run Start / Run: devmgmt.msc and install the USB driver (SDK) for the device "Android 1.0" (do not use Windows Update, from a local location, select the folder in the folder tools usb_driver SDK). Check:
Your Nexus should be listed, then type:
Code:
fastboot flash recovery recovery-RA-nexus-vX.XXimg
If this does not seem to work, reboot in normal mode and check that the USB Debugging is enabled.
If you get an error: MagicBoot failed! it means that your recovery from Amon_Re is corrupted: re-download and type:
Re: Unlocking and Rooting HTC Nexus one Mobile Phone
Custom ROM
We'll install the Cyanogen Rom, which is the biggest name of Android dev.
Take it from here (Update-cm-XXX-N1-signed.zip), unzip and put in the folder of the SDK tools.
Reboot in normal boot and enable USB.
Copy the. Zip to the root of your SD Card and type:
Your Nexus should always be detected, then type:
Code:
adb reboot recovery
You have to restart it in recovery mode (that of Amon_Re).
Select "flash from sd card zip" and run!
You have now installed the custom Cyanogen ROM!
To update the multi-touch: restart in normal boot and enable the USB.
Take the zip file from here, Unzip the file and put in the SDK tools and then type:
Code:
adb shell stop
adb remount
adb shell rm / system / app / Browser.odex
adb push Browser.apk / system / app
adb push com.cyanogenmod.android.jar / system / framework
adb push com.cyanogenmod.android.xml / system / etc / permissions
adb shell reboot
(You can also find other custom ROM here)