ROM Android: Penggunaan flash image

From OnnoWiki
Revision as of 20:30, 22 December 2014 by Onnowpurbo (talk | contribs) (New page: == Installing a recovery image using flash_image == Use of the flash_image binary assumes your device already has root. For more detailed instructions on using the tools in this guide, pl...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installing a recovery image using flash_image

Use of the flash_image binary assumes your device already has root. For more detailed instructions on using the tools in this guide, please visit ADB.

  1. Download the flash_image binary
  2. Install the binary into /data/local on your phone via adb and set permissions
    • adb push flash_image /data/local/
    • adb shell chmod 777 /data/local/flash_image
  3. Download {{{install_devname}}}'s ClockworkMod Recovery.
    • {{{install_devname}}}'s ClockworkMod Recovery: [{{{install_file}}} download]
      md5: {{{install_md5sum}}}
  4. Push the file(s) to your device via adb.
    • adb push yourrecoveryimage.img /data/local/
    • adb shell chmod 777 /data/local/yourrecoveryimage.img{{#ifeq:{{{device_codename}}}|desirec|
    • adb shell rm /data/local/rights/mid.txt
    • adb shell ln -s /dev/mtd/mtd1 /data/local/rights/mid.txt
    • adb reboot

Wait for device to reboot fully.}}{{#ifeq:{{{device_codename}}}|hero|

    • adb shell rm /data/local/rights/mid.txt
    • adb shell ln -s /dev/mtd/mtd1 /data/local/rights/mid.txt
    • adb reboot

Wait for device to reboot fully.}}
Flash the recovery:

  1. adb shell /data/local/flash_image recovery /data/local/yourrecoveryimage.img



Referensi