PDA

View Full Version : Integrating NH into Android



alexl83
2016-04-08, 18:36
Hello everyone, my name is Alex and I've started a personal project, for research/fun/learning.

I'm trying to integrate Kali NetHunter into CyanogenMod Android build system, my goal is to have a properly-signed, tightly-integrated and secure aftermarket android rom for my OnePlus One.

I'd like to ask NetHunter developers to share (if possible) their compile configurations for the extra components NH patches the ramdisk with; like busybox, libusb, libcurses etc. (the ones I can see present in binary form in the git repo); so I can integrate (at least try to) into my building tree.

Thank you in advance.

Alex

jcadduono
2016-04-09, 10:05
you can find some things here:
https://github.com/offensive-security/kali-nethunter/tree/master/nethunter-installer
https://github.com/offensive-security/nethunter-app/
https://github.com/jcadduono/nethunter-installer-tools

run ./build.py for whatever device to create a zip that you can pick apart and understand I suppose, boot-patcher/patch.d folder contains scripts to tell you what NetHunter is doing to your ramdisk.
nethunter-installer-tools repo has instructions on how to compile the binaries you see in kali-nethunter repository.

everything is open, let me know if there's anything specific you get really stuck on. I will be in the #nethunter channel on freenode IRC if you need faster communication.

alexl83
2016-04-09, 12:54
Thank you jc, I was missing the nethunter-installer-tools repo, I'll have a look, and probably be pinging you on irc for help!

LoryVoro
2022-06-27, 10:15
this is a great script. I am working on integrating it into my site, and ahve followed the instructions.I dont understabd where I have to do this: Add relative_script_path = "./phpdig" && to if statementwhich page is this on?Also, how do I Skin it to look like my site?Thanks. ad