[Nexus One Android Development] NPS_CA:
My steps to get 2.2 unlocked from STOCK

I'm not going to do baby steps here but for most who have a clue you will get it right away. You need to know about fastboot (or fastboot-mac for mac) if you don't please figure that out first.

Credit to Cyanogen, Nakadm, Modaco, etc... Referencing their material below

STEP 1: Downgrade to ERD79 STOCK

------------------------------------------

Downgraded from CM to stock with MoDaCo hosted IMG here:

http://android.modaco.com/content/g...htc-passion-images-in-signed-zip-build-22607/

Saved this image to root of SDCARD as:

PASSIMG.zip (case sensitive)

[Ensure Windows .ZIP extensions aren't masked]

Reboot into Bootloader, Power off, then press Trackball Button + Power

Go into Bootloader from menu and it will scan for the PASSIMG.zip file

If the file is correctly placed it will ask if you want to install it. System will verify the file and then reboot back to Bootloader. You may need to select Bootloader option again, this time IT WILL install the file.

NOTE: You will lose root, go back to default recovery, etc... Stay tuned below to correct... Just warning those who don't read things properly.

STEP 2: Upgrade to Android 2.1 Update 1

-----------------------------------------------

After reboot, sign into Google Account and you should right away get prompted to install the Android 2.1 Update (This is NOT FROYO), but this level of sw is needed for the upgrade to FroYo from the OTA ROM

Once that update is installed and rebooted copy the OTA FroYo update to the root of your SD card as UPDATE.zip - at the same time DELETE or rename the PASSIMG.zip file in the root of the SD card

Power off your phone.

** Now would be a good time to clean up the partitions on your SD card if needed - do this in Linux or Mac Disk Utility (just delete all partitions and make a single FAT32 partition) - BACKUP anything you want first.

STEP 3: Update to FroYo 2.2

--------------------------------

With the phone powered off press Trackball Button + Power, Choose Bootloader then Recovery.

Triangle will appear, press Power + Volume (try it until you see the menu to update from SD card - you may need to try timing of hitting the two buttons together)

Once the update is done your phone will reboot

STEP 4: Putting Amon 1.70 Recovery back

-----------------------------------------------

Download the froyo-rooter-signed.zip file from the first post in this thread and extract the zip file.

Have the BOOT.IMG file from the froyo-rooter-signed.zip in a directory you can access from FASTBOOT (or FASTBOOT-MAC)

Reboot into bootloader (Power off, then Trackball Button + Power on)

In Bootloader, check from your PC or Mac if you can see the N1 (remember plug in the USB cable to the phone!)

Windows command prompt:

fastboot devices <enter>

[or on mac terminal fastboot-mac devices <enter>

If your device comes up then be in the directory the BOOT.IMG file is and enter:

fastboot flash boot boot.img <enter>

[or on a mac fastboot-mac instead]

Reboot into bootloader again

Have the Amon 1.7.0 recovery from here: http://xdaforums.com/showthread.php?t=611829

Place this in the directory you are able to access from fastboot [or fastboot-mac]

From command prompt:

fastboot flash recovery recovery-RA-nexus-v1.7.0.img <enter>

STEP 5: Cyanogen Quick Root ZIP

-------------------------------------

Reboot into bootloader again and select bootloader, recovery.

You SHOULD boot into Amon recovery 1.7.0 - if you don't you missed a step above...

From this recovery enable USB MS Toggle and copy the Cyanogen Quick Rooter in post 1 of this thread to the root of the SD Card

Stop USB MS and when back at the Amon recovery select "Flash zip from SD Card"

Select the froyo-rooter.signed.zip

Once completed reboot and you are now on FroYo/2.2 and rooted.