**** BEGIN LOGGING AT Sun Jan 07 03:00:01 2018 Jan 07 04:47:29 (Photo, 521x960) https://irc.ubports.com/fgki7Z1T/file_3625.jpg Jan 07 04:48:01 @TheImpulson, I figured what I will tell my users about the bugs 😜 Jan 07 05:09:20 someone here was porting Plasma Mobile to Moto X Style/Pure right? Jan 07 05:09:29 err.. halium I mean Jan 07 05:10:13 Dalton Jan 07 05:10:17 @UniversalSuperBox Jan 07 05:10:38 Moto X 2013 Jan 07 05:10:42 if that's even the same device Jan 07 05:10:43 wasn't his phone umm moto g4? Jan 07 05:11:22 Fwd from UniversalSuperBox: No, Moto X 2013 with its stock software Jan 07 05:12:32 hmm it's code name is ghost Jan 07 05:12:35 this one is clark Jan 07 05:13:02 eh screw confusing names Jan 07 05:13:30 only if people created projectmanagement issues for port Β―\_(ツ)_/Β― Jan 07 05:13:45 i always force people to do so Jan 07 05:23:23 @vanyasem, Yeah, you does. But I would love to see seprate threads on website or XDA. Jan 07 05:24:12 And someone from development team contact XDA for seprate forums for Non-Android Development please. Jan 07 05:24:31 @TheImpulson, @bhushanshah Jan 07 05:40:31 well its XD'A' i dont think they will agree on it so easily Jan 07 05:41:15 @Satyam2345, I will cal it partiality then. Jan 07 05:42:13 well people still post sailfish ports there so i think you can just create a thread as normaly someone do Jan 07 05:42:23 https://plasma-mobile.org/ … It looks more awesome here. The icon size, drawer and everything is more well fit then in my device. Jan 07 05:44:34 @Satyam2345, But isn't it is awkward to post in android development when your OS is not android. Also DevDB only offers either Android or Windows. Jan 07 05:45:41 well the OS works on top of Android anyways Jan 07 05:45:54 well not on top of, but with Android containerized Jan 07 05:47:07 post it in roms and kernel section as it says "Other Development" .. also it is fine to not have that DevDB tag Jan 07 05:47:45 Well, I got a Moderator friend in XDA. I will ping him to ask for Non-Android Developemnt forums/Head. Jan 07 06:37:14 (Photo, 1280x960) https://irc.ubports.com/dH7kqWwq/file_3627.jpg Permission denied ,check-kernel-config Jan 07 06:37:20 ?? Jan 07 06:48:08 @SALPHA8506, Try sudo Jan 07 06:49:19 With sudo command not found Jan 07 06:53:51 `chmod +x check-kernel-config` Jan 07 07:06:57 (Photo, 1280x960) https://irc.ubports.com/AV24rDy5/file_3629.jpg Working or not?? Jan 07 07:08:29 Now rerun ./check-kernel-config command Jan 07 07:10:53 Now working. Jan 07 07:11:21 (Sticker, 512x512) https://irc.ubports.com/HevKcyw4/file_3630.webp Jan 07 07:54:52 (Photo, 1280x960) https://irc.ubports.com/n0YOFYiX/file_3632.jpg Already set # Specific project for halium … subdue +=\ … halium/hybris-boot \ … halium/ubports-boot Jan 07 07:55:29 source the file again and re-run breakfast Jan 07 07:56:10 `source build/envsetup.sh` … and … `breakfast $CODENAME` Jan 07 07:56:58 Same error Jan 07 07:57:21 is the tree there? Jan 07 07:57:31 i mean is it cloned in place? does it physically exist? Jan 07 07:57:42 have you run `repo sync` after adding it to the manifest? Jan 07 07:58:36 No manually add ubports-boot Jan 07 07:58:51 is it cloned? Jan 07 07:58:54 where it should be? Jan 07 07:59:16 @vanyasem, Yes Jan 07 07:59:21 run `ls halium/ubports-boot` Jan 07 07:59:32 and paste output Jan 07 08:01:52 ubports-boot folder not there Jan 07 08:02:13 So I moved it into halium, now working Jan 07 08:02:15 Thanks Jan 07 08:02:31 @SALPHA8506, pay attention when you clone stuff ;) Jan 07 08:02:37 i'm glad that it works now Jan 07 08:05:52 Invalid for SECURITY_TOMOYO_MAX_ACCEPT_ENTRY Jan 07 08:07:41 @SALPHA8506, ? Jan 07 08:12:21 (Photo, 1280x720) https://irc.ubports.com/wLZ1PfYT/file_3634.jpg But ubports-boot completed Jan 07 08:15:15 (Photo, 1280x960) https://irc.ubports.com/5Hvx0Al0/file_3636.jpg Jan 07 08:16:02 ninja: error: 'NOTICE-TARGET-STATIC_LIBRARIES-libbootloader_message', needed by '/home/s-8506/Desktop/DesktopHalium/Halium/out/target/product/z2_plus/system/bin/vold', missing and no known rule to make it Jan 07 08:16:17 mka systemimage Jan 07 08:27:47 @SALPHA8506, comment out boardconfig.mk Jan 07 08:28:14 whatever the library is needed Jan 07 08:55:13 device/...z2_plus/boardconfig.mk ??? Jan 07 09:47:43 device/samsung/s3ve3g/init/init_s3ve3g.cpp:76:5: error: no matching function for call to 'property_get' … What if my device tree does not like HaliumΒ΄s fork of init tools? Jan 07 09:48:29 Halium/android_system_core specifically Jan 07 09:51:34 NVM found the issue.... Jan 07 09:52:01 @Flohack, that happens all the time Jan 07 09:52:20 solution arises a few minutes after posting to the chat Jan 07 09:52:24 i know that feeling Jan 07 09:52:50 ^^ Well I am too shy to tell my solution now, lets see if it works ^^ Jan 07 10:11:21 Santosh Raj: … ninja: error: 'NOTICE-TARGET-STATIC_LIBRARIES-libbootloader_message', needed by '/home/s-8506/Desktop/DesktopHalium/Halium/out/target/product/z2_plus/system/bin/vold', missing and no known rule to make it Jan 07 10:11:27 ? Jan 07 10:12:41 errors like that mean that something has a dependency on a library Jan 07 10:13:14 you can evade that problem by figuring out what needs that library and then decide whether you will need it on your device.. Jan 07 10:13:51 there is a certain probablity that none of the services that you will run on you phone will require it .. Jan 07 10:14:09 hmm vold might be needed...? Jan 07 10:14:57 hm what is void doing? Jan 07 10:15:38 it's voLd Jan 07 10:15:54 it's similar to udevd Jan 07 10:16:00 No Jan 07 10:16:03 It is needed for disk volumes but I dont know if the lxc services will need it. still some probability Jan 07 10:16:08 It's not similar to udevd Jan 07 10:16:28 @Flohack it's not useful but Android cries waters without it Jan 07 10:16:31 https://source.android.com/devices/storage/config Jan 07 10:16:38 @bhushanshah, Yeah this I expect :D Jan 07 10:16:41 ah vold .. ok .. Jan 07 10:20:44 Guys my kernel log does not show all messages... Jan 07 10:21:06 ? Jan 07 10:22:50 https://pastebin.com/cqveGWnf - its missing all kernel infos about version and such... there must be a reduced msg level set Jan 07 10:23:28 And my system image is too large wtf Jan 07 10:23:33 not a good porting day Jan 07 10:23:48 @Flohack, Size? MIne is 545 MB Jan 07 10:24:06 Well mine is much smaller, but the build complains ^^ Jan 07 10:24:26 ah sorry no, its recovery image: … error: +/home/florian/halium-7.1/out/target/product/s3ve3g/recovery.img too large (13565952 > [11725824 - 270336]) Jan 07 10:24:54 as if I would flash this ^^ Jan 07 10:33:58 Cool I am not bootlooping but no response from USB port so far ^^ Jan 07 10:34:41 systemctl disable lxc@android from chroot in recovery and retry Jan 07 10:35:19 not that far. booting hybris-recovery only. systemimage not finished build ^^ Jan 07 10:35:48 got more last_kmsg now lets see... Jan 07 10:36:23 lol no, this is the recovery itself.. damn ^^ Jan 07 10:48:57 @SALPHA8506, https://github.com/DotOS/system_vold/commit/607063f99690bf623b59305ffa5599847e0b9a12 Jan 07 10:49:12 @SALPHA8506, ??? Jan 07 10:50:10 FardaleM was added by: FardaleM Jan 07 10:55:13 @SALPHA8506, Maybe reordering fixes dependency problems? Jan 07 10:56:05 @TheImpulson, 180MB here now Jan 07 10:56:13 so lets do halium-install ^^ Jan 07 10:56:19 πŸ‘πŸ» Jan 07 11:04:08 Ok no bootloop but no USB ^^ Jan 07 11:04:19 this I never had so far Jan 07 11:04:34 @bhushanshah, this will help? Jan 07 11:05:58 Did you get telnet working ever? Jan 07 11:06:21 no. It does not appear on USB. nothing, not even a very basic hint that the USB port is active Jan 07 11:07:06 and with all the entries missing from the kernel log I cant do much Jan 07 11:09:46 even set CONFIG_DEFAULT_MESSAGE_LOGLEVEL=6 Jan 07 11:10:01 instead of default 4 but that does not help. CONSOLE is forced to tty0 Jan 07 11:10:11 maybe this gets ignored though Jan 07 11:28:40 @bhushanshah, I can tell from the fact that hybris-boot bootlooped without rootfs in place and that it now does not bootloop, that the kernel is alive obviously mounting it. Now I found that those devices need special printk statements in kernel config so that the log to kmsg buffer, lets see ^^ Jan 07 11:34:15 @Flohack, It happened to me too. What does It mean? Jan 07 11:34:42 @Mattia, Driver problem maybe with USB. Dont know. Using Lineage kernel, and the USB driver is normally not ciritical Jan 07 11:34:58 if it's a qcom device, enable pstore, and use the 10s power-key press to reset device, go to recovery, and get logs. Jan 07 11:35:27 @trivial_inanity, Oh sounds interesting Jan 07 11:36:05 Will the last_kmsg also be then in this other location? Jan 07 11:36:42 ... which kernel version is this? last_kmsg is deprecated. Jan 07 11:36:50 haha yes. 3.4 Jan 07 11:36:56 oops. Jan 07 11:37:05 well then, last_kmsg should still be in /proc/last_kmsg. Jan 07 11:37:17 it is partially, but I am missing tons of entries Jan 07 11:37:27 trying now framebuffer console πŸ˜† Jan 07 11:37:55 fbcon with msm's display stack is a lost cause Jan 07 11:38:06 good to know meh Jan 07 11:38:21 the last i could get it working with was kernel 3.0 Jan 07 11:43:20 It's not lost cause well Jan 07 11:43:31 You need to disable KGSL driver Jan 07 11:43:57 Which is what we need for (proper) graphics Jan 07 11:43:58 Ok I kill it Jan 07 11:43:59 So meg Jan 07 11:45:20 @bhushanshah, interesting... I was talking about this crash though: http://simons-hackbits.blogspot.in/2014/11/debian-on-nexus-7-experimenting-with.html Jan 07 11:47:46 Hmm ok dis/enabling now this and that lets try ^^ Jan 07 11:54:30 Ok simply nothing changes ^^ whatever kernel config I set Jan 07 12:05:52 Patching now to extend kernel cmdline and append everything at the end. Maybe bootloader has crazy settings... Jan 07 12:28:49 @TheImpulson, I once had a HLSL compiler optimization bug, it was the worst thing trying to overcome it :| Jan 07 12:29:54 @bhushanshah, @Mister1Magister ported libhybris (HADK) to the entire line of modern moto devices Jan 07 12:43:52 Hmm ok found out that my whole last_kmsg is now unused, I alsways get the one from TWRP Jan 07 12:44:01 Seems unlogical that the kernel does not use it at all Jan 07 12:44:46 Is RAM_CONSOLE or something is enabled? Jan 07 12:45:41 I switched this off since somebody though this could be in the way: CONFIG_ANDROID_RAM_CONSOLE=n Jan 07 12:46:13 ah the normal one is also off maybe Jan 07 12:46:28 damn Jan 07 12:57:16 @bhushanshah, Can I inject smth to the init script that will write a small success message intop rootfs ? should work hm? Jan 07 13:03:41 Maybe it should work yeah Jan 07 13:04:03 You can write something to /target once it is mounted Jan 07 13:04:11 After writing run sync command Jan 07 13:04:44 init-script to be modified in hybris-boot? Jan 07 13:04:53 Yeah Jan 07 13:10:05 @bhushanshah, Ok where is rootfs being mounted, that looks a bit strange ^^ Jan 07 13:10:22 stowaways? Jan 07 13:10:35 mount_stoways functional Jan 07 13:10:43 oki Jan 07 13:11:27 should I use data or target? Jan 07 13:12:36 ok maybe both ^^ Jan 07 13:17:50 Finally kmsg! … Linux version 3.4.0-cyanogenmod-gc3208f3-dirty (florian@flummi) (g Jan 07 13:21:05 https://pastebin.com/cqveGWnf Jan 07 13:21:45 A ton of parameters are missing form the kernel cmdline though Jan 07 13:21:50 Seems to get ignored completly Jan 07 13:25:20 wtf? … systemd[1]: Failed to determine whether /sys/fs/cgroup is a mount point: Too many levels of symbolic links … [ 4.810140] systemd[1]: Failed to mount cgroup at /sys/fs/cgroup/systemd: No such file or directory … [ 4.810823] systemd[1]: Freezing execution. Jan 07 13:25:33 So maybe it stops there? Jan 07 13:25:49 yes looks like lol Jan 07 13:33:15 @bhushanshah there was rumor that Halium requires Kernel min ver 3.1 but now I find this on systemd repo: … REQUIREMENTS: … Linux kernel >= 3.13 … Linux kernel >= 4.2 for unified cgroup hierarchy support Jan 07 13:35:04 @Flohack, I boot it on 3.10 Jan 07 13:35:19 Yeah I know, 3.10 we have already in our range Jan 07 13:35:45 Those requirements though πŸ˜… Jan 07 13:41:08 @TheImpulson, Can you point me to your working kernel config? Jan 07 13:42:37 I'm trying out the latest pm rootfs on my halium port, but the screen stays dark. I can get ssh access though. Are there any known tweaks I need to do? Jan 07 13:48:03 Did you set roots password for phablet user Jan 07 13:48:13 *rootfs Jan 07 13:48:40 I only put my ssh key into /home/phablet/.ssh/authorized_keys Jan 07 13:48:51 Have not set any password Jan 07 13:49:04 (which btw means I don't have root access yet) Jan 07 13:50:21 when I run EGL_PLATFORM=hwcomposer test_hwcomposer Jan 07 13:50:33 It complains that library "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found Jan 07 13:50:58 in the halium rootfs it ran fine Jan 07 13:50:59 @doniks, You get this in nearly all working builds Jan 07 13:51:10 Its a UT symptom Jan 07 13:51:43 @doniks, https://github.com/ubports/ubuntu-touch/issues/352 Jan 07 13:52:12 test_hwcpmposer worked for me only when I run it from root shell Jan 07 13:52:39 @Flohack, https://github.com/Halium/android_kernel_asus_msm8916/blob/halium/arch/arm64/configs/Z00L_defconfig Jan 07 13:52:52 Sorry for late reply, I was driving. Jan 07 13:55:32 @Flohack, do you think I should just make that link, or is it not actually related to plasma mobile staying with a black screen? Jan 07 13:56:30 @TheImpulson, Hmm my kernel supports cgroup fs but its not mounting this properly maybe. Jan 07 13:56:40 @doniks, Probably not related but you can try this Jan 07 13:57:45 @Flohack, So 3.4 kernel isn't supported by halium? Jan 07 13:58:12 @Mattia, No it should be. Still I am unsure why I can see /sys/fs/cgroup but systemd complains Jan 07 13:58:22 has to do smth with the mount maybe Jan 07 14:00:13 @Flohack, Where are you stuck actually? You can't ssh. Right? Jan 07 14:00:41 @TheImpulson, Yes and USB activity, host does not log any usb event in dmseg Jan 07 14:00:57 But its clear if systemd freezes ^^ Jan 07 14:01:08 I am about to modify fstab to mount cgroup Jan 07 14:01:33 Hi, why can't I ping using the Halium reference rootfs? `root@localhost:~# ping 10.15.19.82 … socket: Permission denied … root@localhost:~# ping 127.0.0.1 … socket: Permission denied` Jan 07 14:01:42 Yeah! Try that. Jan 07 14:02:04 @Casper Meijn, I get these too .. No idea why Jan 07 14:03:30 BTW what changes needed in Halium for running luneOS .. Jan 07 14:07:08 @Flohack there is commit by torvalds in hammerhead kernel Jan 07 14:07:13 Backport iy Jan 07 14:10:18 Mhm, no it did not help. PM still stays black. test_hwcomposer also stays black, just doesn't output the library not found anymore Jan 07 14:10:56 @Flohack ^ Jan 07 14:11:20 @doniks, No idea sry Jan 07 14:11:40 thanks anyway Jan 07 14:12:30 @bhushanshah, hmmm any more precise data so I can locate the commit ^^ Jan 07 14:12:31 doniks: missing udev rules? Jan 07 14:14:04 @bhushanshah, ah I can try. Had a half year old pm version working though without doing any udev acrobatics (but I don't have that old rootfs anymore) Jan 07 14:15:38 @bhushanshah, this one? https://github.com/Halium/android_kernel_lge_hammerhead/commit/702fc2010fdf0685a7458adb39abce13af1a7dbc Jan 07 14:24:51 @TheImpulson, Did not help. I am not sure if the fstab is even executed before systemd logs that Jan 07 14:24:58 What does it mean guys? … Corrupted system.img??? Jan 07 14:24:59 e2fsck 1.43.5 (04-Aug-2017) … e2fsck: Attempt to read block from filesystem resulted in short read durante il tentativo di apertura di system.img … resize2fs 1.43.5 (04-Aug-2017) … resize2fs: Attempt to read block from filesystem resulted in short read durante il tentativo di apertura di system.img … Impossibile trovare un valido super-blocco per il file system. … I: Pushing rootfs and android image to /data via ADB Jan 07 14:25:26 this or system.img is truncated maybe during transfer? Jan 07 14:25:35 or too small etc Jan 07 14:26:13 During e2fsck it gives me this error so i think system,img is corrupted Jan 07 14:31:13 @vanyasem since you asked, I'm porting to potter Jan 07 14:31:42 I own a ghost, but its bootloader is permanently locked Jan 07 14:40:50 @Flohack, https://unix.stackexchange.com/questions/157361/lxc-start-no-cgroup-mounted-on-the-system Jan 07 14:41:50 @Flohack, Not this Jan 07 14:41:52 Wait Jan 07 14:42:45 @Flohack vfs: Fix /proc//fdinfo/ file handling Jan 07 14:43:04 @TheImpulson, This I found already, did not work ^^ Jan 07 14:43:31 Err Jan 07 14:43:34 https://github.com/Halium/android_kernel_lge_hammerhead/commit/25437b2a54dd619a96e268ecaf303b089aa785e4 Jan 07 14:47:36 @bhushanshah, Thx! How could I see from the decirption that this fixes the problem πŸ˜† Jan 07 14:47:47 Its kernelspeak to me... Torvalds oh my Jan 07 14:53:05 @bhushanshah, JESUS IT WORKS! Jan 07 14:53:17 [ 4.872539] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) … [ 4.873034] systemd[1]: Detected architecture arm. … [ 4.882283] systemd[1]: Set hostname to . … [ 4.887499] systemd[1]: Initializing machine ID from random generator. … [ 4.894093] get_prop_batt_temp: Jan 07 14:53:18 adc_code(32169) physical (320) … [ 4.936774] BMS: bms_get_scaled_capacity: bms_get_scaled_capacity: scaled capacity (99.0) … [ 5.012149] systemd[1]: Reached target Swap. … [ 5.012882] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. … [ 5.014651] systemd[1]: Created slice System Slice. … [ 5.015109] systemd[1]: Listening on udev Control Socket. … [ 5.015560] systemd[1]: Started Dispatch Password Requests to Console Jan 07 14:53:19 5.016890] systemd[1]: Created slice User and Session Slice. … [ 5.017391] systemd[1]: Listening on Journal Socket (/dev/log). … [ 5.017829] systemd[1]: Started Trigger resolvconf update for networkd DNS. … [ 5.019298] systemd[1]: Created slice system-lxc.slice. … [ 5.019616] systemd[1]: Reached target Remote File Systems (Pre). … [ 5.019988] systemd[1]: Reached target Remote File Systems. … [ 5.020284] systemd[1]: Reached target Jan 07 14:53:20 systemd[1]: Started Forward Password Requests to Wall Directory Watch. … [ 5.021117] systemd[1]: Reached target Paths. … [ 5.021483] systemd[1]: Reached target Encrypted Volumes. … [ 5.021889] systemd[1]: Listening on Journal Socket. … [ 5.032730] systemd[1]: Starting Set console keymap... Jan 07 14:53:27 haha that was in your face systemd! Jan 07 14:53:33 Hmm 4 line pastebin rule πŸ˜› Jan 07 14:53:40 πŸ˜‚ Jan 07 14:53:52 @bhushanshah, yeah I excuse myself but I am too excited .. nnow going for coffee that might help ^^ Jan 07 14:55:42 Ok rootfs is mounted, too. So now the USB thingie will drive me craty probably. Anything I can see in kmsg why USB is not coming up? Jan 07 14:56:09 Did you get SSH Jan 07 14:56:46 No one offers ADB, to be clear Jan 07 14:58:02 @UniversalSuperBox, No. no activity at all on the host. Not even invalid usb device or so Jan 07 14:58:26 its just dead Jan 07 14:58:34 but it works in recovery of course lol Jan 07 15:18:44 @bhushanshah is there a ideal device present that supports plasma mobile on halium without any bugs? Jan 07 15:19:34 or which don't have bugs like mine. I want to fix bugs now. I will start with RIL. Jan 07 15:21:15 Guys i've got a problem... I've booted halium after enabling all the kernel properties but the phone has mounted all partitions on my pc and i can't access via telnet or ssh Jan 07 15:24:55 Telnet should work in this case, have you assigned it the IP address like described in the docs? Jan 07 15:25:07 i've used your tool Jan 07 15:25:50 Somebody reported that my script doesn't detect all devices yet, so try what's described in the docs Jan 07 15:28:20 Also with "while : ; do lsusb -v 2>/dev/null | grep -Ee 'iSerial +[0-9]+ +[^ ]' ; done | uniq" i can't find it Jan 07 15:29:27 Does lsusb show anything Jan 07 15:29:59 Or dmesg -w (on the host) if you reconnect the device? Jan 07 15:31:45 With lsusb i got a device called qualcomm Jan 07 15:36:34 @Mattia what does `ip link` say? Jan 07 15:37:39 @doniks, if i disable only one thing in kernel config, the phone goes in "telnet mode". If i enable all requested kernel configs Jan 07 15:38:45 ok, can you disable one for the the time being and see what works? Jan 07 15:40:04 @doniks, 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 … link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 … 2: enp3s0: mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 … link/ether 10:c3:7b:4b:31:35 brd ff:ff:ff:ff:ff:ff Jan 07 15:41:56 @TheImpulson, what device is this? zenfone 2? Jan 07 15:42:04 from the ip link output I would suggest trying to connect to enp3s0 Jan 07 15:42:15 @GranPC, Zenfone 2 Laser Jan 07 15:42:19 awwwww Jan 07 15:42:23 I have the intel-powered zenfone 2 Jan 07 15:42:37 Cool. Jan 07 15:42:57 close. good job though :) Jan 07 15:43:25 Thanks Jan 07 15:44:13 @doniks, i'll try thx Jan 07 15:45:21 I still only see a black screen in plasma mobile. I have done the udev rule thing from the porting docs now. This is my syslog https://paste.ubuntu.com/26340223/ Hope someone has a tip for me Jan 07 15:45:48 adding the udev rules doesn't seem to have changed anything Jan 07 15:47:13 @doniks, Host ureachable during ping Jan 07 15:48:14 @Mattia, the partitions are mounted though? Jan 07 15:48:46 Partitions are mounted on my pc (system, data and others) Jan 07 15:49:15 Phone mounts that partitions on my pc* Jan 07 15:50:27 Can you try that init-ctl inject thingy? Jan 07 15:50:29 https://github.com/Halium/hybris-boot/blob/master/init-script#L57 Jan 07 15:51:54 i can't access to it. But now i built hybris boot withou some kernel configs so i can access to telnet Jan 07 15:52:38 I haven't tried it myself, but I think one of the partitions should contain init-ctl/stdin, you should be able to write commands into it and see the response in init.log Jan 07 15:55:32 If all you want is to enforce the telnet debug, you can also put a 1 at the end of this line: Jan 07 15:55:35 https://github.com/Halium/hybris-boot/blob/master/Android.mk#L31 Jan 07 15:56:15 @doniks, In which folder(init-ctl/stdin)? Jan 07 15:56:49 Not sure, is it not in the root folder of any of the phone partitions mounted on the pc? Jan 07 15:57:37 In the root no, there isn't Jan 07 15:59:19 The init-ctl is not on any partition but only in RAM Jan 07 15:59:24 Afaik Jan 07 15:59:26 doniks: something is strange, plasma is started fwiw, is it possible that brightness is too low? Can you write to sysfs for brightness Jan 07 15:59:29 ah ok Jan 07 15:59:53 @bshah, tried that, no doesn't change Jan 07 16:00:11 that line at the end "kgsl kgsl-3d0: |kgsl_add_fence_event| invalid fence fd" Jan 07 16:00:18 is repeated for ever and ever Jan 07 16:00:29 kwin_wayland occupies 20% cpu Jan 07 16:00:56 doniks: I remember earlier you switched blobs or something.. what binary blobs you are using? Jan 07 16:01:38 I'm pretty much sure you had this same issue earlier btw.. (at least 60% sure) Jan 07 16:04:31 @Satyam2345, Thanks, at least it is not just me then... Jan 07 16:05:36 bshah, I haven't touched the source tree in a while and just resurrected it from my laptop .... I think I'm using these: https://developers.google.com/android/drivers Nexus 7 (Mobile) binaries for Android 6.0.1 (MOB30X) , but it's hard to say once it's just files on the disk .... would have to delete/replace/rebuild to be sure Jan 07 16:08:00 I have had the brightness problem in the past, maybe you remember that! But this time I have done the echo 200 > /sys/class/leds/lcd-backlight/brightness , but it doesn't show me plasma Jan 07 16:08:50 I see that the light intensity changes between 100 and 200, so it has effect, but it's just two different variants of black Jan 07 16:10:18 @Mattia, can you confirm that the enp3s0 device is NOT there when you unplug the phone? Jan 07 16:12:06 Hello, is it possible to disable disk encryption ("cryptfs") in a easy way? Jan 07 16:19:24 doniks: I suggest to try TheMuppets blobs instead of Google ones Jan 07 16:20:03 @bhushanshah, ok I'll try Jan 07 16:20:45 (because I have rather blurry memory of this fixing issues for you) Jan 07 16:22:05 mhmmmmm. I don't. I know it came up in conversations, but I have no recollection of it ever having had an effect .... but let me try Jan 07 16:24:01 btw doniks, can you push your changes to your github account and add a manifest to our halium-devices repository so other people can build for your device too? Jan 07 16:25:48 doniks: lol, I just read your ubports forum post and it literally mentions *dark magic* fixed the issue.. now I don't know what dark magic I did Jan 07 16:25:56 :D Jan 07 16:27:05 @bhushanshah, well, whatever that was, it came to me after I did a repo sync, so, I would not expect that it has regressed Jan 07 16:27:18 you didn't do any black magick ON MY laptop Jan 07 16:28:50 Correct Jan 07 16:28:55 But uhm Jan 07 16:29:01 @JBBgameich, ah yeah sure. I'll look into it Jan 07 16:29:31 doniks: can you ummm, provide me output of "loginctl"? Jan 07 16:30:14 @bhushanshah, if you still have pm-rootfs-20170703-131334.tar.gz around somewhere I can try that again to see whether it is a repression in the newer pm rootfs, or whether I'm doing somethign different Jan 07 16:30:50 images.plasma-mobile.org it will be Jan 07 16:31:00 phablet@localhost:~$ loginctl Jan 07 16:31:03 SESSION UID USER SEAT Jan 07 16:31:05 c2 32011 phablet Jan 07 16:31:07 c1 32011 phablet seat0 Jan 07 16:31:48 oh yeah, there it is Jan 07 16:31:49 Can you run loginctl kill-session c1 and retry? Jan 07 16:32:10 I mean well nothing to retry but just see if it starts pm Jan 07 16:32:21 btw I have just systemctl mask lxc.service in TWRP before I did that loginctl, not sure that matters Jan 07 16:32:45 Maybe... Maybe not Jan 07 16:32:47 Not sure Jan 07 16:33:01 screen went black Jan 07 16:33:05 I mean Jan 07 16:33:07 blacker Jan 07 16:33:10 like backlight off Jan 07 16:33:20 Oh Jan 07 16:33:29 ninja: error: '/home/s-8506/Desktop/DesktopHalium/Halium/out/target/product/z2_plus/obj/STATIC_LIBRARIES/librecovery_ui_msm_intermediates/export_includes', needed by '/home/s-8506/Desktop/DesktopHalium/Halium/out/target/product/z2_plus/obj/EXECUTABLES/recovery_intermediates/import_includes', missing and no known rule to make it Jan 07 16:33:32 ?? Jan 07 16:34:45 @doniks, This definitely looks like issue of blobs tbh, I would try TheMuppets blobs and retry Jan 07 16:35:01 ok Jan 07 16:48:22 Theroretical question, if there is an unofficial Lineage for 14.1 which uses 13.0 kernel and device, will Halium be happy with those older trees too? Jan 07 16:50:50 The kernel should not change (much) between LineageOS versions I guess. Jan 07 16:51:10 @Flohack, seeing that the official QA process for Android kernels seems to be: If it runs its ready for production .... I would assume so, but I'm not speaking for Halium ;) Jan 07 16:52:19 Well I am not afraid so much about the kernel. In fact I am trying to do so right now ^^ - But I had to comment heavily in SELinux configs to get a clean build for example Jan 07 16:52:26 Expecting the lxc container will not be happy about this Jan 07 16:53:20 The kernel boots, as I said before. But maybe I should fall back to CM12.1 official. And halium-5.1 tree. By the way, is 5.1 being backported when smth cahnges on 7.1? Jan 07 16:53:32 @doniks: so I dug my IRC logs, and you had 3 issues initially, binary blobs, brightness (for test_hwcomposer) and a out of date bionic repo Jan 07 16:54:50 @bhushanshah No chroot in recovery? … ~ # chroot /a … chroot: can't execute '/sbin/sh': No such file or directory … ~ # /sbin/sh … ~ # exit … but /sbin/sh is there and works πŸ˜† Jan 07 16:54:51 @bhushanshah, haha, you are a meticulous man! Jan 07 16:55:18 I guess the bionic repo out of sync was what I referred to as black magic in the forum Jan 07 16:55:53 @flohack is it the wrong PATH inside the chroot? Jan 07 16:56:26 @Flohack, Maybe try `chroot /a /bin/bash` Jan 07 16:56:54 PATH=/sbin:/bin:/usr/sbin:/usr/bin:$PATH chroot . /bin/bash Jan 07 16:57:05 @Flohack, `chroot /a /bin/bash` maybe Jan 07 16:57:14 @JBBgameich, Works thx Jan 07 16:57:28 lol no commands found πŸ˜† Jan 07 16:57:38 PATH Jan 07 16:57:55 PATH='/sbin:/system/bin' Jan 07 16:57:57 lol Jan 07 16:58:04 @JBBgameich, Uh. I blame a loss of connectivity Jan 07 16:58:28 @Flohack, Go to the next like in the docs Jan 07 16:58:42 @Flohack, . /etc/environment Jan 07 16:59:39 @JBBgameich, perfect thx! Jan 07 17:12:14 @Mattia, Ha got smth similar now: … [ 20.575214] EXT4-fs error (device loop0): htree_dirblock_to_tree:591: inode #80002: block 335873: comm systemd: bad entry in directory: rec_len is smaller than minimal - offset=0(0), inode=0, rec_len=0, name_len=0 Jan 07 17:12:53 How long does halium boot normally? NOw I see entries around 50 seconds from boot, still doing smth Jan 07 17:13:28 [ 22.565735] EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null) … [ 50.474565] F2FS-fs (mmcblk0p24): Can't find valid F2FS filesystem in 1th superblock … Quite a distance... Jan 07 17:13:47 Shall I wait longer? Jan 07 17:14:51 @Flohack, Abput 3 seconds ... Jan 07 17:15:03 lol Jan 07 17:15:07 For starters, I would try to fix usb first Jan 07 17:15:16 yeah sure Jan 07 17:15:44 I suggest to add some debugging in /usr/bin/usb-tethering and see where things go south Jan 07 17:16:08 And also disable lxc@android service to not cause trouble before you get ssh/usb Jan 07 17:16:40 I disabled already Jan 07 17:16:44 Now got this: … [28788.904358] usb 2-1.1: Manufacturer: SAMSUNG … [28788.904359] usb 2-1.1: SerialNumber: GNU/Linux Device on rndis0 10.15.19.82 … [28788.907369] rndis_host 2-1.1:1.0 eth0: register 'rndis_host' at usb-0000:00:1d.0-1.1, RNDIS device, 00:00:00:00:00:00 … [28788.924478] rndis_host 2-1.1:1.0 enp0s29u1u1: renamed from eth0 … [28788.978406] IPv6: ADDRCONF(NETDEV_UP): enp0s29u1u1: link is not ready Jan 07 17:17:13 Wee Jan 07 17:17:19 :) Jan 07 17:17:20 But no Ip addy Jan 07 17:17:23 udhcp? Jan 07 17:17:28 where are you πŸ˜† Jan 07 17:17:34 Sure add it ip address manually Jan 07 17:17:37 ahhh Jan 07 17:17:42 this is NOT recovery Jan 07 17:17:44 debugh Jan 07 17:17:54 10.15.19.100 address Jan 07 17:17:56 Jesus I am waiting while it was successful lol Jan 07 17:18:07 Ok back reading porting guide ^^ Jan 07 17:18:13 And then ssh root@10.15.19.82 Jan 07 17:18:36 Btw, maybe we should port the tethering-script to the ip command, it's still using legacy ifconfig Jan 07 17:19:03 @bhushanshah, Hmm I would suggest the same behaviour in debug and in run config. So also having udhcpd and 192 range ^^ Jan 07 17:20:01 @Flohack, It's been in Todo from forever but this became new normal so now it will be just practice killer :P Jan 07 17:20:17 ^^ Jan 07 17:20:22 For me its not normal πŸ˜† Jan 07 17:20:26 (I know I know.. anti patterns talk) Jan 07 17:20:38 πŸ˜› Jan 07 17:21:09 The one from 24C3 by Fefe? Jan 07 17:23:26 Yeah.. https://media.ccc.de/v/34c3-9095-antipatterns_und_missverstandnisse_in_der_softwareentwicklung Jan 07 17:24:10 While reading usb-tethering script ... I noticed it's heavily based on hybris-boot apparently Jan 07 17:24:44 It's basically a one-line change to make it use 192.186.2.15 ip range Jan 07 17:26:26 Guys i enabled always debug, all partition are mounted and i ran this command "echo "continue" >/init-ctl/stdin", i can't connect with telnet or ssh and with this command "while : ; do lsusb -v 2>/dev/null | grep -Ee 'iSerial +[0-9]+ +[^ ]' ; done | uniq" i got this "iSerial 3 Mer Debug: done debug, disabling storage" Jan 07 17:26:41 Something is wrong? Jan 07 17:30:12 @Flohack, I remember that mariogrip wanted to fix the dhcp server a few month ago ... I don't even remember what the problem was exactly. Jan 07 17:30:57 There are already configuration files for it. Jan 07 17:31:32 Can someone please look if there is some crashed dhcp server in systemctl status? Jan 07 17:32:56 @Mattia, you ran the continue command INSIDE telnet, right? Jan 07 17:33:39 @bhushanshah, I cannot assign the address to the interface, what is netmask on this? Jan 07 17:34:21 should be 255.0.0.0 Jan 07 17:34:52 @doniks, Yes and i got that output Jan 07 17:36:00 ok, and afterwards the partitions are NOT mounted anymore, correct? Jan 07 17:36:11 Well it seems my cheers were too eraly: … IPv6: ADDRCONF(NETDEV_UP): enp0s29u1u1: link is not ready Jan 07 17:36:12 @doniks, yes Jan 07 17:36:21 I cant assign addy or bring interface up ^^ Jan 07 17:37:23 @Mattia, congratulations, you are past the initrd, on to the next step: https://docs.halium.org/en/latest/porting/install-build/index.html Jan 07 17:39:24 @doniks, Thanks but i have already system.img and rootfs.img in data partition but i can't ssh Jan 07 17:40:36 Can you check if rootfs.img is actually mounted correctly? Jan 07 17:40:48 @Mattia, Did you boot normally, wait 2mins or so, then reboot in recovery and pull last_kmsg to inspect? Jan 07 17:40:59 yes what I think we need to see in the kernel log Jan 07 17:41:31 @JBBgameich, Yes rootfs.img is correctly mounted Jan 07 17:42:20 @Flohack, have i change the always debug on android.mk to 0? Jan 07 17:44:13 @mattia, doesn't matter for the last_kmsg Jan 07 17:44:39 @doniks, I know Jan 07 17:47:26 Here you are https://pastebin.com/2fgSjEKK Jan 07 17:51:23 Linux version 3.4*0-g83462a8-01427-gad51ea1 (buiLder@taishan) gcc verSion 4.8 (GCC) ) #1 RMP PREEMPT Sun Dec 7 18:1):05 CST 2014 Jan 07 17:51:38 Is that the kernel built by you or from the recovery Jan 07 17:52:26 did you reboot without turning off? Jan 07 17:53:02 @doniks, I rebooted it with the power button Jan 07 17:53:38 @doniks, I took kernel from lineage os Jan 07 17:55:01 You can go back into telnet, check dmesg there Jan 07 17:55:33 at the top of it you'll see the linux version if it is a different one than in the log you posted then it's a different kernel Jan 07 17:56:11 Btw fwiw it's recovery for sure Jan 07 17:56:12 And if that is the case .... dunno, can you try to reboot in another way, it seems you are not getting the "LAST" kmsg but the current one Jan 07 17:56:51 you're not letting go of the power button while rebooting, right? Jan 07 17:57:42 kernel version from dmesg: … Linux version 3.4.0-cyanogenmod (drramm@dinesh) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Sun Jan 7 19:22:07 MSK 2018 Jan 07 17:59:15 @doniks, when i reboot the phone i press the button until i see the mi logo Jan 07 18:00:09 that sounds like I do it on my tablet, but it seems you are unlucky and you get the new log :( Jan 07 18:00:34 does that last_kmsg depend on a kernel config? Jan 07 18:01:32 here the last_kmsg took from telnet … https://pastebin.com/YjSNiAzy Jan 07 18:01:45 @bhushanshah expect PR for the setup of network. I must say this needs more details ^^ Jan 07 18:02:21 some new kernel doesn't have /proc/last_kmsg they use /sys/fs/pstore/console_ramoops Jan 07 18:03:15 @revertive, I doubt this effects the old kernels we are using ^^ Jan 07 18:03:28 @revertive, I haven't got the second path. My kernel is 3.4 Jan 07 18:05:02 Also, make sure that console=ram is last console statement in kernel cmdline, and enable CONFIG_RAM_CONSOLE=y Jan 07 18:05:17 I got picky bootloaders always injecting console=null or none Jan 07 18:05:33 there seem to be 3.4.0 kernels that use ramoops Jan 07 18:07:25 @Flohack, i haven't got config_ram_console on kernel configuration. have i enable it? Jan 07 18:07:40 And where is the kernel cmdline? Jan 07 18:08:57 i see this on dmesg: … [ 45.251824] systemd[1]: Failed to determine whether /sys/fs/cgroup is a mount point: Too many levels of symbolic links … [ 45.251970] systemd[1]: Failed to mount cgroup at /sys/fs/cgroup/systemd: NO such filE oR directory … [ 45.252206] syctemd[!]2 FrEering execution. … It is a problem??? Jan 07 18:09:20 It reminds me of a log there was a patch available for ... Jan 07 18:09:36 @Mattia, The same I had today!!! Jan 07 18:10:01 @Flohack, Have you resolved it?😁 Jan 07 18:10:06 I think yes Jan 07 18:10:09 I did have that problem a while ago let me see if i can find the patch Jan 07 18:10:11 @mattia (kernel command line : https://github.com/Halium/hybris-boot/blob/master/Android.mk#L26) Jan 07 18:10:33 @Mattia, yes you need to apply the following patch to your kernel: Jan 07 18:10:47 @Flohack, console==ram? Jan 07 18:11:10 Mattia ^no this one: Jan 07 18:11:11 Fwd from bhushanshah: https://github.com/Halium/android_kernel_lge_hammerhead/commit/25437b2a54dd619a96e268ecaf303b089aa785e4 Jan 07 18:12:04 @Flohack, Thanks, after the shower i'll tryπŸ˜‚ Jan 07 18:12:48 should we collect common errors and patches in the documentation? Jan 07 18:17:06 @doniks, Probably yes. Jan 07 18:20:01 Tadaaa! Successfully in the rootfs of my Samsung S3 Neo ^^ Jan 07 18:20:34 For 10 seconds, after which I get kicked out by disconnected network lol Jan 07 18:21:27 @Flohack, Same happens for me. I maually turn off the connection then connect using terminal ssh Jan 07 18:21:42 @TheImpulson, Its probably network manager? Jan 07 18:22:29 The only thing that helps against the disconnecting is don't using the ssh connection for about 30 seconds after initial connecting. After that, the connection should be stable. I have no Idea why this works though Jan 07 18:22:44 @Flohack, just give it time Jan 07 18:22:49 @JBBgameich, Initial connection of network or assigning IP? Jan 07 18:23:11 Iinitial ssh connecting Jan 07 18:23:15 its like your girlfriend ... it needs time Jan 07 18:24:35 @Mr_Doge, print ("Progarmmers have no life") Jan 07 18:24:49 @Flohack, connect the device .. leave it there for 2 min.. as the connection get stable you will be able to connect Jan 07 18:25:39 @Mr_Doge, Thats the point probably: … prevent Network Manager from managing usb0, adding into /etc/NetworkManager/NetworkManager.conf file the MAC address you specified in the script: … [keyfile] … unmanaged-devices=mac:02:11:22:33:44:55 Jan 07 18:25:48 (Document) https://irc.ubports.com/syGnNFoi/file_3640.mp4 Jan 07 18:27:06 @Flohack, I can't try it now. I am too tired as it is almost 11:56 PM here. Jan 07 18:27:25 You got ssh now? Jan 07 18:30:22 @TheImpulson, Not stable. Exception in network manager changes nothing Jan 07 18:30:43 Doh @bhushanshah can we please have adb in reference rootfs this is so much simpler Jan 07 18:30:54 But not to package Jan 07 18:31:06 That's the reason why it's not inside Jan 07 18:31:27 But TWRP can do it, so we can do it too ^^ Jan 07 18:31:44 I published some new autoconnect script a few minutes aggo, it should save you some time because you don't have to assign the ip manually (assuming it works): https://github.com/JBBgameich/halium-install Jan 07 18:31:47 @Flohack, Try that automatic connection off and connect manually via terminal. Jan 07 18:32:18 @TheImpulson, I tried already to disable the card in NetworkManager.conf but it does not work. How ti disable? Jan 07 18:32:45 @JBBgameich, https://raw.githubusercontent.com/JBBgameich/halium-install/master/connect.py Jan 07 18:32:50 @Flohack, I do via network settings options available in panel. Jan 07 18:33:10 or better try that script JBB pushed. Jan 07 18:34:21 If the new script doesn't work, please report and I will revert back to my old shell script Jan 07 18:36:25 Ok so I got it stabilized Jan 07 18:36:34 guys what are your first test on a new port? Jan 07 18:37:06 test_lights ... OK πŸ˜† Jan 07 18:37:10 systemctl status lxc@android Jan 07 18:37:29 test_vibrator ... OK ship it πŸ˜† Jan 07 18:37:35 test_hwcomposer Jan 07 18:37:42 `test_vibrator` (because it mostly just works), and then probably connecting wifi (assuming container already starts) Jan 07 18:37:45 lxc is disabled now Jan 07 18:37:52 shall I enable? Jan 07 18:38:46 nothing except lights and vibrator will work without it Jan 07 18:39:16 @JBBgameich, hehe ok Jan 07 18:39:25 @doniks, For me it never worked on halium. Jan 07 18:40:02 EGL_PLATFORM=hwcomposer test_hwcomposer Jan 07 18:40:05 works on deb Jan 07 18:40:11 Feb 11 17:04:47 localhost.localdomain systemd[1]: Started LXC Container: android. Jan 07 18:40:26 @TheImpulson, does it work on something OTHER than halium? what? Jan 07 18:40:31 Active: active (running) since Thu 2016-02-11 17:04:47 UTC; 27s ago Jan 07 18:40:37 So it seems to start yippieh Jan 07 18:40:43 @doniks, Plasma works Jan 07 18:40:50 @Flohack, lxc-checkconfig Jan 07 18:41:19 @TheImpulson, Uh missing a lot Jan 07 18:41:29 @Flohack, echo sta > /sys/module/wlan/parameters/fwpath Jan 07 18:41:31 @TheImpulson, ha, interesting, I thought that was kinda the precondition Jan 07 18:41:41 @TheImpulson, then nmtui Jan 07 18:41:47 @TheImpulson, https://pastebin.com/juTRKEay Jan 07 18:42:27 @doniks, Check wifi now Jan 07 18:42:39 @TheImpulson, root@localhost:~# echo sta > /sys/module/wlan/parameters/fwpath … -bash: echo: write error: No such devic Jan 07 18:42:48 @doniks, Plasma completely dead though Jan 07 18:43:14 @Flohack, first: echo 1 > /dev/wcnss_wlan Jan 07 18:43:27 Yeah! sorry I missed that Jan 07 18:43:41 @TheImpulson, Shall we document this somewhere Jan 07 18:43:56 @Flohack, It is in docs. I am half asleep Jan 07 18:44:00 ok ^^ Jan 07 18:44:00 https://docs.halium.org/en/latest/porting/debug-build/wifi.html Jan 07 18:44:36 @doniks, You build for? Jan 07 18:44:48 deb, Nexus 7 2013 tablet Jan 07 18:45:03 https://forums.ubports.com/topic/431/porting-halium-to-nexus-7-deb Jan 07 18:45:48 @TheImpulson, what does "Plasma completely dead though" mean Jan 07 18:45:54 what does (not) work? Jan 07 18:45:58 @doniks, I this post when I first joined group. Jan 07 18:46:11 @doniks, Question should be what works Jan 07 18:46:32 @doniks> @Flohack, first: echo 1 , root@localhost:~# echo 1 > /dev/wcnss_wlan … -bash: /dev/wcnss_wlan: Bad address Jan 07 18:46:43 Do you have more than one color on the screen or is it a color other than black? Jan 07 18:46:50 If so, you are ahead of me :) Jan 07 18:46:51 @Flohack, try nmtui Jan 07 18:47:04 @doniks, I get GUI. Jan 07 18:47:11 @TheImpulson, I do not have the wifi interface now ^^ Jan 07 18:47:31 nice Jan 07 18:47:39 for both of you :) Jan 07 18:47:42 where is the logcat thingie in rootfs? I only know UT Jan 07 18:47:59 @Flohack, I do NOT .... Jan 07 18:48:00 @Flohack, Leave wifi. test something else. Proably so many missing things are creating issue. Jan 07 18:48:06 ^^ Jan 07 18:48:25 @doniks, both? Jan 07 18:48:32 for me not :( Jan 07 18:49:03 Babylonic confusion, I tried to congratulate you TheImpulson for PM and you Flohack for wifi Jan 07 18:49:12 hmm library "libcamera_compat_layer.so" not found Jan 07 18:49:33 test_sensors ... OK ^^ Jan 07 18:49:36 @doniks, Thanks Jan 07 18:49:48 @Flohack, test_audio Jan 07 18:49:53 test audio hangs Jan 07 18:50:04 BUt I also dont see any soundcard in kernel dmesg Jan 07 18:50:11 htop Jan 07 18:50:44 Well I never checked all stuff. Probably why my PM is almost dead. Jan 07 18:51:07 @doniks, You have XDA thread for halium? Jan 07 18:51:38 no Jan 07 18:51:50 is halium a thing on xda? Jan 07 18:52:07 JESUS! Forgot udev rules πŸ˜† Jan 07 18:52:22 @Flohack, LOL Jan 07 18:52:54 @doniks, Not yet! and won't untill XDA tries to make it a thing. Jan 07 18:53:36 And I guess you are saying .... XDA is .... us?! So, if we don't do it, it won't happen :) Jan 07 18:55:04 @doniks, In a way, Yeah! Jan 07 18:56:39 I have the feeling, the one thing holding halium back right now the most, is that you can't show off anything really Jan 07 18:57:17 You can run Plasma Mobile on halium and show that :P Jan 07 18:57:21 Not sure whether PM has matured a lot in the last 6 months, but if not then bash & ssh is about as fancy as it gets currently right? Jan 07 18:57:42 Would you be able to impress an XDA audience with it? Jan 07 18:58:16 @TheImpulson, Ok with the container enabled and udev in place I get kernel panic πŸ˜† Jan 07 18:58:29 @Flohack, Only `CONFIG_DEVPTS_MULTIPLE_INSTANCES` is needed. For example user namespace often only makes problems Jan 07 18:58:37 well it's a proof of concept that a full linux os can run on android hardware, so it depends on the crowd you get Jan 07 18:58:40 @doniks, My forum users are mostly Indians and as I am certain they won't use it mostly. They are mad about VoLTE Jan 07 18:58:45 @JBBgameich, (Sorry, missed the backlog, in case someone else already answered) Jan 07 18:58:59 @JBBgameich, Nope. You are the first one. Jan 07 18:59:36 @JBBgameich, Shouldnt we add this to the checker then? Jan 07 19:00:21 I think halium hasn't forked any checker yet Jan 07 19:00:27 @Flohack, I asked about that earlier, but the answer was that we already have lxc-checkconfig for that Jan 07 19:00:36 using mer checker and notes in the doc so far Jan 07 19:00:51 @JBBgameich, But this comes at a point when I am past kernel compilation Jan 07 19:00:59 So I have no to go back, modify kernel and recompile again Jan 07 19:01:16 If we offer a handy check tool, it shoulkd check all necessary stuff Jan 07 19:01:36 @Flohack, you could run it on your compiling machine too `CONFIG=kernel/vendor/device/arch/arm/configs... lxc-checkconfig` Jan 07 19:02:11 @Flohack, But yeah, maybe a combined check tool would be a good Idea Jan 07 19:02:18 @JBBgameich, Plus on UT we got a much better script, it can actually modify the kernel config automatically. This is where I want to get Jan 07 19:02:45 I'm still not sure if I like mer-verify-kernel-config or your Ubuntu Touch script more (coding-style and language wise) Jan 07 19:03:16 The nice thing about the mer checker is that it can tell you why you have to enable / disable something Jan 07 19:04:57 WTF! root.img and system.img gone from device Jan 07 19:05:04 NOw its clear why it bootloops Jan 07 19:05:16 omg starting over.... Jan 07 19:05:57 Oh, lxc doesn't like to be restarted ... yet https://github.com/Halium/lxc-android/pull/3/files Jan 07 19:06:22 @Flohack, I had that before. Never figured out how it happened Jan 07 19:06:57 @doniks, Maybe it did not like write acces with my udev rules and then reboot was not wroking, nor shutdown -r and I rebooted forcefully ^^ Jan 07 19:09:17 Btw, please review my PR if you have some free time: https://github.com/halium-packaging/hybris-usb-packaging/pull/4/files Jan 07 19:10:25 I need 120 seconds until ssh is up btw Jan 07 19:10:43 @Flohack, reboot never works I assume? I always rebooted forecefully. Jan 07 19:11:07 Hmm reboot is comman dnot found and shutdown too ^^ but this could be added to busybox Jan 07 19:12:19 busybox shouldn't be available inside the rootfs... maybe `systemctl poweroff` works Jan 07 19:16:42 Do we have a plasma mobile group somewhere? I need it's logo for my XDA thread Jan 07 19:17:25 nvm, I got it. Jan 07 19:18:02 @doniks, https://www.xda-developers.com/halium-is-an-open-source-project-working-towards-a-common-base-for-non-android-mobile-operating-systems/ Jan 07 19:18:21 @TheImpulson, @plasmamobile Jan 07 19:22:53 Uh: … Feb 11 16:40:07 localhost.localdomain lxc-start[3480]: lxc-start: utils.c: mkdir_p: 254 Invalid argument - failed to create directory '/sys/fs/cgroup/net_cls//lxc/androi Jan 07 19:26:46 Does your kernel contain some of the commits LNJ reverted here? https://github.com/LineageOS/android_kernel_sony_apq8064/compare/cm-14.1...Halium:halium-7.1 Jan 07 19:27:25 (I just remember this error having to do something with that commits) Jan 07 19:32:14 @JBBgameich, hmm looking Jan 07 19:33:02 +# somehow conflicts with LXC … +CONFIG_NETPRIO_CGROUP=n … +# somehow conflicts with LXC … +CONFIG_NET_CLS_CGROUP=n Jan 07 19:33:10 but this is required by mer checke Jan 07 19:33:14 Guys i got this but no ssh: … https://pastebin.com/6bPVyn8n Jan 07 19:33:37 @Flohack, maybe it's some of the things marked as "optional"? Jan 07 19:36:28 @JBBgameich, doh Jan 07 19:36:40 I try without tose 2 now Jan 07 19:36:55 @Mattia, did you solve the "Too many levels of symbolic links" thing? Jan 07 19:38:24 @doniks, I haven't got this problem in dmesg and last_kmsg Jan 07 19:39:01 i see this on dmesg: … [ 45.251824] systemd[1]: Failed to determine whether /sys/fs/cgroup is a mount point: Too many levels of symbolic links … [ 45.251970] systemd[1]: Failed to mount cgroup at /sys/fs/cgroup/systemd: NO such filE oR directory … [ 45.252206] syctemd[!]2 FrEering execution. … It is a problem??? Jan 07 19:39:06 " Jan 07 19:39:09 ? Jan 07 19:40:27 Maybe related to this: Jan 07 19:40:28 Fwd from bhushanshah: See hammerhead kernel on halium GitHub, there is one commit by torvalds in halium-5.1 branch Jan 07 19:40:29 Fwd from bhushanshah: Backport that patch Jan 07 19:40:30 Fwd from vanyasem: https://github.com/Halium/android_kernel_lge_hammerhead/commit/25437b2a54dd619a96e268ecaf303b089aa785e4 Jan 07 19:40:32 Fwd from vanyasem: this commit Jan 07 19:40:55 @JBBgameich, I've already changed that file Jan 07 19:41:16 (That answer was related to doniks error) Jan 07 19:41:35 Damn again gone! … florian@flummi:~/halium-7.1/out/target/product/s3ve3g$ adb shell … ~ # ls /data … alive.txt media … ~ # Jan 07 19:41:44 rootfs deletion Jan 07 19:41:49 I qwuit for today Jan 07 19:41:55 Ugh, Mattia, I have a hard time following you to be honest Jan 07 19:41:58 2 days from start to booting OS is ok though Jan 07 19:42:00 good night Jan 07 19:42:21 Doniks look at this https://pastebin.com/6bPVyn8n Jan 07 19:43:07 Yeah in order to understand what you are showing us, I wanted to clarify whether the previous problem was solved .... Jan 07 19:43:27 I take it - it is solved Jan 07 19:43:52 The new log you are showing starts at sec 136. Why? Jan 07 19:43:56 But the problem is the ssh Jan 07 19:44:02 Oh wait Jan 07 19:44:43 @doniks, doniks: did my forwarded messages on Telegram arrive on irc? Jan 07 19:45:13 @Flohack, have you restarted the lxc@android service? Jan 07 19:45:41 Doniks https://pastebin.com/4tFKYxq5 Jan 07 19:47:04 @JBBgameich, There is a recent message from you: "Maybe related to this [...] Fwd from vanyasem: this commit" Jan 07 19:52:58 @mattia, don't know, can't see anything specific in the log, maybe somebody else does? sorry Jan 07 19:54:12 Thanks doniks Jan 07 19:55:20 @JBBgameich @Flohack @UniversalSuperBox @vanyasem Can you help me? (if you want) Jan 07 19:55:44 please don't ping people out of nowhere.. Jan 07 19:56:02 Fwd from bhushanshah: Okay Guys, I've mentioned this earlier but here we go again, can we a) stop pinging people for every issue? b) keep patience when your question gets no answer? … This is common internet equiette and would be nice if everyone can follow that.. Jan 07 19:56:03 Fwd from bhushanshah: I mean it's fine to ask for help, but this is not 24x7 help desk where you can expect instant help Jan 07 19:56:04 Fwd from bhushanshah: People have jobs, school, or other personal matters to take care as well Jan 07 19:56:05 Fwd from bhushanshah: This is so stupid to ping people every 5 minutes Jan 07 20:00:19 Sorry... It's the first time, I do not do it anymore Jan 07 20:34:56 thank you. I check the chat and answer all questions I know the answer to. If I'm not here, it means I'm busy with something else Jan 07 20:54:34 Ok, thanks for help! You deserve a coffee Jan 07 20:54:39 πŸ˜‚ Jan 07 20:55:30 ninja: error: '/home/s-8506/Desktop/halium/out/target/product/z2_plus/obj/STATIC_LIBRARIES/librecovery_ui_msm_intermediates/export_includes', needed by '/home/s-8506/Desktop/halium/out/target/product/z2_plus/obj/EXECUTABLES/recovery_intermediates/import_includes', missing and no known rule to make it Jan 07 20:56:15 simple solution : … touch /home/s-8506/Desktop/halium/out/target/product/z2_plus/obj/STATIC_LIBRARIES/librecovery_ui_msm_intermediates/export_includes Jan 07 20:57:10 I got something similar with Oneplus2 Jan 07 21:01:27 means?? Jan 07 21:04:08 in a terminal, you execute this command: … touch /home/s-8506/Desktop/halium/out/target/product/z2_plus/obj/STATIC_LIBRARIES/librecovery_ui_msm_intermediates/export_includes Jan 07 21:05:20 s-8506@s8506-X556UR:~/Desktop/halium$ touch /home/s-8506/Desktop/halium/out/target/product/z2_plus/obj/STATIC_LIBRARIES/librecovery_ui_msm_intermediates/export_includes … touch: cannot touch '/home/s-8506/Desktop/halium/out/target/product/z2_plus/obj/STATIC_LIBRARIES/librecovery_ui_msm_intermediates/export_includes': No such file or directory Jan 07 21:14:43 ureadahead.service: Main process exited, code=exited, status=5/NOTINSTALLED Jan 07 21:15:15 This service is Obligatory for systemd? Jan 07 21:18:44 @SALPHA8506, the librecovery_ui_msm_intermediates directory isn't yet create … try … mkdir /home/s-8506/Desktop/halium/out/target/product/z2_plus/obj/STATIC_LIBRARIES/librecovery_ui_msm_intermediates … touch /home/s-8506/Desktop/halium/out/target/product/z2_plus/obj/STATIC_LIBRARIES/librecovery_ui_msm_intermediates/export_includes Jan 07 22:02:17 @JBBgameich, It worked and is in documentation: http://docs.halium.org/en/latest/porting/debug-build/debug-android-userspace.html Jan 07 22:02:45 LOGCAT alive! πŸ˜† Jan 07 22:04:04 02-11 16:34:49.441 386 386 D RILD : RIL Daemon Started … 02-11 16:34:49.442 386 386 D RILD : RILd param count=1 … 02-11 16:34:49.442 386 386 E RILD : dlopen failed: dlopen failed: library "/system/lib/libsec-ril.so" not found Jan 07 22:04:09 meh πŸ˜† Jan 07 22:04:33 But great success guys! 2 days from 0 to this result with Halium guide and Telegram group πŸ˜† Jan 07 22:12:22 @Flohack, congratulations :D Jan 07 22:12:50 thx ^^ I hope to get the first Samsung device working with UT on 16.04 ^^ Jan 07 22:17:53 (Photo, 357x261) https://irc.ubports.com/EsDbvsDt/file_3645.jpg WiFi on S3 Neo Jan 07 22:22:15 wow … wifi working on first test, good news … (nerdbase ^^ I like this name) Jan 07 22:22:18 no ssh etc in the rootfs? Jan 07 22:22:27 Yes my home WiFi lol Jan 07 22:22:41 How can I test smth and know my IP addy Jan 07 22:24:08 good question ^^' Jan 07 22:28:39 @Flohack, How you resolved It? **** ENDING LOGGING AT Mon Jan 08 03:00:02 2018