[AT&T Samsung Galaxy S 4 Original Android Developme] svs57:
Few times I successful used Motochopper.

Yesterday I had to reinstall stock UCUAMDL

Then I tried to install root and recovery

I didn't see error but after Motochopper finished recovery still is stock and no su binary

Here is copy/paste from console:

root@svs-home:~# /usr/lib/jvm/java-1.7.0-openjdk-i386/bin/java -jar ~svs/Download/Root-and-Recovery-ATT-TMO-GS4-CASUAL-R848b-JenkinsBuild.jar

[DEBUG]working

[INFO]We are running Linux

Creating Temp Folder in:/tmp/CASUALroot-2013-10-12-13.36.41/CASUAL Cross-platform Android Scripting and Unified Auxiliary Loader

Revision:848 build:7,097

CASUAL Copyright (C) 2013 Adam Outler

This program comes with ABSOLUTELY NO WARRANTY. This is free software,

and you are welcome to redistribute it, under certain conditions; run

'/home/svs/Download/Root-and-Recovery-ATT-TMO-GS4-CASUAL-R848b-JenkinsBuild.jar --license'

for details. http://android-casual.googlecode.com for source.

[DEBUG]launching GUI

[DEBUG]Picking Jar File:/home/svs/Download/Root-and-Recovery-ATT-TMO-GS4-CASUAL-R848b-JenkinsBuild.jar ..scanning.

[DEBUG]getting MD5 for:SCRIPTS/

[DEBUG]Found Linux Computer

[DEBUG]Attempting to write /tmp/CASUALroot-2013-10-12-13.36.41/adb

[DEBUG]processing:SCRIPTS/GS4 Root and Loki Recovery.zip

[VERBOSE]found zip at SCRIPTS/GS4 Root and Loki Recovery.zip

[DEBUG]Looking up SCRIPTS/GS4 Root and Loki Recovery.zip

[DEBUG]Setting up script SCRIPTS/GS4 Root and Loki Recovery with name, tempdir and type

[DEBUG]getting MD5 for:SCRIPTS/GS4 Root and Loki Recovery.zip

[DEBUG]File verified.

[DEBUG]Attempting to write /root/.android/adb_usb.ini

[DEBUG]File verified.

[DEBUG]Setting executable /tmp/CASUALroot-2013-10-12-13.36.41/adb. Result=true

[VERBOSE]ADB Server Started!!!

[DEBUG]State Change Detected, The new state is: 1

[DEBUG]Device Connected

[DEBUG]@stateConnected

[DEBUG]State Change Detected, The new state is: 1

[DEBUG]Device Connected

[DEBUG]@stateConnected

[DEBUG]State Change Detected, The new state is: 1

[DEBUG]Device Connected

[DEBUG]@stateConnected

[DEBUG]State Change Detected, The new state is: 1

[DEBUG]Device Connected

[DEBUG]@stateConnected

[DEBUG]State Change Detected, The new state is: 1

[DEBUG]Device Connected

[DEBUG]@stateConnected

[DEBUG]State Change Detected, The new state is: 1

[DEBUG]Device Connected

[DEBUG]@stateConnected

[DEBUG]Controls Enabled status: true

[DEBUG]processing:SCRIPTS/GS4 Root and Loki Recovery.meta

loading meta SCRIPTS/GS4 Root and Loki Recovery.meta

[DEBUG]Looking up SCRIPTS/GS4 Root and Loki Recovery.meta

[DEBUG]getting MD5 for:SCRIPTS/GS4 Root and Loki Recovery.meta

[DEBUG]processing:SCRIPTS/-logo.png

[DEBUG]getting MD5 for:SCRIPTS/-logo.png

[DEBUG]processing:SCRIPTS/-build.properties

[DEBUG]Loading build information from prop information

[DEBUG]#This properties file was generated by CASUAL

#Sat Oct 12 13:36:58 MSK 2013

Application.AlwaysEnableControls=False

Audio.Enabled=True

Developer.Name=djrbliss

Developer.DonateLink=http\://goo.gl/zBGb0

Window.Title=AT&T Galaxy S4 Hacks

