Skip to main content
26 votes
Accepted

Apps are not allowed by Google to read SMS messages, but why can they read OTP SMS directly?

Google blocks apps from (mis)using Call Log and/or SMS permissions if they are not the core functionalities of the apps, with some exceptions and alternatives. SMS (termux-sms-list and termux-sms-send)...
Andrew T.'s user avatar
  • 16.2k
25 votes

What does "Drawing over other apps" mean?

The technical name of this permission is SYSTEM_ALERT_WINDOW: Allows an application to open windows using the type TYPE_SYSTEM_ALERT, shown on top of all other applications. This permission ...
Izzy's user avatar
  • 91.2k
21 votes
Accepted

How does an app reads an OTP SMS without SMS permission?

Verification by OTP uses a different API which doesn't need read SMS permission. You can read more here Perform SMS Verification on a Server Hence, the app isn't reading your SMS but using a separate ...
beeshyams's user avatar
  • 41.1k
15 votes
Accepted

How to bind mount a folder inside /sdcard with correct permissions?

I have been using two different approaches (in fact many with small differences) on my older Android versions to mount whole /sdcard/WhatsApp directory from external SD card. I have tested, it works ...
Irfan Latif's user avatar
  • 20.7k
14 votes
Accepted

Difference between Android ID and device ID

While your question targets a development issue (which is off-topic here), the answer is relevant for users as well, so I'm going to answer it: DeviceID: This is the serial of the device, which ...
Izzy's user avatar
  • 91.2k
14 votes

Google Pinyin Input (IME) keeps asking for Google account permission

I had this problem. I'd half installed Pinyin so continual prompting for a login account. Go to Google play store and search for Google Pinyin Input. When that appeared there was an option to ...
Chris bee's user avatar
  • 141
12 votes

What does "Drawing over other apps" mean?

GiantTree is right. If the "floating hearts or animated movements" are supposed to appear on top of other apps, then this permission is needed. If that's not what it does or if that's not what you ...
Matthew Read's user avatar
  • 50.6k
12 votes
Accepted

How Android's permissions mapping with UIDs/GIDs works?

Android's permission management can be divided majorly in two parts: Linux kernel and Android framework. DISCRETIONARY ACCESS CONTROL: Discretionary Access Control (DAC) based on users, groups and ...
Irfan Latif's user avatar
  • 20.7k
11 votes
Accepted

List of ADB settable permissions

You can grant or revoke only runtime permissions (introduced in Android 6 with protection level: dangerous) - either from CLI (adb shell) or GUI (Settings). From package manager help: ~$ pm ... ...
Irfan Latif's user avatar
  • 20.7k
10 votes
Accepted

How to mount NFS on Android with correct permissions?

I would like to map uid=neo(1000)->root(0) and guid=neo(1000)->sdcard_r(1028) where neo:neo is the user on the server and root:sdcard_r is the user on the phone. Files ownership root:sdcard_r (0:1028)...
Irfan Latif's user avatar
  • 20.7k
10 votes

What special privileges "/system/xbin/su" does have w.r.t. root access?

Since Android is based on Linux kernel, getting root access by executing /system/xbin/su - like one can do on a Linux system - used to work in good old days but not now. The story is a bit twisted. ...
Irfan Latif's user avatar
  • 20.7k
10 votes

If an app requires no permission, can I be completely sure that it is safe to install?

In an ideal world, an Android app that has no permissions would mean that the app can not seriously harm your device. Unluckily we are not living in an ideal world, especially on Android where the ...
Robert's user avatar
  • 20.5k
9 votes
Accepted

What is Google Partner Setup?

Google Partner Setup is an app that helps you run applications in conjunction with Google products. For example, with this application's help, you can use the calendar from your device with a ToDo app ...
Prahlad Yeri's user avatar
9 votes
Accepted

What does the usage data access permission allow

Not a developer here Apps granted this permission have access to data pertaining to usage of other apps, like in my case Better Battery Statistics, Macrodroid (automation app) and such apps that ...
beeshyams's user avatar
  • 41.1k
9 votes
Accepted

Can I get a virus from a browser that doesn't have storage permission?

If an app has storage permissions or not is totally irrelevant if it can be exploited or not (unless you download a malicious file your self). Attacks on web browsers usually use an exploit chain, a ...
Robert's user avatar
  • 20.5k
