[APP+MOD][4.1.2+ | STOCK][IRC-CHANNEL][GPL] PDroid 2.0 [2013-05-16 v1.57.1]

Do you want to see PDroid2.0 at Google Play?


  • Total voters
    171
  • Poll closed .
Search This thread

tim8871

New member
Sep 13, 2012
2
0
VNC Apps with Pdroid

Hey guys, I've recently installed PDroid and have been very happy with it. However, one gripe I do have is that VNC applications such as Webkey do not seem to work anymore after I have installed PDroid. Is this an inherent part of PDroid or can I work around this and make Webkey work again? Thank you for your time!
 

win25800

New member
Nov 3, 2013
2
0
China cenxi
Translate

can you translate this page into Chinese?

---------- Post added at 02:02 PM ---------- Previous post was at 01:48 PM ----------

I don't know why I can't patch this rom.
Can you help me?
Post:win2580@163.com
ROM:htt去掉p://120.192.87.41去掉/cdn.baidupcs.com/file/95b472ce38cc0e76去掉b2e40e01a49759eb?去掉xcode=46f562863bf08a4f9015去掉0a5d492b61cbb9f71b93435fab24&fid=3928210559-250528-477681789&time=1384005110&sign=FDTAXER-DCb740ccc5511e5e8fedcff06b081203-y7Fs6DVw%2F4tPYDce8duoCfhX%2FGc%去掉3D&to=cb&fm=N,B,M,mn&expires=8h&rt=去掉sh&r=823491601&logid=2268770117&sh=1&wshc_tag=0&wsiphost=ipdbm
Then,sent the update.zip to my post.
Thank you very much!

---------- Post added at 02:07 PM ---------- Previous post was at 02:02 PM ----------

The rom is cm10!
 

smartymcfly

Senior Member
JellyBeer v4.33
Device: Google Nexus 4 (mako)
ROM: JellyBeer v4.33
PD-Version: 1.57
Date: 07/27/2013
Filename: JellyBeer-v4.33-27072013-130107-mako
MD5: 4596D23D1CF1BE5197EE3AB80DA38809
URL: JellyBeer-v4.33-27072013-130107-mako

---------- Post added at 10:51 PM ---------- Previous post was at 10:45 PM ----------

Has anyone tried out CollegeDev's devel branch for the PDroid 2.0 Manager 1.57.2 app?

I've given it a try based on the changelog and have noticed that from time to time when scrolling through the list of apps in PDroid Manager, the app icons on occasion disappear or aren't drawn into the app. Otherwise it seems consistent with 1.57.1 performance.

I hope all is well with CollegeDev and am eagerly waiting for android 4.3 support soon.

Any chance there is an updated link?
 

Memethecat

Senior Member
Mar 26, 2013
176
80
Isle of Yew
Deleted

Sent from my Xperia S using XDA Premium 4 mobile app
 

Attachments

  • 1386516325289.jpg
    1386516325289.jpg
    38.7 KB · Views: 351

seversk

New member
Mar 2, 2014
3
0
support for cyanogenmod 7.1 ?

Hey all im trying to compile a cyanogenmod 7.1 for LG Optimus 2x device and im stuck in the old patcher... Is there anyway I can get support for it somewhere? thanks alot!

My error log:

PDroid Patcher v0.321 - Patch v1.32

Patching C:\Temp\LG\PDroidPatcher\update-cm-7.1.0-Optimus2X-signed.zip

Extracting framework files from ROM
inflated: system/framework/core.jar
inflated: system/framework/framework.jar
inflated: system/framework/services.jar

inflated: META-INF/com/google/android/updater-script

inflated: META-INF/com/google/android/update-binary

Decompiling original files
I: Baksmaling...
I: Copying assets and libs...

I: Baksmaling...
I: Copying assets and libs...

I: Baksmaling...
I: Copying assets and libs...

Cleaning up smali

C:\Users\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" framework.mod.jar.out\smali\android\app\ContextImpl.smali 1>framework.mod.jar.out\smali\android\app\ContextImpl.smali.new

C:\Users\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\app\ContextImpl.smali.new framework.mod.jar.out\smali\android\app\ContextImpl.smali
1 file(s) moved.

