[HTC Sensation] Atlantian:
Problem with and root not sticking /data/bin/su

Morning guys, I've read several of the forums within the last day and After running Fr3vo.bat for my HTC Sensation I've come here looking for help.

PROBLEM(S)

1. /Data/bin/Su "No such directory or is not a directory prompt during fr3vo.bat exploit

2. Fixit! no such file (Even though my ADB says it was successfully writen to the device.

3. Can't keep root and have to re run Fr3vo.bat after reboot

Here is what I have done to try to alleviate the problem with no luck.

1. Uninstall both Terminal and SU

2. Disable HTC SYNC prior to using the .Bat file/Exploit

3. Diabled HTC SYNC on my Desktop

4. Removed the "./" from my Fr3vo.bat file (This was used to fix an issue with the HTC Flyers. "Having an issue with 2 versions partition setups?"

5. Run the Exploit multiple times trying to force it

6. Tries running Fr3vo.Bat as admin file crashes.

7. Manually Typed the entire script fr3vo.bat

Conclusion, The version of HTC Sensation may have a different partition arrangement?

Below is my modified .BAT File based upon Eugenes work. I will highlight where ADB prompts me of the error after the script runs.

:cd %:h

adb wait-for-device

adb push fre3vo /data/local/tmp

adb shell chmod 777 /data/local/tmp/fre3vo

adb shell /data/local/tmp/fre3vo

adb wait-for-device

adb shell sleep 1

adb remount

adb shell mount -o rw,remount rootfs /

adb shell mount -o remount,suid /dev/block/mmcblk0p23 /data

adb shell mkdir /vendor/bin

adb shell chmod 4755 /system/bin/sh

adb push sqlite3 /vendor/bin

adb push libext4_utils.so /system/lib

adb push libfuse.so /system/lib

adb shell chmod 655 /system/lib/libext4_utils.so

adb shell chmod 000 /system/lib/libfuse.so

adb push default.prop /default.prop

adb push init.rc /init.rc

adb push init.pyramid.rc /init.pyramid.rc

adb shell chmod 755 /default.prop

adb shell chmod 755 /init.rc

adb shell chmod 755 /init.pyramid.rc

adb push fixit /vendor/bin

adb push su /sbin

adb push su /data/bin

adb push busybox /vendor/bin

adb shell chmod 4755 /sbin

adb shell chmod 4755 /sbin/su

adb shell chmod 4755 /data/bin/su LOGCAT: "/data/bin/su is not a directory"

adb shell chmod 4755 /vendor/bin/fixit TERMINAL: No such file exists! (Even though ADB tells me Fixit! was pushed to the device and successful

adb shell chmod 4755 /vendor/bin/busybox

adb shell chmod 755 /vendor/bin/sqlite3

adb shell busybox --install -s /vendor/bin

adb shell rm -r /vendor/bin/ls

adb shell rm -r /vendor/bin/reboot

adb shell rm -r /vendor/bin/chmod

adb shell rm -r /vendor/bin/chown

adb install Superuser.apk

adb install Superuser_Elite.apk

adb install androidterm.apk

adb install Bte_Pro.apk

adb install com.google.android.videos-1.apk

adb install com.gtunes.android.apk

adb install QuickQifiSwitcher.apk

adb install Logcat_2.3.2.apk

adb install NetQin Mobile Manager_3.2.apk

adb wait-for-device

adb shell sync

pause

Also, Fixit! shows a successful write to the device and when I attempt to run it. Terminal tells me no such file exists. (Due to an issue with the /data/bin/su issue?)

Any help would be great. My root is not sticking at all.

HTC SENSATION

Android Version 2.3.3

HTC Version 3.0

Software Number 1.29.531.2

Kernal Version 2.6.35.10-gb7a86da htc-kernal!@18-2 #1

SMP PREEMPT Fri May 20

BaseBand 10.42.9007.00p_10.11.9007.15_M

Build 1.29.531.2 CL70849

Browser 533.1

******************************************************

LOG:

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb wait-for-device

error: protocol fault (no status)

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb push fre3vo /data/local/tmp

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

* daemon started successfully *

** daemon still not runningerror: cannot connect to daemon

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell chmod 777 /data/local/tmp/fre

3vo

adb server is out of date. killing...

* daemon started successfully *

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell /data/local/tmp/fre3vo

adb server is out of date. killing...

* daemon started successfully *

Locating access point...

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb wait-for-device

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

* daemon started successfully *

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell sleep 1

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb remount

remount succeeded

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell mount -o rw,remount rootfs /

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell mount -o remount,suid /dev/bl

ock/mmcblk0p23 /data

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell mkdir /vendor/bin

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell chmod 4755 /system/bin/sh

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb push sqlite3 /vendor/bin

2644 KB/s (1448982 bytes in 0.535s)

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb push libext4_utils.so /system/lib

767 KB/s (39292 bytes in 0.050s)

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb push libfuse.so /system/lib

1712 KB/s (101728 bytes in 0.058s)

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell chmod 655 /system/lib/libext4

_utils.so

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell chmod 000 /system/lib/libfuse

.so

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb push default.prop /default.prop

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

* daemon started successfully *

28 KB/s (118 bytes in 0.004s)

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb push init.rc /init.rc

adb server is out of date. killing...

* daemon started successfully *

511 KB/s (20446 bytes in 0.039s)

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb push init.pyramid.rc /init.pyramid.

rc

adb server is out of date. killing...

* daemon started successfully *

376 KB/s (10024 bytes in 0.026s)

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell chmod 755 /default.prop

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell chmod 755 /init.rc

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell chmod 755 /init.pyramid.rc

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb push fixit /vendor/bin

114 KB/s (351 bytes in 0.003s)

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb push su /sbin

2856 KB/s (26324 bytes in 0.009s)

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb push su /data/bin

3212 KB/s (26324 bytes in 0.008s)

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb push busybox /vendor/bin

1930 KB/s (976824 bytes in 0.494s)

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell chmod 4755 /sbin

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell chmod 4755 /sbin/su

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell chmod 4755 /data/bin/su

Unable to chmod /data/bin/su: Not a directory

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell chmod 4755 /vendor/bin/fixit

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell chmod 4755 /vendor/bin/busybo

x

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell chmod 755 /vendor/bin/sqlite3

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell busybox --install -s /vendor/

bin

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell rm -r /vendor/bin/ls

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell rm -r /vendor/bin/reboot

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell rm -r /vendor/bin/chmod

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb shell rm -r /vendor/bin/chown

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb install Superuser.apk

2313 KB/s (196640 bytes in 0.083s)

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

Success

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

* daemon started successfully *

** daemon still not running- waiting for device -

adb server is out of date. killing...

* daemon started successfully *

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb install Superuser_Elite.apk

1997 KB/s (137080 bytes in 0.067s)

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

Success

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

* daemon started successfully *

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb install androidterm.apk

adb server is out of date. killing...

* daemon started successfully *

1091 KB/s (92780 bytes in 0.083s)

adb server is out of date. killing...

* daemon started successfully *

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

Success

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

* daemon started successfully *

C:\Users\Shawn\Downloads\RW_Sensation(2)>adb install Bte_Pro.apk

adb server is out of date. killing...

* daemon started successfully *

2267 KB/s (264658 bytes in 0.114s)

adb server is out of date. killing...

* daemon started successfully *

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

Failure [INSTALL_FAILED_ALREADY_EXISTS]

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

* daemon started successfully *

** daemon still not running- waiting for device -

adb server is out of date. killing...

* daemon started successfully *

adb server is out of date. killing...

* daemon started successfully *

Ect... the rest are my APK installs....