rinigus | spiiroin: you are right, I did start with power press when screen was off. As if we are 'dead'. With sorry press to switch on screen and later press to reboot, it all worked - phone rebooted into full system. | 05:52 |
---|---|---|
rinigus | Sounds like my misunderstanding is rare enough to ignore it and focus on other issues. Thank you very much for your help! | 05:52 |
spiiroin | rinigus: well, now that I spent a bit thinking about this... that long press change ddid make this particular bit a bit more unintuitive | 05:54 |
spiiroin | background: most devices handle power key press while suspended by reporting immediately both key down and key up events -> display power up starts immediately; then came e.g. xperia x that reports key up when user lets go off the button | 05:57 |
spiiroin | -> it was both a bit non-deterministic and was causing further delay to already slow display wakeup on xperia x | 05:58 |
spiiroin | -> if there are no long press actions defined, power key down is handled already on key down -> the delay is avoided | 05:58 |
spiiroin | act dead is a bit special case, but it got affected too: before the change display did not wake up until you lifted finger from button, now it does -> user gets feedback -> maybe expects that it will shutdown/reboot soon? | 06:00 |
rinigus | spiiroin : my line of thought was that I don't know anything about phone being on. I switched it off and put on charger. So, long press was the same as when phone is really off to see the device. | 06:03 |
spiiroin | rinigus: there might be room for some usability tweaking here ... | 06:06 |
rinigus | Sure, there is always some :) | 06:08 |
deathmist | morning, I assume I can test version OTA going from 3.1 => 3.2? package upgrades already function perfectly with OBS KS :) and about KS, I probably use a locally generated one instead and add community-adaptation repo in SFOS 3.1 manually before doing the OTA or? all packages on devel are for 3.2 (I didn't have testing setup for 3.1 yet either) | 07:29 |
r0kk3rz | your KS has your OBS repo? | 07:51 |
deathmist | yep, at least my current 3.2 one and I've tested package upgrades already on this version (droid-config + other MW) via zypper ref && zypper dup, the system wasn't left in an unbootable state anymore like before :p | 07:54 |
r0kk3rz | then check you get a new kernel flashed up upgrade, otherwise the actual version OTA should be fine | 07:55 |
deathmist | ah nice! alright will do in a few hours, will be nice to see if modules also get upgraded so Wi-Fi works after kernel updates etc :) | 07:57 |
deathmist | last thing missing from my the port now is cellular data... then as far as I'm concerne it's ready for a full XDA release | 07:58 |
deathmist | ofc I should still also setup :testing for proper version upgrades and put packages on specific commit hashes and scrub all webhooks | 08:03 |
deathmist | piggz: btw piggz.co.uk has an expired cert since a few days ago ;) | 08:05 |
r0kk3rz | are you on the porters_ci? | 08:05 |
deathmist | r0kk3rz: nope, not yet. my gitlab name is same as here and device was oneplus/cheeseburger (and dumpling for 5T) | 08:06 |
r0kk3rz | do you want to be? | 08:06 |
deathmist | for sure ^^ I've been uploading my local builds on MEGA and GitHub releases page lol | 08:07 |
r0kk3rz | ok, ive added you | 08:13 |
r0kk3rz | you can create whatever projects you need | 08:13 |
deathmist | cool, thanks! I'll look into it after I get :testing going on OBS | 08:19 |
T42 | <adampigg> (Photo, 2560x1440) https://irc.thaodan.de/.imgstore/DQLDxrUp1d.png | 09:17 |
T42 | <adampigg> Pine dev sample and watch devkit :) | 09:17 |
vknecht | it's christmas already, for you ? :-) | 09:23 |
mal | @adampigg nice :) | 09:24 |
vknecht | for ramdisk command line, where to find values to use for --kernel_offset and --second_offset ? is it ok to just reuse (or ignore) the ones used for ganges and tama ? | 09:46 |
T42 | <adampigg> Yup | 10:10 |
deathmist | r0kk3rz: kernel updates definitely work too :) subversion changed, Wi-Fi (module) still works and other misc changes I had all made it in! gonna paccopy stuff to :testing too now and see how that all works | 11:13 |
deathmist | r0kk3rz: I assume I could make https://github.com/sailfishos-oneplus5/hybris-installer work on the ci docker image? it just needs to be git cloned to be included in built images | 12:10 |
Mister_Magister | mal: how would you change resolution in phone | 12:47 |
Mister_Magister | basically i need to offset whole display at the top by 53px | 12:48 |
mal | probably needs some patching in lipstick at least, not sure what else could be needed | 12:50 |
Mister_Magister | i was trying to patch some qml's on ApplicationWindow level but that was meh result | 12:50 |
T42 | <adampigg> (Photo, 2560x1440) https://irc.thaodan.de/.imgstore/qrI4gGNDrZ.png | 12:51 |
T42 | <adampigg> Mal ^^ | 12:52 |
Mister_Magister | killswitches? | 12:52 |
Mister_Magister | mal: what patching are you talking about? | 12:52 |
mal | @adampigg cool | 12:53 |
mal | Mister_Magister: no idea about details | 12:53 |
Mister_Magister | but like github repo or any hint? | 12:53 |
T42 | <adampigg> Mister_magister yes | 12:53 |
mal | it could be lipstick, libhybris or hwcomposer plugin | 12:53 |
Mister_Magister | hwc plugin most likely i think | 12:53 |
Mister_Magister | lower the lever the better | 12:54 |
Mister_Magister | krnlyng: maybe you have idea how can i change resolution in hwc plugin? | 13:00 |
Mister_Magister | what if i just like forced height do be different https://github.com/mer-hybris/qt5-qpa-hwcomposer-plugin/blob/master/hwcomposer/hwcomposer_backend_v20.cpp#L353 lmao :P | 13:05 |
Mister_Magister | wait isn't that string below an error? | 13:06 |
Mister_Magister | hmm but i don't see any code to offset it… | 13:07 |
T42 | <elros34> you could try in createWindow function. I swaped width/height there in native landscape display: https://github.com/elros34/qt5-qpa-hwcomposer-plugin/commit/0cf356d3638c01a6ed46e7a023ba4a5af33fa447 | 13:14 |
T42 | <elros34> there are also layer->sourceCropf.top which I guess could be used to offset | 13:14 |
T42 | <NotKit> you could possibly hardcode layer size and offset it | 13:15 |
T42 | <NotKit> (though lipstick QML patches seem like a better solution to me) | 13:15 |
Mister_Magister | @NotKit just a quick fix i wanna have sane display till i get it working then i will try making some fancy patches to qml's and also some people like notch hidden + sdl apps | 13:16 |
Mister_Magister | @elros34 @NotKit i thought of using this 2 lines https://github.com/mer-hybris/qt5-qpa-hwcomposer-plugin/blob/master/hwcomposer/hwcomposer_backend_v20.cpp#L281-L282 | 13:17 |
T42 | <NotKit> then try to reduce layer height, add size of notch to position y, then lie about screen resolution to the | 13:18 |
T42 | <NotKit> layers above | 13:18 |
Mister_Magister | @NotKit i don't think i follow | 13:19 |
T42 | <NotKit> hwc2_compat_layer_set_display_frame(layer, 0, 53, width, height); | 13:25 |
T42 | <NotKit> hwc2_compat_layer_set_source_crop(layer, 0.0f, 0.0f, width, height - 53); | 13:25 |
T42 | <NotKit> hwc2_compat_layer_set_visible_region(layer, 0, 0, width, height - 53); | 13:25 |
T42 | <NotKit> maybe like this | 13:25 |
T42 | <NotKit> but you need to make sure QPA reports height - 53 as display height to outside | 13:26 |
Mister_Magister | yeah but i don't have to add y to visible region too? | 13:26 |
Mister_Magister | i was thinking about that | 13:26 |
Mister_Magister | @NotKit here? https://github.com/mer-hybris/qt5-qpa-hwcomposer-plugin/blob/master/hwcomposer/hwcomposer_backend_v20.cpp#L353 | 13:26 |
T42 | <NotKit> @Mister_Magister [yeah but i don't have to add y to visible regi …], visible region is layer space | 13:26 |
Mister_Magister | so it has to fil | 13:27 |
Mister_Magister | and the display frame offsets it? | 13:27 |
Mister_Magister | why not -53 in display frame as height? | 13:27 |
Mister_Magister | so many questions | 13:27 |
T42 | <NotKit> https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer2.h#2385 | 13:27 |
mal | Mister_Magister: so just try and see what works | 13:27 |
Mister_Magister | mal: i will do! | 13:28 |
mal | Mister_Magister: you never learn if you don't just dive in the deep end | 13:28 |
Mister_Magister | mal: yep! | 13:28 |
T42 | <NotKit> @Mister_Magister [and the display frame offsets it?], display frame is defined not as offset, but portion of screen that a layer covers | 13:28 |
mal | I had to patch hwcomposer for my first port, it was not fun | 13:28 |
Mister_Magister | poor man :P | 13:29 |
T42 | <NotKit> make sure to add some debug prints to check which values do you actually set | 13:29 |
mal | it was actually a buggy android side hwcomposer code, not hwcomposer plugin | 13:29 |
T42 | <NotKit> I think that faking display height will cause createWindow to get height - 53 as argument | 13:29 |
Mister_Magister | @NotKit thanks i think i will just play like a kid setting random values :P | 13:30 |
Mister_Magister | for fun :3 | 13:30 |
deathmist | mal: I can't seem to make packages build on :testing I must be missing something https://build.sailfishos.org/project/show/nemo:testing:hw:oneplus:cheeseburger | 13:54 |
deathmist | looks like cibot hasn't done anything, I just did a paccopy from :devel and removed all webhooks from _service files | 13:55 |
vknecht | seems you miss <arch>armv8el</arch> in Meta tab (or repo setting) | 13:56 |
vknecht | ah, no | 13:57 |
deathmist | in meta tab project path "sailfishos:3.2.0.12:armv7hl" has repo "latest" while onyx and my devel seems to have "latest_armv7hl" instead, that must be it | 14:00 |
mal | deathmist: fixed it | 14:00 |
mal | some copy paste mistake from devel | 14:01 |
rinigus | Hopefully someone can reply: how to test nfc on sfos, taking into account that there are no aps using it. Or do I miss something? | 14:09 |
T42 | <jgibbon> rinigus: I don't have a supported device, so I can just reiterate what I've read somewhere and for some reason remembered: There seems to be command line tools ndef-read and ndef-write for that, also https://git.sailfishos.org/mer-core/nfcd seems to have a dbus interface | 14:15 |
mal | rinigus: if you have a text/url tag then just use it, there is also one app already for helsinki bus card reading | 14:15 |
Mister_Magister | rinigus: you would have to buy NFC url tags they should work ootb | 14:15 |
rinigus | jgibbon, mal, Mister_Magister : thanks! I'll try to read it with ndef tools. when its approached by other phone with nfc share enabled, I do get vibration and something in logs. now I should be able to see in details. | 14:17 |
mal | rinigus: use nfc logger app | 14:18 |
mal | if you want to what is seen | 14:18 |
mal | *want to know | 14:18 |
rinigus | mal: where is that available from? | 14:19 |
mal | rinigus: https://build.merproject.org/package/show/home:slava:harbour/harbour-logger-nfc | 14:20 |
rinigus | mal: thanks! | 14:21 |
Mister_Magister | monich: rules! | 14:22 |
mal | this is the first actual nfc app https://openrepos.net/content/slava/matkakortti also available in store | 14:26 |
mal | btw, does anyone have nfc in their older devices? I mean with older than android 8 based build | 14:27 |
deathmist | mal: it seems libgbinder (1.0.32), libgbinder-radio (1.0.8) and audiosystem-passthrough (1.0.0) are missing completely from nemo:testing:hw:common/sailfishos_3.2.0.12 (found in nemo:devel:hw:common) which causes my OBS packages to fail building on :testing | 14:33 |
Mister_Magister | mal: i do | 14:34 |
Mister_Magister | on hybris 13 | 14:34 |
mal | Mister_Magister: which chip does it have? | 14:36 |
Mister_Magister | snap 801 | 14:36 |
mal | Mister_Magister: I meant nfc chip | 14:36 |
mal | should be visible in dmesg or kernel config or somewhere | 14:36 |
mal | deathmist: those have never been in testing | 14:36 |
vknecht | guess I have it too, on 14.1, bcm2079x | 14:37 |
Mister_Magister | mal: no idea i can check later | 14:37 |
deathmist | hmm, guess I'll build them manually on testing then | 14:38 |
mal | deathmist: maybe I should add those there | 14:38 |
vknecht | grep'ing for nfc through journal and logcat: https://pastebin.com/g4Hj8xNw | 14:40 |
mal | vknecht: ok, that would then need a new plugin | 14:44 |
deathmist | mal: thanks for adding the packages :) any reason I wouldn't have "70_sdk-domain" section in my OBS KS file? just comparing it to other ones on porters-ci | 15:05 |
vknecht | rinigus, any insight about bootloop after ~15s on sony logo, without led ever on | 16:20 |
vknecht | ? | 16:20 |
vknecht | selinux disabled in sparse, tried with and without selinux=0 in droid-hal-img-boot, I have --os_version and --os_patch_level | 16:23 |
vknecht | no sign of life from usb | 16:24 |
rinigus | vknecht: not really... But try to get logs. See my sparse for services and a script in sparse/root. Just have to get in with recovery... | 16:24 |
rinigus | Does recovery work? | 16:24 |
vknecht | doesn't seem so | 16:25 |
rinigus | If lucky, could be selinux related. I may have had similar in 3.2. Disabled selinux in sparse/etc/selinux (can't check, away from pc) | 16:27 |
rinigus | vknecht: do you have lvm at your userdata partition? I'd suggest to make recovery working first. | 16:29 |
vknecht | yes, disabled in sparse/etc/selinux/config and have lvm on userdata | 16:30 |
rinigus | For that, I installed aosp and twrp. On boot made it log on userdata partition and checked it with twrp after recovery boot | 16:31 |
rinigus | With recovery working, we'll get access to logs on lvm | 16:31 |
vknecht | ok | 16:32 |
ilpianista | which are the "phone requirements" to run SailfishOS? Is 1GB of RAM enough? | 16:53 |
ilpianista | also, how do I know if I should build QCOM with BSP or not? And what's "RIL version"? | 16:55 |
mal | ilpianista: I have run sailfish on a device with 512 MB of RAM, but at least 1 GB is recommended though | 17:00 |
mal | ilpianista: which device are you porting? | 17:00 |
mal | which android base? | 17:01 |
ilpianista | sony xperia m2 (eagle) | 17:01 |
ilpianista | 15.1 | 17:01 |
ilpianista | the base android just finished the build! | 17:01 |
vknecht | rinigus, to get logs from recovery, just have to add lines like "dmesg > /data/dmesg.log" in droid-hal-img-boot-sony-loire-pie/initrd/recovery-init ? | 17:08 |
vknecht | doesn't seem to work, either it crashes/reboot before init, or /data is wrong | 17:09 |
deathmist | r0kk3rz mal: https://gitlab.com/sailfishos-porters-ci/cheeseburger-ci/-/jobs/370824613 "Unable to find pattern: Jolla Configuration $DEVICE" can I run https://git.io/JeDAd on run-mic.sh before mic cmdline perhaps? I think that was the fix, but I've only used it locally for now | 17:23 |
mal | deathmist: you don't have patterns enabled in testing project | 17:32 |
deathmist | mal: I see, I may just use meta-packages instead tho (at least attempt first) | 17:33 |
rinigus | vknecht: (was trying to remember and look through my init) I took classical hybris recovery, without lvm, first. that can write on data partition if its in ext fs. just had to set DATA_PARTITION in init script | 17:57 |
rinigus | to make it easier, I used aboot to disassemble and reconstruct boot image with my hacks. that saved some time | 17:58 |
rinigus | but don't you have any recovery from earlier versions? | 17:58 |
rinigus | its xperia x, right? we may as well use OFFICIAL one | 17:58 |
rinigus | it should read lvm just fine :) | 17:58 |
rinigus | deathmist: for meta packages, you could use https://github.com/mer-hybris/droid-hal-configs/pull/175 and then add https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie/blob/master/rpm/droid-config-h8216.spec#L6 to get corresponding KS | 18:17 |
rinigus | you would also need _patterns replacement as in https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie/blob/master/rpm/jolla-configuration-h8216.spec (see also included file in / of that repo) | 18:18 |
piggz | deathmist: ill fix my certs now....thatll be why my calendar stopped syncing! | 18:35 |
rinigus | when approaching with other phone, nfc logger does push out some logs, ndef-write/read do complain that the 'object is gone'. looking back in this channel logs, seems like only simple tags are supported. as I don't have any, will leave it here, assuming it works. | 18:39 |
rinigus | question regarding switching off NFC: it seems to be able to switch it off in settings and nfc doesn't work after that. however, after reboot, nfc is on again | 18:40 |
rinigus | is it only my device or is it sfos feature? | 18:41 |
deathmist | rinigus: damn it automatically enables for me too, I really don't use or care for it and would like it to stay in it's last state too, not just auto-enable and possibly drain battery for no reason | 19:02 |
deathmist | what's also weird is that NFC seems to be the only thing that gets automatically enabling after boot (i.e. cellular, WLAN and BT all load last states) | 19:06 |
rinigus | deathmist: exactly. Nfc doesn't seem to be controlled by rfkill, so I wonder how it's enabled/disabled | 19:13 |
deathmist | welp, now I'm using meta-packages on droid-configs... let's see if I broke everything https://git.io/Jeye6 :D | 19:20 |
deathmist | oop, wrong link lol https://git.io/Jeyei | 19:20 |
deathmist | aand now the build is passing and cheeseburger CI @ https://gitlab.com/sailfishos-porters-ci/cheeseburger-ci is online & usable! tested produced image: it boots, OTA functions and it's ready for XDA minus cellular data | 20:52 |
rinigus | deathmist: congratulations! | 21:04 |
deathmist | thanks :) I really want to get cellular working now so I can use this as my main OS again, @nitin03 already got cellular on his Poco F1 with mostly same droid-config sources, soo something is wrong on my android side that's pretty much confirmed | 21:20 |
r0kk3rz | btw, are you guys hand crafting your meta packages? or using my pattern migration script? | 22:34 |
deathmist | I just did it all by hand lol, wonder if I can even use my droid-configs for local builds anymore after basically deprecating patterns on my repo | 22:50 |
deathmist | local builds aren't too necessary for me at this point since OTAs for packages and stuff just works, but still would be nice to have around | 22:51 |
r0kk3rz | patterns and metapkgs can coexist | 22:52 |
r0kk3rz | but yes, once you have OBS then just use that | 22:52 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!