Skip to content

hybris/*: provide support for Android 9

Danct12 requested to merge Danct12/pmaports:halium-9 into master

Heya! It's time for a major change in Halium/Hybris history, support for Android 9.0!

Boots container and runs test_hwc2 perfectly fine under Xiaomi Redmi Note 7 (lavender).

Generic System Image

With the development done by @erfanoabdi, he created a GSI image that can be installed on any device that has a compatible vendor image.

To make sure your vendor image works properly, install Android GSI on your device first and make sure the device is functional, if it does not then this image doesn't do anything.

To try this, grab this image https://build.lolinet.com/file/halium/ubport/system.img

Convert sparse to generic FS
$ simg2img system.img
$ resize2fs -p -M system.img

After done, push the system image to device
$ scp system.img user@172.16.42.1:~
$ ssh user@172.16.42.1
[PMOS] $ sudo mv system.img /var/lib/lxc/android/system.img
[PMOS] $ sudo rc-service lxc-android start

CC: @minlexx @NotKit

Edited by Alexey Min

Merge request reports