USB Host ? - HTC Aria Android Development

Hey, I found some good infos about usb host, so I think its possible on aria (rpc server 30000060) !!! Found source from Codeaurora about rpc server 30000060 in rpc_pmapp.c
Code:
22:05 phh Markinus: 30000060,10001 exists in codeaurora's source
22:05 phh just not the ,3 -_-'
22:05 phh what's the ?!?
22:05 phh naaaaaaa
22:06 phh /* vote to switch it to VREG_5V source */
 ret = msm_pm_app_vote_usb_pwr_sel_switch(1);

22:06 phh if rhod handles that, it means .....
22:06 phh we can do usb host, without external vbus \o/o\o/
22:06 Markinus phh: ohh
22:07 phh Markinus: it's worth contacting the men who does usb host for leo

Possible,but need external power.
Aria's Micro-USB port doesn't provide power.

zhuoyang said:
Possible,but need external power.
Aria's Micro-USB port doesn't provide power.
Click to expand...
Click to collapse
I think
msm_pm_app_vote_usb_pwr_sel_switch(1);
Is not that for redirecting power to usb host without need for external power ? See http://irclog.netripper.com/htc-linux/2010/3/29/

munjeni said:
I think
msm_pm_app_vote_usb_pwr_sel_switch(1);
Is not that for redirecting power to usb host without need for external power ? See http://irclog.netripper.com/htc-linux/2010/3/29/
Click to expand...
Click to collapse
well,worth trying !
I always thought that usb external power is a hardware limitation,
maybe try on your CM9 build?
EDIT: it may not work, the nexus one is the example given.

Power can be done using any battery(4xAA or 1x9V) and 5V stabilizer, connected to usb power cords.

zhuoyang said:
well,worth trying !
I always thought that usb external power is a hardware limitation,
maybe try on your CM9 build?
EDIT: it may not work, the nexus one is the example given.
Click to expand...
Click to collapse
Maybe nexus one have no that specific rpc server that is in irc log ?

Related

[APP][ROOT] USB OTG Helper (Stock/Custom kernel)

