Closed ccccccmd closed 8 years ago
join #nethunter on freenode irc and talk to me for test builds
first build so not sure it's safe yet
if it boots, and you see nethunter in kernel version (settings -> about device -> kernel version) then you're probably good to install the rest of nethunter
you can find prebuilt zips @ https://idlekernel.com/nethunter/nightly/
at the time of this post, https://idlekernel.com/nethunter/nightly/3.1.0-20160622-2320/nethunter-generic-armhf-kalifs-full-rolling-3.1.0-20160622-2320.zip is the latest build (you need this and a kernel zip for the full install)
@jcadduono I have a OP3 I want to install nethunter on; very new to messing with android (started today).
So far I figured out how to do basic stuff like unlock the bootloader, root it, etc.. would you be able to provide a bit more detail on how to install the above images?
thanks
yeah you'll need to install twrp with fastboot. currently unofficial builds only, you can get it from http://forum.xda-developers.com/oneplus-3/development/recovery-unofficial-twrp-t3401014
using twrp you can flash the nethunter installers from your internal storage
please test as many features as you can, especially OTG related ones. i need feedback before i can go throwing it into master and adding it to officially supported devices.
I got it installed.. seems to be working okay. Haven't really done much with it yet so can't speak to compatibility but it certainly seems stable enough.
Can you please give me the terminal output of:
cat /proc/version
Just to make sure it did indeed fully install correctly
Linux version 3.18.20-perf+ (OnePlus@ubuntu-21) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Jun 12 22:48:17 CST 2016
So what I did was combine the 2 zip files (the generic + the kali kernel) into 1 zip file and installed with TWRP; was that correct?
Nope but that should have worked, alas, it did not install, so I still don't know if it works or not. Still shows default OS kernel.
Can you get a recovery.log of installing the kernel zip so I can see why it failed? You can get that via adb pull /tmp/recovery.log
or advanced -> copy log to sdcard in twrp.
Left for posterity - but seems OBE now.
Here you go.
I tried doing the same thing again, but then wiping the cache/dalvik (honestly not sure what the latter is) and result is the same.
Good news is there are a bunch of errors.. there is no SD card in the OP3 (just builtin flash); could that be causing the issue?
Anyway I'm happy to help anyway I can.
Additional info.. it was rooted using SuperSU-2.74-2-20160519174328-forced-systemless
TWRP version claims to be 3.0.2-0
Okay so I tried installing just the original kernel (not my merged version) from your site and it looks like that worked.
Linux version 3.18.20-nethunter-oneplus3-1.0 (jc@gallifrey) (gcc version 4.9.4 20151028 (prerelease) (Linaro GCC 4.9-2016.02) ) #1 SMP PREEMPT Fri June 24 02:56:25 EDT 2016
If there's any specific testing etc you'd like me to do I'm more than happy.
Attaching some dmesg dumps; doesn't look like logging is working properly (is kali nh supposed to have syslog running?)
One is from me futzing around with video playback; other is right after a reboot.
dmesg-soundcard.txt dmesgboot.txt
Qualitatively; it seems to be working okay in terms of interface; it's not stuttering or slow or anything obviously bad (apart from mentioned issues)
Some more detail on the wifi - lspci shows it as
01:00.0 Network controller: Qualcomm Atheros Device 003e (rev ff)
So I assume it just needs the appropriate driver added to the kernel
This also popped out at me in the logs
[ 17.216569] [ 17.216558]@0 wlan: version magic '3.18.20-perf+ SMP preempt mod_unload aarch64' should be '3.18.20-nethunter-oneplus3-1.0 SMP preempt mod_unload aarch64' [ 17.227526] [ 17.227515]@0 wlan: version magic '3.18.20-perf+ SMP preempt mod_unload aarch64' should be '3.18.20-nethunter-oneplus3-1.0 SMP preempt mod_unload aarch64'
rfkill list all shows Bluetooth (bt_power); no wifi.
iw list shows nothing.
ok so some things must be built as modules it seems, cant build wifi static :/
try this, i removed the modules completely (set them to =m but didn't include them in the installer) https://idlekernel.com/nethunter/oneplus3/kernel-nethunter-oneplus3-marshmallow-k1.1-test2-nomodules.zip
BEFORE trying the next zip, can you do:
find /system -name *.ko
so I know the correct module location and available stock modules
(installs new modules in /system/lib/modules, wont do anything if modules are somewhere else): https://idlekernel.com/nethunter/oneplus3/kernel-nethunter-oneplus3-marshmallow-k1.1-test3-withmodules.zip
btw if u could join me in irc it would be much easier to communicate quickly!
hi guys! nice to see that you are working such intensive on the nethunter kernel for the oneplus 3. i will get mine on the 4th july and will support you with testings, etc on irc... :) so see you soon, guys! and thanks for you work!
why did you remove the test kernels? would like to give it a try...
read git log, it's in the occasional builds now at https://idlekernel.com/nethunter/nightly/ you can also build a single full installer from git with:
cd nethunter-installer
python build.py -d oneplus3 -m --rootfs full
known issues are no sound, no video acceleration, same as LG G5
sound awesome, thanks! do you expect to solve the issues sooner or later?
Cliff note: Communicate via IRC.
probably later, no idea what's causing them atm
Hey guys. What can I do to help you out? I can test stuff whenever you tell me. I am a keen nethunter user
Do I need CyanogenMod 13 installed before I can flash my own build built by running:
python build.py -d oneplus3 -m --rootfs full
I am asking this because I get a an ERROR 1 while the install process in TWRP. Please see the attached recovery log... Thanks guys!
Okay it was a problem of the TWRP recovery... after flashing the version of Garak the installation process worked! 😂
Had the same issue with TWRP, trying with this version on Oxygen 3.2.0
Thanks! It is workong now...
Same here with 3.2 and updates. However, I cannot get wifi in monitor mode using a full build compiled from this git.
as with all devices you must use OTG WiFi, internal card does not support monitor mode!
Ah thanks!
Were the no sound, no video acceleration issues resolved? If not is there something i can do to help? I'm getting my OP3 next week.
Obviously my first foray into Nethunter (and Android as well) so I could be missing somethin, but I have Oxygen 3.2.0 and Nethunter full install. I don't have a SIM card in yet, but I have sound through the phone speaker and 3.5mm jack. Devices benchmarks (CPU, 3D) the same as other OP3 devices. Everything seems to work like the stock installation just with the added benefit of having mobile pentest platform!
Can you please give me the terminal output of:
cat /proc/version
Just to make sure it did indeed fully install correctly.
Linux version 3.18.20-perf+ (OnePlus@unbuntu-21) (gcc version 4.9.x.-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Jul 1 23:46:05 CST 2016
You still have the default OS kernel. That's most possibly why you have no driver problems. Bellow is an example of how it should look like with the nethunter kernel:
Linux version 3.18.20-nethunter-oneplus3-1.0 (jc@gallifrey) (gcc version 4.9.4 20151028 (prerelease) (Linaro GCC 4.9-2016.02) ) #1 SMP PREEMPT Fri June 24 02:56:25 EDT 2016
@jcadduono,@brianrusso Are you still having problems with no sound and no video acceleration? If yes can I do something to help?
Short - problem still exists AFAIK.
I haven't had a chance to work on it last week or so. I need to dive into the stock kernel to figure out what drivers it needs. I'm not very familiar with the devices on this platform, so I'm learning as I go.
So as far as help, I'd say if anyone knows much about the hardware or has contacts at OnePlus that could simply give us the info that'd be great. On Thu, Jul 7, 2016 at 11:36, Miltos Katifedenios notifications@github.com wrote:
You still have the default OS kernel. That's most possibly why you have no driver problems. Bellow is an example of how it should look like with the nethunter kernel:
Linux version 3.18.20-nethunter-oneplus3-1.0 (jc@gallifrey) (gcc version 4.9.4 20151028 (prerelease) (Linaro GCC 4.9-2016.02) ) #1 SMP PREEMPT Fri June 24 02:56:25 EDT 2016
@jcadduono https://github.com/jcadduono,@brianrusso https://github.com/brianrusso Are you still having problems with no sound and no video acceleration? If yes can I do something to help?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/offensive-security/kali-nethunter/issues/489#issuecomment-231116678, or mute the thread https://github.com/notifications/unsubscribe/AF_EDKWdB13QU6WjLCpg1JUzchU02ZUcks5qTR0VgaJpZM4I5XYX .
I take it these kernels are needed for the HID attacks to work? Nmap enumeration and cSploit seem to be working with the stock kernels. So at least interaction with the wireless card is there...
@brianrusso I''m pretty new to android, so i too am learning as i go. I'm guessing the drivers are somewhere inside the stock kernel (@jcadduono correct me if I'm wrong). So I'll try to dig in a little bit.
@JohnFowles they have a pretty extended wiki so you can go and check there what won't work if you don't have the NetHunter kernel.
I'll have a look through there as I test some of the individual apps. Still trying to get my bearing as this is my first Android device.
@brianrusso A quick question, is there an issue with all sound outputs? I mean: Does the audio jack output sound? Does the earphone output sound? Does the speaker output sound?
please join #nethunter on freenode irc, i am trying to fix the issues if anyone can show up for test builds
you may need to say my name ( jcadduono ) to get my attention, as i am usually tabbed out at work and get vibrates when i'm highlighted
@jcadduono Could you fix it? If you are still on irc, I could offer my help ...
Is rootfs working on this?
if u mean chroot, you can flash generic armhf zip on any device supports by twrp, the only things that need support per device is OTG devices and systemvipc/devtmp
Can someone tell me the installation steps in detail how to install on windows7
thanks
Just tested latest kernel build; still no audio or video acceleration.
I have built a kernel for testing: https://transfer.sh/S0z9C/kernel-nethunter-oneplus3-marshmallow-20160717-160643.zip
MD5 (kernel-nethunter-oneplus3-marshmallow-20160717_160643.zip) = 85b75ead80043987c2152e9bad24bfeb
@binkybear nice work !
audio and video acceleration seem to be working and otg support for my wireless adapter too! :) BUT: if I flash your kernel build my device looses root ... when I then flash the latest super su binary I loose your kernel .. so I have to decide: root or your kernel ... any ideas how to fix this?
@binkybear confirmed, audio and video issues resolved on the 3.13.20-ElementalX-OP3-0.07 kernel. I have yet to test any external wifi cards, will report back on that, and in the meantime I'm happy to run any tests. Nice work man.
@shizonic I had none of the issues you mentioned regarding loosing root. In fact, upon first boot with the new kernel, SuperSU prompted me to update it, and I did so via the Play store with no issue. Initially I flashed the supersu zip via twrp as per https://forums.oneplus.net/threads/guide-oneplus-3-how-to-unlock-bootloader-flash-twrp-root-nandroid-efs-backup-and-more.448149/
@Speculor Thanks for your reply!
Yes, SuperSU prompted me also to update, but it failed via Play Store, so I did it via TWRP which overwrites the Nethunter Kernel...
Could you provide me some additional information like:
Thanks in advance!
@binkybear I did test an external wifi adapter and it worked like a charm! Even wifite is working. Thanks again! :)
Will support Oneplus 3?