**** BEGIN LOGGING AT Thu Jul 26 03:00:02 2018 Jul 26 03:58:31 @Dzmitry Sankouski, what exactly do you want? halium consists of many pieces Jul 26 06:14:05 Hard Rich was added by: Hard Rich Jul 26 06:16:20 Does Halium support 8.1 android source trees or should I find/use a cm14.1 tree for my cpu? Jul 26 06:17:05 @Hard Rich, you need to use cm12.1 or cm14.1 Jul 26 06:18:04 Ok, I found a cm14.1 tree for my cpu but not the exact phone (Mediatek 6737, tree is for moto e4, porting to oukitel c5 pro) Jul 26 06:18:34 Also I don’t really care if cellular/gps/cameras don’t work ;) Jul 26 06:19:50 Cloning Halium cm14.1 now, I didn’t see much in the docs about merging the kernel tree w Halium source, any pointers? Jul 26 06:20:42 you don't need to merge anything Jul 26 06:20:59 you just take your lineage kernel, and change it's defconfig a little Jul 26 06:22:05 Even for something “unsupported” in cm? Sorry, this is my first android build (built lots of Linux kernels/distros however) Jul 26 06:22:35 what do you mean by that? i already answered your question :P Jul 26 06:23:46 got it, will look at the lineage defconfigs, thanks :) Jul 26 06:32:05 vanyasem: Hey! how are you? Jul 26 06:33:21 @dohniks, I want to debug step-by-step test_hwcomposer(it fails with segfault), so I need to add debug symbols at least to test_hwcomposer itself. … I thought, maybe there is an easy way to add debug symbols globally to all C scope of halium + lineage tree( to step in functions) Jul 26 06:34:04 @Dzmitry Sankouski, As for segfault, which device? Jul 26 06:34:20 Samsung A5 2017 a5y17lte Jul 26 06:34:37 That's Exynos device right? Jul 26 06:34:41 yes Jul 26 06:34:55 Do you have strace output? Jul 26 06:35:26 https://github.com/eqwewqdasdsaczxcxz/logs_a5y17lte/blob/master/gdb_strace Jul 26 06:36:11 @Dzmitry Sankouski, that's not strace Jul 26 06:36:39 please run `export EGL_PLATFORM=hwcomposer` … `strace -s 1024 test_hwcomposer` Jul 26 06:36:49 and paste output of the strace Jul 26 06:37:01 it's going to be very long, several thousand lines Jul 26 06:37:40 ok, in few minutes Jul 26 06:39:38 @Dzmitry Sankouski, Also, when you run test_hwcomposer logcat output from another terminal would be useful Jul 26 06:42:43 Also looking at backtrace briefly, it looks like outdated libhybris. You're using reference rootfs right? Jul 26 06:43:42 Also this is halium 5? Jul 26 06:52:04 https://github.com/eqwewqdasdsaczxcxz/logs_a5y17lte/blob/master/strace Jul 26 06:52:20 @bhushanshah, It's halium-7.1 Jul 26 06:52:31 @bhushanshah, yes Jul 26 06:53:06 Right, do you have working network connection? Jul 26 06:54:25 echo_salik: hi. i'm alright. please fix your docs PR so that it compiles by travis Jul 26 06:54:59 vanyasem: yep... but what exactly do i need to fix... Jul 26 06:56:05 first of all, you need to take a look at an example PR that i sent to you. then you should compare an example PR to your PR. Then you will see, that you are missing an entry in index.rst, and that your formatting is incorrect Jul 26 06:56:10 when you notice it, kindly fix it Jul 26 06:58:23 @bhushanshah, no Jul 26 06:58:52 @Dzmitry Sankouski, usb tethering also doesn't work ? Jul 26 06:58:55 @bhushanshah, https://github.com/eqwewqdasdsaczxcxz/logs_a5y17lte/blob/master/logcat_during_test_hwcomposer Jul 26 06:59:56 @vanyasem, I don't try it, but how it is related to hwcomposer? Jul 26 07:00:07 @vanyasem, [Edit] I don't tried it, but how it is related to hwcomposer? Jul 26 07:00:11 @Dzmitry Sankouski, Bhushan asked you to get an internet connection Jul 26 07:00:18 don't question what Bhushan says. never. Jul 26 07:00:36 Alright then Jul 26 07:00:40 try it ;) Jul 26 07:01:32 @vanyasem, Lol Jul 26 07:01:42 Thing is Jul 26 07:01:57 I suspect the libhybris in reference rootfs is too old Jul 26 07:02:03 You might need to update it Jul 26 07:02:12 And your crash might be automagically fixed Jul 26 07:24:13 > <@freenode_ubptgbot:matrix.org> first of all, you need to take a look at an example PR that i sent to you. then you should compare an example PR to your PR. Then you will see, that you are missing an entry in index.rst, and that your formatting is incorrect Jul 26 07:24:14 Ah... I thought index.rst might be the reason. And formatting... xD Jul 26 07:26:16 @bhushanshah, got it working Jul 26 07:26:50 @echo_salik[m], The travis checks every single character, the amount of --- must match the length of the line. The formatting is very strict Jul 26 07:27:40 @vanyasem: honestly that is pretty cool... Jul 26 07:28:57 @Dzmitry Sankouski, Can you add 'deb http://repo.halium.org/generic xenial main' in apt sources.list, apt update and then apt upgrade? **** BEGIN LOGGING AT Thu Jul 26 08:31:41 2018 Jul 26 08:44:55 hmm do we also have 5.1 support? Jul 26 08:46:11 in other words is porting 2012 nexus 7 feasible? Jul 26 08:46:38 @Eranuzan, Yeah, 5.1 and 7.1 Jul 26 08:47:11 great! starting to RTFM... Jul 26 08:54:50 Nexus 7 2012 might be hard to some extent due to old 3.0(?) Kernel version Jul 26 08:55:08 Our rootfs glibc is not compiled against that kernel version Jul 26 08:56:39 newer glibc dropped support for kernels older than 3.2 altogether Jul 26 09:16:29 @bhushanshah, I did upgrade, but still the same problem. Updated strace: https://github.com/eqwewqdasdsaczxcxz/logs_a5y17lte/blob/master/strace Jul 26 09:18:03 @Dzmitry Sankouski, Does EGL_PLATFORM=hwcomposer test_egl_configs work fine? Jul 26 09:19:57 seems, that yes, it print 17 configurations Jul 26 09:20:07 [Edit] seems, that yes, it prints 17 configurations Jul 26 09:21:15 Hm so what you're hitting is weird bug related to the printf (yes!) Jul 26 09:21:29 We had this in halium 5 earlier Jul 26 09:26:34 @bhushanshah, What was the problem in halium 5 with printf()? Jul 26 09:29:39 well.. printf would crash when printing float values Jul 26 09:30:28 for your case it would be this line : https://github.com/Halium/libhybris/blob/master/hybris/tests/test_hwcomposer.cpp#L183 Jul 26 09:34:13 ok, thanks for help! Jul 26 09:36:29 @Dzmitry Sankouski, What you can try is possibly plasma mobile rootfs, add udev rules and see if GUI is able to start there (http://images.plasma-mobile.org/rootfs) Jul 26 13:37:17 @van Jul 26 13:37:34 @vanyasem: It built! xD Jul 26 13:38:22 you're still missing an entry in index though Jul 26 13:38:27 in the table with device specs Jul 26 13:38:41 i don't really care about it, it doesn't serve much purpose, but if you don't mind, add it Jul 26 13:40:06 @vanyasem: ok... looking for it. Jul 26 13:40:07 take a look at https://github.com/Halium/docs/pull/78/files Jul 26 13:41:10 @vanyasem: oh... got it... Jul 26 13:55:35 echo_salik: Hey! Jul 26 14:03:03 hey Xessao Jul 26 14:03:59 How are the successes with porting? Jul 26 14:04:23 Xessao: read https://github.com/Halium/projectmanagement/issues/92 Jul 26 14:05:12 Xessao annoying @vanyasem alot xD Jul 26 14:07:56 Why? :D Jul 26 14:08:55 56 in-dev ports 2 closed 2 "ports" issues of which one duplicate 😱 Jul 26 14:08:55 I usually either misread or do something wrong, format incorrectly and things like these :P Jul 26 14:09:32 @vanyasem has really helped me out. Jul 26 14:18:55 so travis recreates its build environment everytime a push is made? Jul 26 14:19:12 @venyasem: Done. Jul 26 14:19:22 * @vanyasem: Done. Jul 26 14:20:01 venyasem xD. Moment, will take a look at your PR Jul 26 14:25:11 could you please explain how to unlock the bootloader Jul 26 14:25:20 "it's rather simple" won't do as an explanation Jul 26 14:26:10 could you also remove dev notes? i am talking about your camera patch. it's not the right place for it :P Jul 26 14:27:02 also you have a typo "Its has" should be "It has" Jul 26 14:38:58 @vanyasem: OK. Correcting it. BTW can i point it to the official document for bootloader unlocking? Jul 26 14:39:23 you can for sure Jul 26 14:40:04 i've never owned a xiaomi device, i sincerely don't know how to unlock it's bootloader. and this page in docs is meant to explain that to me Jul 26 14:40:35 @vanyasem: I understand. Adding link. Jul 26 14:44:54 @vanyasem: Done. And it built. It's kind of exciting seeing it build and succeeding. XD Jul 26 14:46:20 BTW its a general question, can we use anything else besides CyanogenMod or Lineage? Jul 26 14:47:21 If yes then how; if no then why? (out of curiosity) Jul 26 14:49:03 merged your PR Jul 26 14:50:18 are you ready to debug lxc/hwcomposer now? Jul 26 14:51:38 first, please apply this patch: https://github.com/Halium/android_kernel_htc_msm8996/commit/8ffd86e460de5cb2e923ba34a5b9a0aa34a2db68 Jul 26 15:00:25 @vanyasem: yeah sure.. Jul 26 15:01:16 @vanyasem: just a question... is that applicable for all msm devices? Jul 26 15:02:09 here is a PR to docs about this patch https://github.com/Halium/docs/pull/109/files Jul 26 15:02:13 @vanyasem, you need to send the patch to Lineage OS Jul 26 15:02:30 @ErnyTech, what? Jul 26 15:07:26 @vanyasem: made the changes, should i rebuild images? Jul 26 15:07:39 yeah rebuild hybris-boot Jul 26 15:08:12 also don't forget to push your changes to your repo Jul 26 15:09:18 yep... Jul 26 15:17:29 flashing hybris-boot Jul 26 15:18:11 rebooting Jul 26 15:20:15 @vanyasem: in ssh Jul 26 15:20:44 okay. is lxc running? Jul 26 15:22:04 * echo_salik[m] sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/XXSUFyqHvoPPIVewhioXLcmj > Jul 26 15:22:14 nope... failed Jul 26 15:22:26 don't paste logs directly Jul 26 15:22:29 use paste.ubuntu.com Jul 26 15:23:02 but well okay let's debug it :P Jul 26 15:23:08 nice... didnt know about paste.ubuntu Jul 26 15:23:38 @vanyasem: yay xD Jul 26 15:23:50 `systemctl --failed` output, `dmesg` output Jul 26 15:24:05 `mount` output Jul 26 15:24:21 @vanyasem: ok... Jul 26 15:24:25 `file /data/system.img` output Jul 26 15:26:51 dmesg logs are really big... i.e. going out of the max lines of my console... any alternative besides changing terminal settings? Jul 26 15:27:33 pipe it to a file and adb pull from twrp Jul 26 15:27:56 i use konsole, i just enable unlimited scrolling. i like kde Jul 26 15:29:22 wait... konsole supports that? Jul 26 15:30:22 ofc it does Jul 26 15:30:58 im new to KDE so thats like new for me. Jul 26 15:31:23 @vanyasem: systemctl and mount: https://paste.ubuntu.com/p/55FWQSFrq8/ Jul 26 15:32:11 hm, mounts seem okay Jul 26 15:32:19 what's the log of the lxc@android service? Jul 26 15:34:07 @vanyasem: dmesg: https://paste.ubuntu.com/p/ZxYGRPz233/ Jul 26 15:35:38 @vanyasem: systemctl log: Jul 26 15:35:38 https://paste.ubuntu.com/p/HMzCDVSFZm/ Jul 26 15:35:51 ah Jul 26 15:35:56 `lxc-checkconfig` output Jul 26 15:36:20 it looks like you forgot some kernel flags, as it failed to create a pty Jul 26 15:37:01 https://paste.ubuntu.com/p/wB6fdPtVYZ/ Jul 26 15:37:30 yep, you missed some kernel flags Jul 26 15:37:44 fix Multiple /dev/pts instances: missing and Cgroup cpuset: missing Jul 26 15:38:57 enable CONFIG_DEVPTS_MULTIPLE_INSTANCES and CONFIG_CGROUP_CPUSET Jul 26 15:39:21 then well rebuild hybris-boot, and run lxc-checkconfig again Jul 26 15:40:09 yep missed those... Jul 26 15:40:20 or is it CONFIG_CPUSETS now? not sure about the last one Jul 26 15:40:37 enable both just in case, not really sure Jul 26 15:41:08 second one... CONFIG_CPUSETS Jul 26 15:42:05 found that in config... as a comment Jul 26 15:44:49 also just a note, it's generally better to enable options by uncommenting and editing to =y instead of adding a huge chunk of kernel flags at the end of the defconfig. it's not an issue, just an esthetical moment Jul 26 15:46:59 @vanyasem: i did that so that i'd know which changes i had made... i thought i might have to enable disable them as trial and error.... Jul 26 15:47:34 you always have git log for that :P. but well it's okay, don't worry about it. you can sort it later using menuconfig Jul 26 15:48:51 @vanyasem: oh yes... menuconfig didnt work for me... always failed to build Jul 26 15:49:20 well you need to know how to configure it :P it usually defaults to wrong arch and wrong defconfig. but well later, i have no time for that now Jul 26 15:51:31 @vanyasem: lxc@android now active and running Jul 26 15:51:42 yay Jul 26 15:51:55 now well this device is CAF, so hwcomposer won't work anyways Jul 26 15:52:14 @vanyasem: lol i was going to ask for that xD Jul 26 15:52:20 https://docs.halium.org/en/latest/porting/debug-build/graphics.html#egl-bad-surface Jul 26 15:52:21 so next step? Jul 26 15:52:28 add caf repo as in the link above Jul 26 15:52:33 reboot Jul 26 15:52:37 and hwcomposer should work Jul 26 15:53:28 @bhushanshah caf reference rootfs when Jul 26 15:53:33 wont i need internet for that? Jul 26 15:53:52 oh, so you don't have internet yet, i forgot Jul 26 15:54:05 try what these docs say https://docs.halium.org/en/latest/porting/debug-build/wifi.html. does it work? Jul 26 15:54:34 ok... Jul 26 15:55:03 you can use nmtui instead of nmcli for a more user friendly UI Jul 26 15:55:27 oh it's there already, i didn't need to tell you :P Jul 26 15:55:27 `echo 1 > /dev/wcnss_wlan` Jul 26 15:55:28 `-bash: echo: write error: Bad address` Jul 26 15:55:45 https://github.com/Halium/docs/pull/110/files read this PR Jul 26 15:55:53 "This is not an error condition; don't get put off — try the second command." Jul 26 15:56:20 lol thanks though... i dont have to read xD Jul 26 15:56:24 yep just tried it... have wlan Jul 26 15:56:28 yaaaaaaaaaaaaaaaaaaaaaaay xD Jul 26 15:56:41 so well connect to your wifi network and then do what i said for caf Jul 26 16:00:52 socket permission denied... adding changes to the kernel... as suggested by docs. Jul 26 16:01:35 it's not a critical issue btw, but worth patching. this patch doesn't work for all devices, so plz let me know if it works Jul 26 16:02:06 yep... will do... Jul 26 16:08:37 what device are you guys porting? Jul 26 16:10:02 Fwd from vanyasem: https://github.com/Halium/projectmanagement/issues?q=is%3Aopen+is%3Aissue+label%3APorts Jul 26 16:11:03 Fuseteam: Xiaomi Redmi 4a Jul 26 16:11:59 @vanyasem: still got a permission denied Jul 26 16:12:17 Check logcat btw Jul 26 16:12:24 Are recvmsg messages gone? Jul 26 16:13:04 Or are you a different person. I don't remember who had those Jul 26 16:13:12 @vanyasem: failed Jul 26 16:13:34 Well okay, revert the patches then if they didn't work Jul 26 16:14:03 And plz go straight to the hwcomposer thingie Jul 26 16:14:06 NetlinkListener: recvmsg failed (I/O error) Jul 26 16:14:12 ok... Jul 26 16:15:25 should i run all of them? Jul 26 16:16:04 `EGL\_PLATFORM=hwcomposer test\_hwcomposer` Jul 26 16:16:04 `segmentation fault` Jul 26 16:16:16 `EGL_PLATFORM=hwcomposer test_hwcomposer` Jul 26 16:16:17 `segmentation fault` Jul 26 16:16:39 Have you added the caf repo and rebooted? Is lxc still running? Please don't post directly, copy all of the output to paste.ubuntu.com Jul 26 16:16:59 oh crap... forgot that part Jul 26 16:17:17 Which one lol? I said 3 things.. Jul 26 16:17:47 first two :P Jul 26 16:18:04 @bhushanshah, 😃It worked! 😎 Thanks you, guys! Jul 26 16:18:32 @Dzmitry Sankouski, Interesting.. that would be first Exynos device with Plasma Mobile Jul 26 16:18:39 Can I get picture? :) Jul 26 16:19:04 @vanyasem: i dont have interent connection... i am getting IP address though Jul 26 16:19:36 @vanyasem: Temporary failure resolving 'ports.ubuntu.com' Jul 26 16:20:01 You should be fired lol. You probably do have internet, but the dns is not configured Jul 26 16:20:36 Add nameserver 8.8.8.8 to /etc/resolv.conf Jul 26 16:20:37 wait... i have to do that manually? Jul 26 16:20:38 @echo_salik[m], I had this issue today, you should manually add ip addresses for resolve failures to /etc/hosts Jul 26 16:20:57 @Dzmitry Sankouski, no, you should just configure a dns server Jul 26 16:21:13 i believe it was somewhere in the docs Jul 26 16:21:33 @vanyasem, I tried, and that not worked for me Jul 26 16:21:47 @vanyasem: doesnt nmcli automatically do that? Jul 26 16:22:38 there's no nano? i hate vi Jul 26 16:23:50 nano was added in this PR. not sure if it ever got in the image though https://github.com/Halium/rootfs-builder/pull/9 Jul 26 16:25:44 it could be an issue with paranoid network though.. Jul 26 16:27:03 (Photo, 960x1280) https://irc.ubports.com/bz094ilF.png Jul 26 16:27:03 ah xiaomi redmi 4a hmhm Jul 26 16:27:03 What samsung is that? Jul 26 16:27:03 S7 flat? Jul 26 16:27:03 a5 2017 Jul 26 16:27:06 @Dzmitry Sankouski, Awesome :) Jul 26 16:27:14 Didn't think they released A* sources Jul 26 16:27:17 nice Jul 26 16:27:42 :P Jul 26 16:27:43 oh my a working samsung halium device Jul 26 16:28:03 Samsung is still better than LG Jul 26 16:28:14 LG is like the worst for any hybris implementation tries Jul 26 16:28:18 excluding Nexuses ofc Jul 26 16:28:38 @vanyasem: still cant resolve hosts Jul 26 16:29:12 have you rebooted? Jul 26 16:29:41 let me ask my manager Jul 26 16:29:56 @bhushanshah i forgot what to do in that case. seems like your gid capabilities patch doesn't work on this device. do i just suggest to disable PARANOID_NETWORK in kernel conf? Jul 26 16:30:03 resolve needs reboot? Jul 26 16:30:17 doesnt nm automatically picks it up? Jul 26 16:30:21 yeah sure.... Jul 26 16:30:37 @vanyasem, As a hack sure.. Jul 26 16:31:32 also please don't name your commits as "Patch suggested by vanyasem in Halim chat" Jul 26 16:32:00 it's a libcompat patch, not a "patch by vanyasem" :P Jul 26 16:32:13 ok :P Jul 26 16:32:34 echo_salik: disable CONFIG_ANDROID_PARANOID_NETWORK for a workaround, as Bhushan said Jul 26 16:33:03 sure... Jul 26 16:33:07 so, @bhushanshah, iirc you told me that your GID capabilities patch didn't work for someone else, and iirc it was a xiaomi as well Jul 26 16:33:15 so i guess that patch doesn't work on xiaomi devices.. Jul 26 16:33:56 It was mido device IIRC Jul 26 16:34:24 yes, port by Herrie82 Jul 26 16:34:45 umm a question: IIRC = if i remember correctly? Jul 26 16:35:00 correct Jul 26 16:35:36 remaking hybris Jul 26 16:40:53 ummm question... i think my battery just died Jul 26 16:41:59 I guess it's time to get a new usb cable Jul 26 16:42:16 It died at the most exciting moment, so that's a shame Jul 26 16:42:46 yeah... will report back as soon as it is up Jul 26 16:43:01 thanks @vanyasem Jul 26 16:44:19 @vanyasem, It didn't work for my Samsung too Jul 26 16:45:07 @Dzmitry Sankouski, okay i guess samsungs too.. Jul 26 16:51:24 @bhushanshah How long does it take on average to bring new devices on mainline? I don't know how much time it took to bring Z2 up and I'm curious in general >~> Jul 26 16:51:56 Depending on device from 1 week to 1 year Jul 26 16:52:46 Hi Jul 26 16:52:47 I thought it was >=2 years, I'd like to get X Play up, but nobody has ever ported MSM8939 and I don't want to end up porting motorola hacks over Jul 26 16:53:16 I have a build that outputs a system.img, but it doesn't contain some essential things like boot/ramdisk, or build.prop Jul 26 16:53:29 Has someone been through this before? Jul 26 16:54:00 Tofe: device? Jul 26 16:54:05 xiaomi_tissot Jul 26 16:54:19 got device repo link handy? Jul 26 16:54:21 in the out/ folder I have these files Jul 26 16:54:31 a moment Jul 26 16:54:50 [also manifest] Jul 26 16:55:30 https://github.com/Herrie82/android_device_xiaomi_tissot and https://github.com/Halium/halium-devices/blob/halium-7.1/manifests/xiaomi_tissot.xml Jul 26 16:55:44 @bhushanshah read up? How sould I approach this, keep waiting until somebody ports this chp or go onto ##linux-msm and try it myself and eventually give my code for somebody to review after I get anything booting Jul 26 16:56:03 i dont think my device is charging Jul 26 16:58:16 @vanyasem: i dont think my device is charing Jul 26 16:58:17 Tofe: um, weirdness. can I get full configure and mka systemimage output? Jul 26 16:58:36 bshah: sure Jul 26 16:58:52 @vanyasem: i wouldn't have to make a special cable right? Jul 26 16:59:48 bshah: eww... my terminal log doesn't go that far :-] Jul 26 17:00:12 well if your device isn't charging it has nothing to do with halium Jul 26 17:00:19 use better terminal emulaters *hides* Jul 26 17:00:21 it's just that your device isn't charging Jul 26 17:00:22 I'll retrigger a build from scratch and output in a file. A moment. Jul 26 17:00:45 Tofe: In either case I am about to fall asleep on keyboard, will try to help later tomorrow Jul 26 17:01:00 bshah: good night, sleep well ^.^ Jul 26 17:01:14 @vanyasem: doesnt boot img manage that little charging indicator/animation? Jul 26 17:01:20 bshah: sure ! see you later :) Jul 26 17:01:34 @echo_salik[m], it was initramfs Jul 26 17:01:35 it does, but it doesn't affect the charging itself Jul 26 17:01:36 iirc Jul 26 17:01:43 if you got the usb port wrecked Jul 26 17:01:49 or some regulators on the board Jul 26 17:01:54 nothing's gonna help you Jul 26 17:02:17 I'd advise you install a stock rom and try there, it should be a better test instead of wondering why it does nothing Jul 26 17:03:05 hey, no need for that. if a device powers on he could just reboot to twrp and see if it charges from there. if i understood correctly, his device completely died Jul 26 17:03:24 oh, yeah forgot about twrp Jul 26 17:04:09 K31j0: it was charging when it had android... thats like two days ago... so... yeah... and twrp would need battery too Jul 26 17:04:37 Although I think I might try to develop a better recovery in the future, I'd prefer busybox instead of toybox, because busybox is more complete and less flawed Jul 26 17:04:43 K31j0: i know you obviously means if it charges and i get access to twrp Jul 26 17:05:11 What's going on? Jul 26 17:05:18 If it's getting hot and doing nothing, the board is trash Jul 26 17:05:33 and if it's cold and doing nothing it might be a dead port or cable or the charger Jul 26 17:05:54 K31j0: nope... its cool like Mr. Freezo's puns Jul 26 17:06:06 check different cables Jul 26 17:06:12 if you have any Jul 26 17:06:25 Which phone is that? Jul 26 17:06:44 K31j0: i am getting Qualcomm device in lsusb Jul 26 17:07:00 K31j0: its that diagnostic port 900E Jul 26 17:07:09 Dead memory? Jul 26 17:07:12 lmao Jul 26 17:08:14 K31j0: is that a thing? Jul 26 17:08:31 These diagnostic modes are generally available when your eMMC dies or you bring a special cable or short some pins on the board Jul 26 17:09:23 K31j0: i had that option when I booted the wrong hybris-boot Jul 26 17:09:32 K31j0: this time if booted to halium's ssh Jul 26 17:10:22 K31j0: i tried tabbing after pressing `re` to see if my bashrc had loaded correctly... and the screen just went black Jul 26 17:11:04 random deaths happen Jul 26 17:11:11 K31j0: so my first reaction was battery Jul 26 17:11:29 My friend had his X Force die Jul 26 17:11:43 i got fastboot! Jul 26 17:11:47 oh Jul 26 17:11:49 try to flash it Jul 26 17:12:16 > random deaths happen Jul 26 17:12:17 dude this line just game me a miniature anxiety attack xD Jul 26 17:12:56 in twrp... Jul 26 17:13:05 wait... battery is full... wth... Jul 26 17:13:09 that irony, you could just die from a heart attack. which basically proves the "random deaths happen" statement Jul 26 17:13:28 It was on the Terms and Conditions which you accepted when you were conceived, remember? Jul 26 17:13:36 > <@freenode_ubptgbot:matrix.org> that irony, you could just die from a heart attack. which basically proves the "random deaths happen" statement Jul 26 17:13:37 a little dark? xD Jul 26 17:13:39 remember? Jul 26 17:14:11 @UniversalSuperBox, And your sentience is a binary blob Jul 26 17:14:36 echo_salik: are you sure your phone went off and it's not just the rootfs crashing and you misinterpreting it? Jul 26 17:14:47 it could be that your battery controller is being silly Jul 26 17:14:55 let me know if you're willing to continue :P Jul 26 17:15:20 vanyasem: it looks stable now... and yes i could have misinterpreted that... Jul 26 17:15:38 after that mini jolt... lets yolo it xD Jul 26 17:15:40 @vanyasem, tfw evjen battery controllers troll you Jul 26 17:15:47 @vanyasem, [Edit] tfw even battery controllers troll you Jul 26 17:15:51 because well if the rootfs crashes it might stay with screen off for a couple of minutes Jul 26 17:16:03 force rebooting helps (holding power + vol down) Jul 26 17:16:30 Some Xperias have the best button ever introduced to ARM boards Jul 26 17:16:32 force poweroff Jul 26 17:16:44 vanyasem: actually i exactly did that... so yeah... Jul 26 17:17:05 so well please don't panic next time :P let's continue with hwcomposer, shall we? Jul 26 17:17:15 i can ping now Jul 26 17:17:23 okay nice. caf repo :P Jul 26 17:17:27 let me run that dist-upgrade Jul 26 17:18:06 finally.... apt update works Jul 26 17:18:17 btw... apt vs apt-get? Jul 26 17:18:41 that's a general ubuntu question. are you sure you manage servers? https://askubuntu.com/questions/445384/what-is-the-difference-between-apt-and-apt-get Jul 26 17:19:00 @echo_salik[m], On newer systems apt Jul 26 17:19:18 i use both. so just a random question xD Jul 26 17:19:51 on my 18.04 images i usually run apt... on 16.04 i run apt-get Jul 26 17:20:55 even though both support the other... its just placebo kind of thing i suppose... Jul 26 17:21:09 bshah: for later, here's the build output: https://bpaste.net/show/88ddfada6bce Jul 26 17:21:25 apt is nicer Jul 26 17:21:33 and has actual working progress % meter Jul 26 17:21:55 and not heckton of prompts like downloading etc Jul 26 17:22:25 please don't off-top Jul 26 17:22:47 K31j0: yeah i like that as well... but i usually just run apt/apt-get in background while i do something else so im kinda ok with apt-get stdouting everything Jul 26 17:22:55 K just responded and not taking it anywhere further Jul 26 17:23:01 @vanyasem: ok sorry Jul 26 17:23:22 That's just my general approach to OT threads, but if that's bad I'll just stop replying to them altogether :v Jul 26 17:23:26 i should keep the encoding to UTF-8 right? Jul 26 17:23:43 what Jul 26 17:23:52 @vanyasem Jul 26 17:24:11 echo_salik: what do you mean by that Jul 26 17:24:35 Encoding to use in console text dialog is asking me this Jul 26 17:24:44 don't touch anything Jul 26 17:25:40 * echo_salik[m] uploaded an image: console.png (54KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/lkKxKOgstKqnUPyrnQkhRifb > Jul 26 17:25:44 @vanyasem Jul 26 17:25:52 don't touch anything, just continue Jul 26 17:25:57 should i just press enter? Jul 26 17:27:12 ok a new one asks this... should i post the image? Jul 26 17:27:33 Just press enter Jul 26 17:27:37 Defaults are usually safe Jul 26 17:27:51 don't touch anything, just continue Jul 26 17:27:53 ok Jul 26 17:27:57 also hi, i decided i want to be closer to you Jul 26 17:28:28 rofl xD Jul 26 17:28:38 UniversalSuperBox: thanks :) Jul 26 17:29:11 @van Jul 26 17:29:21 no, i'm not a van Jul 26 17:29:33 vroom vroom Jul 26 17:29:55 inb4 Halium on Android Auto Jul 26 17:29:58 ignore that xD Jul 26 17:30:29 @van Jul 26 17:30:44 why doesnt it select you now... Jul 26 17:31:05 I am @vanyasem or @vanyasem:matrix.mynameisivan.ru. NOT a van Jul 26 17:31:41 Ivan Semkin: now i have to click on that list... dist-upgrade done...rebooting Jul 26 17:34:37 Ivan Semkin: i just got an automated address now... from that rndis Jul 26 17:34:46 ip ddress Jul 26 17:34:49 *ip address Jul 26 17:35:39 in ssh now Jul 26 17:37:21 Ivan Semkin: now.... Jul 26 17:39:50 BTW all of the gfx tests fail with segmentation fault Jul 26 17:40:13 please don't do stuff you're not supposed to do Jul 26 17:40:28 have i told you to run gfx tests? no Jul 26 17:40:38 ok... Jul 26 17:40:52 these tests are broken Jul 26 17:41:00 you aren't supposed to run them Jul 26 17:41:06 oh... Jul 26 17:41:08 please just tell me already does hwcomposer work now or not Jul 26 17:41:58 how would i know that? Jul 26 17:42:12 are you trolling me? Jul 26 17:42:27 `EGL_PLATFORM=hwcomposer test_hwcomposer` , as per the docs Jul 26 17:43:01 sementation fault Jul 26 17:43:13 full output to pastebin please? Jul 26 17:43:20 just that Jul 26 17:43:36 just that one line Jul 26 17:43:45 no libraries missing? Jul 26 17:44:08 nope... got that library error missing in the other test Jul 26 17:44:11 though Jul 26 17:44:17 is lxc still running? Jul 26 17:44:38 yep Jul 26 17:45:24 okay, now 2 commands: `export EGL_PLATFORM=hwcomposer` and `strace -s 1024 test_hwcomposer`. pastebin the latter one. all of it, it's going to be very long. also, open a second ssh session in an another terminal and run logcat (`/system/bin/logcat`) in it. then launch `EGL_PLATFORM=hwcomposer test_hwcomposer` in the first shell. get back to your second shell and pastebin logcat output Jul 26 17:46:16 ok Jul 26 17:48:05 strace: Jul 26 17:48:05 https://paste.ubuntu.com/p/kFF457mqNP/ Jul 26 17:49:59 oh and also could you pastebin `systemctl status` (no service name) Jul 26 17:52:04 ok... logcat: Jul 26 17:52:05 https://paste.ubuntu.com/p/DSzz7MP66W/ Jul 26 17:53:17 systemctl status: Jul 26 17:53:18 https://paste.ubuntu.com/p/HR59htJYBD/ Jul 26 17:53:47 `State: starting` signals that android hasn't fully started Jul 26 17:54:08 and `library "libandroid_runtime.so" not found` seems to be the issue. lineage fails to start a lot of times in the logcat Jul 26 17:54:52 and i don't know what to do with this, so you better wait for bhush Jul 26 17:55:10 someone faced the same issue this Monday btw Jul 26 17:55:15 ok... no prblem... :) Jul 26 17:55:35 wow... so is this a rare thing or an often thing? Jul 26 17:55:59 there is a "search" button in the top right corner Jul 26 17:56:52 oh it doesn't work on matrix xD well, only 3 people faced it so far, so i would say pretty rare Jul 26 17:56:59 nice... just saw that... Jul 26 17:57:30 cool... Jul 26 17:58:02 worth saving your logs' links for later so you won't need to get them again later Jul 26 17:58:19 have a nice evening Jul 26 17:58:32 good point... Jul 26 17:58:45 you do too :) and thanks! Jul 26 17:59:27 it seems that only xiaomi devices are affected by that btw Jul 26 17:59:27 needs investigation Jul 26 17:59:36 @superl2 were you able to fix it? Jul 26 18:00:29 @vanyasem: you know i had a feeling it was going to be a xiaomi device... planned to ask it but didnt... Jul 26 18:01:33 well im off to sleep have fun guys! Jul 26 18:29:50 bshah: nevermind, I found the cause (which is A/B partitioning, related to https://github.com/Herrie82/android_device_xiaomi_tissot/blob/cm-14.1/BoardConfig.mk#L42 ) Jul 26 18:58:46 A/B partitioning is the new trend Jul 26 18:58:55 [Edit] A/B partitioning is the new trend :) Jul 26 19:18:24 Yes well, it's kind of annoying in our case :p Jul 26 19:36:00 There's PR to halium-boot to support A/B partitioning Jul 26 19:36:16 You may want to try that out Jul 26 19:36:58 Works rather fine on first-gen Pixel XL, except occasionally I'm unable to decrypt Android after reboot Jul 26 19:37:10 Yes, I'm running dual boot :) Jul 26 19:37:56 @Sergobot, When that happens the only way I found is complete wipe Jul 26 19:47:10 And that's part of the reason it's still pending, but also there's no one else who has tested it Jul 26 20:26:30 Sergobot: do you also have a different layout for system.img ? Jul 26 20:27:36 It may be more related to the "skip_initramfs" that my bootloader is passing to the kernel, for "secure boot" reason or whatever **** ENDING LOGGING AT Fri Jul 27 03:00:01 2018