Create system.img for ZenFone
- run
scripts/build_make_ext4fs.sh
- Fetch required source tree from AOSP to
src
directory - Build
make_ext4fs
binary for packingsystem.img
make_ext4fs
will be inwork
directory
- 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 inwork
directory
- 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
fromwork/system
- 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