wiki:SF_Ch_hybris15

Hybris 15.1

building hybris-hal

local_manifest

local_manifest for used repositories see attached file

libhybris

libhybris has to be in the droid tree before building hybris-hal.

rpm/dhd/helpers/build_packages.sh --mw=https://github.com/krnlyng/libhybris-1.git --spec=android8-initial

remark: --spec can either be a spec file or if the parameter does not contain ".spec" it is interpreted as a branch (!!!).

This will install the needed lihybris version in droid/hybris/mw/libhybris-1

kernel repo

updated kernel repo from LOS (version of ghosalmartin was very outdated). Cherry picked chiron_defconfig changes from ghosalmartin.

bionic

building of libart for aarch64 failed because of missing symbol __get_tls. Added __get_tls to arm64 map

See https://github.com/guhl/android_bionic/commit/2179080cb1d85ff369d6dbec4faffbf0e84a7f60

vim file missing

out/target/product/chiron/system/usr/share/vim is missing. Copied it from regular LOS build. Needs fix.

mkdir -p /home/guhl/mer/chiron.los15.1/droid/out/target/product/chiron/system/usr/share
cp -r /home/guhl/ws_and/chiron/out/target/product/chiron/system/usr/share/vim /home/guhl/mer/chiron.los15.1/droid/out/target/product/chiron/system/usr/share/

manually build system/sepolicy/tests/

cd system/sepolicy/tests/
mm
cd $ANDROID_ROOT

build libconscrypt_openjdk_jni

make libconscrypt_openjdk_jni

Then make hybris-hal

building middleware

libhybris

rpm/dhd/helpers/build_packages.sh --mw=https://github.com/krnlyng/libhybris-1.git --spec=android8-initial

remark: --spec can either be a spec file or if the parameter does not contain ".spec" it is interpreted as a branch (!!!).

UPDATE: Forked krnlyng/libhybris-1 and added back nfc stuff to fix build error of libhybris.

rpm/dhd/helpers/build_packages.sh --mw=https://github.com/guhl/libhybris-1.git --spec=android8-initial

Install failed with a conflict with package mesa-llvmpipe. Uninstalled mesa-llvmpipe.

sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R
zypper rm mesa-llvmpipe
Last modified 2 years ago Last modified on 09/02/18 19:33:48

Attachments (1)

Download all attachments as: .zip