Saturday, October 19, 2013

Rooting my Toshiba Thrive (AT-100)

Doing a general search on how to root my Thrive on the internet pointed me to a very useful site:

 http://www.thriveforums.org/forum/dalepl-development/9893-tool-dalenet-thrive-univeral-easy-flash-tool.html>

DaleNet Thrive Universal Easy Flash Tool - This is for all Thrive ROM builds.  


Recommend you read through the instructions that comes with this website (created by Paul Dale) very carefully. There is also a helpful video that comes with this site that explains the process step-by-step though it is a little dated in that the latest version of the flash tool no longer has unroot capabilities as the video suggests nor does it have a flash recovery option. This is mentioned in Dale's latest version notes. Also, the current version on the flash tool has more ROM builds than what the video shows.  I strognly recommend you back up all of your data files to a PC before attempting to root your device.  I should also mention I take no responsibility for the accuracy of the information presented or its completeness and you assume all the risks in attempting this process.
 


It is important that I mention that the flash tool did not work perfectly for me, so I had to do a little troubleshooting to get it to work. 

Because I did not know what went wrong I ended up modifying the batch file that came with flash tool to give me a little more visibility as to whether the batch file was working correctly- added a directory list and paused after each wait-for-device command so I could unlock my screen before proceeding.

I have included Dale's batch file in it's original form except where I added to the program (my additions are in purple):

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

 @ECHO OFF
COLOR 0A
TITLE Toshiba Thrive Universal Easy Flash Tool

:: *************************************************************************
:: *         Author: Paul L. Dale                                          *
:: *    Script Name: universal_easy_flash_tool.bat                         *
:: * Script Version: 2.8.1                                                 *
:: *           Date: 22 July 2013                                          *
:: *************************************************************************
:: * Description: This DOS batch script will automate the rooting process  *
:: *              for the Toshiba Thrive.  This DOS script provides a menu *
:: *              for the user to select various processes.                *
:: *************************************************************************
:: *                                                                       *
:: * Thanks to @TurnYourBackAndRun for finding the exploit used by this    *
:: * tool.  Without his work, we would not have been able to root the      *
:: * the Thrive and provide you the freedom to chose how your device       *
:: * should be.                                                            *
:: *                                                                       *
:: *************************************************************************

cd bin_files

cls
echo.
echo.
echo.
echo.
echo   ***************************************************************************
echo   *                 Toshiba Thrive Universal Easy Flash Tool                *
echo   ***************************************************************************
echo   * To begin the root process, you need to do the following:                *
echo   *                                                                         *
echo   * 1. Ensure the Thrive ADB drivers are properly installed on your PC.     *
echo   * 2. Ensure your device is booted up normally.                            *
echo   * 3. Ensure your device's USB port is set to DEBUG mode.                  *
echo   * 3. Ensure your device is plugged into the external charger.             *
echo   * 4. Ensure your device is connected to your PC via mini USB port.        *
echo   *                                                                         *
echo   * At this point your device is ready to begin the root process.           *
echo   ***************************************************************************
echo.
pause

:MENU
cls
echo.
echo.
echo.
echo.
echo   ***************************************************************************
echo   *                 Toshiba Thrive Universal Easy Flash Tool                *
echo   ***************************************************************************
echo   * Please select the task you want to perform:                             *
echo   *                                                                         *
echo   *      1. Root your device.                                               *
echo   *                                                                         *
echo   *      Q. Quit.                                                           *
echo   *                                                                         *
echo   ***************************************************************************
echo.
set /p choice="Enter selection and then press the ENTER key: "

if "%choice%" == "1" GOTO ROOT
if "%choice%" == "Q" goto END
GOTO MENU

:ROOT

:START
cls
echo.
echo.
echo.
echo.
echo   ***************************************************************************
echo   *                 Toshiba Thrive Universal Easy Flash Tool                *
echo   ***************************************************************************
echo   * Select your current ROM build:                                          *
echo   *                                                                         *
echo   *  1. HMJ37.01.5.0032  (US Thrive 10 Inch)                                *
echo   *  2. HMJ37.31.5.0011  (US Thrive 10 Inch)                                *
echo   *  3. HTK55D.13.5.0001 (Aussie Thrive 10 Inch)                            *
echo   *  4. HTK55D.21.5.0009 (US Thrive 10 Inch (4G))                           *
echo   *  5. HTK55D.23.5.0002 (Canadian Thrive 7 Inch (3G))                      *
echo   *  6. HTK55D.23.5.0006 (Asian Thrive 10 Inch (3G))                        *
echo   *  7. HTK55D.23.5.0007 (Asian Thrive 10 Inch (3G))                        *
echo   *  8. HTK55D.29.5.0003 (Asian Thrive 7 Inch)                              *
echo   *  9. HTK55D.31.5.0002 (US Thrive 10 Inch)                                *
echo   * 10. HTK55D.31.5.0003 (US Thrive 10 Inch)                                *
echo   * 11. HTK55D.31.5.0005 (US Thrive 7 Inch)                                 *
echo   * 12. HTK55D.31.5.0008 (US Thrive 7 Inch)                                 *
echo   * 13. HTK55D.32.5.0003 (Asian Thrive 10 Inch)                             *
echo   * 14. HTK55D.33.5.0003 (Canadian Thrive 10 Inch)                          *
echo   * 15. HTK55D.33.5.0005 (Canadian Thrive 10 Inch)                          *
echo   * 16. HTK55D.35.5.0004 (European Thrive 10 Inch (other))                  *
echo   * 17. HTK55D.36.5.0003 (European Thrive 10 Inch (Germany))                *
echo   * 18. HTK55D.38.5.0003 (South American Thrive 10 Inch)                    *
echo   * 19. IMM76D.01.000072314 (US Thrive 10 Inch)                             *
echo   *                                                                         *
echo   *  R.  Return to Main Menu                                                *
echo   *                                                                         *
echo   ***************************************************************************
echo.

