Skip to content

Commit 271accc

Browse files
authored
Update script2.sh
Push latest changes like Fix for A02
1 parent 96886e0 commit 271accc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

script2.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#!/bin/bash
22

3+
# Unpack recovery
34
mkdir unpack
45
cd 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

0 commit comments

Comments
 (0)