phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.36k stars 658 forks source link

AOSP 10 GSI SMS issue all variant releases #976

Open DarkestSpawn opened 4 years ago

DarkestSpawn commented 4 years ago

Unable to receive SMS all release variants. Initial setup caught up to sent messages while installing GSI and setting up Android but shortly after stops receiving. Toggling Airplane mode pulls incoming un-received texts for a few seconds then locks back up. Attempted United States and Automatic for Radio Band, and all options under Preferred Network Type. Issue persists even with RCS messaging setup on Google Messages. Razer Phone 2/ATT network/ATT phone APN default settings. Not sure how to narrow down correct info from LOGCAT

phhusson commented 4 years ago

Please provide logcat -b all (your logcat doesn't contain radio log) and please have an SMS sent during logcat, and please write down the time at which the SMS has been sent.

DarkestSpawn commented 4 years ago

Logcat.txt 21:51:55 Only copied the logcat info for 1 minute.

DarkestSpawn commented 4 years ago

Logcat2.txt 22:09:30 Rapid fire sending messages to localize error in logcat.

phhusson commented 4 years ago

Does SMS arrive if you force to 2g/3G?

DarkestSpawn commented 4 years ago

I have been unable to force 2g/3g. When I attempted rolling thru all Preferred Network types, It either disables the Radio, or only enables 4g.

phhusson commented 4 years ago

Try switching by calling in dialer ##4636##

Le lun. 24 févr. 2020 à 01:13, DarkestSpawn notifications@github.com a écrit :

I have been unable to force 2g/3g. When I attempted rolling thru all Preferred Network types, It either disables the Radio, or only enables 4g.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/976?email_source=notifications&email_token=AAAA4OQQMJ7QSCOROBDSTTTREMGI3A5CNFSM4JWIL5N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMWLUVY#issuecomment-590133847, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OQ2WNPFZ3JWZTB6J4TREMGI3ANCNFSM4JWIL5NQ .

DarkestSpawn commented 4 years ago

That's where I switched between preferred radio types (hidden testing --> phone info). Tried evdo, cdma, wcdma, umts, gsm, etc. I went thru all and was unable to force 2g or 3g.

phhusson commented 4 years ago

That's really not reassuring...

Well you can try enabling IMS

You'll need my latest release v212.
Download https://treble.phh.me/ims-q.apk
Install it just like you would install any apk, by either clicking on it from file manager, or with adb install
Download https://treble.phh.me/android.hardwa...ephony.ims.xml
Push it to /system/etc/permissions: adb root & adb remount & adb push android.hardware.telephony.ims.xml /system/etc/permissions/android.hardware.telephony.ims.xml
Reboot, unlock your device, wait one minute. Reboot again, unlock your device, wait one minute.
Reboot. Wait one minute, go in *#*#4636#*#* and see if IMS works.
DarkestSpawn commented 4 years ago

I did the above as stated. I swapped thru the preferred networks and still have issues. IMS status shows Registered. VoLTE: Available. VoWIFI: Unavailable.Video Calling: Unavailable. UT Interface: Available. Everytime I restart or disable then re-enable the radio the first sms works. After that it either fails to send or sends but never receives again.

DarkestSpawn commented 4 years ago

Well I guess I said that too soon. I rebooted for the 15th time, flipped to LTE only and my Texts flooded in from me. I enabled Chat Features as well. No idea why rebooting so many times worked. I attempted enabling the chat features somewhere around the 7th reboot. Thanks

DarkestSpawn commented 4 years ago

So I have been able recreate how to get texting to work. Reboots cause it to revert to not receive. BUT if I pull the sim card, reboot with it out, put it back in after it reboots, reboot once and sms sends and receives no issue.

phhusson commented 4 years ago

behaviour is same for VoLTE?

Le mar. 25 févr. 2020 à 07:46, DarkestSpawn notifications@github.com a écrit :

So I have been able recreate how to get texting to work. Reboots cause it to revert to not receive. BUT if I pull the sim card, reboot with it out, put it back in after it reboots, reboot once and sms sends and receives no issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/976?email_source=notifications&email_token=AAAA4OQZ7FG7UMU4HDZ62HTRES5DTA5CNFSM4JWIL5N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM2YQQY#issuecomment-590710851, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OWYYSKCEO5TYZ4P3Z3RES5DTANCNFSM4JWIL5NQ .

DarkestSpawn commented 4 years ago

Correct. Can't make any calls until following the steps to get sms working.

phhusson commented 4 years ago

If you reboot, wait a minute, go in treble settings (no need to do anything in it), then check IMS, is IMS okay? (So without plugging SIM out and in)

Le mar. 25 févr. 2020 à 08:59, DarkestSpawn notifications@github.com a écrit :

Correct. Can't make any calls until following the steps to get sms working.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/976?email_source=notifications&email_token=AAAA4ORF2YKNTRMZZ6B7VH3RETFUZA5CNFSM4JWIL5N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM26DMY#issuecomment-590733747, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OS27G3X7CBSM22DXKLRETFUZANCNFSM4JWIL5NQ .

DarkestSpawn commented 4 years ago

It shows IMS registered but I'm unable to receive messages or call out.

phhusson commented 4 years ago

Ok. Please give logcat when you remove/insert simcard

Le mar. 25 févr. 2020 à 09:17, DarkestSpawn notifications@github.com a écrit :

It shows IMS registered but I'm unable to receive messages or call out.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/976?email_source=notifications&email_token=AAAA4OSGWEECKOLBQPAKVO3RETHY5A5CNFSM4JWIL5N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM27Y2Q#issuecomment-590740586, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OX2WYZ2SHYE72WF72DRETHY5ANCNFSM4JWIL5NQ .

DarkestSpawn commented 4 years ago

Regular logcat, or logcat -b all?

phhusson commented 4 years ago

Right -b all will probably be better

Le mar. 25 févr. 2020 à 09:36, DarkestSpawn notifications@github.com a écrit :

Regular logcat, or logcat -b all?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/976?email_source=notifications&email_token=AAAA4OTTRQYL3XDINAVRQMTRETKCNA5CNFSM4JWIL5N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM3BSTI#issuecomment-590747981, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OTYFYJ6I5K4IRSTTOTRETKCNANCNFSM4JWIL5NQ .

DarkestSpawn commented 4 years ago

logcat b-all.txt logcat.txt I did both just in case

DarkestSpawn commented 4 years ago

Were they any help? Any pushes on 213 I should test? I see 213 added remote ADB from you.

phhusson commented 4 years ago

Could you check smsc in *#*#4636#*#*

DarkestSpawn commented 4 years ago

Wasn't able to get to this till today. Still having the same issues on 213. SMSC is blank. When I hit refresh it populates an 11 digit code in parentheses with a + at the beginning and after the parentheses I have a comma with 3 digits.

DarkestSpawn commented 4 years ago

Anything in 214 to test for the SMS issue?

DarkestSpawn commented 4 years ago

I have been running 214 for about a day now with the issue fix for SMS from issue #1209. I am able to receive and send both SMS/MMS.

aykut19071993 commented 4 years ago

I have been running 214 for about a day now with the issue fix for SMS from issue #1209. I am able to receive and send both SMS/MMS.

did you solve the problem?

khrj commented 4 years ago

Try https://github.com/KhushrajRathod/VoLTE-Fix

khrj commented 4 years ago

@DarkestSpawn @aykut19071993

AL2009man commented 4 years ago

Try https://github.com/KhushrajRathod/VoLTE-Fix

Tried that, didn't work. but turning on 3G, I am able to receive SMS Messages. I guessing LTE is the issue here.

oh, and I'm running on AOSP 10 v220 Gapps with Moto G7 Play XT1952-6 using Spaceminer's TWRP as my Recovery Mode.

phhusson commented 4 years ago

(well open an issue for that...?)

Le lun. 29 juin 2020 à 22:00, AL2009man notifications@github.com a écrit :

Try https://github.com/KhushrajRathod/VoLTE-Fix

Tried that, didn't work. but turning on 3G, I am able to receive SMS Messages. I guessing LTE is the issue here.

oh, and I'm running on AOSP 10 v220 Gapps with Moto G7 Play XT1952-6 using Spaceminer's TWRP as my Recovery Mode.

(by the way, Fingerprint Sensor and Screen Lock doesn't work with Moto G7 Play.)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/976#issuecomment-651328167, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OVW4HZXWKX4VZ4JQ63RZDXEFANCNFSM4JWIL5NQ .

ferdinandwinters commented 4 years ago

I also stop receiving SMS after a period of time. I can do the setup process but eventually, SMS stops working. I applied the "ims-q.apk" fix but that doesn't work entirely. Eventually, I lose mobile connection entirely with no SIM detected and must reboot my device. I also have no VOLTE but that's not really an issue.

The device is a Nokia 7 Plus with stock vendor. Unsure if you want me to open another issue about it for my specific device.

stephenobe commented 4 years ago

I am having the exact same issue with a Razer Phone 2 on T-Mobile. I figured I would drop here first in case you didn't want a duplicate bug report, but I can make one if you would like. I have tried most of the steps above and wouldn't mind helping by running a logcat. I was using v. 221.

lss4 commented 3 years ago

A little bump here as I'm having an interesting issue. I'm using Havoc 3.8 on my Razer Phone 2, with IMS installed systemlessly using a Magisk Module.

While VoLTE works, SMS do not work properly sometimes, that a message (such as SMS verification code) would take about 10 minutes to arrive, and if I'm to receive multiple messages, subsequent ones would arrive one by one every exactly 10 minutes since the first one.

I just noticed this yesterday. However, I don't remember the SMS always being this problematic, as sometimes I'm able to receive the message without any delay (or maybe it's because I didn't really notice that the message came later than usual, as these messages weren't required to be on time). I don't use/receive SMS very often, so this issue is not always noticeable to me.

I put my SIM card to a simpler device (which I don't think it's LTE) and I was able to get the necessary SMS received without issue and complete what I wanted to do. Not sure if my carrier is acting up, or it's just the usual issues with IMS on GSI...

ferdinandwinters commented 3 years ago

Try setting your mobile data to 3G instead of 4G and see if the SMS problem is resolved.

On Wed, Dec 9, 2020 at 4:07 PM L.S.S. notifications@github.com wrote:

A little bump here as I'm having an interesting issue. I'm using Havoc 3.8 on my Razer Phone 2, with IMS installed systemlessly using a Magisk Module.

While VoLTE works, SMS do not work properly sometimes, that a message (such as SMS verification code) would take about 10 minutes to arrive, and if I'm to receive multiple messages, subsequent ones would arrive one by one every exactly 10 minutes since the first one.

I just noticed this yesterday. However, I don't remember the SMS always being this problematic, as sometimes I'm able to receive the message without any delay (or maybe it's because I didn't really notice that the message came later than usual, as these messages weren't required to be on time). I don't use/receive SMS very often, so this issue is not always noticeable to me.

I put my SIM card to a simpler device (which I don't think it's LTE) and I was able to get the necessary SMS received without issue and complete what I wanted to do. Not sure if my carrier is acting up, or it's just the usual issues with IMS on GSI...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/976#issuecomment-741553476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGDSG2XBBDKPIACIJD5FMQ3ST4H25ANCNFSM4JWIL5NQ .

lss4 commented 3 years ago

Try setting your mobile data to 3G instead of 4G and see if the SMS problem is resolved.

I tried. It did not work. I tried every possible options but none worked.

The only "option" that worked was to use a different device to receive the SMS verification codes and get the work done, then put it back.

So not sure if this is broken on the GSI side, or it's my phone's vendor. It's difficult to test as I don't receive SMS often, and that my plans don't include free SMS messages for me to conduct tests without incurring cost.

JonnyTech commented 3 years ago

Try without Magisk.

danpawlik commented 1 year ago

I got same issue - can not send or receive any SMS messages. Installing new IMS package works: Treble Settings -> IMS features -> install IMS for Qualcomm -> install package.

orionbg commented 10 months ago

Hey everyone, Sorry for reviving something old but I've been trying all available A13 and A14 GSI roms on my Xiaomi Mix Fold 2 and SMS receiving does not work! I can send without problems but not receiving any. Tried all guides I could find, all IMS.apk variants I could get my hands on... Any help would be great!