View Single Post
Old December 10th, 2011, 09:27 PM   #631 (permalink)
gkinsella2
Junior Member
 
Join Date: Nov 2011
Posts: 21
 
Device(s):
Carrier: Not Provided

Thanks: 10
Thanked 14 Times in 7 Posts
Default

Code:
gkinsellas-imac:~ gkinsella$ cd /Users/gkinsella/AndroidSDK/platform-tools 
gkinsellas-imac:platform-tools gkinsella$ ./adb devices
List of devices attached 
HTXXXXXXX    device

gkinsellas-imac:platform-tools gkinsella$ md5 /Users/gkinsella/mini-adb_inc/mtd0.img   NOTE:  I ran the md5 before I moved these to my platform-tools folder.  That's why it shows a different path.    
MD5 (/Users/gkinsella/mini-adb_inc/mtd0.img) = 34307be744275f1db1dd16af04c37839
gkinsellas-imac:platform-tools gkinsella$ md5 /Users/gkinsella/mini-adb_inc/flash_image   same reason as above for different path
MD5 (/Users/gkinsella/mini-adb_inc/flash_image) = 0098a7dd6600b55fac34fc6645be5d7a
gkinsellas-imac:platform-tools gkinsella$ ./adb push flash_image /data/local/
1747 KB/s (76044 bytes in 0.042s)
gkinsellas-imac:platform-tools gkinsella$ ./adb push mtd0.img /sdcard/
2106 KB/s (655360 bytes in 0.303s)
gkinsellas-imac:platform-tools gkinsella$ ./adb shell
$ su
Permission denied  as mentioned above, not sure why I was denied
$ su  however, I knocked twice and got in!  :D
# cd /data/local
# chmod 0755 /data/local/flash_image
# cd /data/local
# ./flash_image misc /sdcard/mtd0.img
# exit
$ exit
gkinsellas-imac:platform-tools gkinsella$ ./adb reboot bootloader
gkinsellas-imac:platform-tools gkinsella$
gkinsella2 is offline  
Last edited by gkinsella2; December 10th, 2011 at 09:36 PM.
The Following User Says Thank You to gkinsella2 For This Useful Post:
scotty85 (December 10th, 2011)