Wednesday, 2019-08-28

riniguskimmoli: I think I hit the same issue as we had earlier. while fp2 works fine, onyx and 1+1 (if I remember correctly) failed to boot into gui after some submodule update. probably config. I suspect that issue has never been resolved.04:13
riniguskimmoli: will look tonight to what was the module in the logs (probably config) and if nothing else pops up into the mind, will probably downgrade that back.04:14
kimmoliok05:02
electro5751@elros34 : i have launched this script with nemo user ->07:56
electro5751/usr/bin/droid/droid-load-firmware.sh07:56
electro5751and my 4G work, not mms07:56
electro5751ofono problem now -> https://dpaste.de/4FTV08:11
electro5751mal, have you an idea about debug ofono ?08:34
electro5751ril_subscription.conf ?08:34
Mister_Magisterdon't place space between word and questionmark08:35
electro5751can we stop ofono with the same command of pulseaudio ? systemctl --user stop pulseaudio08:58
T42<ArixElo> Hi, I'm porting again, but with CONFIG_SELINUX_DISABLE=y09:32
T42<ArixElo> Is this gonna help?09:32
electro5751yes09:41
electro5751maybe you need this too09:42
electro5751add selinux=0 in this CONFIG09:42
electro5751CONFIG_CMDLINE="console=ttySAC2,115200 selinux=0 consoleblank=0 androidboot.hardware=smdk4x12"09:42
electro5751it's an example, adapt for your device09:42
electro5751and maybe disable watchdog if it's necessary09:42
T42<ArixElo> electro5751: you mean .config?09:48
electro5751in defconfig09:48
T42<ArixElo> electro5751: I don't have it at my defconfig, but I have it on .config on KERNEL_OBJ folder09:55
electro5751you can add this on your defconfig09:55
electro5751i have this CONFIG09:55
electro5751and see selinux disable on your device at boot09:56
electro5751in journalctl09:56
T42<ArixElo> Adding this in .config only is gonna not enough?09:59
electro5751i don't know what is the equivalent file of defconfig on the device10:02
electro5751but if you change something on defconfig -> make hybris-hal again -> and flash hybris-boot.img with TWRP10:03
electro5751mal, are you available ?10:14
electro5751for an old kernel, it's not the old ofono-ril-binder-plugin ?10:22
electro5751it can be a good example ? this file https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/etc/ofono/ril_subscription.conf10:24
T42<ArixElo> (Photo, 720x1280) https://irc.thaodan.de/.imgstore/KRTqxC6OLI.png10:25
T42<ArixElo> electro5751: is it ok10:26
electro5751not really, selinux=0 yes10:27
electro5751but you must find the cmd of your device10:27
electro5751as this : CONFIG_CMDLINE="console=ttySAC2,115200 consoleblank=0 androidboot.hardware=smdk4x12"10:28
electro5751maybe it's ATAG_CMDLINE10:28
T42<ArixElo> there is no atag_cmdline10:56
electro5751or check cat /proc/cmdline10:56
electro5751and see if you have the same sentence as mine10:56
electro5751console=ttySAC2,115200 consoleblank=0 androidboot.hardware=smdk4x1210:57
T42<ArixElo> Where?10:57
T42<ArixElo> This is?10:57
T42<ArixElo> In phone? Or on sfossdk?10:57
electro5751in phone10:58
T42<ArixElo> (Photo, 720x1280) https://irc.thaodan.de/.imgstore/IWHuJ2t0M3.png11:00
T42<ArixElo> "selinux=permissive"11:01
T42<ArixElo> How can I edit this in twrp?11:01
electro5751wait another persone, i don't remember where is the good sentence11:01
electro5751with vi11:01
T42<ArixElo> I'm noob at the vi xd11:02
T42<ArixElo> how to exit this, save11:02
T42<ArixElo> I can't edit this file11:05
T42<ArixElo> Read only11:06
electro5751exit without save11:06
electro5751:q!11:06
electro5751save : :w!11:06
T42<ArixElo> How can I edit this file xD?11:08
electro5751type a11:08
T42<elros34> @ArixElo There is really no point in doing all of these random and incorrect changes until you try 9.2 from HADK!11:09
T42<ArixElo> So, should I give up for now?11:10
T42<ArixElo> Because I don't have pc11:10
T42<ArixElo> XD11:10
r0kk3rzuse nano if you cant vi11:11
T42<elros34> :)11:11
T42<ArixElo> Twrp doesn't have nano11:12
Mister_Magistertwrp doesn't have vi either11:17
electro5751With adb devices and adb shell to connect to TWRP -> you have access to vi11:25
electro5751since a computer11:28
* Mister_Magister new twrp doesn't even have vi11:31
* Mister_Magister at least android doesn't11:32
electro5751@elros34 : have you few minutes ? to debug ofono and loading firmware11:32
electro5751what is the proper command to restart ofono ? i have load the right firmware with /usr/bin/droid/droid-load-firmware.sh11:33
T42<elros34> I already told you I don't know how to fix it and executing droid-load-firmware.sh manually is pointless11:34
electro5751@elros34 : do you know if i must used old ofono ?11:35
electro5751for old kernel 3.011:36
T42<elros34> I don't know what you mean by old ofono.11:37
T42<elros34> if you ask about binder plugin then it's only for >= hybris1511:38
electro5751can you share your ril_subscription ?11:38
electro5751yes it's that11:38
T42<elros34> I use default ril_subscription11:38
electro5751okey, i don't know what to do anymore ! how can i proceed ?11:39
electro5751to debug problem11:39
electro5751@elros34 : do you know why my ofono taking account of bluez4 dispite of i have remove bluez5 for bluez4 ?11:43
electro575maybe it's not the good path who's search : /devices/platform/samsung-pd.0/s3c-mfc/firmware/s3c-mfc11:52
electro575@elros34 : i want to remove bluez5 of my computer configuration -> how is it possible ? just remove the rpm ?12:22
electro575 /home/sailfish-dev/hadk/droid-local-repo/t0lte/droid-configs/droid-config-t0lte-bluez5-1-1.armv7hl.rpm12:22
UmeaboyHi!12:30
UmeaboyI've come a step further now. :)12:30
UmeaboyHowever after starting the build of libhybris and opening a new window to run sudo mkdir -p $ANDROID_ROOT-syspart I get: mkdir: invalid flag -- "s"12:31
UmeaboyI don't see an s in the command.12:31
UmeaboyI'm following this guide: https://sailfishos.org/wiki/Sailfish_X_Xperia_Android_9_Build_and_Flash12:32
UmeaboyEverything else has worked perfectly smooth.12:32
UmeaboyNeed help.12:32
UmeaboySorry! My bad!12:33
UmeaboyI see it.12:33
UmeaboyI have to reenter HABUILD SDK12:34
UmeaboyMy bad!12:34
UmeaboyI guess I'm a bit tired.12:38
Umeaboy:)12:38
malUmeaboy: your ANDROID_ROOT is not set12:48
Umeaboymal: It is. I just realized that I was making that command without entering sfossdk and the chroot.12:51
UmeaboySo all is well now.12:52
UmeaboyFor the time being anywho.12:52
Umeaboymal: Anyway to solve this: https://pastebin.com/haidGmBX12:53
Umeaboy?12:53
UmeaboyFull log here: https://pastebin.com/YdH6MU8412:55
mallike it has been mentioned many many times in channels logs, skip the package12:59
malqt5-qpa-surfaceflinger-plugin is not needed13:00
Umeaboymal: And the guide tells me to build all when asked. What gives?13:00
electro575mal, can you help me to find a solution of the firmware loading problem at startup ?13:00
UmeaboyAnd how does one exclude that plugin from the build?13:00
UmeaboyStarting the build again by only answering Y until I'm asked to build that plugin then.13:03
malUmeaboy: by not using "all" or just commenting out the line from build_packages.sh13:03
UmeaboyRight. What I thought. That wiki page should be updated then.13:05
Umeaboyelectro575: I'm no expert, but what's your problem?13:06
UmeaboyStart from the beginning of the thing that you're trying to do/accomplish and then give me all the steps that fail.13:06
UmeaboyPreferably in a pastebin.13:07
electro575Umeaboy, my problem is that the firmware of my device is not correcty loaded and ofono don't work and call, mms13:09
electro575and bluetooth13:09
Umeaboyelectro575: OK. Which device and what happens if you reload the network in a terminal? What's the error output then?13:11
electro575mal, have you an idea ?13:11
electro575https://dpaste.de/1r6c13:11
UmeaboySeems like there's a mount problem.13:12
electro575https://dpaste.de/9H2R13:12
electro575specially here13:12
electro575firmware[10763]: Attempting to load firmware mfc_fw.bin for /devices/platform/samsung-pd.0/s3c-mfc/firmware/s3c-mfc13:12
electro575systemd-udevd[10750]: Process '/usr/bin/droid/droid-load-firmware.sh' failed with exit code 1.13:12
electro575but this path is not existing : /devices/platform/samsung-pd.0/s3c-mfc/firmware/s3c-mfc13:13
Umeaboyelectro575: If I where you I'd restock and then try again.13:13
electro575https://dpaste.de/4WsX13:14
UmeaboyThat helps on SOME devices.13:14
malUmeaboy: what do you mean?13:14
Umeaboymal: https://sailfishos.org/wiki/Sailfish_X_Xperia_Android_9_Build_and_Flash explicitly says to build ALL when asked.13:14
malelectro575: that path doesn't work like that, the path is really under /sys/13:15
malUmeaboy: well there is a bug13:15
UmeaboyYes, and that page doesn't mention it so I didn't know that.13:15
Umeaboy:)13:15
electro575what is incorrect on the script ? mal13:16
electro575 /sys yes13:16
malelectro575: the obvious thing is to see if you even have mfc_fw.bin anywhere on the device13:17
electro575mal , /system/vendor/firmware/mfc_fw.bin13:18
malelectro575: are you sure you are not again missing the /vendor symlink13:19
malwhich should come from straggler files13:19
electro575mal , Aug 27 21:21 vendor -> /system/vendor13:19
electro575mal, my configuration -> https://dpaste.de/2hZ113:21
electro575i just have /property_contexts in straggler_files13:21
electro575what i must have in stragglers files ?13:21
malelectro575: why not anything else, I thought you had more before? where does the symlink come from then?13:22
electro575i don't remember mal, sorry13:23
electro575once month ago13:23
electro575@elros34 : do you remember what are files for stragglers files ?13:24
malthe look at channel logs to see what you did13:24
electro575yes but paste is disappear13:24
Umeaboymal: Can you check why the adaption0 repo fails?13:31
UmeaboyWhen you start to update the repos with sudo zypper ref it fails to update adaption0.13:32
malUmeaboy: it should not be a problem13:36
UmeaboyI know.13:37
UmeaboyBuilding of the system and vendorimage commenced. :)13:40
UmeaboyYou know a fix for this, mal?13:52
Umeaboyhttps://pastebin.com/6pJvxVNp13:52
electro575@ArixElo : this is this line what i want to said -> https://github.com/LineageOS/android_device_samsung_smdk4412-common/blob/cm-14.1/BoardCommonConfig.mk#L5413:52
UmeaboyI excluded that plugin like you mentioned and pressed Y to the rest and they all succeeded.13:52
electro575@ArixElo : but it's for my device, so find it for your device13:52
UmeaboyI don't think I've missed any part up until now.13:57
malUmeaboy: maybe check if the lib it complains about is installed or not?13:57
UmeaboyBuilding again after installing that then.14:01
UmeaboyWow! It seems to succeed now. :)14:09
UmeaboyMaybe these dependencies has to be added to the wiki page as well.14:09
UmeaboyTo make sure they're detected.14:09
electro575what dependencies ?14:10
malUmeaboy: what host OS are you using?14:13
UmeaboyUbuntu 19.04.14:16
electro575i have read all log for t0lte, @elros34 what do you have in your straggles files ?14:24
electro575i have read this -> <elros34> mal: ^ missing property_context + droid-hal-$DEVICE.log14:25
electro575can i find other straggles files in droid-hal-$DEVICE.log ?14:25
electro575https://dpaste.de/ODa214:26
UmeaboyGotta go.14:33
UmeaboyTake care, ya'll.14:33
electro575bye14:33
T42<elros34> electro575: make some effort, it's really not that hard to find it: http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2019-08-08.log.html#t2019-08-08T11:23:3015:08
electro575@elros34 : i have passed 2 hours to read all log since the beginning, but i am in 06/08/201915:10
electro575this sentence is okey for t0lte ?15:11
electro575you have several files which end with _contexts in out/target/product/m8/root/, all of those need to be in sailfish root, meaning those need to be in straggler files15:11
electro575mal maybe please ?15:15
electro575@elros34 : what must i added to my droid-hal-t0lte.spec ?15:19
electro575https://dpaste.de/fmiU15:20
electro575i don't remember i must to do this for my samsung t0lte, for my htc one m8 yes15:21
electro575this is okey /vendor but /d, /sdcard, /cache, /bugreports too ?15:39
electro575how can know what folders or files to add in stragglers files ?16:19
riniguskimmoli & other experts: lipstick is crashing on onyx after update to 3.1.0.12, currently built on devel obs. crashing EGL_PLATFORM=hwcomposer strace test_hwcomposer pasted at https://paste.ubuntu.com/p/YtqgN9Dgdh/16:40
T42<elros34> what android base?16:44
T42<elros34> for 11 and maybe 12 upstream libhybris cause lipstick fail16:46
riniguselros34: cm1216:46
rinigus(as far as I remember)16:46
riniguselros34: which libhybris is recommended then?16:48
electro575mal, i have added /vendor to stragglers files and i have again -> Process '/usr/bin/droid/droid-load-firmware.sh' failed with exit code 1.16:49
T42<elros34> a426857906dda89370a4b670f23d92a82e6f243b but you would notice it earlier because this issue is old16:49
electro575Attempting to load firmware mfc_fw.bin for /devices/platform/samsung-pd.0/s3c-mfc/firmware/s3c-mfc16:49
riniguselros34: where should I set that commitid? from your statement its not clear whether it will help though...16:51
T42<elros34> rinigus: https://build.merproject.org/package/view_file/nemo:testing:hw:motorola:moto_msm8960_jbbl/libhybris/_service?expand=1 and make sure qt5-qpa-hwcomposer is also rebuild.16:52
malrinigus: oh, I forgot you have the android 5 base bug in libhybris, which should really be fixed at some point16:54
riniguselros34: rebuilding...16:54
rinigusmal: well, maybe android 5 devices will retire before...16:55
malrinigus: I need to have a look, I have a pile of fixes and cleanup for libhybris waiting16:55
T42<elros34> mal: btw I figured out that with only " --enable-trace" added to spec libhybris issue is fixed. enable-debug or --enable-arm-tracing is not needed16:56
mal@elros34 ok, that narrows it down quite much, thanks16:56
rinigusmal: if it works, I'll write it up in the readme for myself and will try to avoid it next time16:56
malrinigus: I will try to get that fixed16:57
T42<elros34> at least that was the case for cm11 base16:57
electro575i have again this error : https://dpaste.de/sJPb16:57
mal@elros34 I think it happens on cm11 and cm12.116:57
mal@elros34 I probably know which commits brought the bug but I haven't checked which exact line causes it16:58
T42<elros34> thats great16:59
mal@elros34 this is the cleanup I have done so far https://github.com/mlehtima/libhybris-1/commits/cleanup17:00
malthat needs also changes to spec17:00
electro575mal, have you ever seen this type or error ? loading firmware17:03
electro575who can help me with this log ? https://dpaste.de/wLXu17:07
electro575https://dpaste.de/wLXu#L6617:08
T42<elros34> maybe it's not an issue? looks like it's related to media encoding/decoding17:12
electro575i must launch pkcon refresh ?17:13
electro575now, i have this two errors17:13
electro575[grilio-socket] ERROR! Can't connect to RILD: No such file or directory17:13
electro575[grilio-socket] ERROR! Can't connect to RILD: Permission Denied17:13
electro575for two reboot17:13
electro575this again17:15
electro575ofonod[11179]: [grilio-socket] ERROR! Can't connect to RILD: No such file or directory17:15
T42<elros34> it fails first time but later you can see it connects to ril ofonod[11020]: RIL version 717:15
electro575how to fix this random detect SIM card ?17:15
electro575the SIM card is detect (logo) but no password asked17:16
T42<elros34> do you have pin? try to disable it17:17
electro575Sailfish ofonod[11179]: pin retry query is not supported17:18
electro575sometimes it work but now no17:18
electro575disable it ? what disable, with airplane mode ? already tried17:18
electro575how can i check "it connects to ril ofonod[11020]: RIL version 7" ?17:19
T42<elros34> I mean remove/disable pin17:19
electro575https://dpaste.de/8HMB17:20
electro575how remove/disable pin ?17:20
electro575and i have bluez4 no bluez5 ! ofono is linked with bluez517:20
riniguselros34: if your build 3.1.0.12 is fine, disable it at testing or you may get a "present" from obs :)17:21
T42<elros34> electro575: is it? ofonod[11179]: Excluding BlueZ 5 Utils Plugin17:22
electro575yes17:22
electro575excluding okey17:23
electro575but so why i can't pass a call and send mms17:23
electro575when i have network17:24
electro575cm 14-117:24
electro575@elros34 : it's necessary to have more property_contexts in straggles_files ?17:29
electro575when i have just one file, i arrived to have sometimes the network connection17:29
electro575@elros34 : Do you have stragglers files ? If yes can you send to me a copy17:33
electro575@elros34 RIL version 7 yes -> https://dpaste.de/e9Ca17:34
electro575ofono is correcting launched but No SIM Card detect17:35
electro575last log17:39
electro575https://dpaste.de/azVy17:39
electro575logcat must be execute in root or user nemo ?17:45
electro575https://dpaste.de/Exxx17:45
electro575nobody is present ?18:11
riniguselros34 & mal: with older libhybris, it seems like all boots, as expected18:12
riniguskimmoli: I have changed in _service of libhybris the commit version. since I also rebuilt hal packages, would you mind to promote them from devel to testing and then rebuild testing?18:13
riniguskimmoli: devel seems to work with a small quirk - for few shutdown/power up cycles, only the second power up worked. on failing boots, I had to posh power, get red led, wait for shutdown and power up again. next boot worked. after couple (2-3) cycles like that, it seems to normalize and work every time.18:15
riniguswould have to test it further though18:15
riniguselectro575: ... looks like all are busy, sorry18:15
electro575don't worry, i learn ^^18:16
electro575where can i find API of ofono ?18:33
kimmolirinigus: ok will do18:37
electro575ofono log -> https://dpaste.de/FweW18:38
riniguskimmoli: thank you!18:41
kimmolibuilding.18:42
kimmoliit would be nice if obs meta would save comments <!-- -->18:43
riniguskimmoli: indeed! right now I wrote down libhybris note in my gist which I use for every update18:58
kimmolirinigus: build complete, disabled again19:01
riniguskimmoli: excellent, will start ota.19:02
electro575rinigus, do you know why it's necessary to copy all files to straggler files ?19:18
riniguselectro575: nope, sorry.19:19
electro575not all but _contexts19:27
T42<adampigg> becuase the dhd .inc file doesnt know all files that a system puts in a rootfs, so, you specify them in stragglers19:27
electro575okey but how can i find what files much i write to stragglers files ?19:28
T42<adampigg> anything in out/target/product/...../ etc that isnt put into the other RPMs19:29
electro575okey, five minutes to see19:30
*** ben_ is now known as benclark0619:31
electro575@adampigg : all of this folder ? /out/target/product/t0lte/root on my computer19:32
T42<adampigg> generally just the files in the root19:33
electro575it's the files folder on my computer -> https://dpaste.de/v5dp19:33
electro575for cm 14.1 ?19:33
electro575where can i compare if i have this files ?19:34
electro575and what is the correct syntax to add folder, i know what is it for files19:34
electro575@adampigg : all files of this path /out/target/product/t0lte/root must be present in the device path "/" ?19:36
T42<adampigg> open up the droid-hal-t0lte rpm and see what files are already included19:37
electro575okey, thanks19:37
electro575adampigg : i have no droid-hal-t0lte.rpm19:40
electro575droid-local-repo/t0lte/droid-hal-t0lte/droid-hal-t0lte-0.0.6-201908281855.armv7hl.rpm ?19:42
electro575@adampigg : can i just compare files are already present on my device and the /out/target/product/t0lte/root on my computer ?19:49
electro575or must i decompressed all droid-hal-t0lte*.rpm ?19:50
T42<adampigg> yes, u can just look on device19:59
electro575okey thanks19:59
electro575@adampigg : on the device at path "/" to compare with /out/target/product/t0lte/root on my computer ?20:00
T42<adampigg> yes20:00
electro575okey20:00
benclark06hi, i'm trying to do repo init but for some reason now i'm getting gpg: Can't check signature: public key not found, i have a gpg key and such.20:04
riniguskimmoli: booted nicely, rebooted also. will test it now for few days...20:08
electro575it's possible to scp with devel-su user ?20:16
electro575my last problem : https://dpaste.de/Y3rR20:50
electro575my SIM card is all the time detect : with add stragglers file finished by _context20:51
electro575@elros34 : Error org.freedesktop.DBus.Error.UnknownObject: Method "Dial" with signature "ss" on interface "org.ofono.VoiceCallManager" doesn't exist21:05

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