Window.UsePictureForBanner=True

Window.ExecuteButtonText=Do It

Window.BannerPic=

Developer.DonateToButtonText=djrbliss

Window.BannerText=AT&T GS4 hacks

[DEBUG]getting MD5 for:SCRIPTS/-build.properties

[DEBUG]processing:SCRIPTS/GS4 Root and Loki Recovery.scr

SCRIPT CONTENTS:$ECHO[*]

$ECHO[*] Motochopper: Android root exploit (Linux/OS X version)

$ECHO[*] v1.1

$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 and that

$ECHO[*] your phone 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[*]

$USERCANCELOPTION hold on, Are you sure you want to root and install recovery?

$ECHO[*]

$ECHO[*] Waiting for device...

$ADB wait-for-device

$ECHO[*] Device found.

$ECHO[*] Pushing exploit...

$ADB push "$ZIPFILEpwn" /data/local/tmp/

$ADB shell "chmod 755 /data/local/tmp/pwn"

$ECHO[*] Pushing root tools...

$ADB push "$ZIPFILEsu" /data/local/tmp/

$ADB push "$ZIPFILESuperuser.apk" /data/local/tmp

$ECHO[*] Pushing recovery to device...

$ADB push "$ZIPFILErecovery.img" /data/local/tmp/

$ECHO[*] Rooting phone...

$ADB shell /data/local/tmp/pwn

$ECHO installing superuser to system partition

$ADB shell "su -c 'mount -o remount,rw /system; cat /data/local/tmp/Superuser.apk >/system/app/Superuser.apk'"

$IFNOTCONTAINS SAMSUNG-SGH-I337 $INCOMMAND $ADB shell "cat /system/build.prop" $DO $HALT $ECHO This is not for your device, halting.

$ECHO[*] Installing Recovery

$ADB shell "su -c 'dd if=/data/local/tmp/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery'"

$USERNOTIFICATION Exploit complete, Press ok to reboot.

$ECHO[*] rebooting into recovery. Ensure that you "Install Superuser" in after you reboot into Android for security reasons!

$ADB reboot recovery

[DEBUG]Looking up SCRIPTS/GS4 Root and Loki Recovery.scr

[DEBUG]getting MD5 for:SCRIPTS/GS4 Root and Loki Recovery.scr

[DEBUG]processing:SCRIPTS/-Overview.txt

overview misc hacks for AT&T Galaxy S4

[DEBUG]getting MD5 for:SCRIPTS/-Overview.txt

[DEBUG]processing:SCRIPTS/GS4 Root and Loki Recovery.txt

[DEBUG]Looking up SCRIPTS/GS4 Root and Loki Recovery.txt

[DEBUG]getting MD5 for:SCRIPTS/GS4 Root and Loki Recovery.txt

[DEBUG]Finalizing active script up to be run

[VERBOSE]Setting script SCRIPTS/GS4 Root and Loki Recovery as active and loading

[DEBUG]Starting loadActiveScript CASPAC unzip.

[VERBOSE]This is a CASUAL jar with resources

[DEBUG]returned from checking updates.

[VERBOSE]Performing unzip of resources.

[DEBUG]Examining CASUAL mode script contents:SCRIPTS/GS4 Root and Loki Recovery.zip

[INFO]misc hacks for AT&T Galaxy S4

[DEBUG]adding SCRIPTS/GS4 Root and Loki Recovery to UI

[INFO]This will install root and recovery for you Qualcomm based Samsung Galaxy S4

##############################

# Motochopper Copyright (C) 2013 Dan Rosenberg (@djrbliss)

# Loki Copyright (C) 2013 Dan Rosenberg (@djrbliss)

# TWRP recovery - Team Win

##############################

# Instructions:

# 1. Put your device in debugging mode

# 2. Attach it via USB

# 3. Click the Do It button

##############################

[DEBUG]unzip of SCRIPTS/GS4 Root and Loki Recovery.zip is beginning.

[VERBOSE]Unzipping busybox

[VERBOSE]Unzipping pwn

[VERBOSE]Unzipping recovery.img

[VERBOSE]Unzipping su

[VERBOSE]Unzipping Superuser.apk

[VERBOSE]Unzip Complete

[DEBUG]unzip of SCRIPTS/GS4 Root and Loki Recovery is complete.

[DEBUG]StartButtonActionPerformed() Script Activated

[DEBUG]Script known as SCRIPTS/GS4 Root and Loki Recovery is running

[DEBUG]Controls Enabled status: false

[DEBUG]Loading internal resource: SCRIPTS/GS4 Root and Loki Recovery

[DEBUG]Executing Scripted Datastreamjava.io.DataInputStream@741322

[DEBUG]Executing

[DEBUG]CASUAL has initiated a multithreaded execution environment

[DEBUG]Reading datastreamjava.io.DataInputStream@741322

[DEBUG]SCRIPT COMMAND:$ECHO[*]

[DEBUG]Received ECHO command$ECHO[*]

[INFO][*]

[DEBUG]SCRIPT COMMAND:$ECHO[*] Motochopper: Android root exploit (Linux/OS X version)

[DEBUG]Received ECHO command$ECHO[*] Motochopper: Android root exploit (Linux/OS X version)

[INFO][*] Motochopper: Android root exploit (Linux/OS X version)

[DEBUG]SCRIPT COMMAND:$ECHO[*] v1.1

[DEBUG]Received ECHO command$ECHO[*] v1.1

[INFO][*] v1.1

[DEBUG]SCRIPT COMMAND:$ECHO[*] by Dan Rosenberg (@djrbliss)

[DEBUG]Received ECHO command$ECHO[*] by Dan Rosenberg (@djrbliss)

[INFO][*] by Dan Rosenberg (@djrbliss)

[DEBUG]SCRIPT COMMAND:$ECHO[*]

[DEBUG]Received ECHO command$ECHO[*]

[INFO][*]

[DEBUG]SCRIPT COMMAND:$ECHO[*] Tested on the Motorola Razr HD, Razr M, Razr Maxx HD, and Atrix HD.

[DEBUG]Received ECHO command$ECHO[*] Tested on the Motorola Razr HD, Razr M, Razr Maxx HD, and Atrix HD.

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

[DEBUG]SCRIPT COMMAND:$ECHO[*] Supports lots of other devices as well.

[DEBUG]Received ECHO command$ECHO[*] Supports lots of other devices as well.

[INFO][*] Supports lots of other devices as well.

[DEBUG]SCRIPT COMMAND:$ECHO[*]"

[DEBUG]Received ECHO command$ECHO[*]"

[INFO][*]"

[DEBUG]SCRIPT COMMAND:$ECHO[*] Before continuing, ensure that USB debugging is enabled and that

[DEBUG]Received ECHO command$ECHO[*] Before continuing, ensure that USB debugging is enabled and that

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

[DEBUG]SCRIPT COMMAND:$ECHO[*] your phone is connected via USB.

[DEBUG]Received ECHO command$ECHO[*] your phone is connected via USB.

[INFO][*] your phone is connected via USB.

[DEBUG]SCRIPT COMMAND:$ECHO[*]"

[DEBUG]Received ECHO command$ECHO[*]"

[INFO][*]"

[DEBUG]SCRIPT COMMAND:$ECHO[*] WARNING: This will likely void the warranty on your device. I am

[DEBUG]Received ECHO command$ECHO[*] WARNING: This will likely void the warranty on your device. I am

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

[DEBUG]SCRIPT COMMAND:$ECHO[*] not responsible for any damage to your phone as a result using this

[DEBUG]Received ECHO command$ECHO[*] not responsible for any damage to your phone as a result using this

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

[DEBUG]SCRIPT COMMAND:$ECHO[*] tool.

[DEBUG]Received ECHO command$ECHO[*] tool.

[INFO][*] tool.

[DEBUG]SCRIPT COMMAND:$ECHO[*]

[DEBUG]Received ECHO command$ECHO[*]

[INFO][*]

[DEBUG]SCRIPT COMMAND:$USERCANCELOPTION hold on, Are you sure you want to root and install recovery?

