Go Back   Android Forums > Android Phones > HTC Hero (Sprint) > Sprint Hero - All Things Root
Sprint Hero - All Things Root Rooting, ROMS, Overclocking, etc.

New Forums: Nexus Player | Nexus 9
test: Reply
 
LinkBack Thread Tools
Old April 29th, 2010, 01:25 AM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Tampa
Posts: 73
 
Device(s): HTC Hero --->>EVO 3D (This phone Rocks!)
Carrier: Not Provided

Thanks: 9
Thanked 5 Times in 5 Posts
Default Root failed after step 15, adb shell

So I decided to manually root my phone, initially I had a device come up and everything was really smooth until step 15
1: Code:
cd C:\android-sdk-windows\tools
2: Code:
adb devices
If you've been following this guide you will see your phone's serial number. If you get "device not found" error, you either need to make sure you the drivers were properly installed or make sure you enable USB debugging AFTER you connect the USB cable. Continue on once you get the proper phone serial output.
3: Code:
adb push asroot2 /data/local/
4: Code:
adb shell
5: Code:
chmod 0755 /data/local/asroot2
6: Code:
/data/local/asroot2 /system/bin/sh
You should see an output that says:
$ /data/local/asroot2 /system/bin/sh
[+] Using newer pope_inode_info layout
Opening: /proc/857/fd/3
SUCCESS: Enjoy the shell.
#
Now for a few last commands.
7: Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
8: Code:
cd /system/bin
9: Code:
cat sh > su
10: Code:
chmod 4755 su
You are now officially rooted. A few more steps and you will have flashed the recovery image.
11: Code:
exit
12: Code:
exit
13: Code:
adb push recovery-RA-heroc-v1.5.2.img /sdcard
Pushing is equivalent of copy the file to the root of your sdcard. By the time you finished reading this it should be done. You'll know its done because the ouput will say something like transferred X bytes in X secs.
14: Code:
adb shell reboot
This will cause the phone to restart automatically. Wait till it is fully booted to continue.
15: Code:
adb shell
Now I receive the following Error:
error: device not found

I tried to reboot the phone but there was not change.

I tried the following
C:\android-sdk-windows\tools>adb kill-server

C:\android-sdk-windows\tools>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached

I was hoping to get my original device listed, but I still have nothing.


Thanks much in advance, and Yes I did search the forums.

I appreciate the help

Brandon

Advertisements
brandonpaz is offline  
Reply With Quote
sponsored links
Old April 29th, 2010, 01:32 AM   #2 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Tampa
Posts: 73
 
Device(s): HTC Hero --->>EVO 3D (This phone Rocks!)
Carrier: Not Provided

Thanks: 9
Thanked 5 Times in 5 Posts
Default

Sorry to bother you all, I figured it out, after the reboot it turned off USB debugging and that was the cause of the issue. I turned it on and once again I could pull up my device. I tried to delete this post.

thx all
brandonpaz is offline  
Reply With Quote
The Following User Says Thank You to brandonpaz For This Useful Post:
mysticmead (April 29th, 2010)
Old April 29th, 2010, 07:50 AM   #3 (permalink)
Senior Member
 
mysticmead's Avatar
 
Join Date: Nov 2009
Location: Kingston, GA
Posts: 1,348
 
Device(s): Epic 4g~Rooted~Froyo DK28 Sprint Hero~Rooted~Froyo
Carrier: Not Provided

Thanks: 15
Thanked 179 Times in 155 Posts
Default

glad you got it figured out. also glad that you posted the fix so it might help others in the future.
__________________
Rooted ~ SyndicateROM
Remember its better to be caught with your Kilt up instead of your pants down. Get your Utilikilt today!

mysticmead is offline  
Reply With Quote
Old April 29th, 2010, 12:10 PM   #4 (permalink)
Junior Member
 
Join Date: Apr 2010
Posts: 33
 
Device(s): Sprint HTC Evo 4G (Sprint ROM)
Carrier: Not Provided

Thanks: 3
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by brandonpaz View Post
Sorry to bother you all, I figured it out, after the reboot it turned off USB debugging and that was the cause of the issue. I turned it on and once again I could pull up my device. I tried to delete this post.

thx all
I ran into the same scenario, perhaps the sticky should be updated as well. Requires a little troubleshooting which is an acquired talent.
tech1greek is offline  
Reply With Quote
Old April 29th, 2010, 12:32 PM   #5 (permalink)
Senior Member
 
ccapasso's Avatar
 
Join Date: Jan 2010
Posts: 1,127
 
Device(s): HTC EVO 4G - Myn 2.2 RLS4
Carrier: Not Provided

Thanks: 4
Thanked 279 Times in 179 Posts
Default

Quote:
Originally Posted by tech1greek View Post
I ran into the same scenario, perhaps the sticky should be updated as well. Requires a little troubleshooting which is an acquired talent.

It is in there . Just not right after step 15, it is actually stated to make sure that USB Debugging Is still enabled. However, I'll go ahead and add it in as a tip
ccapasso is offline  
Reply With Quote
Old April 29th, 2010, 03:41 PM   #6 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Tampa
Posts: 73
 
Device(s): HTC Hero --->>EVO 3D (This phone Rocks!)
Carrier: Not Provided

Thanks: 9
Thanked 5 Times in 5 Posts
Default

Thanks all, Hopefully my misfortune will help out some others.

paz
brandonpaz is offline  
Reply With Quote
Old May 1st, 2010, 01:43 PM   #7 (permalink)
Junior Member
 
Jero's Avatar
 
Join Date: Jan 2010
Location: San Francisco
Posts: 23
 
Device(s): HTC Hero
Carrier: Not Provided

Thanks: 7
Thanked 0 Times in 0 Posts
Default

I just got stuck on Step: 18...

It says:

C:\android-sdk-windows\tools>adb shell
# su
su
# cd /sdcard/
cd /sdcard/
# flash_image recovery recovery-RA-heroc-v1.5.2.img
flash_image recovery recovery-RA-heroc-v1.5.2.img
flash_image: not found
#

Any ideas? The flash image is in the tools folder.

Help!
Jero is offline  
Reply With Quote
Old May 1st, 2010, 02:26 PM   #8 (permalink)
Senior Member
 
ccapasso's Avatar
 
Join Date: Jan 2010
Posts: 1,127
 
Device(s): HTC EVO 4G - Myn 2.2 RLS4
Carrier: Not Provided

Thanks: 4
Thanked 279 Times in 179 Posts
Default

Quote:
Originally Posted by Jero View Post
I just got stuck on Step: 18...

It says:

C:\android-sdk-windows\tools>adb shell
# su
su
# cd /sdcard/
cd /sdcard/
# flash_image recovery recovery-RA-heroc-v1.5.2.img
flash_image recovery recovery-RA-heroc-v1.5.2.img
flash_image: not found
#

Any ideas? The flash image is in the tools folder.

Help!
Please don't do this. There is absolutely no need to make repetitive posts about the same thing. I answered your question already in the post you made.
ccapasso is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > HTC Hero (Sprint) > Sprint Hero - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:55 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.