Thursday, 2024-02-08

genericv3hello, now i'll add most of modifications we made to sparse. I remember these right now: Fix system mount, json thingy and symlink, mask usb moded by default, libandroidicu to /odm, SELinux config & policy from vendor14:57
genericv3Then i'll check irc logs to see what we done14:57
genericv2i'll do them now but, how can i?16:12
genericv2Can i directly add those to sparse by creating the folders or there is another way?16:12
genericv2For system mount*16:19
genericv2GUYS16:32
genericv2TEST HWCOMPOSER GAVE DISPLAY OUTPUT NOW16:32
genericv2AAAAAA16:32
genericv2btw, there wa a wrong sepolicy file. i copied that with the real one and boom16:33
genericv2i never thought i'll be happy for seeing this crappy animation16:33
T42_<b100dian> :D16:34
malgenericv2: just as we suspected, some issue with selinux16:35
malif test_hwcomposer gives output then getting UI working should not be too difficult16:35
genericv2yeah, my  stupidness level is another level for not seeing that16:36
genericv2i could able to run lineage boot animation too, we fixed display thingies16:38
genericv2But it's not trying to start lipstick right now, i think16:38
genericv2system-etc-ld.config.28.txt.mount                                      loaded failed     failed16:39
genericv2hm16:39
genericv2i'll check this one16:39
genericv2everything else are okay16:39
T42_<elros34> impossible, lipstick is up and happy?16:40
genericv2Nope, it's not even trying to start16:41
genericv2but i don't care because WE GOT A SIGN OF LIFE (except telnet ofc)16:41
genericv2i'll try things to make it try to start lipstick now16:41
T42_<elros34> it should always start automatically16:42
T42_<elros34> you can't even mask it just like that16:42
genericv2some service keeps restarting and not letting it start i guess16:42
genericv2Maybe these "Could not find" dudes from droid-hal-init block boot16:46
genericv2mal:  binder-list returns a cool enough list now16:51
malgood16:58
maljust show logs again16:59
genericv2took them now, gonna reboot to twrp to pull them16:59
T42_<elros34> what do you need twrp for?17:00
genericv2does telnet have file pulling?17:00
malis ssh working to the device?17:00
genericv2ah, never tried17:00
T42_<elros34> about telnet no, but its not need. you can just select and copy17:00
maljust set password for defaultuser from terminal first17:00
genericv2set a password, also enabled pass auth . it still gives permission denied17:07
T42_<b100dian> You can reverse ssh to your computer, from telnet. Actually scp17:20
T42_<elros34> or use some other exotic way to copy files from telnet but why even bother when you can select logs with mouse17:22
genericv2nevermind i found the issue. i can't believe myself17:24
genericv2i am in, finally17:25
T42_<b100dian> What was the issue?17:33
genericv2me trying to ssh to the laptop itself from the laptop instead of the phone.17:33
genericv2Xd17:33
genericv2https://paste.opensuse.org/068d14d7e64917:35
genericv2and logcat: https://paste.opensuse.org/ed94dbede70517:35
T42_<elros34> I know reading long hadk is something people never do but please at least follow advice from it and disable audit. Look at these logs, they are filed with irrelevant spam, you will never find error in 10000 lines long text unless you know excatly what to search17:43
genericv2i try to read hadk as long as i can, i forget about hadk-hot today, sorry17:45
T42_<elros34> about main issue, didn't you maks user@100000?17:46
T42_<elros34> mask*17:46
genericv2it's not masked right now, do i need to mask it?17:47
T42_<elros34> no, I do not see it that is why I ask, maybe check systemctl17:48
genericv2EVERYTHING is okay except "systemd-tmpfiles-setup.service"17:49
genericv2disabled audit, i'll give new logs17:50
T42_<elros34> that one is probably not very relevant, I guess you may missing some cgroup configs17:51
genericv2https://paste.opensuse.org/84d35cd4473b18:00
genericv2https://paste.opensuse.org/44cb7c0d7f3118:01
genericv2with audit=0, idk if something changed or not18:01
T42_<elros34> are you sure systemctl looks fine? For me at least wait_for_keymaster.service is incorrect18:13
genericv2systemctl does not have any failing services except that unimportant tmpfiles thingy18:15
genericv2wait_for_keymaster is a mess right now, but it does not appear in systemctl idk why18:15
malrun "binder-list -d /dev/hwbinder | grep android.hardware.keymaster"18:16
T42_<elros34> fix service file and see if that will help. I Never know how to debug systemd but for sure i waits for something18:16
genericv23.0 exist18:16
genericv2android.hardware.keymaster@3.0::IKeymasterDevice/default18:16
T42_<elros34> but mistake is in service file not script18:16
T42_<elros34> right in script too18:18
genericv2it's searching for 4.118:19
genericv2i made it 3.0 now, i'll revert it back to 4.1 again if i am wrong18:19
genericv2looks okay now, fingerprint daemon thingy launched now18:22
genericv2https://paste.opensuse.org/6fbd94676c7e18:26
genericv2https://paste.opensuse.org/cdd12e45fb3f18:26
malso add the custom wait_for_keymaster to sparse so it overrides the one from śubmodule18:27
genericv2yeah i must do that before forgetting18:27
malshould also systemctl output so we see which services are running and which waiting for something18:27
T42_<elros34> do you watch logs continuously? I guess there should be some 1 or 2 minute timeout18:30
genericv2yeah i normally do, but today didn't checked logs for that much time18:31
genericv2what do i need to look for18:31
genericv2mal: took them, now sending18:32
malis user session running?18:32
genericv2Like default.target?18:32
mal"systemctl-user" or "systemctl --user"18:32
T42_<elros34> user@100000 is not started18:32
genericv2Failed to connect to bus: No such file or directory18:35
genericv2how, it's not masked or anything18:35
genericv2i'll check18:35
T42_<elros34> systemctl status user@10000018:35
genericv2loaded but dead18:36
genericv2hm18:36
T42_<elros34> can you show you droid-config?18:37
genericv2user@100000 was working yesterday, very strange18:38
T42_<elros34> maybe also systemctl list-dependencies18:38
maljust show the systemctl output, I know some ways things could break18:40
genericv2https://paste.opensuse.org/pastes/47b7cd2d275618:40
genericv2oh, services failed after i checked systemctl output. now i see them18:45
genericv2droid-bootctl etc is dead18:54
genericv2mal: any idea or its my fault? I'll mess with it if i made a stupid thing again.19:00
malgenericv2: that says now that user@100000 is running19:05
maltry again systemctl-user19:05
genericv2i accidently uploaded the wrong file19:11
genericv2that was a previous output of systemctl19:12
genericv2mal: https://paste.opensuse.org/74fc2103f4b019:13
genericv2Thanks for being patient for my stupid mistakes19:14
maldo you have gmp-droid installed?19:18
malI have a feeling this could be same issue I saw on one other android 13 based device during early porting19:19
genericv2https://paste.opensuse.org/pastes/6751529349e0 it is, i guess...19:20
malrun "zypper rm gmp-droid"19:20
genericv2it's installed19:21
malyes, let's uninstall it for now19:21
genericv2it'll uninstall these aswell: droid-hal-version-sagit patterns-sailfish-device-adaptation-sagit patterns-sailfish-device-configuration-sagit19:21
genericv2looks scary :D19:22
maldoes it allow breaking dependencies?19:22
malusually it gives option for that19:22
genericv2hmm, no i think.19:22
genericv2I only can choose y n and v19:23
genericv2? gives more options but none of them allows to break dependencies19:23
maltry "zypper rm -R gmp-droid"19:23
genericv2still same19:24
malhmm19:24
genericv2looks bad19:24
T42_<elros34> rpm --nodeps or remove files rpm -ql gmp-droid19:25
malwe want to get rid of the oneshot that package installs19:26
malit can hang forever is something is wrong in media side19:26
mal*if19:26
genericv2i made something: https://paste.opensuse.org/pastes/de4d14e3b61b19:28
T42_<elros34> rpm -e --nodeps  gmp-droid19:30
genericv2it's gone now19:31
genericv2'gmp-droid' not found in package names.19:31
genericv2(the second one is after trying zypper rm to confirm it's removed)19:31
genericv2now it tried to start things at least, but failed with strange errors19:36
genericv2droid-hal-init is broken again19:37
genericv2oh no, not this again19:39
genericv2libc: Unable to set property "droid.late_start" to "trigger_late_start": connection failed; errno=111 (Connection refused)19:39
genericv2https://paste.opensuse.org/pastes/f2068b4f740519:41
genericv2oh no, binders broke again19:43
malany chance droid-hal-init times out?19:43
genericv2maybe, i'll try to increase it's timeout value19:45
genericv2it also failed with timeout 60 seconfs19:48
genericv2will logcat be enough?19:48
malshow both journal and logcat19:50
genericv2i rebooted the laptop instead of the phone. connecting the thing to the wifi is another pain.19:51
maltake the journal after droid-hal has timed out so we see how it breaks19:51
malif logcat works keep it running until it fails19:51
genericv2https://paste.opensuse.org/ebeb34043681 and https://paste.opensuse.org/e54d5c777a5a19:54
malnot sure why it fails now20:16
maldid you do anything else since it was working before20:16
genericv3i don't know, i'll think about it. Lets create a list of our known-working modifications. I added some of them to sparse but it's not done yet, maybe a new package can fix my issues.20:28
genericv3Also if something comes to your mind about this please write it with tagging me, i am checking irc logs for these :)20:29
genericv3And as always bye, at least we got a graphical sign of life today :D20:30
T42_<elros34> not list but simply upload droid-config to github20:40

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