Skip to content

Commit

Permalink
Fix some errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Johx22 committed Apr 19, 2022
1 parent ec0b8fa commit f44b105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/recovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
chmod a+x script2.sh
./script2.sh || true
python3 avbtool extract_public_key --key phh.pem --output phh.pub.bin
python3 avbtool add_hash_footer --partition_name recovery --partition_size $(wc -c r.img |cut -f 1 -d ' ') --image r.img --key phh.pem --algorithm SHA256_RSA4096
python3 avbtool add_hash_footer --partition_name recovery --partition_size $(wc -c recovery-patched.img |cut -f 1 -d ' ') --image r.img --key phh.pem --algorithm SHA256_RSA4096
cd unpack
mv ../recovery-patched.img recovery-fastbootd.img
Expand Down
1 change: 1 addition & 0 deletions script2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ cd unpack
~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 ../r.img new-boot.img
cp new-boot.img ../recovery-patched.img
cd ..

0 comments on commit f44b105

Please sign in to comment.