Halium / projectmanagement

141 stars 32 forks source link

[device-port] [zeroltexx] Samsung Galaxy S6 edge #181

Open 4soobs opened 4 years ago

4soobs commented 4 years ago

Tree: halium-7.1 Used UT rootfs: ubuntu-touch-hybris-xenial-arm64-rootfs

Known issues (checkmark means fixed):

4soobs commented 2 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.

4soobs commented 2 years ago

ladies and gentlemen, we got 'em. IMG-6767 IMG-6768

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!

4soobs commented 2 years ago

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/

4soobs commented 2 years ago

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. :)

4soobs commented 1 year ago

after a year of break i'm continuing development. stay tuned :)

4soobs commented 1 year ago

im rebuilding all images from scratch, i'm gonna try to document all changes i've made.

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

4soobs commented 1 year ago

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:

  1. remove gcc sudo apt remove gcc
  2. close and reopen terminal
  3. run 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

4soobs commented 1 year ago

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

4soobs commented 1 year ago

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

Kabir404 commented 1 year ago

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?

tech-persony commented 10 months ago

is there any updates on this or any releases yet

algifor9 commented 2 days ago

hello the GitHub is an 404 why ?