Giter Club home page Giter Club logo

Comments (46)

emprise1976 avatar emprise1976 commented on July 18, 2024 1

[ 852.360804] hub 2-0:1.0: 1 port detected
[ 852.668826] bq24192_external_power_changed: usb host mode = 1
[ 852.669829] bq24192_enable_otg: otg enable = 1
[ 852.676250] usb 1-1: new full-speed USB device number 2 using xhci-hcd
[ 852.696471] usb 1-1: New USB device found, idVendor=05e3, idProduct=0606
[ 852.696730] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 852.697141] usb 1-1: Product: USB Hub 2.0
[ 852.697369] usb 1-1: Manufacturer: ALCOR
[ 852.704340] usb 1-1: ep 0x81 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[ 852.751230] hub 1-1:1.0: USB hub found
[ 852.753010] hub 1-1:1.0: 4 ports detected
[ 853.034928] usb 1-1.1: new full-speed USB device number 3 using xhci-hcd
[ 853.067087] usb 1-1.1: not running at top speed; connect to a high speed hub
[ 853.069436] usb 1-1.1: New USB device found, idVendor=0cf3, idProduct=9271
[ 853.069871] usb 1-1.1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 853.070289] usb 1-1.1: Product: USB2.0 WLAN
[ 853.070516] usb 1-1.1: Manufacturer: ATHEROS
[ 853.070745] usb 1-1.1: SerialNumber: 12345
[ 853.132179] usb 1-1.1: ath9k_htc: Firmware htc_9271.fw requested
[ 853.587688] usb 1-1.1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51008
[ 854.585494] ath9k_htc 1-1.1:1.0: ath9k_htc: Target is unresponsive
[ 854.585808] Failed to initialize the device
[ 854.607144] usb 1-1.1: ath9k_htc: USB layer deinitialized[ 856.410308] init: Untracked pid 3767 killed by signal 9
[ 857.405605] init: Untracked pid 3890 killed by signal 1

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024 1

@shakim24 Just wanted to double check the V1. I see. Soo you have atheros as a module. I enable them with *

Anyway, with rfcomm, I had the same, then realised that I need to make the modules in the kernel sources folder with eg.

mkdir ~/modules
make modules_install INSTALL_MOD_PATH=~/modules/ 

then copy the ~/modules/lib/modules folder into the nethunter installer devices/klte folder next to the Image/zImage.dtb to get it included automatically. You can delete build and sources symlink from that folder.
There might be a better way to achieve this though but at least works

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024 1

So you flash the nethunter nightly rom then. Every time I try to flash it I get a "updater process error 1" error.

Edit: @yesimxev the previous post you just listed it seems that for building a kernel if I'm mistaken. The kernel I'm using right now is a NH nightly for the s5. The last time built a kernel it wasn't modified correctly so I was kinda screwed. But I've gotten further with the nh nightly kernel. As for the commands you suggested I run, in root@kali nothing showed up. But I did find it in root explorer. I'm still curious as to why I'm getting a error when I run modprobe 🤔🤔.

Edit 2: so all is well. I ran modprobe and my driver's are installed and in monitor mode. I'm not sure what I did to get modprobe to work without errors, probably a bug in nethunter, I'm not sure. But my WN722N light is blinking, all is good.

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

Anybody????

from kali-nethunter.

0E800 avatar 0E800 commented on July 18, 2024

Dude... Too much info.

Turn on device without tplink connected.
After device is booted, type dmesg.
Then wait 30 seconds and type dmesg again.
Hopefully you dont have 1000 lines of messages in 30 seconds.
I dont want to read all of your dmesg on my tiny phone screen.

Now plug in your tplink , dont do anything for 5 seconds and type dmesg.
Pastebin ONLY the part about your device.
It shouldn't be more than 30 lines.
Then take out the tplink and after 5 seconds do dmesg again. Only pastebin the lines regarding your device being unconnected.

Do not paste a 300kb log. Just the relevant info and I'll see what I can gleam from it

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

Bro, this is my 1st time running a dmesg from a device so chill.

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

What does the lsusb -t give for you?
Also, is it sure that you have a V1? And have you tried the airmon or iwconfig to pit in monitor mode?

from kali-nethunter.

0E800 avatar 0E800 commented on July 18, 2024

Speaking of the obvious, I am not your bro. The name of your pet fish was apparent from the original post,
Think if I was gonna haze a greenie I would have spend the effort to press the keyboard buttons as much offering to help?
Instead of doing what I suggested you broke out with your feelings calculator and thought what? Get some sympathy points?

Hackers don't work for feelings, just code.

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

It's not about sympathy points at all, BRO lol. You just feel you can talk to people any kinda way because your behind a keyboard. And how did you know I didn't do as you suggested, you just assumed. Yes it's all about helping people but you can also speak to people with respect as well even if your behind a keyboard, others will probably agree. You didn't have to help, this is a open forum, you chose to help and responded. This conservation is pointless lol 🤷🏽‍♂️🤷🏽‍♂️. Thread closed lol.

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

I'm interested for the solution, I have an S5 too, but not with TP-Link
So, what does the lsusb -t give for you?
Also, is it sure that you have a V1? And have you tried the airmon or iwconfig to put in monitor mode?

from kali-nethunter.

emprise1976 avatar emprise1976 commented on July 18, 2024

On Nexus 5 I get
Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=, Driver=hub/4p, 12M
|__ Port 1: Dev 3, If 0, Class=, Driver=ath9k_htc, 12M

Attached with powered otg cable

from kali-nethunter.

kimocoder avatar kimocoder commented on July 18, 2024

I'll check ny Nexus 6P Android 8.1 status og the adapter shortly. Awaiting on a new OTG as the y-cable required some modifications. tba

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

It seems like the wlan driver is fine, loaded. But the Y cable could be not working with the current kernel. Just to make sure your wlan adapter works, try to unplug the Y cable. Turn off Y cable service. Plug back the cable with the wlan adapter only. It usually works without charging this way.

On my OPO, the feature works only when I unplug the cable, turn the service on, the plug back with the adapter+charger already connected.

from kali-nethunter.

emprise1976 avatar emprise1976 commented on July 18, 2024

If I use an OTG Adapter Only the device will not come up

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

It should come up with that, have you tried other/older kernels? Then make sure Y cable service is off/reboot device maybe to let Y be off all the time. Have you tried the Y calbe disconnecting/service turning on off as I mentioned above?

from kali-nethunter.

emprise1976 avatar emprise1976 commented on July 18, 2024

Same behavior as with the Y-Cable. Kernel is 3.4.0-g6af4dfa Chris from 2017

from kali-nethunter.

emprise1976 avatar emprise1976 commented on July 18, 2024

Which kernel would you recommend for a Nexus 5 with LineageOS 7.1.2?

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

Try this one latest. It is on LineageOS 14.1 I guess
https://build.nethunter.com/nightly/2019.03-13-0514/kernel-nethunter-klte-nougat-2019.03-13-0514.zip
At the moment, I am using this though, as I didn't update since.
https://build.nethunter.com/nightly/2017.11-18-1618/kernel-nethunter-klte-nougat-2017.11-18-1618.zip

from kali-nethunter.

pixelwasser avatar pixelwasser commented on July 18, 2024

@yesimxev
Shouldn't it be https://build.nethunter.com/nightly/2019.03-13-0514/kernel-nethunter-hammerhead-nougat-2019.03-13-0514.zip for the NEXUS 5?

What is the difference between
hammerheadcafcm-nougat
hammerheadcm-nougat and
hammerhead-nougat?

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

Yes sorry I messed up, thought about a the S5 in the thread, did't read yours tbh. So yes. Not sure about. If it is not CyanogenMod, then check codenames
https://twrp.me/Devices/
I would go with hammerheadcm-nougat as 14.1 is so called CM
@pixelwasser but you can try all shouldn't mess up anything

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

@yesimev I'm using v1 of the WN722N model, you might have missed it in the OP. So I noticed something weird. Maybe it's the way I edited my kernel but the module.dep.bin directory that's needed to run modprobe is empty in the system/lib/modules directory. My kernel is lineageOS 7.1.2. I'm going to try a netunter kernel and see if there are any changes. On a side note, for those who are having a hard time getting nethunter to recognize your adapter, I edited macchanger to wlan1, tapped refresh, and all was good.

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

@yesimxev yeah I have the atheros modules installed. So your running the nougat klte nethunter kernel I assume right?

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

Yes, and modprobe works me out of the box from build.nethunter.com/nightly
So did you make the kernel modules, and installed into the nethunter kernel zip?

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

