Open 4soobs opened 4 years ago
i fixed the defconfig with halium-boot's kernel checker, but the kernel kept panicking, so i got a fresh defconfig and i enabled only essential configs:
CONFIG_DEVTMPFS=y CONFIG_VT=y CONFIG_NAMESPACES=y CONFIG_MEMCG=y CONFIG_CGROUP_DEVICE=y CONFIG_CGROUP_SCHEDTUNE=n CONFIG_SYSVIPC=y CONFIG_FANOTIFY=y
the device presented an SSH connection affter appending console=tty0 to the cmdline in the defconfig.
ladies and gentlemen, we got 'em.
there are MANY things broken, however. the LED doesn't work quite well, the scaling is off and the device reboots when it goes to sleep. any commits needed to make it happen so far will be able to be seen in my organization! (ubuntu-touch-on-s6-edge)
edit: i noticed the device becomes hotter while it's in UT. not sure what is causing this, i will check later! cheers. <3
edit 2: back and recent hardware buttons don't work in UT!
UPDATE i have spent these past days working on the port, trying to get wifi, audio and apps operating correctly.
pulseaudio keeps throwing errors at me, aswell networkmanager isn't giving me any sensible information on why it's crashing only sometimes. the same is with apparmor.
i also made a custom ubuntu splash screen for this device.
kernel, dt, vendor and instructions on how to get that fancy custom ubuntu splash screen can be found in the port's org. https://github.com/ubuntu-touch-on-zeroltexx/
ANOTHER SHORT UPDATE i thought to give halium 9 a chance, maybe we'll have more luck with that, since it's a newer version. :)
after a year of break i'm continuing development. stay tuned :)
im rebuilding all images from scratch, i'm gonna try to document all changes i've made.
defconfig used: https://pastebin.com/p8BVTnLj (used mer-kernel-check and then ran the halium-boot kernel checker a couple of times on lineageos' defconfig)
i encountered error build/core/executable.mk:87: external/gpg/Android.mk: No such file or directory
which i easily fixed by manually cloning link to external/gpg repo into WORKDIR/external/gpg
(e.g. ~/halium/external/gpg)
MAKE SURE ITS THE HALIUM-9 BRANCH INSTEAD OF MASTER, OTHERWISE YOU WILL RUN INTO BUILD ERRORS
edit: CONFIG_RTC_DRV_SEC does disable the RTC (real-time clock) which means that the date wont be preserved between reboots, so it will have to be eventually re-enabled
if you encounter an error like
scripts/dtc/dtc-parser.tab.o:(.bss+0x50): multiple definition of 'yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
during building, you probably have gcc version 10+, which is not ideal. to fix this:
sudo apt remove gcc
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9
(per https://github.com/BPI-SINOVOIP/BPI-M4-bsp/issues/4)you may also need to apply patches to the kernel, by changing line YYLTYPE yyloc;
to extern YYLTYPE yyloc;
in your kernel tree in files scripts/dtc/dtc-lexer.l
and scripts/dtc/dtc-lexer.lex.c_shipped
edit: i just applied those patches to the port's org, you can see them here: https://github.com/ubuntu-touch-on-zeroltexx/android_kernel_samsung_exynos7420/commit/33fa156a7f6bd188079d881791cd0c39965190e7
if you encounter an error like fingerprintd needed by...
or ffffffff000000000000000000000028.tlbin needed by...
or libsec-ril-dsds.so needed by...
during building systemimage
, then please apply the following patch to the vendor tree: https://github.com/ubuntu-touch-on-zeroltexx/proprietary_vendor_samsung/commit/e23b39787b96d7e31b10b21dfc5334ca1f3ad067
i noticed that i mentioned that "the device becomes hot in UT", and, unfortunately, there is nothing I can do to fix this. it's because of a bug in the unity-system-compositor that makes devices with the exynos SoC heat and take up too much CPU power (or so i heard)
edit: or maybe i can do something, i need to do more research on this
How is the progress going for development? or is it stagnated?
Anyways how can one go about building and running this on their own device?
is there any updates on this or any releases yet
hello the GitHub is an 404 why ?
Tree: halium-7.1 Used UT rootfs: ubuntu-touch-hybris-xenial-arm64-rootfs
usb: Manufacturer: GNU/Linux Device
appears indmesg
on host.Known issues (checkmark means fixed):