| mal | maybe try just simple command without any loop just in case | 00:01 |
|---|---|---|
| sharks[m] | Still safe to log the output to a file though? Or remove that too? | 00:02 |
| mal | not sure | 00:03 |
| sharks[m] | I'll try both | 00:03 |
| sharks[m] | With logging to a file but no loop, I still get no such device (-19). With no logging all I can say is that power save is still off. I also tried to run After=droid-late-start.service wifisetup.service and then I get -22 instead again | 00:07 |
| Mister_Magister | mal: fun sidequest, claude figured out that my 2014 x2 needs SETSUSPENDMODE injected into wifi's butt and connman suspend plugin does it but for mediatek xd | 00:09 |
| Mister_Magister | PR incoming xd | 00:09 |
| Mister_Magister | wlan is prima | 00:10 |
| sharks[m] | Okay I got it to work by brute force, After=droid-late-start.service wifisetup.service and loop enough times, it eventually works | 00:14 |
| mal | there must be some better way | 00:27 |
| sharks[m] | I agree, but I don't know what it is | 00:30 |
| Mister_Magister | if you so desire you can leave it to me as i'll be doing it probably when i wake up | 00:31 |
| Mister_Magister | back in mah day we were running sfdroid and we liked it. Kids these days with their fancy waydroids anboxes and whatnot | 00:32 |
| Mister_Magister | i still remember playing the hexagon game on whatchamacallit | 00:33 |
| Mister_Magister | mal: with the changes to the suspend plugin and also editing WCNSS_qcom_cfg.ini to not wake up device on every broadcast packet it went from 56% suspend on wifi to 90%, it slept 2 minutes and 42 seconds in ONE STRETCH | 00:37 |
| mal | do connections work fine if you for example have ssh connection from device to some server over wifi? | 00:46 |
| Mister_Magister | i'm ssh'd into the device | 00:47 |
| Mister_Magister | and that works fine | 00:47 |
| Mister_Magister | if that's what you mean | 00:47 |
| mal | yeah, either way is fine | 00:47 |
| Mister_Magister | then ye it's sleeping i can hit enter it does newline after short delay | 00:48 |
| mal | just to make sure it doesn't directly kill the connection on suspend | 00:48 |
| mal | so seems fine base on that | 00:48 |
| Mister_Magister | it doesn't | 00:49 |
| Mister_Magister | here's mine pr https://github.com/mer-hybris/sailfish-connman-plugin-suspend/pull/10 | 00:49 |
| Mister_Magister | i hope at least one person laughs at the description | 00:49 |
| mal | hmm, fp2 kernel also has SETSUSPENDMODE in prima driver, need to check if that was used | 00:49 |
| Mister_Magister | from 2014 | 00:50 |
| Mister_Magister | xdd | 00:50 |
| Mister_Magister | i'm just adding mount --bind for WCNSS_qcom_cfg.ini and imma be done | 00:50 |
| mal | so is that somehow done differently than to the other suspendmode setting or could those be combined? | 00:52 |
| Mister_Magister | it is done differently | 00:52 |
| mal | need to compare those to see how | 00:52 |
| Mister_Magister | here's what claude has to say if you're interested https://paste.opensuse.org/pastes/0d9b9bb41fe8 | 00:54 |
| Mister_Magister | (that's why i asked your opinion earlier, precisely this situation) | 00:55 |
| mal | hmm, I can't see the difference in the code | 00:57 |
| Mister_Magister | i mean we don't send thetest command but now that you mention it those structs seem awfuly similar | 00:58 |
| mal | the test mode is not relevant in this case | 00:59 |
| mal | it's a different thing | 00:59 |
| Mister_Magister | https://paste.opensuse.org/pastes/e0bd26b2803f | 00:59 |
| mal | ok | 01:00 |
| Mister_Magister | i'll check if my g2 has same wifi | 01:07 |
| Mister_Magister | it's also 2014 g 2 2014 from 2014 | 01:07 |
| sharks[m] | What year is it from? | 01:08 |
| Mister_Magister | you would not imagine, 2014, oldest active port ever | 01:09 |
| sharks[m] | I have been assured the Galaxy SII will be updated someday | 01:10 |
| Mister_Magister | oh I also wanted to add zram cause this phone aint got any | 01:10 |
| Mister_Magister | I always say 2GB ram is enough for sfos | 01:10 |
| Mister_Magister | but 4 won't hurt | 01:11 |
| *** n2klb_ is now known as n2klb | 01:51 | |
| Mister_Magister | okay this is nuts | 02:37 |
| Mister_Magister | x2 just slept for 13 minutes straight | 02:37 |
| Mister_Magister | no wakeups whatsoever | 02:37 |
| Mister_Magister | ON WIFI | 02:38 |
| Mister_Magister | even miami sleeps for like 50s | 02:40 |
| Mister_Magister | 13 minutes is insanity | 02:40 |
| Mister_Magister | it's literally 1 suspend 0 fails xd | 02:41 |
| Mister_Magister | sadly if I launch yottagram it keeps waking up the device quite often and the suspend rate drops considerably | 02:41 |
| Mister_Magister | i can probably use it to tune yotti to be more pleasant, though miami ignores yotti and sleeps for 50s no issue | 02:41 |
| T42 | <Mattia990> @mal without that command I can't receive calls, I can just make calls | 08:27 |
| T42 | <Mattia990> If i run that and reboot the incoming calls are working | 08:27 |
| T42 | <Mattia990> (It is described in the point 1 here (https://github.com/sailfishos-cepheus/droid-config-cepheus/issues/1#issue-5463879356)) (re @SailfishFreenodeIRCBridgeBot: <mal>what issue are ...) | 08:27 |
| T42 | <TheVancedGamer> mal: do you have any ideas why libhybris egl would return this: https://github.com/libhybris/libhybris/blob/7079712a42ea2754adf747e70c6cc75764c8596e/hybris/egl/platforms/common/eglplatformcommon.cpp#L98 | 09:41 |
| T42 | <TheVancedGamer> trying to figure out what I broke, since it's calling get_server_buffer_handle and it should assign a valid format there | 09:41 |
| T42 | <TheVancedGamer> [4172646.544] -> android_wlegl#26.get_server_buffer_handle(new id android_wlegl_server_buffer_handle#25, 1080, 2160, 277, 268436224) | 09:42 |
| T42 | <TheVancedGamer> | 09:42 |
| T42 | <TheVancedGamer> and it's assigning a valid format | 09:42 |
| Mister_Magister | brooother it slept for HOUR STRAIGHT | 11:42 |
| mal | @Mattia990 some tiny comments about your config repo, the files/folders installroot, tmp and documentation.list are generated during build and should not be in git, I suggest removing those are then adding this kind of .gitignore https://github.com/mlehtima/droid-config-fp5/blob/master/.gitignore | 12:34 |
| mal | @TheVancedGamer not sure why it's like that, some very old change | 12:37 |
| T42 | <TheVancedGamer> that's unfortunate, I'm trying to get EGL wayland buffers working in Mir 2 but for some reason they're in EXTERNAL_WL format | 12:38 |
| Mister_Magister | mal: what boggles my mind is that android without wifi/mobile, with screen turned off can last weeks like that, but sfos can't despite like 99% suspend, it will last like 5 days tops, jp26 does that as well. I wonder what are we doing differently | 12:51 |
| T42 | <Mattia990> @mal thank you for your comment, I used the hadk guide to make that repo, maybe I missed the gitignore, I will use the one you said! | 13:27 |
| T42 | <Mattia990> My doubt was, where should I put this line "setprop persist.radio.multisim.config dsds" in order to make incoming calls automatically work for the users that install my build? | 13:27 |
| mal | @Mattia990 I think hadk guide doesn't mention the .gitignore | 13:31 |
| mal | the idea of having a .rc file to do it in droid-config repo seems ok | 13:31 |
| mal | to this folder https://github.com/sailfishos-cepheus/droid-config-cepheus/tree/master/sparse/usr/libexec/droid-hybris/system/etc/init | 13:32 |
| Mister_Magister | mal: if you have 5 minutes to compile the mainline instructions i'd be very happy if you did :) | 13:38 |
| mal | Mister_Magister: probably good idea is to have a look at pinephone adaptation repos in here https://github.com/sailfish-on-dontbeevil the droid-hal-version is quite simple with just native_build define added to spec, droid-config has also same define and differences in patterns, then eglfs configs etc in sparse | 13:53 |
| mal | depends on if you plan to package kernel already or just manually build it | 13:54 |
| Mister_Magister | mal: but on more practical level, i don't need like to clone android stuff right? then how do you like build and package a kernel? how does fstab and udev stuff get to where it needs, how are mounts generated? | 15:27 |
| mal | well if you build mainline kernel then you just use the usual build instruction for mainline or check the kernel-adaptation packages in pinephone project | 15:36 |
| mal | the mounts you need to handle yourself in droid-config repo | 15:36 |
| mal | and any needed udev rules | 15:36 |
| Mister_Magister | but like sfos has its own ramdisk no? | 15:40 |
| mal | I assemble the boot image myself, you can easily do that the android mkbootimg tool can do that | 15:43 |
| Mister_Magister | that seems annoying xd | 15:43 |
| Mister_Magister | but thanks I got general idea now | 15:43 |
| Mister_Magister | now i need to figure out how to build my pmos kernal | 15:43 |
| mal | it has been on my todo list to properly handle mainline kernel builds | 15:44 |
| mal | or separate kernel builds in general | 15:44 |
| mal | need to see if I could make generic template based on the mind2 kernel build and possible some ideas from pinephone also included, it has kernel built separately | 15:46 |
| mal | but since that is lvm based device build it uses the normal boot-img package way to make the actual boot image | 15:47 |
| mal | but for community style builds we are missing that kind of support | 15:47 |
| mal | that makes me think if we should have a different way to build the community style boot image, need to think a bit | 15:49 |
| mal | so pretty much combining that with the lvm based build somehow and just have some define to select which type of ramdisk is included | 15:53 |
| mal | the has been some internal discussion about reworking the whole ramdisk, the lvm based ramdisk generation is quite a mess because it uses some legacy scripts etc | 15:55 |
| Mister_Magister | I really don't like the lvm thing on sfos | 16:07 |
| mal | why not? | 16:11 |
| Mister_Magister | there's no benefit and it's just annoying | 16:21 |
| Mister_Magister | also the ONLY partition that's mounted via fstab | 16:21 |
| mal | I like that I can easily flash rootfs | 16:31 |
| mal | the fstab think is irrelevant, I don't really why you care so much about that | 16:32 |
| mal | *thing | 16:32 |
| Mister_Magister | it's annoying | 16:36 |
| Mister_Magister | I can easily flash rootfs too without lvm | 16:37 |
| Mister_Magister | i just make rootfs image and i can flash it no issue | 16:38 |
| Mister_Magister | and you have to extend both LVM and my way after install anyway | 16:38 |
| mal | what do you mean? lvm is extended automatically at first boot | 16:50 |
| Mister_Magister | exactly, you have to extend both of them | 16:51 |
| Mister_Magister | so there's literally no benefit to LVM | 16:55 |
| Mister_Magister | the only benefit would be if you also used /system partition and minimize the /system to gain extra couple GB | 16:56 |
| T42 | <adampigg> Mal: re kernel builds, you could maybe take ideas from the halium kernels too. kind of more advanced version of pp package, and a common submodule is now used | 17:14 |
| T42 | <adampigg> mal: what rev of dcd is recommended for 5.2? | 20:05 |
| mal | @adampigg 6a9f35ef839b16e9fde1d0a83661c9a28af28abb | 20:09 |
| T42 | <adampigg> thx | 20:09 |
| Mister_Magister | am updating my x2 mainline | 20:09 |
| Mister_Magister | while trying to figure out why it uses 1% battery per hour in 100% sleep | 20:09 |
| T42 | <adampigg> i read | 20:09 |
| Mister_Magister | android would last month | 20:09 |
| Mister_Magister | i don't get it, it's already in sleep and without modem or wifi, what more can I do | 20:10 |
| Mister_Magister | 100% sleep | 20:10 |
| mal | yeah, there something missing probably | 20:10 |
| mal | maybe something related to modem, not easy to debug | 20:11 |
| Mister_Magister | mal: but i observed that on ALL sfos ports, including jp26 | 20:12 |
| Mister_Magister | they all seem to last up to like 5 days everything off | 20:12 |
| Mister_Magister | while android can last month if not more | 20:12 |
| Mister_Magister | and accurate power measurement is difficult too | 20:12 |
| Mister_Magister | the power measurement tools for MCUs cap out at like 0.5 to 1A while phones while booting have like peak current way above that | 20:13 |
| mal | trying to remember which device had like 2 weeks battery life if nothing was being used | 20:13 |
| Mister_Magister | i'm thinking of solution to measure the current accurately | 20:19 |
| Mister_Magister | I've already done powered-by-psu mods | 20:19 |
| Mister_Magister | one user complained about my miami's battery life and see what happens? xd | 20:19 |
| Mister_Magister | Funny thing sfos was hailed as using less battery than android… it's not | 20:24 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!