Closed jslon closed 5 years ago
I'll take another look at this (and camera issue) but in my experience a USBC > OTG didn't work for OnePlus2. It only worked with regular OTG cable and USB-C adapter.
Not sure why but just my experience.
Correct, standard OTG cable with correct type C adapter. From what I found there are a lot of micro to type C adapters that work.
I'm having same issue what about. Using usb_modeswitch in terminal?
I got the phone to recognize when I went to hotspot options in the phone and setup hotspot and The usb tethering is off by default
not in terminal though.
Weird i reset it a couple if times bit It is appearing as rndis0 in terminal now.
here's the dmesg grep rndis0 https://goo.gl/photos/BsAf6o6XsW4SAnzXA Yet I can't putinto monitoring mode
In my case i'm not geting any output on the dmesg |grep rndis0 :/
The weird thing is when I put the router in monitor mode I get this error
https://goo.gl/photos/cQaZKVDEUYUJrbad8
Weird thing is I use my tp link as a pineapple when I insert usb so I know it has monitoring mode its a tp link mr3040
The grep of the usb also picked up the proper ath6kl_usb and the ath9k drivers and the rndis_wlan driver
I should've posted my issue in the nexus 5 issue # but did it here because it seems to be a general issue and not phone related I meant to post there but seemed an easier method to consolidate both on this issue and that issue is over 3 years old. once a solution is found , unless i forget, ill post the solution in that issue # so we can close 2 at once!
Same here!
Device: Nexus 7 2013 LTE OS: Marschmellow 6.0.1 MOB30X
i tried nightly release from idlekernel and i tried to build it myself with the same results. All versions above the 3.0 release version does not work for me.
Edit: I think there is an issue with the kernel, after i restored only the bootpartition with the kernel that comes along with the 3.0 release it works for me
@MelrondMcBong - Please open a new issue for Nexus 7 2013 and what specifically isn't working. It gets confusing trying to track issues with certain devices when they show up in other device issues.
So do you think my phone isn't detecting my wireless card because a hardware problem? Using the phone's cable and a usb female/female adapter should make it work?
I feel pretty confident I enabled atheros and other wireless devices. If you have a different adapter I would try that first. Otherwise I can resend another kernel.
Ok, I have tried with a TP-Link WN823N that also works fine on my computer and it didn't work on the phone, ifconfig -a doesn't show anything, iw dev neither. Here is the output at the end of dmesg: What else do you recommend me to troubleshoot this problem?
I rebuilt kernel just in case and double checked configuration. Untested on my side:
https://transfer.sh/11MpwM/kernel-nethunter-oneplus2oos-marshmallow-20160921-063244.zip
Thank you, but I just flashed it and still not working :/
Sorry for still bothering but I really need to get this work. I've have tried with 3 different USB-C -> USB adapters, I recently bought an USB female/female adapter and tried with the phone's cable and it still not detecting anything, lsusb have no response, dmesg don't show anything about ath, ath9k, wlan1 or rndis0. Don't know what else I could try to make this work.
I'm having this same issue. I have used the official USB-C adapter from OnePlus to a known working USB micro OTG adapter. I have also tried several other USB-C adapters that I know are working for a N5x with nethunter (there are other problems but the adapter is working).
@jslon - Your device is a TP-Link WN823N, which according to https://wikidevi.com/wiki/TP-LINK_TL-WN823N_v1, uses a rtl8192cu driver.
In my configuration file I have enabled it: https://github.com/binkybear/android_kernel_oneplus_msm8994/blob/origin/boeffla_oos3/arch/arm64/configs/kali_defconfig#L1563
The file should be located in /system/etc/firmware/rtlwifi: https://github.com/offensive-security/kali-nethunter/blob/master/nethunter-installer/boot-patcher/system/etc/firmware/rtlwifi/rtl8192cufw.bin
A couple things could be happening. Either that firmware isn't loading or it's a power issue. Have you tried other external wifi devices?
@cyrus104 - Is this the OP2 also? What wifi device are you using?
Binkybear, thanks for getting back to me.
I've worked on several devices: OP2 w/ TP-Link tl-wn722n OP2 w/ Alfa AWUS036NHA OP2 w/ StarTech USB300WN2X2D
Thanks for looking into this.
Can either of you email me a dmesg when you plugin in the device and try to call it up?
dmesg > /sdcard/dmesg.txt
binkybear@nethunter.com
Also, are you using OxygenOS or CM13?
This is from when I plus in a device.
[1266874889.709551] [20161004_11:27:39.101620]@0 init: Service 'su_daemon' (pid 13394) killing any children in process group [1266874889.709551] [20161004_11:27:43.394223]@0 SMBCHG: smbchg_charging_en: chg_en smbchg_charging_en:en =1 [1266874889.709551] [20161004_11:27:43.394682]@0 SMBCHG: smbchg_set_high_usb_chg_current: smbchg_set_high_usb_chg_current:1800 [1266874889.709551] [20161004_11:27:43.394789]@0 SMBCHG: smbchg_set_thermal_limited_usb_current_max: AICL = 2000, ICL = 1800 [1266874889.709551] [20161004_11:27:43.400127]@0 healthd: usb: Unknown power supply type [1266874889.709551] [20161004_11:27:43.410523]@2 healthd: usb: Unknown power supply type [1266874889.709551] [20161004_11:27:43.416788]@1 healthd: usb: Unknown power supply type [1266874889.709551] [20161004_11:27:43.420293]@1 healthd: usb: Unknown power supply type [1266874889.709551] [20161004_11:27:43.460317]@0 msm-dwc3 f9200000.ssusb: DWC3 exited from low power mode [1266874889.709551] [20161004_11:27:43.741478]@1 healthd: usb: Unknown power supply type [1266874889.709551] [20161004_11:27:43.745951]@0 PWM device already freed [1266874889.709551] [20161004_11:27:43.747450]@2 PWM device already freed [1266874889.709551] [20161004_11:27:43.747709]@2 PWM device already freed [1266874889.709551] [20161004_11:27:43.748819]@1 healthd: usb: Unknown power supply type [1266874889.709551] [20161004_11:27:43.758086]@0 healthd: usb: Unknown power supply type [1266874889.709551] [20161004_11:27:44.061128]@0 msm-dwc3 f9200000.ssusb: chg_type = USB_PROPRIETARY_CHARGER [1266874889.709551] [20161004_11:27:44.061198]@0 msm-dwc3 f9200000.ssusb: dwc3_msm_power_set_property_usb: charger type: USB_DCP_CHARGER [1266874889.709551] [20161004_11:27:44.061229]@0 dwc3 f9200000.dwc3: Avail curr from USB = 1500 [1266874889.709551] [20161004_11:27:44.061459]@0 SMBCHG: smbchg_external_power_changed: current_limit = 1500 [1266874889.709551] [20161004_11:27:44.061601]@0 SMBCHG: smbchg_external_power_changed: changed chip->usb_target_current_ma = 1800 [1266874889.709551] [20161004_11:27:44.061642]@0 SMBCHG: smbchg_set_high_usb_chg_current: smbchg_set_high_usb_chg_current:800 [1266874889.709551] [20161004_11:27:44.061710]@0 SMBCHG: smbchg_set_thermal_limited_usb_current_max: AICL = 1800, ICL = 700 [1266874889.709551] [20161004_11:27:44.106286]@1 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:27:44.135178]@3 init: Untracked pid 13403 exited with status 1 [1266874889.709551] [20161004_11:27:44.136424]@3 init: Service 'su_daemon' (pid 13401) exited with status 0 [1266874889.709551] [20161004_11:27:44.136460]@3 init: Service 'su_daemon' (pid 13401) killing any children in process group [1266874889.709551] [20161004_11:27:44.783100]@0 wlan: [6533:E :WDA] scan_id a020, vdev_id 0, scan type 0, msg_type 1103 [1266874889.709551] [20161004_11:27:45.022306]@3 wlan: [11431:E :WDA] scan complete - scan_id a020, vdev_id 0 [1266874889.709551] [20161004_11:27:45.022540]@3 wlan: [6533:E :SME] Found 4 BSS, statusCode 0 [1266874889.709551] [20161004_11:27:45.023267]@3 wlan: [6533:E :SME] PmcOffloadEnableStaModePowerSave: 3600: sta mode power save already enabled [1266874889.709551] [20161004_11:27:46.066119]@0 SMBCHG: smbchg_set_high_usb_chg_current: smbchg_set_high_usb_chg_current:400 [1266874889.709551] [20161004_11:27:46.066242]@0 SMBCHG: smbchg_set_fastchg_current_raw: smbchg_set_fastchg_current_raw:500 [1266874889.709551] [20161004_11:27:46.066252]@0 SMBCHG: smbchg_charging_en: chg_en smbchg_charging_en:en =1 [1266874889.709551] [20161004_11:27:46.195369]@0 SMBCHG: smbchg_set_high_usb_chg_current: smbchg_set_high_usb_chg_current:500 [1266874889.709551] [20161004_11:27:46.327333]@0 SMBCHG: smbchg_set_high_usb_chg_current: smbchg_set_high_usb_chg_current:600 [1266874889.709551] [20161004_11:27:46.461498]@0 SMBCHG: smbchg_set_high_usb_chg_current: smbchg_set_high_usb_chg_current:700 [1266874889.709551] [20161004_11:27:46.597374]@0 SMBCHG: smbchg_set_high_usb_chg_current: smbchg_set_high_usb_chg_current:800 [1266874889.709551] [20161004_11:27:46.725338]@0 SMBCHG: smbchg_set_high_usb_chg_current: smbchg_set_high_usb_chg_current:900 [1266874889.709551] [20161004_11:27:46.854808]@0 SMBCHG: smbchg_set_high_usb_chg_current: smbchg_set_high_usb_chg_current:1000 [1266874889.709551] [20161004_11:27:46.982925]@0 SMBCHG: smbchg_set_high_usb_chg_current: smbchg_set_high_usb_chg_current:1100 [1266874889.709551] [20161004_11:27:47.111347]@0 SMBCHG: smbchg_set_high_usb_chg_current: smbchg_set_high_usb_chg_current:1200 [1266874889.709551] [20161004_11:27:47.372147]@0 SMBCHG: smbchg_set_fastchg_current_raw: smbchg_set_fastchg_current_raw:900 [1266874889.709551] [20161004_11:27:47.637583]@0 SMBCHG: smbchg_set_fastchg_current_raw: smbchg_set_fastchg_current_raw:1000 [1266874889.709551] [20161004_11:27:47.894693]@0 SMBCHG: smbchg_set_fastchg_current_raw: smbchg_set_fastchg_current_raw:1200 [1266874889.709551] [20161004_11:27:48.167486]@0 SMBCHG: smbchg_set_high_usb_chg_current: smbchg_set_high_usb_chg_current:1300 [1266874889.709551] [20161004_11:27:48.429827]@0 SMBCHG: smbchg_set_fastchg_current_raw: smbchg_set_fastchg_current_raw:1000 [1266874889.709551] [20161004_11:27:48.702000]@0 SMBCHG: smbchg_set_fastchg_current_raw: smbchg_set_fastchg_current_raw:1100 [1266874889.709551] [20161004_11:27:48.964942]@0 SMBCHG: smbchg_set_fastchg_current_raw: smbchg_set_fastchg_current_raw:1300 [1266874889.709551] [20161004_11:27:49.142416]@3 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:27:49.165000]@1 init: Service 'su_daemon' (pid 13517) exited with status 0 [1266874889.709551] [20161004_11:27:49.165053]@1 init: Service 'su_daemon' (pid 13517) killing any children in process group [1266874889.709551] [20161004_11:27:49.165688]@1 init: Untracked pid 13519 exited with status 1 [1266874889.709551] [20161004_11:27:49.222508]@0 SMBCHG: smbchg_set_high_usb_chg_current: smbchg_set_high_usb_chg_current:1400 [1266874889.709551] [20161004_11:27:49.487137]@0 SMBCHG: smbchg_set_fastchg_current_raw: smbchg_set_fastchg_current_raw:1100 [1266874889.709551] [20161004_11:27:49.748046]@0 SMBCHG: smbchg_set_fastchg_current_raw: smbchg_set_fastchg_current_raw:1200 [1266874889.709551] [20161004_11:27:50.008738]@0 SMBCHG: smbchg_set_fastchg_current_raw: smbchg_set_fastchg_current_raw:1400 root@kali ~ #
From a second device:
[1266874889.709551] [20161004_11:27:59.194102]@2 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:27:59.212775]@2 init: Untracked pid 13546 exited with status 1 [1266874889.709551] [20161004_11:27:59.212989]@2 init: Service 'su_daemon' (pid 13544) exited with status 0 [1266874889.709551] [20161004_11:27:59.213012]@2 init: Service 'su_daemon' (pid 13544) killing any children in process group [1266874889.709551] [20161004_11:28:04.218815]@2 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:28:04.238600]@1 init: Untracked pid 13556 exited with status 1 [1266874889.709551] [20161004_11:28:04.239077]@1 init: Service 'su_daemon' (pid 13554) exited with status 0 [1266874889.709551] [20161004_11:28:04.239109]@1 init: Service 'su_daemon' (pid 13554) killing any children in process group [1266874889.709551] [20161004_11:28:04.787136]@2 wlan: [6533:E :WDA] scan_id a021, vdev_id 0, scan type 0, msg_type 1103 [1266874889.709551] [20161004_11:28:04.995356]@3 wlan: [11431:E :WDA] scan complete - scan_id a021, vdev_id 0 [1266874889.709551] [20161004_11:28:04.995654]@3 wlan: [6533:E :SME] Found 2 BSS, statusCode 0 [1266874889.709551] [20161004_11:28:04.996547]@3 wlan: [6533:E :SME] PmcOffloadEnableStaModePowerSave: 3600: sta mode power save already enabled [1266874889.709551] [20161004_11:28:09.244927]@1 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:28:09.262157]@1 init: Untracked pid 13559 exited with status 1 [1266874889.709551] [20161004_11:28:09.262482]@3 init: Service 'su_daemon' (pid 13557) exited with status 0 [1266874889.709551] [20161004_11:28:09.262511]@3 init: Service 'su_daemon' (pid 13557) killing any children in process group [1266874889.709551] [20161004_11:28:10.747040]@1 type=1400 audit(1475551690.744:31): avc: denied { search } for pid=13503 comm="IntentService[S" name="audio" dev="mmcblk0p43" ino=1130525 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:audio_data_file:s0 tclass=dir permissive=1 [1266874889.709551] [20161004_11:28:10.779193]@1 type=1400 audit(1475551690.774:32): avc: denied { search } for pid=13503 comm="IntentService[S" name="/" dev="mmcblk0p37" ino=2 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:persist_file:s0 tclass=dir permissive=1 [1266874889.709551] [20161004_11:28:10.779560]@1 type=1400 audit(1475551690.774:33): avc: denied { getattr } for pid=13503 comm="IntentService[S" name="wlan_mac.bin" dev="mmcblk0p37" ino=109 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:persist_file:s0 tclass=file permissive=1 [1266874889.709551] [20161004_11:28:14.268358]@3 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:28:14.296814]@1 init: Untracked pid 13564 exited with status 1 [1266874889.709551] [20161004_11:28:14.297217]@1 init: Service 'su_daemon' (pid 13562) exited with status 0 [1266874889.709551] [20161004_11:28:14.297245]@1 init: Service 'su_daemon' (pid 13562) killing any children in process group [1266874889.709551] [20161004_11:28:19.303893]@1 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:28:19.325083]@1 init: Service 'su_daemon' (pid 13565) exited with status 0 [1266874889.709551] [20161004_11:28:19.325137]@1 init: Service 'su_daemon' (pid 13565) killing any children in process group [1266874889.709551] [20161004_11:28:19.325847]@1 init: Untracked pid 13567 exited with status 1 [1266874889.709551] [20161004_11:28:24.331371]@1 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:28:24.352111]@2 init: Untracked pid 13572 exited with status 1 [1266874889.709551] [20161004_11:28:24.352360]@2 init: Service 'su_daemon' (pid 13570) exited with status 0 [1266874889.709551] [20161004_11:28:24.352384]@2 init: Service 'su_daemon' (pid 13570) killing any children in process group [1266874889.709551] [20161004_11:28:24.788573]@1 wlan: [6533:E :WDA] scan_id a022, vdev_id 0, scan type 0, msg_type 1103 [1266874889.709551] [20161004_11:28:27.774346]@1 type=1400 audit(1475551707.771:34): avc: denied { getattr } for pid=13503 comm="IntentService[S" path="/cache/recovery" dev="mmcblk0p41" ino=8194 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:recovery_cache_file:s0 tclass=dir permissive=1 [1266874889.709551] [20161004_11:28:27.774582]@1 type=1400 audit(1475551707.771:35): avc: denied { read } for pid=13503 comm="IntentService[S" name="recovery" dev="mmcblk0p41" ino=8194 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:recovery_cache_file:s0 tclass=dir permissive=1 [1266874889.709551] [20161004_11:28:27.774707]@1 type=1400 audit(1475551707.771:36): avc: denied { open } for pid=13503 comm="IntentService[S" path="/cache/recovery" dev="mmcblk0p41" ino=8194 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:recovery_cache_file:s0 tclass=dir permissive=1 [1266874889.709551] [20161004_11:28:27.774843]@1 type=1400 audit(1475551707.771:37): avc: denied { getattr } for pid=13503 comm="IntentService[S" path="/cache/recovery/last_log" dev="mmcblk0p41" ino=8199 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:recovery_cache_file:s0 tclass=file permissive=1 [1266874889.709551] [20161004_11:28:27.774919]@1 type=1400 audit(1475551707.771:38): avc: denied { getattr } for pid=13503 comm="IntentService[S" path="/mnt/media_rw" dev="tmpfs" ino=13328 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:mnt_media_rw_file:s0 tclass=dir permissive=1 [1266874889.709551] [20161004_11:28:27.775507]@1 type=1400 audit(1475551707.771:39): avc: denied { read } for pid=13503 comm="IntentService[S" name="/" dev="mmcblk0p2" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:bt_firmware_file:s0 tclass=dir permissive=1 [1266874889.709551] [20161004_11:28:27.775624]@1 type=1400 audit(1475551707.771:40): avc: denied { open } for pid=13503 comm="IntentService[S" path="/bt_firmware" dev="mmcblk0p2" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:bt_firmware_file:s0 tclass=dir permissive=1 [1266874889.709551] [20161004_11:28:27.782280]@1 type=1400 audit(1475551707.777:41): avc: denied { getattr } for pid=13503 comm="IntentService[S" path="/bt_firmware/image/btfw32.tlv" dev="mmcblk0p2" ino=65 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:bt_firmware_file:s0 tclass=file permissive=1 [1266874889.709551] [20161004_11:28:29.358685]@2 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:28:29.392287]@2 init: Untracked pid 13576 exited with status 1 [1266874889.709551] [20161004_11:28:29.393818]@2 init: Service 'su_daemon' (pid 13574) exited with status 0 [1266874889.709551] [20161004_11:28:29.393862]@2 init: Service 'su_daemon' (pid 13574) killing any children in process group [1266874889.709551] [20161004_11:28:29.544780]@3 wlan: [11431:E :WDA] scan complete - scan_id a022, vdev_id 0 [1266874889.709551] [20161004_11:28:29.545344]@3 wlan: [6533:E :SME] Found 14 BSS, statusCode 0 [1266874889.709551] [20161004_11:28:29.546707]@3 wlan: [6533:E :SME] PmcOffloadEnableStaModePowerSave: 3600: sta mode power save already enabled [1266874889.709551] [20161004_11:28:34.400177]@2 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:28:34.457244]@1 init: Untracked pid 13588 exited with status 1 [1266874889.709551] [20161004_11:28:34.457577]@1 init: Service 'su_daemon' (pid 13586) exited with status 0 [1266874889.709551] [20161004_11:28:34.457612]@1 init: Service 'su_daemon' (pid 13586) killing any children in process group [1266874889.709551] [20161004_11:28:39.464457]@1 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:28:39.521116]@0 init: Untracked pid 13592 exited with status 1 [1266874889.709551] [20161004_11:28:39.521378]@0 init: Service 'su_daemon' (pid 13590) exited with status 0 [1266874889.709551] [20161004_11:28:39.521404]@0 init: Service 'su_daemon' (pid 13590) killing any children in process group [1266874889.709551] [20161004_11:28:44.528677]@0 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:28:44.580966]@2 init: Untracked pid 13598 exited with status 1 [1266874889.709551] [20161004_11:28:44.581254]@2 init: Service 'su_daemon' (pid 13596) exited with status 0 [1266874889.709551] [20161004_11:28:44.581282]@2 init: Service 'su_daemon' (pid 13596) killing any children in process group [1266874889.709551] [20161004_11:28:44.790412]@0 wlan: [6533:E :WDA] scan_id a023, vdev_id 0, scan type 0, msg_type 1103 [1266874889.709551] [20161004_11:28:45.030080]@3 wlan: [11431:E :WDA] scan complete - scan_id a023, vdev_id 0 [1266874889.709551] [20161004_11:28:45.031237]@3 wlan: [6533:E :SME] Found 5 BSS, statusCode 0 [1266874889.709551] [20161004_11:28:45.034448]@3 wlan: [6533:E :SME] PmcOffloadEnableStaModePowerSave: 3600: sta mode power save already enabled [1266874889.709551] [20161004_11:28:45.242236]@2 --------backlight level = 0--------- [1266874889.709551] [20161004_11:28:45.343795]@1 blank off start [1266874889.709551] [20161004_11:28:45.343826]@1 fpc1020 spi12.0: fb_notifier_callback screen off [1266874889.709551] [20161004_11:28:45.343857]@1 Display need time start [1266874889.709551] [20161004_11:28:45.422605]@1 Display need time end [1266874889.709551] [20161004_11:28:45.423070]@1 synaptics,s3320: synaptics_ts_suspend: is called
[1266874889.709551] [20161004_11:28:45.424271]@2 synaptics,s3320: synaptics s3320 enable gesture by suspend [1266874889.709551] [20161004_11:28:45.424282]@2 blank off end [1266874889.709551] [20161004_11:28:49.588472]@2 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:28:49.642219]@0 init: Service 'su_daemon' (pid 13601) exited with status 0 [1266874889.709551] [20161004_11:28:49.642284]@0 init: Service 'su_daemon' (pid 13601) killing any children in process group [1266874889.709551] [20161004_11:28:49.643245]@0 init: Untracked pid 13603 exited with status 1 [1266874889.709551] [20161004_11:28:53.647306]@0 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:28:53.699988]@0 init: Untracked pid 13608 exited with status 1 [1266874889.709551] [20161004_11:28:53.700288]@0 init: Service 'su_daemon' (pid 13606) exited with status 0 [1266874889.709551] [20161004_11:28:53.700314]@0 init: Service 'su_daemon' (pid 13606) killing any children in process group [1266874889.709551] [20161004_11:28:58.708531]@0 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:28:58.760304]@0 init: Untracked pid 13612 exited with status 1 [1266874889.709551] [20161004_11:28:58.760988]@1 init: Service 'su_daemon' (pid 13610) exited with status 0 [1266874889.709551] [20161004_11:28:58.761027]@1 init: Service 'su_daemon' (pid 13610) killing any children in process group [1266874889.709551] [20161004_11:29:03.770163]@1 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:29:03.822943]@0 init: Untracked pid 13638 exited with status 1 [1266874889.709551] [20161004_11:29:03.823227]@0 init: Service 'su_daemon' (pid 13636) exited with status 0 [1266874889.709551] [20161004_11:29:03.823249]@0 init: Service 'su_daemon' (pid 13636) killing any children in process group [1266874889.709551] [20161004_11:29:08.829905]@0 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:29:08.880854]@1 init: Untracked pid 13642 exited with status 1 [1266874889.709551] [20161004_11:29:08.881162]@1 init: Service 'su_daemon' (pid 13640) exited with status 0 [1266874889.709551] [20161004_11:29:08.881187]@1 init: Service 'su_daemon' (pid 13640) killing any children in process group [1266874889.709551] [20161004_11:29:13.884690]@1 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:29:13.938400]@0 init: Untracked pid 13647 exited with status 1 [1266874889.709551] [20161004_11:29:13.938658]@0 init: Service 'su_daemon' (pid 13645) exited with status 0 [1266874889.709551] [20161004_11:29:13.938684]@0 init: Service 'su_daemon' (pid 13645) killing any children in process group [1266874889.709551] [20161004_11:29:18.947399]@0 init: Starting service 'su_daemon'... [1266874889.709551] [20161004_11:29:18.999160]@1 init: Untracked pid 13651 exited with status 1 [1266874889.709551] [20161004_11:29:18.999640]@1 init: Service 'su_daemon' (pid 13649) exited with status 0 [1266874889.709551] [20161004_11:29:18.999669]@1 init: Service 'su_daemon' (pid 13649) killing any children in process group root@kali ~ #
Second: http://pastebin.com/tWHWUVWe
Hey @binkybear thank you for looking into this. Actually I'm using a TP-Link TL-WN722N, which according to this it uses a Atheros AR9271 driver. I don't see it at the configuration file. Besides I also tried with the TP-Link TL-WN823N and it didn't work. I just emailed you the result of dmesg with both adapters. Thank you.
The dmesg results didn't have anything related to devices. I have tested on a OnePlus2 and can confirm that wlan1 is not working.
My assumption for now is that it's related to wlan.ko in the same way that OnePlus3 is also having issue after adding wlan module.
@binkybear My dmesg has the following in it, are these not related? It's weird that I can run dmesg 5 times in a row with no change and then plug in the USB-C adapter and WLAN card and about 50-60 lines pop up in dmesg. No idea what they are thought.
[1266874889.709551] [20161004_11:27:44.783100]@0 wlan: [6533:E :WDA] scan_id a020, vdev_id 0, scan type 0, msg_type 1103 [1266874889.709551] [20161004_11:27:45.022306]@3 wlan: [11431:E :WDA] scan complete - scan_id a020, vdev_id 0 [1266874889.709551] [20161004_11:27:45.022540]@3 wlan: [6533:E :SME] Found 4 BSS, statusCode 0 [1266874889.709551] [20161004_11:27:45.023267]@3 wlan: [6533:E :SME]
No thats just your regular wlan, it's not related to external. The external is not showing up at all. Also I will double check OTG.
Okay, this is silly. Go to settings > storage and usb > enable OTG
Oh, I haven't been following the OP3 issue, what is it and how long do you think it will take for a fix to come out?
Thanks
@cyrus104 - Got wlan1 working by enabling OTG in settings.
@binkybear - Where is this amazing setting, I thought I have been through every menu in the OP2 w/ CM13.
Go to settings > storage and usb > enable OTG (top right)
Hmm, all I have is the search button. I do not have a : or menu button.
The kernel is for Oxygen OS. I'm unsure about CM 13.
Ah, I was trying to follow the Nethunter installer using CM13 to build it.
I'll remove OTG switch from kernel and upload a new one so it will be on by default.
awesome, will I just need to do a git update for the -d oneplus2cm and then just -k so I only get the new kernel?
The oneplus2cm should already have otg switch enabled. It's the OxygenOS that shouldn't. I'll have to upload a oneplus2 cm kernel tomorrow and build tonight.
Hmm, is there something else on the oneplus2cm that could be causing problems since it's supposed to be enabled by default?
I am not sure what I did differently but I built NH for oneplus2cm and then reflashed CM and the NH to start fresh and now the oneplus USB-C OTG adapter shows me devices.
This is now working but only with the oneplus adapter, would like to know what they do differently so I can make my own cables.
@binkybear i have installed nethunter 3.0 on oneplus one. Android 6.0.1 cyanogen 13.0-znh0eas2jk and kernel is 3.4.11 Its not detecting external usb(TL-WN722N).
And also suggest the best working combination of stock rom or aosp and twrp,super su versions for oneplus one nethunter 3.0.
@bingkybear well l be able to install kali nethunter in galaxy s4 i9500
is there any existing kernel or workaround for this already? I do not seem to be able to get this working with any of the suggestions above (otg switch, otg adapter etc). Not sure if related but i see this in dmesg
[1266874889.709551] [20170826_15:58:48.698707]@0 init: write_file: Unable to open '/proc/otg_config/otg_switch': No such file or directory
[1266874889.709551] [20170826_15:58:50.180387]@1 synaptics,s3320: all finger up
current version
root@kali:/# cat /proc/version
Linux version 3.10.84-perf+ (root@nh-buildbox) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #3 SMP PREEMPT Wed Oct 5 02:47:29 UTC 2016
root@kali:/#
using OOS 3.6.0 and built with -d oneplus2oos -m -f -nb -ni --rootfs minimal
thanks!
Hi, I ordered usb adaptator but 2.0 and i want to know if it will work even Thanks
What one did you buy, what build are you using? What's the kernel version?
On Wednesday, December 20, 2017, YasinGS notifications@github.com wrote:
Hi, I ordered usb adaptator but 2.0 and i want to know if it will work even Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/offensive-security/kali-nethunter/issues/577#issuecomment-352924935, or mute the thread https://github.com/notifications/unsubscribe-auth/AY6dddUCK0RJbRNG5eyQe5hfTniHsIxZks5tCE_rgaJpZM4J_wEK .
I buy a wifi card : awus036NEH my phone is an lg g4 on 7.1.2 I have kali nethunter version is 3.15.4 kernel: 3.10.84-g013c348 @bozwald edit: don't detect my wifi card
Device:
Oneplus 2
OS version (KitKat/Lollipop/Marshmallow/Nougat):
Marshmellow
Built from repo (date and build command) or downloaded from website (links):
kernel-nethunter-oneplus2oos-marshmallow-20160915-155247
Output of
cat /proc/version
in adb shell or NetHunter Terminal:Linux version 3.10.84-perf+ (root@nhbuild-box) (gcc version 4.9.x-google 20140827 (prerelease) (GCC)) #14 SMP PREEMPT Thu Sep 15 05:53:52 CDT 2016
Issue:
I'm trying to connect an external wireless adapter, TP-Link TL-WN722N to my Oneplus Two, I have tried with two different USB-C -> USB adapters, an AUKEY one and the other one from Apple, both brand new. My TP-Link wireless adapter works fine on my computer. But I'm not able to get it recognized by my phone.
I'm using the last image @binkybear gave me: https://transfer.sh/ewYh5/kernel-nethunter-oneplus2oos-marshmallow-20160915-155247.zip.
After running ifconfig -a there is no wlan1 and ifconfing wlan1 up gave me error.
After running dmesg | grep wlan1 && dmesg | grep ath there is no output.
Here is an screenshot from the output of dmesg | grep usb: