Proof of concept for a privacy manager using the Xposed framework
Module to return no or fake data for any application, simply managed from the Manage apps menu.
Currently implemented:
- Browser (bookmarks, searches, etc)
- Calendar
- Contacts
- Identification
- Location (coarse/fine)
- Messages (SMS/MMS, voicemail: untested)
- Phone (call log, incoming/outgoing number, phone ID/number, subscriber ID, SIM serial)
Planned:
- Take photo
- Record audio (microphone)
- Record video
- Default deny for new apps
- Filter by used/granted
Tested with CyanogenMod 10
Reported to work with CyanogenMod 10.1 at least partly.
- Root your device
- Make a backup
- Install the Xposed framework
- Install XPrivacy from here
- Enable XPrivacy from the Xposed Installer app
- Reboot
- Select Manage apps from the main menu
- Select an app
- Press the XPrivacy button
To see it in action: try disabling Identification for Android Id Info or try disabling Contacts for the Contacts app.
Applying some restrictions requires an app restart or a reboot.
Due to a known bug in the Xposed framework in/outgoing call restriction only works on modified ROM's
- Will you restrict internet access? No, you can use a firewall app, like AFWall+
To restrict new info:
- Find the package/class/method that exposes the info (look into the Android documentation/sources)
- Create a class that extends XHook
- Hook the method in XPrivacy
- Write a before and/or after method to restrict the info
GNU General Public License version 3
Copyright (c) 2013 Marcel Bokhorst
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA