准备条件:
- 原生Android7.11ROM:angler-n4f26u-factory-131d7b01.zip(https://developers.google.com/android/images#angler)
- 适合Nexus 6P的TWRP:twrp-3.3.1-0-angler.img(https://twrp.me/huawei/huaweinexus6p.html)
- nethunter的安装包:nethunter-angler-nougat-kalifs-full-2020.1.zip (https://www.offensive-security.com/kali-linux-nethunter-download/)
- ROOT用的SuperSU:SuperSU-v2.82-201705271822.zip(https://supersu.dev/download/supersu-zip/)
安装过程:
-
手机重启进入bootloader模式,刷原始原生Android7.11ROM。解压rom包,然后直接运行flash-all.sh脚本。
手机重启进入bootloader模式,刷twrp
fastboot flash recovery twrp-3.3.1-0-angler.img
- 进入recovery模式,
把SuperSU-v2.82-201705271822.zip nethunter-angler-nougat-kalifs-full-2020.1.zip 复制到手机的/sdcard目录:
adb push SuperSU-v2.82-201705271822.zip /sdcard
adb push nethunter-angler-nougat-kalifs-full-2020.1.zip /sdcard/
-
然后在手机上点INSTALL 先选择SuperSU,刷入ROOT权限,刷好后按返回键返回,继续刷入nethunter-angler-nougat-kalifs-full-2020.1.zip
参考
https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-project/-/wikis/home
https://www.offensive-security.com/kali-linux-nethunter-download/