9 votes
Accepted

How does Tinder get SMS verification code?

Since a few years, Google provides a special system that allows apps to use SMS verification without getting access to other SMS. The approach deliver verification SMS to a certain app is that the SMS ...
Robert's user avatar
  • 20.5k
8 votes
Accepted

Can I grant permanent access to external storage to an app in Nougat?

Manually granting permission For rooted devices, there is a way to inject a specific permission inside the /data/system/packages.xml file, which details any and all installed apps, alongside their ...
Grimoire's user avatar
  • 2,959
8 votes

So if Draw Over Other Apps is a bad thing, why are so many people wanting to enable the process?

There's a few issues going on here. Permissions and storage use The "Draw over other apps" permission and "Allow background data" permissions have nothing to do with storage. If you're only changing ...
Dan Hulme's user avatar
  • 35k
8 votes
Accepted

Why reading permission to /proc/1/maps is denied and why doesn't the denial appear in logcat?

REASON 1: Apart from traditional Discretionary Access Control (DAC), - that makes use of *NIX owner/group/mode of processes/files to allow/deny access - Android implements several other access ...
Irfan Latif's user avatar
  • 20.7k
8 votes
Accepted

Pixel Launcher crashing due to missing STATUS_BAR and MANAGE_ACTIVITY_STACKS permissions

I rebooted into TWRP and edited /data/system/packages.xml. Under <package name="com.google.android.apps.nexuslauncher" and <perms>, I added the following lines: <item name="android....
Joseph Sible-Reinstate Monica's user avatar
7 votes
Accepted

What permissions are granted to an app with device administration privileges?

Yes, a device administrator only has permissions to do what it says. If you change the permissions of the app that the administrator is associated with, the administrators permissions will not change ...
Joe's user avatar
  • 313
7 votes

How to change the modified date of a file without root?

SHORT ANSWER: You can simply touch the file or provide any time and date in past or future: ~$ touch /sdcard/test_file ~# debugfs -R 'stat media/0/test_file' /dev/block/bootdevice/by-name/userdata | ...
Irfan Latif's user avatar
  • 20.7k
7 votes
Accepted

Is it safe to give accessibility permission to an app?

It always depends on how trusted the app is. There are malware apps that abuse accessibility service, that Google took action to remove them from the Play Store. Do not enable it unless you know what ...
Andrew T.'s user avatar
  • 16.2k
6 votes

Do permissions apply across users?

Google has documented both the multi-user feature itself, and the associated API which shows what an application could do with it. Behind the scenes, the multi-user feature relies on SELinux multi-...
WhiteWinterWolf's user avatar
6 votes

Termux write to SD card

Use termux-setup-storage to setup your storage. See https://wiki.termux.com/wiki/Termux-setup-storage for instructions and more information. Write data will be enabled in the Termux private folder ...
S D Rausty's user avatar
6 votes
Accepted

Can an app update from Play Store reinstate its permissions I've disabled earlier?

Cases that doesn't affect your current permissions: Updating app from play store.(also maybe the same for apk install too) When you disable/enable any app. When you clear only app cache. When you ...
Rahul Gopi's user avatar
  • 2,253
6 votes
Accepted

What is the "u#_everybody" UID?

As stated here: Cross-user interactions are blocked using the everybody GID. Android reserves UIDs / GIDs ranging from 10000 to 19999 for apps. AID_EVERYBODY is one of the special groups, which is ...
Irfan Latif's user avatar
  • 20.7k
6 votes
Accepted

How to grant an app a permission that isn't in its manifest for audio recording?

Not possible without root but even with root SoX recording might not work. Android Manifest Permissions Android permission system has different Protection Levels (1, 2); Normal permissions are ...
Irfan Latif's user avatar
  • 20.7k
5 votes
Accepted

Can an app with root permission access another app data?

Yes - if you grant it root privileges, it can Theoretically access any other apps data ( granting / denying is by "Superuser or Su" which is used to manage applications which are allowed to gain root ...
beeshyams's user avatar
  • 41.1k
5 votes

Grant notification access via ADB

For Android 9 or above use this: adb shell cmd notification allow_listener com.mypackage.app/com.mypackage.app.mylistener For any other Android version below 9 use this: adb shell settings put ...
Vishnu M J's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible