从系统镜像获取image文件, magisk刷机流程和ssh模块安装

1 adb shell
2 adb shell
3 adb pull /sdcard/patcheda.img
4 adb reboot bootloader
5 fastboot boot .\patcheda.img
6 adb reboot bootloader
7 fastboot boot .\patcheda.img
8 adb shell

 

 

 

PS C:\Users\13450> adb shell
crosshatch:/ $ cd cd /dev/block/by-name
/system/bin/sh: cd: bad substitution
2|crosshatch:/ $ cd /dev/block/by-name
crosshatch:/dev/block/by-name $ ls -l boot_a
lrwxrwxrwx 1 root root 16 1970-01-19 06:33 boot_a -> /dev/block/sda11
crosshatch:/dev/block/by-name $ su
crosshatch:/dev/block/by-name # dd if=/dev/block/sda11 of=/sdcard/boot_a.img

 

 

 

  

  1. 打开命令行窗口
  2. 执行 adb reboot bootloader 进入 Bootloader 界面
  3. 执行 fastboot boot Patchedboot.img 来加载生成后的 boot 分区文件获取临时 root

 

SSH_for_Magisk-v0.12(12).zip

https://github.com/P0etry-rain/HowToUse-magiskssh/blob/main/SSH_for_Magisk-v0.12(12).zip

 

posted @ 2023-12-24 23:08  Aibot  阅读(271)  评论(0编辑  收藏  举报