A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [permissions]

The access that apps advertise that they need to function. Example: Full internet access, send SMS messages, etc. Please use this tag for app-permissions only. For file permissions, use 'file-permissions' instead.

Filter by
Sorted by
Tagged with
3
votes
1answer
515 views

Commands run on terminal but throw errors in shell script

I created a .sh script which sets app permissions on Android devices. If I push the script on /sdcard and run it through adb shell with command sh ./test.sh, the following error occurs on each ...
0
votes
1answer
794 views

Why lsusb gets “permission denied” error in Termux?

When I run this command in Termux the output gets permission denied. I don't have root access, perhaps Android system allows me to get the specific access in root.
-1
votes
0answers
23 views

Running sh-script with shell context from u0 space/app

I have a basic SH script that starts raw abdroid-arm64 binary. I've already tested it and it works just fine, no root permissions required whatsoever. Now I need to run it via app for usability's sake ...
0
votes
0answers
24 views

Why `diag_mdlog` not able to write on `/sdcard` if it is fired from an Android App that has write permissions?

I am getting a weird behavior with diag_mdlog executable. I am executing it from my Android app as su -c /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg The issue is: if the android ...
1
vote
0answers
32 views

removing privileged permissions from pre-installed apps

Many pre-installed apps get privileged permissions, which are defined in /etc/permissions/privapp-permissions-*.xml files. Given a rooted device, it would be possible to edit those files in order to ...
3
votes
1answer
177 views

List of ADB settable permissions

I am searching for a list of permissions that can be set with adb. I could just iterate through all permissions and ignore the failed ones but i'd rather filter out the ones that i know can't be set ...
0
votes
0answers
26 views

Is permission elevation still a security issue for end users when updating Android?

Is this still an issue for end users?: Researchers have determined that the Android update process has a vulnerability that allows permission elevation without user knowledge. Android allows ...
0
votes
1answer
37 views

How to disable the OTG (USB) on Android 9?

I want to disable the OTG (USB) on Android 9. I coud control it on Android 6 by disabling a permission on the file android.hardware.usb.host.xml located in /system/etc/permission but it is not working ...
4
votes
1answer
18k views

What does the usage data access permission allow

I only just now became aware of the "Apps with usage access" preference view. However I'm irritated. The permission was deemed important enough as to warrant a separate setting view to provide ...
3
votes
1answer
1k views

Unknown Permissions on VirusTotal analysis

I have noticed unusual and unwanted behavior from a few of my system apps, most notably Google Play Services, Google Account Manager, and Google Services Framework. These apps cause force closes on ...
2
votes
3answers
25k views

Permission to make and manage phone calls

I just bought a second hand phone (my first device running android). I'm surprised by the fact that three times I've been asked for permission to make and manage phone calls. This is a very scary ...
0
votes
0answers
19 views

permissions.default.microphone on Firefox for Android

I want Firefox for Android to allow microphone access by default, so I don't have to click a notification window all the time. In the desktop version you can go to about:config in the url bar and set ...
1
vote
2answers
192 views

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

Non rooted Moto G6 Play running Android 9. I'm using Termux and would like to use Sox's rec command to record audio from the terminal. Unfortunately, since Termux doesn't request the mic permission, ...
2
votes
1answer
126 views

How to bind-mount “data” and “obb” folders from external SD card in “/sdcard/Android”?

Can someone help me mount my Android/data and Android/obb in my internal storage from my portable storage? I'm on a Pie ROM. I found this: How to bind mount a folder inside /sdcard with correct ...
4
votes
1answer
848 views

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

I am using a Sony Xperia M4 Aqua. As is well known, the internal memory is rather small. Especially the Media directory of WhatsApp uses a lot of precious space, therefore I am trying to move it to ...
0
votes
2answers
8k views

How to fix “Notification access is not available”?

I have a TECNO Spark 2 running on Android 8.1. Every time I try to install apps that require notification access, it says that the feature is not available. How to fix it?
2
votes
1answer
5k views

Is there a way to grant myself MANAGE_USERS permission while inside the adb shell?

