**** BEGIN LOGGING AT Thu Oct 03 02:59:57 2019 Oct 03 12:38:18 @NotKit thanks for your advise, i got telnet with halium-boot whats next? Oct 03 12:39:58 try to boot rootfs? Oct 03 12:40:13 telnet means initramfs could not mount rootfs.img Oct 03 12:42:33 ok downloadin ut rootfs Oct 03 12:42:43 [Edit] ok downloading ut rootfs Oct 03 13:24:02 @NotKit not working Oct 03 13:24:04 https://paste.ubuntu.com/p/nZvKWJgRxJ/ Oct 03 13:27:43 Luka you have error pointed Oct 03 13:27:53 Cannot find /data Oct 03 13:28:20 Look into fstab and comment sd2fs or how it's called Oct 03 13:29:43 it's not related to fstab Oct 03 13:29:54 halium-boot doesn't use it Oct 03 13:30:03 Wait Oct 03 13:30:04 What Oct 03 13:30:13 Hybris boot uses fixmountpoints Oct 03 13:30:34 hybris-boot does, halium-boot doesn't Oct 03 13:32:00 those segfaults are weird though Oct 03 13:32:45 @NotKit [https://github.com/Halium/initramfs-tools-halium/blob/halium/scripts/halium#L378], Luka check this part of script to see why it may fail Oct 03 14:43:28 cant finde it Oct 03 14:46:43 @NotKit -e 's /devblock/platform/soc.2/by-name/USER /dev/mmcblk0p16 ' \ Oct 03 14:46:49 is this ok? Oct 03 14:46:57 in fixmountpoints Oct 03 14:47:21 halium-boot doesn't use fix-up Oct 03 14:47:29 you're missing a slash between /dev and /block Oct 03 14:49:11 @NotKit [halium-boot doesn't use fix-up], hmmm how dose it mount partitions? Oct 03 14:49:18 @VeryOriginalUsername [you're missing a slash between /dev and /block], yes Oct 03 14:49:25 sorry my bad Oct 03 14:50:27 @NotKit [halium-boot doesn't use it], what it dose? Oct 03 14:51:01 please read the script I linked some posts before Oct 03 14:52:21 https://github.com/Halium/initramfs-tools-halium/blob/halium/scripts/halium#L378 Oct 03 15:16:53 ok i will look into it Oct 03 15:16:58 emmc is ok Oct 03 15:18:58 hmm Oct 03 15:19:02 what is Oct 03 15:19:03 EXT3-fs (mmcblk0p16): error: couldn't mount because of unsupported optional features (40) … [ 6643.737548] [0: exe: 541] [c0] EXT2-fs (mmcblk0p16): error: couldn't mount because of unsupported optional features (40) … [ 6643.745758] [0: exe: 541] [c0] EXT4-fs (mmcblk0p16): mounted filesystem with ordered data mode. Oct 03 15:19:03 Opts: (null) Oct 03 15:23:43 @Luka [EXT3-fs (mmcblk0p16): error: couldn't mount because of unsupported optional feat …], Thats ok, it tries to mount various ext fs variantes, and succeeds with ext4 Oct 03 15:24:52 so can be ignored? Oct 03 15:25:02 yes Oct 03 15:25:11 empty Oct 03 15:25:52 https://github.com/Halium/initramfs-tools-halium/blob/halium/scripts/halium#L378 Oct 03 15:47:01 still it seems to be not runed Oct 03 15:47:06 no output Oct 03 15:49:56 Luka what is partition label? Oct 03 15:50:12 if it is USER, that is not in script list Oct 03 16:18:21 hmmm in fstab it is USER Oct 03 16:21:28 Where that script is cloned i what to add USER Oct 03 16:22:38 it is inside ramdisk Oct 03 16:35:02 seems i repacked something incorect Oct 03 16:35:09 not booting lol Oct 03 16:36:35 hmmm cant use this way: mkbootfs ramdisk | gzip > boot.img-ramdisk-new.gz Oct 03 16:36:45 due to no mkbootfs Oct 03 16:36:54 where must i get one? Oct 03 16:38:27 where is that script in halium builddir @NotKit ? Oct 03 16:38:59 it fetches prebuilt ramdisk from GutHub Oct 03 16:39:04 [Edit] it fetches prebuilt ramdisk from Github Oct 03 16:39:27 sorry, unable to go in details right now, maybe searching logs can help Oct 03 16:40:03 @Luka [hmmm cant use this way: mkbootfs ramdisk | gzip > boot.img-ramdisk-new.gz], you can use cpio Oct 03 16:41:00 @NotKit [you can use cpio], i used it Oct 03 16:41:28 try to repack without modifications first Oct 03 16:42:46 ok Oct 03 16:45:28 not working Oct 03 16:45:53 i am using find . | cpio --create --format='newc' | gzip > ../myinitrd.img Oct 03 16:48:51 sorry my bad Oct 03 16:48:58 found better way Oct 03 16:51:20 yay [ 4883.363526] usb 1-2.2: Product: SAMSUNG_Android … [ 4883.363529] usb 1-2.2: Manufacturer: SAMSUNG … [ 4883.363532] usb 1-2.2: SerialNumber: GNU/Linux Device on rndis0 10.15.19.82 Oct 03 16:51:33 but nothing on screen Oct 03 16:54:19 test_hwcomposer: test_hwcomposer.cpp:179: int main(int, char**): Assertion `err == 0' failed. Oct 03 17:05:46 https://paste.ubuntu.com/p/6dZNBKk2R7/ Oct 03 17:05:50 here is log Oct 03 17:07:36 any idea what is wrong? Oct 03 17:10:08 Which rootfs? Oct 03 17:11:52 ubuntu Oct 03 17:11:57 xenial Oct 03 17:12:41 Ok, check /run/user/32011 exists? And you may wanna mover over to ubports porting group Oct 03 17:14:46 @Shakendo [Ok, check /run/user/32011 exists? And you may wanna mover over to ubports portin …], phablet@ubuntu-phablet:/$ ls /run/user/32011 … upstart Oct 03 17:14:58 hmmm was bad kernel config Oct 03 17:15:26 but now faileds to build Oct 03 17:15:41 error: 'struct ecryptfs_daemon' has no member named 'pid' Oct 03 17:25:39 comented schead for now Oct 03 17:26:44 and miscfs Oct 03 17:29:29 ending up with error: incompatible types when assigning to type 'kuid_t' from type 'uid_t' Oct 03 17:31:29 hmmmm still Oct 03 17:31:31 error: 'struct ecryptfs_daemon' has no member named 'pid' Oct 03 17:35:21 @Luka [test_hwcomposer: test_hwcomposer.cpp:179: int main(int, char**): Assertion `err …], how do you run it? Oct 03 17:41:10 @NotKit [how do you run it?], EGL_PLATFORM=hwcomposer test_hwcomposer Oct 03 17:42:02 but after that screen is black Oct 03 17:42:58 and [ 2510.635498] [c0] 4| gpufreq: pxa988_gpufreq_get: gc clk of gpu 1 is invalid … [ 2525.002746] [c0] graphics fb0: mmpfb open: op_count = 1 … [ 2525.015167] [c0] graphics fb0: mmpfb release: op_count = 0 Oct 03 17:43:00 in dmesg Oct 03 17:56:52 @NotKit found something Oct 03 17:56:56 lxc-start: conf.c: lxc_setup_devpts: 1434 Permission denied - failed to create dummy "/dev/ptmx" file as bind mount target … lxc-start: conf.c: lxc_setup: 3402 failed to setup the new pts instance … lxc-star Oct 03 17:56:56 t: start.c: do_start: 1248 Failed to setup container "android". … lxc-start: sync.c: __sync_wait: 59 An error occurred in another process (expected sequence number 5) … lxc-start: start.c: __lxc_start: 1802 Failed to spawn container "android". … Oct 03 17:56:56 The container failed to start. … Additional information can be obtained by setting the --logfile and --logpriority options. … root@ubuntu-phablet:~# Oct 03 17:58:17 OK, kernel config is probably wrong Oct 03 18:04:29 yep Oct 03 18:04:30 phablet@ubuntu-phablet:~$ sudo chmod 777 /dev/ptmx … phablet@ubuntu-phablet:~$ sudo start lxc-android-config … lxc-android-config start/running … phablet@ubuntu-phablet:~$ sudo lxc-info -n android … Name: android … State: STOPPED … phablet@ubuntu-phablet:~$ Oct 03 18:04:43 Please use pastebin Oct 03 18:06:20 run lxc-checkconfig Oct 03 18:06:21 ok sorry Oct 03 18:08:46 @NotKit [run lxc-checkconfig], https://bpaste.net/show/npuC Oct 03 18:09:38 yeah, probably you didn't modify kernel config at all Oct 03 19:08:53 guys Oct 03 19:08:55 wtf Oct 03 19:09:18 echo 1 > /sys/kernel/boot_adsp/boot … made devices appears in aplay -l Oct 03 19:09:26 but it rebooted shortly after Oct 03 19:10:07 (Photo, 1280x720) https://irc.ubports.com/X9r8YGeT.png Oct 03 19:26:20 If my device shipped with an Android version newer than 7.1, will porting Halium as described in the guide not be possible? Oct 03 19:40:56 jtvjan: no, not possible Oct 03 19:48:43 Ok, thank you. Oct 03 22:33:58 @jtvjan [If my device shipped with an Android version newer than 7.1, will porting Halium …], In the future it will be, but as of this moment it is not, unless you wanna try doing it yourself anyways **** ENDING LOGGING AT Fri Oct 04 03:02:52 2019