ratcoded / fastboot-patcher

A bash script that utilizes avbtool & magiskboot to patch recovery images of dynamic samsung devices with android 10 and above to enable fastbootd.
MIT License
25 stars 146 forks source link

Update `magiskboot` and set files to be executable #1

Closed manoedinata closed 6 months ago

manoedinata commented 6 months ago

Hello,

This PR updates magiskboot binary used for hex patching to v27.0, and set required files (patcher* and magiskboot) to a+x permission.

ratcoded commented 6 months ago

hello! can you please tell me where the magiskboot binary was obtained from? it's not possible for me to review this right now, but I will as soon as possible.

thank you

manoedinata commented 6 months ago

Sorry for the lack of details.

magiskboot can be obtained from the released APK. In this case: https://github.com/topjohnwu/Magisk/releases/tag/v27.0 .

Extract the APK, and then go to lib/x86_64, there will be a file called "libmagiskboot.so". That's magiskboot.

Oh, to avoid problems, I suggest you to test this commit first. Thanks.

ratcoded commented 6 months ago

alrighty, I've checked the sha512sum of the updated binary, you're all good to go! thank you.