r0kk3rz | you would have been exceptionally lucky if everything worked in the first build ;) | 00:09 |
---|---|---|
T42 | <edp_17> :) Yes, I wanted to be something like that. | 00:09 |
T42 | <edp_17> But probably my knowledge is not deep enough to achieve that. | 00:10 |
T42 | <edp_17> Not in any way. :) | 00:10 |
r0kk3rz | it almost never happens | 00:10 |
r0kk3rz | even for experienced porters | 00:10 |
T42 | <edp_17> For the hammerhead I made 16 builds while it started to be usable. Then another 3 with changes that needed to reflash the image. Plus two because the MTP didn't work and got help here. | 00:12 |
T42 | <elros34> your defconfig have disabled CONFIG_MEMCG but mer-kernel-check doesn't complain so pastebin your out/*/.config or zcat /proc/config.gz | 00:13 |
T42 | <edp_17> Certainly. | 00:13 |
T42 | <elros34> do you run mer-kernel-check against your defconfig or .config file? | 00:14 |
T42 | <edp_17> seemingly against .config | 00:15 |
T42 | <edp_17> That was in the hadk. | 00:15 |
T42 | <elros34> so I don't get it | 00:15 |
T42 | <elros34> anyway you need this enabled: https://github.com/mer-hybris/mer-kernel-check/blob/master/mer_verify_kernel_config#L219-L221 | 00:16 |
T42 | <edp_17> my .config is: https://pastebin.com/eJ0AqAFT | 00:19 |
T42 | <edp_17> Thank you. In the meantime I created and flashed another image. (removed the android.mount and android_external.mount + included all changes except this last one into the kernel.) | 00:23 |
T42 | <edp_17> Still, stuck on the samsung logo and telnet doesn't work. | 00:24 |
T42 | <edp_17> still don't have /system mounted | 00:25 |
T42 | <edp_17> can I mount it manually? | 00:26 |
r0kk3rz | you have telnet? | 00:27 |
T42 | <elros34> how about you provide fresh journaltl instead creating new images over again? In latest your systemd stuck so sure you can mount system but it will not help | 00:27 |
T42 | <edp_17> I agree. | 00:30 |
T42 | <edp_17> The fresh 'journalctl --no-tail -f': https://pastebin.com/kWiU1960 | 00:34 |
T42 | <edp_17> Sorry @r0kk3rz, I just see your question. By default I do not have telnet. I need to manually assign a mac then the IP address to get that. | 00:37 |
r0kk3rz | ok, thats not so bad | 00:38 |
T42 | <elros34> udev still waits for something, and you didn't remove every files related to your custom mount units. Alsonally show your /lib/systemd/system/system.mount | 00:38 |
T42 | <edp_17> system.mount: https://pastebin.com/WAqBhsbD | 00:44 |
T42 | <edp_17> I did remove all related stuff. At least under the droid-configs/sparse folder. | 00:45 |
r0kk3rz | and you rebuilt the config package? | 00:45 |
T42 | <elros34> system.mount looks good but one of the unit in /lib/systemd/system/*.mount must be wrong | 00:46 |
T42 | <elros34> android_external.mount: Where= setting doesn't match unit name. Refusing | 00:46 |
T42 | <edp_17> Yes I did rebuilt the configs with : 'rpm/dhd/helpers/build_packages.sh --configs' | 00:46 |
T42 | <edp_17> Right after I compiled the kernel. | 00:47 |
T42 | <edp_17> Hmm. In /lib/systemd/system I still have the android.mount and android_external.mount. How, if I deleted them from droid-configs/sparse? | 00:49 |
r0kk3rz | check if the file is still on the device | 00:49 |
T42 | <edp_17> If I delete these two files from the device and reboot, can that help? | 00:49 |
T42 | <elros34> ... I told to do this on device and grab new journal hour ago | 00:49 |
T42 | <edp_17> I know. But on my device at that time there was no sailfish installed. I was building the image with all you recommended (including removing these files) then I flashed this onto the device. | 00:51 |
T42 | <edp_17> Now I deleted these two files from the device. | 00:52 |
T42 | <elros34> if you are not sure whether your changes are included you can always unpack droid-hal or droid-config*rpms from droid-local-repo/$DEVICE/ | 00:52 |
r0kk3rz | sounds like you missed something in your build process | 00:53 |
T42 | <edp_17> Seemingly I did. :( | 00:53 |
T42 | <edp_17> Apologies I didn't want to waste your time. | 00:54 |
T42 | <edp_17> Either mine. | 00:54 |
r0kk3rz | i wonder if your kernel changes made it in either | 00:56 |
T42 | <edp_17> Good point. | 00:56 |
T42 | <edp_17> journalctl: https://pastebin.com/42Kc8cyv | 00:57 |
T42 | <elros34> r0kk3rz: I dont get his kernel changes, here memcg is disabled https://pastebin.com/raw/eJ0AqAFT but mer-kernel-check in droid-hal-$DEVICE.log doesn't complain abou it | 00:57 |
r0kk3rz | you did repackage the hal right? with build_packages.sh | 00:59 |
T42 | <edp_17> The memcfg change is not in this build. Elros told me after the build was baked. | 01:00 |
r0kk3rz | you can flash the boot.img with the kernel changes | 01:01 |
T42 | <edp_17> These are the steps I have done: https://pastebin.com/VcSNTX6A | 01:04 |
T42 | <edp_17> @r0kk3rz: Where can I find the boot.img? | 01:05 |
r0kk3rz | out/ from the kernel build process | 01:06 |
T42 | <elros34> out/target/product/$DEVICE/hybris-boot.img NOT boot.img | 01:06 |
r0kk3rz | thats the shortcut for doing kernel changes | 01:06 |
T42 | <edp_17> Thanks. I was looking in out/target/product/herolte/obj/KERNEL_OBJ/arch... | 01:07 |
r0kk3rz | find is your friend | 01:08 |
T42 | <elros34> you should consider this to get rid of noise from your logs https://github.com/Driim/android_kernel_samsung_universal8890/commit/afc6d3c4cb28c72f189ea817f5bda27a3c9d38cb | 01:08 |
T42 | <edp_17> Thank you. | 01:10 |
T42 | <edp_17> I have added the memcg changes and applied this last patch to remove the debug messages. Now I am compiling the kernel. | 01:18 |
T42 | <edp_17> Something is wrong because it is compiling the kernel for more than 10 minutes. | 01:30 |
T42 | <edp_17> Huh, it has completed and flashed on the device. | 01:36 |
T42 | <edp_17> mer-kernel-check: https://pastebin.com/zEs9hKX9 | 01:40 |
r0kk3rz | get the new journal | 01:40 |
r0kk3rz | you should also try and fix those warnings | 01:41 |
T42 | <edp_17> I got similar in hammerhead build so I may come back to them later, once the image works ok. | 01:43 |
T42 | <edp_17> fresh journal: https://pastebin.com/sbx4vSKf | 01:47 |
r0kk3rz | system mounted? | 01:54 |
T42 | <edp_17> No, unfortunately. :( | 02:00 |
r0kk3rz | it doesnt look like its even trying | 02:00 |
T42 | <elros34> it's still same, you should have "Mounting Droid mount for ". Have you checked all mount units in /lib/systemd/system/*.mount? Maybe just backup and remove them (leave only system.mount) to confirm that this is the issue | 02:02 |
T42 | <edp_17> I have a few ones: https://pastebin.com/8eJ4DTEG | 02:17 |
T42 | <edp_17> I have spotted something else. In my edp17 branch here: https://github.com/edp17/droid-hal-herolte/tree/edp17 | 02:18 |
T42 | <edp_17> the dhd is pointing to an unkown place. | 02:18 |
T42 | <edp_17> On my pc the dhd folder is refreshed from mer-hybris. | 02:18 |
T42 | <edp_17> How can I push this into https://github.com/edp17/droid-hal-herolte/tree/edp17 dhd? | 02:18 |
T42 | <elros34> cd to dhd and make sure it points to mer-hybris: git remote -v then git checkout to latest commit | 02:24 |
T42 | <edp_17> The reason I need this , this is used in my local_manifest. And because the dhd is pointing to nowhere, it is always pulling down the old helpers file from ISDriim repo. | 02:24 |
T42 | <edp_17> the git remote -v returns with DRiim's repo. | 02:25 |
T42 | <edp_17> however I refreshed it from mer-hybris. | 02:27 |
T42 | <elros34> just to make sure: you used latest dhd from mer--hybris when building packages not 2 yesrs old? | 02:28 |
T42 | <edp_17> Now I am not sure anymore. I think, better if I delete and re-do the content in rpm folder. | 02:29 |
T42 | <elros34> go to dhd and run git log | 02:29 |
T42 | <edp_17> https://pastebin.com/4n6w7vEH | 02:31 |
T42 | <edp_17> But if you click on the 'dhd @ 06faa02' link in my repo, that takes you a 404 page. So, when I try to use this in my local_manifest, it won't work. | 02:32 |
T42 | <elros34> this git log looks good except latest commit. I have no idea what do you need local_manifest at this stage, you already synced all your repos. I didn't run repo sync in my HABUILD since ages and I wouldn't even try to not loose my local changes | 02:35 |
T42 | <edp_17> Well, this should be ok then. | 02:36 |
T42 | <elros34> this commit is not ok 06faa020039fa50208b9b7e4a729b2521d6a0b4c | 02:36 |
T42 | <edp_17> Why? | 02:37 |
T42 | <edp_17> That was when I refreshed dhd from mer-hybris. | 02:38 |
T42 | <edp_17> I think I got it. When I refreshed dhd, I committed my work when I was IN dhd folder, not from rpm | 02:38 |
T42 | <edp_17> So, probably I need to revert that commit and refresh dhd while I am in rpm, not in dhd. | 02:40 |
T42 | <elros34> git reset —hard is your friend. Anyway I need to sleep a little, leave a feedback whether removing those mount units (except system) helps cause I have no other ideas why systemd stuck | 02:42 |
T42 | <edp_17> Of course. Thank you for your support so far. Sleep well, good night. Probably I'll go too sleep soon. | 02:42 |
T42 | <edp_17> I have removed all .mount except system.mount, rebooted and checked the mounts. Still there is no /system anywhere. | 02:50 |
T42 | <edp_17> To be continued... | 02:51 |
T42 | <birdzhang> @edp_17 where is your kernel source? point me the github url | 02:53 |
T42 | <edp_17> Hi @birdzhang ! | 02:53 |
T42 | <birdzhang> on my device(vince), i have to edit boot dtsi | 02:53 |
T42 | <edp_17> I used this kernel (cm-14.1): https://github.com/edp17/android_kernel_samsung_universal8890 | 02:55 |
T42 | <edp_17> I am soon fainting out so, probably need some sleep. :( | 02:57 |
T42 | <edp_17> Good night everyone. | 02:57 |
T42 | <birdzhang> Good night | 02:58 |
T42 | <adampigg> quick silica question.... i have a 'base' Page{} qml file, with a flickable, pulldownmenu and an item | 07:41 |
T42 | <adampigg> the item.data is exposed as a default property so 'implementation' pages can add a flickable to it | 07:42 |
T42 | <adampigg> i want to do something similar with the pulldown menu, but when I expose that and add items to it, they all appear ontop of each other | 07:43 |
T42 | <adampigg> i exposed it as menu._contentColumn | 07:43 |
T42 | <adampigg> and add menuitems as an array | 07:43 |
T42 | <adampigg> eg, menu: [......] | 07:43 |
T42 | <adampigg> onlything i can think to try is adding using javascript, setting the parent to the menu contentcolumn, but im not sure how to set the onClicked handler doing it that way | 07:45 |
T42 | <adampigg> q1q1.> | 07:46 |
Mister_Magister | @adampigg i believe qt questions go to #sailfishos channel :P | 07:55 |
T42 | <adampigg> yeah yeah, but i dont have that on telegram | 08:04 |
r0kk3rz | you wanna what with the who? | 08:19 |
T42 | <adampigg> r0kk3rz, populate a pulleymenu from a 'subclass' of a Page | 08:44 |
T42 | <adampigg> by exposing the menu control as a property | 08:44 |
T42 | CYB3R0ID694 was added by: CYB3R0ID694 | 11:42 |
T42 | <CYB3R0ID694> Anyone tried to port Sailfish on OnePlus 6? | 11:45 |
mal | someone was already porting it | 11:46 |
T42 | <CYB3R0ID694> If anyone building & need tester, ping me.. I would love to be tester | 12:12 |
Mister_Magister | mal: so what do we do with udev rules | 12:14 |
mal | fix them? | 12:15 |
Mister_Magister | but how | 12:15 |
Mister_Magister | idk how | 12:15 |
Mister_Magister | mal: c…can you help me with that or no chance | 12:30 |
mal | I can't help right now, try to search online how to make absolute links in udev rules | 12:31 |
Mister_Magister | okay | 12:31 |
* Mister_Magister i can't do it rn either | 12:31 | |
deathmist | mal: any news about libhybris submodule update? I've been using my fork @ https://github.com/sailfishos-oneplus5/libhybris for over a week and I've seen no issues so far myself, this at least provided fixed audio out of the box on 16.0 | 14:56 |
Mister_Magister | mal: i don't think you can make absolute symlinks | 15:03 |
mal | pretty sure you can but might need some magic | 15:05 |
mal | deathmist: we have been thinking if we should include some things there before submodule update | 15:05 |
*** ahjolinna_ is now known as ahjolinna | 19:22 | |
rinigus | vknecht & mal: when comparing xperia 10 and tama guides, looks like we do miss https://github.com/mer-hybris/droid-src-sony-ganges-pie/blob/master/patches/system/sepolicy/0001-sailfishos-Add-sepolicy-class-for-dbus.patch when building systemimage vendorimage | 20:02 |
rinigus | right now cannot say whether that patch is touching anything involved in systemimage or vendorimage | 20:02 |
rinigus | for hybris-hal it was applied | 20:03 |
vknecht | rinigus, funny you speak of it, just experiencing "dbus-daemon[2648]: Failed to set up security class mapping (selinux_set_mapping():Invalid argument)." | 20:11 |
vknecht | guess should disable again in /etc/selinux/config | 20:12 |
rinigus | vknecht: I will try to see where do those files end up on devices meanwhile | 20:13 |
mal | rinigus: seems quite important | 20:31 |
rinigus | mal: maybe, checking whether its used on android or hybris side. have to apply them and see whether they will influence the build | 20:32 |
vknecht | disabling in /etc/selinux/config cleared that dbus fail | 20:33 |
rinigus | mal: if it is on android side then the logic of keeping android as-is will not apply for selinux enabled builds. or we will have to patch it while installing | 20:33 |
mal | rinigus: well missing dbus will cause everything to fail | 20:43 |
rinigus | mal: agreed! I have to rebuild full image, so it will take a while. right now I do disable selinux in /etc config. | 20:45 |
mal | I'm porting fp2 to new android base, again | 20:47 |
rinigus | mal: on xperia 10, do you have dbus in /system/etc/selinux? `grep -r dbus` . I suspect it ends up there | 20:50 |
rinigus | fp2 - which base? | 20:51 |
mal | android 7, fairphone finally released the official sources for their android 7 base | 20:51 |
piggz | rinigus: on your port, have you had firewall issues with the usb connection? | 20:51 |
mal | I was also considering lineage 16 or 17 | 20:51 |
mal | rinigus: there are two lines with dbus in that folder | 20:53 |
rinigus | piggz: don't think so, but I may have tested for developer only. | 20:53 |
rinigus | mal: thanks! ok, so that's what I am missing. and I suspect vknecht as well. will rebuild systemimage and see if I can get selinux up and running in permissive mode on xz2 with these files changed | 20:55 |
rinigus | mal: and I presume some hits are in /vendor/etc/selinux as well | 20:59 |
mal | I think could be in /vendor/etc/selinux/precompiled_sepolicy | 21:00 |
rinigus | when checking with drmservice (assuming its similar), I've got a hit in /vendor/etc/selinux/plat_pub_versioned.cil: | 21:02 |
rinigus | well, will know tomorrow :) | 21:03 |
T42 | <edp_17> Good evening. | 23:43 |
T42 | <edp_17> I had an idea with my S7 build. As it still stuck on the samsung logo and seemingly there is no /system is mounted. So, I downloaded DRiim's image from xda and installed it on my S7. (That is an older image 2.1.4.14.) Then I wanted to copy over the /lib/systemd/system/system.mount into my build to see it boots up with that. But before | 23:47 |
T42 | I did this, compared the system.mount in both images and realized they are the same. | 23:47 |
r0kk3rz | yeah theres nothing wrong with the file | 23:48 |
T42 | <edp_17> So it seems my image doesn't boot NOT because of the system.mount in my image. | 23:48 |
T42 | <edp_17> Then I thought it mus be the kernel in my image. | 23:48 |
T42 | <edp_17> So, I flashed my kernel over when DRiim's image was installed on my S7 and rebooted. It booted up correctly, so it is not the kernel either. | 23:49 |
r0kk3rz | the kernel didnt seem that unhappy | 23:49 |
T42 | <edp_17> I am lost now. | 23:49 |
T42 | <edp_17> Hi @r0kk3rz | 23:49 |
T42 | <edp_17> What I spotted is Driim's image doesn't get the max address + ip address either. To access that, I also needed to do the manual trick that Elros told my on the other day. | 23:50 |
T42 | <edp_17> Well, anyway, this is where I am now and I am out of idea what to change to get my image boot up. | 23:51 |
T42 | <edp_17> I have a fully build 3.2.0.12 image and all the rpm packages. Is there any way to install them all on Driim's image? | 23:52 |
r0kk3rz | you dont want to do that | 23:53 |
T42 | <edp_17> I know this is very messy, but don't have any other idea. | 23:53 |
T42 | <edp_17> I thought if I flash my kernel on his image and replace all packages, then I am technically using the one that I built. | 23:54 |
r0kk3rz | flailing around madly wont help | 23:54 |
r0kk3rz | systemd has a bunch of diagnostic tools we can use to figure out wtf is going on | 23:54 |
T42 | <edp_17> I see, then It was a desperate but bad idea. | 23:55 |
r0kk3rz | because for some reason its not mounting system, which is obviously the problem | 23:55 |
T42 | <edp_17> yes | 23:55 |
T42 | <edp_17> The problem is that I am not at all familiar with this Linux version (Sailfish) and I never really used any diagnostic tools on other version either. | 23:56 |
r0kk3rz | for eg. systemd-analyze plot > /home/nemo/startup.svg | 23:56 |
T42 | <edp_17> systemd is a black whole to me. | 23:56 |
r0kk3rz | this will give you a picture of the boot order | 23:56 |
T42 | <BusterBg_18> Hi all, what do I need to debug to get lipstick to start? | 23:57 |
r0kk3rz | yes, this is porting, you're going to need to learn some things | 23:57 |
T42 | <edp_17> systemd-analyze command not found | 23:57 |
T42 | <edp_17> Yes I am willing and happy to learn! | 23:57 |
T42 | <BusterBg_18> Trying once again to port hybris-16 and as always not getting a damn GUI | 23:57 |
T42 | <edp_17> I meant systemd is a black hole rather than whole. :) | 23:59 |
r0kk3rz | @BusterBg_18: check things are booting properly first, droid-hal-init finishes properly, other things start up | 23:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!