PDA

View Full Version : Problem rooting HTC Evo 4G



temporos
October 21st, 2012, 12:44 AM
I can't figure this one out. Maybe someone here can. I'm running Lubuntu 12.04, and I'm trying to root my HTC Evo 4G (circa Feb 2011). Here are some stats on it...


HBOOT: 2.18.0001
USB debugging: On
USB Mode: charge only
Mode: S-On


I can get to the bootloader, and it seems LXDE recognizes that the phone is plugged in, because I'm offered the "Fastboot USB" header in the HTC bootloader. When I try to root it, though, I get this:

$ ./fastboot oem get_identifier_token
< waiting for device >

And it just sits there like that forever. It looks like it's not recognizing that the device is connected, so I ran this:

$ ./adb devices
List of devices attached

$

Looks there like the device isn't being detected. But then, look at this.

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 13d3:5108 IMC Networks
Bus 002 Device 002: ID 045e:00f0 Microsoft Corp.
Bus 001 Device 004: ID 0bb4:0fff High Tech Computer Corp. Android Fastboot Bootloader

So the kernel does recognize the device and sees that it's connected to the USB port. What's going on? I'm stumped.

rootyourbrain
October 22nd, 2012, 10:31 PM
I can't figure this one out. Maybe someone here can. I'm running Lubuntu 12.04, and I'm trying to root my HTC Evo 4G (circa Feb 2011). Here are some stats on it...


HBOOT: 2.18.0001
USB debugging: On
USB Mode: charge only
Mode: S-On


I can get to the bootloader, and it seems LXDE recognizes that the phone is plugged in, because I'm offered the "Fastboot USB" header in the HTC bootloader. When I try to root it, though, I get this:

$ ./fastboot oem get_identifier_token
< waiting for device >

And it just sits there like that forever. It looks like it's not recognizing that the device is connected, so I ran this:

$ ./adb devices
List of devices attached

$

Looks there like the device isn't being detected. But then, look at this.

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 13d3:5108 IMC Networks
Bus 002 Device 002: ID 045e:00f0 Microsoft Corp.
Bus 001 Device 004: ID 0bb4:0fff High Tech Computer Corp. Android Fastboot Bootloader

So the kernel does recognize the device and sees that it's connected to the USB port. What's going on? I'm stumped.

Okay. I've seen this before, but with two different types of phones. (LG Optimus && Samsung S 4G)

According to the source that worked for me:
"
1.) gedit /etc/udev/rules.d/51-android.rules (as root)
2.) Paste the following:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
3.) Save and Exit.

**If you notice idVendor =="0bb4" <<-- That's HTC**

Then in the terminal:
./adb kill-server
./adb start-server
./adb devices (should now show your device info.)

Hope this helps.

temporos
January 17th, 2013, 04:17 AM
1.) gedit /etc/udev/rules.d/51-android.rules (as root)
2.) Paste the following:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
3.) Save and Exit.

**If you notice idVendor =="0bb4" <<-- That's HTC**

Then in the terminal:
./adb kill-server
./adb start-server
./adb devices (should now show your device info.)

That didn't work, unfortunately. After much banging of head on wall, however, I found a solution (finally). It's much like yours.


Navigate in file manager to /etc/udev/rules.d directory.
Click Tools > Open Current Folder as Root.
Enter your password at the prompt and click "OK." A new file manager window will open. Use this new window for the rest of these instructions.
Right-click on file 51-android.rules and open using gedit or leafpad. If 51-android.rules doesn't exist, create a new gedit/leafpad file and save it as this file.
In line 1, copy/paste everything in red. # fastboot/adb protocol on doubleshot (MT4GS)
In line 2, copy/paste everything in red. SUBSYSTEM=="usb", SYSFS{idVendor}=="0e79", MODE="0666", OWNER="<username>"
Replace <username> with your personal username.
Click File > Save.
Click File > Exit.
Save your work in all open apps and log-out.
Log-in and attempt to root device.