The thing is that I'm fed up of some stock adware apps on my Micromax phone and want to disable them for good. So, as per this answer, I used adb shell to disable the app, but I'm getting the ...
-1
votes
1answer
33 views

Are these app permissions normal?

Can it be used to steal personal data or intercept/view online activity?
1
vote
2answers
1k views

How to save files to external SD card on a non-rooted Android?

I'm using the Terminal Emulator app on a non-rooted Android 5.0.2 phone. When moving files from a folder of the external SD card to another with: mv /storage/extSdCard/DCIM/Camera/* /storage/...
3
votes
1answer
4k views

Pixel Launcher crashing due to missing STATUS_BAR and MANAGE_ACTIVITY_STACKS permissions

I'm running LineageOS 16 on a OnePlus 3T. Whenever I try to open the Pixel Launcher, it crashes. In adb logcat, I saw the following lines that looked relevant: 05-25 16:13:31.293 16356 16356 W ...
0
votes
1answer
1k views

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

How do I change the modified date of a file, specifically PNGs, on Android without root? Total Commander failed to do it with a permission error Access Denied.
2
votes
2answers
2k views

How to mount NFS on Android with correct permissions?

I am trying to mount an NFS share on my Android phone. I have already compiled and installed all the needed kernel modules. The NFS share mounts flawlessly but I can only mount as the system user. ...
16
votes
1answer
4k views

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

Termux:API app has a command termux-sms-list to list SMS messages on the Termux terminal. However, the wiki says that it is not supported anymore because of Google. Usage of this API is no longer ...
3
votes
1answer
149 views

What happens if I ignore the warning: “If you deny this permission, basic features of your device may no longer function as intended”?

If I go into the permissions settings for the Google app and change the Location permission from "Allow all the time" to "Allow only while using the app" or "Deny," I am presented with a warning: "If ...
0
votes
0answers
149 views

When notification access is not available on certain phone, is it possible to run 3rd-party/background apps?

I have installed (...) (device monitoring app) to a phone. During installation I get an error on the target phone saying Notification access - this feature is not available on this device Since ...
0
votes
0answers
36 views

How do I prevent apps from trying to gain permissions?

I downloaded an app for a restaurant I frequent to collect points. When I tell it to show the QR code to scan at the register, it switches to a screen in my Android Settings to "Modify system settings"...
0
votes
2answers
1k views

Grant notification access via ADB

This might seem weird, but I installed a regular Android app using ADB to my Huawei Watch 2 and the app requires notification access which when attempting in app causes it to crash as it trys to open ...
1
vote
1answer
53 views

Do permissions have to be declared in the manifest for an app to have the access they provide?

I was using Universal Copy for a while to be able to copy text from fields that are not normally able to be selected, but due to it being able to see all contents on the screen when running, I would ...
0
votes
0answers
82 views

Are Android App Permissions Placebos (Android Pie)?

I'm looking at every app that has 'Microphone' permissions on my Android Pie Galaxy Note phone, accessed through: Settings > Apps > Hamburger Menu > App Permissions > Microphone Five ...
1
vote
1answer
582 views

What is the “u#_everybody” UID?

In (multi-user) Android there are UIDs like these: u0_everybody u10_everybody u11_everybody Those seem different to the usual uXX_aYY UIDs used for the applications. What is their purpose? Is this a ...
0
votes
0answers
99 views

How to get rid of SeLinux Denials in Permissive mode?

Need some help with 3 issues: In Permissive mode I get denials, why does this happen and how do I fix that? If I am enforced, how do I give access to my Partitions to various processes. Right now I ...
0
votes
1answer
3k views

How to mount system.img on android (or linux)?

I wanna modify some files in my system partition of phone. It's ext4. I plan to flash it later to my phone. I tried: mount -w -t ext4 -o loop /storage/sdcard1/system.img /mnt/njz and got this: ...
2
votes
1answer
1k views

Is it possible to restrict an app's permissions to a specific folder(s) (and subfolders)?

When installing an app, depending on the app, access to the filesystem is required and requested at the time of install. Is it possible to restrict this to specific folders(s) and their subfolders? ...
2
votes
3answers
2k views

