PDA

View Full Version : install nethunter OnePlus with Kali



brazen
2015-03-02, 21:08
I have developer mode enabled. I go to the very first command and get an error.


I have Android (checked)
I have USB debugging notify (checked)
I have tried 'ADB over network' check and not checked and still get the following error:



root@kali:~# nexus-adb devices
* daemon not running. starting it now on port 5037 *
cannot bind 'tcp:5037'
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon


note: when I do check the ADB over network box, it says the port is 5555

please help this rookie?

brazen
2015-03-03, 13:55
note ~ i do not get prompted to Allow USB debugging 'that references the RSA key fingerprint'. OnePlus does show the icon and 'USB debugging connected'. and the above command isn't working as originally posted.



iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

brazen
2015-03-03, 14:27
for some reason... it doesn't seem to connect in Linux. i went to my mac and https://code.google.com/p/adb-fastboot-install/ installed adb fastboot install for mac.



This will install ADB and Fastboot on your computer.
Root Permissions required. Please type your password.
Password:
Changed directory to /Users/username/Downloads/Android
Moving ADB
ADB Moved to /usr/bin/adb
moving Fastboot
Fastboot moved to /usr/bin/fastboot
You may now run Android Debug Bridge and Fastboot commands
Have a nice day.


edit ~ this code in this posting is on a mac, not linux
i am still getting device as offline and not able to get it to a different status

brazen
2015-03-03, 15:56
kali


root@kali:~# netstat -lnptu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
udp 0 0 0.0.0.0:20218 0.0.0.0:* 3524/dhclient
udp 0 0 0.0.0.0:68 0.0.0.0:* 3524/dhclient
udp6 0 0 :::61589 :::* 3524/dhclient

brazen
2015-03-03, 15:58
from mac


User:Volumes User$ sudo lsof -i :5037
Password:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
adb 2694 User 6u IPv4 0x52f91fa3247d181d 0t0 TCP localhost:5037 (LISTEN)
User:Volumes User$

brazen
2015-03-04, 18:57
I got it installed. i had to use windows installer to do it :o( instead of using Kali.

viejo verde
2015-03-19, 12:47
Installed net hunter 1.1 on OnePlus 05q without problem using Ubuntu. rooted, installed TWRP, SuperSU, then encrypted and installed net hunter without problem