btw what do u prefer flashing nethunter gsi with custom recovery or nethunter on magisk for good performance
I've never done this before. So im just now learning actually, for now i'm collecting all the necessary
Requirements to start building.
You mean this?
KaliNethunter. Contribute to Magisk-Modules-Repo/KaliNethunter development by creating an account on GitHub.
From what i see-- That " Nethunter on Magisk " Module hasn't been updated properly in 3 years, i dont recommend that method. Performance is relative to the device and how you build the apk.
If you read carefully in the github page of that module it says
Anything which requires the custom kernel/ramdisk will not work out of the box. This includes:
- Wi-Fi injection (requires custom kernel/ramdisk)
- HID Interfaces (BadUSB/Duckhunter etc. - also requires custom kernel/ramdisk)
Note:This is an unofficial build.
So out of the box you dont have certain functions, thats not the recommended method. Its not even an official build/method. AND its clearly a Systemless version, even if its Chroot i think it'll have errors when we start to pentest, to test security, the adapters wont work, and most likely tools will be buggy.
By experience working with linux, its best to stick to the code and methods of the original Kali Nethunter developers.
I recommend Having Magisk already, Build the APK yourself, The modified kernel yourself.
Use the Custom Recovery as explained on the official kali-nethunter website.
Then Flash 1 thing at a time and test, imo its best in this order.
Flash the modified kernel = Test and see if it boots, how it behaves.
Then Flash APK into the phone = Test and see.
(Both of these have to be built from scratch, thats what i think)
Thats how its supposed to be. The apk has to be totally part of the System if we want to have functionalities out of the box, and if we want them to work without bugs.
It'll be like giving the Nethunter APK a proper $PATH to its files in a Linux Environment.
For example i just remembered:
What do we see in Kali linux when we use it?
" All Softwares/Tools are installed already in bin, in usr, etc (in their proper locations)
So its integrated to the system.
When we want to install a new tool to kali, what do we do?
"Make install (processes) "
"sudo apt install "
So we're literally always integrating softwares to the System, i think this is the proper way to do things, in my experience, most tools work better like that. If not done this way, say " Run aircrack ng without installing " it'll be super buggy.
That means it has to be flashed into the device through a custom recovery, yes or yes.