Wednesday, 2023-03-15

T42<FakeShell> apparently droid-hal-init fails04:29
T42<FakeShell> masking it and running it manually gets me no output with the status code 604:29
T42<FakeShell> running logcat from /usr/libexec/droid-hybris/system/bin gives me04:29
T42<FakeShell> 04:29
T42<FakeShell> user@100000.service seems to start fine and has the status of running04:29
T42<FakeShell> 04:29
T42<FakeShell> i also get `qcom,leds-qpnp 800f000.qcom,spmi:qcom,pm660l@3:qcom,leds@d000: zjl   pwm config 333` spamming my journalctl every second making it very unreadable04:29
T42<FakeShell> Oh yeah device is xiaomi laveder sdm660 hybris 9.005:36
T42<FakeShell> Oh yeah device is xiaomi lavender sdm660 hybris 9.0 (edited)05:36
T42<elros34> whats that 'bash logcat' command supposed to  do? Just start it normally '/usr/libexec/droid-hybris/system/bin/logcat'. Why do you mask droid-hal-init? Doesn't it generate any output in dmesg/journal when it start itself?08:06
T42<elros34> about these leds spam, does it happen after some some service start?08:09
T42<FakeShell> Thats because when i run logcat (from path) it gives me not found19:11
T42<FakeShell> `/usr/libexec/droid-hybris/system/bin/logcat`19:11
T42<FakeShell> `logcat: not found` (re @elros34: whats that 'bash log...)19:11
T42<FakeShell> I masked the service because when systemd also ran the service it failed with status code 6 and no output19:12
T42<elros34> looks like you are fixing things in wrong order. Did you read instruction and  check every steps first like systemd mount units, selinux , disable rate limiting and so on?19:13
T42<FakeShell> yes i have the systemd mount unit for my system system_root and vendor19:21
T42<FakeShell> i added the hwservicemanager environment hack for selinux stubs as well19:21
T42<FakeShell> i'll add printk.devkmsg=on to make sure i have that as well19:21
T42<elros34> what android version do you use?19:22
T42<FakeShell> hybris 9.019:25
T42<elros34> 9? I  guess you meant 16?19:26
T42<FakeShell> yeah 16 (i'm used to the halium naming scheme)19:27
T42<elros34> so did you disable selinux via bootparam like in instructions?19:27
T42<FakeShell> i'll make sure of that when i get back home19:28
T42<elros34> check in logs if you have them19:29
T42<FakeShell> yeah i figured out what the issue was now i added all my rc files to my droid-configs in sparse/usr/libexec/droid-hybris/etc/init and i'm trying to rebuild the rootfs i get23:05
T42<FakeShell> 23:05
T42<elros34> why do you build droidmedia again?23:10
T42<elros34> do you use recommended droid-hal/configs revision from hadk-hot?23:11
T42<FakeShell> uhm i don't think i am23:12
T42<FakeShell> i cleaned droid-local-repo and hybris/mw then rebuild everything with23:12
T42<FakeShell> 23:12
T42<FakeShell> `rpm/dhd/helpers/ --droid-hal && rpm/dhd/helpers/ --configs && rpm/dhd/helpers/ --mw && rpm/dhd/helpers/ --gg && rpm/dhd/helpers/ --version` (re @elros34: why do you build dro...)23:12
T42<FakeShell> should i not do a clean rebuild?23:13
T42<elros34> I see no point doing that23:13
T42<elros34> unless you did some significant changes, I do not know23:13
T42<FakeShell> if i just do --configs then --mic it fails with missing packages23:13
T42<elros34> obviously if you removed your droid-local-repo: built packages then you must now build everything again23:14
T42<FakeShell> yeah so now when rebuilding everything from scratch i get this (re @elros34: obviously if you rem...)23:14
T42<FakeShell> removing my init files fixes everything and it will build again23:14
T42<elros34> you should follow advice about correct submodules instead23:15
T42<FakeShell> can you elaborate23:15
T42<elros34> "do you use recommended droid-hal/configs revision from hadk-hot?"23:15
T42<FakeShell> ah23:16
T42<FakeShell> i'm using the default submodule found in23:16
T42<FakeShell> - droidmedia: 0.20220929.023:16
T42<FakeShell> - droid-hal-device: <= 960d6af23:16
T42<FakeShell> - droid-hal-configs: <= 414d96c23:16
T42<elros34> hadk pdf is notoriously outdated23:17
T42<FakeShell> let me switch up the submodules then23:18
T42<FakeShell> i can't find the commit 414d96c23:37
T42<FakeShell> checking out 414d96c also results in git complaining about that commit not matching anything23:37
T42<FakeShell> nevermind i was looking at droid-hal-device23:38

Generated by 2.17.1 by Marius Gedminas - find it at!