[Asus  Eee Pad Transformer Prime] DeadPixl:
Trouble with CHMOD when using Motochopper on TF201

Hi,

I have a TF201 on Jelly Bean and loads of people said motochopper worked to root the TF201. I am a rooting Noob btw but I managed to figure out adb commands being used and modify the run.bat in motochopper so it actually worked on my Windows 10 PC except for one thing. There is a CHMOD command which allows the exploit read write permissions on the TF201 (I think). When I run that command either from the command line or from the batch file I get an error "Operation not Permitted" All the other adb and shell commands work but the one thing I want to run cannot because the permissions are not set. Now I have seen quite a few posts saying people have successfully rooted their TF201 using motochopper, some in these forums, so any idea why I am having this trouble? I have USB debugging on, my TF201 is using Android 4.1.1 build JRO03C_WW_epad-10.4.2.18-20121122 and Kernel version 3.1.10-00002-g599d0cf. The USB link and ADB are working fine

The modifed batch file is listed below and below that is the output on the command screen when I try to run the batch file.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::

:: Motochopper: Android root exploit

:: Windows version

::

:: Copyright (C) 2013 Dan Rosenberg (@djrbliss)

:: Modified

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::

:: Instructions:

::

:: 1. Ensure you have the latest drivers installed from your device

:: manufacturer.

::

:: 2. Put your device in debugging mode

::

:: 3. Attach it via USB

::

:: 4. Run this script in the same directory as the rest of the extracted

:: zipfile

::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

[MENTION=279333]ECHO[/MENTION] off

cd "%~dp0"

echo [*]

echo [*] Motochopper: Android root exploit (Windows version)

echo [*] v1.0

echo [*] by Dan Rosenberg (@djrbliss)

echo [*]

echo [*] Tested on the Motorola Razr HD, Razr M, Razr Maxx HD, and Atrix HD.

echo [*] Supports lots of other devices as well. ;)

echo [*]

echo [*] Before continuing, ensure that USB debugging is enabled, that you

echo [*] have the latest USB drivers installed, and that your phone

echo [*] is connected via USB.

echo [*]

echo [*] WARNING: This will likely void the warranty on your device. I am

echo [*] not responsible for any damage to your phone as a result using this

echo [*] tool.

echo [*]

echo [*] Press enter to root your phone...

pause

echo [*]

adb kill-server

echo [*] Waiting for device...

adb wait-for-device

echo [*] Device found.

echo [*] Pushing exploit...

adb push pwn /sdcard/data/local/tmp/pwn

adb shell chmod 755 /sdcard/data/local/tmp/pwn

echo [*] Pushing root tools...

adb push su /sdcard/data/local/tmp/su

adb push busybox /sdcard/data/local/tmp/busybox

adb install d:\motochopper\Superuser.apk

echo [*] Rooting phone...

adb shell /sdcard/data/local/tmp/pwn

echo [*] Cleaning up...

adb shell rm /sdcard/data/local/tmp/pwn

adb shell rm /sdcard/data/local/tmp/su

adb shell rm /sdcard/data/local/tmp/busybox

echo [*] Exploit complete. Press enter to reboot and exit.

pause

adb reboot

adb kill-server

OUTPUT FROM COMMAND WINDOW WHEN RUNNING RUN.BAT

[*]

[*] Motochopper: Android root exploit (Windows version)

[*] v1.0

[*] by Dan Rosenberg (@djrbliss)

[*]

[*] Tested on the Motorola Razr HD, Razr M, Razr Maxx HD, and Atrix HD.

[*] Supports lots of other devices as well. ;)

[*]

[*] Before continuing, ensure that USB debugging is enabled, that you

[*] have the latest USB drivers installed, and that your phone

[*] is connected via USB.

[*]

[*] WARNING: This will likely void the warranty on your device. I am

[*] not responsible for any damage to your phone as a result using this

[*] tool.

[*]

[*] Press enter to root your phone...

Press any key to continue . . .

[*]

[*] Waiting for device...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

[*] Device found.

[*] Pushing exploit...

1284 KB/s (1283460 bytes in 0.976s)

Unable to chmod /sdcard/data/local/tmp/pwn: Operation not permitted

[*] Pushing root tools...

1230 KB/s (91980 bytes in 0.073s)

516 KB/s (1867568 bytes in 3.528s)

1189 KB/s (969701 bytes in 0.796s)

pkg: /data/local/tmp/Superuser.apk

Failure [INSTALL_FAILED_ALREADY_EXISTS]

[*] Rooting phone...

/system/bin/sh: /sdcard/data/local/tmp/pwn: can't execute: Permission denied

[*] Cleaning up...

[*] Exploit complete. Press enter to reboot and exit.

Press any key to continue . . .

TF201 Restarts

So hope somebody can throw some light on the problem