Friday, 2020-07-31

mal@elros34 ok, I didn't really know which android was being used00:05
T42<elros34> mal: also it's samsung device00:06
KabouikI think I would need libinput to rotate the mouse00:12
KabouikI have xinput in the Debian container but it only shows virtual devices for xwayland, and I don't know if I can alter their configuration00:13
KabouikWhile libinput would work on the real devices on sfos side00:14
T42白怡掎 %lastname% was added by: 白怡掎 %lastname%02:06
riniguspiggz: I would still suggest to make it work on PC first, without flatpak. as on angelfish we are not many who write it, it is rather simple codebase and relatively easy to contribute. so, try to figure out on PC what's missing first06:42
riniguspiggz: if on PC angelfish does not activate your device, check out if falkon does06:43
T42<ippokratis> been using sailfish_linux_chroot a couple of days.08:27
T42<ippokratis> happy about it.08:27
T42<ippokratis> is it possible to add a shortcut icon in saifish app drawer from a chrooted app?08:27
T42<ippokratis> i see that the script installing chromium has a .desktop08:27
T42<ippokratis> under /usr/share/applications08:27
T42<ippokratis> with Exec=bash -c "cd /sailfish_linux_chroot/ubuntu; ./desktop/ chromium-browser %U"08:27
T42<ippokratis> and a .desktop under sailfish_linux_chroot/ubuntu/desktop08:27
T42<ippokratis> with Exec=bash -c "cd SFCHROOT_PATH; ./desktop/ chromium-browser %U"08:27
T42<ippokratis> so i just replaced the app name in the executables but unfortunately it doesent work08:27
KabouikI had a .desktop file for Tilix and it used to work, let me check (but I don't remember amything about chroot)09:57
T42<kabouik> (Photo, 1280x640)
piggzrinigus: thats weird, i built the desktop angelfish, and it didnt even prompt for the fido key, just said the normal "there was a problem with the key" as when using an older browser10:02
T42Andy %lastname% was added by: Andy %lastname%10:04
T42<John %lastname%> Hello how to update sfos to 3.3 on nexus 511:36
T42<John %lastname%> Using terminal11:36
riniguspiggz: that may depend on your qt version. flatpak is using 5.1411:40
Mister_Magisterstupid mce won't use my led config :<11:45
Mister_Magistermal: do you have time later today? i've got issue with droidmedia and camera and stuff ».»11:49
piggzrinigus: i thought that, but im on tumbleweed so also nice n new, 5.1511:49
malMister_Magister: what issue11:50
malMister_Magister: try this
Mister_Magisteryes i've mentioned "helped on griffin" for a reason mal, but that was on 15.1 and on 16 it doesn't help anymore11:51
riniguspiggz: then I don't know :( . what about falkon?11:51
Mister_Magisteri am completely aware of this pr as im talkin with author lol11:51
Mister_Magisteri tried make clean and rebuilding it and nothing :///11:53
maltry moving the lines11:56
mal    FakeResourceManagerService::instantiate();11:56
mal    FakeProcessInfoService::instantiate();11:56
malbefore CameraService::instantiate();11:56
riniguspiggz: also would probably make sense to recheck using angelfish flatpak on PC. just to be sure that nothing changed on key generation side11:56
Mister_Magistermal: i'll try11:59
Mister_Magisterpiggz: I HAVE A BUG IN sailfish-fpd-community >:(12:07
piggzMister_Magister: we accept PRs12:07
Mister_Magisterhonestly tho its pretty funny reason12:08
rinigus... assuming that they are fpd-community bugs and not bugs in your port and/or android base12:08
Mister_Magisterpiggz: since fpd-community activated fp it also activated it's gestures (5z has arrow keys for examle) and when you want to register fingerprint, you touch it and you go to homescreen12:08
Mister_Magisterfirst world problems12:08
piggzill file that in "not a bug"12:09
Mister_MagisterxD it is a bug tho12:09
Mister_Magisteryou ca'nt register fingerprint12:09
Mister_Magisterbut it's more of a jolla's fault12:09
Mister_Magisterin sailfish-devicelock-fpd-1.0.8-1.5.6.jolla.armv7hl12:09
piggzits a port issue, you will have to change the key event12:09
Mister_Magisterpiggz: why tho? it does what it should have why should i disable that12:10
piggzhonestly, every device is differnt.  the pro1 doesnt do any gestures, the volla has some weird key events i have to map to other things .. there is no standard events12:10
Mister_Magisterthe point is12:10
Mister_Magisterwhen you set up fingerprint gestures should be disabled12:11
piggzwhat key event are you getting?12:11
piggzon the volla, i map press to power event to wake up screen12:11
Mister_Magisterill check in a moment12:11
rinigusMister_Magister: there are gestures on fp in xperia xz2 as well. but those are disabled by android layer when you try to register or identify using fp.12:11
Mister_Magisterpiggz: that works aswell, it wakes up the screen12:12
Mister_Magistereven better it just turned off my phone12:12
rinigus... sounds like fp implementation issue if it keeps gestures while you try to register12:12
Mister_Magisterrinigus: here gesutres aren't disabled when you try to register12:12
rinigusMister_Magister: what about android roms?12:12
Mister_Magisteri'll ask12:12
Mister_Magisterit turned off again12:14
Mister_Magisterpiggz: nvm it works now suddenly12:21
Mister_Magisteri can wake it up without using the mce wake up on fp method12:22
Mister_Magisterwhich gives me no error12:22
piggzMister_Magister: so, is that another good device for sailfish-fpd-community?12:23
piggzgotta wonder why we waited so long on an official fp solution :)12:24
Mister_Magisterits weird as it does'nt send EV_KEY12:25
Mister_Magisteronly EV_SYN12:25
Mister_Magisterit gives key home and wakeup but if you hold it too long it will shut down the phoen12:26
malMister_Magister: did you do anything special to get fingerprint working?12:31
Mister_Magisterthanks to lovely sailfish-fpd-community everything is ootb12:31
malso your device is easy then12:32
Mister_Magisterall 3 of them12:32
Mister_Magister5z, moto z, pro112:32
Mister_Magisterall of them are ootb12:32
Mister_Magisteri don't have more fp devices12:32
Mister_Magisteri just wish my fp wouldn't shut down device12:33
Mister_Magisteri have request to spiiroin12:34
Mister_Magisterbut i might play around mce and fix it myself12:34
Mister_Magisterbasically this fp gives wakeup button and home button and they're both active and wakeup button works like power key so wherever you are if you hold fp it will shut down. but it has sysfs file to disable wakeup button (or home button) and i need to make mce do that after you wake up device12:35
Mister_Magisterscrew that it shuts down device when you aren't touching fp12:40
Mister_Magisterpiggz: i can use pulseaudio-hidl instead of audioflingerglue right?13:46
Mister_Magisteris there some instructions on it?13:46
piggzMister_Magister: sort of, .....13:47
piggzpulseaudio-hidl +13:47
Mister_Magisterdummy-af is needed?13:48
piggzsometimes for camera13:48
Mister_Magisterugh vibrations don't work13:49
piggzu have the patch for /init.rc ?13:50
Mister_Magisterwhat patch13:52
Mister_Magistercalls are working!13:52
Mister_Magisterpiggz: ?13:55
piggzMister_Magister: patch 40 for hybris-16 ... which sets permissions on /sys/class/timed_output/vibrator/enable in init.rx14:02
piggzwhat are the perms on that file?14:03
Mister_Magisterpiggz: 660 system:system14:14
T42<adampigg> wrong wrong wrong14:14
T42<adampigg> you want 660 system:input14:14
T42<adampigg> assuming if you type groups, you are not in system anymore14:15
Mister_Magisterokay then i'll also update other value14:15
Mister_Magisteri weren't getting gui because of mdss_rotator being system:system too14:15
T42<adampigg> there is a patch for it in hybris-patches, but i think its in the non default branch14:15
Mister_Magisterhmm i can't find it in /lib/udev/rules.d/999-android-system.rules14:16
T42<adampigg> its in init.rc, i already said ;)14:17
Mister_Magisterah sorry14:17
Mister_Magister@adampigg but i have chown system input /sys/class/timed_output/vibrator/enable14:19
T42<adampigg> do you have AD installed?14:19
T42<adampigg> hmm, something else must be changing it ... AD is known to change it14:20
Mister_Magisterfor example /vendor/etc/init/hw/init.qcom.rc14:21
Mister_Magisterno matter which device /usr/bin/droid/ never works14:40
malMister_Magister: did you get droidmedia/camera stuff working14:47
Mister_Magisternah didn't try yet14:47
Mister_Magisterwas building hybris-hal after clean14:47
Mister_Magistermal: any idea how to get working?14:48
malwhat are you trying to do?14:49
malyou mean the ld config thingy?14:49
Mister_Magisterthat too14:49
Mister_Magisteri'm want mount bind one file over vendor14:49
Mister_Magisterneither of them ever worked14:50
malI use a mount service14:50
Mister_Magisterseparate service mhm mhm14:51
Mister_Magistercan you paste it?14:51
piggzMister_Magister: its in a port youve been involved in!!!!
* Mister_Magister rolls eyes14:53
malpiggz: probably several ways to do the same thing14:53
Mister_Magisterthat's script14:53
piggzMister_Magister: its ran by a service14:53
* Mister_Magister spinning angrily14:54
Mister_Magisterye ye i can find it chill :D14:54
piggzon the volla, i bind mount 4 .so's14:54
piggzto fix ril and  the camera14:54
malpiggz: btw, wouldn't ld_preload in .rc file work?14:54
piggzquite likely14:55
Mister_Magistermal: interestingly enough my vendor is squashfs lmao14:55
Mister_Magisterpiggz: doesn't work either14:56
piggzMister_Magister: what u stuck with?14:56
Mister_Magistermount scripts that mount bind when executed by hand but not when executed by service14:57
piggzmaybe u missed a key part of the service14:57
* Mister_Magister spinning evn faster14:57
piggz(becuase mal linked to the commit, not the file :D )14:58
piggzwithout that, all timing gets screwed up by systemd14:58
Mister_Magisteradded, lets see14:58
Mister_Magisterno luck either15:00
Mister_Magisterno wonder /usr/bin/sh: No such file or directory15:00
Mister_Magisterpiggz: you wrote that >:(15:01
piggzsays /bin/sh here
Mister_Magisterdidn't in mal's link15:03
Mister_Magisterboi it worked, thanks piggz <315:05
Mister_Magister-rw-rw-r--    1 system   input         4096 Jul 31 17:04 /sys/class/timed_output/vibrator/enable15:06
Mister_Magisternow it's correct15:06
piggzha, u did a service to set it instead of fixin properly?15:06
Mister_Magisterfixing properly aka rebuilding entire android side and then providing android side together with sfos is proper fix to you?15:07
piggzah, did you bind mount over the rc file?15:07
Mister_Magisteryes, vendor .rc file15:08
Mister_Magisteri can't change vendor15:08
piggzfair enough15:08
Mister_Magisterbut thanks double cause vibrations work15:08
Mister_Magisterbluetooth weirdly doesn't15:08
malwhat are you talking about vendor .rc?15:08
Mister_Magisteri get mac address and everything15:09
malrelated to what?15:09
Mister_Magistermal: vendor .rc changes permissions of /sys/class/timed_output/vibrator/enable15:09
malhmm, so it breaks the udev?15:09
malwhich normally sets the permissions15:09
Mister_Magisterudev has nothing to do with it15:09
Mister_Magisternope udev doesn't15:09
Mister_Magisterit's in init.rc and in my case in vendor .rc file15:10
malin sfos generates udev rules from .rc files etc15:10
Mister_Magisterwell it doesn't for init.rc15:10
piggzpatch 40 from hybris-patches specifically changes that file to system:input, i guess u cant help if vendor does it too15:11
Mister_Magisterpiggz: when i touch fp on 5z i get vibration but on moto z i don't, it's fp implementation tihngy or something is broken15:11
malMister_Magister: which .rc file in vendor does that?15:12
malusually those are in /init.rc15:12
Mister_Magister /vendor/etc/init/hw/init.qcom.rc15:12
malquite odd15:13
Mister_Magisterwell this vendor is being built when you build lineage cause this device never came with /vendor15:13
Mister_Magisterso maybe that's reason15:13
Mister_Magistertalk about patching droidmedia15:15
Mister_Magisterturns out it's not patched15:15
* Mister_Magister spins angrily super fast15:16
T42<edp_17> @John %lastname% [Hello how to update sfos to 3.3 on nexus 5], What base? Here is the instruction for the CM12.1 base:15:21
T42<edp_17> And here are the repos for the OTA to the latest (
malso hopefully we don't need any additional changes to droidmeida15:21
Mister_Magistermal: yeah15:21
Mister_Magistersorry about that15:21
* Mister_Magister wasting people's time15:22
Mister_Magisterit was smelling droidmedia all the way…15:22
Mister_Magisteraye it's gone15:23
malonce you verify that works I will probably merge it on sunday or early next week15:23
Mister_Magisteri mean yeah servicemanager/cameraprovider lock thingy is gone15:24
malok, so the PR is still good15:25
Mister_Magistermal: other than that15:25
Mister_Magister /vendor/bin/mm-qcamera-daemon is segfaulting, any ideas how to debug that?15:26
Mister_Magisterpoint in moving to 16.0 was to get /vendor/bin/mm-qcamera-daemon working and it failed15:26
malany backtrace in logcat?15:26
malor in tombstones15:26
Mister_Magisteri have tombstone15:28
T42<adampigg> preload selinux stubs?15:30
Mister_Magisteryou big brain i'll try15:31
Mister_Magisteri forgot that preloading selinux stubs is solution to everything15:31
Mister_Magisterand it's in the file i just mount binded!15:32
Mister_Magister@adampigg uh-oh linker  : CANNOT LINK EXECUTABLE "/vendor/bin/mm-qcamera-daemon": library "/usr/libexec/droid-hybris/system/lib64/" needed or dlopened by "/vendor/bin/mm-qcamera-daemon" is not accessible for the namespace "(default)"15:35
Mister_Magisteri guess i need to edit ld.config.28.txt15:37
Mister_Magisterhmm it should be working15:39
Mister_Magistermal: any idea?15:40
Mister_Magister32bit seems preloading15:41
Mister_Magisterit's 32bit turns out15:43
malis that 32-bit device?15:43
Mister_Magisterno but camera stack is 32bit15:43
Mister_Magisternice bluetooth fixed!15:43
Mister_Magisterfixing bluetooth by fixing camera, best joke i've ever heard15:44
Mister_Magistercamera works aswell so merge away mal15:45
Mister_Magisterphotos recording and videoplayback ootb, verynice15:46
Mister_Magisteri have problem… idk what else is broken at this point15:47
maltry alarm wakeup and actdead mode15:57
malMister_Magister: on my device fixing wlan fixed also bluetooth15:57
Mister_Magisterbut wlan is same chip15:57
Mister_Magistercamera and bt have nothing in common15:58
Mister_Magistervibrations are broken15:58
Mister_Magisteralarm doesnt work16:00
Mister_Magisteractdead works, fm doesnt16:02
Mister_Magisteri gotta solve out obs repo16:35
Mister_Magistermal: as a jolla employee can i change Adaptations/libhybris griffin entry? there were some other people working on it someone else added that entry but u can't find build anywhere17:00
Mister_Magisteri wanna shirt "keep calm and kang from fp2"17:10
Mister_Magistermal: while i'm at it do you mind creating testing:motorola:griffin?17:27
Mister_Magisteranyone, idea? nfcd won't pass tests
Mister_Magisterpiggz: ^ it builds fine in fxtec :?17:46
piggzMister_Magister: get the fixed version (.31 ish) or just keep trying until it passes...pita17:52
Mister_Magisteri see very reliable17:52
piggzfor the volla, i must have triggered the build 20 times until it passed17:53
Mister_Magisterworked this time17:53
malMister_Magister: too old nfcd?17:55
Mister_Magistermal: lbt_: is somebody still playing with patternizng? Could you patternize
piggzMister_Magister: patternizing is so 201818:02
Mister_Magisteridc, all my ports are patternized and i want to stick with it18:03
piggzyeah, but you are at the mercy of the patternizor18:10
Mister_Magistermal: mercy then18:13
Mister_Magisterlet's see how much worth are my obs packages18:14
malI don't have permission to add patternizing18:15
Mister_Magisterlbt_: then i'm at your mercy18:16
Mister_Magisteraaand 5z does'nt get ui from obs packages18:16
Mister_Magisterofono detto lmao18:17
Mister_Magistermal: is downgrading ofono… safe?18:24
T42<linusdan> Hi people!18:30
T42<linusdan> I have a doubt:18:30
T42<linusdan> I had to adapt the glibc patch to the 2.6 kernel (which has been done, I think. I haven't tested it yet). How do I add the repository without needing the merproject instance?18:30
T42<linusdan> Just create an .ini and add my gitlab link that are going to compile or do have to configure something in my repository?18:30
T42<linusdan> P.S: I managed to compile Lineage 11 for Motorola Xoom, now I can proceed with hybris-11.0 :)18:30
Mister_Magisteryup updated ofono and everything works18:30
Mister_Magister@linsudan i believe this is what you want
malMister_Magister: why?18:33
T42<elros34> @linusdan take a look here: Don't forget about busybox otherwise init-script will fail18:33
T42<elros34> @linusdan you can also build it in your local target18:34
Mister_Magistermal: i locally built your updated ofono and i wanted to try obs packages and they downgraded ofono and it stopped working but after updating it works all fine18:34
Mister_Magisterim 200% ready for ota18:34
T42<linusdan> @elros34 How do I compile on my local machine?18:40
T42<linusdan> About the instance: if everything goes well, can I create the instance using obs opensuse and add it like this?18:40
T42<linusdan> Mister_Magister: thanks for the link :)18:40
malMister_Magister: wait, so what ofono stuff worked?18:42
Mister_Magistermal: does it matter18:44
Mister_Magisterwhen i downgraded ofono it wasnt working so i couldn't get to homescreen18:44
Mister_Magisterthats all18:44
T42<elros34> @linusdan if you will built in in obs then that ini file is enough to add repo. For local build: mb2 -s glibc.spec  -t $VENDOR-$DEVICE-armv7hl build --doprep. Then copy rpms to local repo, update repo, and upgrade glibc on target. Then build busybox, you can use my git url.18:44
malMister_Magister: do you mean main ofono package?18:48
Mister_Magister mal18:49
T42<linusdan> @elros34 Let me see if I got it:18:51
T42<linusdan> I clone the repository that I adapted and through the SDK run the command.18:51
T42<linusdan> I do the same thing with the busybox. Then I add the RPMs to the droid-config-device.18:51
T42<linusdan> That's right?18:51
Mister_Magistermal: if you have a second can i ask again for that griffin repo? pretty please :)18:54
Mister_Magisterif  you don't then its fine it's not priority18:55
T42<elros34> @linusdan you must install patched glibc to target before  building busybox. Also you can use --mw="url to busybox" to built it, it will put it in local repo. You don't have to add anything to droid-config. Just make sure right package will be used (tag it properly)18:57
T42<linusdan> OK! I'll do it here. Thank you ❤️19:04
Mister_Magistermuch love <319:05
T42<elros34> @linusdan as you can see obs way is easier.19:08
Mister_Magisterlisten up bois. we need port with in-screen fp19:40
piggzMister_Magister: no we dont, it uses a different api so not compatible with fpd community (yet)19:43
Mister_Magisterdamn you in-screen fp devs!19:43
Mister_Magisteri'll be back19:43
piggzpretty sure @erfanoabdi was looking to implement the api19:44
T42<erfanoabdi> drawing a circle with high-brightness-mode on screen is very hard lol19:45
Mister_Magister@erfanoabdi u sneaky bastard i didn't know you were there19:46
T42<erfanoabdi> and another thing is AOSP doesn't have interface for fod19:47
T42<erfanoabdi> we should use lineage fod hal..19:47
T42<erfanoabdi> Mister_Magister: lol19:47
malMister_Magister: I can add the repo after a moment, btw the droidmedia and gst-droid fixes were merged20:19
Mister_Magisterwhat gst-droid fixes20:20
Mister_Magisteri know about droidmedia cause i got notification20:20
malviewfinder fix for various devices, maybe you didn't have issues20:20
malalso fix for adaptive streaming20:20
Mister_Magisterah viewfinder20:22
Mister_Magisterthe fix for x220:22
Mister_Magistermal: adaptive streaming? whats that20:22
malI mean some streaming services like the finnish broadcast company's service changes resolution during streaming if connection quality is good, before the fix it failed during the switch (used to work before)20:23
malI'm the co-author of the app for that service so it's important for me that such a feature works20:25
Mister_Magisterdid you just20:27
Mister_Magisteroh my god20:27
Mister_Magisteroh my fucking god20:27
Mister_Magistermal: youtube does same shit and i needed to dynamically switch decorers or some shit cause gst-droid was broken jsut like you said. if that fix fixes that problem then i can make 4K youtube playback with ease20:28
malit used to work fine in gst-droid some months ago20:29
Mister_Magisterbut in my case it was probably format not resolution20:29
Mister_Magisterworth checking tho20:29
Mister_Magistercan u link me to commit?20:29
Mister_Magisternah thats not it20:30
malhow did your app behave?20:30
Mister_Magisteri don't remember20:32
Mister_Magistermal: i think it was this place… but not sure
Mister_Magisteryeeh format was changing not resolution20:39
Mister_Magisterso i'm still in…20:39
Mister_Magistermal: it was here exactly
Mister_Magisterthere is no support for reconfiguration20:43
Mister_Magisterso i need to make new decoder on the fly and switch decoder20:43
Mister_Magisterwhich is stupid20:43
Mister_Magistercan we just destroy other one there and continue normally? probably not20:44
malah, that is something we should implement20:46
malwe need to think how to handle that properly20:47
Mister_Magistermal: i don't have mental capacity or knowledge to do that so feel free20:50
Mister_Magisterand abranson ain't gonna do it either20:50
Mister_Magisterwould save my ass tho20:51
malI'll see if I have motivation for that at some point20:52
malmaybe if I get bored during my vacation20:53
malMister_Magister: do you want devel or testing for griffin? or both?20:54
Mister_Magisteri don't really use devel so testing please!20:54
Mister_Magistermal: i can try to help you with it if you want but i'll be more of a slowdown prably20:54
malI do my development in devel and releases from testing20:54
Mister_Magisteri do my development in non-locked repos on testing :D20:55
Mister_Magisteralso i don't do much development20:55
malwhat was the name of the device?20:55
malso I can add nice description to OBS20:55
Mister_Magistergriffin, moto z20:56
piggzMister_Magister: whats your working FP device count, 1?20:56
Mister_Magisteryou underestimate me young padawan20:57
piggztotal must be around 10+ devices now20:57
Mister_Magisteri'm 12.8% then20:57
Mister_Magisterthanks mal >320:57
Mister_Magistery jolla is so busy, i'm missing 4 guys20:58
malalso it's vacation time for many21:01
mallike me21:01
Mister_Magistermal: so you on vacation currently?21:03
Mister_Magisteroh sorry for taking ur time then mal21:12
T42<adampigg> Dont talk about vacations, no idea what to do this year!21:13
Mister_Magistercan i get vacation from living21:15
malMister_Magister: well I have done a lot of porting during my vacation so far21:17
Mister_Magisterhoh, as long as u have fun21:18
KabouikIf anyone is using a qwertz Pro1, this should work to switch between hwkb and usb keyboards, with the PR Mister_Magister accepted today:
KabouikElse please let me know21:18
T42<kabouik> I don't have a qwertz unit to test, but tests suggest it should be ok21:19
Mister_Magistersee im doing something lmao21:20
KabouikNo doubt about that21:20
Mister_Magisterjk ima useless21:20
KabouikBig pressure on me now, I'm no dev, hope you guys tested it :p21:21
Mister_Magistertested? what?21:21
KabouikI'm using it since months with no issue but I only use us layout21:21
Kabouikthe xkb PR21:21
Mister_Magisterit looked like just moving lines around to make it pretty21:21
Mister_Magisterso i slapped accept21:21
KabouikPretty much yes, also adds an aditional us layout with deadkeys useful in chroot and lxc21:22
Mister_Magisteryeah should work21:22
KabouikTested here and works for us and us3 (the additional variant with dead keys); quick tests on de and ru seemed ok too21:23
Mister_Magisterye ye chill21:24
Mister_Magisterit gonna be okay21:24
Mister_Magisteruntested by us is what imeant aka we didn't test it xd21:24
Kabouikus2* not us321:25
T42<adampigg> Kabouik: that pkg is built in dev:21:34
KabouikWhat's missing is the extra us-intl variant ("us2") can only be set from commandline, a menu entry in the gui would be cool21:57
KabouikBut on the other hand us2 is only useful in lxc and chroot since I don't think SFOS itself supports dead keys21:58

Generated by 2.17.1 by Marius Gedminas - find it at!