Wednesday, 2019-09-25

T42<Diego Lopes %lastname%> Hello people. I need some help here. My Sony Xperia X (F5121) just arrived, and I'm trying to install the Sailfish X on it. Someone have a step by step link to send me later? Thank you very much.03:06
T42<birdzhang> Diego Lopes https://jolla.com/sailfishxinstall/03:07
T42<Diego Lopes %lastname%> @birdzhang [Diego Lopes https://jolla.com/sailfishxinstall …], Thanks. I am reading the page and I still don't understand the part 'Sony vendor binary image'. What is this for!?03:09
T42<birdzhang> There is a link at the end of 5.1 part. BTW, this group is for port only, you can join SailfishOS fanclub https://t.me/joinchat/AWx9iUE-U9pZ_NeJlxXs0w03:12
T42<adampigg> (Photo, 2560x1440) https://irc.thaodan.de/.imgstore/x7HTc8mev5.png14:25
T42<adampigg> Kimmoli^^ also playing with electronics,  and my prototype works!14:26
mal@adampigg but what does it do?14:26
T42<adampigg> mal: opens my car doors :)14:27
T42<adampigg> (the old renault 5)14:27
malcool14:27
T42<adampigg> the chip at the heart of it is a TEA5500, with 10^3 codes14:27
T42<adampigg> there are docs online which say how to create the pair of transmitter/receiver14:27
T42<adampigg> i have the receiver, but no transmitter14:28
T42<adampigg> so, i used the oem circuit diagram and reversed the code from me receiver, and it blooming worked14:28
rinigusadampigg: does it also work on renault 5 of the neighbor?15:38
T42<adampigg> Rinigus, renault 5s are rare now, but no, its coded to the receiver15:43
T42<DylanVanAssche> Put it in a TOH for the PinePhone :D @adampigg16:00
deathmistmal: nfcd-binder-plugin MW build fails because nfcd-plugin is not present https://pastebin.com/T1mVN1dZ17:57
maldeathmist: build older version of that then17:58
maldeathmist: cd hybris/mw/nfcd-binder-plugin; git reset --hard 1.0.4; cd $ANDROID_ROOT17:59
deathmistyep, just did that and it worked. would this let me get NFC working since I've not worked on that yet myself?18:00
maldeathmist: that works only for android 8 or newer (lineage 15.1 or newer)18:02
deathmistmy base is lineage-15.1 so I guess I'll look into that soon18:03
maldeathmist: you'll need that and jolla-settings-system-nfc in patterns for nfc18:05
deathmistalright, thanks! I'll see if I can test that on my next build already (and maybe FINALLY get call audio working too w/ hidl PA module v1.0 out of the box)18:09
deathmistbtw how difficult should it be to migrate from 15.1 base to 16.0 when that is publicly available?18:15
maldifficult to say, depends on device18:30
deathmistmal: I added my own mass storage configs for testing in dcd (https://git.io/JeG05), now mic fails with "file /etc/usb-moded/mass-storage-jolla.ini conflicts between attempted installs of droid-config-cheeseburger-1-1.armv7hl and usb-moded-mass-storage-android-config-0.86.0+mer36-1.4.1.jolla.armv7hl"19:01
deathmisttried "sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -m sdk-install zypper rm usb-moded-mass-storage-android-config" already but it didn't help19:02
rinigusI am starting to look for the next SFOS device. As I am not thrilled with the current and upcoming official devices nor pro1 for different reasons, I wonder if there is some current(ish) higher end devices with good ports.19:07
rinigusOr considering some lower hanging ports, like xz2/xz2c/xz3 family. xz{2,3}'s seem to suffer currently from relatively poor camera, which is expected to improve with 4.14 kernel and its blobs (posts on https://forum.xda-developers.com/xperia-xz2/development/aosp-aosp-8-1-h8266-t3843269/page91).19:07
rinigusmaybe someone is on the similar search or, ideally, looks for a new challenge and is ready-to-port?19:07
maldeathmist: is your device using which usb method, the old android one or configfs?19:09
deathmistmal: configfs, I'm looking into mass storage too because I've still not narrowed down the full problem of MTP on this device19:10
deathmistthe MTP issue was iirc some "b.2" dir did not get created in /config even tho it definitely is right there in the init scripts19:11
maldeathmist: mass storage should not be used, it's old and had a lot of issues, not sure if it will even work with configfs19:16
maldeathmist: you can always create the configfs content yourself with some script?19:17
deathmistmal: ok, I'll revert everything related to mass-storage in that case. I'll look into that again, having MTP around is really convenient19:18
maldeathmist: also if you use configfs you should only have https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/patterns/jolla-hw-adaptation-kirin.yaml#L60 in patterns and then in spec https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/droid-config-common.inc#L1219:18
deathmistmal: well, I didn't have either of those setup properly then. will removing usb-moded-connection-sharing-android-config from patterns disallow me from using USB network sharing? I use it (tho very rarely)19:25
deathmistactually it's not a big deal, since I have a dual-boot w/ LineageOS setup I'll just boot there if I ever need it19:25
vknechtnot sure about higher end devices, but future really is with mainline-linux supported devices, isn't it ? so I'd guess, from lower to higher end, pinephone -> librem5 -> snapdragon845, bemol with sd845 being no garanteed support of telephony/usual smartphone features19:27
vknechtwith some compromise, fairphone 3 maybe ?19:28
rinigusvknecht: for sfos use, maybe fp3 or some sd845 would be good compromise. in some respect sony devices have an appeal of being relatively well distributed, cover different form factors/price points, so it would have probably decent impact in terms of users.as far as I could see, moving within the same family of devices should be simple.19:33
vknechtah yes, sonys are a pretty good choice from what I've seen, due to good kernel/device maintenance19:34
vknechtnow with sfos the thing is: does the port base evolves with what sony/sodp supports, and does android support follows that19:37
rinigusvknecht: good question. looks like current xperia 10 android base is at https://github.com/mer-hybris/android/tree/sony-ganges-aosp-pie . I'd expect something similar for xz series would be needed.19:40
rinigusvknecht: from what I have been told, kernel 4.14 with, what's released as Q blobs, should work with the same blobs on P19:41
rinigus(android bases)19:41
rinigusvknecht: current development of android p is considered stable and is using 4.9 kernel. for better camera, 4.14 is needed, but that will be stabilized a bit later with development shifting to android q. for xz's, seems like strategy would be to port using android p as a base and later use 4.14 kernel.19:43
rinigus... unless its impossible for any other reason.19:44
vknechthmmm, recently saw on xda that aosp9 builds for X will soon be stopped in favor of 10 ; wondering if that version-speed-run is really beneficial to the user, not sure all aosp9 problems were ironed out19:46
T42<elros34> @deathmist: not sure whether it works with configfs but you need this for mass storage https://build.merproject.org/package/binaries/nemo:testing:hw:motorola:moto_msm8960_jbbl/usb-moded?repository=sailfishos_3.1.0.1219:48
rinigusvknecht: yes, same is going on with xz2/2c/3. but the fact that they still make those updates is already nice.19:50
rinigus... but indeed, we cannot assume that aosp 9 will get much better later. unless there is a reason behind it, as with the camera drivers19:52
maldeathmist: I didn't know usb connection sharing works with configfs19:53
vknechtguess I'll have to upgrade my X aosp8 port to aosp9 to check 4.9 kernel makes things better (and I hope so), 4.14 why not but it's a bit fresh isn't it ? and will it be usable with aosp < 10 ?19:57
vknechtand iiuc there's a jolla announce to come about X ?19:57
malvknecht: what problems do have with aosp8 base+20:01
rinigus4.14 was not recommended for general use at this stage. as for use with the earlier versions, I was told that for xz2 it should be ok (use with aosp9), but I haven't tested it. nor I have not heard of anyone else testing it20:02
vknechtmal, iirc 'bout same as you like bt problem, and especially high battery consumption (~180mW doing nothing in BatteryLog)20:05
malvknecht: bt probably needs some kernel patch, just guessing, check rfkill to see what it lists, did you install bluebinder?20:17
malvknecht: battery drain might need some things, I have some ideas for that20:18
malvknecht: I think the device probably doesn't suspend at all, usually either ril or wlan is causing that, you can check in dmesg what is preventing suspend, if it's ofono then there are changes related to that in ofono after previous sfos release, in case it's wlan you could try https://github.com/mer-hybris/sailfish-connman-plugin-suspend20:23
vknechtwlan was no stranger to suspend problem, will try that connman thing20:24
maldmesg usually tells if that is needed20:25
malbut if it's not suspending at all then it's more likely to be wlan than ril20:25
malalthough ril can also be partially responsible20:26
malvknecht: was bt failing completely or how did it behave?20:29
vknechtcould say that, but it's been weeks sincmegae last looked at it, and I should provide logs20:47
vknechthttps://mega.nz/#F!UbQU0IjY!5Ptb5RJYdTvBLlv_bVHKpA most recent I have, but will have to check again20:50
malvknecht: can you check mcetool --get-suspend-stats20:58
malvknecht: based on dmesg both ril and wlan could be problematic20:59
vknechtjust powered the X back on with almost full battery, will let it run idly overnight and report ; now I'm uploading the 3.0.3.9 build in the same mega folder21:03
vknechtguess the mcetool will make more sense tomoroww21:03
vknecht*mcetool report21:03
malvknecht: you can see quite easily if it suspends or not, just disconnect from USB and wait a moment and check21:05
* vknecht removes himself from his couch21:05
* vknecht remembers usb developer mode connection is broken, logs over wlan...21:10
vknecht[root@Sailfish nemo]# mcetool --get-suspend-stats21:13
vknechtuptime:       814.27521:13
vknechtsuspend_time: 399.84121:13
vknechtf5121 build is uploaded, uploading f5321 one21:15
malvknecht: ok, so it suspends at least somewhat21:20
vknechtnot so utterly broken, then :-) but it's quite soon after a reboot, and without a SIM card ; anyhow I'll let it run for a while and provide logs21:28
vknechtthe f5321/X Compact build is uploaded ; that's one benefit, kugo has its own build21:30
vknechtif you have any insight about J plans, feel free to share ;-)21:33

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