Skip to content
Unverified Commit f98c79d2 authored by Erfan Abdi's avatar Erfan Abdi
Browse files

hdrfix: Finalize script

# How this works
# 0) Wait for boot complete and surfaceflinger crash (on .rc script)
# 1) Read logcat for isHDRLayer
# 2) Find isHDRLayer offset
# 3) Find first "cbz" offset
# 4) Patch it to "cbnz" and save to /data/local/tmp/
# 5) Stop surfaceflinger
# 6) Patch lib (if system mounts as rw, lib patches directly but if not, patched lib bind mounts in every boot)
# 7) Start surfaceflinger

(gsed: gnu sed taken from https://github.com/android-ide/ndk-arm-prebuilt

)

Signed-off-by: default avatarErfan Abdi <erfangplus@gmail.com>
parent f16cc651
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment