Skip to content

device-xiaomi-tissot: Initial device support

Ion A requested to merge (removed):device/xiaomi-tissot into master

Initial support for Xiaomi A1 aka xiaomi-tissot using LineageOS 15.1 kernel, has similar board to Xiaomi Redmi 4 aka xiaomi-mido with some differences that had to be patched such as reversing skip_initramfs and ignoring dm param. 16.0 kernel boots but display fb init doesn't work.

Works:

  • USB RNDIS with SSH (applied a patch to only WARN_ON once instead of dmesg spam which is only triggered when USB network is active)
  • Display with Wayland: Weston and Plasma (software rendering)
  • Touchscreen with several fingers
  • reboot/poweroff

Kinda works:

  • Display with Xorg after issuing the command cat /sys/class/graphics/fb0/modes > /sys/class/graphics/fb0/mode, for some reason none of hacks related to mdss/msm fb works because the command has to be issued after some time and then Xorg must be started. Xorg without this trick reports "FBIOPUT_VSCREENINFO: Invalid argument"... Any idea?
  • Already plugged USB devices via OTG/Host when kernel is booting

Requires firmware:

  • WiFi
  • Baseband (probably)

Not working:

  • Bluetooth (kernel doesn't report any error and shows device but rfkill is empty)
  • WiFi
  • Audio
  • New USB devices via OTG/Host after boot
  • Baseband
Edited by Bart Ribbers

Merge request reports