HTC Hero Root access

August 3, 2009
  1. Download:
    1. http://developer.android.com/sdk/download.html?v=android-sdk-windows-1.5_r3.zip
    2. http://rapidshare.de/files/47972320/orange-htc-hero-uk-boot.img-28-july-2009.zip.html
  2. Install HTC Sync from your HTC device
    1. Connect device to computer using USB cable.
    2. Mount the SD card from the HTC Alerts Menu (Drag from the top of the screen).
    3. Install the sync application from the newly discovered drive in Windows.
  3. Extract the two zip files into some folder (separate folders for each zip).
  4. Go to the Android SDK folder and open the tools folder.
  5. Copy the two files from the boot image zip (1.b) into the tools folder:
    1. boot.img.insecure
    2. boot.img
  6. Shutdown the phone.
  7. Press and hold the back key and power on the phone.
    This is get you into the fastboot screen (the white screen with three androids at the bottom).
    HTC-Hero
    FastBoot Inage
  8. Connect the phone to the USB cable if it’s unplugged.
  9. On Windows, open cmd.exe (Start -> Run -> cmd.exe -> Enter):
    1. Change the directory to the tools directory you’ve created earlier.
    2.  Run fastboot.exe boot boot.img.insecure from within the tools directory.

      Output:

      downloading 'boot.img'... OKAY
       booting... OKAY
    3. Now your device will start from the given image with root access.
  10. Gain root access:
    1. In the phone’s alerts menu, click HTC Sync. This will popup the HTC Sync tool in Windows. Ignore it!
    2. In cmd type: adb.exe shell

      Output:
      #

    3. From the prompt you got (#) run the following command to mount the phone’s file system in RW mode:
      mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
  11. Add su command to your Phone
    1. Run the the following commands in the shell (#) – Run each command separately (don’t just copy-paste all the lines!):
      1.  cat /system/bin/sh > /system/bin/su
      2.  chmod 4755 /system/bin/su
  12. Reboot the phone by typing reboot in the shell (#).
  13. The phone will restart and load the original Android ROM.
  14. Enjoy the your Rooted Device

Thanks To : adq from the xde forum for the rooting info.

Installing Hebrew on HTC Hero (Android 1.5)

August 3, 2009
  1. Download:
    1. http://developer.android.com/sdk/download.html?v=android-sdk-windows-1.5_r3.zip
    2. http://rapidshare.de/files/47972320/orange-htc-hero-uk-boot.img-28-july-2009.zip.html
    3. http://firstpost.org/wp-content/uploads/2009/02/hebdroid.zip
  2. Install HTC Sync from your HTC device
    1. Connect device to computer using USB cable.
    2. Mount the SD card from the HTC Alerts Menu (Drag from the top of the screen).
    3. Install the sync application from the newly discovered drive in Windows.
  3. Extract the three zip files into some folder (separate folders for each zip).
  4. Go to the Android SDK folder and open the tools folder.
  5. Copy the two files from the boot image zip (1.b) into the tools folder:
    1. boot.img.insecure
    2. boot.img
  6. Shutdown the phone.
  7. Press and hold the back key and power on the phone.
    This is get you into the fastboot screen (the white screen with three androids at the bottom).
    HTC-Hero
    FastBoot Inage
  8. Connect the phone to the USB cable if it’s unplugged.
  9. On Windows, open cmd.exe (Start àRun à cmd.exe à Enter):
    1. Change the directory to the tools directory you’ve created earlier.
    2.  Run fastboot.exe boot boot.img.insecure from within the tools directory.

      Output:

      downloading 'boot.img'... OKAY
       booting... OKAY
    3. Now your device will start from the given image with root access.
  10. Install the fonts
    1. Once the phone has loaded, repeat the steps in 2.b to mount the SD card in Windows.
    2. Copy the font files from the zip file (1.c) to the SD card’s root folder.
    3. From the phone’s alerts menu, unmount the SD card.
  11. Gain root access:
    1. In the phone’s alerts menu, click HTC Sync. This will popup the HTC Sync tool in Windows. Ignore it!
    2. In cmd type: adb.exe shell

      Output:
      #

    3. From the prompt you got (#) run the following command to mount the phone’s file system in RW mode:
      mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
  12. Install the fonts on the phone (when you run each command the output will be the command itself):
    1. Backup the original font files by running the following commands in the shell (#) – Run each command separately (don’t just copy-paste all the lines!):
      1.  cat /system/fonts/DroidSans-Bold.ttf > /sdcard/DroidSans-Bold.ttf.back
      2.  cat /system/fonts/DroidSansMono.ttf > /sdcard/DroidSansMono.ttf.back
      3.  cat /system/fonts/DroidSans.ttf >  /sdcard/DroidSans.ttf.back
      4.  cat /system/fonts/DroidSerif-Bold.ttf > /sdcard/DroidSerif-Bold.ttf.back
      5. cat /system/fonts/DroidSerif-Regular.ttf > /sdcard/DroidSerif-Regular.ttf.back
    2. Copy the new font files from the SD card into the phones ROM:
      1.  cat /sdcard/DroidSans-Bold.ttf > /system/fonts/DroidSans-Bold.ttf 
      2.  cat /sdcard/DroidSansMono.ttf > /system/fonts/DroidSansMono.ttf 
      3.  cat /sdcard/DroidSans.ttf > /system/fonts/DroidSans.ttf 
      4.  cat /sdcard/DroidSerif-Bold.ttf > /system/fonts/DroidSerif-Bold.ttf 
      5.  cat /sdcard/DroidSerif-Regular.ttf > /system/fonts/DroidSerif-Regular.ttf
  13. Reboot the phone by typing reboot in the shell (#).
  14. The phone will restart and load the original Android ROM.
  15. Enjoy the Hebrew!
  16. To install the Hebrew keyboard follow this guide:
    http://code.google.com/p/softkeyboard/wiki/HowTo

Thanks To : adq from the xde forum for the rooting info.


Follow

Get every new post delivered to your Inbox.