C:\Users\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" framework.mod.jar.out\smali\android\content\ContentResolver.smali 1>framework.mod.jar.out\smali\android\content\ContentResolver.smali.new

C:\Users\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\content\ContentResolver.smali.new framework.mod.jar.out\smali\android\content\ContentResolver.smali
1 file(s) moved.

C:\Users\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" framework.mod.jar.out\smali\android\telephony\PhoneStateListener.smali 1>framework.mod.jar.out\smali\android\telephony\PhoneStateListener.smali.new

C:\Users\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\telephony\PhoneStateListener.smali.new framework.mod.jar.out\smali\android\telephony\PhoneStateListener.smali
1 file(s) moved.

C:\Users\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" framework.mod.jar.out\smali\android\telephony\PhoneStateListener$1.smali 1>framework.mod.jar.out\smali\android\telephony\PhoneStateListener$1.smali.new

C:\Users\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\telephony\PhoneStateListener$1.smali.new framework.mod.jar.out\smali\android\telephony\PhoneStateListener$1.smali
1 file(s) moved.

C:\Users\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali 1>services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali.new

C:\Users\AppData\Roaming\PDroidPatcher\tmp>move /Y services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali.new services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali
1 file(s) moved.

C:\Users\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" services.mod.jar.out\smali\com\android\server\ServerThread.smali 1>services.mod.jar.out\smali\com\android\server\ServerThread.smali.new

C:\Users\AppData\Roaming\PDroidPatcher\tmp>move /Y services.mod.jar.out\smali\com\android\server\ServerThread.smali.new services.mod.jar.out\smali\com\android\server\ServerThread.smali
1 file(s) moved.

C:\Users\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali 1>core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali.new

C:\Users\AppData\Roaming\PDroidPatcher\tmp>move /Y core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali.new core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali
1 file(s) moved.

Applying PDroid patches
patching file smali/android/app/ContextImpl.smali
Hunk #2 succeeded at 151 (offset 5 lines).
Hunk #3 succeeded at 683 with fuzz 3 (offset 40 lines).
Hunk #4 succeeded at 1166 with fuzz 2 (offset 61 lines).
Hunk #5 succeeded at 1190 with fuzz 3 (offset 64 lines).
Hunk #6 succeeded at 1466 (offset 123 lines).
Hunk #7 succeeded at 1714 (offset 129 lines).
patching file smali/android/content/ContentResolver.smali
Hunk #1 succeeded at 2850 with fuzz 3.
patching file smali/android/privacy/IPrivacySettingsManager.smali
patching file smali/android/privacy/IPrivacySettingsManager$Stub$Proxy.smali
patching file smali/android/privacy/IPrivacySettingsManager$Stub.smali
patching file smali/android/privacy/PrivacyFileObserver.smali
patching file smali/android/privacy/PrivacyPersistenceAdapter.smali
patching file smali/android/privacy/PrivacySettings$1.smali
patching file smali/android/privacy/PrivacySettingsManagerService.smali
patching file smali/android/privacy/PrivacySettingsManager.smali
patching file smali/android/privacy/PrivacySettings.smali
patching file smali/android/privacy/surrogate/PrivacyAccountManager$PrivacyAccountManagerFuture.smali
patching file smali/android/privacy/surrogate/PrivacyAccountManager.smali
patching file smali/android/privacy/surrogate/PrivacyActivityManagerService.smali
patching file smali/android/privacy/surrogate/PrivacyContentResolver.smali
patching file smali/android/privacy/surrogate/PrivacyCursor.smali
patching file smali/android/privacy/surrogate/PrivacyLocationManager$PrivacyLocationUpdater.smali
patching file smali/android/privacy/surrogate/PrivacyLocationManager.smali
patching file smali/android/privacy/surrogate/PrivacyTelephonyManager.smali
patching file smali/android/telephony/PhoneStateListener$1.smali
patching file smali/android/telephony/PhoneStateListener.smali
Hunk #2 succeeded at 64 (offset 1 line).
Hunk #3 succeeded at 173 with fuzz 1 (offset 23 lines).

patching file smali/com/android/server/am/ActivityManagerService.smali
Hunk #1 succeeded at 12883 with fuzz 1 (offset 827 lines).
Hunk #2 succeeded at 19028 with fuzz 2 (offset 1190 lines).
patching file smali/com/android/server/ServerThread.smali
Hunk #1 succeeded at 43 (offset 3 lines).
Hunk #2 succeeded at 389 (offset 37 lines).

patching file smali/java/lang/PrivacyInputStream.smali
patching file smali/java/lang/PrivacyProcessManager$PrivacyFileReader.smali
patching file smali/java/lang/PrivacyProcessManager.smali
patching file smali/java/lang/ProcessManager$ProcessImpl.smali
Hunk #1 succeeded at 57 (offset 5 lines).
Hunk #2 succeeded at 79 (offset 5 lines).

failed to apply PDroid patches
 

aquag13

New member
Aug 22, 2014
1
0
Interesting. Another XPrivacy. It can only make things better. Thanks
Hello

anyone know why the camera bug and close when i applied autopatcher ??

i've tried with 3-4 cyanogenmod (10.2 , cm 11, aokp etc ...)

i use autopatcher, it made me 2 patch ; opendroid and restore

when i use the patch opendroid, i can't open camera, and all app using it like snapshot, bug and close ....


thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 169

    Code:
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. 
     * Please do some research if you have any concerns about features 
     * included in this Patch and application before flashing it! YOU are 
     * choosing to make these modifications, and if you point the finger 
     * at me for messing up your device, I will laugh at you.
     *
     */


    First of all, many many thanks to svyat who developed the main application PDroid, thank you!! Before I describe some new features (and old too) I want to say that the Application PDroid2.0.apk is written completely by my own. I just took some styles from svyat to give users the "old PDroid" feeling :) It is a stand alone application and does not need PDroid itself anymore. You just have to apply my patches, install the application and have fun :)


    PDroid 2.0 allows blocking access for any installed application to the following data separately:

    • 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
    • SIM info (operator, country)
    • Network info (operator, country)
    • IP Tables(until now only for Java process)
    • Android ID
    • Call Phone
    • Send SMS
    • Send MMS
    • Record Audio
    • Access Camera
    • Force online state (fake online state to permanent online)
    • Wifi Info
    • ICC Access (integrated circuit-card access, for reading/writing sms on ICC)
    • Switch network state (e.g. mobile network)
    • Switch Wifi State
    • Start on Boot (prevents that application gets the INTENT_BOOT_COMPLETE Broadcast)



    • Big credits to ce4. He is the first donator. Many thanks :)
    • Another thankful guy: schertling. Thank you for your donation :)
    • Thanks to MacDog_AU, who also donated a beer :)
    31
    Big thanks to following translators of PDroid2.0, who made the app available in their native language:


    PDroid2.0 Flash-Repo:
    @ all guys who ever build a ROM with PDroid2.0, please upload the ROM here and post it in this thread or send me the link via pn. I need following additional information:
    • What ROM is it?
    • When do you build it (optional)
    • Which version of PDroid is included (Framework)
    • For which device is the ROM
    You will get full credits in the OP and the link for the REPO will also be present inside the description for the app in googleplay.

    How does it work? Just download the ROM for your device and flash it. Then you're able to use PDroid2.0!
    Side-Note related the devices:
    Nexus 4 = mako
    Nexus 7 Wi-Fi = grouper
    Nexus 7 GSM = tilapia
    Nexus 10 = manta
    THX to Koetermann!


    • ROM: PACMAN
      Date: 02.15.2013
      MD5: c810f45732bf1f3fd82eccd7bfda2ca0
      PD-Version: 1.57
      Contributor: AuSSiELaMbChOpS
      Download: here
      ----------------------------------------------
    • ROM: CM10.1
      Date: 18.05.2013
      MD5: unknown
      PD-Version: 1.57
      Side-Note: Also includes kernel patches needed for DriveDroid to let you boot your computer from an iso image on your phone.
      Contributor: jpeg725
      Download: here

    Galaxy Note 2 (N7100):

    • ROM: CM10.1
      Date: 15.05.2013
      MD5: db79e0530214299120409be241063a1e
      PD-Version: 1.57
      Contributor: biglsd
      Download: here
      ----------------------------------------------
    • ROM: PACMAN
      Date: 15.05.2013
      MD5: daa60cde908b43addc8be9e711cb6c2e
      PD-Version: 1.57
      Contributor: biglsd
      Download: here


    • ROM: PACMAN
      Date: 15.05.2013
      MD5: bcdfee8a5b18b31871cc992ee875810d
      PD-Version: 1.57
      Contributor: optx
      Download: here
      ----------------------------------------------
    • ROM: CM10.1
      Date: 12.05.2013
      MD5: 7d3baba799c4b65ee2aeabf8d56d9839
      PD-Version: 1.57
      Contributor: Koetermann
      Download: here
      ----------------------------------------------
    • ROM: CM10.1
      Date: 19.05.2013
      MD5: b5d07c91c12c913cf6aa06f3f45ef56f
      PD-Version: 1.57
      Contributor: optx
      Download: here
      ----------------------------------------------
    • ROM: CM10.1
      Date: 23.05.2013
      MD5: 9d147c00d863723f801c1e434e51b77f
      PD-Version: 1.57
      Contributor: Koetermann
      Download: here
      ----------------------------------------------
    • ROM: JellyBeer
      Date: 16.05.2013
      MD5: b5d07c91c12c913cf6aa06f3f45ef56f
      PD-Version: 1.57
      Contributor: optx
      Download: here



    • ROM: CM10.1
      Date: 15.05.2013
      MD5: baa6445ae4162666010509bdcce8ad7c
      PD-Version: 1.57
      Contributor: biglsd
      Download: here

    Samsung tab 2 7" (p3100)

    • ROM: CM10.1
      Date: 15.05.2013
      MD5: 93de5d7866b1cee7bc224fb4411380f1
      PD-Version: 1.57
      Contributor: biglsd
      Download: here

    Google Nexus 10 (manta)

    • ROM: CM10.1
      Date: 11.05.2013
      MD5: bf19181df5d4b76e4b218ee5a31a58cf
      PD-Version: 1.57
      Contributor: Koetermann
      Download: here


    • ROM: CM10.1
      Date: 10.05.2013
      MD5: unknown
      PD-Version: 1.57
      Contributor: Hired Geek
      Download: here

    Samsung Galaxy Note (n7000)

    • ROM: CM10.1
      Date: 19.05.2013
      MD5: 16bb075282405af00ce9eb47b7e6eee5
      PD-Version: 1.57
      Contributor: I900-Nutzer
      Download: here

    ZTE Blade / Orange San Francisco

    • ROM: CM10.1 by KonstaT
      Date: 19.05.2013
      MD5: 5ab4126a095ddb9329c831e0a10e7e2d
      PD-Version: 1.57
      Contributor: I900-Nutzer
      Download: here

    Galaxy Nexus GSM (Maguro) (i9250)

    • ROM: CM10.1
      Date: 19.05.2013
      MD5: da95b698cbdeb9da4285e1629047b9be
      PD-Version: 1.57
      Contributor: Teemoo
      Download: here

    Samsung Nexus S (crespo)

    • ROM: CM10.1
      Date: 21.05.2013
      MD5: 3c98c8056a65b4f0709e61bc736d9100
      PD-Version: 1.57
      Contributor: En0id
      Download: here

    Samsung Galaxy S (i9000)

    • ROM: CM10.1
      Date: 24.05.2013
      MD5: d5e8a8ccf40aa8f4a239479a73b94ff2
      PD-Version: 1.57
      Contributor: Koetermann
      Download: here

    galaxy note 1 (n7000)

    • ROM: CM10.1
      Date: 24.05.2013
      MD5: b790483b2d17627c7e5cb55fd31b64ab
      PD-Version: 1.57
      Contributor: karamelos
      Download: here
      ----------------------------------------------
    • ROM: SlimRom v5.6
      Date: 23.05.2013
      MD5: b46740fcbf0e8688707863be88704d86
      PD-Version: 1.57
      Contributor: I900-Nutzer
      Download: here
      ----------------------------------------------
    • ROM: JellyBeer v4.20
      Date: 22.05.2013
      MD5: 0703f5730b8e90b83cca980f83f801e5
      PD-Version: 1.57
      Contributor: I900-Nutzer
      Download: here
      ----------------------------------------------
    • ROM: PACman v22.3.0
      Date: 23.05.2013
      MD5: c84cfaeda5fb9fb651030f740353a9fd
      PD-Version: 1.57
      Contributor: I900-Nutzer
      Download: here
    19
    this release is a prerelease
    I'm ready now and want to pull out a pre-release of PDroid2.0 v1.54. Please feel free to test it and report bugs if there are any :).
    The patches are not tested so please report if anything fails! I'm now going to host all this stuff on github asap.


    News related to the Manager Application:

    • fixed angry birds bugs (multiple apps with same name can't access the privacy settings)
    • Fixed bug in batch profile mode where also system apps gets the profile instead of user only
    • Minor GUI improvements -> new dialog layout, fixed layout for devices which have no hard-keyboard, fixed layout for tablets (ou, that was ugly), a lot of more gui improvements
    • Added Random button in batch profile mode
    • Added random and clear button in the settings dialog if you want to add custom values
    • Added installed notification preference, now you can disable instant notification
    • Changed the update notification to smartmode -> same function as discussed in thread. Only if permissions changed you will get instant notification
    • Fixed the search bar
    • Fixed the keyboard bug if you leave pdroid with home button
    • Added failSafeMode handler(description look at core feature)
    • Added persistence notification in notificationbar which is showing current protection state(logging state, failsafeMode state, current PermissionMode, Database Connection Error Count or Manager Connection Error Count). You're also able to quick access settings, preferences, and logs
    • Switch Debug mode for core logging feature
    • Disable applications handling (description look at core feature)
    • Additional information in "Core and App Information" to see which current hardcoded default deny mode is active
    • many more...


    News related to Core:

    • Fixed llam bug
    • fixed google listen crashed
    • fixed camera bug (thx to MB66)
    • a lot of more fixes. I can't listen them all here, if you want to know some specific fixes, just ask for :)
    • Fixed the announced security bugs (thx to FFuy5)
    • Fixed bug where users have to delete the privacyDatabases to upgrade to PDroid2.0 or OpenPDroid
    • Fixed more security related bugs (every app was able to create its own data access log and a lot of more)
    • Implemented FailSafeMode with self recovery: Until the latest versions every root application was able to delete your privacy database which causes that all "doors" are open and PDroid decided to give the applications the real value. It also was able to modify entries inside of the database for ALL applications and change the settings. But what is the FailSafeMode? This mode is permament watching for unauthorized database accesses. That means if anyone tries to make changes in your privacy database or delete it to get your personal information PDroid triggers the FailSafeMode. The database and all current settings will be deleted and the return values of all settings will be empty, so all accesses will be blocked while you're in FailSafeMode. If PDroid detects a possible attack you will get an instant notification which informs you about the attack and that your system is now in FailSafeMode. After that PDroid tries to handle this case itself, that means it will try to recover the latest privacySettings and set up PDroid from scratch. It will take some seconds and you will receive another notification if the recovery was successful or not. Than you can go to preferences and deactivate the failSafeMode. Now your system is safe again! Once again, if you're currently in FailSafeMode, no application is able to get your personal information.
    • Implemented a core Privacy Debugging Bridge (PDB): A lot of developers wrote me emails and asked for such a feature. Here it is. With the latest version I wasn't able to detect a bug directly because of missing framework logs. But if you logging the whole time the problem is that your system logs will blow out, that's bad. Now you can enable and disable the core logging by enable/disable the preference in PDroid2.0. It alos has the advantage that you can now provide PDroid2.0 logs in a very effective way. You just have to open CatLog or other LogCat readers and type in the tag field "PDroid2.0". Now only core logs which are related to PDroid2.0 will appear and I can have a look at it.
    • enhanced core logging -> Added additional core logging information for EVERY class, now I'm able to give better support.
    • Restructured - partial or complete rewritten PDroid related framework classes. I did it because I implemented also a hardcoded default deny mode
    • Enhanced complete database threading (in a similar way ffuy5 did it, but not the same)
    • Added complete privacyCaching: I've added a complete privacy Cache handling system which allows very effectiv privacy settings access. Why you did that? If you open the Database in android it will cost a lot of CPU and that causes more battery consumption. PDroid open and closes the database a lot of times and that will cause a lot of battery and cpu consumption of your device. Harmful applications can hammer on the settings and your system will lag, that's not good at all! Now you can say: "ok, then i just leave the db connection open". Yes you can, but if you read the developers guide on android you will see that it is not a good way to do it. Summary: The cache will save battery, preserves your cpu. The only disadvantage of this is that it needs more memory, but you will never notice that :)
    • Fixed horrible service connection bug: Until now the problem is that the connection to the privacy service often fails. This causes some privacy information leaked. How did you implemented it? I was able to implement a central reconnection management. Now, on every dataaccess the system tries to connect to the service 5 times, if that fails the hardcoded default deny mode will trigger (description below). I'm running this bugFix now 3-5 weeks and never noticed (I have implemented a counter which is watching this error) a connection failure anymore.
    • Implemented a hardcoded default deny mode: This mode is the last and deepest "surface" which prevents PDroid2.0 from leaking data. What will happen if ever security mechanism fails? The answer is the default deny mode. The default deny mode is hardcoded and cannot be changed dynamically. People who compiling by their own can easily change this hardcoded mode. They have just to change one variable. You can decide between 3 modes: EMPTY, REAL, RANDOM. Just adjust this setting before you compile. You can easily check the current default deny mode of your framework in the manager application at "Core and App information". If you have notification enabled, you will get a special notification which indicates that the default deny mode was active. Btw: since I've fixed this bug I've never noticed that this hardcoded surface was active. So now PDroid works really really stable.
    • Implement disabling apps feature: The disabling apps feature allows you to automatically disable (freeze) the application until you've commit and saved the settings of the new installed application. There are some additional features (like freeze also system apps or freeze on update ....) which allows you to fine tune your settings. This feature will not disable the application like TitaniumBackup does. It search for every provider, receiver, activity or service and deactivates them. So the application cannot receive broadcast's or whatever until you enabled it.
    • Implemented/enhanced task Killing feature: First: the task killing feature is NOT similar to other task-killer you've ever seen on android. It does not showing you current running processes or whatever. With this feature you're able to FORCE CLOSE an application, similar to the force-close-button in the detailed app screen on android. Why should I need this feature? Sometimes you don't want that applications like face-book or google-play running in background. Normal taskkiller are not able to kill background service so task-killing won't work. With PDroid2.0 you can just kill them and they won't restart anymore until you opened the application by yourself.
    • many more.....

    For people who compile by their own, you can change the dafault deny mode in the package android.privacy [class PrivacySettings.java].
    Just change this line:
    Code:
    public static final int CURRENT_DEFAULT_DENY_MODE = DEFAULT_DENY_EMPTY;
    to your demanded mode. Examples:
    Empty
    Code:
    public static final int CURRENT_DEFAULT_DENY_MODE = DEFAULT_DENY_EMPTY;
    Real
    Code:
    public static final int CURRENT_DEFAULT_DENY_MODE = DEFAULT_DENY_REAL;
    Random
    Code:
    public static final int CURRENT_DEFAULT_DENY_MODE = DEFAULT_DENY_RANDOM;

    Ready Build for SGS2:
    I'm not sure if this build contains the latest changes. If it doesn't work for you please get in touch with me.

    Preview:
    screenshot20130128211633B5V5A.png
    screenshot20130128211703G76OC.png
    screenshot201302081534243LNRN.png
    screenshot20130208153447SJ73G.png
    screenshot20130208153457ABJ5T.png
    screenshot20130208153522B39QZ.png
    screenshot201302081537554HJUP.png
    screenshot20130208154959FJKC9.png
    17
    Hey,

    here I am. Hopefully back in business with PDroid2.0 :D I know a lot of people sitting on needles and can't wait until the new version released. I can understand you :) So, I would like to answer some questions:

    Why you need so much time for the next release?
    First: I have a real life and had a lot to do last time so I wasn't able to work on PDroid2.0 the whole time.
    Second: I've restructured a lot in the framework and the core is now partial rewritten by me, more detailed description will follow below.

    What the state of the current development?
    I'm now running Android 4.2.1 for 2-3 Weeks and it is working really stable now. I've finished my work at the last night and it need just a little bit of testing, but there is one BIG problem. The "upload electronic" (in german it calls "ladeelektronik", hopefully it is the right word in english...) of my device is damaged. I have to save some money to get a new device :( Now I only can test my work with the device of my girlfriend if she allows that :laugh: I just need to update the CM10.1 version and check if my code fits with the newest updates (I'm currently developing with a nightly which is older than 1 month) and then I will build the patches and release them.

    It took a long time until you released your new version. Can I except a bunch of "changings"?
    Yes, you can. There are a lot of changings in the new version at the CORE and Application itself. The only disadvantage of this is that it is not compatible with OpenPDroid or older version of PDroid2.0. I will looking forward to make a compatible version, but you all sitting on needles to get it and I will release the "pre-version" of it.

    News related to the Manager Application:

    • fixed angry birds bugs (multiple apps with same name can't access the privacy settings)
    • Fixed bug in batch profile mode where also system apps gets the profile instead of user only
    • Minor GUI improvements -> new dialog layout, fixed layout for devices which have no hard-keyboard, fixed layout for tablets (ou, that was ugly), a lot of more gui improvements
    • Added Random button in batch profile mode
    • Added random and clear button in the settings dialog if you want to add custom values
    • Added installed notification preference, now you can disable instant notification
    • Changed the update notification to smartmode -> same function as discussed in thread. Only if permissions changed you will get instant notification
    • Fixed the search bar
    • Fixed the keyboard bug if you leave pdroid with home button
    • Added failSafeMode handler(description look at core feature)
    • Added persistence notification in notificationbar which is showing current protection state(logging state, failsafeMode state, current PermissionMode, Database Connection Error Count or Manager Connection Error Count). You're also able to quick access settings, preferences, and logs
    • Switch Debug mode for core logging feature
    • Disable applications handling (description look at core feature)
    • Additional information in "Core and App Information" to see which current hardcoded default deny mode is active
    • many more...


    News related to Core:

    • Fixed llam bug
    • fixed google listen crashed
    • fixed camera bug (thx to MB66)
    • a lot of more fixes. I can't listen them all here, if you want to know some specific fixes, just ask for :)
    • Fixed the announced security bugs (thx to FFuy5)
    • Fixed more security related bugs (every app was able to create its own data access log and a lot of more)
    • Implemented FailSafeMode with self recovery: Until the latest versions every root application was able to delete your privacy database which causes that all "doors" are open and PDroid decided to give the applications the real value. It also was able to modify entries inside of the database for ALL applications and change the settings. But what is the FailSafeMode? This mode is permament watching for unauthorized database accesses. That means if anyone tries to make changes in your privacy database or delete it to get your personal information PDroid triggers the FailSafeMode. The database and all current settings will be deleted and the return values of all settings will be empty, so all accesses will be blocked while you're in FailSafeMode. If PDroid detects a possible attack you will get an instant notification which informs you about the attack and that your system is now in FailSafeMode. After that PDroid tries to handle this case itself, that means it will try to recover the latest privacySettings and set up PDroid from scratch. It will take some seconds and you will receive another notification if the recovery was successful or not. Than you can go to preferences and deactivate the failSafeMode. Now your system is safe again! Once again, if you're currently in FailSafeMode, no application is able to get your personal information.
    • Implemented a core Privacy Debugging Bridge (PDB): A lot of developers wrote me emails and asked for such a feature. Here it is. With the latest version I wasn't able to detect a bug directly because of missing framework logs. But if you logging the whole time the problem is that your system logs will blow out, that's bad. Now you can enable and disable the core logging by enable/disable the preference in PDroid2.0. It alos has the advantage that you can now provide PDroid2.0 logs in a very effective way. You just have to open CatLog or other LogCat readers and type in the tag field "PDroid2.0". Now only core logs which are related to PDroid2.0 will appear and I can have a look at it.
    • enhanced core logging -> Added additional core logging information for EVERY class, now I'm able to give better support.
    • Restructured - partial or complete rewritten PDroid related framework classes. I did it because I implemented also a hardcoded default deny mode
    • Enhanced complete database threading (in a similar way ffuy5 did it, but not the same)
    • Added complete privacyCaching: I've added a complete privacy Cache handling system which allows very effectiv privacy settings access. Why you did that? If you open the Database in android it will cost a lot of CPU and that causes more battery consumption. PDroid open and closes the database a lot of times and that will cause a lot of battery and cpu consumption of your device. Harmful applications can hammer on the settings and your system will lag, that's not good at all! Now you can say: "ok, then i just leave the db connection open". Yes you can, but if you read the developers guide on android you will see that it is not a good way to do it. Summary: The cache will save battery, preserves your cpu. The only disadvantage of this is that it needs more memory, but you will never notice that :)
    • Fixed horrible service connection bug: Until now the problem is that the connection to the privacy service often fails. This causes some privacy information leaked. How did you implemented it? I was able to implement a central reconnection management. Now, on every dataaccess the system tries to connect to the service 5 times, if that fails the hardcoded default deny mode will trigger (description below). I'm running this bugFix now 3-5 weeks and never noticed (I have implemented a counter which is watching this error) a connection failure anymore.
    • Implemented a hardcoded default deny mode: This mode is the last and deepest "surface" which prevents PDroid2.0 from leaking data. What will happen if ever security mechanism fails? The answer is the default deny mode. The default deny mode is hardcoded and cannot be changed dynamically. People who compiling by their own can easily change this hardcoded mode. They have just to change one variable. You can decide between 3 modes: EMPTY, REAL, RANDOM. Just adjust this setting before you compile. You can easily check the current default deny mode of your framework in the manager application at "Core and App information". If you have notification enabled, you will get a special notification which indicates that the default deny mode was active. Btw: since I've fixed this bug I've never noticed that this hardcoded surface was active. So now PDroid works really really stable.
    • Implement disabling apps feature: The disabling apps feature allows you to automatically disable (freeze) the application until you've commit and saved the settings of the new installed application. There are some additional features (like freeze also system apps or freeze on update ....) which allows you to fine tune your settings. This feature will not disable the application like TitaniumBackup does. It search for every provider, receiver, activity or service and deactivates them. So the application cannot receive broadcast's or whatever until you enabled it.
    • Implemented/enhanced task Killing feature: First: the task killing feature is NOT similar to other task-killer you've ever seen on android. It does not showing you current running processes or whatever. With this feature you're able to FORCE CLOSE an application, similar to the force-close-button in the detailed app screen on android. Why should I need this feature? Sometimes you don't want that applications like face-book or google-play running in background. Normal taskkiller are not able to kill background service so task-killing won't work. With PDroid2.0 you can just kill them and they won't restart anymore until you opened the application by yourself.
    • many more.....

    Now I have no more time to write and hopefully I will edit this post soon.
    @All people who tries to get in touch with me via PM or email (flooded :eek:) I will answer as fast as I can. But the highest priority now is to release the new Version of PDroid2.0 ASAP.
    Thanks for reading this post and hopefully you can understand my text. If not, just ask, because I wrote this text very fast....
    16
    It also works with TWRP. Tested it on my i9300.

    @CollegeDev: Could you edit the OP concerning to TWRP?


    Regards

    Koetermann

    Yes, I will do it.

    News:
    PDroid2.0 goes now to Github. :good::good:

    I'm currently learning how to handle sources with github and if anyone has a good solution how I can sync my sources with Github -> please get in touch with me, thanks

    You can find me on GitHub for this application under following link:
    https://github.com/CollegeDev/PDroid2.0_Manager
    Other repos:
    https://github.com/CollegeDev/PDroid2.0_Manager_Compiled -> here you can download the newest builds under the "devil" branch
    https://github.com/CollegeDev/PDroid2.0_Framework_Patches -> patches

    You can now open issues and enhancements if you like :)