/ZenFoneSystemImageCreator

Create system.img for ZenFone

Primary LanguageShellGNU General Public License v2.0GPL-2.0

ZenFoneSystemImageCreator

Create system.img for ZenFone

How to use

  1. run scripts/build_make_ext4fs.sh
  • Fetch required source tree from AOSP to src directory
  • Build make_ext4fs binary for packing system.img
  • make_ext4fs will be in work directory
  1. run scripts/build_applypatch.sh
  • Fetch required source tree from AOSP to src directory
  • Build applypatch binary for applying delta OTA updates
  • applypatch will be in work directory
  1. run scripts/build.sh
  • Fetch ROM file of ZenFone 5 (1.17.40.16, WW version) to work directory
  • Extract ROM file and get system directory
  • Inject root package
  • Put whatever your want in work/system when pausing
  • Pack system.img from work/system

Download

  • Enter fastboot mode by issuing 'adb reboot bootloader' command or power-on with 'power key + volume up'
  • Use 'fastboot flash system system.img' to download image to your phone
  • Reboot to recovery and wipe data if needed