PDA

View Full Version : Building Nethunter for Sony Xperia XA2



brianmason667
2020-05-04, 11:48
Since it has not been done yet I want to port net hunter to my phone Sony xperia xa2 (code name pioneer), the base I have chosen is LineageOS 16 (android 9) pie, after following the directions in the readme the kernel compiled and installed successfuly. There are some problems that I am having. Thanks, And great work so far on this.

rootboy01
2020-05-04, 16:14
what is the problems sir ?

brianmason667
2020-05-05, 01:23
when ssh'd to localhost it would say required key not available when commands are entered; i think this has to do with module signing and i think i can turn that off in .config
also the nethunter terminal when i select kali it would say )No title then disappear, whats weird is in the chroot manager i can install a metapackage then use the kali terminal as normal, searching google this might be a symlink problem.
right now i am syncing the ASOP android/kernel src to see if it causes the same problems.

rootboy01
2020-05-05, 19:24
try to build installer zip using: https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-project

clone this, enter nethunter-installer directory and do what readme says:
https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-project/-/tree/master/nethunter-installer

enter device.cfg and add your device like other devices.
after enter pie directory and create new directory 'pionner' (device's codename) then add Image.gz-dtb and build in nethunter-project .

re4son
2020-05-05, 23:33
when ssh'd to localhost it would say required key not available when commands are entered.

Did you unencrypt your data partition? Magisk cannot handle user context changes on encrypted data partitions. Hence the error message.