UPDATE: These modules were added by request to Hundsbuah's kernel here:
http://forum.xda-developers.com/showthread.php?t=2246062
______________________________________________________________________
I was not going to post this because it has limited use for most TF300T owners but it can't hurt so here it is. The attached file(ath9k.tar.gz) contains kernel modules needed to get AR9271 based usb wifi dongles working on the latest stock TF300T kernel(Asus build 10.4.2.20, kernel version 3.1.10). I have tested the modules with this dongle: TP-Link TL-WN722N.
Uncompress the file and you will get an ath9k directory. Inside are the modules, 2 scripts for easy loading and unloading of the modules, and iwconfig compiled for Android. Getting the dongle working goes something like this:
Su to root. Copy htc_9271.hw to /system/etc/firmware. Run the scripts start_ath9k and stop_ath9k to load and unload the modules.
After the modules are loaded, insert the dongle into the keyboard full size usb port and run ifconfig and iwconfig as needed. If wlan0(default android wifi) is on then iwconfig will show the dongle as wlan1.
Note: I did not post this on the Dev forum because I did not develop these modules...I only changed a few lines in 2 modules before compiling them.
ath9k
I have one mtech atab7t tablet with 4.0.4 android(rooted) and 3.0.8+ kernel [email protected] can i add the driver somehow?
kerteszalex said:
I have one mtech atab7t tablet with 4.0.4 android(rooted) and 3.0.8+ kernel [email protected] can i add the driver somehow?
Click to expand...
Click to collapse
Not very likely...you would need to get your kernel source, add ath9k driver support to the kernel config, then fix any compile errors.
bads3ctor said:
Not very likely...you would need to get your kernel source, add ath9k driver support to the kernel config, then fix any compile errors.
Click to expand...
Click to collapse
you can able to make a tutor for me? i am new in these things :/
kerteszalex said:
you can able to make a tutor for me? i am new in these things :/
Click to expand...
Click to collapse
Hmmm...kernel module compiling in 1 easy lesson....not sure it's possible.
bads3ctor said:
Hmmm...kernel module compiling in 1 easy lesson....not sure it's possible.
Click to expand...
Click to collapse
I really need this usb wifi support for my tab :/ i purchased recently more powerful antennas for my router but this tablet lost the signal on the next room :/ sorry for my bad english
kerteszalex said:
I really need this usb wifi support for my tab :/ i purchased recently more powerful antennas for my router but this tablet lost the signal on the next room :/ sorry for my bad english
Click to expand...
Click to collapse
You need the kernel source for your tablet and a way to root your tablet. I did a cursory Google search for the kernel source for your tablet and I can't find it. If you can get the kernel source code for your tablet then it might be possible to compile ath9k modules. If you can't root that tablet then kernel modules won't be useful because there would be no way to load them.
bads3ctor said:
You need the kernel source for your tablet and a way to root your tablet. I did a cursory Google search for the kernel source for your tablet and I can't find it. If you can get the kernel source code for your tablet then it might be possible to compile ath9k modules. If you can't root that tablet then kernel modules won't be useful because there would be no way to load them.
Click to expand...
Click to collapse
the tablet comes with root.i can extract the kernel from it?
kerteszalex said:
the tablet comes with root.i can extract the kernel from it?
Click to expand...
Click to collapse
You need the kernel source code from the tablet manufacturer.
Hello! I have source code for my kernel (Nexus 7 4.2.2) and I successful built module cifs.ko and cp210x.ko, but i can't build module ath9_htc. I add in my nexus_defconfig file
CONFIG_ATH_COMMON=m
CONFIG_ATH9K_HW=m
CONFIG_ATH9K_COMMON=m
CONFIG_ATH9K_HTC=m
but after make modules command only atk.ko created.
Sorry for my english.
SpulN said:
Hello! I have source code for my kernel (Nexus 7 4.2.2) and I successful built module cifs.ko and cp210x.ko, but i can't build module ath9_htc. I add in my nexus_defconfig file
CONFIG_ATH_COMMON=m
CONFIG_ATH9K_HW=m
CONFIG_ATH9K_COMMON=m
CONFIG_ATH9K_HTC=m
but after make modules command only atk.ko created.
Sorry for my english.
Click to expand...
Click to collapse
I had to comment out a few lines of code in 2 modules to get mine to compile. On the TF300T, it has to do with LED code not present in the stock kernel that is referred to in 2 of the modules. If you use my modules on the TF300T, you will get no LED blinking on the WIFI stick when data is transmitted or received.
EDIT: Newegg has an Atheros AR9271 USB stick for $9.99 with a cradle.
http://www.newegg.com/Product/Product.aspx?Item=N82E16833166068
For anyone wondering what these modules are used for, read this:
http://forum.xda-developers.com/showthread.php?t=1714300
HELP!! Need Kernel Module ath9k for GT-N5110 Galaxy Note 8.0
HELP !!!
Could really use some help. For the life of me I can't compile a kernel module driver ath9k for my USB wireless adapter TL-WN722N. So it can be used by insmod on my rooted Galaxy Note 8.0 GT-N5110 on Kernel 3.0.31 Build BMC9 running android 4.1.2. The source code is available at opensource.samsung. and is listed as the GT-N5110 NA (north america) model. If some one could help me please? I would be forever in your debt... :good:
Hello
When trying to add modules via your script, it gives me an "exec format error" for each module. How can this be fixed?
Device: Asus Padfone A66, Android 4.1.1
hi I am getting some problem with this attach file, i decompressed it and got the directory. but what are the next stapes ? sorry but i am not getting that part to copy to system/etc/firmware. will u make clear the process stapewise?
Sorry for bothering this old thread. I'm trying to get this to work on my OnePlus 3 running Oxygen OS Nougat. I installed Linux on my phone and I would like to install the TP-LINK drivers on it as the inbuilt WiFi module on my phone does not support monitor mode. I connected this WiFi adapter and trying to get it to work. Please help.
I finally managed to install Kali-NetHunter on my Zenfone 2(Z00A).
I'm currently testing on stock-ROM and CM13 based-resurrection-remix ROM ,
I used Ael-Zen Kernel for stock ,
and @say99 's FlareM Kernel for CM13 based .(just a little modifiing "defconfig", It's realy ready for hunting !)
in the stock i have some issue but in the CM it's working !
-ifconfig wlan1 up "i tested alfa 036H" , is working
-wlan1 monitoring mod , is working
-wifite (in NHterminal ) is working
...
there is 2way to use kali-nethunter :
1 - using linux Deploy and installing kali
making and installing a kernel modified with some drivers and host name as "kali" ... and adding firmware needed by drivers *.bin to /syste/etc/firmware/
install kali in linux deploy and install nethunter in installed kali ...
2 - Using kali NetHunter app an tools
installing all things as zip in twrp ( i am trying to build ..)
OR
installing apks of kali nethunter an tools such as NHterminal & ...
"in this way we have some issue because of kali nethunter project maked for ARM-arch and when you try to download and install chroot FS , kalifs for armhf will download .... then we have to build kali chroot FS for amd64 or i386 in PC and unTar it in the /data/local/nhsystem/ in the Zenfone !"
making and installing a kernel modified with some drivers and host name as "kali" ... and adding firmware needed by drivers *.bin to /syste/etc/firmware/
making some symlink for kali boot in /bin
copying nethunter's busybox in /system/xbin and set permition
i am trying to building a zip for easy installing ...
miradli said:
I finally managed to install Kali-NetHunter on my Zenfone 2(Z00A).
I'm currently testing on stock-ROM and CM13 based-resurrection-remix ROM ,
I used Ael-Zen Kernel for stock ,
and @say99 's FlareM Kernel for CM13 based .(just a little modifiing "defconfig", It's realy ready for hunting !)
in the stock i have some issue but in the CM it's working !
-ifconfig wlan1 up "i tested alfa 036H" , is working
-wlan1 monitoring mod , is working
-wifite (in NHterminal ) is working
...
there is 2way to use kali-nethunter :
1 - using linux Deploy and installing kali
making and installing a kernel modified with some drivers and host name as "kali" ... and adding firmware needed by drivers *.bin to /syste/etc/firmware/
install kali in linux deploy and install nethunter in installed kali ...
2 - Using kali NetHunter app an tools
installing all things as zip in twrp ( i am trying to build ..)
OR
installing apks of kali nethunter an tools such as NHterminal & ...
"in this way we have some issue because of kali nethunter project maked for ARM-arch and when you try to download and install chroot FS , kalifs for armhf will download .... then we have to build kali chroot FS for amd64 or i386 in PC and unTar it in the /data/local/nhsystem/ in the Zenfone !"
making and installing a kernel modified with some drivers and host name as "kali" ... and adding firmware needed by drivers *.bin to /syste/etc/firmware/
making some symlink for kali boot in /bin
copying nethunter's busybox in /system/xbin and set permition
i am trying to building a zip for easy installing ...
Click to expand...
Click to collapse
hey mate, I was working on it. But due to less time I couldn't continue it
https://github.com/Zenfone2-Dev/kali-nethunter
everything is done, we get a flashable zip, but some how I never got flasher, error in flashing. I will try it out today again and see what all I can do, if you want you can work up on this repo
and yeah kernel needs an update in that repo.
and I hope you know about my new kernel repo
https://github.com/Zenfone2-Dev/kernel-FlareM
Sent from my ASUS_Z00A using IOS
@say99
i should say tanks you for making really good kernel and toolchain to work
yes i'll do it for sure
i'll check your new kernel
did you see the updated repo of nethunter :
"github.com/offensive-security/kali-nethunter"
it seems added more arch supported
me too , in flasher i have some error
if i can doing something i'll do my best to helping you for kernel and flashable zip .
miradli said:
@say99
i should say tanks you for making really good kernel and toolchain to work
yes i'll do it for sure
i'll check your new kernel
did you see the updated repo of nethunter :
"github.com/offensive-security/kali-nethunter"
it seems added more arch supported
me too , in flasher i have some error
if i can doing something i'll do my best to helping you for kernel and flashable zip .
Click to expand...
Click to collapse
I will add you up as a collaborator, just tell me your github username, and no I haven't updated it since a long time
Sent from my ASUS_Z00A using IOS
say99 said:
I will add you up as a collaborator, just tell me your github username, and no I haven't updated it since a long time
Sent from my ASUS_Z00A using IOS
Click to expand...
Click to collapse
my github username is : miradli
miradli said:
my github username is : miradli
Click to expand...
Click to collapse
done, now you can directly work on our kali nethunter repo clone it start working mate. I will update the kernel today, just tell me what all changes are required in defconfig
Sent from my ASUS_Z00A using IOS
say99 said:
done, now you can directly work on our kali nethunter repo clone it start working mate. I will update the kernel today, just tell me what all changes are required in defconfig
Sent from my ASUS_Z00A using IOS
Click to expand...
Click to collapse
Thank you
ok sure , I'll send you moded defconfig and all changes
miradli said:
Thank you
ok sure , I'll send you moded defconfig and all changes
Click to expand...
Click to collapse
no need to say thanks, we all are here to help each other just drop me the changes when ever you want to and yes if on telegram you can contact me damn faster, my username is say99
Sent from my ASUS_Z00A using IOS
i dont know what is kali nethunter but thank btw. both of you
say99 said:
no need to say thanks, we all are here to help each other just drop me the changes when ever you want to and yes if on telegram you can contact me damn faster, my username is say99
Sent from my ASUS_Z00A using IOS
Click to expand...
Click to collapse
I am agree with Telegram I'll add you
VinzNguyen said:
i dont know what is kali nethunter but thank btw. both of you
Click to expand...
Click to collapse
The Kali NetHunter is an Android penetration testing platform targeted towards Nexus and OnePlus devices built on top of Kali Linux, which includes some special and unique features. Of course, you have all the usual Kali tools in NetHunter as well as the ability to get a full VNC session from your phone to a graphical Kali chroot, however the strength of NetHunter does not end there. We've incorporated some amazing features into the NetHunter OS which are both powerful and unique. From pre-programmed HID Keyboard (Teensy) attacks, to BadUSB Man In The Middle attacks, to one-click MANA Evil Access Point setups, access to the Offensive Security Exploit Database... And yes, NetHunter natively supports wireless 802.11 frame injection with a variety of supported USB NICs.
miradli said:
The Kali NetHunter is an Android penetration testing platform targeted towards Nexus and OnePlus devices built on top of Kali Linux, which includes some special and unique features. Of course, you have all the usual Kali tools in NetHunter as well as the ability to get a full VNC session from your phone to a graphical Kali chroot, however the strength of NetHunter does not end there. We've incorporated some amazing features into the NetHunter OS which are both powerful and unique. From pre-programmed HID Keyboard (Teensy) attacks, to BadUSB Man In The Middle attacks, to one-click MANA Evil Access Point setups, access to the Offensive Security Exploit Database... And yes, NetHunter natively supports wireless 802.11 frame injection with a variety of supported USB NICs.
Click to expand...
Click to collapse
im not understand. but it's hacking tools ?
miradli said:
I am agree with Telegram I'll add you
Click to expand...
Click to collapse
pm me when ever you want
VinzNguyen said:
im not understand. but it's hacking tools ?
Click to expand...
Click to collapse
yes , it's a hacking tool, kali is a linux based on debian , and kali nethunter is a chrooted kali in android for portable easy using , and with nethunter you can open a terminal emulator(in android) and type command in linux !
miradli said:
yes , it's a hacking tool, kali is a linux based on debian , and kali nethunter is a chrooted kali in android for portable easy using , and with nethunter you can open a terminal emulator(in android) and type command in linux !
Click to expand...
Click to collapse
got it. thank you. it will be better if you make a zip ^^
VinzNguyen said:
got it. thank you. it will be better if you make a zip ^^
Click to expand...
Click to collapse
your welcome , I'll do my best , and i hope i can do it fast ...
Flashable zip is coming ...
I am testing it before uploading , and we will have kali nethunter installer zip file very soon !
Hi @miradli,injection, works with internal WiFi card? or just monitor? i hope the internal WiFi is compatible, you can not feed a card as well AWUS036H, nh, ... with otg
chinemys said:
Hi @miradli,injection, works with internal WiFi card? or just monitor? i hope the internal WiFi is compatible, you can not feed a card as well AWUS036H, nh, ... with otg
Click to expand...
Click to collapse
Internal WiFi doesn't support monitoring and packet injection , but with external as Alfa it's working .
Flashable zip is here :
http://forum.xda-developers.com/showthread.php?t=3329426
Hi all, just to be sure what i have read so far.
Kali NH is possible on our Zenfone2 551ml, monitoring(i'm assuming aircrack-ng airmon) and wifite works.
if this is the case, how do we go about in newbie step by step please?
from other reply it seem that it only allow monitoring mode which is sniffing of packet but unable to inject, is this just on zenfone only or is it across nexus model?
technically we should be able to use the wifi to attack unlike windows which we have to virtualise and get a usb dongle for wifi hacking.
otherwise, this NH is totally useless, i only want to hack wifi, not listen to packet without spoofing.