Have taken all the necessary permissions for reading SMS in android but app is still not able to detect "service messages" on Redmi Note 3. Is there a special permission in Xiaomi devices to read service messages?
2 Answers
If your phone with API 23 or higher (I think the same should work in lower versions also) goto Settings -> Permissions -> Other Permissions. (be sure that you asked required permissions programmatically if you're targeting API 23 or higher version of Android)
There you can find 2 tabs App and Permissions. Select Permissions tab under that select SMS and MMS option. Now choose your app and Accept/Allow to read Service SMS.
If you're using lower version than 23 use Security app (which is built in app Redmi phones) and there you can find Permissions app for the installed apps.

- 4,995
- 7
- 41
- 51
-
I want to achieve this programmatically – Akshay Sethi Feb 08 '17 at 19:16
-
I'm also using Redmi Note 3 with API 23. I also faced the same problem but I think there is no fix (programmatically). Because it's a feature in Redmi phones in other brands it works. – Shashanth Feb 08 '17 at 19:20
-
1Redmi 3s prime also has the same issue. Above answer solved the problem +1 – yashhy Apr 18 '17 at 16:57
-
Is there any way with which we can detect whether user has a permission or not, so that we can atleast show an alert message regarding the same. – Mohit Pandey May 08 '17 at 13:17
-
@MohitPandey try [this](http://stackoverflow.com/a/38309200/5180017) and [this](http://stackoverflow.com/a/41061459/5180017) StackOverflow threads. This should work. Best of luck. – Shashanth May 08 '17 at 15:57
-
is there any generalized solution for this problem, other than MohitPandey's solution ?. – shobhan May 15 '17 at 09:32
-
@Shashanth As you told **I think there is no fix (programmatically).** then how Freecharge and Paytm can read even if Service SMS denied. – Giru Bhai Jan 18 '18 at 11:54
-
@GiruBhai Did you try with the solutions given to Mohit Pandey above? I am also facing some problems due to this feature. Not only Freecharge and Paytm other apps also works without any problem. – Shashanth Jan 18 '18 at 12:07
-
@Shashanth **Did you try with the solutions given to Mohit Pandey above?** can you comment link of that answer. – Giru Bhai Jan 18 '18 at 12:24
-
1@Shashanth those link are, to navigate user to service sms screen that's ok but those application read sms even if service sms feature off. – Giru Bhai Jan 18 '18 at 12:27
-
@Shashanth Have verified that recent message(s) read via BroadcastReceiver even if Service SMS check is off.So it is only problem with reading sms via CONTENT_URI to get all sms type. – Giru Bhai Jan 18 '18 at 17:04
I am also facing same problem in my Mi Note 3. No apps reading my messages, every time i need to enter OTP.
I think it is good feature from RedMi.
Now I solved this problem with following steps.
Goto Setting->Permissions -> Permissions -> their you select app and accept Read SMS messages

- 24
- 4