Académique Documents
Professionnel Documents
Culture Documents
http://forum.xda-developers.com/showthread.php?t=1357056
Devices by OS or Manufacturer
PORTAL
WIKI
IPHONE FORUMS
TODAY'S POSTS
THREAD TOOLS
Page 1 of 133
Thread Tools: [APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in Patch 1.32]
21st November 2011, 09:02 PM Thanks Meter 397 [APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in Patch 1.32]
1 of 13
02-May-12 10:49 AM
http://forum.xda-developers.com/showthread.php?t=1357056
2 of 13
02-May-12 10:49 AM
http://forum.xda-developers.com/showthread.php?t=1357056
PDroid allows blocking access for any installed application to the following data Device ID (IMEI/MEID/ESN) Subscriber ID (IMSI) SIM serial (ICCID) Phone and mailbox number Incoming call number Outgoing call number GPS location Network location List of accounts (including your google e-mail address) Account auth tokens Contacts Call logs Calendar SMS MMS Browser bookmarks and history System logs
3 of 13
02-May-12 10:49 AM
http://forum.xda-developers.com/showthread.php?t=1357056
SIM info (operator, country) Network info (operator, country) For device ID, phone and mailbox number, SIM serial, subscriber ID and device locatio supplying custom or random values.
Applicaitons do NOT crash when access to private data is blocked (unlike with Perm or CM) Fine-grained tuning of access to private data No background service needed Very small memory footprint (~700KB) No impact on battery life No impact on performance (5ms overhead on access to private data; yes, that's 0.0 100% reliable unlike ROOT applications (LBE), which need to start their backgroun boot (see android underground to learn why this is an issue) No ROOT required for the app to run No Android permissions required for the app to run Open-source
Download:
Automatic PDroid Patcher for Windows (XP/Vista/7):
JDK 6 or newer is required (get it here http://www.oracle.com/technetwork/ja...adInstall JDK 6 into the default directory (don't change anything when installing) .NET Framework 2.0 or newer required (ships with Windows since XP SP2) Currently only supports Gingerbread (Android 2.3) Will only work with deodexed ROMs (take a look into your ROM's system/framework there are any *.odex files, your ROM is NOT deodexed) You will need to re-create your settings backup after updating from version 1.27 (it compatible with the newer version)
Download PDroid Patcher v1.32 Beta 0.321 f Windows Patch Installation Requirements:
ROOTED device For HTC devices: S-OFF ([TOOL] One click ENG S-OFF for HTC Desire HD) ClockworkMod Recovery 3.0.2.6 or newer If you "integrated sys Dalvik into ROM" with Titanium Backup, you will have to und
Installation Instructions:
1. 2. 3. 4. 5. 6. 7. 8.
BACKUP YOUR ROM (HOWTO) Make a PDroid Patch for your ROM with the PDroid Patcher and put the patch on yo Boot your device into your custom (CWM) recovery (Desire HD: vol down + power) If you flashed the patch before but PDroid said it still was not installed, then sele /system" Select "install zip from sdcard" Select "choose zip from sdcard" Select the PDroid patch you have put on your SD card After flashing is finished, reboot the device
4 of 13
02-May-12 10:49 AM
http://forum.xda-developers.com/showthread.php?t=1357056
Patch Changelog:
1.32: Fixed updating from version 1.27 and below 1.31: Fixed patching incompatibility with some ROMs (like Zeus v5) 1.30: Fixed Fixed Fixed Many the alarm being put to snooze every time a call is received or made FC for some applications (like Yandex Maps) bootloops for AT&T and SonyEricsson devices (hopefully) small tweaks
1.27: Fixed an issue, where the Touchwiz launcher (and probably others) would continuo 1.26: Fixed an issue, which would make Google Listen and probably other apps crash 1.25:
Fixed an issue, where PDroid would conflict with some ROOT applications making th Fixed random geocoordinates generation Fixed other minor bugs
1.22: Fixed the patch version reporting bug (v1.21 reports that it's 1.2) 1.21: Fixed the bug where the device would sometimes boot loop right after the boot is fi 1.2: Added data access notification feature 1.1: Bugfixes 1.0: Initial release
Source:
Download: PDroid 2.3.4 source (v1.27) (yes it is based on 2.3.4 but also works with 2.3.5 flawlessly) Get the 2.3.4 source from AOSP (branch: android-2.3.4_r1) Extract the patches from the above archive to the 2.3.4 tree root Run:
Code:
Building from source: 1. Make a clean build 2. Apply the patches (see above) 3. Run:
Code:
source build/envsetup.sh make update-api mmm frameworks/base mmm frameworks/base/services/java mmm libcore make snod
5 of 13
02-May-12 10:49 AM
http://forum.xda-developers.com/showthread.php?t=1357056
FAQ:
I do not have Market access, where can I download the PDroid app?
Right here
Controlling access to the network/internet requires either patching the kernel or usi within the PDroid app. I try avoiding the former due to portability and the latter du privacy/security reasons. I am looking into adding internet access control in a way, most acceptable/convenient for the user. However, this feature currently isn't on the
For experienced developers the following basic steps for creating a PDroid patch shou you started:
Make a clean AOSP build (2.3.4, assuming that your ROM is based on 2.3.x) Make another build with PDroid sources added Decompile the framework.jar, services.jar and core.jar files inside the system/frame (of both above builds) using apktool Diff the output so that you know, which parts were changed by PDroid Decompile the above three files from your ROM, you want to patch Add the missing code to your ROM files based on the above diff Recompile your patched ROM files using apktool
Yes. But I have not ported PDroid to Froyo or ICS yet. No ETAs yet. You'll need some
6 of 13
02-May-12 10:49 AM
http://forum.xda-developers.com/showthread.php?t=1357056
Yes, however you will need to backup your settings to internal memory (PDroid prefere making a backup with TitaniumBackup. After restoring with TitaniumBackup, you will ne previously backed up settings. Alternatively you can backup privacy settings to the S
Yes.
I have applied the correct patch but my device does not boot, how do I find out what
Restore your backup Get the Android SDK Install it (you don't need the eclipse part) Enable USB-debugging on your device Connect it to your PC Start ddms, which is located in the android-sdk-[platform]\tools directory Apply PDroid patch Reboot the device When your device appears in the ddms window, click on it to see the system log Filter the log by "error" Watch the system log for errors and post them here
I have flashed a patch but I am having very weird issues I didn't have before (like y the SIM card or there are weird graphics etc.)?
Have you flashed other mods to your ROM? If so, PDroid is most likely conflicting wit need to create a patch for your customized ROM.
Also make sure that you are using a patch appropriate for your ROM (the CyanogenMod p stable 7.1 will mostly not work on nightlies unless the link says so).
How do I make a patch for my device after I have flashed some other mods?
7 of 13
02-May-12 10:49 AM
http://forum.xda-developers.com/showthread.php?t=1357056
If your other mods DO NOT replace any of the three files: framework.jar, services.jar /system/framework, you can just create a patch normally based on your original ROM fi
Otherwise you will need to extract those three files from your device (use a root fil pull), put them into your ROM zip (also in /system/framework) and then create a PDroid p the ROM zip. __________________
If you like what I am doing, you are welcome to show your support by using button.
The Following 205 Users Say Thank You to svyat For This Useful Post: Show/Hide
OTN APAC Join the Worlds Largest Community, Exclusive Resources and Software.
www.oracletechnetwork-ap.com
The Following 14 Users Say Thank You to svyat For This Useful Post: Show/Hide 21st November 2011, 09:14 PM Thanks Meter 206
8 of 13
02-May-12 10:49 AM
http://forum.xda-developers.com/showthread.php?t=1357056
Senior Member
Junior Member
I believe you need root to push those jar files... so you do need root. right? __________________
Senior Member
9 of 13
02-May-12 10:49 AM
http://forum.xda-developers.com/showthread.php?t=1357056
So this will not run at all times, and thus not kill the batterytime? Sent from my HTC Desire HD using XDA App __________________
Senior Member
-[1st] I'm not responsible for you bricking your (or others) device! // [2nd] If this post helped you, Thanks-button // [3rd] Have a nice day!
Senior Member
10 of 13
02-May-12 10:49 AM
http://forum.xda-developers.com/showthread.php?t=1357056
Seems interesting, I'll be happy to test out this app if it releases for SGS2. Sent from my GT-I9100 using XDA App
Originally Posted by Sybregunne Senior Member |OP| Posts: 169 Join Date: May 2010
I believe you need root to push those jar files... so you do need root. right?
So this will not run at all times, and thus not kill the batterytime?
Seems interesting, I'll be happy to test out this app if it releases for SGS2.
Which ROM do you use? Which one is the most popular for SGS2?
The Following 4 Users Say Thank You to svyat For This Useful Post: Show/Hide
11 of 13
02-May-12 10:49 AM
http://forum.xda-developers.com/showthread.php?t=1357056
Member
Originally Posted by fe22st Senior Member |OP| Posts: 169 Join Date: May 2010
Anywhere, you can run ADB from. And yes, you can place them in platform-tools (I assu files are located there).
The Following 3 Users Say Thank You to svyat For This Useful Post: Show/Hide
Page 1 of 133
12 of 13
02-May-12 10:49 AM
http://forum.xda-developers.com/showthread.php?t=1357056
post new threads post replies post attachments edit your posts
BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
Copyright xda-developers.
Follow us on Twitter - Contact Us - Are you a developer? XDA-Developers Home - View Forum Leaders - Legacy Devices - Top
13 of 13
02-May-12 10:49 AM