Monday, 2025-09-01

rinigusI 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 that10:59
T42<Mister_Magister> Can anyone point me in direction of how can I debug volte?11:09
malrinigus: what are you trying to do with the info12:17
rinigusmal: 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 nagara15:08
malit needs to be done only after sim is unlocked?15:15
rinigusnot 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 hours15:17
rinigusI mean I was hooking to it that early that it failed on binding.15:17
malI 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.smali15:18
mallook for trySendPhoneReadyForSlot15:18
riniguswill check the code and available examples on the services with libgbinder, maybe I am missing something.15:19
rinigusas for PowerUpOptimization, yes logick seems to be not trivial. there are several checks before it sends that signal15:19
rinigusdidn't look into them and though to replace with just unlock SIM check15:19
maland handles ril crashes and I think sends it on radio power state changes15:20
malbut didn't check all the conditions very thoroughly15:20
rinigusMister_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
rinigusthen you would have a base to build upon on sfos17:10
Mister_MagisterI think no los devs support this device at this old version of los ;-;17:11
rinigusdevice?17:12
Mister_Magisteroneplus 617:12
Mister_Magisterand flashing newer version is peculiar to say the least17:12
rinigusthat'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
rinigusdoes newer los support volte?17:13
rinigusfor op617:13
Mister_MagisterI have no idea mate17:14
rinigusmaybe users on xda know17:14
Mister_Magisterit seems that lineage 16 that i'm using does indeed have volte working17:16
Mister_Magisterbut i have one user flashing it as we speak so i told them to hold on and test :P17:16
Mister_Magisterhttps://xdaforums.com/t/volte-on-lineageos-21-x.4698132/post-89856815 well that's interesting17:18
rinigushere you go - make it work on android and then switch to sfos :)17:19
Mister_Magistereh looks like its gonna be pain17:25
rinigusre pain: yes, its guaranteed!17:27
Mister_Magisterhere's better instruction https://forums.whirlpool.net.au/archive/9m01z7np seems you need to flash efs17:28
Mister_Magisterso as a step after flashing stock and before flashing lineage/sfos it should be doable17:29
Mister_Magisterthough these old phones get oftentimes blocked by carriers so even that might not hlep17:31
Mister_Magisterhelp*17:32
*** Ischwitch is now known as Ingvix19:46
Mister_Magisterrinigus: i flashed per instruction and volte indeed started working in stock android. now just to pray that it keeps working when i flash sfos20:14
Mister_MagisterLmao first time i've seen sfos to display 2.5G20:44
Mister_MagisterAND WE GOT VOLTE LADIES AND GENTLEMEN20:44
Mister_MagisterI think its dropping to 3G sadly20:46
Mister_Magisternah its broken i get no mobile data20:52
Mister_Magisterlemme test on lineage20:54
Mister_Magisterworks on lineage21:00
Mister_MagisterI need to do some loggin'21:02
Mister_Magisterbut it is registering in sfos so i feel like we're 90% there21:05
Mister_Magisterwell ofono logs say nothing about as to why it dropped 4G21:16
maldo 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 that22:30
Mister_Magistermal: I have no clue what you just wrote22:32
Mister_MagisterI had to flash mdn file onto efs partition, thats about it, there's nothing special to do in androids22:32
Mister_Magistermbn*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_Magisterin lineage volte was just enabled by default no issues22:34
Mister_Magisteryes it is operator specific22:35
Mister_Magisterbut because i flashed just one there's no switching that needs to be done I don't think, especially since it does register22:36
Mister_Magisterpreviously it wouldn't register22:37
Mister_Magistermal: I can send you full ofono log if you wish22:40
malMister_Magister: do you have anything like /vendor/oem/modem-config?22:40
maljust showing what kind of things are on sonys https://github.com/sonyxperiadev/device-sony-common/tree/master/rootdir/vendor/oem/modem-config22:41
Mister_Magisternope I don't have /vendor/oem22:41
Mister_Magisteryee those are mbn files22:41
maleach 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.conf22:42
Mister_Magisterbut no, there's no switching, i just flash one mbn file thats carrier specific and thats whats used22:42
malhmm, ok22:42
Mister_Magisterand it works cause pre-flash it wouldn't register22:42
malyou have to do tahat flashing manually or what?22:42
Mister_Magisteryes22:43
malquite odd22:43
Mister_Magisterhere's the info https://forums.whirlpool.net.au/archive/9m01z7np22:43
Mister_MagisterI'm not questioning it i'm just happy it works… well it doesn't on sfos but works on android22:44
Mister_Magisterif it works it works yaknow22:44
Mister_MagisterI'll verify what partitions are mounted in the android vs sfos22:47
Mister_Magistercause modem_a is not mounted22:47
Mister_Magisterah pardon me it is mounted22:49
Mister_Magisterso ye any other idea how to debug it?22:49
Mister_Magisterhmm now i'm trying on op6 instead of op6t and im not getting volte symbol :/23:01
malhmm, it's annoying that there is not good error reporting why volte is not registering23:03
Mister_Magisterit is registering though23:03
Mister_Magisterop6 doesn't have volte icon but it says 4G+ which might just as well mean volte23:03
Mister_MagisterI got past the registering problem now it just drops to 2G when i dial xd23:04
Mister_Magisterit says nice in logs registered LTE23:06
malhmm23:07
Mister_Magisterin settings it is also registered, and i can toggle it23:09
Mister_Magisteri can give you entire ofono log23:10
Mister_MagisterQtiRadioRegInfo doesn't say much xd23:13

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