13
PORTAL WIKI IPHONE FORUMS TODAY'S POSTS Page 1 of 133 1 2 THREAD TOOLS SEARCH THIS THREAD [APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in Patch 1.32] Thread Tools: 21st November 2011, 09:02 PM [APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in Patch 1.32] Devices by OS or Manufacturer Thanks Meter 397 Senior Member |OP| Posts: 169 Join Date: May 2010 [APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056 1 of 13 02-May-12 10:49 AM

[APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

Embed Size (px)

Citation preview

Page 1: [APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

PORTAL WIKI IPHONE FORUMS TODAY'S POSTS

Page 1 of 133 1 2

THREAD TOOLS SEARCH THIS THREAD

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in Patch 1.32]Thread Tools:

21st November 2011, 09:02 PM

[APP] PDroid - The Better Privacy Protection

[2012-03-18: Bugfixes in Patch 1.32]

Devices by OS or Manufacturer

Thanks Meter 397

Senior Member |OP|

Posts: 169Join Date: May 2010

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056

1 of 13 02-May-12 10:49 AM

Page 2: [APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056

2 of 13 02-May-12 10:49 AM

Page 3: [APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

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 numberIncoming call numberOutgoing call numberGPS locationNetwork locationList of accounts (including your google e-mail address)Account auth tokensContactsCall logsCalendarSMSMMSBrowser bookmarks and historySystem logs

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056

3 of 13 02-May-12 10:49 AM

Page 4: [APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

SIM info (operator, country)Network info (operator, country)

For device ID, phone and mailbox number, SIM serial, subscriber ID and device locatiosupplying custom or random values.

Why you would want to use it:Applicaitons do NOT crash when access to private data is blocked (unlike with Permissor CM)Fine-grained tuning of access to private dataNo background service neededVery small memory footprint (~700KB)No impact on battery lifeNo impact on performance (5ms overhead on access to private data; yes, that's 0.005s)100% reliable unlike ROOT applications (LBE), which need to start their background service onboot (see android underground to learn why this is an issue)No ROOT required for the app to runNo Android permissions required for the app to runOpen-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...ad-346242.htmInstall 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 directhere 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 forWindowsPatch Installation Requirements:

ROOTED deviceFor HTC devices: S-OFF ([TOOL] One click ENG S-OFF for HTC Desire HD)ClockworkMod Recovery 3.0.2.6 or newerIf you "integrated sys Dalvik into ROM" with Titanium Backup, you will have to undo i

Installation Instructions:BACKUP YOUR ROM (HOWTO)1.Make a PDroid Patch for your ROM with the PDroid Patcher and put the patch on your SD2.Boot your device into your custom (CWM) recovery (Desire HD: vol down + power)3.If you flashed the patch before but PDroid said it still was not installed, then sele/system"

4.

Select "install zip from sdcard"5.Select "choose zip from sdcard"6.Select the PDroid patch you have put on your SD card7.After flashing is finished, reboot the device8.

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056

4 of 13 02-May-12 10:49 AM

Page 5: [APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

Install the PDroid app from the Android Market9.Rate the app at the Android market (let me know, if you have any issues beforehand)10.

Patch Changelog:1.32: Fixed updating from version 1.27 and below1.31: Fixed patching incompatibility with some ROMs (like Zeus v5)1.30:

Fixed the alarm being put to snooze every time a call is received or madeFixed FC for some applications (like Yandex Maps)Fixed bootloops for AT&T and SonyEricsson devices (hopefully)Many small tweaks

1.27: Fixed an issue, where the Touchwiz launcher (and probably others) would continuously1.26: Fixed an issue, which would make Google Listen and probably other apps crash1.25:

Fixed an issue, where PDroid would conflict with some ROOT applications making them fFixed random geocoordinates generationFixed 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 fin1.2: Added data access notification feature1.1: Bugfixes1.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.3 and2.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 rootRun:

Code:

patch -p1 -i build.patchpatch -p1 -i frameworks.patchpatch -p1 -i libcore.patch

Building from source:

Make a clean build1.Apply the patches (see above)2.Run:

Code:

source build/envsetup.shmake update-apimmm frameworks/basemmm frameworks/base/services/javammm libcoremake snod

3.

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056

5 of 13 02-May-12 10:49 AM

Page 6: [APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

FAQ:

I do not have Market access, where can I download the PDroid app?

Right here

What about controlling the internet access?

Controlling access to the network/internet requires either patching the kernel or usiwithin the PDroid app. I try avoiding the former due to portability and the latter duprivacy/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

How do I make a patch manually myself?

For experienced developers the following basic steps for creating a PDroid patch shouyou 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 addedDecompile the framework.jar, services.jar and core.jar files inside the system/framew(of both above builds) using apktoolDiff the output so that you know, which parts were changed by PDroidDecompile the above three files from your ROM, you want to patchAdd the missing code to your ROM files based on the above diffRecompile your patched ROM files using apktool

Do you plan on adding Froyo/ICS support?

Yes. But I have not ported PDroid to Froyo or ICS yet. No ETAs yet. You'll need some

Will you provide a public source code repository for PDroid?

I might, when I get some more spare time

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056

6 of 13 02-May-12 10:49 AM

Page 7: [APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

Can I backup the privacy settings with TitaniumBackup?

Yes, however you will need to backup your settings to internal memory (PDroid preferemaking a backup with TitaniumBackup. After restoring with TitaniumBackup, you will nepreviously backed up settings. Alternatively you can backup privacy settings to the S

Can I use LBE Privacy Guard together with PDroid?

Yes.

I have applied the correct patch but my device does not boot, how do I find out what

Restore your backupGet the Android SDKInstall it (you don't need the eclipse part)Enable USB-debugging on your deviceConnect it to your PCStart ddms, which is located in the android-sdk-[platform]\tools directoryApply PDroid patchReboot the deviceWhen your device appears in the ddms window, click on it to see the system logFilter 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 ythe SIM card or there are weird graphics etc.)?

Have you flashed other mods to your ROM? If so, PDroid is most likely conflicting witneed to create a patch for your customized ROM.

Also make sure that you are using a patch appropriate for your ROM (the CyanogenMod pstable 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?

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056

7 of 13 02-May-12 10:49 AM

Page 8: [APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

OTN APACJoin the World’s Largest Community, Exclusive Resources and Software.

www.oracletechnetwork-ap.com

The Following 205 Users Say Thank You to svyat For This Useful Post: Show/Hide

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 filpull), put them into your ROM zip (also in /system/framework) and then create a PDroid pathe ROM zip.

__________________

If you like what I am doing, you are welcome to show your support by using the donatebutton.

Last edited by svyat; 27th March 2012 at 10:21 PM.

The Following 14 Users Say Thank You to svyat For This Useful Post: Show/Hide

21st November 2011, 09:02 PM

Reserved, just in case Thanks Meter 397

Senior Member |OP|

Posts: 169Join Date: May 2010

21st November 2011, 09:14 PM

Thanks Meter 206

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056

8 of 13 02-May-12 10:49 AM

Page 9: [APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

Yes. This is awesome

__________________

MyUI ROM for captivate:http://forum.xda-developers.com/show....php?t=1587543

I love thanking people who give feedback to any rom

Senior Member

Posts: 779Join Date: Feb 2011

21st November 2011, 10:41 PM

Great !But I have a Desire... Just for Desire HD?

Thanks Meter 0

Junior Member

Posts: 2Join Date: Nov 2011

22nd November 2011, 03:39 AM

I believe you need root to push those jar files... so you do need root. right?

__________________

andrev_oc | DaemonController-3.3-beta3.apk | Thread | Donate

Thanks Meter 840

Senior Member

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056

9 of 13 02-May-12 10:49 AM

Page 10: [APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

Borrow money from pessimists they hardly expect them back...

Posts: 675Join Date: Jan 2011

Location: Currently inSingapore

22nd November 2011, 05:33 AM

So this will not run at all times, and thus not kill the batterytime?

Sent from my HTC Desire HD using XDA App

__________________

--[1st] I'm not responsible for you bricking your (or others) device! // [2nd] If this post helped you, please click t

«Thanks»-button // [3rd] Have a nice day!

HTC Desire HD, Android 2.3.5Android Revolution HD 6.1.5Radio: 12.54.60.25U_26.09.04.11_M2

Galaxy Nexus (GSM)Google Factory Image Android 4.0.2

0_o

Thanks Meter 55

Senior Member

Posts: 499Join Date: May 2009

Location: Kristiansand

22nd November 2011, 09:05 AM

Thanks Meter 46

Senior Member

Posts: 206Join Date: Aug 2010

Location: Copenhagen,Denmark

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056

10 of 13 02-May-12 10:49 AM

Page 11: [APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

Seems interesting, I'll be happy to test out this app if it releases for SGS2.Sent from my GT-I9100 using XDA App

The Following 4 Users Say Thank You to svyat For This Useful Post: Show/Hide

22nd November 2011, 01:32 PM

Originally Posted by Sybregunne

I believe you need root to push those jar files... so you do need root. right?

Correct, that's what the description says

Originally Posted by no_johnr

So this will not run at all times, and thus not kill the batterytime?

That's right. It has virtually no impact on battery life / performance.

Originally Posted by hallydamaster

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?

Thanks Meter 397

Senior Member |OP|

Posts: 169Join Date: May 2010

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056

11 of 13 02-May-12 10:49 AM

Page 12: [APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

22nd November 2011, 03:06 PM

Hi,in where should i set the 3 files?

platform-tools?

Thanks Meter 2

Member

Posts: 54Join Date: Dec 2010

The Following 3 Users Say Thank You to svyat For This Useful Post: Show/Hide

22nd November 2011, 03:21 PM

Originally Posted by fe22st

Hi,in where should i set the 3 files?

platform-tools?

Anywhere, you can run ADB from. And yes, you can place them in platform-tools (I assufiles are located there).

Thanks Meter 397

Senior Member |OP|

Posts: 169Join Date: May 2010

Page 1 of 133 1 2

app, block, pdroid, permissions, privacy, protection

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056

12 of 13 02-May-12 10:49 AM

Page 13: [APP] PDroid - The Better Privacy Protection [2012!03!18_ Bugfixes in Patch 1.32] - Xda-Developers

You may not post new threadsYou may not post repliesYou may not post attachmentsYou may not edit your posts

BB code is OnSmilies are On[IMG] code is OnHTML code is OffForum Rules

Copyright© xda-developers. Follow us on Twitter - Contact Us - Are you a developer?XDA-Developers Home - View Forum Leaders - Legacy Devices - Top

[APP] PDroid - The Better Privacy Protection [2012-03-18: Bugfixes in P... http://forum.xda-developers.com/showthread.php?t=1357056

13 of 13 02-May-12 10:49 AM