Thursday, 2021-11-04

Mister_Magisteroh i pushed the patch to github00:14
Mister_Magisterneat, thanks Magister00:14
T42<b100dian> what device you're working on now?00:15
Mister_Magisterim thinking of updating g2 to 4.x00:18
Mister_Magisterlast time dhd failed to start00:18
Mister_Magisteri could start new port of 5z on hybris17 but ugh00:19
Mister_Magisterhell lets go straight to 4.2 because what could go wrong00:30
T42<b100dian> :)00:31
Mister_Magisterah yes dhd last time updated 4 years ago00:39
Mister_Magisterhybris/hybris-boot/Android.mk:304: *** Multiple or missing power_profile.xml files.  Stop. ahh the fun begins00:41
Mister_Magisterwho broke that00:41
Mister_Magisterofc mal broke that and the commit says "optional" lmao00:43
Mister_Magisterhmmm00:44
Mister_Magisteroh thats wrong hybris-boot00:45
Mister_Magisternow its alright00:47
Mister_Magisterslowly crafting kernel patches01:16
Mister_Magisterlets test kernel on working g2 before i do with creation of the zip01:25
Mister_Magisterhey! it boots!01:31
Mister_Magisterfdinfo looks fine01:33
Mister_Magisterquota seems fine, xfs seems fine01:34
Mister_Magisterlooking good01:34
Mister_Magisternothing like 3am hacking01:50
Mister_Magistercouple bumps on the road like build_packages not building droidmedia-devel and then gst-droid requiring that02:59
Mister_Magistermal: ^ you probably want to do smth about it02:59
Mister_Magisternot mentioning that you have to install meson in target/not adding it to BuildRequires:03:00
Mister_Magisteri also seem to be missing audioflingerglue build instructions? neither in hadk nor hadk-faq03:02
Mister_Magisterjust saying what i noticed don't get mad at me :<03:04
Mister_Magisterbuilding zip wish me luck03:55
Mister_Magisteroh? it failed?03:58
Mister_Magistermhm mic fails sed: /etc/zypp/zypper.conf: No such file or directory04:03
Mister_Magister.ks file is freshly generated its weird04:09
Mister_Magisterye i keep getting Script returned with non zero status, failing.04:14
Mister_Magisteri was missing Requires: patterns-sailfish-device-tools, that should install zypper  and fix things04:18
Mister_Magisteryep04:20
Mister_Magisterdang i still got this04:20
Mister_Magisterthe porting skills are still here04:20
Mister_Magisterwell this is the easy part04:20
Mister_Magisteryep fixed04:24
Mister_Magisterah yes no gui we love to see it04:38
Mister_Magistersome guy some time in the past like 4 years ago did a fix for g2 ui, it was nicely documented but then hadk-faq went to hell and now i'm the only one who remembers it and who uses it and noone has any idea where this fix is and how its working04:45
Mister_Magisterbut basically it stopped working04:45
Mister_Magisterbut hey at least im getting ui… sortof04:55
Mister_Magisteryeah seems a lot better04:58
Mister_Magisterdhi is running and stuff04:59
Mister_Magisterand i sortof get ui04:59
Mister_Magisterinvoker[1987]: died: Received wrong ack (00000000) and Booster: Failed to initialize: Booster: Couldn't read command is what i'm seeing a lot05:00
Mister_Magisteri've narrowed down where the hack is05:43
Mister_Magisterminisfservice differs from my g2 and when i put g2's minisfsservice the hack seems to work05:44
Mister_Magisteri'm not sure yet why startupwizard doesn't start up05:44
Mister_Magisterye issue is the same the invoker dies05:46
Mister_Magisterthat prevents startupwizard and couple other things05:46
Mister_Magistergreat issue that noone ever experienced :D05:56
T42<elros34> 4.2.0? then invoker is broken for that release, it miss caps set on booster05:58
Mister_Magister4.2.0 exactly06:01
Mister_Magister@elros34 i just found you in the logs06:01
Mister_Magistertalking about that06:01
Mister_Magister@elros34 workaround or build 4.3?06:01
T42<elros34> /usr/sbin/setcap cap_sys_ptrace+pe %{_libexecdir}/mapplauncherd/booster-* should help or build newer version of mapplauncherd mentioned here: collabedit.com/kr9xx06:04
Mister_Magisterthanks06:07
Mister_Magisterhmm that doesn't seem to fix things06:08
T42<elros34> hm so different error maybe, do you have getMountNamespace error?06:11
Mister_Magisternope06:11
Mister_Magister@elros34 https://paste.opensuse.org/cc65090106:12
Mister_Magistertons of invoker[2174]: died: Received wrong ack (00000000), Booster: Failed to initialize: Booster: Couldn't read command06:12
Mister_Magisteri haven't seen anyone with this issue06:13
T42<elros34> you have thhat error06:13
Mister_Magistermhm06:14
Mister_Magisteroh wait06:14
Mister_Magisteri do have getMountNamespace06:14
Mister_Magisterill try building newer mapplauncherd then06:14
T42<elros34> so you are missing /proc/<pid>/ns/mnt. Yeah should be easier to build newer version of invoker than patching kernel.06:15
Mister_Magisteri am06:15
Mister_Magisteri was already patching kernel today so nah patching kernel is simpler for me06:16
Mister_Magisterthrow commits at me please :D06:16
Mister_Magisterits soemthing to do with namespaces is it not06:17
T42<elros34> yeah 12 commits are in collabedit.com/kr9xx. Do you use bluez4 on that device06:19
Mister_Magisterbluez506:19
Mister_Magisterye i don't have mntns06:19
T42<elros34> btw that /proc/<pid>/ns/mnt requirement is droped in 4.3.0 so not sure whether is worth to patch kernel06:20
Mister_Magisteryeah06:20
Mister_Magisterwouldn't it be simpler to jsut build 4.3.0 image06:21
T42<elros34> maybe or you will have new issues because of sailjail all over the place06:21
Mister_Magisteri think i've patched everything for sailjail06:22
Mister_Magisterwhats 4.3.0's small version?06:22
T42<elros34> 12 I think06:22
Mister_Magisterthanks06:23
Mister_Magisteri've been entire night at it at this point xd06:23
Mister_Magisterbuilding mapplauncherd 4.2.2.06:24
Mister_Magisterstill gotta figure out changes in minixfsservice06:24
T42<elros34> btw update your hcismd-up script06:26
Mister_Magisteri know lol06:26
Mister_Magisteri know whats broken in there already mentionedi t on this chanel06:26
Mister_Magisteri want gui first yatknow06:26
Mister_Magisterhaven't updated since 3.4 xd06:26
Mister_Magisteryep  we got wizard06:26
Mister_Magisternow for the second wizard06:27
Mister_Magisterhere it is06:27
Mister_Magisterand here is ui06:28
T42<elros34> yeah no search for new bugs and explore slownes of sailjail:)06:28
Mister_Magisterwhat do you mean?06:29
T42<elros34> compared to 3.4 most jolla apps use generic booster so they start way slower06:30
Mister_Magisterwhy tho06:30
T42<elros34> thanks to sailjail06:30
Mister_Magistersome limitations?06:30
T42<elros34> yeah silica booster can't be used for some reason06:31
Mister_Magisteri see06:31
Mister_Magisterwelp on my side, everything seems to be workign except for vibrations (i got idea about that) and camera (new configs or smth)06:31
Mister_Magisterthanks for help06:32
Mister_Magistergot bunch of things to figure out but its doable06:32
Mister_Magisterluv u <3 @elros3406:32
Mister_Magisterstill im amazed in myself that i got this far by myself after such long break06:33
Mister_Magisterlast time i didn't have as much of a success06:33
Mister_Magistermaybe i patched kernel better this time06:34
T42<elros34> for camera you should probably build older version of droidmedia/gst-droid if you do not use revisions mentioned in notes06:34
Mister_Magisteroh thanks06:35
Mister_Magisterguys he's overdelivering :D06:35
Mister_Magisterbut for now06:38
* Mister_Magister falls into deep slumber06:38
Mister_Magisteri'm gonna exceed jolla's support of jolla phone with the g2 port06:45
Mister_Magister6 years and still going strong06:46
deathmisthey, any special steps I should take for upgrading from SFOS 4.1 to 4.3? I'd like to update my aarch64 hybris-16.0 port, and perhaps finally also put that on OBS and so on08:55
deathmistspecial meaning anything besides updating submodules08:55
T42<elros34> at least one: 4.2 is Stop Release08:57
deathmistsure, but I've not released anything since 3.4 so I'm not that worried08:57
deathmistthe thing is the current 3.4 port is armv7l08:58
deathmistso I don't think a clean upgrade can be done anyway to 4.x aarch6408:58
T42<elros34> so probably: regular droidmedia/gst-droid downgrade, you might need to also build droidmedia-devel.spec because  of missing 'pkgconfig(droidmedia)' in common repo09:01
deathmistI assume droidmedia/gst-droid on 0.20210818.0 to match 4.3.0 release changelog? I'll take a look at OBS stuff after I get a local build working :)09:03
T42<elros34> maybe you can use latest, I did not try but if you want to avoid rebuilding then yes use the one from changelog09:04
deathmistcool thanks, I'll see how it goes later today and check out https://github.com/sailfishos-open/waydroid as well ^^09:09
T42<adampigg> Mal: i guess for 4.3 ports now only ship droidmedia, not the -devel, and drop building gst and gmp droid?09:21
T42<elros34> deathmist: ah so I was wrong ^09:28
T42<TheVancedGamer> poof (re @Crypto 🚀 Trends: )10:50
T42<XAP2P> kwuh (re @cr3dd7: )12:58
T42<Carloaberto> Hi everyone,i am following this guide to build SFOS for Oneplus 6. I tried doing breakfast $DEVICE but the variable $DEVICE is empty. If I wanted to specify the device manually should I write oneplus_enchilada instead of $DEVICE? I mean I already tried and it does not work15:31
T42<Carloaberto> https://github.com/sailfish-oneplus6/sf-enchilada/blob/master/building.md (re @Carloaberto: Hi everyone,i am fol...)15:32
Mister_Magister@Carloaberto u lack .hadk.env or .mersdkubu.profile15:37
T42<Carloaberto> Thanks15:46
T42<Carloaberto> Also if I can ask another thing I might be missing a file: build/target/product/updatable_apex.mk15:47
T42<Carloaberto> How should I go about that?15:47
T42<Carloaberto> Also if I can ask another thing I might be missing a file: build/target/product/updatable_apex.mk15:53
T42<Carloaberto> How should I go about that?15:53
T42<Carloaberto> To be more specific it throws this error: device/oneplus/sdm845-common/common.mk:198: error: _nic.PRODUCTS.[[device/oneplus/enchilada/lineage_enchilada.mk]]: "build/target/product/updatable_apex.mk" does not exist. (edited)15:53
jules[m]<deathmist> "hey, any special steps I..." <- it's for the oneplus5 port ?15:54
jules[m]I love this port :)15:54
deathmistthanks, yes :)15:54
jules[m]deathmist: thanks for the port... It's my daily phone and I love it15:58
jules[m]with 4.3 we should could run waydroid ?15:58
deathmistfor sure, it should work pretty easily after the required stuff is enabled in kernel, it might even work on 3.4 right now, I've yet to try because I'm more interested in upgrading the base instead15:59
deathmist(assuming it's available for armv7 ofc and the dependencies aren't too outdated / non-existent back on that release)16:00
jules[m]deathmist: yes in my test dependencies failed for a python tools16:01
T42<Donald Jerkins> Forwarded from unknown: I never believed until I experienced it. For a start I deposited $500 for a test, in Four days I got a return of $3500, am so happy I invested under your platform @the_pattern_trader I'm greatful 👇16:37
T42<Donald Jerkins> https://t.me/joinchat/DE4JPrcrT-9mNzI016:37
T42<cr3dd7> ? (re @Donald Jerkins: I never believed unt...)16:41
Mister_Magistermeh camera still brokeh17:10
Mister_Magisterat least vibrations fixed17:10
Mister_Magisterhmm miniaf and minisf are not running17:16
Mister_Magistersuspecious17:16
Mister_Magisteranyone had /usr/share/droidmedia/hybris.c:46: undefined reference to `dlsym'?18:45
Mister_Magisteri'm building update-4.2.0 of gstdroid18:45
Mister_Magisterk im fixing it by hand but its brokeh18:54
Mister_Magisterbut its not brokeh in  newer version18:54
Mister_Magisterso whatever18:54
ruthenianboyis sailfish designed with respect to camera notch? If not, which type is best?18:55
Mister_Magisterruthenianboy: it's not designed and i didn't make patch but… you can live with it18:56
Mister_Magisterruthenianboy: i have been using sfos on 5z which has notch without major issues18:57
Mister_Magisteronly issue is that you don't see clock18:57
Mister_Magisterbut other than that it just takes center space of page header which is mostly unused18:57
Mister_Magisterand in video players like microtube or picoplayer you can extend video to the left and right fully and it only takes bit out of the video but dont' care much18:57
T42<elros34> there is no dlsym here https://github.com/sailfishos/droidmedia/blob/0.20210702.0/hybris.c#L46 so most likly you use wrong version18:59
T42<elros34> assuming you build for sfos 4.2.019:00
Mister_Magisterye19:00
Mister_Magisterhmm thats weird19:00
Mister_Magisteri'm at 9450a66a133ffa4df4af5f1d2af5b09ff794606d19:00
Mister_Magisterso i'm on corret version19:01
Mister_Magisteroh wait19:01
Mister_Magisteri didn't build droidmedia-devel19:01
Mister_Magisteroh wait19:02
Mister_Magisterthis older droidmedia doesn't have separate devel19:02
Mister_Magisterthen idk19:02
ruthenianboyMister_Magister: ah, I see. I thought it has been somehow implemented meanwhile I did not touch SF last two years19:02
Mister_Magisterit wasn't19:03
T42<elros34> maybe you just forgot to make droidmedia and package it?19:03
ruthenianboyMister_Magister: whats 5z?19:03
Mister_Magistera phone.19:04
Mister_Magister@elros34 no -g does it for me19:04
T42<elros34> -g only package so if you forget build droidmedia then..19:05
Mister_Magisteri built it too19:05
ruthenianboyMister_Magister: i mean manufacturer. Oppo, asus?19:05
Mister_Magisterasus19:06
ruthenianboyokk, I see it have top notch19:07
Mister_Magistermhm19:08
Mister_Magister@elros34 for whatever reason it packages wrong hybris.c lmao19:14
Mister_Magisterbut i will figure it out19:14
Mister_Magisterhmm wtf i yeeted out but its still invalid20:43
Mister_Magister@elros34 https://github.com/sailfishos/droidmedia/blob/master/droidmediaconvert.cpp#L6120:45
Mister_Magisterdlsym is here20:45
Mister_Magisterand hybris.c includes it20:45
Mister_Magisterah nvm20:47
Mister_Magisteri had two droidmedia-devel20:47
Mister_Magisterone was invalid20:47
Mister_Magisterit was from building droidmedia-devel by hand20:47
Mister_Magistermystery solved20:47
Mister_Magisterlol Could not open device '/dev/video0' for reading and writing. system error: Device or resource busy21:35
Mister_Magisterwhattheheck21:35
Mister_Magisterrm: can't remove '.cache/gstreamer-1.0': Device or resource busy what the21:36
Mister_Magisterstoppeed user@10000, removed, restarted user@100000, camera works21:38
Mister_Magisternow i would like to make fresh camera configs21:40
Mister_MagisterCamres error: Property camera-device is not an enum.21:42
Mister_Magistertoo new droid-camres i suppose21:42
Mister_Magisterhmm doesn't seem so21:48
Mister_Magisteri know what its related to but idk why it happens21:49
Mister_Magisterwelp can't use droid-camres21:57
malMister_Magister: https://github.com/mlehtima/droid-camres/commits/multi-cam22:02
Mister_Magistermal: should i use that?22:05
Mister_Magistermal: where did you get https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/etc/gst-droid/gstdroidcamsrcquirks.conf this from22:06
Mister_Magisteralso i'm supposed to remove this https://github.com/VerdandiTeam/droid-config-thea/blob/master/sparse/etc/gst-droid/gstdroidcamsrc-0.conf22:07
malgstdroidcamsrc-*.conf files are obsolete and not used, quirks are optional, you can get the information from dump-camera-parameters program if you want to setup those22:10
Mister_Magistermal: i removed gstdroidcamsrc* but now jolla-camera has no iso options22:10
malMister_Magister: I use that for on fp2 (it needs to at runtime also because of some hacks), droid-camres will be obsolete after sfos 4.3 is released if I remember correctly22:11
malMister_Magister: many recent qcom device don't support iso values unless you patch frameworks/av (or something)22:12
malI think all recent qcom devices22:12
Mister_Magistermal: its old device tho22:13
Mister_Magisteri'm updating thea22:13
maldid iso values work before, you can check dump-camera-parameters if it reports iso values22:13
Mister_Magisterthey at least showed up with gstdroidcamsrc22:13
malyeah, but more relevant would be if those even worked22:14
Mister_Magisternot sure about that lmao22:14
Mister_Magisterwhere can i find dump-camera-parameters22:15
Mister_Magisterdroid-camres spit out iso values22:16
Mister_Magistermore than before even22:17
Mister_Magisterfoudn it22:20
Mister_Magistermal: https://paste.opensuse.org/cd0559a622:21
Mister_Magisterso i tihnk answer is no?22:22
piggzmal/abr: by my quick calcs, the following no longer to be built by ports for 4.3, correct?22:23
piggz*bluebinder,22:24
piggz*dummy_netd,22:24
piggz*geoclue-provider-hybris-binder,22:24
piggz*gmp-droid,22:24
piggz*gstreamer1.0-droid,22:24
piggz*hybris-libsensorfw-qt5-binder,22:24
piggz*libgbinder-radio,22:24
piggz*nfcd-binder-plugin,22:24
piggz*ofono-ril-binder-plugin,22:24
piggz*qtscenegraph-adaptation,22:24
Mister_Magisterpiggz: thats not nice of you22:24
Mister_Magisterto spam irc22:24
NicoWell, that was like 3 more lines than your monologue before that!22:25
piggzMister_Magister: shush22:25
piggz :D22:25
* Mister_Magister hmpf22:25
malMister_Magister: yes, based on the output from dump-camera-parameters your device doesn't support iso values22:26
piggzMister_Magister: did you run out of screen real estate on you 540p monitor??22:26
Mister_Magistermal: oki22:26
Mister_Magisterpiggz: im' just saying you should use paste service22:26
piggzMister_Magister: yeah, but these details are important for porters right?22:27
piggzanyway, i dont want an agurment to be longer than my paste22:27
Mister_Magistercould fit in one line too22:27
Mister_Magisterye xd22:27
Mister_Magisterit won't unhappen22:27
malpiggz: seems like a correct list, so you only need droid-*, libhybris, mce-plugin-libhybris (I should cleanup the removal of adaptation dependency for that), pulseaudio-modules-droid* and qt5-qpa-hwcomposer-plugin22:29
Mister_Magisterwow nice22:30
malof course older devices will need more packages if those use hal versions of geoclue and sensorfwd plugins for example22:32
malalso older devices will need to update their patterns if they use hal versions of those22:33
Mister_Magisteroh :<22:33
Mister_Magistermal: can i provide minisfservice prebuild with my port?22:35
Mister_Magisterif i put it in sparse it adds requirements to configs :<22:37
malwhat do you mean?22:38
malisn't minisfservice in droidmedia?22:39
Mister_Magisterhmm22:39
Mister_Magisteri can substitute it yeah22:39
Mister_Magisteryou're right22:39
malwhat is different in your version of that?22:39
Mister_Magistermal: i have fix for my screen22:39
Mister_Magisterwith no source for it anymore22:39
malhmm22:39
Mister_Magisterwell "fix"22:41
Mister_Magisterworkaround no 422:41
Mister_Magisteri think what it does is that in surfaceflinger is modified so instaed of running in loop it executes loop once and exits, and that's in libsurfaceflinger.so and then minisfservice starts surfaceflinger which then inits screen and exits22:42
Mister_Magisteri have patches for surfaceflinger but not for droidmedia22:42
Mister_Magisterfix itself is like 4yo22:44
T42<elros34> this one? https://wiki.merproject.org/wiki/Adaptations/faq-hadk#Alternative_to_lipstick-hack_.28aka_surfaceflinger-hack.2922:49
Mister_Magister@elros34 holy shit you found it22:49
Mister_Magistermy saviour22:49
Mister_Magister@elros34 want 5€ for beer? xd22:50
T42<elros34> you always forget about it so I remembered where it is:)22:50
Mister_Magisterbut ye i basically figured this fix out myself22:50
Mister_Magisterwhich is awesome in its own right22:50
Mister_Magister@elros34 <322:50
Mister_Magisterill paypal u 5€ for beer if u gib link22:50
T42<elros34> no thanks:)22:51
Mister_Magistermal: could we merge it so i don't forget it?22:51
Mister_Magister@elros34 aight22:51
Mister_Magister@elros34 i couldn't find it cause hadk-faq doesn't lead to that faq22:52
T42<elros34> sure, maybe make PR. I guess nobody else use it22:55
Mister_Magisterye22:55
Mister_Magistermal: i think i will make my hybris17 5z port on aarch6422:57
Mister_Magisterfor more difficulty22:57
malMister_Magister: which fix should we merge?23:00
Mister_Magistermal: https://wiki.merproject.org/wiki/Adaptations/faq-hadk#Alternative_to_lipstick-hack_.28aka_surfaceflinger-hack.2923:01
Mister_Magistermal: do i need this anymore? https://build.merproject.org/package/show/nemo:testing:hw:motorola:thea/filesystem23:16
malno23:17
Mister_Magisteroki23:17
Mister_Magisterthanks <323:17
Mister_Magisternow we wait for it all to build23:19
Mister_Magistermal: i thought i would never learn this porting thingy but it seems that i'm doing quite well :D23:21
Mister_Magisterafter like 6 years but still xd23:21
malheh23:21
Mister_Magistermal: i updated to 4.2 entirely without your assistance :D23:21
Mister_Magisteror any assistance at all either23:21
* Mister_Magister proud of himself23:21
Mister_Magisterbut this is easy part, porting 5z will be difficult23:22
malwhich vendor/platform is that 5z?23:22
Mister_Magisterasus23:23
Mister_Magistersdm84523:23
Mister_Magisterim currently running armv7hl hybris16 port but i need to port hybris17 to get calls23:23
Mister_Magisterand im gonna port it aarch64 to test my apps on aarch6423:23

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