[Xperia Z5 Compact Q&A, Help & Troubleshooting] Joeisgood99:
[MENTION=1749455]donthomaso[/MENTION]

How you guys going with this?

I compiled a NetHunter kernel (Image.gz-dtb) and modules for Android 6 on the Z5C, added my device to my forked nethunter-devices repo, updated with bootstrap.sh, made the installer package with build.py, and Installed. It mostly worked. I wasn't able to test wifi hacks as Im still waiting on a wireless usb dongle to arrive in the post, but chroot successfully installed and I could download the various packages. I could open msf console or wifite without a hitch.

Issues. (in random order)

1. We need an official TWRP build/ The kernel patcher within the installer package wont work; would brick my phone so badly I couldn't even boot in to recovery, so now I modify the ram-disk manually on my pc and flash the boot.img before installing NetHunter. I contacted [MENTION=5672995]jcadduono[/MENTION] about this. Based of the recovery log submitted he is convinced the issue is caused by unofficial/half broken TWRP build for the Z5C. Iv tried a few different TWRP builds including my own. All have the same issue, so at this stage Im installing via a modified "nethunter-E5823-nougat-nobrand-kalifs-minimal-xxxx.zip", that installs the kernel modules but doesn't touch the actual kernel.

2. Boot animation/wallpaper installer. What is needed behind the scenes when changing wallpaper and boot animation is a little different in Sony devices to Nexus or Onepluss. In short to change the boot animation in Z5C you need t install the new animation to /oem/media as well as system/media, otherwise it wont work. https://mega.nz/#!phAS1R7C!9D8PvwpEyIk7IO7hzan9EumvvZCPvNDyzN2Pqe2fnXg (Z5C Kaliboot animation installer.zip) for you guys to look at as an example.

Also the section of script that selects the kali-wallpaper permanently breaks the phones ability to select any wallpaper, so Ill change it to add the wallpaper and the user can select it after installation.

3. DriveDroid wont work...despite patching the kernel. Not widely tested though. My Asus laptop never detects my phone as anything other then my phone (not usb or iso or cd) and wont detect it at all in efi. Iv only tested this with the DriveDroid test.img. It might work with SliTaz or for anyone who actually follows the readme within the app.

4. WiFi -promiscues mode... Not tested as Im waiting on a dongle. If anyone knows of a tried and tested wireless usb dongle that works in a Kitakami divice with custom kernel compiled with the suggested .config for NetHunter then please let me know. The Panda PAU05 Wireless usb doesn't work out of the box. The Source Code and makefile supplied for compiling the driver is for Fedora, and wont cross compile on ubuntu without a re write of the makefile...

Issues with Android 7.0

5. Kali-Terminal. For some reason the kali terminal and chroot manger are partially broken in my Nougat version of NetHunter.

for NH to work at all after installing, I have to open (any) other terminal app. run

bootkali

before the NetHunter terminal will do anything other then FC. I have to do this after every reboot.

Any package selected for download in the chroot manager wont download, but when

apt-get install <nethunter package>

is manually typed in to the terminal it downloads, installs and runs perfectly. This might have something to do with init.nethunter.rc or /etc/usb_config.sh installed in the ramdisk for NetHunter Nougat, but Im not sure.

6. I got a kernel panic when connecting to Metasploit server for the first time.... hasnt repeated though.

Was thinking about making a system-less install version of NetHunter...

That's as far as Iv got. If you guys have had more success or want to look at .congfig files or kernel S/C let me know. I want to get this to a point where basic trouble shooting has occurred and easy bugs ironed out before I submit a pull request to the NetHunter test branch and start bothering proper devs with bug reports.