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 Now | 03:14 |
T42 | <Hound77> https://news.softpedia.com/news/canonical-donates-more-ubuntu-phones-to-ubports-for-ubuntu-touch-development-528158.shtml | 03: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/ND74K | 08:05 |
T42 | <Lukapanio> @elros34 how to check s selinuxe enabled | 08:09 |
T42 | <Lukapanio> ? | 08:09 |
T42 | <Lukapanio> and i have CONFIG_SECURITY_SELINUX_BOOTPARAM=y | 08:15 |
T42 | <Lukapanio> in defconfig | 08:15 |
T42 | <Lukapanio> and selinux=0 | 08:16 |
T42 | <Lukapanio> in cmdline | 08:16 |
*** Konsieur is now known as kabouik | 08:21 | |
T42 | <Lukapanio> @Lukapanio [https://bpaste.net/show/ND74K], after that reboot to bl | 08: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 time | 11:15 |
T42 | <elros34> Did you mask it before? | 11:22 |
T42 | <elros34> I thought you have gui, why do you strace droid-hal-init | 11:23 |
T42 | <hacker12455> he is using a LOS 15 base | 12:05 |
T42 | <hacker12455> with treble | 12:05 |
T42 | <hacker12455> and 64 bit | 12:05 |
T42 | <Lukapanio> @elros34 [I thought you have gui, why do you strace droi …], as i moved base to los 15.1 trevle | 12: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 device | 14:50 |
T42 | <dontatmepls> ohhh it comes with vim? awesome | 15:21 |
rinigus | pketo: 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 github | 16: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-tama | 16:17 |
pketo | rinigus: added | 16:31 |
rinigus | pketo: thank you very much, it works! | 16:39 |
*** electro is now known as Guest2659 | 16: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 before | 17:15 |
T42 | <elros34> port 23 is not progress, you had 2323 earlier | 17:16 |
T42 | <dontatmepls> so its a downgrade | 17:16 |
T42 | <dontatmepls> fucks sake | 17:16 |
T42 | <elros34> 23 is initramfs: usually wrong fixup or missing kernel config, 2323 is real sfos rootfs | 17:17 |
T42 | <dontatmepls> yeah i did something wrong installing zip | 17:18 |
T42 | <dontatmepls> sorry xddd | 17:18 |
T42 | <dontatmepls> okay now im at port 2323 again | 17:22 |
T42 | <dontatmepls> so i should place echo_g's everywhere? | 17:23 |
T42 | <elros34> I suspect do_minimal_mounts | 17: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/exotovoyaw | 17:33 |
T42 | <dontatmepls> heres both init.log and below is the dmesg | 17: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 port | 17: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/kmsg | 17:43 |
T42 | <elros34> Also is sda31 your data partition? | 17:44 |
T42 | <dontatmepls> after doing echo "test" > /dev/kmsg | 17:45 |
T42 | <dontatmepls> dmesg doesnt show anymore | 17:45 |
T42 | <dontatmepls> so yeah i guess what answers that | 17:45 |
T42 | <dontatmepls> also @elros34 affirmative, data is on sda31 | 17: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 did | 18:08 |
T42 | <dontatmepls> i enabled all recommended and required ones | 18: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 important | 18:09 |
T42 | <dontatmepls> FRICK whyy | 18:11 |
T42 | <dontatmepls> mer config check now says some errors | 18:11 |
T42 | <dontatmepls> even though the defconfig is correctly set up | 18:11 |
T42 | <dontatmepls> and i garantuee it | 18:11 |
T42 | <dontatmepls> "ERROR: CONFIG_DEVTMPFS_MOUNT is invalid" | 18:11 |
T42 | <dontatmepls> i think this is causing THAT problem | 18:11 |
T42 | <dontatmepls> time to redo it... ugh | 18: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.html | 18:16 |
T42 | <dontatmepls> ahhhhhhhh now i get it, to enable one thing i have to enable everything it depends on first | 18: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 something | 18:18 |
T42 | <elros34> disabled* | 18:19 |
T42 | <elros34> https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L326 | 18:19 |
T42 | <dontatmepls> im rebuilding now with everything tripple checked, if it doesnt work now im stuck | 18:22 |
T42 | <elros34> so after you rebuild kernel use mer-kernel-check against .config file | 18:23 |
rinigus | I 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 @elros34 | 18:35 |
T42 | <dontatmepls> this seems to be the reason it got overwritten | 18:35 |
T42 | <dontatmepls> xd | 18:35 |
T42 | <elros34> hope it will work now, remove this SELINUX_BOOTPARAM, there is no such a config | 18:37 |
T42 | <dontatmepls> i fixed it, will report in a few mins | 18:46 |
vknecht | rinigus, probably by adding an ini file in sparse so it ends up in /usr/share/ssu/features.d/ | 18:48 |
rinigus | vknecht: thanks, that looks good position indeed | 18:50 |
T42 | <elros34> but you still need to add repo to ks file if you install something from that repo | 18:52 |
rinigus | elros34: 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 file | 19:01 |
rinigus | elros34: 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 .config | 19:09 |
T42 | <dontatmepls> and this is booting from the generated hybris boot | 19:09 |
T42 | <dontatmepls> my messages are there now :O | 19:10 |
T42 | <dontatmepls> ill send journalctl now, it shows something now :D | 19:11 |
T42 | <elros34> oh preinit works so it was just wrong defconfig.. meh | 19:11 |
T42 | <dontatmepls> https://del.dog/ezabomuluj | 19:14 |
T42 | <dontatmepls> heres the journalctl | 19:14 |
T42 | <elros34> check if you have correct mount units in /lib/systemd/system/*.mount | 19:15 |
T42 | <elros34> and please don't use this verbose mode, simple journalctl —no-page is enough | 19:16 |
T42 | <dontatmepls> https://del.dog/juzotuhaxi is that whatcha wanted? | 19:16 |
T42 | <dontatmepls> aight will redo and resent journal | 19:16 |
vknecht | rinigus, maybe play with https://github.com/mer-hybris/droid-hal-configs/blob/cc93d84530cf340f95acea6d06c64509b135398e/droid-configs.inc#L494 | 19: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 it | 19:18 |
T42 | <dontatmepls> so what to do now | 19:19 |
T42 | <elros34> Have you added "%define makefstab_skip_entries /" to droid-ha-$DEVICE.spec like I told you? | 19:20 |
T42 | <dontatmepls> @elros34 affirmative | 19:21 |
T42 | <elros34> before last line? | 19:21 |
T42 | <dontatmepls> ...fucc | 19:21 |
T42 | <dontatmepls> TIME TO RPM REBUILD | 19:21 |
T42 | <Akatsu %lastname%> is BTRFS needed for sfos? | 19:21 |
T42 | <elros34> AFAIK only jolla 1 use btrfs | 19: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.patch | 19: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.log | 19:26 |
rinigus | vknecht: 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, though | 19:30 |
T42 | <dontatmepls> @elros34 heres the dmesg after applying your changes, want anything else? https://del.dog/avavisesod | 20:11 |
T42 | <dontatmepls> the command still gives same output tho with the ls, ill continue tomorrow but as always id appreciate suggestions | 20: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 reason | 20: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 build | 20:23 |
T42 | <dontatmepls> https://del.dog/osarumaluk sorry for late response @elros34 | 21:15 |
T42 | <dontatmepls> but it doesnt seem to find ueventd in there | 21:15 |
T42 | <elros34> fstab is missing so you need to build it. Use make modules | grep fstab to find out the name | 21:29 |
T42 | <dontatmepls> will do tomorrow morning :) | 21:42 |
*** electro is now known as Guest25321 | 21:48 | |
*** electro is now known as Guest58989 | 21:54 | |
Thaodan | I thought maybe this could be useful for some porters: https://github.com/android-linux-stable/notes | 23:03 |
vknecht | yeah, too bad the 3.10 notes were discontinued :-/ | 23:09 |
vknecht | but the process is the same, so all bases can be bumped up at least a bit | 23:11 |
vknecht | (is it worth mentioning all your bases are belong to us ?) | 23:13 |
vknecht | from my notes, https://github.com/upstream-caf-kernels was the old version | 23:14 |
* vknecht should get a go again at his device' 3.10.108 rebasing | 23:16 | |
vknecht | ie. compare downstream kernel (3.10.49 from vendor) to 3.10.108 with Meld, and integrate the differences | 23:18 |
vknecht | boots and runs, but crashes when opening LOS settings app on obscure kgsl3d fence or something :-/ | 23:19 |
vknecht | another way to update kernel : merging newer CAF tags : https://forum.xda-developers.com/android/software-hacking/reference-merge-caf-tag-kernel-t3787564/post76459987#post76459987 | 23:30 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!