Talk:Xiaomi Redmi 4X (xiaomi-santoni)
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
Installation works, but how? What steps are needed specifically?