手机安装nethunter

型号:Nexus6

参考:

https://www.jianshu.com/p/0e9c5009aa88?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation

需要文件:

Nexus Root Toolkit
nethunter-shamu-marshmallow-3.0
twrp-3.0.2-0-shamu.img

安装过程

1、usb连接后开启开发者模式,(点关于手机-版本号 8次,开启开发者模式)

把usb调试和oem解锁打开

2、安装Nexus Root Toolkit

安装中可能要选择手机型号,关于手机里面有

3、安装驱动

进第3步,安装第一个和第5个驱动。

进第4步,点full driver test,测试手机是否连接,正常连接后手机会重启,

重启usb连接后选择文件传输。

4、手机安装twrp(为了下载twrp-3.0.2-0-shamu.img),也可以用电脑下载,并把nethunter-shamu-marshmallow-3.0.zip拷贝到手机根目录。

5、点root

不要下载twrp,选自己刚才下载的twrp

6、进recover,安装nethunter,点install安装

手机进kali安装软件

更换源

vi /etc/apt/sources.list
deb http://http.kali.org/kali kali-rolling main non-free contrib

更新软件

apt-update
apt-upgrade
apt-dist-upgrade

安装软件会出现如下错误

解决办法:修改passwd文件

_apt UID: _apt:x:0:65534::/nonexistent:/bin/false
参考:https://bugs.kali.org/view.php?id=3012

手机刷机失败成砖后:

使用adb刷机

下载google儿子的rom:shamu-mob30m-factory-e0a74382.zip

https://developers.google.com/android/images#shamu

下载后没有后缀,可以自行加上.zip

解压,里面还有压缩包,再解压,如下是我们要的。

手机进bt模式(同时按电源键和音量减)

安装adb(有免安装版的)执行如下命令

fastboot devices           出现序列号证明usb连接成功
刷机:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase system
fastboot flash system system.img

发表评论

电子邮件地址不会被公开。 必填项已用*标注