PDA

View Full Version : Nexus 5X NetHunter Bootloop



GalacticThump
2016-07-30, 20:51
I got a bootloop when I tried to flash NetHunter to my Nexus 5X. I imagine I am doing something silly, but I can't figure it out. I would love any help.

I have linked files on Dropbox because some were too large to upload as an attachment.

I first flashed the android 6.0.1 MTC19Z factory image which is currently the latest, using the flash-all bat script; then I flashed TWRP 3.0.2-0, using fastboot. I set up android without enabling encryption (just in case), and I could reboot with no problems. I then booted into kali linux on my PC, and built the NetHunter zip. Sadly, I can't remember the exact arguments I used for building, but the file it generated is called "update-nethunter-bullhead-marshmallow-20160727_185947.zip", and this file is linked (see below). I then booted into TWRP and first wiped the cache and dalvik cache, and then I flashed the NetHunter zip. I didn't see any errors, and the log is linked below.

When I started android, I got a bootloop. I tried to get a LogCat, but "adb devices" would show my phone as offline. I tried again and this time is worked, letting me capture a LogCat that is linked below. After rebooting some more, I realized that after about a minute, the phone would either show as unauthorized for 5 seconds and then offline, or it would just show up as device after the minute. It generally seemed to alternate between these two on each boot, but once it showed up as "device" two boots in a row. Not at all sure if this is relevant, but it seemed odd.

NetHunter zip (70, 699 KB): https://db.tt/FiyGjanR
recovery.log (80 KB): https://db.tt/TKdBliJu
LogCat (379 KB): https://db.tt/asBqQzdw

Thanks so much for your time.

GalacticThump
2016-08-03, 01:18
For anyone that had bootloops, make sure to try the newest version (from July 30). In this commit, they fixed something that caused them:
https://github.com/offensive-security/kali-nethunter/commit/6834a9fc33af0ac237c9043153437b5194c18313

mrduongonline1
2016-08-03, 14:17
I set the Android without activating encryption (just in case), and I can restart without problems, good luck