Header Banner
gadgethacks.mark.png
Gadget Hacks Shop Apple Guides Android Guides iPhone Guides Mac Guides Pixel Guides Samsung Guides Tweaks & Hacks Privacy & Security Productivity Hacks Movies & TV Smartphone Gaming Music & Audio Travel Tips Videography Tips Chat Apps
Home
Nexus

App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control

Aug 23, 2014 12:29 AM
Mobile phone screen displaying a "Permission Denied" message.

Android's permissions system is simple, transparent, and straightforward. When installing an app, you get a chance to review all of the permissions that the app has requested. These can range from accessing your location data to holding a "wakelock" in order to prevent your phone from entering sleep mode. But your only choice in this matter is to accept all requested permissions, or not install the app.

So, with the release of Android 4.2, Google started toying with the concept of granular permissions management for apps. The functionality was called App Ops, and it allowed users to revoke individual permissions on a per-app basis. But Google decided App Ops wasn't quite ready for prime time and hid the feature. After it was uncovered, Google made the feature even harder to access in Android 4.3, before ultimately removing all links to it in Android 4.4 KitKat.

While there are various mods that bring this feature back, none is more integrated at a system level than XDA user td32's modified Settings app. Instead of a separate app that clutters up your app drawer, this mod puts App Ops exactly where it should be: in the Security section of your Nexus 5's Settings menu.

Requirements

  • Rooted Nexus 5 (mod will not work on any other device)
  • Stock Android version 4.4.4 (custom ROMs may not be compatible)

Install a Root-Enabled File Browser

If you already have a root-capable file browser installed on your Nexus 5, you can skip ahead to Step #2. Otherwise, I'll show you how to get one installed.

There are many free root file browsers available on the Play Store, but the one I'll be demonstrating with today is called FX File Explorer.

File Explorer app interface with options to uninstall or open.

Once you've got FX installed, be sure to install its Root Add-On to enable root access for the app.

File Explorer app icon with uninstall option.

With both of those installed, go ahead and open FX File Explorer from your app drawer. Tap Accept on the first pop-up to agree to the terms of use, then the app will give you a brief feature tour.

License agreement details on a mobile device screen.
Welcome screen for FX tutorial app
License agreement details on a mobile device screen.
Welcome screen for FX tutorial app

Download the Modded 'Settings.apk' File

To integrate App Ops at a system level, td32 modified the actual Settings app from the Nexus 5's stock firmware. To download this modified Settings.apk file, point your Nexus 5's web browser to this link. Wait until the download has finished before proceeding to the next step.

App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control
App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control
App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control
App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control

Move the Modified 'Settings.apk' File

Next, you'll need to replace your existing Settings.apk file with the modded version. Use your root-enabled file browser to navigate to the Download folder of your device. From here, long-press the modified Settings.apk file and select Cut.

File management application interface displaying home screen options and features.
Settings APK file icon on a mobile device.
Settings menu on a mobile device displaying options such as sound menu, open path, and share.
File management application interface displaying home screen options and features.
Settings APK file icon on a mobile device.
Settings menu on a mobile device displaying options such as sound menu, open path, and share.

Next, head back out to FX's main screen and tap System (Root). If you haven't done so already, the app will ask for Superuser privileges at this point, so hit Grant on the popup. After that, tick the box next to I Understand and press OK on the Root Access Warning message.

File manager interface displaying various folders and tools.
Superuser request for FX (File Explorer) app permissions on Android device.
Root access warning message on a smartphone screen.
File manager interface displaying various folders and tools.
Superuser request for FX (File Explorer) app permissions on Android device.
Root access warning message on a smartphone screen.

From here, browse to the system folder, then head into the priv-app folder inside of that.

File manager interface showing various document and folder icons on a mobile device.
App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control
File manager interface showing various document and folder icons on a mobile device.
App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control

Tap the Lock Icon at the top of the screen to mount this folder as read/write, then tick the box next to I Understand and press OK again.

File management application interface displaying various file icons and folders.
App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control
File management application interface displaying various file icons and folders.
App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control

Next, scroll through this list until you locate the existing Settings.apk file. Long-press it, then select Rename from the menu.

App icons displayed on a mobile device screen.
Settings menu interface with options for customization and features.
App icons displayed on a mobile device screen.
Settings menu interface with options for customization and features.

From here, add a .bak to the end of the file name and press OK. That way, if you ever need to revert to the stock Settings app in the future, you can just delete the modded version and remove this suffix.

Text input field on a mobile device for renaming a file or app.
File management application interface displaying various app icons and files.
Text input field on a mobile device for renaming a file or app.
File management application interface displaying various app icons and files.

Next, tap the Clipboard button and select Paste to move the modded Settings.apk file into this folder.

Clipboard interface showing options for clipboard management.
App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control
Clipboard interface showing options for clipboard management.
App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control

Finally, long-press the newly-pasted Settings.apk file and choose Permissions. From here, ensure that the Owner category is set to Read and Write, while all other categories are set to Read.

App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control
Settings menu interface displaying read, write, and execute permissions.
App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control
Settings menu interface displaying read, write, and execute permissions.

With that out of the way, simply reboot your phone and the new App Ops functionality will be added to your Settings menu.

Use App Ops to Revoke Permissions

When you're ready to trim back the permissions of an app, start by heading to your phone's Settings menu. From here, tap Security, then you'll find the new App Ops entry.

Settings menu of a mobile device with options for apps, location, security, and backup.
Security settings interface on a mobile device showing app permissions and device administration options.
Settings menu of a mobile device with options for apps, location, security, and backup.
Security settings interface on a mobile device showing app permissions and device administration options.

The apps listed here are categorized by the type of permissions they have requested. You can swipe between tabs on this screen to view all of the various permissions that your apps have requested. When you find an app that has been requesting a permission that you'd like to revoke, simply tap it from the list.

App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control
Mobile app settings screen displaying various applications and their icons.
App Ops Is Alive! Add It to Your Nexus 5's Settings Menu for Per-App Permissions Control
Mobile app settings screen displaying various applications and their icons.

From here, you'll see a list of any permissions that this app has requested in the past. If you'd like to prevent an app from using one of these permissions, you can simply toggle the switch at the right to Off.

Weather app settings screen with version information and location permissions.
App settings screen showing version and location options.
Weather app settings screen with version information and location permissions.
App settings screen showing version and location options.

Keep in mind that some apps require certain permissions to run, so if you experience any force-closes after modifying the app's permissions, it would be best to revisit your selections.

Which permissions have you revoked from different apps? Which app was requesting the most permissions on your device? Let us know in the comments section below.

The next big software update for iPhone is coming sometime in April and will include a Food section in Apple News+, an easy-to-miss new Ambient Music app, Priority Notifications thanks to Apple Intelligence, and updates to apps like Mail, Photos, Podcasts, and Safari. See what else is coming to your iPhone with the iOS 18.4 update.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!