EHCI controller - XHCI patch ? - Xiaomi Redmi Note 3 Questions & Answers

Hi Guys,
Not sure where to ask this but would it be possible to patch the following in one of the kernels for RN3 Kate?
Im trying to use NXLoader,but apparently it doesn't support it because it has an EHCI controller, not XHCI.
Apparently this can be done,but i have no idea how to do it
"not patch to xhci, simply patch ehci to behave the way we want it to.
https://github.com/fail0verflow/shofel2/blob/master/linux-ehci-enable-large-ctl-xfers.patch"
Thanks for all the help

Even I am trying to use NXLoader to send payload to my Switch. I even tried Rekado (another app) and it has the same issue. Here's what the creator of the app had to say...
@aKMTR not patch to xhci, simply patch ehci to behave the way we want it to.
https://github.com/fail0verflow/shofel2/blob/master/linux-ehci-enable-large-ctl-xfers.patch
You will need to recompile your kernel to do this most likely, although I did write a "hotpatch" script for desktop linux systems: https://gist.github.com/DavidBuchanan314/41b12362cc4d8c539dc441d75155f2e9
I can't really help you from here. but if you do figure it out please document what you did so others can follow along.
Click to expand...
Click to collapse
Current, I am on latest global stable stock MIUI on RN3. I can upgrade to any rom if it supports this modification.
Thanx a lot in advance. Desperately waiting for a reply.

I've been told that installing a custom kernel and then adding a script to it can help. Can some devs of a kernel help us with this, please.
Edit: I just tried out Rekado on my wife's Honor 7X phone (which also has Micro USB port) and it just worked. It's a brand new phone and has no root, etc.

Related

Looking for a custom ROM / drivers

Guys,
I have a CM802 Android 2.2 tablet that I would like to support external USB devices. My problem right now is that the default ROM doesn't seem to have USB host drivers, and I have no idea where to look. Can you guys point me in the right direction?
Thanks!
I don't know your hardware, but your android version should have no support for both usb host mode and USB otg. If you upgrade and hardware is ready, maybe. But very likely you'll need the kernel USB modules sources and a dev to compile them especially for that build. That's why on my se xperia x10 such feature is still missing ...
The hardware has support for it, and I don't care what version of Android I end up with, as long as there's support. I also don't mind installing them myself, but would like some direction as to where to find the modules.
have you tried going to the manufactures website?
Wrycu said:
The hardware has support for it, and I don't care what version of Android I end up with, as long as there's support. I also don't mind installing them myself, but would like some direction as to where to find the modules.
Click to expand...
Click to collapse
You will need to compile a proper kernel with support for it. There have been a few on the site that have done it for a few devices but it is not an overly popular mod
Well, I have just seen a site where they sell the android 2.3 version of the same device which seems to have the USB otg support. In any case, the first step must be one upgrading at least to android 2.3...
lucaoldb said:
Well, I have just seen a site where they sell the android 2.3 version of the same device which seems to have the USB otg support. In any case, the first step must be one upgrading at least to android 2.3...
Click to expand...
Click to collapse
the kernel would have been made to support it on that device. After building 2.3 from android source code I can say that it is not there by default.
Thanks, I agree that is not supported by default but maybe they had actually patched a kernel with those modules, though such kind of sites are not very reliable...
zelendel said:
the kernel would have been made to support it on that device. After building 2.3 from android source code I can say that it is not there by default.
Click to expand...
Click to collapse
Can you guys link me to the modules or whatever? Again, I'm perfectly willing to build the kernel from source myself, as long as I can have a little direction.
Any help? Links, information, tutorials.. whatever you can give me would be awesome, Internet <3.
Oh, and sorry for the double post.

[Q] Stock ROM OTG support

Hello, I'm trying to use some USB devices with my phone but I can get nothing to work, apart from usb drives.
I'm using stock ICS 4.0.3, so first of all, is USB OTG support enabled for keyboards and mice?
Since the kernel isn't dumping a /proc/config.gz I can't check if it's enabled. Is there another way to check?
Also, is module support enabled for the stock kernel?
Have any of you successfully used USB keyboards and mice, or even better gamepads, with your GS2 on stock ICS? What models?
And finally, since I've been keeping my GS2 pretty much "stock", except from rooting, which custom kernel/rom out there offers most support for USB OTG. I'm especially interested in gamepads.
Also, on a more rhetorical level, why would a company not provide out-of-the-box support for USB OTG? I can understand not giving root access or overclocking capabilities, since those can damage your phone or increase performance, effectively increasing the life expectancy of the product, but why OTG? It's not like samsung produces branded gamepads or mice as accessories so enabling full OTG support would reduce sales or something. Does compiling all those drivers into the kernel increase the image size that much?
Rename general to Question and Answers please .
jje
This was more of a general talk thread, about the use of OTG on the galaxy, and not a specific question that I wanted answered, but whatever.
Any input?
+1 for USB OTG on Stock ICS 4.0.3
Sent from my GT-I9100 using xda premium
+1 to what exactly? Support for OTG? Does this mean that it's currently unsupported?
On a side note, I compiled joydev for the stock kernel ( GT-I9100_ICS_Opensource_Update4 ) but was unable to install it, insmod giving an "exec format error". Apparently this means that the kernel source I used is not the same version as on my phone? Or that the stock kernel does not support modules?
Any dev insight on this?
shamelessly bumping this.

[Q] USB Ethernet adapter / Can't build MCS7830 kernel module

Hi everyone!
I have a rooted Galaxy S2 i9100 with ICS 4.0.3
Kernel version is 3.0.31-Siyah-s2-v5.0.1+
I just bought a USB-ethernet adapter, and I'm trying to make it work with my i9100.
The chipset on the adapter is a MCS7830, and I found the drivers for Linux kernel 3.x here:
( asix.com.tw / FrootAttach / driver / MCS783x_Linux_driver_v1.11.zip ) - sorry, I can't post links yet.
When I plug the adapter, the android recognizes it, but it doesn't generate an eth0 nor an usb0 connection on netcfg.
I've found on other threads that it could be a driver fault, and a possible solution would be to build these drivers as a kernel module. Is it possible? I'm trying to build a .ko module for it, but I still can't even handle the "hello_world.ko". I'd really appreciate and be thankful if someone could build a .ko for this driver.
Thank you in advance!
Any ideas?
Just to let you guys know, I just did it. I'll try to post a tutorial as soon as possible to help people that might have faced the same issues with similar dongles.
I recompiled the needed drivers as modules ("make modules") with the ARM compiler that comes with the Android NDK;
Set up the .config and Makefile from SiyahKernel 5.0.1+ with some values;
Pushed the modules to my phone and loaded manually the modules.
Siyah Kernel actually has many drivers (including other usb-ethernet chipsets)! Learning how to compile specific drivers as modules might be useful for many people.
nice to know that there is someone how found a solution. please post a detailed tutorial! I am desperately trying to get this work for 3 weeks now, without success. i ordered different usb-ethernet-adapters from amazon, i have just 5 days left to send them all back...
a tutorial would be very helpful! btw: does your solution only work with the siyah-kernel or with every kernel on a rooted phone?
thanx in advance, alex
mc.escher said:
Just to let you guys know, I just did it. I'll try to post a tutorial as soon as possible to help people that might have faced the same issues with similar dongles.
I recompiled the needed drivers as modules ("make modules") with the ARM compiler that comes with the Android NDK;
Set up the .config and Makefile from SiyahKernel 5.0.1+ with some values;
Pushed the modules to my phone and loaded manually the modules.
Siyah Kernel actually has many drivers (including other usb-ethernet chipsets)! Learning how to compile specific drivers as modules might be useful for many people.
Click to expand...
Click to collapse

[Q] WiFi dongle on Android 5

Hey everyone,
So I'm running Android 5.0.2 on my GT-I9300 and I'm really anxious to get my WiFi dongle working. The reason behind it is that Reaver & similar tools don't work with the device's native WiFi.. adapter? Chip? That.
So I have a TP-Link TL-WN321G dongle that does what I need it to do, but my device doesn't acknowledge the dongle once connected via USB OTG cable. I understand I'm supposed to provide Android with a driver, but I'm unsure how would I go on about doing that. The best I got from around XDA was 'compile a driver to a module and load it into the kernel' but I haven't the slightest idea how to do something like this. Any newbie-friendly guide would be highly appreciated.
Also, if anyone knows of any monitor-mode WiFi dongles naively compatible with Android 5, please let me know.
ROM found here: ROM Link
USB dongle found here: TP-Link site
Thank you!
Loldawg said:
Hey everyone,
So I'm running Android 5.0.2 on my GT-I9300 and I'm really anxious to get my WiFi dongle working. The reason behind it is that Reaver & similar tools don't work with the device's native WiFi.. adapter? Chip? That.
So I have a TP-Link TL-WN321G dongle that does what I need it to do, but my device doesn't acknowledge the dongle once connected via USB OTG cable. I understand I'm supposed to provide Android with a driver, but I'm unsure how would I go on about doing that. The best I got from around XDA was 'compile a driver to a module and load it into the kernel' but I haven't the slightest idea how to do something like this. Any newbie-friendly guide would be highly appreciated.
Also, if anyone knows of any monitor-mode WiFi dongles naively compatible with Android 5, please let me know.
ROM found here: ROM Link
USB dongle found here: TP-Link site
Thank you!
Click to expand...
Click to collapse
Have you tried flashing a custom kernel ?
josephiskandar said:
Have you tried flashing a custom kernel ?
Click to expand...
Click to collapse
Hey Joseph,
I haven't, but I'm not sure how would that specific ROM work with other kernels. Also, I imagine it's better to know how to add driver to kernel so I can do it on pretty much any device running anything? But sure, if you have an idea which kernel to try, I'll go for it =)
Thanks!
Loldawg said:
Hey Joseph,
I haven't, but I'm not sure how would that specific ROM work with other kernels. Also, I imagine it's better to know how to add driver to kernel so I can do it on pretty much any device running anything? But sure, if you have an idea which kernel to try, I'll go for it =)
Thanks!
Click to expand...
Click to collapse
You can for example try Boeffla Kernel CM12 NG.
To look for compatible kernels, you can:
• Search for a kernel index like this one
• Make a search for the word kernel in your ROM discussion and Q&A threads and see what kernels people are using.
• Look for kernel threads in the Development and Original Development threads
Hope it helps you in your search.
josephiskandar said:
You can for example try Boeffla Kernel CM12 NG.
To look for compatible kernels, you can:
• Search for a kernel index like this one
• Make a search for the word kernel in your ROM discussion and Q&A threads and see what kernels people are using.
• Look for kernel threads in the Development and Original Development threads
Hope it helps you in your search.
Click to expand...
Click to collapse
Thank you, I tried Boeffla Kernel and it didn't recognize the device still, but I'm searching for a kernel with the driver necessary. Still would be nice to know how to do it by myself, but I'm on it ^^
Hey i noticed your post is old but did you find a way to do that any supporting roms or solution i'm having the same problem
hasanfares said:
Hey i noticed your post is old but did you find a way to do that any supporting roms or solution i'm having the same problem
Click to expand...
Click to collapse
I have cm 14.1 running but i don't mind flashing another rom or kernel
Not possible to run a wifi dongle in android.
Beamed in by telepathy.

How to flash or patch custom kernel in Remix OS?

Hi, I just got everything working nicely on my Dell Inspiron 580. I am running rooted Remix OS 3.0 MM 64-bit and I am trying to use a TP-Link usb Wireless Adapter RTL8188EUS which I am assuming is a Realtek Chipset. So I am wondering, is there a kernel or patch that will get it working? How do we flash or compile kernels in Remix OS? The wireless is my only stumbling block to make this into a Media PC. Any suggestions seriously appreciated
You can look at this:
https://github.com/JideTechnology/remixos-kernel/issues/4#issuecomment-261435959
After you have a ready custom kernel file, you can just replace the old one in ISO or in already installed location.
Vioner said:
You can look at this:
https://github.com/JideTechnology/remixos-kernel/issues/4#issuecomment-261435959
After you have a ready custom kernel file, you can just replace the old one in ISO or in already installed location.
Click to expand...
Click to collapse
Excellent. I appreciate the response i have helped with development in other projects i would like to help with Remix OS if possible. I will likely do what i can with my linux box this weekend. Do i need to change permissions on the new kernel? i am going to backup the kernel i have now before i start changing too much ? Thank you @Vioner ill let you know if i can get it working

Categories

Resources