Permalink
Browse files

Provide special method for get u8860 boot.img

Change-Id: I20a8582ded94e68465fbf02d84ba71474aedb7de
  • Loading branch information...
1 parent aa51315 commit bffa16df26bb88cf7e051e260f15c82c7aac5ab1 @MiuiAnderson MiuiAnderson committed Feb 24, 2012
Showing with 12 additions and 0 deletions.
  1. +2 −0 dumpimage.sh
  2. +10 −0 releasetools.py
View
@@ -0,0 +1,2 @@
+adb shell mount /dev/block/mmcblk0p1 /cust
+adb pull /cust/image/boot.img $1
View
@@ -0,0 +1,10 @@
+import common
+
+def WriteRawImage(info, *args):
+ info.script.Print("Writing boot.img...")
+ info.script.Mount("/cust")
+ info.script.AppendExtra('package_extract_file("boot.img", "/cust/image/boot.img");')
+ info.script.Unmount("/cust")
+ info.script.ShowProgress(0.1000, 0)
+ return True
+

0 comments on commit bffa16d

Please sign in to comment.