Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,458 Members 47,644 Now Online
XDA Developers Android and Mobile Development Forum

[ROM] pffmod Revoke permissions & Privacy mode

Tip us?
 
username666
Old
(Last edited by username666; 12th October 2011 at 07:50 AM.)
#1  
Retired Recognized Developer - OP
Thanks Meter 21
Posts: 66
Join Date: Sep 2009

 
DONATE TO ME
Lightbulb [ROM] pffmod Revoke permissions & Privacy mode

Long time no see.

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.

Spoofed permissions:
  1. READ_PHONE_STATE - You can now make your device return spoofed data from the methods protected with READ_PHONE_STATE permission. There is a demo app you can use to see the effect of spoofing and revoking READ_PHONE_STATE permission. Run the app revoke or spoof run the app again.

Since majority of time spend on READ_PHONE_STATE spoofing was about laying the needed infrastructure for spoofing in general, expect new spoofed permissions shortly.

ROM info:
  1. This is a preview build bases on CM7 nightly builds. Some things may not work some features may be missing.
  2. Some applications may not work properly with revoked permissions.
  3. You can revoke permission of SYSTEM applications!!! DON'T DO IT UNLESS YOU KNOW WHAT YOU ARE DOING.. However reboot resets the permissions of the system applications so you probably can recover.
  4. If an application is running changing some permissions like say INTERNET will not be fully applied until the application is restarted.
  5. If you come from CM7 nightly or CM7 RCx you probably don't need to wipe. I something is not working do a wipe.
  6. Google apps are not included. You need to download them separately and flash them right after the ROM.
  7. It will probably require ClockworkMod 3.x to flash properly.
  8. 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.


Screen shot:


This is the extended Manage application screen.

Download:

update-pffmod-7.1.0-Desire-KANG-signed.zip
old builds:
direct link: update-pffmod-0.9.1-Desire-DEV-20110418-signed.zip storage provided by: http://onlinestoragesolution.com
direct link: update-pffmod-0.9.0-DESIRE-DEV-20110328-signed.zip storage provided by: http://onlinestoragesolution.com
Follow me! Twitter or IRC
The Following User Says Thank You to username666 For This Useful Post: [ Click to Expand ]
 
ukanth
Old
#2  
Recognized Developer
Thanks Meter 1,466
Posts: 764
Join Date: Nov 2010

 
DONATE TO ME
Wow, This is so quick, I read about it in Reddit day back. Thanks! Still there are lot of discussion about this between developers.

Details here

http://www.androidpolice.com/2011/03...g-as-a-result/

AFWall+ Android Firewall
Save Energy & Save Earth - MonitorES
Contact me - Google+ Twitter
Github: Profile
Kindly donate to http://www.giveindia.org/
 
username666
Old
#3  
Retired Recognized Developer - OP
Thanks Meter 21
Posts: 66
Join Date: Sep 2009

 
DONATE TO ME
Quote:
Originally Posted by ukanth View Post
Wow, This is so quick, I read about it in Reddit day back. Thanks! Still there are lot of discussion about this between developers.

Details here

http://www.androidpolice.com/2011/03...g-as-a-result/

Actually I've submitted this to CM
here is the original thread for Desire HD http://forum.xda-developers.com/show...1#post12161601
Follow me! Twitter or IRC
 
ukanth
Old
#4  
Recognized Developer
Thanks Meter 1,466
Posts: 764
Join Date: Nov 2010

 
DONATE TO ME
Great patch though Personally I feel this is great addition.Thanks for this! I'll try this and let you know.

AFWall+ Android Firewall
Save Energy & Save Earth - MonitorES
Contact me - Google+ Twitter
Github: Profile
Kindly donate to http://www.giveindia.org/
 
username666
Old
#5  
Retired Recognized Developer - OP
Thanks Meter 21
Posts: 66
Join Date: Sep 2009

 
DONATE TO ME
new build with data spoofing see the first post.
Follow me! Twitter or IRC
 
JDima
Old
#6  
Member
Thanks Meter 3
Posts: 61
Join Date: Aug 2009
Neat!
Is this based on something close to nightly 41? There's been a major bug recently, which caused many issues, it's fixen in #41.
http://cm-nightlies.appspot.com/?device=bravo

p.s.
Please add this to the CM branch...
 
username666
Old
#7  
Retired Recognized Developer - OP
Thanks Meter 21
Posts: 66
Join Date: Sep 2009

 
DONATE TO ME
Quote:
Originally Posted by JDima View Post
Neat!
Is this based on something close to nightly 41? There's been a major bug recently, which caused many issues, it's fixen in #41.
http://cm-nightlies.appspot.com/?device=bravo

p.s.
Please add this to the CM branch...
This is like current git
Follow me! Twitter or IRC
 
JDima
Old
#8  
Member
Thanks Meter 3
Posts: 61
Join Date: Aug 2009
Swapping real IDs for the word "spoofed" is quite obvious, and, IMHO, might cause problems if an application stores it as an integer value. Why don't you just return random numbers?
 
username666
Old
#9  
Retired Recognized Developer - OP
Thanks Meter 21
Posts: 66
Join Date: Sep 2009

 
DONATE TO ME
I'm working on something that will generate plausible data from the calling app package name. I'm just too impatient and decided to release it early.

The other thing is that it's bean too long since the last release
Follow me! Twitter or IRC
 
JDima
Old
#10  
Member
Thanks Meter 3
Posts: 61
Join Date: Aug 2009
And a final request. Please do something with the usability Maybe a dropbox underneath each of the permissions. Best if colored - red for "revoked", yellow for "spoofed" and "granted" without highlighting. Currently, a brief view at the list of permissions totally misses their states.
Yes, I do understand the engine is far more important than bells&whistles, but as for me, the mod is quite ready for everyday use, and I'd be happy to see it more user-faced.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Play Music on Android Wear with Stellio Music Player

Android Wear smartwatchesare growing inpopularity every day. Some devices have already … more

Schedule is up for xda:devcon ’14

With xda:devcon ’14 just around the corner, and the venue close to selling out, there is a lot … more

aLogcat Returns Thanks to XDA Love

The developers of Android, that is Google, gave users several great debugging tools that can be used in … more

And the Winners in the XDA Pebble Development Challenge Are…

Almost two months ago, we set out with Pebble to findthree amazing … more