Friday, 2019-11-15

T42翟豪淦 %lastname% was added by: 翟豪淦 %lastname%02:29
T42<Hound77> Fwd from Linuxgram 🐧: Canonical Donates More Ubuntu Phones to UBports and You Can Get One Right Now03:14
T42<Hound77> https://news.softpedia.com/news/canonical-donates-more-ubuntu-phones-to-ubports-for-ubuntu-touch-development-528158.shtml03:14
T42<Lukapanio> hmmm @elros34  sorry for pinging but must i insatall vendor.img generated by mkahybris-hal or use one from los?06:54
T42<Lukapanio> https://bpaste.net/show/ND74K08:05
T42<Lukapanio> @elros34  how to check s selinuxe enabled08:09
T42<Lukapanio> ?08:09
T42<Lukapanio> and i have CONFIG_SECURITY_SELINUX_BOOTPARAM=y08:15
T42<Lukapanio> in defconfig08:15
T42<Lukapanio> and selinux=008:16
T42<Lukapanio> in cmdline08:16
*** Konsieur is now known as kabouik08:21
T42<Lukapanio> @Lukapanio [https://bpaste.net/show/ND74K], after that reboot to bl08:42
T42<elros34> usually we use system, vendor partition from Lineageos.10:23
T42<elros34> So you only have to install sfos in data partition and flash kernel.10:24
T42<elros34> You can check selinux status in dmesg. You should have msg: selinux: disabled at boot (or something similar). About droid-hal-init you can only start it once!10:26
T42<Lukapanio> I started init first time11:15
T42<elros34> Did you mask it before?11:22
T42<elros34> I thought you have gui, why do you strace droid-hal-init11:23
T42<hacker12455> he is using a LOS 15 base12:05
T42<hacker12455> with treble12:05
T42<hacker12455> and 64 bit12:05
T42<Lukapanio> @elros34 [I thought you have gui, why do you strace droi …], as i moved base to los 15.1 trevle12:45
T42<Lukapanio> treble*12:45
T42<dontatmepls> so about the thing i posted yesterday, what should i do about it?13:24
T42<elros34> @dontatmepls figure out where exactly it fails in /sbin/preinit. Like I said yesterday add few echo_g there, it's simple script.14:11
T42<dontatmepls> How would I best edit it? Can I edit it in source?14:49
T42<elros34> use vi/vim/nano directly on device14:50
T42<dontatmepls> ohhh it comes with vim? awesome15:21
riniguspketo: would you mind to enable store access for "Xperia XZ2 (h8216 / h8216)" ? ssu s shows imei without sim card (same imei as on the box); obs is there at devel; all config at github16:15
rinigus... obs does require some work still, but the first image was already made with it.16:16
rinigus... github projects at https://github.com/sailfishos-sony-tama16:17
pketorinigus: added16:31
riniguspketo: thank you very much, it works!16:39
*** electro is now known as Guest265916:54
T42<dontatmepls> @elros34 i made progress i think, i can now telnet to port 23 and it looks different/shows me more text than before17:15
T42<elros34> port 23 is not progress, you had 2323 earlier17:16
T42<dontatmepls> so its a downgrade17:16
T42<dontatmepls> fucks sake17:16
T42<elros34> 23 is initramfs: usually wrong fixup or missing kernel config, 2323 is real sfos rootfs17:17
T42<dontatmepls> yeah i did something wrong installing zip17:18
T42<dontatmepls> sorry xddd17:18
T42<dontatmepls> okay now im at port 2323 again17:22
T42<dontatmepls> so i should place echo_g's everywhere?17:23
T42<elros34> I suspect do_minimal_mounts17:25
T42<dontatmepls> added some echo_g's there, ill reboot, wait some time and send dmesg i guess?17:29
T42<dontatmepls> https://del.dog/exotovoyaw17:33
T42<dontatmepls> heres both init.log and below is the dmesg17:33
T42<dontatmepls> @elros34 you think my fix mountpoints is wrong?17:37
T42<elros34> it's correct at least for data partition otherwise you would not get 2323 port17:40
T42<dontatmepls> but it seems to have problems formatting it, doesnt it?17:41
T42<elros34> I don't know what you mean. DId you add anything to /sbin/preinit? nothing is printed in dmesg, maybe just writing to kmsg fails. Try echo something > /dev/kmsg17:43
T42<elros34> Also is sda31 your data partition?17:44
T42<dontatmepls> after doing echo "test" > /dev/kmsg17:45
T42<dontatmepls> dmesg doesnt show anymore17:45
T42<dontatmepls> so yeah i guess what answers that17:45
T42<dontatmepls> also @elros34 affirmative, data is on sda3117:47
T42<dontatmepls> "block/bootdevice/by-name/userdata sda31"17:47
T42<elros34> you could try: echo "7" > /proc/sys/kernel/printk or just echo something to file in rootfs so we know whether preinit fials or no.17:50
T42<elros34> fails*17:50
T42<elros34> Did you enable most of the kernel config options mentioned by mer-kernel-checker?17:56
T42<dontatmepls> @elros34 [Did you enable most of the kernel config optio …], yeah i did18:08
T42<dontatmepls> i enabled all recommended and required ones18:08
T42<dontatmepls> do you want me to send my configs made?18:08
T42<elros34> no, if mer-kernel-check doesn't print anything important18:09
T42<dontatmepls> FRICK whyy18:11
T42<dontatmepls> mer config check now says some errors18:11
T42<dontatmepls> even though the defconfig is correctly set up18:11
T42<dontatmepls> and i garantuee it18:11
T42<dontatmepls> "ERROR: CONFIG_DEVTMPFS_MOUNT is invalid"18:11
T42<dontatmepls> i think this is causing THAT problem18:11
T42<dontatmepls> time to redo it... ugh18:11
T42<dontatmepls> @elros34 does hybris use the defconfig specified in the device tree or something else?18:12
T42<elros34> not sure what do you mean, there is nothing hybris or sfos specific during kernel build. Generated .config can be different than raphael_defconfig becase of CONFIG dependencies: https://cateee.net/lkddb/web-lkddb/DEVTMPFS_MOUNT.html18:16
T42<dontatmepls> ahhhhhhhh now i get it, to enable one thing i have to enable everything it depends on first18:18
T42<elros34> it's impossible that you have CONFIG_DEVTMPFS_MOUNT because it's checked in init-script and you would not get telenet at 2323 port so you are mixing something18:18
T42<elros34> disabled*18:19
T42<elros34> https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L32618:19
T42<dontatmepls> im rebuilding now with everything tripple checked, if it doesnt work now im stuck18:22
T42<elros34> so after you rebuild kernel use mer-kernel-check against .config file18:23
rinigusI need to add one more repo to the kickstarter created by OBS. I presume it should go somewhere at https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie/tree/master/kickstart . does anyone know it from the top of the head?18:29
T42<dontatmepls> https://del.dog/asamecegoc @elros3418:35
T42<dontatmepls> this seems to be the reason it got overwritten18:35
T42<dontatmepls> xd18:35
T42<elros34> hope it will work now, remove this SELINUX_BOOTPARAM, there is no such a config18:37
T42<dontatmepls> i fixed it, will report in a few mins18:46
vknechtrinigus, probably by adding an ini file in sparse so it ends up in /usr/share/ssu/features.d/18:48
rinigusvknecht: thanks, that looks good position indeed18:50
T42<elros34> but you still need to add repo to ks file if you install something from that repo18:52
riniguselros34: yes, I do need it at mic stage as well - so KS is needed. where would that go?18:59
T42<elros34> I don't know if it's possible to add it like you want, I just simply add repositories to already generated ks file19:01
riniguselros34: I am sure its possible. some commands are just transferred over, as the ones under part. would have to test just with some random file...19:09
T42<dontatmepls> https://del.dog/ajiledufuf @elros34 anything different? errors are gone now in the .config19:09
T42<dontatmepls> and this is booting from the generated hybris boot19:09
T42<dontatmepls> my messages are there now :O19:10
T42<dontatmepls> ill send journalctl now, it shows something now :D19:11
T42<elros34> oh preinit works so it was just wrong defconfig.. meh19:11
T42<dontatmepls> https://del.dog/ezabomuluj19:14
T42<dontatmepls> heres the journalctl19:14
T42<elros34> check if you have correct mount units in /lib/systemd/system/*.mount19:15
T42<elros34> and please don't use this verbose mode, simple journalctl —no-page is enough19:16
T42<dontatmepls> https://del.dog/juzotuhaxi is that whatcha wanted?19:16
T42<dontatmepls> aight will redo and resent journal19:16
vknechtrinigus, maybe play with https://github.com/mer-hybris/droid-hal-configs/blob/cc93d84530cf340f95acea6d06c64509b135398e/droid-configs.inc#L49419:17
T42<elros34> so you are missing mount units for system and probably other partitions.19:17
T42<dontatmepls> https://del.dog/xijiyugifa heres the journalctl as you wanted it19:18
T42<dontatmepls> so what to do now19:19
T42<elros34> Have you added "%define makefstab_skip_entries /" to droid-ha-$DEVICE.spec like I told you?19:20
T42<dontatmepls> @elros34 affirmative19:21
T42<elros34> before last line?19:21
T42<dontatmepls> ...fucc19:21
T42<dontatmepls> TIME TO RPM REBUILD19:21
T42<Akatsu %lastname%> is BTRFS needed for sfos?19:21
T42<elros34> AFAIK only jolla 1 use btrfs19:22
T42<elros34> @dontatmepls also sb2 -t $VENDOR-$DEVICE-armv7hl -m sdk-install -R; and apply this changes to /usr/lib/rpm/check-files: https://git.merproject.org/mer-core/rpm/blob/700901c93402e829d8979909a5f206a48401b7c8/rpm/0015-Compatibility-with-busybox-diff.patch19:25
T42<elros34> Then rebuild-droid-hal and follow hadk if you get new errors about unpackaged files. After that paste new droid-hal-$DEVICE.log19:26
rinigusvknecht: just adding commands to https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie/blob/master/kickstart/part/h8216 works. not the most obvious location, though19:30
T42<dontatmepls> @elros34 heres the dmesg after applying your changes, want anything else? https://del.dog/avavisesod20:11
T42<dontatmepls> the command still gives same output tho with the ls, ill continue tomorrow but as always id appreciate suggestions20:13
T42<elros34> thats why I asked about droid-hal-$DEVICE.log. dmesg is not relevant anymore, journalctl contains most useful info. Did you have to add anything to straggler files after patching that file?20:16
T42<dontatmepls> i didnt, worked flawlessly for some reason20:19
T42<dontatmepls> where can i find the set log?20:19
T42<elros34> is there a chance that you make a typo? log is in $ANDROID_ROOT: check if uevent*.rc and fstab* are found during droid-hal build20:23
T42<dontatmepls> https://del.dog/osarumaluk sorry for late response @elros3421:15
T42<dontatmepls> but it doesnt seem to find ueventd in there21:15
T42<elros34> fstab is missing so you need to build it. Use make modules | grep fstab to find out the name21:29
T42<dontatmepls> will do tomorrow morning :)21:42
*** electro is now known as Guest2532121:48
*** electro is now known as Guest5898921:54
ThaodanI thought maybe this could be useful for some porters: https://github.com/android-linux-stable/notes23:03
vknechtyeah, too bad the 3.10 notes were discontinued :-/23:09
vknechtbut the process is the same, so all bases can be bumped up at least a bit23:11
vknecht(is it worth mentioning all your bases are belong to us ?)23:13
vknechtfrom my notes, https://github.com/upstream-caf-kernels was the old version23:14
* vknecht should get a go again at his device' 3.10.108 rebasing23:16
vknechtie. compare downstream kernel (3.10.49 from vendor) to 3.10.108 with Meld, and integrate the differences23:18
vknechtboots and runs, but crashes when opening LOS settings app on obscure kgsl3d fence or something :-/23:19
vknechtanother way to update kernel : merging newer CAF tags : https://forum.xda-developers.com/android/software-hacking/reference-merge-caf-tag-kernel-t3787564/post76459987#post7645998723:30

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!