Mac Root for 2.1 guide?

I got the platform tools folder, still saying command not found. and the adb IS in there
 
Ok, now, going great until...


john-keysers-macbook:platform-tools johnkeyser$ adb push unrevoked /sdcard
-bash: adb: command not found
john-keysers-macbook:platform-tools johnkeyser$ ./adb push unrevoked /sdcard
cannot stat 'unrevoked': No such file or directory
john-keysers-macbook:platform-tools johnkeyser$ ./adb push unrevoked /sdcard
1452 KB/s (439327 bytes in 0.295s)
john-keysers-macbook:platform-tools johnkeyser$ ./adb push recovery.img /sdcard
1299 KB/s (3356672 bytes in 2.522s)
john-keysers-macbook:platform-tools johnkeyser$ ./abd push boot-patched.zip /sdcard
-bash: ./abd: No such file or directory
john-keysers-macbook:platform-tools johnkeyser$ ./adb push boot-patched.zip /sdcard
1216 KB/s (2279194 bytes in 1.829s)
john-keysers-macbook:platform-tools johnkeyser$ adb shell
-bash: adb: command not found
john-keysers-macbook:platform-tools johnkeyser$ ./adb shell
$ sh /sdcard/unrevoked
Unpacking, please wait...

Unable to chmod /data/DxDrm/unrevoked.2152: No such file or directory
/sdcard/unrevoked: /data/DxDrm/unrevoked.2152: not found
rm failed for /data/DxDrm/unrevoked.2152, No such file or directory
$
 
But Astro is showing that Unrevoked did make it to the sdcard, so, hmm...
Terminal is not recognizing it
 
But Astro is showing that Unrevoked did make it to the sdcard, so, hmm...
Terminal is not recognizing it

yeah, for some reason Terminal is not recognizing the commands. Try re-starting the computer and begin where you last left off at the "adb shell" part. Bookmark any internet windows you have open for easy access.

When you did adb devices did your phones serial number appear?
 
Yes my phone serial number appeared.
Here is after restart:


Last login: Mon Dec 20 10:37:49 on console
john-keysers-macbook:~ johnkeyser$ cd /users/johnkeyser/android-sdk-mac_86/platform-tools
john-keysers-macbook:platform-tools johnkeyser$ ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
HT05XHF03607 device

john-keysers-macbook:platform-tools johnkeyser$ ./adb shell
$ sh /sdcard/unrevoked
Unpacking, please wait...

Unable to chmod /data/DxDrm/unrevoked.656: No such file or directory
/sdcard/unrevoked: /data/DxDrm/unrevoked.656: not found
rm failed for /data/DxDrm/unrevoked.656, No such file or directory
$
 
Delete the files from the sd card and push them again. It looks like adb is working.
 
I did, then:


john-keysers-macbook:platform-tools johnkeyser$ adb devices
-bash: adb: command not found
john-keysers-macbook:platform-tools johnkeyser$ ./adb devices
List of devices attached
HT05XHF03607 device

john-keysers-macbook:platform-tools johnkeyser$ ./adb push unrevoked /sdcard
939 KB/s (439327 bytes in 0.456s)
john-keysers-macbook:platform-tools johnkeyser$ ./adb push recovery.img /sdcard
1251 KB/s (3356672 bytes in 2.619s)
john-keysers-macbook:platform-tools johnkeyser$ ./adb push boot-patched.zip /sdcard
1260 KB/s (2279194 bytes in 1.766s)
john-keysers-macbook:platform-tools johnkeyser$ ./adb shell
$ sh /sdcard/unrevoked
Unpacking, please wait...

Unable to chmod /data/DxDrm/unrevoked.1178: No such file or directory
/sdcard/unrevoked: /data/DxDrm/unrevoked.1178: not found
rm failed for /data/DxDrm/unrevoked.1178, No such file or directory
$ sh ./adb shell/unrevoked
sh: Can't open ./adb
$
$
 
big oops on my part. I forgot you were on the ".2" update from Sprint and didn't realize until now that it's the newest from Sprint.

The thread I linked you to may not work, which explains the error when running the sh command. Sorry about that.

Look here: [ROOT] Easy Root, works with any Stock ROM (Including 2.31.651.7!) - xda-developers

The thread is for the ".7" update (prior update than the ".2") and people are reporting it as working for ".2".
 
The process is basically the same. Start by downloading the .zip file and unzipping the contents into the sdk/tools folder.

cd (into your tools directory)

then start at "adb push..."
 
When you did this part:
Now execute the exploit:

Code:
adb shell
/data/local/tmp/rageagainstthecage-arm5.bin

What happened?
 
This:


john-keysers-macbook:~ johnkeyser$ cd /users/johnkeyser/android-sdk-mac_86/toolsjohn-keysers-macbook:tools johnkeyser$ ./adb shell /data/local/tmp/rageagainstthecage-arm5.bin
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...
[+] RLIMIT_NPROC={1584, 1584}
[*] Searching for adb ...
[+] Found adb as PID 2287
[*] Spawning children. Dont type anything and wait for reset!
[*]
[*] If you like what we are doing you can send us PayPal money to
[*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.
[*] If you are a company and feel like you profit from our work,
[*] we also accept donations > 1000 USD!
[*]
[*] adb connection will be reset. restart adb server on desktop and re-login.
john-keysers-macbook:tools johnkeyser$ exit
logout

[Process completed]
 
After I execute the exploit and restart terminal:


Last login: Mon Dec 20 13:46:33 on ttys000
john-keysers-macbook:~ johnkeyser$ cd /users/johnkeyser/android-sdk-mac_86/tools
john-keysers-macbook:tools johnkeyser$ ./adb kill-server
john-keysers-macbook:tools johnkeyser$ ./adb start-server
john-keysers-macbook:tools johnkeyser$ ./adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
$

The dollar sign where the pound sign should be. Maybe the command for mount is different on a Mac?
 
The mount command is the same. Try and run the exploit again then kill-server, restart-server.
 
$ john-keysers-macbook:tools johnkeyser$ ./adb shell /data/local/tmp/rageagainstecage-arm5.bin
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...
[+] RLIMIT_NPROC={1584, 1584}
[*] Searching for adb ...
[+] Found adb as PID 2287
[*] Spawning children. Dont type anything and wait for reset!
[*]
[*] If you like what we are doing you can send us PayPal money to
[*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.
[*] If you are a company and feel like you profit from our work,
[*] we also accept donations > 1000 USD!
[*]
[*] adb connection will be reset. restart adb server on desktop and re-login.
john-keysers-macbook:tools johnkeyser$ ./adb kill-server
john-keysers-macbook:tools johnkeyser$ ./adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
john-keysers-macbook:tools johnkeyser$ ./adb shell
$

Same.
 
After you run the exploit and type "exit", close the terminal window and re-open it. Then type adb shell and see what happens.

I saw your post on XDA, hopefully more people chime in. I would edit your post to mention that you have run the exploit a few times and it appears to have been a success and still no #.
 

Forum statistics

Threads
955,451
Messages
6,964,840
Members
3,163,282
Latest member
dobebmo1