rinigus | I wonder if there is a way to check whether SIM is unlocked or not. does ofono export something telling it on dbus? or some other service? so, I could listen to corresponding event and check its status on startup and send ATEL ready only after that | 10:59 |
---|---|---|
T42 | <Mister_Magister> Can anyone point me in direction of how can I debug volte? | 11:09 |
mal | rinigus: what are you trying to do with the info | 12:17 |
rinigus | mal: I will hook my small service to ofono or mce and establish communication with qcril only after sim is unlocked. and send my ATEL ready status to it to get SMS flowing on nagara | 15:08 |
mal | it needs to be done only after sim is unlocked? | 15:15 |
rinigus | not sure, but would make sense. right now I seem to be hooking to it too early, although will have to investigate tonight. will know more in few hours | 15:17 |
rinigus | I mean I was hooking to it that early that it failed on binding. | 15:17 |
mal | I think in some code I saw it was done on several occasions https://github.com/cupid-development/QtiTelephony/blob/main/smali/com/qti/phone/powerupoptimization/PowerUpOptimization.smali | 15:18 |
mal | look for trySendPhoneReadyForSlot | 15:18 |
rinigus | will check the code and available examples on the services with libgbinder, maybe I am missing something. | 15:19 |
rinigus | as for PowerUpOptimization, yes logick seems to be not trivial. there are several checks before it sends that signal | 15:19 |
rinigus | didn't look into them and though to replace with just unlock SIM check | 15:19 |
mal | and handles ril crashes and I think sends it on radio power state changes | 15:20 |
mal | but didn't check all the conditions very thoroughly | 15:20 |
rinigus | Mister_Magister: re volte: first, make sure it works on android base that you use. if it doesn't contact los or other devs for your device to figure out why. if it does, log as much as you can. logcat, use jtrace of similar to get binder calls. | 17:10 |
rinigus | then you would have a base to build upon on sfos | 17:10 |
Mister_Magister | I think no los devs support this device at this old version of los ;-; | 17:11 |
rinigus | device? | 17:12 |
Mister_Magister | oneplus 6 | 17:12 |
Mister_Magister | and flashing newer version is peculiar to say the least | 17:12 |
rinigus | that's same chip as sony tama (xz2 xz2c xz3). on sony, volte doesn't seem to work on android lm22.2. although, that is very limited testing with one provider. | 17:13 |
rinigus | does newer los support volte? | 17:13 |
rinigus | for op6 | 17:13 |
Mister_Magister | I have no idea mate | 17:14 |
rinigus | maybe users on xda know | 17:14 |
Mister_Magister | it seems that lineage 16 that i'm using does indeed have volte working | 17:16 |
Mister_Magister | but i have one user flashing it as we speak so i told them to hold on and test :P | 17:16 |
Mister_Magister | https://xdaforums.com/t/volte-on-lineageos-21-x.4698132/post-89856815 well that's interesting | 17:18 |
rinigus | here you go - make it work on android and then switch to sfos :) | 17:19 |
Mister_Magister | eh looks like its gonna be pain | 17:25 |
rinigus | re pain: yes, its guaranteed! | 17:27 |
Mister_Magister | here's better instruction https://forums.whirlpool.net.au/archive/9m01z7np seems you need to flash efs | 17:28 |
Mister_Magister | so as a step after flashing stock and before flashing lineage/sfos it should be doable | 17:29 |
Mister_Magister | though these old phones get oftentimes blocked by carriers so even that might not hlep | 17:31 |
Mister_Magister | help* | 17:32 |
*** Ischwitch is now known as Ingvix | 19:46 | |
Mister_Magister | rinigus: i flashed per instruction and volte indeed started working in stock android. now just to pray that it keeps working when i flash sfos | 20:14 |
Mister_Magister | Lmao first time i've seen sfos to display 2.5G | 20:44 |
Mister_Magister | AND WE GOT VOLTE LADIES AND GENTLEMEN | 20:44 |
Mister_Magister | I think its dropping to 3G sadly | 20:46 |
Mister_Magister | nah its broken i get no mobile data | 20:52 |
Mister_Magister | lemme test on lineage | 20:54 |
Mister_Magister | works on lineage | 21:00 |
Mister_Magister | I need to do some loggin' | 21:02 |
Mister_Magister | but it is registering in sfos so i feel like we're 90% there | 21:05 |
Mister_Magister | well ofono logs say nothing about as to why it dropped 4G | 21:16 |
mal | do you have many modem firmware or what those were on the device, some devices need t switch the firmware at runtime based on operator, some of the official sony devices do that | 22:30 |
Mister_Magister | mal: I have no clue what you just wrote | 22:32 |
Mister_Magister | I had to flash mdn file onto efs partition, thats about it, there's nothing special to do in androids | 22:32 |
Mister_Magister | mbn* | 22:32 |
Mister_Magister | "MBN files are ELF files loadable by Qualcomm modems used not only to load executables but also to load configuration." | 22:33 |
Mister_Magister | in lineage volte was just enabled by default no issues | 22:34 |
Mister_Magister | yes it is operator specific | 22:35 |
Mister_Magister | but because i flashed just one there's no switching that needs to be done I don't think, especially since it does register | 22:36 |
Mister_Magister | previously it wouldn't register | 22:37 |
Mister_Magister | mal: I can send you full ofono log if you wish | 22:40 |
mal | Mister_Magister: do you have anything like /vendor/oem/modem-config? | 22:40 |
mal | just showing what kind of things are on sonys https://github.com/sonyxperiadev/device-sony-common/tree/master/rootdir/vendor/oem/modem-config | 22:41 |
Mister_Magister | nope I don't have /vendor/oem | 22:41 |
Mister_Magister | yee those are mbn files | 22:41 |
mal | each of those config files contain what mbn is to be used https://github.com/sonyxperiadev/device-sony-common/blob/master/rootdir/vendor/oem/modem-config/S11.3/modem.conf | 22:42 |
Mister_Magister | but no, there's no switching, i just flash one mbn file thats carrier specific and thats whats used | 22:42 |
mal | hmm, ok | 22:42 |
Mister_Magister | and it works cause pre-flash it wouldn't register | 22:42 |
mal | you have to do tahat flashing manually or what? | 22:42 |
Mister_Magister | yes | 22:43 |
mal | quite odd | 22:43 |
Mister_Magister | here's the info https://forums.whirlpool.net.au/archive/9m01z7np | 22:43 |
Mister_Magister | I'm not questioning it i'm just happy it works… well it doesn't on sfos but works on android | 22:44 |
Mister_Magister | if it works it works yaknow | 22:44 |
Mister_Magister | I'll verify what partitions are mounted in the android vs sfos | 22:47 |
Mister_Magister | cause modem_a is not mounted | 22:47 |
Mister_Magister | ah pardon me it is mounted | 22:49 |
Mister_Magister | so ye any other idea how to debug it? | 22:49 |
Mister_Magister | hmm now i'm trying on op6 instead of op6t and im not getting volte symbol :/ | 23:01 |
mal | hmm, it's annoying that there is not good error reporting why volte is not registering | 23:03 |
Mister_Magister | it is registering though | 23:03 |
Mister_Magister | op6 doesn't have volte icon but it says 4G+ which might just as well mean volte | 23:03 |
Mister_Magister | I got past the registering problem now it just drops to 2G when i dial xd | 23:04 |
Mister_Magister | it says nice in logs registered LTE | 23:06 |
mal | hmm | 23:07 |
Mister_Magister | in settings it is also registered, and i can toggle it | 23:09 |
Mister_Magister | i can give you entire ofono log | 23:10 |
Mister_Magister | QtiRadioRegInfo doesn't say much xd | 23:13 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!