Talk:Xiaomi Redmi 4X (xiaomi-santoni): Difference between revisions
Appearance
Alive4ever (talk | contribs) Hint to enable usb networking |
→Installation works: new section |
||
(One intermediate revision by one other user not shown) | |||
Line 11: | Line 11: | ||
[[User:Alive4ever|Alive4ever]] ([[User talk:Alive4ever|talk]]) | [[User:Alive4ever|Alive4ever]] ([[User talk:Alive4ever|talk]]) | ||
== Installation works == | |||
Installation works, but how? What steps are needed specifically? |
Latest revision as of 14:37, 20 September 2020
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
Installation works, but how? What steps are needed specifically?