If the system is not 5.1.1 or 6.0.1 or CM CM 13.0 or 14.1 , you will need to re-brush firmware.
The following is a manual brush firmware steps: the firmware compressed extracted the platform-tools folder, then cmd enter the command execution path respectively
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash vendor vendor.img
fastboot erase userdata
fastboot flash userdata userdata.img
After completion of the restart, wait slightly longer to enter the Developer options open USB Debugging, and then painted recovery, supersu, nethunter etc.
PS:
In case 32g dryer, brushing nethunter only 16g case, it is necessary to repeat the above operation of the original brush, after the completion of reboot, follow the following path settings> backup & reset> factory data reset> reset phone> erase everything ( the path only for the 6.0.1 system, other systems may be slightly different, but the idea is formatted Internal storage)
Automatic restart is completed, the waiting time is slightly longer, you should see again 26gb memory
Then continue painted recovery, supersu, nethunter etc.
——————————————————————————————————
Brush huh:
Unlock Bootloader
With other operations, skipped Note To set the developer options in this step allows the USB debugging mode
Install a custom recovery, then you can enter Recovery Mode
Use this version of TWRP : twrp-3.3.1-0-hammerhead.img and modify it to recovery.img then put into the desktop platform-tools folder available to:
· Enter fastboot
·win+r cmd
·cd Desktop/android-sdk-windows/platform-tools
function () {// withdrawal http://www.fx61.com/faq/muniu/424.html
·fastboot flash recovery recovery.img
· After completing the disconnect phone lines, press the power button until you close and then "phone volume - " + "Power", the first to enter the fastboot mode, select Recovery mode, press the power button (multi-press for a while, or easy to direct restart normal mode );
Rooting , mainly used SuperSU be
Use this version SuperSU : SR5-SuperSU-v2.82-SR5-20171001224502.zip
· Re-inserted in the phone, adb the Push SR5-SuperSU-v2.82-SR5-20171001224502.zip / sdcard / ( the SuperSU zip copy to the phone )
* Click on the phone the Install , select just copied to the SuperSU , sliding confirm the installation, restart # and some may not need to restart at the insurance
After completion of the data lines directly pulled, off, then again hold the " phone volume -" + "power" to enter Recovery Mode
Note: only enter Recovery Mode in order to use adb push and view adb devices circumstances, in fastboot can not use the mode adb command, you can only use fastboot flash and fastboot Devices !
·adb push nethunter-hammerhead-marshmallow-kalifs-full-2019.4.zip /sdcard/
This step is to wait for a long time, you can cmd view progress window
After completing may disconnect USB line up
Brush began:
a)长按 “手机音量-” + “电源”,先进入fastboot模式,选择Recovery模式,按电源键(多按一会,否则容易直接重启一般模式);
b)点击 INSTALL,选择 nethunter-hammerhead-marshmallow-kalifs-full-2019.4.zip,勾选完成后重启并进行刷入
i)刷入完毕后,自动重启,开机画面显示kali图案则为成功
进入系统后先去setting里打开root access选项!!!然年进入nethunter app 初始化,最后执行terminal升级!!!
进入terminal后升级顺序,sudo apt-get update, sudo apt-get upgrade, sudo apt-get dist-upgrade, 反复多次
在dist-upgrade 时,提示kismet是否以root身份运行,选择no(因为选yes是不安全的)