Skip to content

xiaomi-santoni: add android adaptation

Administrator requested to merge xiaomi-santoni-hybris into master

This merge request is based on !332 (merged).

Currently, LXC container loaded, I haven't tested much aside from hwcomposer. And hwcomposer test will give weird flashing artifacts if msm-fb-refresher is on, 🔪 that fixes it.

device/linux package:

  • add nonfree-userland subpackage, that pulls hybris adaptation
  • add $pkgname-hybris subpackage, installed only if nonfree-userland was chosen manually
  • add $pkgname-hybris-x11 subpackage, installed only if $pkgname-hybris and xorg-server
  • 60-persistent-v4l.rules to /dev/null
  • fix android group names in udev rules
  • /etc/fstab for Hybris
  • kernel configurations for Halium/LXC
  • xorg configuration for hybris

Status:

  • LXC container started
  • test_hwcomposer(_7_caf) working
  • Plasma Mobile
  • X11
  • Weston (does it even have hwcomposer backend?)

libhybris tests:

  • test_hwcomposer_7_caf
  • test_gps
  • test_vibrator
  • test_lights
  • test_opencl (OpenCL successful, then SEGFAULT)
  • test_camera
  • test_audio
  • test_input
  • test_media
  • test_recorder
  • test_sensors (shows all sensors just fine, then SEGFAULT)

To-do:

  • fix long boot times (assuming there are some services trying to run and failing?)
  • packaging pulseaudio-modules-droid from SFOS (!448 (merged))
  • rebased packages (!424 (merged))
  • xorg configuration for hybris
  • provide precompiled system.img for testing

@danct12, would you mind testing these out?

Edited by Administrator

Merge request reports

Loading