set /p choice="Enter selection and then press the ENTER key: "

IF "%choice%"=="1" GOTO hmj37.01.5.0032
IF "%choice%"=="2" GOTO hmj37.31.5.0011
IF "%choice%"=="3" GOTO htk55d.13.5.0001
IF "%choice%"=="4" GOTO htk55d.21.5.0009
IF "%choice%"=="5" GOTO htk55d.23.5.0002
IF "%choice%"=="6" GOTO htk55d.23.5.0006
IF "%choice%"=="7" GOTO htk55d.23.5.0007
IF "%choice%"=="8" GOTO htk55d.29.5.0003
IF "%choice%"=="9" GOTO htk55d.31.5.0002
IF "%choice%"=="10" GOTO htk55d.31.5.0003
IF "%choice%"=="11" GOTO htk55d.31.5.0005
IF "%choice%"=="12" GOTO htk55d.31.5.0008
IF "%choice%"=="13" GOTO htk55d.32.5.0003
IF "%choice%"=="14" GOTO htk55d.33.5.0003
IF "%choice%"=="15" GOTO htk55d.33.5.0005
IF "%choice%"=="16" GOTO htk55d.35.5.0004
IF "%choice%"=="17" GOTO htk55d.36.5.0003
IF "%choice%"=="18" GOTO htk55d.38.5.0003
IF "%choice%"=="19" GOTO imm76d.01.000072314
IF "%choice%"=="R" GOTO END
GOTO START

:hmj37.01.5.0032
set BOOT_IMAGE=hmj37.01.5.0032
Set THRIVE=10_INCH
GOTO COPY_FILES

:hmj37.31.5.0011
set BOOT_IMAGE=hmj37.31.5.0011
Set THRIVE=10_INCH
GOTO COPY_FILES

:htk55d.13.5.0001
set BOOT_IMAGE=htk55d.13.5.0001
Set THRIVE=10_INCH
GOTO COPY_FILES

:htk55d.21.5.0009
set BOOT_IMAGE=htk55d.21.5.0009
Set THRIVE=10_INCH
GOTO COPY_FILES

:htk55d.23.5.0002
set BOOT_IMAGE=htk55d.23.5.0002
Set THRIVE=7_INCH
GOTO COPY_FILES

:htk55d.23.5.0006
set BOOT_IMAGE=htk55d.23.5.0006
Set THRIVE=10_INCH
GOTO COPY_FILES

:htk55d.23.5.0007
set BOOT_IMAGE=htk55d.23.5.0007
Set THRIVE=10_INCH
GOTO COPY_FILES

:htk55d.29.5.0003
set BOOT_IMAGE=htk55d.29.5.0003
Set THRIVE=7_INCH
GOTO COPY_FILES

:htk55d.31.5.0002
set BOOT_IMAGE=htk55d.31.5.0002
Set THRIVE=10_INCH
GOTO COPY_FILES

:htk55d.31.5.0003
set BOOT_IMAGE=htk55d.31.5.0003
Set THRIVE=10_INCH
GOTO COPY_FILES

:htk55d.31.5.0005
set BOOT_IMAGE=htk55d.31.5.0005
Set THRIVE=7_INCH
GOTO COPY_FILES

:htk55d.31.5.0008
set BOOT_IMAGE=htk55d.31.5.0008
Set THRIVE=7_INCH
GOTO COPY_FILES

:htk55d.32.5.0003
set BOOT_IMAGE=htk55d.32.5.0003
Set THRIVE=10_INCH
GOTO COPY_FILES

:htk55d.33.5.0003
set BOOT_IMAGE=htk55d.33.5.0003
Set THRIVE=10_INCH
GOTO COPY_FILES

:htk55d.33.5.0005
set BOOT_IMAGE=htk55d.33.5.0005
Set THRIVE=10_INCH
GOTO COPY_FILES

:htk55d.35.5.0004
set BOOT_IMAGE=htk55d.35.5.0004
Set THRIVE=10_INCH
GOTO COPY_FILES

:htk55d.36.5.0003
set BOOT_IMAGE=htk55d.36.5.0003
Set THRIVE=10_INCH
GOTO COPY_FILES

:htk55d.38.5.0003
set BOOT_IMAGE=htk55d.38.5.0003
Set THRIVE=10_INCH
GOTO COPY_FILES

:imm76d.01.000072314
set BOOT_IMAGE=imm76d.01.000072314
Set THRIVE=10_INCH
cls
echo.
echo.
echo.
echo.
echo Ensure you have your device booted up and at the main screen (not the lock screen).
echo.

pause

echo.
echo A screen will pop up on your device for a Full Restore.  Select RESTORE MY DATA.
echo.
echo.
echo Obtaining temp root...
echo.

adb restore fakebackup.ab
adb shell "while ! ln -s /data/local.prop /data/data/com.android.settings/a/file99; do :; done" > %NUL

echo.
echo Rebooting your device...
echo.

adb reboot

echo.
echo Waiting on your device to boot...
echo.

adb wait-for-device
GOTO COPY_FILES

:COPY_FILES
cls
echo.
echo.
echo.
echo.
echo Transfering ClockWorkMod recovery image file to /data/local/tmp directory...
echo.
GOTO %THRIVE%

:10_INCH
adb push ..\images\recovery-cwm10.img /data/local/tmp/recovery.img

echo.
echo.
echo Transfering bootloader image file to /data/local/tmp directory...
echo.
adb push blob /data/local/tmp
GOTO CONTINUE

