Teacher107MBP6-20-2012:~ teacher$ md5 /Users/teacher/Desktop/ROOT/PB31IMG\ \(1\).zip
MD5 (/Users/teacher/Desktop/ROOT/PB31IMG (1).zip) = 25ec451e08cd98c9495971bcb37e6582
Teacher107MBP6-20-2012:~ teacher$
Teacher107MBP6-20-2012:~ teacher$ md5 /Volumes/INCREDIBLE2/PB31IMG.zip
MD5 (/Volumes/INCREDIBLE2/PB31IMG.zip) = 25ec451e08cd98c9495971bcb37e6582
Teacher107MBP6-20-2012:~ teacher$ cd /Users/teacher/android-sdk-macosx
Teacher107MBP6-20-2012:android-sdk-macosx teacher$ fastboot oem get_identifier_token
-bash: fastboot: command not found
Teacher107MBP6-20-2012:android-sdk-macosx teacher$ ./ fastboot oem get_identifier_token
Teacher107MBP6-20-2012:android-sdk-macosx teacher$ ls
SDK Readme.txt platform-tools temp
add-ons platforms tools
Teacher107MBP6-20-2012:android-sdk-macosx teacher$ cd /tools
-bash: cd: /tools: No such file or directory
Teacher107MBP6-20-2012:android-sdk-macosx teacher$ cd tools
Teacher107MBP6-20-2012:tools teacher$ ls
Jet emulator monkeyrunner
NOTICE.txt emulator-arm proguard
adb_has_moved.txt emulator-x86 source.properties
android etc1tool sqlite3
ant hierarchyviewer support
apkbuilder hprof-conv systrace
apps lib templates
ddms lint traceview
dmtracedump mksdcard zipalign
draw9patch monitor
Teacher107MBP6-20-2012:tools teacher$ cd
Teacher107MBP6-20-2012:~ teacher$ cd /Desktop/ROOT
-bash: cd: /Desktop/ROOT: No such file or directory
Teacher107MBP6-20-2012:~ teacher$ s
-bash: s: command not found
Teacher107MBP6-20-2012:~ teacher$ ls
Backupdocs-lite.app Movies android-sdk-macosx
Desktop Music drop.app
Documents Pictures miniadb_inc
Downloads Public run shirt back 2012.svg
Google Drive Samsung
Library Sites
Teacher107MBP6-20-2012:~ teacher$ cd Desktop/ROOT
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot oem get_identifier_token
-bash: ./fastboot: No such file or directory
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot oem get_identifier_token
< waiting for device >
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.008s]
finished. total time: 0.008s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot oem get_identifier_token
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.007s]
finished. total time: 0.007s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot oem get_identifier_token
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.007s]
finished. total time: 0.007s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot oem get_identifier_token
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.008s]
finished. total time: 0.008s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot oem get_identifier_token
...
FAILED (status malformed (1 bytes))
finished. total time: 0.001s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot-mac oem get_identifier_token
... FAILED (status malformed (1 bytes))
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot-mac oem get_identifier_token
... INFO[ERR] Command error !!!
OKAY
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot oem get_identifier_token
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.007s]
finished. total time: 0.007s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot oem get_identifier_token
...
(bootloader)
(bootloader) < Please cut following message >
(bootloader) <<<< Identifier Token Start >>>>
(bootloader) 4AEEDE8F5B17934521842903424C1DF7
(bootloader) EB83AB9F85C83D4B3506FE0E32D33F50
(bootloader) DE0C387857FE1584434E59370A7F1228
(bootloader) 39216967E2C5455FE3169F24580C1309
(bootloader) A787E47E66495AD401736DEF147013B1
(bootloader) 15646BEF0DE7A62ED7922E1B8F102989
(bootloader) 9A00BA1E7F82D5F36DEE61C0844ED1DF
(bootloader) B5B31A21801137EC1A1B90BA1DAB651F
(bootloader) 01B3AA6BF05EE1E42FD6991D6C09C7AB
(bootloader) DF17FE8DAA9FAA2B86A685A000C4BE94
(bootloader) 44260BBFF88F3F02F80A75C8422CF90A
(bootloader) 196AF903E474B68AD216F945663A28F8
(bootloader) E5EB7FBDC9AC9180FD1E14EC9BDFC94E
(bootloader) 72B2377F9AED7E3401713D5D253F58DC
(bootloader) 1F83E0A41C1AA74C06F259A1B2FE21A1
(bootloader) 594C04F62810A81FB13A7339A236FBC7
(bootloader) <<<<< Identifier Token End >>>>>
OKAY [ 0.068s]
finished. total time: 0.068s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.014s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.006s]
finished. total time: 0.021s
Teacher107MBP6-20-2012:ROOT teacher$ md5 /Users/teacher/Desktop/ROOT/recovery-clockwork-5.0.2.0-inc.img
MD5 (/Users/teacher/Desktop/ROOT/recovery-clockwork-5.0.2.0-inc.img) = ea382ca5809cb872d0582aa22741d592
Teacher107MBP6-20-2012:ROOT teacher$ .adb devices
-bash: .adb: command not found
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
format <partition> format a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address
-n <page size> specify the nand page size. default: 2048
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot oem get_identifier_token
...
(bootloader)
(bootloader) < Please cut following message >
(bootloader) <<<< Identifier Token Start >>>>
(bootloader) 9428F4494B41C06E32BB6AE499110C03
(bootloader) 973D44CD26E92FE13F64DDC66BD6D1B2
(bootloader) 3A00F180C91E4B8E8B62F075B2A75A46
(bootloader) 56D417A08C041207E0156C4BCB9B600B
(bootloader) 888A9E5A83197A11F20C55ADD48A9781
(bootloader) F7ED1690D18A5EFAF77D59FE54E4D0B6
(bootloader) 3381A6588E5474E5C869D0420ACAE8DD
(bootloader) D6130C1DDCFEE517FB5BF28B8B9CF1B0
(bootloader) 81FF93D07225ACE83DEC9FAC27A156C7
(bootloader) 9B13A7C3FDF71219C6326EF0C55F9C58
(bootloader) 36B12E69ED38D97FC55C956AF12FE177
(bootloader) AB4DA4B60B60716DBA4AB5DC6D34739B
(bootloader) 8C9A2E95C2D85C8769C34FC3BEF3C409
(bootloader) E249FA2B846AC67BA0BCE1AF64E24998
(bootloader) 6E28580B6F883693EA2F436B3A6326F0
(bootloader) 3DCE3F9F38AA61D99BB50B83802737B0
(bootloader) <<<<< Identifier Token End >>>>>
OKAY [ 0.061s]
finished. total time: 0.061s
Teacher107MBP6-20-2012:ROOT teacher$ ./adb reboot bootloader
error: device not found
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
HT0C2HJ02350 device
Teacher107MBP6-20-2012:ROOT teacher$ ./md5sums recovery-clockwork-5.0.2.0-inc.img
-bash: ./md5sums: No such file or directory
Teacher107MBP6-20-2012:ROOT teacher$ ./adb reboot bootloader
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot devices
HT0C2HJ02350 fastboot
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot flash recovery recovery-clockwork-5.0.2.0-inc.img
sending 'recovery' (3064 KB)...
OKAY [ 0.436s]
writing 'recovery'...
OKAY [ 0.983s]
finished. total time: 1.418s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot reboot
rebooting...
finished. total time: 0.095s
Teacher107MBP6-20-2012:ROOT teacher$ md5 /Users/teacher/Desktop/ROOT/PB31IMG\ \(2\).zip
MD5 (/Users/teacher/Desktop/ROOT/PB31IMG (2).zip) = 25ec451e08cd98c9495971bcb37e6582
Teacher107MBP6-20-2012:ROOT teacher$ md5 /Users/teacher/Desktop/ROOT/PB31IMG\ \(2\).zip
MD5 (/Users/teacher/Desktop/ROOT/PB31IMG (2).zip) = 31bb1611a0fa8197d447c0438426717e
Teacher107MBP6-20-2012:ROOT teacher$ md5 /Users/teacher/Desktop/ROOT/PB31IMG.zip
MD5 (/Users/teacher/Desktop/ROOT/PB31IMG.zip) = 31bb1611a0fa8197d447c0438426717e
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
HT0C2HJ02350 device
Teacher107MBP6-20-2012:ROOT teacher$ ./md5sums mtd0.img
-bash: ./md5sums: No such file or directory
Teacher107MBP6-20-2012:ROOT teacher$ md5 mtd0.img
md5: mtd0.img: No such file or directory
Teacher107MBP6-20-2012:ROOT teacher$ md5 /Users/teacher/Desktop/ROOT/PB31IMG.zip
MD5 (/Users/teacher/Desktop/ROOT/PB31IMG.zip) = 31bb1611a0fa8197d447c0438426717e
Teacher107MBP6-20-2012:ROOT teacher$ md5 flash_image
md5: flash_image: No such file or directory
Teacher107MBP6-20-2012:ROOT teacher$ md5 mtd0.img
MD5 (mtd0.img) = 34307be744275f1db1dd16af04c37839
Teacher107MBP6-20-2012:ROOT teacher$ md5 flash_image
MD5 (flash_image) = 0098a7dd6600b55fac34fc6645be5d7a
Teacher107MBP6-20-2012:ROOT teacher$ ./adb push flash_image /data/local/
1364 KB/s (76044 bytes in 0.054s)
Teacher107MBP6-20-2012:ROOT teacher$ ./adb push mtd0.img /sdcard/
891 KB/s (655360 bytes in 0.718s)
Teacher107MBP6-20-2012:ROOT teacher$ ./adb shell
$ ./su
./su: not found
$ su
# cd /data/local
# ./chmod 0755 /data/local/flash_image
./chmod: not found
# chmod 0755 /data/local/flash_image
# cd /data/local
# ./flash_image misc /sdcard/mtd0.img
# exit
$ exit
Teacher107MBP6-20-2012:ROOT teacher$ ./adb reboot bootloader
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot getvar mainver
mainver: 1.22.605.2
finished. total time: 0.001s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot oem lock
...
(bootloader) Device was already locked!
OKAY [ 0.005s]
finished. total time: 0.005s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot erase cache
erasing 'cache'...
OKAY [ 0.840s]
finished. total time: 0.840s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot oem rebootRUU
...
OKAY [ 0.092s]
finished. total time: 0.095s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot flash zip PB31IMG.zip
sending 'zip' (176625 KB)...
OKAY [ 25.561s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) checking main version...
(bootloader) start image[hboot] unzipping for pre-update check...
(bootloader) start image[hboot] unzipping & flushing...
(bootloader) [RUU]UZ,hboot,0
(bootloader) [RUU]UZ,hboot,100
(bootloader) start image[radio] unzipping & flushing...
(bootloader) [RUU]UZ,radio,0
(bootloader) [RUU]UZ,radio,9
(bootloader) [RUU]UZ,radio,18
(bootloader) [RUU]UZ,radio,23
(bootloader) [RUU]UZ,radio,32
(bootloader) [RUU]UZ,radio,41
(bootloader) [RUU]UZ,radio,46
(bootloader) [RUU]UZ,radio,51
(bootloader) [RUU]UZ,radio,60
(bootloader) [RUU]UZ,radio,69
(bootloader) [RUU]UZ,radio,78
(bootloader) [RUU]UZ,radio,87
(bootloader) [RUU]UZ,radio,97
(bootloader) [RUU]UZ,radio,100
(bootloader) [RUU]WP,radio,0
(bootloader) [RUU]WP,radio,7
(bootloader) [RUU]WP,radio,16
(bootloader) [RUU]WP,radio,21
(bootloader) [RUU]WP,radio,26
(bootloader) [RUU]WP,radio,35
(bootloader) [RUU]WP,radio,40
(bootloader) [RUU]WP,radio,45
(bootloader) [RUU]WP,radio,50
(bootloader) [RUU]WP,radio,100
(bootloader) start image[boot] unzipping & flushing...
(bootloader) [RUU]UZ,boot,0
(bootloader) [RUU]UZ,boot,43
(bootloader) [RUU]UZ,boot,83
(bootloader) [RUU]UZ,boot,100
(bootloader) [RUU]WP,boot,0
(bootloader) [RUU]WP,boot,42
(bootloader) [RUU]WP,boot,85
(bootloader) [RUU]WP,boot,100
(bootloader) start image[recovery] unzipping & flushing...
(bootloader) [RUU]UZ,recovery,0
(bootloader) [RUU]UZ,recovery,20
(bootloader) [RUU]UZ,recovery,43
(bootloader) [RUU]UZ,recovery,73
(bootloader) [RUU]UZ,recovery,99
(bootloader) [RUU]UZ,recovery,100
(bootloader) [RUU]WP,recovery,0
(bootloader) [RUU]WP,recovery,20
(bootloader) [RUU]WP,recovery,40
(bootloader) [RUU]WP,recovery,60
(bootloader) [RUU]WP,recovery,80
(bootloader) [RUU]WP,recovery,100
(bootloader) start image[system] unzipping & flushing...
(bootloader) [RUU]UZ,system,0
(bootloader) [RUU]UZ,system,6
(bootloader) [RUU]UZ,system,12
(bootloader) [RUU]UZ,system,19
(bootloader) [RUU]UZ,system,25
(bootloader) [RUU]UZ,system,32
(bootloader) [RUU]UZ,system,39
(bootloader) [RUU]UZ,system,45
(bootloader) [RUU]UZ,system,51
(bootloader) [RUU]UZ,system,58
(bootloader) [RUU]UZ,system,64
(bootloader) [RUU]UZ,system,71
(bootloader) [RUU]UZ,system,78
(bootloader) [RUU]UZ,system,84
(bootloader) [RUU]UZ,system,89
(bootloader) [RUU]WP,system,0
(bootloader) [RUU]WP,system,89
(bootloader) [RUU]UZ,system,89
(bootloader) [RUU]UZ,system,89
(bootloader) [RUU]UZ,system,90
(bootloader) [RUU]UZ,system,91
(bootloader) [RUU]UZ,system,92
(bootloader) [RUU]UZ,system,93
(bootloader) [RUU]UZ,system,94
(bootloader) [RUU]UZ,system,94
(bootloader) [RUU]UZ,system,96
(bootloader) [RUU]UZ,system,96
(bootloader) [RUU]UZ,system,97
(bootloader) [RUU]UZ,system,98
(bootloader) [RUU]UZ,system,99
(bootloader) [RUU]UZ,system,100
(bootloader) [RUU]WP,system,89
(bootloader) [RUU]WP,system,89
(bootloader) [RUU]WP,system,90
(bootloader) [RUU]WP,system,91
(bootloader) [RUU]WP,system,92
(bootloader) [RUU]WP,system,93
(bootloader) [RUU]WP,system,94
(bootloader) [RUU]WP,system,94
(bootloader) [RUU]WP,system,95
(bootloader) [RUU]WP,system,96
(bootloader) [RUU]WP,system,97
(bootloader) [RUU]WP,system,98
(bootloader) [RUU]WP,system,99
(bootloader) [RUU]WP,system,100
(bootloader) start image[sp1] unzipping & flushing...
(bootloader) [RUU]UZ,sp1,0
(bootloader) [RUU]UZ,sp1,100
(bootloader) [RUU]WP,sp1,0
(bootloader) [RUU]WP,sp1,100
OKAY [149.945s]
finished. total time: 175.507s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot reboot
rebooting...
finished. total time: 0.090s
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
HT0C2HJ02350 offline
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
HT0C2HJ02350 device
Teacher107MBP6-20-2012:ROOT teacher$ ./adb reboot bootloader
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot devices
HT0C2HJ02350 fastboot
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.014s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.007s]
finished. total time: 0.021s
Teacher107MBP6-20-2012:ROOT teacher$ ./adb devices
List of devices attached
HT0C2HJ02350 device
Teacher107MBP6-20-2012:ROOT teacher$ md5 recovery-clockwork-5.0.2.0-inc.img
MD5 (recovery-clockwork-5.0.2.0-inc.img) = ea382ca5809cb872d0582aa22741d592
Teacher107MBP6-20-2012:ROOT teacher$ ./adb reboot bootloader
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot devices
HT0C2HJ02350 fastboot
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot flash recovery recovery-clockwork-5.0.2.0-inc.img
sending 'recovery' (3064 KB)...
OKAY [ 0.459s]
writing 'recovery'...
OKAY [ 0.921s]
finished. total time: 1.380s
Teacher107MBP6-20-2012:ROOT teacher$ ./fastboot reboot
rebooting...
finished. total time: 0.091s
Teacher107MBP6-20-2012:ROOT teacher$