Last active
April 17, 2020 21:08
-
-
Save Vince1171/f8d793044df0e65ab2e73f04a9f03766 to your computer and use it in GitHub Desktop.
Halium-7.1.2_UT_steps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://ci.ubports.com/job/ofono/job/xenial_-_merofono/3/artifact/ofono_1.21+ubports1+0~20190310195225.3~1.gbp9792b9_armhf.deb | |
apt install -y libglibutil libgrilio libmce-glib libwspcodec | |
dpkg -i ofono_1.21+ubports1+0~20190310195225.3~1.gbp9792b9_armhf.deb | |
Magic Bluetooth | |
hciattach /dev/ttyHS0 qualcomm | |
#Bluez depedancy | |
sudo apt install libdbus-1-dev libudev-dev libical-dev libreadline-dev libjson-c-dev libglib2.0-dev | |
switch bionic and frameworks/native to the branch bshash-libdsyscall | |
( go to the packages git fetch hal .. and see the branch .. then switch to the local one that is set up as tracker..) | |
rebuild systemimage | |
install edge-rootfs https://ci.ubports.com/job/xenial-edge-rootfs-armhf/ | |
boot device | |
ls /usr/lib/arm-linux-gnueabihf/libhybris/linker | |
n.so? | |
y => OK | |
n => you're not using xenial_-_edge branch or edge-rootfs | |
ubports rootfs usb-ssh broken | |
419 works, 420 broken | |
fixed by | |
https://gitlab.com/JBBgameich/halium-install/merge_requests/22 | |
useful logs: | |
/home/phablet/.cache/upstart/unity8-dash.log | |
/var/log/lightdm/unity-system-compositor.log | |
/var/log/lightdm/lightdm.log | |
test mir: | |
apt install mir-demos | |
mir_demo_server | |
mir_demo_client_* | |
fix egl permission for unity8: | |
chmod 666 /dev/kgsl-3d0 | |
udev rules: | |
cat /var/lib/lxc/android/rootfs/ueventd*.rc|grep ^/dev|sed -e 's/^\/dev\///'|awk '{printf "ACTION==\"add\", KERNEL==\"%s\", OWNER=\"%s\", GROUP=\"%s\", MODE=\"%s\"\n",$1,$3,$4,$2}' | sed -e 's/\r//' > /etc/udev/rules.d/70-oneplus2.rules | |
to see the ubuntu-touch spinner: | |
/usr/share/ubuntu-touch-session/usc-wrapper --debug-without-dm | |
to get logcat running: | |
export LD_LIBRARY_PATH=/vendor/lib64:/system/lib64:/vendor/lib:/system/lib | |
/system/bin/logcat | |
Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.PackageKit: Permission denied | |
and | |
initctl: unable to determine sessions | |
fix => | |
chmod 4777 /usr/lib/dbus-1.0/dbus-daemon-launch-helper | |
chown root:messagebus /usr/lib/dbus-1.0/dbus-daemon-launch-helper | |
chmod u+s /usr/lib/dbus-1.0/dbus-daemon-launch-helper | |
NetlinkListener: recvmsg failed (I/O error) | |
comment | |
system/core/libsysutils/src/NetlinkListener.cpp#43 | |
if /run/user/32011 don't exist, create it | |
sudo mkdir /run/user/32011 && sudo chown phablet /run/user/32011 && sudo chmod 0700 /run/user/32011 | |
W: No sandbox user '_apt' on the system, can not drop privileges | |
seems /var/lib/dpkg/info/apt.postinst isn't correctly executed | |
adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt | |
cpuset: | |
mkdir /dev/cpuset && mount -t cpuset cpuset /dev/cpuset | |
need to be tested | |
mkdir -p /etc/system-image/config.d | |
sound: | |
chmod 666 /dev/snd/comprC0D* | |
chmod 666 /dev/snd/hwC0D* | |
chmod 666 /dev/snd/pcmC0D* | |
chmod 666 /dev/snd/timer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment