Introduction:



CREDITS

Warning:

Neither I, nor xda-developers.com, is responsible if this process bricks your phone. Sometimes, the unforeseeable will happen. Sometimes, you will make a mistake. Although this process is relatively safe, if your phone becomes bricked, we do not and will not provide support or replacements for your bricked phone.

Index:

adb shell mount -o rw,remount /dev/block/mtdblock3 /system

adb push recovery.img /sdcard

adb push flash_image /system/bin

adb shell chmod 755 /system/bin/flash_image

adb shell flash_image recovery /sdcard/recovery.img

This walkthrough will take you through rooting a stock 1.5 Eris. After following the walkthrough, you will have a rooted 2.1 Eris.Unfortunately, this will NOT help people who upgraded to the Leaked 2.1 ROM. For now, there is no way to fix your issue.GrdLock for his walkthrough in androidforums - it inspired this one and much of the info came from his walkthroughcaboose for finding the rooted dev ROMamon_ra for the recovery consoleivanmmj for rooting the 2.1 ROMI: Gaining root: an unlocked hbootII: Prerequisites: Tools to flashIII: Flashing a rooted/modded recoveryIV: Flashing a custom ROM (rooted version of leaked 2.1 ROM)An unlocked hboot will allows us to flash in a modified IMG ROM signed with test keys as supposed to requiring an official ROM from HTC. This will open us to be able to flash a modified recovery.Download this file: PB00IMG.zip (md5: 63eacc5ede3b179f95dc22d8ef585f94)

Place PB00IMG.zip onto the root directory of your sdcard.Power down your phone.Hold Volume Down while you Power On. This should bring you to a screen saying "HBOOT" and some other stuff. Wait for it to load the image, and it will say Push Activate. Push the trackball button to continue. The process will take around 5-10 minutes. The first time your phone boots up it will take a lot longer than normal.- Android SDK - These instructions are for Windows XP. You must adapt them to your version of Windows.First we must install the Android SDK as it has the tools we need for both this walkthrough as well as to make your life in the Android world easier.Visit the Android SDK site.Visit the Java site and download the latest JavaExtract the Android SDK zip file unto c:\AndroidSDK\Double click on SDK Setup.exeMany times, you will need to click on Settings and check the box to force HTTP instead of HTTPS.Choose to download the USB drivers package. Nothing else is required.Enable your phone's USB debugging mode: Settings > Applications > Development > check USB DebuggingConnect your phone via USB to your PC.Right-click My Computer > Properties, click on Hardware, and go to Device Manager. You should see a device with a yellow exclamation next to it, this is your phone (if you don't see it you probably forgot to enable USB debugging mode)Right-click the device, select Update Driver. Browse to your Android SDK directory, and you should see a "USB Driver" folder in it now. If you don't, you forgot to download the USB Driver package when in "SDK Setup.exe". Select the driver in that folder.To make life easier, lets add a global path to the android SDK tools. Right-click My Computer > Properties, click on Advanced, then click on Environment Variables. Doubleclick on PATH, then at the end of the Variable value, add a semi colon ";" and then c:\AndroidSDK\toolsFlashing a custom recovery will make your life easier when flashing ROMs in the future.Download this file: Recovery.zip

Extract file contents to your \tools\ directory of your Android SDK.Open up a command prompt and go to your tools directory, and execute these commands:Success! You now have a recovery partition installed on your phone. You can access it by running "adb shell reboot recovery" or by powering off your phone, holding "Volume Up + Power On"Download the Rooted 2.1 v0.8T2 zip file.Copy the WHOLE zip file to the root directory of your SD card. (You can enable USB-MS enable from your shiny new recovery to mount your phone as a USB Mass Storage device.)Choose Wipe. Choose data/factory Reset (In the stock ROM, the dalvik is stored in the data and you don't have an EXT partition... yet.)Choose Flash zip from sdcard. Find the eris_0_3.zip file.Wait until it shows as complete and choose reboot system now.CONGRATULATIONS! You now have a rooted 2.1 phone!