Skip to content

Commit

Permalink
patch: script2: Added new fastbootd patch for a55x.
Browse files Browse the repository at this point in the history
Signed-off-by: Carlo Dandan <[email protected]>
  • Loading branch information
phhusson authored and carlodandan committed Jun 30, 2024
1 parent d5a169a commit 29a0513
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ cd unpack
../magiskboot hexpatch system/bin/recovery 9ef0f4ec28b1701c 9ef0f4ec28b9701c
../magiskboot hexpatch system/bin/recovery 9ef00ced28b1701c 9ef00ced28b9701c
../magiskboot hexpatch system/bin/recovery 2001597ae0000054 2001597ae1000054 # ccmp w9, w25, #0, eq ; b.e #0x20 ===> b.ne #0x20
../magiskboot hexpatch system/bin/recovery 2001597ac0000054 2001597ac1000054
../magiskboot cpio vendor_ramdisk_recovery.cpio 'add 0755 system/bin/recovery system/bin/recovery'
../magiskboot repack ../vendor_boot.img new-boot.img
cp new-boot.img ../vendor_boot-patched.img

0 comments on commit 29a0513

Please sign in to comment.