Skip to content

Commit

Permalink
Update script2.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jwagnervaz authored Oct 16, 2022
1 parent 1d0d0b7 commit 22021c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions script2.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/bash

mkdir unpack
cd unpack
../magiskboot unpack ../recovery.img
../magiskboot unpack ../r.img
../magiskboot cpio ramdisk.cpio extract
# Reverse fastbootd ENG mode check
~runner/work/Patch-Recovery/Patch-Recovery/magiskboot hexpatch system/bin/recovery e10313aaf40300aa6ecc009420010034 e10313aaf40300aa6ecc0094 # 20 01 00 35
Expand All @@ -17,5 +16,5 @@ cd unpack
~runner/work/Patch-Recovery/Patch-Recovery/magiskboot hexpatch system/bin/recovery 24f0fcee30b1681c 24f0fcee30b9681c
~runner/work/Patch-Recovery/Patch-Recovery/magiskboot hexpatch system/bin/recovery 27f02eeb30b1681c 27f02eeb30b9681c
~runner/work/Patch-Recovery/Patch-Recovery/magiskboot cpio ramdisk.cpio 'add 0755 system/bin/recovery system/bin/recovery'
~runner/work/Patch-Recovery/Patch-Recovery/magiskboot repack ../recovery.img new-boot.img
~runner/work/Patch-Recovery/Patch-Recovery/magiskboot repack ../r.img new-boot.img
cp new-boot.img ../recovery-patched.img

0 comments on commit 22021c9

Please sign in to comment.