:7_INCH
adb push ..\images\recovery-cwm7.img /data/local/tmp/recovery.img
GOTO CONTINUE

:CONTINUE
echo.
echo.
echo Transfering the su binary file to /data/local/tmp directory...
echo.

adb push su /data/local/tmp

echo.
echo.
echo Transfering the busybox binary file to /data/local/tmp directory...
echo.

adb push busybox /data/local/tmp

echo.
echo.
echo Transfering the Superuser.apk file to /data/local/tmp directory...
echo.

adb push Superuser.apk /data/local/tmp

echo.
echo.
echo Transfering rooted boot image file to /data/local/tmp directory...
echo.
GOTO %BOOT_IMAGE%

:hmj37.01.5.0032
echo.
adb push ..\images\hmj37.01.5.0032_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:hmj37.31.5.0011
echo.
adb push ..\images\hmj37.31.5.0011_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.13.5.0001
echo.
adb push ..\images\htk55d.13.5.0001_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.21.5.0009
echo.
adb push ..\images\htk55d.21.5.0009_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.23.5.0002
echo.
adb push ..\images\htk55d.23.5.0002_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.23.5.0006
echo.
adb push ..\images\htk55d.23.5.0006_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.23.5.0007
echo.
adb push ..\images\htk55d.23.5.0007_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.29.5.0003
echo.
adb push ..\images\htk55d.29.5.0003_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.31.5.0002
echo.
adb push ..\images\htk55d.31.5.0002_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.31.5.0003
echo.
adb push ..\images\htk55d.31.5.0003_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.31.5.0008
echo.
adb push ..\images\htk55d.31.5.0008_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.31.5.0005
echo.
adb push ..\images\htk55d.31.5.0005_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.32.5.0003
echo.
adb push ..\images\htk55d.32.5.0003_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.33.5.0003
echo.
adb push ..\images\htk55d.33.5.0003_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.33.5.0005
echo.
adb push ..\images\htk55d.33.5.0005_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.35.5.0004
echo.
adb push ..\images\htk55d.35.5.0004_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.36.5.0003
echo.
adb push ..\images\htk55d.36.5.0003_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:htk55d.38.5.0003
echo.
adb push ..\images\htk55d.38.5.0003_rooted_boot.img /data/local/tmp/boot.img
GOTO EXPLOIT_START

:imm76d.01.000072314
echo.
adb push ..\images\imm76d.01.000072314_rooted_boot.img /data/local/tmp/boot.img
echo.
echo Transfering of files completed...
echo.


cls
echo.
echo.
echo.
echo.
echo Beginning root process...
echo.

adb shell "mv /dev/block/mmcblk0p6 /dev/block/mmcblk0p9"

echo.
echo.
echo.
echo Flashing bootloader image to your device...
echo.
adb shell "dd if=/data/local/tmp/blob of=/dev/block/mmcblk0p9"
GOTO FLASHBOOT

:EXPLOIT_START
echo.
echo Transfering of files completed...
echo.

pause


:: *************************************************************************
:: *         Code added by Tim Kalliomaa                                                                         *
:: *          Date: October 19th 2013                                                                               *

adb shell "ls -l /data/local/tmp"

echo file list should include: blob, recovery.img, su, busybox, superuser.apk, & boot.img,
echo This verifies that the necessary files where copied to your Thrive
pause


:: *          End of added code                                                                                                       *
:: *************************************************************************

cls
echo.
echo.
echo.
echo.
echo Beginning root process...
echo.

adb shell "tputimg --des ../data/local.prop"
adb shell "echo 'ro.kernel.qemu=1' > /data/local.prop"

echo.
echo Rebooting your device...
echo.

adb reboot

echo.
echo Waiting on your device to boot...
echo.

adb wait-for-device

pause

IF %THRIVE%==7_INCH GOTO FLASHBOOT

:Flash_Bootloader
echo.
echo.
echo Flashing bootloader image to your device...
echo.

adb shell "dd if=/data/local/tmp/blob of=/dev/block/mmcblk0p6"

echo.
echo Rebooting your device...
echo.

adb reboot

echo.
echo Waiting on your device to boot...
echo.

adb wait-for-device


pause

:FLASHBOOT
echo.
echo Flashing rooted boot image to your device...
echo.

adb shell "dd if=/data/local/tmp/boot.img of=/dev/block/mmcblk0p2"

echo.
echo Flashing ClockWorkMod recovery image to your device...
echo.

adb shell "dd if=/data/local/tmp/recovery.img of=/dev/block/mmcblk0p1"

echo.
echo Rebooting your device...
echo.

adb reboot

echo.
echo Waiting on your device to boot...
echo.

adb wait-for-device

pause

cls
echo.
echo.
echo.
echo.
echo Remounting /system directory to read/write...
echo.

adb remount
adb pull /system/recovery-from-boot.p

IF NOT EXIST recovery-from-boot.p GOTO CONTINUE
DEL recovery-from-boot.p

echo.
echo Disabling the stock recovery restorer...
echo.

adb shell "mv /system/recovery-from-boot.p /system/recovery-from-boot.p.bak"
adb shell "mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak"

:CONTINUE
echo.
echo Installing SU binary file...
echo.

adb shell "dd if=/data/local/tmp/su of=/system/xbin/su"
adb shell "chmod 4555/system/xbin/su"

pause

echo.
echo Installing Superuser app...
echo.

adb shell "dd if=/data/local/tmp/Superuser.apk of=/data/app/Superuser.apk"
adb shell "chmod 6755 /data/app/Superuser.apk"

pause

echo.
echo Installing busybox binary file...
echo.

adb shell "dd if=/data/local/tmp/busybox of=/system/xbin/busybox"
adb shell "chmod 6755 /system/xbin/busybox"

