Please remember to add a category to the bottom of each page that you create.
See categories help for further details, but most will probably be [[Category:HTC ModelName]].

HTC Nexus One/TexasICS/Installing Guide

From XDA-Developers
Jump to: navigation, search

TexasICS is a work in progress, so do not install this ROM unless you are willing to live with that and be extremely patient for updates and upgrades, which includes not spamming the devs or the dev thread with update requests, speculation on updates, dates of updates, or dates of update date releases.

This is a guide for installing TexasICS on the Nexus One. Some steps may be redundant, I'm just documenting exactly what I did because it worked. I hope that this will work for everyone, but keep in mind that SD cards can be temperamental and of varying quality. This did not brick my phone, that doesn't mean it won't brick yours!

Contents

Prerequisites

This assumes that your phone is rooted and that you have installed the Android SDK on your computer. You should know where adb and fastboot are on your computer, or how to add them to your $PATH. You should charge your phone to 100% before beginning, and do not proceed if you have a flaky battery that might die unexpectedly. You must also have patience: when entering commands it is important to wait a few seconds to let each command finish before continuing. There are also several steps that take many minutes to complete. The entire process should require about 1 hour.

 Note the version numbers in this article may be obsolete. I (I am not the original author) have provided links to obtain the latest versions.  
 The old versions should still work if desired, with the possible exception of BlackRose (old version may cause a freeze during flash).  
 All version numbers written in article should be replaced with whatever version numbers the files you download have.

You should download the following (or whatever the most recent version of each is) and keep track of where they are on your computer:

 That version is old, the new version of BlackRose should be used instead. Get it in the first post here: http://forum.xda-developers.com/showthread.php?t=1270589
 This is no longer the latest version. Latest is in the first post here: http://forum.xda-developers.com/showthread.php?t=1366897
 Note a4 is no longer the latest version. Get the latest version in the second post here (I don't know which is best, I used a4): http://forum.xda-developers.com/showthread.php?t=1366897

I installed TICS using Mac OS X, so I will show the commands that I used. They will differ depending on your OS and where you installed things. For my examples, I have installed or downloaded everything to a folder under my home directory (~) called android, so adb and fastboot are in:

~/android/android-sdk-macosx/platform-tools

I have stored the CWM5 download in:

~/android/cwm5

And BlackRose in:

~/android/blackrose_manual_111231

I have stored texasice's partition scheme, hboot_220-16-200.nb0, in

~/android/blackrose_manual_111231

I have also added the SDK tools to my path by adding the line:

export PATH=$PATH:/Users/MYNAME/android/android-sdk-macosx/platform-tools:

to my bash profile in ~/.profile, so that I can run adb and fastboot from any directory just by typing adb or fastboot. Note that you will need to start a new Terminal for this change to take effect, or execute source ~/.profile.

Install custom recovery and backup

You may skip this step if you already have a recovery and backup method that you like.

Plug your phone into your computer via USB. Boot your phone into bootloader (power it off, then hold down power+trackball until it turns on). It should boot into a page with coloured text on a white background. While here, take note of the fourth line down, which should read MICROP-0b15 or MICROP-0c15. If you see 0b15, you have an AMOLED screen. If you see 0c15, you have an SLCD screen. This will not be relevant for this installation, but it is good to know which model of Nexus One you have.

 It is also vital that you look at the HBOOT version written in the top few lines.  It will probably begin with 0.33 or 0.35.
 Assuming you have downloaded the current version of BlackRose (you should) then where this article refers to 'go2.lol' you must substitute 'go33.lol' or 'go35.lol' respectively.
 Failure to use the correct goX.lol file may result in the process freezing until you remove the battery.

On your computer, open a Terminal and navigate to where you stored the CWM .img file. For me this was:

cd ~/android/cwm5

Then ensure that your phone is in bootloader mode:

fastboot devices

You should see a serial number representing your phone, like so:

HTXXXXXXXXXX fastboot

If you do not, fastboot is not seeing your phone, or it is not correctly set in your path. Ensure you have the SDK installed, and that you have booted into the bootloader screen, and that your phone is connected via USB. If you have not added fastboot to your path, copy the CWM .img file to wherever the fastboot program is installed and run all fastboot steps from there (in my case this would be cd ~/android/android-sdk-macosx/platform-tools). Otherwise, continue. We will install CWM 5.0.2.0 and reboot. Execute:

fastboot flash recovery recovery-clockwork-5.0.2.0-passion.img

fastboot reboot-bootloader

Once rebooted, select 'BOOTLOADER'. Wait a few seconds for some lines of text to appear and disappear, then select 'RECOVERY'. The phone will vibrate and the Nexus X will appear, then it will enter CWM.

While in CWM, use the volume buttons to move up and down menu options, and click the trackball to select them. If you need to go back up to the main menu from a submenu, press the power button.

From the main menu, select 'backup and restore'. You should be in the Nandroid backup screen. Select 'Backup'. It will take a few minutes to backup your phone. Keep in mind the next steps will wipe all data on your phone and SD card, so ensure you have backed up or copied everything that you want to keep, including app data, SMS messages, call logs, and phone numbers.

Once the backup is complete, you will be returned to the main page of CWM. Navigate down to 'mounts and storage' and select it. Navigate down to 'mount USB storage' and select it. Your SD card will be mounted to your computer. Find your SD card in Finder (or Windows Explorer, or some file manager) and navigate to clockworkmod/backup. There will be a date and time stamped folder containing the backup you just made. Copy it to your computer. You may also wish to backup the rest of the contents of your SD card. Once this is done, unmount/eject the SD card from your computer, then click 'Unmount' in CWM.

From the main menu of CWM, select 'power off'.

Wiping your phone

You may skip this step if you already know how to wipe your phone.

Boot up your phone. Go to 'Settings' -> 'Privacy' -> 'Factory Data Reset'. You will be asked if you really want to reset your phone, and if you would like to clear your SD card as well. Do both. This will delete everything on your phone!

Power it off once done, and reboot into bootloader (power button + trackball). Select BOOTLOADER, then RECOVERY to enter CWM. Now select 'wipe data/factory reset'. Find the option 'Yes -- delete all user data' and select it. Then, from the main screen, select 'wipe cache partition'. Again, find the yes option and select it.

While we are in CWM we will partition your SD card with an ext partition to use a2sd eventually. From the main menu of CWM, click 'advanced'. Navigate down to 'Partition SD Card'. Select it, beware that this will wipe your SD card again if you haven't done so already. I selected a 1GB ext partition and 0 swap. It is not recommended to have an ext partition much bigger than 1GB. This may take a very long time, 10 to 15 minutes, during which it may seem like the phone is frozen. Touch nothing until it is done. Then power off the phone.

Installing BlackRose

Reboot your phone into fastboot mode and ensure it is still connected by USB. Unzip blackrose_manual_111231.zip to somewhere and navigate there in Terminal. For me this is:

cd ~/android/blackrose_manual_111231

Copy texasice's custom hboot scheme (hboot_220-16-200.nb0) to this directory if it is not already there. Once there, we will install the BlackRose exploit and then the new partition scheme:

NOTE: If you are on Linux or Windows, you must use the version of fastboot for that platform: fastboot-m is for Mac OS X.

./fastboot-m boot go2.lol

 The phone will reboot and stop on the Nexus X screen. Note (see above) the correct file may be named go33.lol or go35.lol rather than go2.lol

./fastboot-m flash hboot hboot_blackrose.nb0

 If this process freezes here, you have used the incorrect goXX.lol file.  
 Find your HBOOT version at the top of the FastBoot screen, download the latest version of BlackRose, and do over with the correct goXX.lol file.

./fastboot-m flash hboot hboot_220-16-200.nb0

./fastboot-m reboot-bootloader

This will reboot into the bootloader. The top of the screen should now read *** BlackRose ***. Now we will have to reflash CWM.

Reflashing CWM and installing TICS

You may skip this step if you already know how to flash a custom recovery and install a ROM from the SD card. Just use the latest flashable zip of TICS.

Navigate to wherever you have stored the CWM .img and reflash it:

cd ~/android/cwm5

fastboot flash recovery recovery-clockwork-5.0.2.0-passion.img

fastboot reboot-bootloader

This will reboot into fastboot mode. Select BOOTLOADER then RECOVERY to enter CWM. Select 'mounts and storage' then 'mount USB storage' to mount the SD card to your computer, as before. This time, the SD card will be blank, because you have wiped it. Copy the flashable zip of TexasICS (Evervolv-Perdo-2.1.0p7-passion.zip) from your computer to your SD card. Once it is done copying, eject/unmount the SD card from your computer. Then, select 'Unmount' in CWM.

Press the power button to go back up to the main menu of CWM. Navigate down to 'install zip from sdcard' and select it. Select 'choose zip from sdcard'. Select 'Evervolv-Perdo-2.1.0p7-passion.zip'. This will install TICS. It may take many minutes, and nothing may happen for several minutes. Touch nothing. It will eventually finish ("Install from sdcard complete"). You can now reboot the phone. ICS should be installed.

If you appreciate ICS on your Nexus One, here is the link to texasice's donation page: http://forum.xda-developers.com/donatetome.php?u=2115150

Troubleshooting

Sleep of Death

Once booted into ICS, you may find that the screen cannot turn back on once it goes to sleep. This is the Sleep of Death.

First, ensure your phone is plugged into your computer via USB. This allows you to reboot the phone using adb reboot instead of having to do a battery pull.

The solution is to repartition your SD card. If the phone is already asleep, use adb reboot-bootloader. Enter CWM and partition the SD card again, 1GB ext and 0 swap should work. Reboot into ICS and check if the Sleep of Death is gone. You may also wish to reformat the ext partition using a2sd on your phone. Alternatively, removing the SD card from the phone should allow ICS to run without the SoD.

External links

Personal tools