[DEBUG]SCRIPT COMMAND:$ECHO[*]

[DEBUG]Received ECHO command$ECHO[*]

[INFO][*]

[DEBUG]SCRIPT COMMAND:$ECHO[*] Waiting for device...

[DEBUG]Received ECHO command$ECHO[*] Waiting for device...

[INFO][*] Waiting for device...

[DEBUG]SCRIPT COMMAND:$ADB wait-for-device

[VERBOSE]Language русский was not found in CASUAL/resources/Translations/русский.properties. CASUAL will accept translations. Defaulting to english.

[DEBUG][TRANSLATION]@waitingForDeviceToBeDetected

[INFO]Waiting for ADB device connection. When your OS recognizes the device, we will continue. Don't touch anything.

[DEBUG]sending

[DEBUG]###executing real-time command: /tmp/CASUALroot-2013-10-12-13.36.41/adb###

[DEBUG]return from ADB:

[DEBUG]SCRIPT COMMAND:$ECHO[*] Device found.

[DEBUG]Received ECHO command$ECHO[*] Device found.

[INFO][*] Device found.

[DEBUG]SCRIPT COMMAND:$ECHO[*] Pushing exploit...

[DEBUG]Received ECHO command$ECHO[*] Pushing exploit...

[INFO][*] Pushing exploit...

[DEBUG]SCRIPT COMMAND:$ADB push "$ZIPFILEpwn" /data/local/tmp/

[VERBOSE]verified /tmp/CASUALroot-2013-10-12-13.36.41/SCRIPTS/GS4 Root and Loki Recovery/pwn exists

[DEBUG]Expanded $ZIPFILE: $ADB push "/tmp/CASUALroot-2013-10-12-13.36.41/SCRIPTS/GS4 Root and Loki Recovery/pwn" /data/local/tmp/

[DEBUG]sending

[DEBUG]###executing real-time command: /tmp/CASUALroot-2013-10-12-13.36.41/adb###

[DEBUG]return from ADB:3611 KB/s (1283460 bytes in 0.347s)

[DEBUG]SCRIPT COMMAND:$ADB shell "chmod 755 /data/local/tmp/pwn"

[DEBUG]sending

[DEBUG]###executing real-time command: /tmp/CASUALroot-2013-10-12-13.36.41/adb###

[DEBUG]return from ADB:

[DEBUG]SCRIPT COMMAND:$ECHO[*] Pushing root tools...

[DEBUG]Received ECHO command$ECHO[*] Pushing root tools...

[INFO][*] Pushing root tools...

[DEBUG]SCRIPT COMMAND:$ADB push "$ZIPFILEsu" /data/local/tmp/

[VERBOSE]verified /tmp/CASUALroot-2013-10-12-13.36.41/SCRIPTS/GS4 Root and Loki Recovery/su exists

[DEBUG]Expanded $ZIPFILE: $ADB push "/tmp/CASUALroot-2013-10-12-13.36.41/SCRIPTS/GS4 Root and Loki Recovery/su" /data/local/tmp/

[DEBUG]sending

[DEBUG]###executing real-time command: /tmp/CASUALroot-2013-10-12-13.36.41/adb###

[DEBUG]return from ADB:3044 KB/s (96260 bytes in 0.030s)

[DEBUG]SCRIPT COMMAND:$ADB push "$ZIPFILESuperuser.apk" /data/local/tmp

[VERBOSE]verified /tmp/CASUALroot-2013-10-12-13.36.41/SCRIPTS/GS4 Root and Loki Recovery/Superuser.apk exists

[DEBUG]Expanded $ZIPFILE: $ADB push "/tmp/CASUALroot-2013-10-12-13.36.41/SCRIPTS/GS4 Root and Loki Recovery/Superuser.apk" /data/local/tmp

[DEBUG]sending

[DEBUG]###executing real-time command: /tmp/CASUALroot-2013-10-12-13.36.41/adb###

[DEBUG]return from ADB:3571 KB/s (1578585 bytes in 0.431s)

[DEBUG]SCRIPT COMMAND:$ECHO[*] Pushing recovery to device...

