Tuesday, 2021-08-24

mighty17[m]@elros34 I don't really know about other things as Oreo brings major changes like treble and stuff03:37
T42<Nagendra> Hello folks . Can we run sailfish 4.1 on redmi note 7 ?03:41
riniguspiggz: morning! but https://github.com/sailfishos-ports is gone already05:49
rinigusnot that I have any better name05:50
tqg_hello,does anyone know how to get the "droid-make" command?06:25
tqg_I am building droidmedia,but can't find the command06:26
T42<edp_17> @tqg_: Have you cloned droidmedia into external?06:48
T42<edp_17> @tqg_: If you have hybris/mw/droidmedia-localbuild, then you can do: rpm/dhd/helpers/build_packages.sh -D -o -b hybris/mw/droidmedia-localbuild -s rpm/droidmedia.spec06:49
tqg_@T42:I have cloned droidmedia into external,and use mmm created the so file.I 'll try your way.06:53
piggzrinigus: mer-hybris-community ?06:59
riniguspiggz: out of the box - nice. mer-hybris not good - pinephone is included07:00
rinigusnow just mer-community... bit going back in time, but inclusive07:00
riniguspiggz: although, sailfishos prefix makes more sense07:01
rinigusany good synonyms for community? nothing strikes as great in my search07:02
rinigusor should we approach it from angle of software? sailfishos-open to stress OSS07:05
riniguspiggz: ^07:05
piggzrinigus: sure, why not07:08
riniguspiggz: I'll be able to deal with it in the evening anyway. meanwhile name search/polishing continues?07:10
piggzrinigus: pretty happy with sailfishos-open07:11
rinigusmaybe anyone else wishing to chip in and come up with a good name for github org used by fpd, encryption and other similar bits07:11
piggzie, open implementations of parts of sfos that community ports wouldnt otherwise get07:12
riniguspiggz: we could get encryption, but it is rather poor. and we cannot improve it as it is closed. so, yes, replacing closed source bits with new stack07:13
riniguspiggz: OK. we could stick to -open then. unless you beat me to it, will register it later today. have to go to meeting soon07:14
piggzrinigus: mal level technicality there07:15
piggz"open source implemetnation of parts of sfos that improve upon the closed parts"07:16
piggzrinigus: wondering if we should also host eg, other libs which may or maynot be required by ports07:20
T42<meierrom> Nagengra: don't think there's a port for note 7 yet.07:33
tqg_T42:How can I get the hybris/mw/? I can't find this in my source07:33
T42<edp_17> @tqg_: hybris and subdirectories should be in $ANDROID_ROOT07:37
tqg_@T42:yes,I built libhybris in $ANDROID_ROOT,but I can't find 'mw' dir in $ANDROID_ROOT/libhybris08:00
tqg_@T42: Is the dir 'mw' only come out by special commands ?08:03
T42<Walid> Why the signal icon is not stable08:47
T42<Walid> https://irc.thaodan.de/.imgstore/46c12cfe/file_2533.jpg08:48
T42<Walid> https://irc.thaodan.de/.imgstore/9f0f0ba8/file_2534.jpg08:48
T42<b100dian> try adding dummy_netd package08:57
T42<Walid> also added (re @b100dian: try adding dummy_net...)08:59
riniguspiggz: re hosting libs - I'd expect in sailfishos-open original content, i.e. written by us for that type of software. packaging is better suited for chum, isn't it?09:07
T42<BigChadCat> are there any MediaTek devices running SailfishOS09:09
piggzrinigus: im thinking specifically about buts requried for a hwadaptation ... but you may be right ... i could put some in chum now i think of it09:16
piggz@BigChadCat yes09:16
piggzvolla and gemini at least09:16
T42<elros34> tqg_: do you follow hadk? mw directory and droidmedia will be created after you run build_packages.sh script according to pdf09:23
riniguspiggz: I guess the line is a touch blurry for hw adaptation libs. those could go to -open as well.09:25
rinigusfor scrypt libs, I was planning to use chum. as those could be used for regular apps as well09:26
T42<elros34> Nagendra: search with codename, first result in google. No idea whether it's finished: https://github.com/sailfish-lavender09:26
T42<BigChadCat> Weww, I could try for the Teracube, but I have no clue how to begin, HADK is pretty hard to understand ngl 😂 (re @SailfishFreenodeIRCBridgeBot: <piggz>@BigChadCat y...)09:27
T42<BigChadCat> I have experience with AOSP btw09:27
piggzrinigus: currently is have 1)tls-padding - def hw adaptation, 2)tinyxml - in chum, possibly useful 3)safe-iop - needed for linux-hidl, possibly useful in chum 4) linux-hidl - def hw adaptation09:29
riniguspiggz: sounds like you have a good plan :)09:30
T42<edp_17> @elros34 : Do you have idea how to fix this? (re @edp_17: Hi all! I am buildin...)10:51
T42<elros34> permission issue, maybe you used sudo at some point. Find that usergroupgen.c  and clean directory where it exists11:05
T42<elros34> I guess  system/core11:06
T42<edp_17> Thanks!11:12
T42<edp_17> It only exists in rpm/dhd/helpers/usergroupgen.c11:16
T42<elros34> so do you have usergroupgen compiled file in helpers/ directory? What about helpers/ permissions?11:26
T42<elros34> in system/core you should also have some generated files so git clean -xdf them11:28
T42<edp_17> The problem was that I was root when I refreshed the three submodules, so the owner of those files were set to root. Now, as I changed them back to the user, all package built fine. Thanks for the hint!11:30
piggzmal: getSignalStrenth_1_2 call failing here https://paste.mozilla.org/iyuHzzak ....12:00
piggzseen before?12:01
malpiggz: which device?12:01
maland which ofono ril plugin version?12:02
piggzmal: volla (mtk) ofono-ril-binder-plugin 1.2.312:04
piggzthese packages https://build.sailfishos.org/project/show/nemo:devel:hw:volla:yggdrasil:los1712:04
piggzmal: incoming calls work, but cant make outgoing ... says no network,12:05
malpiggz: does your device support newer binder interface?12:07
piggzmal: yes, radio 1.3 and 1.4 according to lshal12:08
malpiggz: there is 1.4 support in newer libgbinder-radio and ofono-ril-binder-plugin12:09
piggzmal: ok, ill update12:09
piggzmal: thx, building12:14
piggzmal: whats the syntax for specifying the interface revision?12:36
malpiggz: it should detect it automatically12:36
piggzmal: its still trying 1.2....12:37
malpiggz: ah, it needs to be defined it seems, maybe interface=radio@1.4 or something12:40
piggzmal: yes, something like that12:40
piggztried 412:40
malhttps://github.com/mer-hybris/ofono-ril-binder-plugin/blob/master/src/ril_binder_radio.c#L472112:41
malyou can see the ril_binder_radio_interface_name function for the supported options12:41
malpiggz: any luck?12:50
piggzmal: no ... trying to work out if its a ril_0 arg or a transport arg12:52
malpiggz: not sure what you mean12:55
malpiggz: looks like transport, you can see it's read the same as for example slot12:56
piggzmal: got it ... seperator is ;12:57
piggzmal: \o/12:58
piggzpoetaster: volla aarch64/sofs 4.1 could be my new daily driver with this fix!12:59
malpiggz: did it help with the actual issue?12:59
piggzmal: yes, mande an outgoing call and signal strength now showing13:00
malcool13:00
piggzargh, still one really annoying bug13:00
malwhat?13:00
piggzbrowser is crashing/locking up13:00
piggzlets see if its a jail issue13:02
piggzmal: yeah, seems to be a jail issue13:10
piggzfscking jail13:10
mighty17[m]@elros34 i have an idea, what if i try 3.4 kernel with marshmallow base?14:01
T42<TheVancedGamer> Samsung tab? (re @SailfishFreenodeIRCBridgeBot: <mighty17[m]>@elros3...)14:02
mighty17[m]TheVancedGamer yes14:02
mighty17[m]been trying android oreo + 3.4 kernel to update stuff (as if oreo works, pie will as well)14:03
T42<elros34> no idea how hard it would be to make it work14:07
mighty17[m]soo @elros34, oreo hadk + 3.4 kernel i assume it is14:10
mighty17[m]@elros34, hadk uses lineage stuff while my tree is AOSP :/15:56
poetasterpiggz: cool!15:58
poetasterpiggz: a hint for how to replace one file causing lipstick to choke (don't get ssh) ... could try usb login?15:59
malboot to recovery?16:00
poetasterI'm in recovery now :)16:01
poetasterhi mal!16:01
mighty17[m]nvm aosp didnt make a diff its building now16:01
poetastermal: where do I search in recovery?16:03
poetastermal: I seem to remember it's something odd/hidden16:04
malpoetaster: if that is normal community port style build then in /data/.stowaways/sailfishos/16:05
poetasterah! of course a sailing metaphor!16:05
poetasternow how to mount data :<16:05
malare you in twrp or what?16:06
poetastertwrp.16:06
T42<elros34> mighty17[m]: you can find instruction for sony aosp for xperia devices, for example xa2: https://sailfishos.org/wiki/DRAFT-Sailfish_X_Xperia_XA2_Build_and_Flash16:06
malpoetaster: which device is that?16:06
poetastervolla16:06
poetasterone volla broken by hubris, one volla broken by piggz :)16:06
piggzpoetaster: telnet?16:07
poetasterso, you mean, try to boot sailfish and do usb?16:08
poetasterthe network stack is not coming up. it's odd.16:08
piggzpoetaster: is this because you broke lipstick?16:08
piggztry with usb plugged in while booting ... u may get telnet .... otherwise, adb shell from recovery16:09
poetasterpiggz: Oh, yes. It is the thing I did before the device became unresponsive. Simple hack in qml.16:09
poetasterI have adb shell. but data is not mounted16:09
poetasterOk, I'll try telnet first16:10
poetaster192.169.2.15?16:10
piggzyes16:15
poetastercdc_ether looks good. now If I remembered how to use it.16:18
malremember the port 232316:19
poetasterah.16:19
poetasterdamn. connection refused.16:21
poetasterah! ssh works.16:21
poetasteroh. hmmm. d-bus is dead. w???16:25
mighty17[m]@elros34 it isnt a sony xperia, its the same samsung tab as before just oreo and 3.4 kernel16:28
T42<elros34> yeah I know but you can't use it directly but you can see the difference between aosp vs lineage based port16:29
poetastermal, piggz: fixed. thanks.16:29
piggzpoetaster: what release of sfos are you using on the volla?16:30
poetasterpiggz: still 3.4. I failed to flash e (it's an ubuntu touch at the moment).16:30
poetasterpiggz: the second, phone I mean.16:30
mighty17[m]oh right thanks!16:30
poetasterpiggz: 3.4 is actually stable.16:33
rinigusI am in a pickle. hwcrypt cannot run UID=0. so, I made a user for running it. now, I cannot change to that user with `su` early in a boot18:21
rinigusI get "su[5222]: pam_systemd(su:session): Using 600s D-Bus method call timeout"18:21
rinigusif I chown hwcrypt to that user and setuid it, all is fine18:21
rinigusbut then all users are sharing their keys in the system18:22
riniguscouldn't find how to change effective UID in shell script either.18:22
rinigusany suggestions?18:23
ruthenianboygood evening to all!18:57
riniguslooks like systemd-run can replace su in my case...18:57
T42<b100dian> rinigus you're awesome18:59
rinigus:) now have POC with hw-assisted unlocking of encrypted /home19:00
riniguscleanup a bit and push to repos coming up19:00
T42<eugenio_g7> \o/ congrats!19:01
piggzrinigus: gr819:22
poetasterrinigus: thumbs up!20:10
poetastertoo bad I store all my shit in /tmp!20:11
poetasterbada boom. good night all!20:11
riniguspublishing will have to wait till tomorrow night - late here as well. gn20:12
piggzhow to fix all sailjail issues:20:44
piggz[defaultuser@VollaPhone ~]$ cat /etc/sailjail.conf20:44
piggz[Settings]20:44
piggzExec=/usr/local/bin/failjail.sh20:44
piggz[defaultuser@VollaPhone ~]$ cat /usr/local/bin/failjail.sh20:44
piggz#!/bin/sh20:44
piggzALLARGS=$@20:44
piggzSPLITARGS=" -- "20:44
piggzEXEC=${ALLARGS#*$SPLITARGS}20:44
piggzexec $EXEC20:45
T42<elros34> or https://github.com/elros34/dummy-sailjail (not tested on 4.1.0)21:02

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