Skip to content

Instantly share code, notes, and snippets.

@phstudy
Created November 8, 2023 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phstudy/967bb1b88388f22205697e84dcc37820 to your computer and use it in GitHub Desktop.
Save phstudy/967bb1b88388f22205697e84dcc37820 to your computer and use it in GitHub Desktop.
POCO F5 Magisk Patched Boot
FILENAME=evolution_marble-ota-tq3c.230901.001.b1-11030926-unsigned.zip
OUTPUT_DIRECTORY=extracted_11030926
# Download ROM
```aria2c -x 10 https://zenlayer.dl.sourceforge.net/project/evolution-x/marble/13/${FILENAME}```
# Extract ROM
mkdir ${OUTPUT_DIRECTORY}
payload-dumper-go -output ${OUTPUT_DIRECTORY} ${FILENAME}
# Copy boot.img to Android device
adb push ${OUTPUT_DIRECTORY}/boot.img /sdcard/
# Generate Magisk Patched Boot via [Magisk App](https://github.com/topjohnwu/Magisk/releases)
## Select and Patch a File
adb pull /sdcard/magisk_patched_boot.img
# Boot with Magisk Patched Boot
adb reboot bootloader
fastboot devices
fastboot boot magisk_patched_boot.img
# Install Magisk via [Magisk App](https://github.com/topjohnwu/Magisk/releases)
## Direct Install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment