Post Reply

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

OP username666

17th March 2011, 11:12 AM   |  #1  
OP Retired Recognized Developer
Thanks Meter: 21
 
66 posts
Join Date:Joined: Sep 2009
Donate to Me
More
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  
Last edited by username666; 13th October 2011 at 06:57 AM. Reason: Added new build
The Following 10 Users Say Thank You to username666 For This Useful Post: [ View ]
17th March 2011, 01:41 PM   |  #2  
OP Retired Recognized Developer
Thanks Meter: 21
 
66 posts
Join Date:Joined: Sep 2009
Donate to Me
More
I need you opinion.
Please comment if you are interested in continued development of this ROM.

Please report ANY success or failure!
Last edited by username666; 17th March 2011 at 03:49 PM.
20th March 2011, 07:34 AM   |  #3  
Member
Thanks Meter: 61
 
76 posts
Join Date:Joined: Nov 2007
This is ingenious, please submit it to the cyanogenmod gerrit if you can.
20th March 2011, 05:20 PM   |  #4  
buzzboy's Avatar
Senior Member
Flag Canterbury
Thanks Meter: 980
 
2,613 posts
Join Date:Joined: Oct 2010
Donate to Me
More
+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!
21st March 2011, 10:20 PM   |  #5  
OP Retired Recognized Developer
Thanks Meter: 21
 
66 posts
Join Date:Joined: Sep 2009
Donate to Me
More
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.
21st March 2011, 10:23 PM   |  #6  
Member
Thanks Meter: 8
 
75 posts
Join Date:Joined: Dec 2010
lol! nice idea. it'd be great if they'd accept it into the cyanogen nighties. great feature.
21st March 2011, 11:52 PM   |  #7  
buzzboy's Avatar
Senior Member
Flag Canterbury
Thanks Meter: 980
 
2,613 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Good luck. Cracking feature.
22nd March 2011, 12:48 AM   |  #8  
phunkycow's Avatar
Senior Member
Flag London, UK
Thanks Meter: 350
 
815 posts
Join Date:Joined: Apr 2009
More
Fantastic, hope it gets approved. Good job!
23rd March 2011, 10:57 AM   |  #9  
OP Retired Recognized Developer
Thanks Meter: 21
 
66 posts
Join Date:Joined: Sep 2009
Donate to Me
More
I've uploaded new build. GPS seams more reliable now.
26th March 2011, 06:22 PM   |  #10  
Member
Thanks Meter: 61
 
76 posts
Join Date:Joined: 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.

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes


Top Threads in Desire HD Android Development by ThreadRank