Thursday, 2022-04-07

T42<Kennedy> https://irc.thaodan.de/.imgstore/6905696d/file_3494.jpg05:08
T42<edp_17> Thaks mal.06:37
piggzjusa: just saying ... this would be kinda handy for my users https://github.com/bluez/bluez/commit/bbeabca44a3da3e1efd8e57b0366bbb45aadbb5b :)07:31
jusapiggz: ok, thanks.. :)07:32
piggzjusa: while not fixing amazfish with the GTR2 watch, atleast i can set the appearance in the info file to stop bluez trying to read it (it fails for -reasons-)07:34
jusapiggz: you can also make a pull request to https://github.com/sailfishos/bluez5/ which would improve chances of that getting included sooner a lot07:35
piggzso, until its in sfos, some people might choose to use my build .... yes ... i wasnt sure if i should wait until its in a released version upstream07:35
T42<leha155> hello, I'm porting hybris-18.1 to my MIX 2S (Polaris) I have bootloop after 3-5 seconds after start. Do you have any ideas?09:21
T42<leha155> Log https://pastebin.com/rbSXvUX109:21
T42<leha155> Git https://github.com/15leha15/droid-config-polaris/tree/hybris-18.109:21
T42<adampigg> selinux usually (re @leha155: hello, I'm porting h...)09:42
T42<leha155> I add minimum selinux configuration https://github.com/15leha15/droid-config-polaris/commit/a94814665741aea776fad2a846a4008157e45e8f09:50
T42<leha155> my defconfig https://pastebin.com/hvC5jXR609:50
T42<leha155> or is that not enough? (re @adampigg: selinux usually)09:50
T42<adampigg> how is your boot commandline set? (re @leha155: I add minimum selinu...)09:51
T42<leha155> BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0xA84000 androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true loop.max_part=7 androidboot.usbcontroller=a600000.dwc3 audit=0 selinux=1 (re @adampigg: how is your boot com...)09:53
T42<adampigg> looks like youve done everything right there09:55
T42<adampigg> mal might know if there is anything else for 18.1 ... ive not done an 18.1 port yet09:56
T42<adampigg> do you know how far the boot gets, any isb activity?09:56
T42<adampigg> s/usb09:56
T42<Verevka86> CONFIG_SECURITY_SELINUX_BOOTPARAM=y09:57
T42<Verevka86> CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1 (re @leha155: I add minimum selinu...)09:57
voidanix[m]i have the same issue as @leha155 on AOSP 11 (sony)10:03
voidanix[m]phone vibrates twice (reboots? can trigger fastboot after the first vibra), then effectively reboots to the bootloader logo10:03
T42<leha155> @Verevka86 nothing has changed unfortunately.11:54
T42<leha155> Diode lights up for 1 second. The USB network starts to establish a connection, but does not have time to connect. Next reboot, and so on in a loop. (re @SailfishFreenodeIRCBridgeBot: <voidanix[m]>phone v...)12:02
T42<leha155> @adampigg yes, usb active, please see my up message.12:04
T42<adampigg> look fr the device strings, they can help say how far the init gets12:05
T42<Verevka86> https://github.com/SailfishOS-vayu/android_kernel_xiaomi_sm8150/commit/cd63bb33bc04f25b1ba2ac26e22d003e873c214b (re @leha155: Diode lights up for ...)12:09
voidanix[m]does not apply cleanly here but will let you know in a few days if this works13:02
T42<leha155> I tried this patch and it didn't work for me. In addition, I do not see the errors described in the hot-faq (re @Verevka86: https://github.com/S...)14:46
Mister_Magisterhmmm since i gained knowledge of gstreamer, maybe i will be able to finally  get video recording on x2 lol16:30
T42<leha155> I wanted to get logcat, so I added it to /usr/bin/droid/droid-hal-early-init.sh16:54
T42<leha155> "sleep 2016:54
T42<leha155> /usr/libexec/droid-hybris/system/bin/logcat16:54
T42<leha155> sleep 10"16:54
T42<leha155> now i have telnet and full log and no bootloop.16:54
T42<leha155> I didn't get logcat because "Failed to start droid-hal-init."16:54
T42<leha155> Now I will figure out what's going on.16:54
T42<leha155> I'll also be happy to hear your suggestions.16:54
T42<leha155> Log https://pastebin.com/iczutt5x16:54
T42<leha155> I wanted to get logcat, so I added it to /usr/bin/droid/droid-hal-early-init.sh16:59
T42<leha155> "sleep 2016:59
T42<leha155> /usr/libexec/droid-hybris/system/bin/logcat > /logcat.iog16:59
T42<leha155> sleep 10"16:59
T42<leha155> now i have telnet and full log and no bootloop.16:59
T42<leha155> I didn't get logcat because "Failed to start droid-hal-init."16:59
T42<leha155> Now I will figure out what's going on.16:59
T42<leha155> I'll also be happy to hear your suggestions.16:59
T42<leha155> Log https://pastebin.com/iczutt5x (edited)16:59
T42<leha155> I wanted to get logcat, so I added it to /usr/bin/droid/droid-hal-early-init.sh17:01
T42<leha155> "sleep 2017:01
T42<leha155> /usr/libexec/droid-hybris/system/bin/logcat > /logcat.log17:01
T42<leha155> sleep 10"17:01
T42<leha155> now i have telnet and full log and no bootloop.17:01
T42<leha155> I didn't get logcat because "Failed to start droid-hal-init."17:02
T42<leha155> Now I will figure out what's going on.17:02
T42<leha155> I'll also be happy to hear your suggestions.17:02
T42<leha155> Log https://pastebin.com/iczutt5x (edited)17:02
T42<kquote03> How much does using an older version of hybris impact security?17:54
T42<elros34> Strange question. Why would you use older version anyway?17:59
T42<kquote03> we can't get apex to work, like at all (re @elros34: Strange question. Wh...)17:59
T42<elros34> you use the best lineage version supported18:00
T42<kquote03> well that would be 1818:00
T42<kquote03> does audio still not work on hybris 18?18:00
T42<elros34> AFAIK it works. Did you finally uploaded latest droid-config on github?18:01
T42<kquote03> it should already be the latest droid-config (re @elros34: AFAIK it works. Did ...)18:11
T42<elros34> if this is the repo: https://github.com/aymanrgab/droid-config-a5y17lte then not really. I do not see indication of disabled_services.rc and android_version_major in github but definitely it is in your logs18:18
T42<Spidey24Z> This was for hybris 16 we change hybris 17 stuff locally18:30
T42<elros34> so github is not upd-to-date and you constantly tell me it is18:31
T42<elros34> @leha155 instead getting droid-hal-init.service time out mask it (user@100000 too)  then you can strace it and if you are fast get logcat right after your start droid-hal-init annd before it reboot18:34
T42<Spidey24Z> @elros34 So we need to copy usr/libexec/droid-hybris/system/etc/init/*.rc files just like hybris 16 or what ?18:37
T42<elros34> just follow hadk-faq: hybris-18 section but I assume you have allready did it based on logs.18:38
T42<Spidey24Z> We on hybris 17 now and hadk-faq didn't mention any thing about .rc files it's on section 1618:40
T42<elros34> but it mentions about android_version_major which copy needed files. Why is so hard to upload up-to-date repos? It's like 30s work: git add ./commit/push18:42
T42<system> file st1.log too big to download (2747267 > allowed size: 2000000)21:28
T42<leha155> (edited)21:28
T42<system> file st1.log too big to download (2747267 > allowed size: 2000000)21:30
T42<leha155> (edited)21:30
T42<elros34> so device reboots immediately after starting strace droid-hal-init so you couldn't get logcat? What about live journal -f or dmesg -w, anything failing there?21:35
T42<elros34> according to strace I think apexd starts so there should be plenty of journal/dmesg messages21:37
T42<leha155> No, when i use strace, i have about 2 second before reboot. But i have "/bin/sh: /usr/libexec/droid-hybris/system/bin/logcat: not found21:40
T42<leha155> " all time.21:40
T42<elros34> but you need to execute it right after starting droid-hal-init21:41
T42<elros34> anyway journal might be more usefull21:41
T42<elros34> this one is interesting: "apexd: This device does not support updatable APEX. Exiting". I remember 1 device which needed patch to get apex working, without it apexd exited wiht error and this caused whole ueventd start like in your log: "ueventd: ueventd started!". THis can probably cause your reboot21:49
T42<leha155> This is 0047-hybris-Do-not-SetupMountNamespaces.patch ? Where i can get this patch?21:59
T42<elros34> I do not see connection. Try to comment out: https://github.com/LineageOS/android_system_apex/blob/lineage-18.0/apexd/apexd.rc#L8 instea22:00

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