Talk:Xiaomi Redmi 4X (xiaomi-santoni): Difference between revisions
Appearance
Alive4ever (talk | contribs) Hint to enable usb networking |
m Z3ntu moved page Talk:Xiaomi RedMi4x (xiaomi-santoni) to Talk:Xiaomi Redmi 4X (xiaomi-santoni) |
(No difference)
|
Revision as of 09:57, 30 September 2019
Hi, fellow Xiaomi porter here.
Regarding the non-functional rndis usb, you should unpack the initramfs image from lineageos / factory boot.img and look at /init* files. Also make sure that CONFIG_USB_GADGET is set.
The sysfs interface to set usb mode to rndis is /sys/devices/virtual/android_usb/android0/functions
$ cat /sys/devices/virtual/android_usb/android0/functions rndis