A one-stop no-pain solution for enabling and using USB OTG mass storage on your android phone!
What is USB OTG?
It stands for USB On-the-Go!
"It is a specification that allows USB devices such as digital audio players or mobile phones to act as a host allowing a USB flash drive, mouse, or keyboard to be attached." - Wikipedia
The stock kernel allows Mouse & Keyboard, but USB storage is missing..
Features:
Stock and custom kernels supported
Mount and Unmount drive with a single click
No Ads!
Full NTFS support built-in!! (from v3.0.3)
Automatically start on device connect (intent broadcast) (from v3.0.3)
Notification when drives mounted! (from v3.0.3)
One click access to unmount (from v3.0.3)
Option to enable UTF-8 if kernel support (from v4)
Automatically open explorer after drive mounted (from v3.0.7)
One click debugging and feedback (in app) [Donate version only]
What phones are supported?
Sony Ericsson Xperia Neo, Neo V, Arc and the Arc S! Modules for stock kernel on second post.
If you get it to work on other devices, please PM me and I will add them to the list.
What are the requirements?
root (su binary)
busybox
USB OTG cable
How to use on stock kernel?
See this post to load modules!
WARNING
I will not be held responsible for any damage to your device. Do not use for a long time, u may risk burning the device chip/motherboard due to the voltage supply in host mode.
Screenshots and Screencast:
More Details and Download (Click Here)
i will try to donate some the best app on the plant no joke
I am using galaxy i9003 with 2.3.6 stock rom rooted with cf root kernel. My installed kernel dont support for usb otg. Then will it be possible to use this app to enable usb otg in my phone with help by loading modules???
Edit : where are modules???
vishal24387 said:
I am using galaxy i9003 with 2.3.6 stock rom rooted with cf root kernel. My installed kernel dont support for usb otg. Then will it be possible to use this app to enable usb otg in my phone with help by loading modules???
Edit : where are modules???
Click to expand...
Click to collapse
Any phone with either in-built mass storage support, or custom kernels or having required modules (for stock kernel).
I think you need to find and load the modules yourself before using the application.
Skander1998 said:
Any phone with either in-built mass storage support, or custom kernels or having required modules (for stock kernel).
I think you need to find and load the modules yourself before using the application.
Click to expand...
Click to collapse
I am expecting modules for DDLF2 rom.
Hello there. I'm on galaxy sl xwlf2 rom with custom kernel.
And I have the otg cable that would be really fun, if otg would work
looking forward to it
edit: on my phone there is no such folder like MODULES under system/lib
@ Samsung users:
1. Kernel must support mass storage mode.. Ask your kernel devs in your forum about it.
2. Some models of samsung does not have power to the usb bus, so even if custom kernel/modules are there, you cannot use OTG without powered USB hub.
shardul_seth said:
@ Samsung users:
1. Kernel must support mass storage mode.. Ask your kernel devs in your forum about it.
2. Some models of samsung does not have power to the usb bus, so even if custom kernel/modules are there, you cannot use OTG without powered USB hub.
Click to expand...
Click to collapse
Ya we have mass storage support by default. But we dont have USB OTG feature in our mobile. If samsung mobile is not able to supply power to external usb storage device then is this hardware limitation or software limitation???
vishal24387 said:
Ya we have mass storage support by default. But we dont have USB OTG feature in our mobile. If samsung mobile is not able to supply power to external usb storage device then is this hardware limitation or software limitation???
Click to expand...
Click to collapse
It may not be enabled at kernel level. Maybe some kernel dev can take a look.
shardul_seth said:
It may not be enabled at kernel level. Maybe some kernel dev can take a look.
Click to expand...
Click to collapse
As expected it didnt work on my phone I think my phone doesnt provide sufficient voltage to output device. ai have attached logcat for ur reference.
Info:- In my mobile module folder is in path
system/modules/
I have successfully loaded all necessary modules. I have checked it using terminal emulator. Busybox is also installed.
These are my modules d-h.st/rPl
vishal24387 said:
As expected it didnt work on my phone I think my phone doesnt provide sufficient voltage to output device. ai have attached logcat for ur reference.
Info:- In my mobile module folder is in path
system/modules/
I have successfully loaded all necessary modules. I have checked it using terminal emulator. Busybox is also installed.
These are my modules d-h.st/rPl
Click to expand...
Click to collapse
All your modules are live!! But it is problem of bus power, as the device is not showing up on dmesg also.. Try with powered USB hub if you have one
shardul_seth said:
All your modules are live!! But it is problem of bus power, as the device is not showing up on dmesg also.. Try with powered USB hub if you have one
Click to expand...
Click to collapse
I have connected power source using USB Y cable. I have given power using ac to dc charger having 5v dc output & 1 A current. Modules are properly loaded. Busybox is also installed. But still there is no output from ur app. When I say that mount then its still saying that "no device found". How...???
I have attached log file for more reference.
Is it possible to get this working on the epic 4g touch (Sprint version of the Samsung galaxy s2)? I know the international version and other us carriers support it natively
vishal24387 said:
I have connected power source using USB Y cable. I have given power using ac to dc charger having 5v dc output & 1 A current. Modules are properly loaded. Busybox is also installed. But still there is no output from ur app. When I say that mount then its still saying that "no device found". How...???
I have attached log file for more reference.
Click to expand...
Click to collapse
Not much hope then! Dmesg does not show anything!
shardul_seth said:
Not much hope then! Dmesg does not show anything!
Click to expand...
Click to collapse
Can u tell me exactly which samsung devices u have tried successfully??? Which kernel version they have??? I talked with one of our kernel developer. He told me that to work usb otg the phone must have that driver & supporting kernel. Phone with supporting usb mass storage is insufficient to work this app. You should mention this in OP.
Edit :-
For reference I have attached dmesg file. One is for when external power source is connected & another is for when external power source is not connected. Interesting thing is that in dmesg I found 'usb otg' word in last 2-3 lines of both dmesg file. But I dont understand its meaning.
Works perfectly
firstly i would like to thank the following making this app possible:
DooMLoRD - For the original idea and implementation.
shardul_seth - For creating this app.
thanks to you 2 users can enjoy using their external storage devices on their phones.
I am currently using this app on my galaxy note n7000 with criskelo 11.1 rom and speedmod k3-11 kernel. works perfectly fine. tested it on my fat32 32gb memory stick and no lag. also tested on my 1 tb external hdd and no lag there either. i cant say thanks enough. keep up the good work.
vishal24387 said:
Can u tell me exactly which samsung devices u have tried successfully??? Which kernel version they have??? I talked with one of our kernel developer. He told me that to work usb otg the phone must have that driver & supporting kernel. Phone with supporting usb mass storage is insufficient to work this app. You should mention this in OP.
Edit :-
For reference I have attached dmesg file. One is for when external power source is connected & another is for when external power source is not connected. Interesting thing is that in dmesg I found 'usb otg' word in last 2-3 lines of both dmesg file. But I dont understand its meaning.
Click to expand...
Click to collapse
Hey vishal, your usb_storage module is failing.. Let some kernel dev on your phone model take a look and correct the module, or incorporate it in kernel itself..
Here are the relevant lines, as you can see, some symbols need to be exported before it can work!!
<4>[ 78.752349] usb_storage: Unknown symbol usb_alloc_urb (err 0)
<4>[ 78.752746] usb_storage: Unknown symbol usb_free_urb (err 0)
<4>[ 78.789489] usb_storage: Unknown symbol usb_alloc_coherent (err 0)
<4>[ 78.790161] usb_storage: Unknown symbol usb_register_driver (err 0)
<4>[ 78.800231] usb_storage: Unknown symbol usb_sg_init (err 0)
<4>[ 78.801483] usb_storage: Unknown symbol usb_sg_cancel (err 0)
<4>[ 78.801879] usb_storage: Unknown symbol usb_reset_device (err 0)
<4>[ 78.802124] usb_storage: Unknown symbol usb_submit_urb (err 0)
<4>[ 78.802581] usb_storage: Unknown symbol usb_free_coherent (err 0)
<4>[ 78.802856] usb_storage: Unknown symbol usb_control_msg (err 0)
<4>[ 78.803192] usb_storage: Unknown symbol usb_deregister (err 0)
<4>[ 78.803375] usb_storage: Unknown symbol usb_lock_device_for_reset (err 0)
<4>[ 78.823394] usb_storage: Unknown symbol usb_unlink_urb (err 0)
<4>[ 78.824096] usb_storage: Unknown symbol usb_kill_urb (err 0)
<4>[ 78.824401] usb_storage: Unknown symbol usb_reset_endpoint (err 0)
<4>[ 78.824859] usb_storage: Unknown symbol usb_sg_wait (err 0)
Click to expand...
Click to collapse
shardul_seth said:
Hey vishal, your usb_storage module is failing.. Let some kernel dev on your phone model take a look and correct the module, or incorporate it in kernel itself..
Here are the relevant lines, as you can see, some symbols need to be exported before it can work!!
Click to expand...
Click to collapse
oh thanx buddy You have given me very important information. I will talk with my kernel.developers regarding this.
@ shardul
Hey buddy I am using cf root stock kernel having busybox inbuilt in kernel. Still do I need to install busybox saperately??? Actually without installing busybox ur app never gives me any error.
vishal24387 said:
@ shardul
Hey buddy I am using cf root stock kernel having busybox inbuilt in kernel. Still do I need to install busybox saperately??? Actually without installing busybox ur app never gives me any error.
Click to expand...
Click to collapse
No, latest version of my app already has busybox inside, so no worries

