參考資訊:
https://www.oesf.org/forum/index.php?topic=36812.30
步驟如下:
1. 執行如下命令
$ sudo pip3 install wheel pyusb pycryptodomex colorama usb shiboken6 pyside6 mock pyserial $ cd $ git clone https://github.com/bkerler/mtkclient $ cd mtkclient $ ./mtk r boot_a boot.img
2. 連接Astro Slide 5G右邊的USB到PC
... DA_handler - Dumped sector 144640 with sector count 10240 as boot.img.
3. 執行如下命令
$ cd .. $ cp mtkclient/boot.img . $ wget https://github.com/shymega/magisk-boot-patch-ci-tool/archive/refs/heads/main.zip $ unzip magisk-boot-patch-ci-tool-main.zip $ ./magisk-boot-patch-ci-tool-main/patch.sh boot.img ... Copy root-boot image to root-boot.img $ cd mtkclient $ ./mtk w boot_a ../root-boot.img ... Wrote ../root-boot.img to sector 144640 with sector count 10240.
4. 重新開機