**** BEGIN LOGGING AT Fri Sep 21 03:00:02 2018 Sep 21 03:27:59 NYL91 was added by: NYL91 Sep 21 07:17:12 hm hybris boot and the fixup mountpoints script is still being used.. righ? Sep 21 07:17:43 so I have to update those too - I forgot that for ivy it seems Sep 21 11:14:45 Hi can i build halium based on my sources made for sailfish os? Sep 21 11:15:22 Or i need to start from scratch Sep 21 11:15:39 I have my own manifest Sep 21 11:16:25 Hmm so irc is bridged with telegram? Sep 21 11:16:33 yes it is Sep 21 11:16:40 @NYL91, yes Sep 21 11:16:55 Hehe :) Sep 21 11:16:56 and it is getting logged too Sep 21 11:18:21 https://forum.xda-developers.com/oneplus-2/orig-development/rom-sailfish-os-development-t3615620 Sep 21 11:19:37 So the port has hybris built on cm13 sources Sep 21 11:20:09 oneplus 2 is already taken , and works good @vince1171 is on it Sep 21 11:20:23 [Edit] oneplus 2 is already taken , and works good, @vince1171 is on it Sep 21 11:20:45 So we have halium built for it Sep 21 11:21:28 Good less hassle for me :D Sep 21 11:22:18 it already have upports working for it too Sep 21 11:23:06 Wow nice Sep 21 11:36:14 Found the GIT Sep 21 11:36:21 Nice Sep 21 11:36:43 I see it has both 5.1 and 7.1 Sep 21 11:38:09 5.1 is abandoned , (i guess) Sep 21 11:44:42 yep 5.1 is abandoned Sep 21 11:44:42 but 7.1 works great Sep 21 11:48:39 jsyreviews was added by: jsyreviews Sep 21 11:48:52 but no sound nor 2G/3G/4G … and gps works with test_gps but not in unity8 Sep 21 11:50:30 Vice check my hybris git Sep 21 11:50:38 Maybe it helps Sep 21 11:51:04 @vince1171 Sep 21 11:52:24 Hi, so I'm totally new to these kind of porting stuff. now I don't really know how to write a manifest file, target device is klte, here's the repos i've looked through from android_device_samsung_klte … https://hastebin.com/esedepelah.json Sep 21 11:53:32 @NYL91, can you send me the link plz … thanks in advance Sep 21 11:54:33 @jsyreviews, add every of that repo to your manifest file … , with the correct path, path is given below the repo, as `target_path` Sep 21 11:54:38 @jsyreviews, https://github.com/Halium/halium-devices/blob/halium-7.1/manifests/samsung_klte.xml … https://github.com/Halium/projectmanagement/issues/96 Sep 21 11:54:57 @jsyreviews, [Edit] https://github.com/Halium/projectmanagement/issues/96 … https://github.com/Halium/halium-devices/blob/halium-7.1/manifests/samsung_klte.xml Sep 21 11:55:04 Ah alright, thanks a lot. Sep 21 12:04:41 heh, i don't have the "devices" folder, only "device" which contained google, manifests and qcom Sep 21 12:04:51 seems like i screwed something up during the repo sync Sep 21 12:05:32 @jsyreviews, look in `halium/devices` Sep 21 12:05:57 @jsyreviews, [Edit] look in `halium/devices/manifests` Sep 21 12:08:56 only my manifest, nothing more. [`/halium/device/manifests`] … to note, `manifests` didn't exist in the first place so i created it. Sep 21 12:10:17 dir results of `~/halium` … https://paste.ubuntu.com/p/F3jG4mTttz/ Sep 21 12:10:59 @jsyreviews, you have a halium subdir there Sep 21 12:11:14 alright, i'll look into Sep 21 12:11:28 @minlexx, so,` /halium/halium/devices/...` Sep 21 12:11:39 alright, there's the devices folder. Sep 21 12:12:35 Point is, you should already have a working manifest. Go to next step Sep 21 12:12:53 I'm using the setup script for klte rn Sep 21 12:41:16 BUILDDIR, this is `~/halium` right? Sep 21 12:41:46 yes Sep 21 12:41:52 Alright thanks Sep 21 12:45:00 No vendorsetup.sh, is this fine? Sep 21 12:45:28 [under `~/halium/device/samsung/klte`] Sep 21 12:49:13 @jsyreviews, I don't remember that step in docs, are you following guide https://docs.halium.org/en/latest/porting/get-sources.html? … Did you run `./halium/devices/setup klte` ? Sep 21 12:49:20 Yes, I did. Sep 21 12:49:42 I'm on the "Build Halium - Initialize" step. Sep 21 12:50:11 where I have to run `source build/envsetup.sh` Sep 21 12:51:01 and this is the output of it Sep 21 12:51:02 https://hastebin.com/aperusosud.rb Sep 21 12:53:39 it is fine, go next `breakfast klte` Sep 21 12:53:50 [Edit] it is fine (I think), go next `breakfast klte` Sep 21 12:54:19 `Modify the kernel configuration` is already done … `Include your device in fixup-mountpoints` is already done too Sep 21 12:54:38 Alright, "Trying dependencies-only mode on a non-existing device tree?" Sep 21 12:54:57 https://hastebin.com/suvahibipi.makefile Sep 21 12:55:26 oh, now i see something wrong, I'm using Bionic 18.04 here Sep 21 12:55:36 but the HOST it says arch Sep 21 12:56:39 @jsyreviews, this is fine too Sep 21 12:57:06 Okay. Sep 21 12:57:56 now it's building Sep 21 13:03:29 https://hastebin.com/arifiyuqiw.pl well that was unexpected Sep 21 13:04:44 @jsyreviews, `cp /usr/bin/flex /my_path_to/halium/prebuilts/misc/linux-x86/flex/flex-2.5.39` Sep 21 13:05:04 And rebuild Sep 21 13:08:41 @JBBgameich can you look into this error https://paste.ubuntu.com/p/ZvhTR7R69q/ Sep 21 13:12:13 Alright, that's a pass, build complete. Sep 21 13:53:18 Jaat Mers was added by: Jaat Mers Sep 21 13:57:25 So i was outside for a bit, both images are built. … One question: what does `heimdall-install` does exactly? and since my device is `klte`, will it be compatible or is it not needed at all to just flash and test stuff to do a report? Sep 21 14:02:39 @jsyreviews, do you have installed lineage os on device already? Sep 21 14:02:59 I'll get on that now, 14.1 right? Sep 21 14:03:15 Currently there's RR 5.7.4 [Android 6.0.1] on it Sep 21 14:03:42 @jsyreviews, Ideally yes? 14.1, 15.1 may not work Sep 21 14:04:06 I think they (LineageOS) removed 14.1 prebuilts from site :) Sep 21 14:06:11 Yep, they did Sep 21 14:07:29 Lemme see if I have a copy of the old one somewhere, good thing I kept my downloads folder since 2015 Sep 21 14:07:46 you can build yourself (they have an instruction https://wiki.lineageos.org/devices/klte/build) you just need 100+ Gb of free space and f 5-7 hours of free time Sep 21 14:07:54 😀 Sep 21 14:07:54 oof Sep 21 14:08:06 I don't have that much space sadly Sep 21 14:08:15 😂 Sep 21 14:08:30 I have a saved copy of recent build somewhere Sep 21 14:09:13 (Photo, 1081x714) https://irc.ubports.com/wlEcGedJ.png sadly nope... Sep 21 14:13:58 one question, would Resurrection Remix 5.8.4 [Android 7.1] work? Sep 21 14:15:30 https://github.com/ubports/platform-api/tree/xenial/android Sep 21 14:16:15 @jsyreviews, I don't know what is it, if it is Lineage-based then maybe Sep 21 14:16:24 Yeah, it is lineage based Sep 21 14:16:32 I guess you already have TWRP installed? Sep 21 14:16:38 So fingers crossed i guess, since I don't really have 100GB free space Sep 21 14:16:41 Yes Sep 21 14:17:25 network interface is not getting up for me Sep 21 14:17:51 https://paste.ubuntu.com/p/D3pP86XWdc/ Sep 21 14:23:42 @jsyreviews, you need `heimdall` to install kernel boot image (hybris-boot.img) … and separately `halium-install` to install rootfs + systemimage Sep 21 14:24:25 Okay Sep 21 14:36:49 @abhishek_0, anyone? Sep 21 16:21:50 Alright Sep 21 16:26:20 Alright, got the telnet Sep 21 16:26:52 No diagnosis.log though Sep 21 16:29:32 mount says that /target is mounted? Sep 21 16:29:39 [Edit] mount says that `/target `is mounted? Sep 21 16:29:46 [Edit] mount says that `/target` is mounted? Sep 21 16:30:13 saw init.log though https://hastebin.com/ojexujuwab.md Sep 21 16:31:54 your rootfs is mounted into /target, so you can chroot into it and try to tweak systemd a bit Sep 21 16:32:00 alright Sep 21 16:32:02 [Edit] your rootfs is mounted into `/target`, so you can chroot into it and try to tweak systemd a bit Sep 21 16:33:38 described there - https://docs.halium.org/en/latest/porting/debug-build/early-init.html#the-device-reboots-after-leaving-hybris-recovery Sep 21 16:33:56 how to chroot, how to disable `lxc@android` Sep 21 16:34:56 `echo continue > /init-ctl/stdin` will continue to boot systemd in rootfs; see if it will reboot again Sep 21 16:35:45 `~ # echo continue > /init-ctl/stdin … ~ # Connection closed by foreign host. … jsyreviews@destiny:~/halium-install$` Sep 21 16:36:05 so in this case, force reboot phone? Sep 21 16:37:09 @jsyreviews, what happens next, does it reboot again? any new network interface in dmesg? Sep 21 16:37:23 Still on the boot splash, not rebooted. Sep 21 16:37:36 maybe you can get ssh Sep 21 16:39:01 do you see `SerialNumber: GNU/Linux Device on rndis0 10.15.19.82` in dmesg? :) Sep 21 16:39:51 Nope. Sep 21 16:40:47 `sudo lsusb -v | grep iSerial` ? Sep 21 16:41:22 ```iSerial 1 0000:07:00.3 … iSerial 0 … iSerial 3 AP0000000003 … iSerial 0 … iSerial 0 … iSerial 1 0000:07:00.3 … iSerial 1 0000:01:00.0 … iSerial 2 A12DC720 … iSerial Sep 21 16:41:23 3 Mer Debug telnet on port 23 on rndis0 192.168.2.15 - also running udhcpd … iSerial 0 … iSerial 1 0000:01:00.0``` Sep 21 16:42:13 well maybe it did reboot and you didn't notice? :) try to telnet into it again then Sep 21 16:43:10 you can also try to enable systemd logging in chroot in rootfs: … ```edit /etc/systemd/system.conf set LogLevel=debug … edit /etc/systemd/journald.conf set Storage=persistent``` Sep 21 16:44:00 alright, lemme do the telnet stuff again as now its mac is 00:00:00... Sep 21 16:47:50 Yeah, need to setup address again every new reboot Sep 21 16:48:58 `root@klte:/# edit /etc/systemd/system.conf set LogLevel=debug … Can't locate Encode.pm in @INC (you may need to install the Encode module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/arm-linux-gnueabihf/perl5/5.22 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/per Sep 21 16:48:58 l/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base .) at /usr/bin/edit line 12. … BEGIN failed--compilation aborted at /usr/bin/edit line 12.` Sep 21 16:50:17 No, it is not a script, manually edit those files Sep 21 16:50:30 ah Sep 21 16:51:05 Rootfs has only vi by default Sep 21 16:51:13 VI, alright this is easy. Sep 21 16:51:39 had some experience with it back when i mess with alpine linux Sep 21 16:52:13 😊 If you are not experienced in Linux next steps will be harder... Sep 21 16:52:32 so `set` `LogLevel=debug` in the last line, correct? Sep 21 16:52:54 nvm Sep 21 16:52:58 i'm dumb, lol Sep 21 16:53:06 It is among first lines, commented Sep 21 16:57:10 Alright edited those files Sep 21 16:58:31 everything needed to build a kernel and android image can be easily shared in git repos, but rootfs not, needs more manual tweaking Sep 21 16:59:24 you also need to add udev rules - https://docs.halium.org/en/latest/porting/debug-build/udev.html Sep 21 16:59:35 I prefer method "On the host" Sep 21 16:59:54 Anyway, i gtg now Sep 21 17:00:11 Thanks for your help today, otherwise i'll still be stuck on the manifests haha Sep 21 17:10:27 bash_god was added by: bash_god Sep 21 17:10:52 Yo o7 Sep 21 17:55:13 @UniversalSuperBox, How about https://del.dog? 🌚 Sep 21 17:55:37 I see no reason to give more options Sep 21 18:05:33 @UniversalSuperBox, Unless its dogecoin bin Sep 21 18:10:01 Guys, the driver that halium (in my case halium-boot) loads depend on which android version i had installed or it uses its drivers (in system.img file)? … P.s Sorry for the bad english Sep 21 18:10:08 [Edit] Guys, the drivers that halium (in my case halium-boot) loads depend on which android version i had installed or it uses its drivers (in system.img file)? … P.s Sorry for the bad english Sep 21 18:11:40 @Mattia990, system.img Sep 21 18:12:05 android has nothing to do here Sep 21 18:12:39 @abhishek_0, Ah ok👍 Sep 21 19:48:00 TheMiniDev was added by: TheMiniDev Sep 21 19:48:20 Someone told me me about irc bridge bot Sep 21 19:48:21 Wot is that Sep 21 19:48:32 It's a bot which bridges this room to IRC Sep 21 19:48:35 #halium on freenode Sep 21 19:48:56 It's an instance of TeleIRC: https://github.com/FruitieX/teleirc Sep 21 19:49:07 (Photo, 720x1280) https://irc.ubports.com/gsYKEtrx.png Google being helpful Sep 21 19:49:16 Internet Relay Chat Sep 21 19:50:03 It was the default chat platform for open source projects until everyone decided it was time to fragment the market as much as possible Sep 21 19:50:09 I mean, better options came along Sep 21 19:50:29 Oh Sep 21 19:50:30 I see Sep 21 19:50:57 Now i gathered some knowledge Sep 21 19:51:02 Can i get the fuck out? Sep 21 19:51:23 Bye nice people :P Sep 21 19:51:41 @TheMiniDev, ._. Sep 21 19:52:32 That was strange **** ENDING LOGGING AT Sat Sep 22 03:00:00 2018