Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Kamar234
Old
#1  
Senior Member - OP
Thanks Meter 8
Posts: 261
Join Date: Nov 2009
Location: New York
Default help rooting CDMA Hero on windows 7 64 bit

I have been following the unlock instructions on these posts on how to unlock the Hero, but I am having some trouble. When to comes to making the adb shell, it just doesn't do it. It shows a dollar sign and says that the request is denied. I just don't get what I'm doing wrong. Are there extra steps for me because there are x86 files? If I have to put the android sdk into the program files x86 folder, how would I enter that into the commander? Any help would be appreciated guys, this is driving me crazy.
 
jonnythan
Old
#2  
jonnythan's Avatar
Senior Member
Thanks Meter 33
Posts: 912
Join Date: Oct 2008
OK so you get to the dollar sign. What do you do then?
 
simplyphp
Old
#3  
Senior Member
Thanks Meter 16
Posts: 196
Join Date: Nov 2009
Quote:
Originally Posted by Kamar234 View Post
I have been following the unlock instructions on these posts on how to unlock the Hero, but I am having some trouble. When to comes to making the adb shell, it just doesn't do it. It shows a dollar sign and says that the request is denied. I just don't get what I'm doing wrong. Are there extra steps for me because there are x86 files? If I have to put the android sdk into the program files x86 folder, how would I enter that into the commander? Any help would be appreciated guys, this is driving me crazy.
Just extract the sdk so its a folder. Then go to Start->Run-> type cmd.exe in the box that opens. Now navigate to where you extracted the sdk folder. If you extracted it straight onto the c:\ drive at top level, you'd do something like this:
Code:
cd c:\android-sdk\tools
That will get you into the directory that has adb.exe

Now follow the instructions in the "how to root" thread.
 
Kamar234
Old
#4  
Senior Member - OP
Thanks Meter 8
Posts: 261
Join Date: Nov 2009
Location: New York
I can get down to the point where I execute the adp push and all the lines come up saying that the adp is restarted and there is obviously a command that is executed.
adb shell
chmod 0755 /data/local/asroot2

this part is when it says access is denied. I follow everything perfectly, but I just don't get it.
 
jonnythan
Old
#5  
jonnythan's Avatar
Senior Member
Thanks Meter 33
Posts: 912
Join Date: Oct 2008
Oh, easy.

Type "su" and hit enter.

The dollar sign prompt indicates you are running as a regular user. Run su and it will give you a # prompt indicating you are running as root.

Then do the chmod.
 
Kamar234
Old
#6  
Senior Member - OP
Thanks Meter 8
Posts: 261
Join Date: Nov 2009
Location: New York
It specifically says after entering this line
/data/local/asroot2 /system/bin/sh

system cannot find the path specified. Any ideas?
 
Kamar234
Old
#7  
Senior Member - OP
Thanks Meter 8
Posts: 261
Join Date: Nov 2009
Location: New York
so when the dollar sign comes up, just type su and hit enter, that's it?
 
simplyphp
Old
#8  
Senior Member
Thanks Meter 16
Posts: 196
Join Date: Nov 2009
Quote:
Originally Posted by Kamar234 View Post
It specifically says after entering this line
/data/local/asroot2 /system/bin/sh

system cannot find the path specified. Any ideas?
Are you sure the asroot2 file has been copied over to your phone? What I did is extract asroot2 into the tools folder, so that I could just say adb push asroot2 /data/local/

My suggestion is to make sure the file is in /data/local/

Also, here is the full thing taken from the other thread:
Code:
adb push /directory_you_placed_asroot2/asroot2 /data/local/
adb shell
chmod 0755 /data/local/asroot2
/data/local/asroot2 /system/bin/sh
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4755 su
 
Kamar234
Old
#9  
Senior Member - OP
Thanks Meter 8
Posts: 261
Join Date: Nov 2009
Location: New York
Yup, I put it in the tool folder within the android sdk. I am using the 1.5 sdk as well.
 
Kamar234
Old
#10  
Senior Member - OP
Thanks Meter 8
Posts: 261
Join Date: Nov 2009
Location: New York
I just really can't understand what I'm doing wrong

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Go to top of page...

XDA PORTAL POSTS

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more