Prevent any Android app from changing WiFi state

At some point in the last year I noticed that my Android device (HTC 10, Android 8.0.0) WiFi would turn on even when I had it turned off. I found out there is a permission called CHANGE_WIFI_STATE, ...
0
votes
3answers
1k views

How to avoid leaking private data to apps without rooting my phone?

The majority of apps on the Play Store require access to things like location, contacts, call log, identity, SMS, etc., even when the app functionality clearly doesn't need this information to work. ...
0
votes
1answer
66 views

Can application see all WIFI SSID?

I read the Wi-Fi scanning overview, but I am not sure if an application has the ability to read the Wifi access points around me. I don't give location permissions. I turn location service OFF. The ...
0
votes
0answers
45 views

Access Channel Impulse Response of LTE signals on cell phone

Is there a way to access channel impulse response information on ios/android or any other mobile software? I was looking at the android developer website but could only find functions that provide ...
0
votes
0answers
15 views

How can I make just one app open links in an alternate browser?

I use chrome for most of my web browsing, but some links I want to open in Firefox. I don't want to have to select chrome every time I open a link from an app, I just want to tell a specific app to ...
7
votes
1answer
2k views

Android 6+ and account permissions: where have they gone to?

I was just browsing the Android Developers Permissions list, and noticed most of the account permissions are gone – in fact, all but GET_ACCOUNTS as it seems. What does that mean, what implications ...
3
votes
1answer
109 views

How to run a program in an app context with Magisk?

Let's say I'm currently as root in Bash on a terminal, outside any app like Termux. I'm running Magisk. Now I want to synchronously invoke Termux's Bash, such that it behaves the same way as it would ...
0
votes
0answers
122 views

Can not create data/media/0/TWRP

I want to root my Huawei y7, when I run adb reboot recovery and I go to backup, a check data, system and boot and I "Swipe to Backup" I got error: Can not create 'data/media/0/TWRP'folder (Permission ...
0
votes
0answers
43 views

Can I give permanent volume increase permission to my phone?

I use Android 7.0. My phone asks a permission about increasing volume level after every boot if I want to increase the volume level. Is doing this mandatory after every boot or can I disable/by-pass ...
8
votes
1answer
47k views

What is Google Partner Setup?

What does the Google Partner Setup app that is pre-installed on almost every Android device actually do? Why does it need each of those intrusive permissions, especially the Phone permission? Why ...
2
votes
1answer
643 views

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

I'm developing a native app for Android, and I'm occasionally confronted with permission denied which doesn't trigger a log in the logcat logs. For example, trying to run: shell@kltevzw:/ $ cat /proc/...
1
vote
1answer
37 views

How granular can the app developer set the permissions to avoid turning the user away at the “Permissions to Photos, Media and Other files”?

When a Notes app (like Google Keep, Wunderlist, Stickynotes) etc asks for permissions to "Photos, Media and Other Files" (PMOF) on your device, the user can get a bit uncertain. So essentially, can ...
0
votes
0answers
22 views

Permit use hardware (camera,microphone,etc) to application for some time, not forever

In Android 6 and latter, when application asks for permission (for example camera access) user can allow, or dismiss, or check 'do not ask any more' and dismiss. I would like to have one more ...
0
votes
0answers
21 views

CHMOD permissions

I have root access on my Android device, and I don't want to use second-part applications like AppLock to block Youtube app. Is there a way to prevent youtube app from launching by my child. I have ...
1
vote
2answers
1k views

Photos / Files / Media permission

I've seen a lot of apps that have media / files permission access requested when installing from Play Store. Does that mean they can go at my personal photos and send it back to themselves? Sorry if ...
0
votes
0answers
17 views

After changing Android ID app still detect I am installing it again [duplicate]

I have changed almost everything from Android ID, Mac address, but still this app can detect I am installing it again and pops up " Trial expired. what could be the reason for this. I installed ...
0
votes
3answers
95 views

What is the meaning of “need access to: ” in when we want to install an application?

Whenever we want to install an application from Google Play, the application will ask permission to access to some things. The number of permissions are different from one to another application. ...