HTC Dream Root

 

What is rooting?

On Linux systems, the superuser, or Administrator, is known as root. Gaining full system access is known as rooting, and allows you to work outside the boundaries set by <insert carrier here>.

Why should you root your Dream/G1?

  • You can HTC Dream Root - warking - Kevin(技术版)install a full Linux distribution, like Debian.
  • You can run applications that require root, like HTC Dream Root - warking - Kevin(技术版)Screenshot and HTC Dream Root - warking - Kevin(技术版)Browser Auto Rotate or any other application.
  • You can install the latest Android build directly from the Android source tree.
  • Customize your boot image.
  • Create full backups of the state of your phone.
  • Create custom ROMs.
  • Install Applications to your SD Card to save space.
  • Use your phone as a tether to connect your computer/laptop to the internet.

Sounds great! How do I do it?

Gaining root access on the Dream involves exploiting a security hole present in the RC7 (UK) and RC29 (US) versions. Unfortunately, with the advent of RC9/RC30, this bug was patched, and you must downgrade to RC29 first.

Downgrading from RC30/RC9 and up

  1. Format your phone’s SD card to FAT32 mode:

    • Hook your phone up to your computer using a USB cable and then wait for the notification to show up in your title bar of your phone.
    • Click the notification, and then click “Mount”.
    • A new removable disk should show up on your computer. Right click it and select Format, and select FAT32 as the file system type.
  2. Download and unzip the HTC Dream Root - warking - Kevin(技术版)RC29 or HTC Dream Root - warking - Kevin(技术版)RC7 image file. Copy the DREAMIMG.nbh file to the SD card. (RC29 for US, RC7 is for UK)
  3. Turn the device power off.
  4. Hold Camera button, and 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 upgrade procedure. DO NOT DO ANYTHING TO INTERRUPT THIS PROCESS.
  6. After it is finished, perform the restart your phone.

Rooting RC29 and Lower

On RC29 phones and lower, a huge exploit existed where anything you typed into your keyboard was also being run in a hidden console with root permissions.

  1. Download HTC Dream Root - warking - Kevin(技术版)recovery.img and copy it to your SD card (see the previous section on how to copy from your computer to your Phone’s SD card).
  2. Download the HTC Dream Root - warking - Kevin(技术版)Hard SPL and copy the zip file to the SD card.
  3. All files must be on the root of your SD card.
  4. Restart your phone. Wait for your phone to start up fully and show the home screen.
  5. After your phone starts up, type “telnetd” and press enter. (Yes, it will start up a contact search, don’t worry. Just type it.)
  6. Download an Android “Telnet” application HTC Dream Root - warking - Kevin(技术版)from the Market and 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):

    • mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
    • cd sdcard
    • flash_image recovery recovery.img
    • cat recovery.img > /system/recovery.img

Now you have root!

Next steps

Whether you gained root using RC29 or the downgrade method, the next steps are highly recommended. You will want to apply “Hard SPL” to your phone. HardSPL is what will allow you to apply flash images from other regions (like UK on US phones, and vice versa), create full backups of your phone, install the latest build from the Android source, and usually resurrect your phone if it is “bricked”. You have already downloaded the file to your SD card, so now you can apply it.

  1. Power off your phone.
  2. Start up in recovery mode by holding home and pressing power.
  3. You will now enter recovery mode. You should see an exclamation.
  4. If you do not see a menu 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 and press Back to restart.

Flashing using HardSPL

You can download modified images from sites such as HTC Dream Root - warking - Kevin(技术版)AndBlogs

  1. Download the image.
  2. Rename it to update.zip.
  3. Copy it to your phone’s SD card.
  4. Turn your phone off.
  5. Start up in recovery mode by holding Home and pressing Power.
  6. Press alt-W to wipe your device. (You need to do this, or the device may hang at the flashing Android screen)
  7. Press alt-S to apply the update.

Last edited on February 22, 2009 12:43 pm

By Lu Jun

80后男,就职于软件行业。习于F*** GFW。人生48%时间陪同电子设备和互联网,美剧迷,高清视频狂热者,游戏菜鸟,长期谷粉,临时果粉,略知摄影。

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.