[Question]Installing updated kernel from kernel.org on Android - Sony Xperia XZ1 Questions & Answers

Is there anyone out there who knows how I can install usb wifi drivers for Sony Xperia XZ1?
I am using an Edimax N150 with on OTG adapter. When I type lsusb in a terminal, it displays:
Code:
Bus 001 Device 002: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
which means my mobile recognizes it but doesn't show up as wlan1 or anything. In order for me to install the drivers, I have to install compatible linux-headers with my mobiles kernel BUT this is where I'm stuck .... there aren't any headers for my kernel
Specs:
Device: Sony Xperia XZ1
Model: G8343
Version: 9
Build: 47.2.A.10.80
Kernel: 4.4.148-perf+ #1
So, my question is, can I update / install a kernel from kernel.org on my mobile to download corresponding linux-headers to install RTL8188CUS driver without breaking my mobile?
Or, if someone has a better / much simpler solution to installing RTL8188CUS driver on my mobile, can you please point me into the right direction? This has been bugging me for weeks now and I've yet to find an answer that includes my concerns.

Seriously, no one has an answer? No ideas in the slightest?
I'm not asking for someone to do it for me. I'm simply asking if it's possible to "upgrade" my android kernel by downloading the latest archive from kernel.org without bricking my mobile.
OR​
If someone knows where I may find an answer on a much active forum than xda-developers, please let me know.

Related

[Q] DVB-T on Archos - it's possible?

Hello
Sorry, my English is bad.
I am seeking methods to run DVB-T on the Archos G9.
Currently I have two USB tuners:
- Pinnacle PCTV 72E - chip DiB7070 and DiB0700
- Greentek DVR-1 - chip: Afatech AF9035
If need be I can have a tuner on a chip ITE IT9135.
I was looking at various sites, forums. Unfortunately I have not found anything concrete.
Are there any drivers for Android to support DVB-T USB tuners?
I know there are tablets and media players based on Android, which are built-in DVB-T. From what I could find, these include ITE9135 chip. Is it possible to transfer the drivers and software from such a tablet to the Archos?
The second possibility about which I thought is a Ubuntu. I know that the x86 version of Ubuntu for the Linux kernel has built-in drivers, for example, to ITE9135.
Because there version of Ubuntu for ARM, which is going to run on the Archos G9. I wonder if this version also has built the same drivers?
I know little Linux, so I'm looking for a simple method to run DVB-T on the Archos.
Writing and compiling the code eliminated
Thank you very much for any help.
Greetings.

ROM for Accessory Development Kit

Hi XDA,
I am trying to make my Hero work with the Arduino Mega ADK (Accessory Development Kit), but it never detects it.
The files com.android.future.usb.accessory.jar and android.hardware.usb.accessory.xml have been added to the system, as proposed on this thread: https://github.com/ezterry/manifest-gingerbread-DS/issues/32.
The Arduino says:
Code:
Device addressed... Requesting device descriptor.
found possible device. swithcing to serial mode
Data packet error: 5could not read device protocol version
I am currently under SHPONGLE v3.5, but exactly the same happens with Elelinux 7.2.
Does someone knows a ROM that can handle it? I think it should be possible, because the HTC Dream can.
Maybe recompiling the kernel is necessary ?
Thanks!

[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] Installing bcm4330 drivers on kernel 3.0.31

Hello to everybody. First at all, I hope you can understand me because my english is not very well. Here is my problem. Im running Kali Linux on my Samsung S2 and the wifi board is not detecting for Kali. I read in another forum that Kali use the android kernel so I need to install the drivers on my android compiling the kernel, I dont have the minimal idea how it can do it so I need to somebody can help me with this. In another way I kave a usb wifi card with realtek 8191 chipset I found in realtek this drivers, I was reading and it can used in android but I dont know how I must installing, I was reading and maybe dont know I have to compile in a Linux system and after will create a file with extension .ko and I have to copy to specific folder in the android system. My android on my phone is the 4.1.2 version

EHCI controller - XHCI patch ?

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.

Categories

Resources