Here are the instructions from beginning to end to install Custom Recovery, Root and Kali NetHunter on a Nexus 6p. These instructions should work for any Android that is completely unlocked.
Don’t hate me but I did this on Windows, however it is just as easily possible on Kali.
Feel reach to comment on here, or reach out on IG/Twitter if you have trouble/questions.
With that out of the way, let’s jump into it.
BEFORE FLASHING NEWEST ANDROID!
First boot for Nexus 6p, boot into OS, go to Settings/SystemInfo
click on kernel tab 5 times to become developer
Go to Settings/Developer Options
Enable USB-Debugging
Enable OEM Unlock
Shut down phone
Reboot into Bootloader
cd X:SoftwareAndroidSDKplatform-tools
.fastboot.exe oem unlock
.fastboot.exe reboot
Download Newest Android version on computer(Nexus 6p is Android 7.1.1 as of this tutorial) Link HERE
unzip and copy bootloader-angler-angler-xxx.xxx.img to /platform-tools/
+
Copy radio-angler-angler-xx.xx.img to /platform-tools/ as well
Unzip image-angler-xxxx.zip and copy android-info.txt , boot.img , bootloader-anler-angler.xx.xxx.img , cache.img , radio-angler-angler-xx.xx.img , system.img , vendor.img , recovery.img to /platform-tools/
Navigate to where AndroidSDK is installed: cd X:SoftwareAndroidSDK
cd platform-tools
.fastboot.exe devices
.fastboot.exe flash bootloader C:anglerimagesbootloader-angler-angler-xx.xx.img
.fastboot.exe reboot-bootloader
.fastboot.exe flash radio C:anglerimagesradio-angler-angler-xx.xx.img
.fastboot.exe reboot-bootloader
.fastboot.exe flash boot C:anglerimagesboot.img
.fastboot.exe erase cache
.fastboot.exe flash cache C:anglerimagescache.img
.fastboot.exe flash recovery C:anglerimagesrecovery.img
.fastboot.exe flash system C:anglerimagessystem.img
.fastboot.exe flash vendor C:anglerimagesvendor.img
.fasboot.exe flash recovery twrp.img
Now put the phone in recovery mode (At bootloader hit up a few times until RECOVERY then hit power button)
.adb.exe format userdata
.adb.exe push SuperSu.zip /sdcard/Download/SuperSu.zip
.adb.exe shell
cd sdcard/Download/
ls –to confirm SuperSU.zip is there
Now in TWRP go to INSTALL > SELECT SuperSU and swipe to install SuperSu
Reboot to System Become developer if needed, make sure SuperSU is an application installed, and turn on USB debugging as well as confirm OEM unlock is there
Download on computer kernel-nethunter-angler-nougat-3.15.4-20170110-1420.zip AND nethunter-generic-arm64-kalifs-full-rolling-3.15.4-20170110-1420.zip
Reboot into recovery
.adb.exe push kernel-xxx.zip sdcard
.adb.exe push nethunter-xxx.zip sdcard
IN TWRP
Hit INSTALL > Select nethunter-gerenic-xx-kalifs-full-xxx.zip
*KERNEL IS ALWAYS LAST*
Then hit add another zip
Select kernel-nethunter-xxx.zip
Swipe to install
Reboot into system
Open Nethuner App and add nethuner metapackage/confirm installation
DONE.
Yes, it’s that easy 🙂
Sources:
https://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
https://github.com/offensive-security/kali-nethunter/wiki
https://forum.xda-developers.com/nexus-6p/development/nethunter-nexus-6p-t3442795/page8
https://github.com/offensive-security/kali-nethunter/wiki#40-installing-nethunter-on-top-of-android
https://www.offensive-security.com/kali-linux-nethunter-download/
http://chromloop.com/2016/12/install-android-7-1-1-final-version-phone-get-root-access/
END TRANSMISSION