Android 5.1 Possibly Coming February 2015

Google released Android 5.0 just over a month ago, and since then Lollipop has been trying to … more

Double Tap to Wake on the Nexus 6 Without Root

A few weeks ago, we featured an app which allowed the Nexus 6 to regain the double tap to wake … more

Make Your Own Heat Sink for the LG Optimus 4X HD

Its not a rare occurrence that performing a resource heavy task on your Android device (e.g. … more

Learn How to Create an Old School Dialer

XDA is not only a great source for custom ROMs, kernels, and various modifications for numerous … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[ROM] pffmod Revoke permissions & Privacy mode

OP username666

28th March 2011, 02:02 PM   |  #1  
OP Retired Recognized Developer
Thanks Meter: 21
 
66 posts
Join Date:Joined: Sep 2009
Donate to Me
More
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
Last edited by username666; 12th October 2011 at 08:50 AM.
The Following User Says Thank You to username666 For This Useful Post: [ View ]
28th March 2011, 02:28 PM   |  #2  
Recognized Developer
Thanks Meter: 1,499
 
777 posts
Join Date:Joined: 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/
28th March 2011, 02:52 PM   |  #3  
OP Retired Recognized Developer
Thanks Meter: 21
 
66 posts
Join Date:Joined: Sep 2009
Donate to Me
More
Quote:
Originally Posted by ukanth

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
28th March 2011, 03:17 PM   |  #4  
Recognized Developer
Thanks Meter: 1,499
 
777 posts
Join Date:Joined: 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.
18th April 2011, 10:01 PM   |  #5  
OP Retired Recognized Developer
Thanks Meter: 21
 
66 posts
Join Date:Joined: Sep 2009
Donate to Me
More
new build with data spoofing see the first post.
18th April 2011, 10:11 PM   |  #6  
Member
Thanks Meter: 3
 
61 posts
Join Date:Joined: 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...
18th April 2011, 10:14 PM   |  #7  
OP Retired Recognized Developer
Thanks Meter: 21
 
66 posts
Join Date:Joined: Sep 2009
Donate to Me
More
Quote:
Originally Posted by JDima

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
18th April 2011, 10:36 PM   |  #8  
Member
Thanks Meter: 3
 
61 posts
Join Date:Joined: 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?
18th April 2011, 10:41 PM   |  #9  
OP Retired Recognized Developer
Thanks Meter: 21
 
66 posts
Join Date:Joined: Sep 2009
Donate to Me
More
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
18th April 2011, 11:00 PM   |  #10  
Member
Thanks Meter: 3
 
61 posts
Join Date:Joined: 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.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes