Annoyed by the Google Photos permission prompt every time you delete any image or video on your Android 11 device and want to fix this issue? Well, you are not alone. Add to it the constant “Review out of sync changes” notifications, and the entire user experience seems to have gone out for a toss. The fact that you have to tap on Allow every single time you wish to delete an image further adds to infuriation for the end-user.
So what was the need of incorporating this functionality? Moreover, is it just limited to the Photos app or is part of a much broader field? This guide shall answer all these queries and will also show you the steps to fix it “issue” once and for all. However, if you don’t wish to know the reasoning behind this feature and want to directly head over to the fix, then use the direct link from the below table of contents section.
- All Your Google Photos Album are Public by Default. Here’s how to fix it!
- Bypass New Google Restriction: Get Free Unlimited Photos Storage
- Here is the Google Task Mate Referral or Invitation Code!
Why Google Photos is asking for Permission before Deleting any File in Android 11
The latest stable Android build (Android 12 isn’t yet stable, so this title is still reserved for Android 11) bought in a ton of new and interesting features. The ones such as the One Time permission, separate conversation section, and revamped power menu were the most talked about features since they were mostly user-facing. On the other hand, there are a plethora of under the hood changes that might have gone under the radar for some. Scope Storage falls in this domain.
Before this came into the picture, access to the internal storage was governed by just single permission. You didn’t had individual control over each file whether or not they could access this storage. But with the introduction of Scoped Storage, these files couldn’t access your data partition until you manually approve it. So if you are taking images via your camera app, even if it is the stock camera app, Google Photos will simply treat it as just another third-party app.
With that said, I used the Google Photos app on a Pixel device, and upon deleting an image, there was no permission prompt! Why? This is because, in Pixel devices, the Photos app is treated as a system gallery app and system apps don’t require this Scoped Storage permission. So can’t we just change the Photos app to a system app and fix this issue? In theory, this fix should work out. But the thing is you cannot make an app as a system-level app (at least in non-rooted apps).
While you could still make any app a default app, such as making Photos the default gallery app, but it would still be treated as a user level app, and the issue will still persist. Or will it? Well, it depends on whether the OEM treats this app as a system or user-installed app. On OnePlus and many other Android One devices, Photos is a system app, and this rectifies half of our issue! But before we list out the other half of the issue to fix the Google Photos permission prompt issue on Android 11, please check and verify how your device treats this app.
To check if your device treats Google Photos app as a system or user-installed app, just head over to its app listing page (Settings > Apps and Notifications > App Info [or See All Apps]). If you see the Uninstall option, then it is a user-app and you have manually installed it onto your device via the Play Store. For this set of devices, the below workaround might not work (but you could still try if you wish, as it just requires a single ADB Command).
On the other hand, if you get the Disable option (instead of Uninstall), then it came pre-installed on your device and is treated as a system app. If your device falls in this domain, then you could easily try out the below fix. In other words, it’s finally time to bid adieu to the constant “Allow Photos to move this photo to the bin?” notification. So without further ado, let’s get started.
- How to recover Google Authenticator codes after a factory reset?
- Were Google Servers Hacked that Day?
- Fix: YouTube preview not showing in WhatsApp [Android, iOS]
- How to Send Fake Live Location on WhatsApp
How to Fix Google Photos Permissions Prompt on Android 11
- First and foremost, download the Android SDK Platform Tools on your PC.
- Then extract it to any convenient location on your PC and you shall get the platform-tools folder.
- So head over to this platform-tools folder, type in CMD in its address bar, and hit Enter. This will launch the Command Prompt.
- Now enable USB Debugging on your device so that the PC is able to establish a successful ADB connection with your device. Go to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Developer Options > Enable USB Debugging.
- Connect your device to the PC via USB cable and execute the below command in the CMD window:
- If you get an alphanumeric string, followed by the ‘device’ keyword, then the connection stands successful.
- Now execute the below command in the CMD window to fix this irritating Photos issue once and for all:
adb shell cmd role add-role-holder android.app.role.SYSTEM_GALLERY com.google.android.apps.photos
- If you didn’t get any error message (see above image), then the task stands successful. To verify the same, type in the below command:
adb shell dumpsys role
- Now check out the result (refer to the above image). If the name i.e. android.app.role.SYSTEM_GALLERY shows the holder name as com.google.android.apps.photos, then it means that Google Photos has been converted to a system app. Hence it is no longer subjected to Scoped Storage.
- On the other hand, if your device had the Photos app as a user-installed app and you end up executing the add-role-holder command, then you would be greeted with the following error message:
E RoleControllerServiceImpl: Package does not qualify for the role, package: com.google.android.apps.photos, role: android.app.role.SYSTEM_GALLERY
So on that note, we round off this guide on how to fix the Google Photos permission prompt on deleting any media file on Android 11 devices? What are your views on this? Are you satisfied with an extra layer of permission in the form of Scoped Storage? Or is it asking way too much and rather ends up disrupting the entire user experience? Do drop in your valuable opinions in the comments section below.
- How to Get a Temporary Blue Tick on Instagram
- How to Fix Instagram Reels No Internet Connection Issue
- Instagram Turns 10: Unlock its Twelve Hidden Icons!
- How to Replace Reels with the Search bar on Instagram
3 thoughts on “How to Fix Google Photos Permissions Prompt on Android 11”
This is so helpful. The extra prompts were driving me crazy. Thanks!
Thanks for the appreciation, Tom.
Hi Sadique, I know this is a kind off topic issue now but I’ve been encountering the annoying permission’s prompt on google photos for a long time, and just tried to fix it. I’ve followed the steps above and get the following
Error: see logcat for details.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: Failed
Caused by: java.lang.RuntimeException: Failed
at com.android.server.role.-$$Lambda$RoleManagerShellCommand$CallbackFuture$ya02agfKUbaiv_zXc0xWEop421Q.onResult(Unknown Source:2)
at android.app.role.-$$Lambda$RoleControllerManager$1tkryWxs4VtGp5AmGDyjpvBjC28.accept(Unknown Source:8)
at android.app.role.-$$Lambda$9DeAxmM9lUVr3-FTSefyo-BW8DY.onResult(Unknown Source:2)
… 2 more
and so on.
I don’t know if you will read this or if have anything messed up on my phone, but I will really appreciate if you could help me, as new A12 updates for 1+ have been carrying many bugs and problems.