[ROM] [ 6.0 ] NetHunter - Jiayu S3 [MT6752]

Hi guys.
I have been working on a project to port NetHunter to Jiayu S3 (advanced for me , MT6752 platform) , working okay so far.
The rom contains two parts: Patched Kernel & NetHunter Files.
Kernel is modified and patched based on LoliTeam's project on Github.
mac80211 patched with script provided by Offensive-Security , HID manually patched regarding "Kernel-3.10-Nexus9.patch". Not exactly the same yet similar.
Additional Package of NetHunter is built under construction of [email protected]
Tested on
CM13 UNOFFICIAL for JIAYU S3a MT6752 (recommend)
AICP 6.0 UNOFFICIAL for JIAYU S3a MT6752
( Should work on JIAYU S3 basic too I guess. Never tried )
Progress:
OTG: Fix the 5V Power Supply for OTG so we can mount more than a USBdisk , like Mouse/Keyboard/JoyStick/WirelessAdapter , all avaliable now.
DuckHunter HID attack: working. Tho simple HID attack item didnt work , no idea why.
BadUSB MITM: RNDIS enabled. Capable to redirect the traffic of the computer you connected through your phone. (DHCPD on phone required, do it manually)
WiFi MITM: built-in wireless adapter does not support Monitor Mode so built-in Nethunter WiFi MITM does not work either. But we can do it manually , with a external USB via an OTG cable
Kali Chroot: Working
USBkeyboard(as HID device): Working
cSploit: Working
Shodan: Working
OpenVPN for Android: Working
VNC: Working
MSF: Working
RF Analyzer: Working
SDR softwares: Working
Not working:
aircrack-ng toolkit: seldom working. But can be replaced by manually command.
War Driving: not working normally , because aircrack-ng. Not planning a fix.
Router Keygen: Only support built-in adapter. Giving it up.
Problems:
Battery Power is consumed faster.
Easier to heat up.
I think they are bearable.
Installation Instructions:
To manually install , there is a long way to go.
Download ManuallyFlashImage.zip and unzip.
1. get a SP_FlashTool with a stock 5.1.1 RC5 firmware.
I have done most of the job.
Replace recovery.img with a TWRP one.
Modify scatter.txt to enlarge the partition of boot , recovery and system (I enlarged them * 2 , * 2, * 1.5)
You just need to select "download only" to "Format all and Download"
2.Get the roms ready in sdcard. I got [ cm13 , opengapps-mini , supersu , nethunter, xposed-framework ]
Vol-Up + Power
Vol-Up to select recovery and Vol-Down to confirm.
Wipe everything EXCEPT micro sdcard.
Install the roms in order.
CM13 - reboot to system - reboot to recovery - opengapps-mini - supersu - xposed - nethunter .
Screenshots (AICP)
Credits:
M.A.D.
DKingCN
LoliTeam
Offensive-Security
Download Link:
ManuallyFlashImage.zip
Keep track or commit:
@ https://github.com/offensive-security/kali-nethunter
@ https://github.com/DKingCN/nethunter-devices
@ https://github.com/DKingCN/android_kernel_jiayu_s3_h560
@ https://github.com/DKingCN/android-keyboard-gadget
i like that otg feature where you can plug in more than one. i hope that can be implemented in nougat too.
first time i hear about this nethunter, is that some kinda like linuxdeploy? where you can launch a desktop distros?
ak0ztik said:
i like that otg feature where you can plug in more than one. i hope that can be implemented in nougat too.
first time i hear about this nethunter, is that some kinda like linuxdeploy? where you can launch a desktop distros?
Click to expand...
Click to collapse
OTG might be avaliable on nougat , too.
I havent seen the source code of 7.0 kernel so I cant say for sure but most likely there should be OTG configuration.
Nethunter is a professional security package for android where you can do penetration test.
check NetHunter
Simplely it can be seen as Kali Linux on android.
And yes , local VNC server is avaiable so you can access local chroot kali desktop. Seems like gnome2.
I'm missing something
So you used kernel repo, that is a clone from mad repo, yet where's the credits?
Call me a jackass but this is the exactly reason why there's no much development on this devices.
Ever since M.A.D. released their GPL (and more non-GPL repos like device &vendor trees)
People had been using ( and good) and making kernels & semi-compiled cm builds forgetting the ones that had the heavy work on making those trees & releasing repos to the public ( that was an huge headache )...
Well done
As the project itself , looks cool
superdragonpt said:
I'm missing something
So you used kernel repo, that is a clone from mad repo, yet where's the credits?
Call me a jackass but this is the exactly reason why there's no much development on this devices.
Ever since M.A.D. released their GPL (and more non-GPL repos like device &vendor trees)
People had been using ( and good) and making kernels & semi-compiled cm builds forgetting the ones that had the heavy work on making those trees & releasing repos to the public ( that was an huge headache )...
Well done
As the project itself , looks cool
Click to expand...
Click to collapse
I forked the kernel from LoliTeam where the project can be found no link between MAD.
I am not a historian but I checked the commits and decide that MAD should be the origin of the copy of kernel so the credit is added.
Can be used kali linux from framebuffer in this project ?
(Request) help
Using magisk we can install universal full kali net hunter on miui or any other custom android rom
Which works almost perfectly
But
to do advanced stuff like wifi related stuff we need a external adapter i already has a fully supported wifi adapter
But the problem is to use a external adapter through otg we need a kernel which support wireless adapter, adapter driver built in
(Like most of the official device oneplus nexus lg samsung has "Any kernel" its a kernel available for nexus devices fully supports nethunter has wifi adapter driver built in)
Even the net hunter detects the adapter (cheked using "lsusb" command, it shows apater name chipset) but we cant do anything on off nothing because of that kernel compablity
So is there any kernel has this type of functionility available for note 5 pro whyred
If answer is no
Then im requesting Devs to make or port one
Since there is both stock and nethunter kernel source available in internet
So it will be not that difficult to port
(even previous year note 4 note 3 has a ported kernel which fully functional with net hunter)
So why not for our star
So plz its an request
A rom for net hunter will be great but
A kernel which support wireless adapter and other functionality is enough
Thanks in advance
[email protected] said:
Using magisk we can install universal full kali net hunter on miui or any other custom android rom
Which works almost perfectly
But
to do advanced stuff like wifi related stuff we need a external adapter i already has a fully supported wifi adapter
But the problem is to use a external adapter through otg we need a kernel which support wireless adapter, adapter driver built in
(Like most of the official device oneplus nexus lg samsung has "Any kernel" its a kernel available for nexus devices fully supports nethunter has wifi adapter driver built in)
Even the net hunter detects the adapter (cheked using "lsusb" command, it shows apater name chipset) but we cant do anything on off nothing because of that kernel compablity
So is there any kernel has this type of functionility available for note 5 pro whyred
If answer is no
Then im requesting Devs to make or port one
Since there is both stock and nethunter kernel source available in internet
So it will be not that difficult to port
(even previous year note 4 note 3 has a ported kernel which fully functional with net hunter)
So why not for our star
So plz its an request
A rom for net hunter will be great but
A kernel which support wireless adapter and other functionality is enough
Thanks in advance
Click to expand...
Click to collapse
Android kernel is device-specific. You cant flash one kernel to another device.

OTG and usb mouse

Hi everyone!
Anyone know how is possible use a usb mouse with otg under osprey motog (with lineage os 14.1)?
I remember worked on my old samsung cyanogenmod...
Is it a kernel feature? Need a particular rom?
Thanks a lot.
P.s. the mouse works well with my galaxy tab4.
[SOLVED]
Hi solved the issue!
Moto g 2015 and lineage os supports full otg with otg "y" cable...
It needs power to supply the usb device. With this kind of otg cable, all the devices are supported.
So, i suddendly bought an usb-otg "y" cable! Like this:
https://goo.gl/images/BJ83oX

Ethernet / LAN support on Redmi Note 7 Pro

Hi all,
I would like to ask question regarding Ethernet / LAN support on RN7Pro device.
Currently, I tried use brand UGreen Ethernet Gigabit + USB 3.0 Hub with USB Type C converter.
However, my device ( MIUI EU beta rom 9.12.12 , Kernel 4.14.81-perf+) not detect the LAN connection when plugged in.
I've tried use on other android device (mibox 3 - tv box), it works fine.
Adapter device link
https://www.ugreen.com/product/UGREEN_USB_RJ45_Ethernet_Adapter_with_USB_Hub_and_Gigabit_Ethernet_Port_Support-en.html
Is there any solution to let this LAN/Ethernet works fine with RN7pro devices?
Is this related to ROM or Kernel on device?
Appreciate input from you guys.
Not sure about wired connection, but I have no problem connecting from wifi to LAN. Are you trying to connect to a Windows PC, laptop?
taco9 said:
Not sure about wired connection, but I have no problem connecting from wifi to LAN. Are you trying to connect to a Windows PC, laptop?
Click to expand...
Click to collapse
What do you mean by "WiFi To LAN". The OP asks if it's possible to use a Ethernet to Type C adaptor on the Redmi Note 7 Pro.
xarolx said:
Hi all,
I would like to ask question regarding Ethernet / LAN support on RN7Pro device.
Currently, I tried use brand UGreen Ethernet Gigabit + USB 3.0 Hub with USB Type C converter.
However, my device ( MIUI EU beta rom 9.12.12 , Kernel 4.14.81-perf+) not detect the LAN connection when plugged in.
Is there any solution to let this LAN/Ethernet works fine with RN7pro devices?
Is this related to ROM or Kernel on device?
Appreciate input from you guys.
Click to expand...
Click to collapse
The stock kernel of RN7Pro does not include (or not enabled) drivers for Ethernet connectivity.
However, custom rom for example, https://forum.xda-developers.com/t/rom-11-violet-pixel-experience-stable-official.4200603/ has ethernet support in the kernel dtbo. And ethernet worked fine for me on this ROM.
Ethernet is a healthy option instead of having wifi radiation around, at least for some satisfaction.
PS|: Please be warned that one must OEM unlock (First in developer settings and then in fastboot, Using MI flash unlock tool) the device to be able to install custom rom. Otherwise device may get bricked.

Nethunter Kernel (Immensity Kernel)

*ONLY FOR AOSP (Verified working on Evolution X)
This is my first Nethunter Kernel build. Based on UtsavTheGreat's Immensity Kernel this port provides all the benefits of the original Kernel with the added Nethunter functionality.
What's tested and working:
• Internal wifi monitor mode (Use the provided custom command in Nethunter app)
• Hid support (In the USB Arsenal section of the Nethunter app select hid USB function, disable adb and then click set USB function)
• External adapter support (TP-LINK TL-WN722N Tested, you may need to manually copy your WiFi card's firmware in "/vendor/firmware" from the provided zip. Also it appears as Wlan2 instead of Wlan1 if that matters)
Installation:
*Assuming you already have Magisk (and the BusyBox Magisk module), Nethunter store, Nethunter app, Kali chroot and Nethunter terminal installed.*
1) Flash the Nethunter_final.zip
2) Enjoy
Big thanks to the creator of Immensity Kernel
Source: https://github.com/Moto-John/kernel_xiaomi_raphael
Changelog:
•5/8/20 -> Fixed HID bug
Was waiting for someone to make this! Thanks!
Did you think about adding the drivedroid patch too?
Sent from my K20 Pro using XDA Labs
dr460nf1r3 said:
Was waiting for someone to make this! Thanks!
Did you think about adding the drivedroid patch too?
Click to expand...
Click to collapse
I think you can do the same thing from the USB Arsenal section in the Nethunter App
Edit: No, wait. You are right. Will try to fix it
Edit 2: Figured out it works fine as it is. Just booted an iso from it
moto-john said:
I think you can do the same thing from the USB Arsenal section in the Nethunter App
Edit: No, wait. You are right. Will try to fix it
Edit 2: Figured out it works fine as it is. Just booted an iso from it
Click to expand...
Click to collapse
Crazy. Thats pretty much all I wanted since this way the phone can replace usb sticks
Sent from my K20 Pro using XDA Labs
moto-john said:
*ONLY FOR AOSP (Verified working on Evolution X)
This is my first Nethunter Kernel build. Based on UtsavTheGreat's Immensity Kernel this port provides all the benefits of the original Kernel with the added Nethunter functionality.
What's tested and working:
• Internal wifi monitor mode (Use the provided custom command in Nethunter app)
• Hid support (In the USB Arsenal section of the Nethunter app select hid USB function, disable adb and then click set USB function)
• External adapter support (TP-LINK TL-WN722N Tested, you may need to manually copy your WiFi card's firmware in "/vendor/firmware" from the provided zip. Also it appears as Wlan2 instead of Wlan1 if that matters)
Installation:
*Assuming you already have Magisk (and the BusyBox Magisk module), Nethunter store, Nethunter app, Kali chroot and Nethunter terminal installed.*
1) Flash the Nethunter_final.zip
2) Enjoy
Big thanks to the creator of Immensity Kernel
Source: https://github.com/Moto-John/kernel_xiaomi_raphael
Click to expand...
Click to collapse
Sir plz help how to add specific WiFi card firmware plz provide full tutorial
Ralink RT5370 WiFi chipeset ... support...?
Is injection mode also work with internal wifi adaptor?
[email protected] said:
Is injection mode also work with internal wifi adaptor?
Click to expand...
Click to collapse
Unfortunately no. Only monitor mode is supported. If you want injection you have to use am external wifi adapter
swapnilj210f said:
Ralink RT5370 WiFi chipeset ... support...?
Click to expand...
Click to collapse
Have you checked if it's recognised without a specific driver first?
Can miui12 be used?
DKarls said:
Can miui12 be used?
Click to expand...
Click to collapse
It's for AOSP only, so probably no
moto-john said:
It's for AOSP only, so probably no
Click to expand...
Click to collapse
I am on latest Evolution X (https://forum.xda-developers.com/k20-pro/development/rom-evolution-x-elle-t4179163), Magisk 21.1, Busybox 1.31.1, have nethunter store, app and terminal installed and chroot is working. Installed it with:
https://forum.xda-developers.com/k20-pro/how-to/guide-how-to-install-kali-nethunter-t3998623
I flashed your kernel via twrp. But unfortunately HID is not working. I dont know what i should do anymore. Maybe you could help.
Thanks for all your work so far
EDIT: Could it fix with a fresh reboot, great work my friend
---------- Post added at 02:15 AM ---------- Previous post was at 01:42 AM ----------
moto-john said:
I think you can do the same thing from the USB Arsenal section in the Nethunter App
Edit: No, wait. You are right. Will try to fix it
Edit 2: Figured out it works fine as it is. Just booted an iso from it
Click to expand...
Click to collapse
which iso did you test? ive tryed it with a kali linux live system and it didnt work.
moto-john said:
*ONLY FOR AOSP (Verified working on Evolution X)
This is my first Nethunter Kernel build. Based on UtsavTheGreat's Immensity Kernel this port provides all the benefits of the original Kernel with the added Nethunter functionality.
What's tested and working:
• Internal wifi monitor mode (Use the provided custom command in Nethunter app)
• Hid support (In the USB Arsenal section of the Nethunter app select hid USB function, disable adb and then click set USB function)
• External adapter support (TP-LINK TL-WN722N Tested, you may need to manually copy your WiFi card's firmware in "/vendor/firmware" from the provided zip. Also it appears as Wlan2 instead of Wlan1 if that matters)
Installation:
*Assuming you already have Magisk (and the BusyBox Magisk module), Nethunter store, Nethunter app, Kali chroot and Nethunter terminal installed.*
1) Flash the Nethunter_final.zip
2) Enjoy
Big thanks to the creator of Immensity Kernel
Source: https://github.com/Moto-John/kernel_xiaomi_raphael
Click to expand...
Click to collapse
Trying to get a AR9271 chipset to work. Cant load modules with modprobe: modprobe: FATAL: Module ath9k_htc not found in directory /lib/modules/4.14.191-iMMENSITY-NethunterBuild-John//9938110c92
That is obviosuly no directory. In which directory do i have to copy the firmware? Which folder do you mean with /vendor/firmware?
Copyied the firmwares to /usr/lib/firmware and /lib/firmware, but still getting from dmesg that it couldnt found a firmware
chikko80 said:
Trying to get a AR9271 chipset to work. Cant load modules with modprobe: modprobe: FATAL: Module ath9k_htc not found in directory /lib/modules/4.14.191-iMMENSITY-NethunterBuild-John//9938110c92
That is obviosuly no directory. In which directory do i have to copy the firmware? Which folder do you mean with /vendor/firmware?
Copyied the firmwares to /usr/lib/firmware and /lib/firmware, but still getting from dmesg that it couldnt found a firmware
Click to expand...
Click to collapse
You just have to copy the whole ath9k_htc folder in /vendor/firmware. Then it should recognize the firmware
chikko80 said:
Trying to get a AR9271 chipset to work. Cant load modules with modprobe: modprobe: FATAL: Module ath9k_htc not found in directory /lib/modules/4.14.191-iMMENSITY-NethunterBuild-John//9938110c92
That is obviosuly no directory. In which directory do i have to copy the firmware? Which folder do you mean with /vendor/firmware?
Copyied the firmwares to /usr/lib/firmware and /lib/firmware, but still getting from dmesg that it couldnt found a firmware
Click to expand...
Click to collapse
Just realized you just couldn't find the vendor folder, If you use the miX file manager you should see it under the root section
https://streamable.com/lixw7d
moto-john said:
Just realized you just couldn't find the vendor folder, If you use the miX file manager you should see it under the root section
https://streamable.com/lixw7d
Click to expand...
Click to collapse
Yeah i could fix it meanwhile thank you
Everthing except drivedroid works like expected now ! do you have any advice? i tried different linux distros as well as different modis in drivedroid. I also tried the build-in image mounter of nethunter. I could not get it to work. You said u could boot. With which settings and distro did you tried it?
greetings chikko
chikko80 said:
Yeah i could fix it meanwhile thank you
Everthing except drivedroid works like expected now ! do you have any advice? i tried different linux distros as well as different modis in drivedroid. I also tried the build-in image mounter of nethunter. I could not get it to work. You said u could boot. With which settings and distro did you tried it?
greetings chikko
Click to expand...
Click to collapse
It definitely is a bit finicky. What I tested was linux mint and the built-in mounter. It definitely didn't want to work at first but after some plugging, unplugging and a few reboots which are seemingly unrelated it then worked pretty consistently every time I tried it
moto-john said:
You just have to copy the whole ath9k_htc folder in /vendor/firmware. Then it should recognize the firmware
Click to expand...
Click to collapse
Where can I find such firmware folder for rtl8812au ? Thanks in advance...
chikko80 said:
Trying to get a AR9271 chipset to work. Cant load modules with modprobe: modprobe: FATAL: Module ath9k_htc not found in directory /lib/modules/4.14.191-iMMENSITY-NethunterBuild-John//9938110c92
That is obviosuly no directory. In which directory do i have to copy the firmware? Which folder do you mean with /vendor/firmware?
Copyied the firmwares to /usr/lib/firmware and /lib/firmware, but still getting from dmesg that it couldnt found a firmware
Click to expand...
Click to collapse
Any idea where I could get such firmware folder for rtl8812au?

Categories

Resources