Skip to content

Commit

Permalink
patch: script2: Added new patch for s24 and M13.
Browse files Browse the repository at this point in the history
Signed-off-by: Carlo Dandan <[email protected]>
  • Loading branch information
carlodandan authored Jun 30, 2024
1 parent f09ec22 commit 278310d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ cd unpack
../magiskboot hexpatch system/bin/recovery 27f02eeb30b1681c 27f02eeb30b9681c
../magiskboot hexpatch system/bin/recovery b4f082ee28b1701c b4f082ee28b970c1
../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 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
cp new-boot.img ../vendor_boot-patched.img

0 comments on commit 278310d

Please sign in to comment.