File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ # Unpack recovery
34mkdir unpack
45cd unpack
56../magiskboot unpack ../r.img
67../magiskboot cpio ramdisk.cpio extract
8+
79# Reverse fastbootd ENG mode check
810~ runner/work/Patch-Recovery/Patch-Recovery/magiskboot hexpatch system/bin/recovery e10313aaf40300aa6ecc009420010034 e10313aaf40300aa6ecc0094 # 20 01 00 35
911~ runner/work/Patch-Recovery/Patch-Recovery/magiskboot hexpatch system/bin/recovery eec3009420010034 eec3009420010035
@@ -16,6 +18,7 @@ cd unpack
1618~ runner/work/Patch-Recovery/Patch-Recovery/magiskboot hexpatch system/bin/recovery 26f0ceec30b1681c 26f0ceec30b9681c
1719~ runner/work/Patch-Recovery/Patch-Recovery/magiskboot hexpatch system/bin/recovery 24f0fcee30b1681c 24f0fcee30b9681c
1820~ runner/work/Patch-Recovery/Patch-Recovery/magiskboot hexpatch system/bin/recovery 27f02eeb30b1681c 27f02eeb30b9681c
19- ~ runner/work/Patch-Recovery/Patch-Recovery/magiskboot cpio ramdisk.cpio ' add 0755 system/bin/recovery system/bin/recovery'
20- ~ runner/work/Patch-Recovery/Patch-Recovery/magiskboot repack ../r.img new-boot.img
21- cp new-boot.img ../recovery-patched.img
21+ ~ runner/work/Patch-Recovery/Patch-Recovery/magiskboot hexpatch system/bin/recovery b4f082ee28b1701c b4f082ee28b970c1
22+ ~ runner/work/Patch-Recovery/Patch-Recovery/magiskboot cpio ramdisk.cpio ' add 0755 system/bin/recovery system/bin/recovery'
23+ ~ runner/work/Patch-Recovery/Patch-Recovery/magiskboot repack ../r.img new-recovery.img
24+ cp new-recovery.img ../recovery-patched.img
You can’t perform that action at this time.
0 commit comments