Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,804,192 Members 38,209 Now Online
XDA Developers Android and Mobile Development Forum

[ROM] pffmod Revoke permissions and Privacy mode. New permissions supported

Tip us?
 
username666
Old
(Last edited by username666; 13th October 2011 at 06:57 AM.) Reason: Added new build
#1  
Retired Recognized Developer - OP
Thanks Meter 21
Posts: 66
Join Date: Sep 2009

 
DONATE TO ME
Lightbulb [ROM] pffmod Revoke permissions and Privacy mode. New permissions supported

New permissions with privacy mode support

Any way there is a new build this one is based on the latest and greatest from CM 7.1. the download link is below.

Privacy mode permissions:
  1. NEW! READ_LOGS - If enabled attempts to read logs will return nothing but will not crash the app.
  2. NEW! READ_HISTORY_BOOKMARKS - If enabled it will return the default bookmarks as you have never changed them and empty history.
  3. READ_PHONE_STATE - You can now make your device return anonymized data from the methods protected with READ_PHONE_STATE permission.

There is a demo app you can use to see the effect of the privacy mode and revoking. Run the app revoke or make private run the app again.
Currently there is no READ_LOGS demo.

ROM info:
  1. Some applications may not work properly with revoked permissions.
  2. You CAN'T revoke permission of SYSTEM applications!
  3. If an application is running changing some permissions like say INTERNET will not be fully applied until the application is restarted.
  4. Google apps are not included. You need to download them separately and flash them right after the ROM.
  5. You uses it at your own risk and I cannot be held responsible for the consequences.

Some technical stuff:
If an application checks for its permissions it will appear that all required permissions are granted. This is done to keep some ad networks code happy. As far as I've tested this is safe since the permission check is done at the remote end of the call when protected method is invoked. Please report your findings.

Download:
update-pffmod-7.1.0-DesireHD-20111013-signed.zip

Old builds:
update-pffmod-7.1.0-DesireHD-KANG-signed.zip
direct link: update-pffmod-0.9.1-DesireHD-DEV-20110418-signed.zip storage provided by: http://onlinestoragesolution.com
direct link: update-pffmod-0.9.0-DesireHD-DEV-20110328.2-signed.zip storage provided by: http://onlinestoragesolution.com
update-pffmod-0.9.0-DesireHD-DEV-20110327-signed.zip - broken don't use
update-pffmod-0.9.0-DesireHD-DEV-20110323-signed.zip
update-pffmod-0.9.0-DesireHD-DEV-20110321-signed.zip
update-pffmod-0.9.0-DesireHD-DEV-20110318-signed.zip
update-pffmod-0.9.0-DesireHD-DEV-signed.zip
Attached Thumbnails
Click image for larger version

Name:	edit-permissions.jpg
Views:	3046
Size:	36.6 KB
ID:	544532  
Follow me! Twitter or IRC
The Following 10 Users Say Thank You to username666 For This Useful Post: [ Click to Expand ]
 
username666
Old
(Last edited by username666; 17th March 2011 at 03:49 PM.)
#2  
Retired Recognized Developer - OP
Thanks Meter 21
Posts: 66
Join Date: Sep 2009

 
DONATE TO ME
Default I need you opinion.

Please comment if you are interested in continued development of this ROM.

Please report ANY success or failure!
Follow me! Twitter or IRC
 
gandhisfist
Old
#3  
Member
Thanks Meter 61
Posts: 76
Join Date: Nov 2007
This is ingenious, please submit it to the cyanogenmod gerrit if you can.
 
buzzboy
Old
#4  
buzzboy's Avatar
Senior Member
Thanks Meter 980
Posts: 2,613
Join Date: Oct 2010
Location: Canterbury

 
DONATE TO ME
+1, Using it now, brilliant. It has made me aware of some dodgy permissions out there, although it may cause severe paranoia! Great idea, and think you should continue, a Pure Aosp build would be amazing.
Thanks , and keep going!
 
username666
Old
#5  
Retired Recognized Developer - OP
Thanks Meter 21
Posts: 66
Join Date: Sep 2009

 
DONATE TO ME
I've submitted it to the cyanogenmod gerrit. However this does not mean that it will be accepted.

So for the now I'll try to make daily builds.
Follow me! Twitter or IRC
 
ricebus
Old
#6  
Member
Thanks Meter 8
Posts: 71
Join Date: Dec 2010
lol! nice idea. it'd be great if they'd accept it into the cyanogen nighties. great feature.
 
buzzboy
Old
#7  
buzzboy's Avatar
Senior Member
Thanks Meter 980
Posts: 2,613
Join Date: Oct 2010
Location: Canterbury

 
DONATE TO ME
Good luck. Cracking feature.
 
phunkycow
Old
#8  
phunkycow's Avatar
Senior Member
Thanks Meter 350
Posts: 815
Join Date: Apr 2009
Location: London, UK
Fantastic, hope it gets approved. Good job!
 
username666
Old
#9  
Retired Recognized Developer - OP
Thanks Meter 21
Posts: 66
Join Date: Sep 2009

 
DONATE TO ME
I've uploaded new build. GPS seams more reliable now.
Follow me! Twitter or IRC
 
gandhisfist
Old
#10  
Member
Thanks Meter 61
Posts: 76
Join Date: Nov 2007
Is there any kind of delay with re-granting a permission once its been revoked? I've found that re-granting permission is buggy with certain apps.

Tags
permissions edit, rom
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes