PROCEED WITH CAUTION - I AM NOT RESPONSIBLE IF YOU BRICK / RUIN YOUR PHONE IN ANY WAYPreparing your Phone to get Root- BEFORE ATTEMPTING THIS PROCESS I WOULD HAVE A FULLY CHARGED BATTERY / THE PHONE PLUGGED INTO A POWER SOURCE -
1 Format your phone's SD card to FAT32 mode:
Hook your phone up to your computer using a USB cable & then wait for the notification to show up in your title bar of your phone.
Click the notification, & then click "Mount".
A new removable disk should show up on your computer. Right click it & select Format, & select FAT32 as the file system type.
2 Download & unzip the RC29 image file, unzip the file & copy the "DREAIMG.nbh" file to the root of your SD card. Confirm the name of the file is exactly this: DREAIMG.nbh
Location of the RC29 Image: http://android-roms.googlecode.com/files/DREAIMG-RC29.zip
3 Turn the device power off.
4 Hold Camera button, & press Power button to entry bootloader mode.
You should see a gray/white screen with instructions to flash your phone with the update on your SD card. If you don't see that, make sure you followed the instructions properly.
5 As per the on-screen instructions, press the Power button to start the upgrade process. DURING THIS PROCESS DO NOT DO ANYTHING TO INTERRUPT THE PROCESS!
6 After the upgrade is finished, restart the phone (you can restart by pressing Home+Back)
- You have now successfully downgraded your phone which will allow you to gain root access -Rooting your Phone
- On RC29 phones & lower, anything you type into your keyboard is also being run in a hidden console with root permissions. -
To get root access, do the following:
1 Download recovery.img & copy it to your SD card (see the previous instructions on how to copy from your computer to your Phone's SD card). Confirm file is named "recovery.img"
Location of the recovery.img: http://android-roms.googlecode.com/files/recovery.img
2 Download the Hard SPL & copy the zip file to the SD card. Rename this file to "update.zip".
Location of the Hard SPL: http://android-roms.googlecode.com/files/splhard1_update_signed.zip
3 Make sure both files are on the root of your SD card.
4 Restart your phone normally & wait for your phone to start up fully & show the home screen.
5 After your phone starts up, hit the enter key twice, type "telnetd" & press enter. (Yes, it will start up a contact search, don't worry. Just type it.)(You can also use Terminal to enter these cmds)
6 Turn on your WiFi Radio & connect to your Wireless Network, once connected ... Download & install an Application from the Market "Telnet" & connect to localhost.
7 If you connect successfully, you will have a root prompt "#".
8 Type the following into Telnet (these commands will give you root access easier in the future):
(The above changes the /system partition from read only to read/write)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
flash_image recovery recovery.img
cat recovery.img > /system/recovery.img If your phone hangs a second wipe may be needed - You now have root - Installed the Hard SPL
This will allow you to apply flash images from other regions (like UK on US phones, & vice versa), create full backups of your phone, install the latest build from the Android source, & usually resurrect your phone if it is "bricked".
1 Power off your phone.
2 Press & hold Home & then press Power to boot up into recovery mode.
3 You will now enter recovery mode. You should see an exclamation.
4 If you do not see a menu / text on screen, press ALT-L to show the menu.
5 Press ALT-S to apply the update from the SD card.
6 After the update is complete, hold Home & press Back to restart.- You've now applied the Hard SPL to your phone - Installing the Latest Custom ROM
1 Download the build.
2 Rename it to "update.zip".
3 Copy it to the root of your phone's SD card.
4 Turn your phone off.
5 Start up in recovery mode by holding Home & pressing Power.
6 Press ALT-W to wipe your device. (You need to do this, or the device may hang during startup)
7 Press ALT-S to apply the update.Latest Build Table
If installing the haykuro 6.0HTC r1 Build you must first install the Radio 220.127.116.11I & then the SPL 1.33.2005.I must caution you because at this time the process to flash the new SPL has caused some people to brick their phones to the point that it is unrecoverable by any meansIf you go from the RC29 Image to a Cupcake Build you will need to flash the JF Recovery
|JF's RC33 v1.42||USA T-Mobile Release Candidate, Root, Multi-Touch & Busybox ||http://android-roms.googlecode.com/files/JFv1.42_RC33.zip|
|JF's ADP 1.1 v1.43 (Holiday)||Android Dev Phone 1 Holiday Release, Root, Multi-Touch & Busybox||http://jf.odiness.com/v1.43/JFv1.43_Holiday.zip|
|JF's RC9 v1.43||UK Release Candidate, Root, Multi-Touch & Busybox||http://jf.odiness.com/v1.43/JFv1.43_RC9.zip|
|haykuro's v5.0.2 Google (Cupcake)||Root, Busybox, Fancy Animations||http://android-roms.googlecode.com/files/haykuro_502G.zip|
|haykuro's v5.0.2 Google (Cupcake) A2SD||Root, Busybox, Fancy Animations, Apps 2 SD||http://sharebee.com/b421bf8f|
|haykuro's v5.0.2 r5 HTC (Cupcake)||Busybox, Prettiest Build, HTC VK||http://android-roms.googlecode.com/files/haykuro_502Hr5.zip|
|haykuro's v5.0.2 r5 HTC (Cupcake) A2SD||Busybox, Prettiest Build, HTC VK, Apps 2 SD||http://sharebee.com/43ba3492|
|haykuro's ADP 1.5 r3 (Cupcake)||Root, Busybox, Multi-Touch||http://android-roms.googlecode.com/files/Hv1.5r3-signed.zip|
|haykuro's ADP 1.5 r3 (Cupcake) A2SD||Root, Busybox, Multi-Touch, Apps 2 SD||http://www.droiddeveloper.com/hrbuilds/Hv1.5r3-a2sd-signed.zip|
|TheDudes v1.1 Lite (Cupcake)||Root, Busybox, AOSP + ADP1.5, No 3rd Party or Dev Apps||http://android-roms.googlecode.com/files/TheDudesCupcake1.1.lite-signed.zip|
|TheDudes v1.1 Full (Cupcake) A2SD||Root, Busybox, AOSP + ADP1.5, Apps 2 SD, 3rd Party or Dev Apps, Manup Blue Theme||http://android-roms.googlecode.com/files/TheDudesCupcake1.1.full-signed.zip|
|JF v1.51 CRB43 ADP (Cupcake) A2SD||Root, Busybox, ADP1.5, Apps 2 SD||http://android-roms.googlecode.com/files/JFv1.51_CRB43-ADP.zip|
|JF v1.51 CRB43 US (Cupcake) A2SD||Root, Busybox, USA T-Mobile Release 1.5, Apps 2 SD||http://android-roms.googlecode.com/files/JFv1.51_CRB43-US.zip|
|haykuro's 6.0HTC r1 A2SD||Root, Busybox, ADP1.5, Apps 2 SD, Requires Radio 18.104.22.168I & SPL 1.33.2005||http://android-roms.googlecode.com/files/haykuro_6.0r1-signed.zip|
Put file on root of card, renamed to "update.zip"
Reboot into Recovery & apply ALT+S
All builds are fully functional, some applications from the market may crash on you if they are not compatible with the 1.5 firmware.- WHEN SWITHCING BETWEEN DIFFERENT BRANCHES (I.E. SWITHCING FROM HAYKURO'S 502G TO JF's v1.51 CRB43 US) YOU WILL NEED TO WIPE (ALT+W FROM THE RECOVERY MENU) THE PHONE PRIOR TO APPLYING THE UPDATE. -
- IF YOU ARE JUST UPDATING THE SAME BUILD (I.E. UPGRADING FROM TheDudes v1.0 TO TheDudes v1.1) YOU DO NOT NEED TO DO A WIPE PRIOR TO APPLYING THE UPDATE. -
For the most part all of these builds are very similar, the HTC Branch has a different virtual keyboard & also is a bit prettier some would say.
The other Google / ADP builds are almost identical with the exception to the haykuro's Google Branch that has a different animation when u rotate the phone. The initial boot after this change may take a bit longer this is ok allow it some additional time to boot & load the new build.Next you will want to confirm your Radio Baseband.
To Confirm this Press Menu - Settings - About Phone - Scroll down till you see Baseband version
Compare the Basband value to the table below to see if you are using the correct radio for your build or if you need to update.To update the Radio:
1 Download the Radio zip.
2 Rename it to "update.zip".
3 Copy it to the root of your phone's SD card.
4 Turn your phone off.
5 Start up in recovery mode by holding Home & pressing Power.
6 Press ALT-S to apply the update.
7 Once the update is applied press Home+Back to reboot the phone. The Phone will start to boot up & then continue applying the update. Once this is completed the Recovery menu will ask you for the second time to reboot the phone via Home+Back
Once this is done double check the Baseband has been updated properly via: Press Menu - Settings - About Phone - Scroll down till you see Baseband version
, you should see the radio version on this row if not you will need to update the Radio again. At this point you should perform a NANDROID backup
1 Turn your phone off.
2 Hold Home, press Power button to boot into Recovery Mode
3 Press ALT+B to start the backup.
4 Once the backup has completed press Home+Back
Once your phone reboots & loads the OS, you should copy these files to your PC in case you need to recover your phone
1 Mount your SDCard to your PC
2 On your SDCard change to the nandroid/HT840GZ30985
3 Inside this folder you will see another folder the first 8 digits of this folder name is the date it was created in the YYYYMMDD format & the last four are the time.
4 Copy this entire folder to your PC & save it. As you make more backups to your phone repeat this process. I tend to append the build the backup is of i.e. 20090429-0421_ADP_Hv15_r2 So I know this build is the ADP build by haykuro version 2.- Restore Phone Via NANDROID Backup & Fastboot -
So now you've just backed up your phone & want to know how in the hell do I recover my phone with these backups I'm creating.Things you will needAndroid SDK
: http://developer.android.com/sdk/download.html?v=android-sdk-windows-1.5_r1.zipFastboot Windows Binary
: http://android-roms.googlecode.com/files/fastboot-win32.zipAndroid USB Drivers
: http://android-roms.googlecode.com/files/android_usb_windows.zip Installing the SDK
Download the Android SDK (link above) extract the files to a location on your PC i.e. C:\sdk
Next On Windows, right-click on My Computer, & select Properties. Under the Advanced tab, hit the Environment Variables button, & in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/ directory to the path.
So using the example from above the path you would be adding is c:\sdk\tools- Note that, if you update your SDK in the future, you should remember to update your PATH settings to point to the new location, if different. -
-Once the SDK is extracted & the Environment Variables updated
-Download the Fastboot Windows Binary & extract it in the same folder as adb. So using the same example you will place the files in the c:\sdk\tools
-Reboot your phone
-Turn your phone on & hold both Camera+Power
-You should now see a white screen with three androids on skateboards (If you do not see this STOP, repeat the Hard SPL Installation above)
-Take out the usb cable & connect it to your phone, now press the back key on the phone.
-In the middle of the screen your phone should now say FASTBOOT
, if it says SERIAL keep pressing back on the phone till you see FASTBOOT
-If it asks you to install drivers, then use the usb drivers above.
-If it doesn't ask you to install a driver, you need to figure out if the correct driver is loaded already.
-Right click on My Computer, & click Manage, then go to the device manager
-If you see an "ADB Interface" category at/near the top, with "HTC Dream" under it, then you're good to go. Fastboot should be working for you.
-If you don't see an "ADB Interface" category, then it's likely that windows loaded the USB Mass Storage driver for it automatically.
-In the device manager, go down to "Universal Serial Bus Controllers", & see if you have at least one "USB Mass Storage device". If you have multiple ones, you'll need to go through each to find the correct one.
-To find the correct one, right click on the USB Mass Storage device & click Properties.
-Go to the Details tab.
-In the combo box at the top that says "Device Instance Id", bring up the pull down & choose "Compatible Ids".
-If that is the correct device, then you will see 3 entries:
Once you find the correct device, go to the driver tab, & click "Update Driver". Choose "No, not this time", then "Install from a list or specific location", then "Don't search, I will choose the driver to install", & then choose the same usb driver that you used to get adb to work.
-Once you have completed this Open a Cmd Prompt (Windows Key+R, then cmd)
It should list a device in the list, if it does you are fine to flash images to your phone if not please repeat the process above. You may have to delete the android phone under the device manager.
From the NANDROID Backup you will only need to flash three files:
Copy the above three files to the directory on your Cmd Prompt or change directories through the Cmd Prompt to the location of the nandroid files either way will work.
Once the files are in the same directory that Cmd Prompt is accessing then type each cmd below followed by enter. The cmd will send & then flash the image.fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata data.img
Your phone will reboot into the OS & your back to the image you just flashed!= Setting up your phone to work with Apps 2 SD (A2SD) =
The SDcard will need two partitions, the first Fat / Fat32 & the second Ext2For the Ext2 partition I wouldn't go higher than 1.5GB cuz you may run into some issues. I was staying around the 500MB / 750MB area & it was working nice. As all the guides I've read state not to exceed the 1.5GB Marker.
After you have both partitions setup you can install the OS, then it's just a matter of setting up the symlinks & moving the apps over / installing new ones.
Now remember it may be best to do a wipe prior to installing this build if you aren't already on the same A2SD Build already.
Once the OS is installed first thing I would do is from a terminal on the phone / ADB Shell: su
busybox df -h
If you don't see a row that has /system/sd
on it then the process didn't pick up your SDCard. I'd suggest you to re-do the process.
Next if you didn't perform a wipe we'll move the data over, run these cmds either via terminal / adb shell:busybox cp -a /data/app /system/sd/
busybox cp -a /data/dalvik-cache /system/sd/ (optional)
busybox cp -a /data/data /system/sd/ (optional)
The last two cmds here are optional (they are to move the cache for each app) & some have reported issues when copying these over so if you are having issues I would leave these on the /data partition.
1 Once your done with the above, power off your phone
2 Press & hold the Home Button & press Power to boot into Recovery Mode
3 Once the recovery menu opens & it's showing you JF's custom menu press ALT+X to enter the Recovery Terminal.
4 Press enter & a prompt should come up with a "#".
Next enter these cmds:mount data
rm -rf /data/app
ln -s /system/sd/app /data/app
rm -rf /data/data (optional)
ln -s /system/sd/data /data/data (optional)
rm -rf /data/dalvik-cache (optional)
ln -s /system/sd/dalvik-cache /data/dalvik-cache (optional)
Again the 4-7 cmds are optional & for the cache only of an app, so if you moved the cache over in the above cmds then on this section you will run them as well. You must run the optional cmds in both sections for them to work, or run them in neither!
During the reboot process your phone might take a while at the android screen since it has to populate the apps tray. If it lasts >5-10 minutes then something likely went wrong. Make sure you did all the steps correctly & if you did try the steps in the recovery terminal section of this tutorial again. If it still doesn't work, post here & we'll try to get it sorted out. That aside, enjoy having your apps on SD card!Also I wouldn't suggest you moving the /data/app-private= UNROOT YOUR PHONE / PLACE PHONE BACK TO STOCK =
1 Download the DREAIMG.nbh: http://android-roms.googlecode.com/files/DREAIMG-RC29.zip
2 Place "DREAIMG.nbh" on the root of your SD card.
3 Turn your phone off.
4 Start up in bootloader mode by holding Camera & pressing Power.
5 Hit power button to start the update.
6 Once the install completes hit action(trackball down) & your phone will reboot.- You now have the stock RC29 firmware, now it will update on it's own in a bit -Quick Tips
Once you have the SDK setup you can use reboot your phone into both the recovery menu & the bootloader (Hard SPL) from the cmd prompt of the PC
-To reboot into Recovery
adb shell reboot recovery
-To reboot into bootloader
adb shell reboot bootloaderBefore applying any update / making any changes to your phone I would suggest you ALWAYS do a NANDROID backup prior to making sure you will always have a way to recover your phone in case something dire happens.
If you guys have any comments, changes etc please let me know.
EDIT: Updated Build / Radio Tables