Skip to content

Instantly share code, notes, and snippets.

@npjohnson
Last active January 20, 2019 10:05
Show Gist options
  • Save npjohnson/65029e40c907868451e0b4c943870670 to your computer and use it in GitHub Desktop.
Save npjohnson/65029e40c907868451e0b4c943870670 to your computer and use it in GitHub Desktop.
Download:
- https://kremowka.xyz/files/recovery_ramdisk_BKL-L04_nocheck.img
- http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3536/g1699/v216624/f1/full/update.zip
- http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3536/g1699/v216624/f1/full/BKL-L04_hw_usa/update_full_BKL-L04_hw_usa.zip
Run the following (this can either be from your current ROM, Stock, or TWRP) on your PC:
adb root
adb push recovery_ramdisk_BKL-L04_nocheck.img /sdcard/
adb push update.zip /data/update/HWOTA/update.zip
adb push update_full_BKL-L04_hw_usa.zip /data/update/HWOTA/update_all_hw.zip
adb shell
Then from ADB shell, execute:
echo "--update_package=/data/update/HWOTA/update.zip" > /cache/recovery/command
echo "--update_package=/data/update/HWOTA/update_all_hw.zip" >> /cache/recovery/command
dd if=/sdcard/recovery_ramdisk_BKL-L04_nocheck.img of=/dev/block/platform/ff3c0000.ufs/by-name/recovery_ramdisk
reboot recovery (edited)
Then after that succeeds, immediately hold vol-up and power to boot to recovery, then format userdata/cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment