Accessing a USB device in phone in absence of compatible drivers / modules
1
vote
0
answers
1208
views
My android device has an MTK6797 Soc(Xiaomi Redmi note 4x mtk version), and the company never released the kernel source, now I want to connect a USB device through OTG and control it from a chrooted Linux environment inside android, the problem is that the precompiled kernel that ships with the android device doesn't include the driver for the USB device, the kernel also has
CONFIG_MODULES
disabled so I can't compile the driver as a module and load it to the kernel, so now my only option is to run a completely emulated Linux VM(kernel and userspace) inside android and connect the USB device to the VM and load the required module from there(just like you would do on a PC with something like Virtual Box).
The problem is that I can't find an arm emulator that runs on android, I found Limbo PC emulator which is based on Qemu but it emulates X86 and not arm, running an X86 VM inside Limbo PC is very slow so I instead I want to run Arm VM hopefully that would provide a bit of performance push compared to emulating X86.
I can't seem to find any thing that can emulate Arm inside android, Qemu is an open source project so It's hard to imagine that no one ever though of running Qemu arm emulator inside Android.
Regards
Asked by MOHAMMAD RASIM
(171 rep)
Mar 29, 2019, 11:36 AM
Last activity: Sep 9, 2019, 04:53 PM
Last activity: Sep 9, 2019, 04:53 PM