Well what I did was I built lineageOS for the s5 with the modified kernel, clearly that didn't work. So I'm just going to start fresh, revert back to stock, and reinstall everything with the nightly nethunter klte kernel and see what happens.

from kali-nethunter.

0E800 avatar 0E800 commented on July 18, 2024

You got all your drivers built and your firmware? Example:

Imgur

from kali-nethunter.

emprise1976 avatar emprise1976 commented on July 18, 2024

If install the Firmware manually via apt install firmware-ath9k-htc I'll get the message that Firmware 1.4 ist installed and that I should Update to Firmware 1.3

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

What does the following give to you with your kernel?
modprobe ath9k_htc

After you have done this:
So did you make the kernel modules, and installed into the nethunter kernel zip as I suggested above?
That will put the modules into your modules folder on the phone eg. on mine into /lib/modules/3.10.61-yesimxev-g90f94721dfb-dirty/
Even if it doesn't work, modules should be able to enable with modprobe.

Also, why not try to enable the wlan driver with * just for testing?

from kali-nethunter.

emprise1976 avatar emprise1976 commented on July 18, 2024

e# modprobe ath9k_htc
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/3.4.0-g85d04d0/modules.dep.bin'
modprobe: FATAL: Module ath9k_htc not found in directory /lib/modules/3.4.0-g85d04d0

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

Do the modules get installed when you install the kernel with twrp? Like this

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

Screenshot_2019-03-29-03-06-58

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

If the above is the same on yours, what does the
ls /system/lib/modules
mkdir /lib/modules/test
do for you?

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

Kind of reproduced the issue, on my phone, the system is not mounter properly. I can see all the modules (and everything in /system) in the TWRP /system/lib/modules but nothing in NH terminal

from kali-nethunter.

emprise1976 avatar emprise1976 commented on July 18, 2024

I didn't compiled a kernel myself therefore I used the prebuild kernel from https://build.nethunter.com/nightly/2019.03-13-0514/
Also I don't have any kind of modules in /System/lib/modules

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

Can you see anything in /system?
ls /system

from kali-nethunter.

emprise1976 avatar emprise1976 commented on July 18, 2024

oot@kali:# ls /system
addon.d build.prop fonts lost+found recovery-from-boot.bak vendor
app etc framework media tts xbin
bin fake-libs lib priv-app usr
root@kali:
#

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

And are the modules getting installed as on my screenshot above when you are installing the kernel? Did you also try hammerheadcm-nougat kernel?

from kali-nethunter.

emprise1976 avatar emprise1976 commented on July 18, 2024

Yes, I usesd the hammerheadcm-nougat kernel, but I get the message during install no kernel modules found skipping

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

from kali-nethunter.

emprise1976 avatar emprise1976 commented on July 18, 2024

Is there an how to to build my own kernel including HID Patch?

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

@emprise1976 #1212 (comment)

The only difference is that your patched kernel source can be found in kernels.txt so you should be ok to make kali_defconfig and does not need to start from 0

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

@yesimxev how did you load the drivers for the s5🤔🤔. The modprobe command is throwing errors saying it can't find the modules.dep.bin but it's in the directory so I'm not sure why it can't find it. The nethunter kernel was flashed fine and all the files are in for etc/firmware directory unlike previously.

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

@shakim24 modules should be in /lib/modules
Anything in there? I just put them into the nh installer devices and build an installable zip as shown wayback above. What is your NH app version btw?

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

Yes my modules are in there. My NH version is 2017.10 installed by magisk module. The zip file your referring to that I need to create is this "mkdir /lib/modules/test"? And where is NH installer, what directory?

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

hmm I didn't work with magisk yet
Try ln -s /system/lib/modules /lib/modules if that is already there there must be a minor issue. Is it even a module to be loaded? Not a driver with * in menuconfig?

To create the zip. Make the kernel, put the Image and modules folder into the nh-installer/devices/nougat/klte folder and run
build.py -k -n -d klte
Then flash the created zip file

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

I meant to flash your custom kernel with modules by copying it into nethunter installer devices tree. You did get error still, because it seems that the modules were not included in the nightly.

Great, probably because of they are installed now properly - is it your custom kernel now? If not, then nightly had the modules

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

No it's the nightly kernel. I was also getting a modprobe error with the nightly kernel as well so it's probably a bug. Is there a driver for MT7610U chipset compatible with nethunter? The ones I've seen are for only kernels that are for v4 or higher, mine is 3.14.

from kali-nethunter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.