pause

cls
echo.
echo.
echo.
echo.
echo Creating symbolic links for the busybox binary file...
echo Please be patient.  This will take a few minutes.
echo.

adb shell ln -s /system/xbin/busybox /system/xbin/[
adb shell ln -s /system/xbin/busybox /system/xbin/[[
adb shell ln -s /system/xbin/busybox /system/xbin/addgroup
adb shell ln -s /system/xbin/busybox /system/xbin/adduser
adb shell ln -s /system/xbin/busybox /system/xbin/adjtimex
adb shell ln -s /system/xbin/busybox /system/xbin/ar
adb shell ln -s /system/xbin/busybox /system/xbin/arp
adb shell ln -s /system/xbin/busybox /system/xbin/arping
adb shell ln -s /system/xbin/busybox /system/xbin/ash
adb shell ln -s /system/xbin/busybox /system/xbin/awk
adb shell ln -s /system/xbin/busybox /system/xbin/basename
adb shell ln -s /system/xbin/busybox /system/xbin/bbconfig
adb shell ln -s /system/xbin/busybox /system/xbin/beep
adb shell ln -s /system/xbin/busybox /system/xbin/blkid
adb shell ln -s /system/xbin/busybox /system/xbin/brctl
adb shell ln -s /system/xbin/busybox /system/xbin/bunzip2
adb shell ln -s /system/xbin/busybox /system/xbin/bzcat
adb shell ln -s /system/xbin/busybox /system/xbin/bzip2
adb shell ln -s /system/xbin/busybox /system/xbin/cal
adb shell ln -s /system/xbin/busybox /system/xbin/cat
adb shell ln -s /system/xbin/busybox /system/xbin/catv
adb shell ln -s /system/xbin/busybox /system/xbin/chat
adb shell ln -s /system/xbin/busybox /system/xbin/chattr
adb shell ln -s /system/xbin/busybox /system/xbin/chgrp
adb shell ln -s /system/xbin/busybox /system/xbin/chmod
adb shell ln -s /system/xbin/busybox /system/xbin/chown
adb shell ln -s /system/xbin/busybox /system/xbin/chpasswd
adb shell ln -s /system/xbin/busybox /system/xbin/chpst
adb shell ln -s /system/xbin/busybox /system/xbin/chroot
adb shell ln -s /system/xbin/busybox /system/xbin/chrt
adb shell ln -s /system/xbin/busybox /system/xbin/chvt
adb shell ln -s /system/xbin/busybox /system/xbin/cksum
adb shell ln -s /system/xbin/busybox /system/xbin/clear
adb shell ln -s /system/xbin/busybox /system/xbin/cmp
adb shell ln -s /system/xbin/busybox /system/xbin/comm
adb shell ln -s /system/xbin/busybox /system/xbin/cp
adb shell ln -s /system/xbin/busybox /system/xbin/cpio
adb shell ln -s /system/xbin/busybox /system/xbin/crond
adb shell ln -s /system/xbin/busybox /system/xbin/crontab
adb shell ln -s /system/xbin/busybox /system/xbin/cryptpw
adb shell ln -s /system/xbin/busybox /system/xbin/cttyhack
adb shell ln -s /system/xbin/busybox /system/xbin/cut
adb shell ln -s /system/xbin/busybox /system/xbin/date
adb shell ln -s /system/xbin/busybox /system/xbin/dc
adb shell ln -s /system/xbin/busybox /system/xbin/dd
adb shell ln -s /system/xbin/busybox /system/xbin/deallocvt
adb shell ln -s /system/xbin/busybox /system/xbin/delgroup
adb shell ln -s /system/xbin/busybox /system/xbin/deluser
adb shell ln -s /system/xbin/busybox /system/xbin/depmod
adb shell ln -s /system/xbin/busybox /system/xbin/devmem
adb shell ln -s /system/xbin/busybox /system/xbin/df
adb shell ln -s /system/xbin/busybox /system/xbin/diff
adb shell ln -s /system/xbin/busybox /system/xbin/dirname
adb shell ln -s /system/xbin/busybox /system/xbin/dmesg
adb shell ln -s /system/xbin/busybox /system/xbin/dnsd
adb shell ln -s /system/xbin/busybox /system/xbin/dnsdomainname
adb shell ln -s /system/xbin/busybox /system/xbin/dos2unix
adb shell ln -s /system/xbin/busybox /system/xbin/du
adb shell ln -s /system/xbin/busybox /system/xbin/dumpkmap
adb shell ln -s /system/xbin/busybox /system/xbin/echo
adb shell ln -s /system/xbin/busybox /system/xbin/ed
adb shell ln -s /system/xbin/busybox /system/xbin/egrep
adb shell ln -s /system/xbin/busybox /system/xbin/eject
adb shell ln -s /system/xbin/busybox /system/xbin/env
adb shell ln -s /system/xbin/busybox /system/xbin/envdir
adb shell ln -s /system/xbin/busybox /system/xbin/envuidgid
adb shell ln -s /system/xbin/busybox /system/xbin/ether-wake
adb shell ln -s /system/xbin/busybox /system/xbin/expand
adb shell ln -s /system/xbin/busybox /system/xbin/expr
adb shell ln -s /system/xbin/busybox /system/xbin/fakeidentd
adb shell ln -s /system/xbin/busybox /system/xbin/false
adb shell ln -s /system/xbin/busybox /system/xbin/fbset
adb shell ln -s /system/xbin/busybox /system/xbin/fbsplash
adb shell ln -s /system/xbin/busybox /system/xbin/fdflush
adb shell ln -s /system/xbin/busybox /system/xbin/fdformat
adb shell ln -s /system/xbin/busybox /system/xbin/fdisk
adb shell ln -s /system/xbin/busybox /system/xbin/fgrep
adb shell ln -s /system/xbin/busybox /system/xbin/find
adb shell ln -s /system/xbin/busybox /system/xbin/findfs
adb shell ln -s /system/xbin/busybox /system/xbin/fold
adb shell ln -s /system/xbin/busybox /system/xbin/free
adb shell ln -s /system/xbin/busybox /system/xbin/fsck
adb shell ln -s /system/xbin/busybox /system/xbin/fsck.minix
adb shell ln -s /system/xbin/busybox /system/xbin/fsync
adb shell ln -s /system/xbin/busybox /system/xbin/ftpd
adb shell ln -s /system/xbin/busybox /system/xbin/ftpget
adb shell ln -s /system/xbin/busybox /system/xbin/ftpput
adb shell ln -s /system/xbin/busybox /system/xbin/fuser
adb shell ln -s /system/xbin/busybox /system/xbin/getopt
adb shell ln -s /system/xbin/busybox /system/xbin/getty
adb shell ln -s /system/xbin/busybox /system/xbin/grep
adb shell ln -s /system/xbin/busybox /system/xbin/gunzip
adb shell ln -s /system/xbin/busybox /system/xbin/gzip
adb shell ln -s /system/xbin/busybox /system/xbin/halt
adb shell ln -s /system/xbin/busybox /system/xbin/hd
adb shell ln -s /system/xbin/busybox /system/xbin/hdparm
adb shell ln -s /system/xbin/busybox /system/xbin/head
adb shell ln -s /system/xbin/busybox /system/xbin/hexdump
adb shell ln -s /system/xbin/busybox /system/xbin/hostid
adb shell ln -s /system/xbin/busybox /system/xbin/hostname
adb shell ln -s /system/xbin/busybox /system/xbin/httpd
adb shell ln -s /system/xbin/busybox /system/xbin/hush
adb shell ln -s /system/xbin/busybox /system/xbin/hwclock
adb shell ln -s /system/xbin/busybox /system/xbin/id
adb shell ln -s /system/xbin/busybox /system/xbin/ifconfig
adb shell ln -s /system/xbin/busybox /system/xbin/ifdown
adb shell ln -s /system/xbin/busybox /system/xbin/ifenslave
adb shell ln -s /system/xbin/busybox /system/xbin/ifplugd
adb shell ln -s /system/xbin/busybox /system/xbin/ifup
adb shell ln -s /system/xbin/busybox /system/xbin/inetd
adb shell ln -s /system/xbin/busybox /system/xbin/init
adb shell ln -s /system/xbin/busybox /system/xbin/insmod
adb shell ln -s /system/xbin/busybox /system/xbin/install
adb shell ln -s /system/xbin/busybox /system/xbin/ionice
adb shell ln -s /system/xbin/busybox /system/xbin/ip
adb shell ln -s /system/xbin/busybox /system/xbin/ipaddr
adb shell ln -s /system/xbin/busybox /system/xbin/ipcalc
adb shell ln -s /system/xbin/busybox /system/xbin/ipcrm
adb shell ln -s /system/xbin/busybox /system/xbin/ipcs
adb shell ln -s /system/xbin/busybox /system/xbin/iplink
adb shell ln -s /system/xbin/busybox /system/xbin/iproute
adb shell ln -s /system/xbin/busybox /system/xbin/iprule
adb shell ln -s /system/xbin/busybox /system/xbin/iptunnel
adb shell ln -s /system/xbin/busybox /system/xbin/kbd_mode
adb shell ln -s /system/xbin/busybox /system/xbin/kill
adb shell ln -s /system/xbin/busybox /system/xbin/killall
adb shell ln -s /system/xbin/busybox /system/xbin/killall5
adb shell ln -s /system/xbin/busybox /system/xbin/klogd
adb shell ln -s /system/xbin/busybox /system/xbin/last
adb shell ln -s /system/xbin/busybox /system/xbin/length
adb shell ln -s /system/xbin/busybox /system/xbin/less
adb shell ln -s /system/xbin/busybox /system/xbin/linux32
adb shell ln -s /system/xbin/busybox /system/xbin/linux64
adb shell ln -s /system/xbin/busybox /system/xbin/linuxrc
adb shell ln -s /system/xbin/busybox /system/xbin/ln
adb shell ln -s /system/xbin/busybox /system/xbin/loadfont
adb shell ln -s /system/xbin/busybox /system/xbin/loadkmap
adb shell ln -s /system/xbin/busybox /system/xbin/logger
adb shell ln -s /system/xbin/busybox /system/xbin/login
adb shell ln -s /system/xbin/busybox /system/xbin/logname
adb shell ln -s /system/xbin/busybox /system/xbin/logread
adb shell ln -s /system/xbin/busybox /system/xbin/losetup
adb shell ln -s /system/xbin/busybox /system/xbin/lpd
adb shell ln -s /system/xbin/busybox /system/xbin/lpq
adb shell ln -s /system/xbin/busybox /system/xbin/lpr
adb shell ln -s /system/xbin/busybox /system/xbin/ls
adb shell ln -s /system/xbin/busybox /system/xbin/lsattr
adb shell ln -s /system/xbin/busybox /system/xbin/lsmod
adb shell ln -s /system/xbin/busybox /system/xbin/lzmacat
adb shell ln -s /system/xbin/busybox /system/xbin/lzop
adb shell ln -s /system/xbin/busybox /system/xbin/lzopcat
adb shell ln -s /system/xbin/busybox /system/xbin/makedevs
adb shell ln -s /system/xbin/busybox /system/xbin/makemime
adb shell ln -s /system/xbin/busybox /system/xbin/man
adb shell ln -s /system/xbin/busybox /system/xbin/md5sum
adb shell ln -s /system/xbin/busybox /system/xbin/mdev
adb shell ln -s /system/xbin/busybox /system/xbin/mesg
adb shell ln -s /system/xbin/busybox /system/xbin/microcom
adb shell ln -s /system/xbin/busybox /system/xbin/mkdir
adb shell ln -s /system/xbin/busybox /system/xbin/mkdosfs
adb shell ln -s /system/xbin/busybox /system/xbin/mkfifo
adb shell ln -s /system/xbin/busybox /system/xbin/mkfs.minix
adb shell ln -s /system/xbin/busybox /system/xbin/mkfs.vfat
adb shell ln -s /system/xbin/busybox /system/xbin/mknod
adb shell ln -s /system/xbin/busybox /system/xbin/mkpasswd
adb shell ln -s /system/xbin/busybox /system/xbin/mkswap
adb shell ln -s /system/xbin/busybox /system/xbin/mktemp
adb shell ln -s /system/xbin/busybox /system/xbin/modprobe
adb shell ln -s /system/xbin/busybox /system/xbin/more
adb shell ln -s /system/xbin/busybox /system/xbin/mount
adb shell ln -s /system/xbin/busybox /system/xbin/mountpoint
adb shell ln -s /system/xbin/busybox /system/xbin/msh
adb shell ln -s /system/xbin/busybox /system/xbin/mt
adb shell ln -s /system/xbin/busybox /system/xbin/mv
adb shell ln -s /system/xbin/busybox /system/xbin/nameif
adb shell ln -s /system/xbin/busybox /system/xbin/nc
adb shell ln -s /system/xbin/busybox /system/xbin/netstat
adb shell ln -s /system/xbin/busybox /system/xbin/nice
adb shell ln -s /system/xbin/busybox /system/xbin/nmeter
adb shell ln -s /system/xbin/busybox /system/xbin/nohup
adb shell ln -s /system/xbin/busybox /system/xbin/nslookup
adb shell ln -s /system/xbin/busybox /system/xbin/od
adb shell ln -s /system/xbin/busybox /system/xbin/openvt
adb shell ln -s /system/xbin/busybox /system/xbin/passwd
adb shell ln -s /system/xbin/busybox /system/xbin/patch
adb shell ln -s /system/xbin/busybox /system/xbin/pgrep
adb shell ln -s /system/xbin/busybox /system/xbin/pidof
adb shell ln -s /system/xbin/busybox /system/xbin/ping
adb shell ln -s /system/xbin/busybox /system/xbin/ping6
adb shell ln -s /system/xbin/busybox /system/xbin/pipe_progress
adb shell ln -s /system/xbin/busybox /system/xbin/pivot_root
adb shell ln -s /system/xbin/busybox /system/xbin/pkill
adb shell ln -s /system/xbin/busybox /system/xbin/popmaildir
adb shell ln -s /system/xbin/busybox /system/xbin/poweroff
adb shell ln -s /system/xbin/busybox /system/xbin/printenv
adb shell ln -s /system/xbin/busybox /system/xbin/printf
adb shell ln -s /system/xbin/busybox /system/xbin/ps
adb shell ln -s /system/xbin/busybox /system/xbin/pscan
adb shell ln -s /system/xbin/busybox /system/xbin/pwd
adb shell ln -s /system/xbin/busybox /system/xbin/raidautorun
adb shell ln -s /system/xbin/busybox /system/xbin/rdate
adb shell ln -s /system/xbin/busybox /system/xbin/rdev
adb shell ln -s /system/xbin/busybox /system/xbin/readahead
adb shell ln -s /system/xbin/busybox /system/xbin/readlink
adb shell ln -s /system/xbin/busybox /system/xbin/readprofile
adb shell ln -s /system/xbin/busybox /system/xbin/realpath
adb shell ln -s /system/xbin/busybox /system/xbin/reformime
adb shell ln -s /system/xbin/busybox /system/xbin/renice
adb shell ln -s /system/xbin/busybox /system/xbin/reset
adb shell ln -s /system/xbin/busybox /system/xbin/resize
adb shell ln -s /system/xbin/busybox /system/xbin/rm
adb shell ln -s /system/xbin/busybox /system/xbin/rmdir
adb shell ln -s /system/xbin/busybox /system/xbin/rmmod
adb shell ln -s /system/xbin/busybox /system/xbin/route
adb shell ln -s /system/xbin/busybox /system/xbin/rtcwake
adb shell ln -s /system/xbin/busybox /system/xbin/run-parts
adb shell ln -s /system/xbin/busybox /system/xbin/runlevel
adb shell ln -s /system/xbin/busybox /system/xbin/runsv
adb shell ln -s /system/xbin/busybox /system/xbin/runsvdir
adb shell ln -s /system/xbin/busybox /system/xbin/rx
adb shell ln -s /system/xbin/busybox /system/xbin/script
adb shell ln -s /system/xbin/busybox /system/xbin/scriptreplay
adb shell ln -s /system/xbin/busybox /system/xbin/sed
adb shell ln -s /system/xbin/busybox /system/xbin/sendmail
adb shell ln -s /system/xbin/busybox /system/xbin/seq
adb shell ln -s /system/xbin/busybox /system/xbin/setarch
adb shell ln -s /system/xbin/busybox /system/xbin/setconsole
adb shell ln -s /system/xbin/busybox /system/xbin/setfont
adb shell ln -s /system/xbin/busybox /system/xbin/setkeycodes
adb shell ln -s /system/xbin/busybox /system/xbin/setlogcons
adb shell ln -s /system/xbin/busybox /system/xbin/setsid
adb shell ln -s /system/xbin/busybox /system/xbin/setuidgid
adb shell ln -s /system/xbin/busybox /system/xbin/sh
adb shell ln -s /system/xbin/busybox /system/xbin/sha1sum
adb shell ln -s /system/xbin/busybox /system/xbin/sha256sum
adb shell ln -s /system/xbin/busybox /system/xbin/sha512sum
adb shell ln -s /system/xbin/busybox /system/xbin/showkey
adb shell ln -s /system/xbin/busybox /system/xbin/slattach
adb shell ln -s /system/xbin/busybox /system/xbin/sleep
adb shell ln -s /system/xbin/busybox /system/xbin/softlimit
adb shell ln -s /system/xbin/busybox /system/xbin/sort
adb shell ln -s /system/xbin/busybox /system/xbin/split
adb shell ln -s /system/xbin/busybox /system/xbin/start-stop-daemon
adb shell ln -s /system/xbin/busybox /system/xbin/stat
adb shell ln -s /system/xbin/busybox /system/xbin/strings
adb shell ln -s /system/xbin/busybox /system/xbin/stty
adb shell ln -s /system/xbin/busybox /system/xbin/sulogin
adb shell ln -s /system/xbin/busybox /system/xbin/sum
adb shell ln -s /system/xbin/busybox /system/xbin/sv
adb shell ln -s /system/xbin/busybox /system/xbin/svlogd
adb shell ln -s /system/xbin/busybox /system/xbin/swapoff
adb shell ln -s /system/xbin/busybox /system/xbin/swapon
adb shell ln -s /system/xbin/busybox /system/xbin/switch_root
adb shell ln -s /system/xbin/busybox /system/xbin/sync
adb shell ln -s /system/xbin/busybox /system/xbin/sysctl
adb shell ln -s /system/xbin/busybox /system/xbin/syslogd
adb shell ln -s /system/xbin/busybox /system/xbin/tac
adb shell ln -s /system/xbin/busybox /system/xbin/tail
adb shell ln -s /system/xbin/busybox /system/xbin/tar
adb shell ln -s /system/xbin/busybox /system/xbin/tcpsvd
adb shell ln -s /system/xbin/busybox /system/xbin/tee
adb shell ln -s /system/xbin/busybox /system/xbin/telnet
adb shell ln -s /system/xbin/busybox /system/xbin/telnetd
adb shell ln -s /system/xbin/busybox /system/xbin/test
adb shell ln -s /system/xbin/busybox /system/xbin/tftp
adb shell ln -s /system/xbin/busybox /system/xbin/tftpd
adb shell ln -s /system/xbin/busybox /system/xbin/time
adb shell ln -s /system/xbin/busybox /system/xbin/timeout
adb shell ln -s /system/xbin/busybox /system/xbin/top
adb shell ln -s /system/xbin/busybox /system/xbin/touch
adb shell ln -s /system/xbin/busybox /system/xbin/tr
adb shell ln -s /system/xbin/busybox /system/xbin/traceroute
adb shell ln -s /system/xbin/busybox /system/xbin/true
adb shell ln -s /system/xbin/busybox /system/xbin/tty
adb shell ln -s /system/xbin/busybox /system/xbin/ttysize
adb shell ln -s /system/xbin/busybox /system/xbin/tunctl
adb shell ln -s /system/xbin/busybox /system/xbin/udpsvd
adb shell ln -s /system/xbin/busybox /system/xbin/umount
adb shell ln -s /system/xbin/busybox /system/xbin/uname
adb shell ln -s /system/xbin/busybox /system/xbin/uncompress
adb shell ln -s /system/xbin/busybox /system/xbin/unexpand
adb shell ln -s /system/xbin/busybox /system/xbin/uniq
adb shell ln -s /system/xbin/busybox /system/xbin/unix2dos
adb shell ln -s /system/xbin/busybox /system/xbin/unlzma
adb shell ln -s /system/xbin/busybox /system/xbin/unlzop
adb shell ln -s /system/xbin/busybox /system/xbin/unzip
adb shell ln -s /system/xbin/busybox /system/xbin/uptime
adb shell ln -s /system/xbin/busybox /system/xbin/usleep
adb shell ln -s /system/xbin/busybox /system/xbin/uudecode
adb shell ln -s /system/xbin/busybox /system/xbin/uuencode
adb shell ln -s /system/xbin/busybox /system/xbin/vconfig
adb shell ln -s /system/xbin/busybox /system/xbin/vi
adb shell ln -s /system/xbin/busybox /system/xbin/vlock
adb shell ln -s /system/xbin/busybox /system/xbin/volname
adb shell ln -s /system/xbin/busybox /system/xbin/watch
adb shell ln -s /system/xbin/busybox /system/xbin/watchdog
adb shell ln -s /system/xbin/busybox /system/xbin/wc
adb shell ln -s /system/xbin/busybox /system/xbin/wget
adb shell ln -s /system/xbin/busybox /system/xbin/which
adb shell ln -s /system/xbin/busybox /system/xbin/who
adb shell ln -s /system/xbin/busybox /system/xbin/whoami
adb shell ln -s /system/xbin/busybox /system/xbin/xargs
adb shell ln -s /system/xbin/busybox /system/xbin/yes
adb shell ln -s /system/xbin/busybox /system/xbin/zcat
adb shell ln -s /system/xbin/busybox /system/xbin/zcip

echo.
echo Symbolic links for the busybox binary file have been created...
echo.

echo.
echo Rebooting your device...
echo.

adb reboot

echo.
echo Waiting on your device to boot...
echo.

adb wait-for-device

pause

cls
echo.
echo.
echo.
echo.
echo Cleaning up TEMP files from /data/local/temp...
echo.

adb shell "rm /data/local/tmp/*"
adb shell "rm /data/local.prop"

cls
echo.
echo.
echo.
echo.
echo   ***************************************************************************
echo   *                 Toshiba Thrive Universal Easy Flash Tool                *
echo   ***************************************************************************
echo   * Congratulations.  If everything went as it should, your Toshiba Thrive  *
echo   * should now be rooted.  You can now enjoy the benefits and power of      *
echo   * having a rooted device.                                                 *
echo   *                                                                         *
echo   ***************************************************************************
echo   *                                                                         *
echo   * Please thank @TurnYourBackandRun for finding and verifying the exploit  *
echo   * used in this tool.  Without his dedication and hard work you would not  *
echo   * have been able to root your device.  Please donate to him and all the   *
echo   * Devs on WWW.ThiriveForums.ORG for all thier hard work in making the     *
echo   * Toshiba Thrive the best device around.                                  *
echo   *                                                                         *
echo   ***************************************************************************
echo.
pause

GOTO MENU

:END
cd ..
cls
echo.
echo.
echo.
echo.
echo bye
echo.
pause

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

After running the batch file, I tested my device and found out that indeed the Superuser app was loaded on my device and I could boot up ClockWorkMod.  My only problem was that the Superuser app and Titanium backup were both unable to root the device using system/xbin/su.  So I tried uninstalling Superuser from my device and reinstalled it back from Google play and this worked.  I am not sure why the superuser application that came from Dalenet did not work, but I was glad to found a fix to my problem.


Now to finish what I had started and that was to uninstall the original version of Quickoffice and reinstall Google's free version.  I went to my Android System app  [a free app I got off Google play], clicked on Apps on the top menu bar and selected the Quickoffice app and selected the Uninstall option.  However, it came back and reported that it was unable to uninstall this app.  Even with Superuser access I couldn't do what I had originally intended.

So I had to find another way.  The solution was to log into my Toshiba Thrive using the Adb interface that came with the files extracted from Dalenet.

I reconnected my Thrive to my PC using the USB cable.  I then went to the Start option in Windows and issued the commend: cmd.  Next, I changed directory (cd) to where my Adb.exe file was located and issued the commands: adb devices <enter>, adb remount [remounts the /system partition on the device read-write] <enter>,  adb shell <enter>

When you enter adb shell you will get back the pound symbol (#) as a prompt which indicates that you have root access.  You can also verity this by issuing the commands:

# Cd /system/xbin
# Su
# Id
[Should say uid is 0 which means I am rooted]

Now, change directory to /system
# cd /system  [this is where the Quickoffice app is located- you can verify this with a directory listing]
# chmod 6666 Quickoffice.apk   [This reestablishes read-write permission]
# rm Quickoffice.apk [remove Quickoffice.apk]

This should have removed quick office
so exit out of the shell by issuing the exit commend and then issue the exit command one more time to leave cmd.exe

Proceed to Google Play on your Thrive and load up Google's version of Quickoffice and it should install with no problems.

Mission Accomplished!





Tuesday, October 15, 2013

Uninstalling Quickoffice from my device


I was very excited to learn that the android Quickoffice application was bought by Google and that it was now a free app on Google Play.  So I thought no problem I will just uninstall Quickoffice from my Toshiba Thrive tablet (AT100) and reinstall Google’s version.  Well, I quickly figured out that this was not going to be easy.

First I went to manage applications and tried to uninstall it and there is no uninstall option- the only options are: Clear Data, Clear Cache, Clear Defaults, and Force Stop.  Not to be deterred, I cleared my data, defaults, and cache and proceeded to install Google version on Google Play.  Upon installing this new version, I received an error message- “Duplicate Provider Authority” so no luck with the new version overriding the old.

Looking on the internet, it seems that many people are having the same issue and the problem has do with Quickoffice being part of the original system software that comes preinstalled with the device (some people may not be aware of this having never accessed it before) and I didn’t have the necessary permission (read-only file) to delete it.

Somebody on the web (Juliannen), mentioned that installing the latest push should solve this issue for many users.

I decided on a more permanent solution and that was to gain root control of my device so I could have better control of my tablet including access to programs like Titanium backup.

In my next, blog I will talk about how I rooted my device (super user access) and ultimately loaded Google’s version of Quickoffice. 

Saturday, October 5, 2013

Wonders of the World



Yosemite - Half Dome
Travel has always held a very special place in my life as I have loved going to new and exotic places with all of there mystery and wonder.  Visiting these places one feels a sense of awe for the people who built them and the Divine inspiration that prompted there construction or for the forces of nature that formed them.  There is a presence of something special that one can feel, if one takes the time to sense into the sacredness of these places, not that all places aren't sacred but that certain places this sacredness feels amped up.  Enjoy!



Stonehenge, England



Königssee, Germany
Pisa Italy

Mount Shasta California in winter

Big Basin Redwood State Park near San Jose California 


Sphinx, Cairo Egypt
Giza Plateau

Karnak wall carving

Kom Ombo

Rock of the Dome, Jerusalem Israel

Sea of Galilee, Tiberius Israel

St. Peter's Church, Tiberius Israel

The Cathedral at Petra Jordan

Petra Jordan
































































Machu Picchu, Peru

Sun Dial @ Machu Picchu


Llama at Machu Picchu

Sacred Valley near Cuzco Peru

Peru country side

In Cuzco

Floating island on Lake Titicaca
Banff National Park Canada














Banff National Park Canada
Lake Louise, Banff Canada























Sacré Cœur Paris France
 
Sacré Cœur at night
Eiffel  Tower, Paris France

Mather Pass- John Muir Trail California

Muir Hut, John Muir Trail California

Rae Lakes Kings Canyon Park, California

 
Taj Mahal, India


Shiva Temple, Banares India
Landers "Giant Rock" California