[DEBUG]Received ECHO command$ECHO[*] Pushing recovery to device...

[INFO][*] Pushing recovery to device...

[DEBUG]SCRIPT COMMAND:$ADB push "$ZIPFILErecovery.img" /data/local/tmp/

[VERBOSE]verified /tmp/CASUALroot-2013-10-12-13.36.41/SCRIPTS/GS4 Root and Loki Recovery/recovery.img exists

[DEBUG]Expanded $ZIPFILE: $ADB push "/tmp/CASUALroot-2013-10-12-13.36.41/SCRIPTS/GS4 Root and Loki Recovery/recovery.img" /data/local/tmp/

[DEBUG]sending

[DEBUG]###executing real-time command: /tmp/CASUALroot-2013-10-12-13.36.41/adb###

[DEBUG]return from ADB:3735 KB/s (10484224 bytes in 2.741s)

[DEBUG]SCRIPT COMMAND:$ECHO[*] Rooting phone...

[DEBUG]Received ECHO command$ECHO[*] Rooting phone...

[INFO][*] Rooting phone...

[DEBUG]SCRIPT COMMAND:$ADB shell /data/local/tmp/pwn

[DEBUG]sending

[DEBUG]###executing real-time command: /tmp/CASUALroot-2013-10-12-13.36.41/adb###

[DEBUG]return from ADB:[+] This may take a few minutes.

[+] Success!

[DEBUG]SCRIPT COMMAND:$ECHO installing superuser to system partition

[DEBUG]Received ECHO command$ECHO installing superuser to system partition

[INFO]installing superuser to system partition

[DEBUG]SCRIPT COMMAND:$ADB shell "su -c 'mount -o remount,rw /system; cat /data/local/tmp/Superuser.apk >/system/app/Superuser.apk'"

[DEBUG]sending

[DEBUG]###executing real-time command: /tmp/CASUALroot-2013-10-12-13.36.41/adb###

[DEBUG]return from ADB:error: device not found

[DEBUG]SCRIPT COMMAND:$IFNOTCONTAINS SAMSUNG-SGH-I337 $INCOMMAND $ADB shell "cat /system/build.prop" $DO $HALT $ECHO This is not for your device, halting.

[DEBUG]checking for results to be false

[DEBUG]requesting shell "cat /system/build.prop"

[DEBUG]Executing

[DEBUG]SCRIPT COMMAND:shell "cat /system/build.prop"

[DEBUG]sending

[DEBUG]###executing real-time command: /tmp/CASUALroot-2013-10-12-13.36.41/adb###

[DEBUG]return from ADB:error: device not found

[DEBUG]got error: device not found

[DEBUG]Executing

[DEBUG]HALT RECEIVED

[DEBUG]Finishing remaining commands:$ECHO This is not for your device, halting.

[DEBUG]SCRIPT COMMAND:$ECHO This is not for your device, halting.

[DEBUG]Received ECHO command$ECHO This is not for your device, halting.

[INFO]This is not for your device, halting.

[DEBUG]done

[DEBUG][TRANSLATION]@scriptComplete

[INFO]Script Complete

[DEBUG]State Change Detected, The new state is: 0

[DEBUG]@stateDisconnected

[DEBUG]Device Removed

[DEBUG]Controls Enabled status: false

[DEBUG]Controls Enabled status: true

[DEBUG]State Change Detected, The new state is: 1

[DEBUG]Device Connected

[DEBUG]@stateConnected

[DEBUG]Controls Enabled status: true

[DEBUG]State Change Detected, The new state is: 0

[DEBUG]@stateDisconnected

[DEBUG]Device Removed

[DEBUG]Controls Enabled status: false

[DEBUG]Controls Enabled status: true

[DEBUG]State Change Detected, The new state is: 1

[DEBUG]Device Connected

[DEBUG]@stateConnected

[DEBUG]Controls Enabled status: true

---------- Post added at 02:40 PM ---------- Previous post was at 02:10 PM ----------

127|shell@android:/ $ /data/local/tmp/pwn

[+] This may take a few minutes.

[+] Success!

Here my phone reboot instead of become root...

What I miss?

Please help me