yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Didgesteve:
Pdroid patching on SGS2

I might be wrong, but I don't think I've seen any roms with Pdroid built in.

So to simplify it. You have a rom that you want to use, you then adapt or patch that rom with Pdroid settings. This allows Pdroid manager/Pdroid2 .apk to intercept requests from apps to read the sim/phone settings.

A bit of searching found this patch for NeatLite 4.1, but this is a fiddly one as you need to push the files yourself and is not made up into an easy flashable zip.

You could try asking on the Neat thread, although when I asked there about a Pdroid privacy I was told to get a tinfoil hat :(

The thing to do would be to decide what sort of rom you want ie: AKOP, Sammy, CM, and then go thorough the thread of that rom to find if someone has put up openPdroid/Pdroid patches.

I am presuming you don't want to build your own patch.

A good place to start reading is the Autopatcher thread, here.

mateorod is really helpful on that thread, and has a list of roms that are compatible with the openPdriod patch.

Personally I am a big fan of Slimbean, and I have posted openPdroid patches for the last 4 builds of that.

Securing your phone is a simple process, and you are in the right place for help.

Flash your rom

Flash your openPdroid/Pdroid update (specific to that build of rom - important)

Install Pdroid manager, or Pdroid 2.0 .apk. Pdroid manager can be installed from the market.

Then set sim/privacy permissions on your user/system apps . Be very careful of blocking system apps from your sim, as you can break your phone.

Do a nandroid backup if you are unsure of what you are doing.

openPdroid Vs Pdroid 2.0 ?

You need to read up on which app is getting more development. I know collegedev is under a lot of pressure to release new updates, but perhaps he has a life (shock horror) that means he has less time to devote to XDA. openPdroid is an open project with several members and is still in the development stage.

Read read read.
[Android Apps and Games] kaizokan:
Soon, when the new stable PDroid 2.0 version will be released, I make a patch with auto-patcher for a stable 4.2.1 (AOKP/CM10.1) ROM for the SG II i9100.

If you can wait (and if i can wait ;) i can't test now) I will make a patch, so than i could upload it here.

Didgesteve already explained this in previous post, but maybe there was a link of a pre patched rom there??:

If there was a link to a pre patched ROM. i don't know that, but it could be that there was a CM 10.1 pre patched ROM. Than you could have flashed that and use the apk and have fun ;)

If not than it's like usual:

You need the patch for the specific ROM! (made with auto-patcher (on Linux, MacOSX, Windows) Or manually Or when you find the right patch on XDA for example if i upload it for the exact same ROM),

Patching will be the same as flashing a new rom, instead the patch file (zip file) will not replace the rom on your phone but modify (patch) it, so that you can download and install the .apk app to manage the PDroid 2.0 privacy settings in the modified rom to your likings.
[Android Apps and Games] karamelos:
YEeeeeeeeeeeeeeessssssssss !!!!!!!

Thanks for your works @collegedev

i'm very HAPPY to retrieve pd2.0 :good:

​
[Android Apps and Games] Febby:
Dropping some love.. I'm enjoying pdroid 2.0
[Android Apps and Games] SecUpwN:
AW: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

CollegeDev, I'd appreciate it very much if PDroid 2.0 could show a notification icon in the top bar and be able to schedule automatic update checks for new app versions and patches. Awesome work dude! :)
[Android Apps and Games] NicholasQ:
Being a nexus owner, I hope PDroid is updated to 4.2.2 very soon. I've heard many good things about it but using opendroid for now because of compatibility issues.
[Android Apps and Games] I900-Nutzer:
Seems that the latest Updates for 4.2.2 breaks something. Patches still apply successfully but compiling stops somewhere near the End ...
[Android Apps and Games] lothos:
I just built from d2att source with the latest patches, no problem.
[Android Apps and Games] I900-Nutzer:
Tried again today to build CM10.1 from Source for my Note with the same Result:

There is an Error for every "Resouce entry" in strings.xml (a few hundred?), above i posted the Beginning and the End ...

Greetings
[Android Apps and Games] biglsd:
I jusd del packages/apps/Settings/res/values/strings.xml.orig and all compilde fine
[Android Apps and Games] I900-Nutzer:
Thank you - worked :good:
[Android Apps and Games] kaizokan:
CollegeDev and OpenPdroid are merging the two cores (Pdroid2.0 and OpenProid)

See the quote from the Auto-patcher thread by mateorod below:
[Android Apps and Games] SecUpwN:
AW: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

Means PDroid 2.0 will be OpenPDroid in the future? What about the design? What I'm still REALLY missing, is an app (maybe even through PDroid itself) to create patches directly from my phone (although I heard webdard was working on something in that direction)..
[Android Apps and Games] wbedard:
LOL, I wish had that kind of talent! On-device patching has been mateorod's "pet-project" for over a year. Unfortunately, his time recently has been almost completely consumed by maintaining the patches for OpenPDroid in autopatcher. As other people volunteer to take over the "care-and-feed" for the various supported ROMs, mateorod will be able to dedicate more time to other projects like on-device patching. I cannot begin to tell you how excited he is about this and how frustrated he is that he hasn't been able to put more time into it.

R/

wbedard
[Android Apps and Games] bonanza123:
Thanks for you reply. I dont think that the log is wrong, because the app stopped working (with the above mentioned settings). When i set the complete app to REAL-mode then it worked fine again and it got acces to "current wifi network i.."
[Android Apps and Games] curtisf08:
Re: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

Hi. Ive been using a update.zip that someone shared to work with PA 3.0

Today i just happened to look inside the zip and noticed a app folder with "Mms.apk" inside.

Is it normal to have Mms.apk included in the pdroid update zip? or has someone shady added this for sum malicious intent.
[Android Apps and Games] wbedard:
Yes, the Mms app needs to be modified to "honor" the OpenPDroid (OPD) architecture. I believe the stock Mms app would simply "ignore" OPD.

R/

wbedard
[Android Apps and Games] curtisf08:
Re: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

Thanks. Do you know if "last block incomplete in decryption" toast notification is opendroid related
[Android Apps and Games] wbedard:
Hmmm, I've never heard of that error before although I note that Google has numerous results on the subject. Reviewing some of those links indicates that this is a pretty low-level error and almost certainly not directly related to OPD. Could you tell us a bit about your setup, especially any unusual, advanced or otherwise non-standard things you may be doing? Additionally, if this is an easily repeatable error message, please use a tool such as CatLog (in the Play Store) to "record" a logcat session when the error occurs You can store that session as a text file and add it to a post here where people can see what's going on "under the hood."

R/

wbedard
[Android Apps and Games] CollegeDev:
Thanks man:good: It was my fault. It was a catched NullPointer exception while trying to get settings from application which is not registered in systems internal database. Have fixed that. Just try it :)
[Android Apps and Games] karamelos:
Well DONE !!!

Rom: cm-10.1-4.2.2 (see screenshot)

Fixed with new app no fc & fixed latency

No Warning in log

Work Well :good:

Thanks @collegdev
[Android Apps and Games] I900-Nutzer:
Hi Karamelos,

you have adapted the Patches for 4.1.2? Any Chance to get it? :D

Thx!
[Android Apps and Games] karamelos:
Re: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

No I have just compile with collegedev patch

Not 4.1.2 but 4.2.1& 4.2.2 I edited my post it's an error sorry for the confusion
[Android Apps and Games] SecUpwN:
AW: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

Could you post the latest flashable patch for AOKP 4.2.2 by helicopter88? Thanks! :)
[Android Apps and Games] curtisf08:
Re: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

Don't be silly I'm just really worried about this "last block incomplete in decryption" message i keep getting.

Thanks for trying to help. I've worked out it has something to do with one of 2 apps, Cerberus or Lookout. I was concerned i flashed a rogue pdroid.zip with a malicious mms.apk inside. But i now know thats not the case.
[Android Apps and Games] karamelos:
Re: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

Why is malicious? post log or more detail where you download it or post zip
[Android Apps and Games] curtisf08:
Re: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

I think you've miss-understood me. I never claimed pdroid was malicious, I've been using it since its original release.

My phone started displaying odd toast notifications saying "last block incomplete in decryption". I couldn't work out what was causing it and the only things recently installed on my nexus4 was Pdroid, Cerberus & Lookout.

I looked into a pdroid zip i recently flashed and was abit concerned to see a mms.apk included, at the time i didn't know this app was legit and so that's why I've been asking in pdroid related threads.
[Android Apps and Games] karamelos:
No I’ve not misunderstood

Auto patcher include mms.apk but is patched that all, you have the

diff

if you download auto_patcher

post your zip or log for close your paranoia or fix it .
[Android Apps and Games] curtisf08:
Re: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

Forget it now bro as it seems you don't get what I'm saying but am sure others do

When pdroid was originally first released there was no mms.apk included the patched pdroid update.zip. I know this because I used to create patches myself and share in the galaxy ace forum on xda, here take a look http://xdaforums.com/showthread.php?t=1583871

Nowadays, mms.apk seems to be an essential part of the it now

I never knew this until today and that's why I was suspicious of mms.apk at first

Squish it!
[Android Apps and Games] noob00:
Thanks for the answers guys!!

Thanks for the answers guys they were both very helpful, now i've got few questions :)

1) I actually checked out SlimBean, not bad would like to try it but I just manually upgraded (NeatRom as I said before) to 4.1.2 on the Slim

website instead it looks like all the Downloadable Roms for SGS2 I9100 are for 4.2.1 so, if i flash one of those, will it update to 4.2.1 or I

should do it before? if yes, how? :D

2) Didgesteve where can I find those Pdroid patches you were talking about?

3) kazoikan any luck finishing the auto-pdroided-rom? :)

thanks again guys, looking forward to read you
[Android Apps and Games] Didgesteve:
All the builds on the Slimroms site are based on 4.2.1.

There are some instructions on the install here.

This is the Pdroid 2.0 thread, and really I shouldn't be pushing openPdroid here, appologies everyone.

I don't have a patch for the latest 4.2 stable yet, but there is nothing wrong with Slim-GT-I9100-4.2.1.RC.2-OFFICIAL, which I do have patches for.

Download Slim-GT-I9100-4.2.1.RC.2-OFFICIAL onto your phone

likewise Gapps or Inverted Gapps (black menus).

Download the openPdroid update patch for 4.2 RC2 here

Download Romnuke, if you are unsure how to do a full wipe prior to install, this is the easy way to be sure.

With all these downloaded onto your phone, go into recovery:

(You need to get familiar with CWM, or the recovery console, as it's so much easier than Odin)

Power + Menu + Volume up

'install zip from sdcard'

Install Romnuke, but don't restart, go straight back into 'install zip from sdcard',

install Slim 4.2 RC2, then install Gapps, then install update.

Reboot

Once you have been through the Google setup, install Pdroid manager.

For complete protection you should consider AF Wall (andriod firewall)

Really your question about installing Slim belongs on the Slim thread.

Hopefully CollegeDev won't mind, this one time.
[Android Apps and Games] kaizokan:
I first thought we would soon see the patches ready inside auto-patcher for Pdroid2.0 v1.54 but its a lot of work and thus will take time. Maybe the next version will have OpenPdroid and Prdoid2.0 already merged together. I don't know if before the merging Pdroid 2.0 v1.54 patches will be in auto-patcher or not.

But CollegeDev already provided a Ready Build of CM10.1 Beta for the S2 I9100 in his prerelease post. See a part of the quote below:

Link full post: http://xdaforums.com/showpost.php?p=37742535&postcount=623​

I just flashed this ROM and installed the Pdroid2.0 app and it's working so far i can tell in the few minutes i quick checked a few permissions.

I had no user added files and apps.

Blocked SMS access for message app > drafts are not displayed anymore,

Blocked recording for recording app > saves a empty file of 0 bytes

Blocked camera access in gallery app > picture taken are show as a fully gray pictures or better said empty pictures.

(Installed Patch version: 1.54, Installed App version: 1.54). :good:

For now i will restore my previous ROM, i might use it later but not right now.
[Android Apps and Games] bonanza123:
Hey CollegeDev,

here is a new logcat regarding the already above mentioned problem including 2 screenshots. One of them shows the current settings, while to other shows the log from inside the pdroid app where from one try to the other (without changing the settings) once the same permission is granted and then directly again denied.

edit: collgedev, are you still maintaining this seperately from openpdroid ? will you sitll release updates to Pdroid2.0 ?
[Android Apps and Games] iannj:
can this work in windows like pdroid?

hi CollegeDev,

I have upgraded my thunderbolt to MR5 with ics 4.0.4.It is seemed that pdroid 1.3.2 can not work on the new kernel with some errors.Can Pdroid 2.0 works？Here is another problem that PDroid 2.0 must be compiling by my own.and autopatcher does not support Sense.Should I patch my cellphone in windows?Just like pdroid!
[Android Apps and Games] Koetermann:
Hi there,

after http://xdaforums.com/showpost.php?p=37749328&postcount=626 embarrassing post I thought I had to do something. I bought a used laptop, installed Debian Squeeze 64-Bit. Then read, read, read, tried and failed. But after some annoying tries I'm now able to build my own CM ROM from source.

So now, I would like to build a ROM with your prereleased patches. But since last weekend the builds are now 4.2.2. Maybe it's possible still to build 4.2.1 ROMs, but to be hones, I would prefer 4.2.2

Is there a way for you to update to 4.2.2 soon? I know you have little sparetime. :)

Thanks

Koetermann
[Android Apps and Games] inc188:
i am quite the newbie when it comes to this and i really really want this..

is it possible to get this working on the stock 4.2.2 with nexus 4? if so, how?

tnx
[Android Apps and Games] karamelos:
Re: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

4.2.2 is supported by openpdroid

& this https://github.com/OpenPDroid/OpenPDroidPatches/issues/12

for feature project

if you have source & build environment you can try patching source with openpdroid it's work.

Look on github/openpdroid for more instructions
[Android Apps and Games] lothos:
The latest 1.54 dev patches seem to break contact syncing on my device. It also makes the display "laggy", especially the notification pulldown.

(OpenPDroid has the contact problem as well)

I'll throw up a logcat after I test again on a new build.
[Android Apps and Games] SecUpwN:
AW: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

Why is it that OpenPDroid always seems to be a step ahead concerning the patches with AutoPatcher?

I don't want to ditch my shiny PDroid 2.0-App and be forced to use PDroidManager which looks like [insert some ugly words here]. Thinking about it, maybe it would be much cooler merging both projects (I know you hate to hear that, CollegeDev) to accomplish ONE Monster-App which works great and looks killer? :)
[Android Apps and Games] LordValen:
pd2.0 for 4.2.2.?

Hi All

Thanks for the gret work, and me too I'd love to see pdroid 2.0 on the newly released CM10.1 for a I9305...

as what I read about openpdroid it still has a lot of bugs?

(I see no other way to use pd2.0 on my I9305, is there?)

thanks
[Android Apps and Games] nerbrume:
Had that problem too (along with nasty CPU locking in 100% usage), but everything went better after redoing a "clean" install :
[Android Apps and Games] CollegeDev:
We "melt" together with the framework, so no problem at all :) PDroid2.0 is currently merged in by Fuy and then there will be only one framework, but two manager applications.

If there are further questions, feel free to aks :)

I forgot the add the picture for the camera to the provided build, so no PDroid picture will be given instead of the real one. I'm sorry.

PD2.0 wil be merging to OPD, after that only one framework exists. That's the best solution because then we can work together on one powerful framework. In future there is only one framework and 2 managers (PD2.0 and PD Manager).

I will release updates due to PD2.0 application, but this will take some time until we're ready with the merge process. After that there is only one framework but 2 manager applications which can be choosen. My applications will split of in two parts: PD2.0 and PDroid Agent. The PDroid Agent is an addon package which enables more features (like task-killing, disabling apps directly after install them to prevent data leaking and so on).

PDroid does not touch the kernel. If haven't PDroid portet to 4.0.4 it only exists (until now) for android versions above or equal 4.1.2 . Just update your rom and PDroid2.0 will work for you :)

Wow, nice to see you're going that way :)

The actual patches

should

apply to 4.2.2 without any issues.

If you need any help for buildung, just write me pm or send me an email (I prefer email) for native support :good::D

Yes, stock is possible. Read some informations below about this.

Thanks karamelos :) But I the patches normally should apply fine on 4.2.2 too.

Yes, that should solve your problem. Thanks nerbrume :)

As I already said, in future there will be only one powerful framework where we can work all together. Additional features which the team decided to not merge in OPD will be added by me through PDroidAgent which enables more features soon. Then you can still choose by your own which Manager you like to use (PD2.0 or PD Manager).

No problem at all, are you able to compile by your own?

And here are some news related the stock myth :D

Yes, as you can see it is really possible to do that kind of modifications in the stock framework.Based on the newest OTA JB Release from Samsung (Stock ROM) Current state:

Working smooth, only google search FC, but I think it comes due to deodexing

Task-Killing and Disable apps doesn't work at this stage, because I had no more time to work on this "project"

Furthermore:

I believe I found a way to patch Stock ROMs automatically :good: If there is enough demand on it, I will looking forward to write a small programm which can patch Stock ROMs for enable PDroid :) But this really depends on demand and on my spare time too!
[Android Apps and Games] bonanza123:
Thanks for your reply, have you already had the chance to look into the "issue" i mentioned above?
[Android Apps and Games] CollegeDev:
Not yet. If there is more spare time, I will do it this night :)

Can you reproduce the "issue"? If yes, what do you need to do to reproduce it?
[Android Apps and Games] bonanza123:
It seems to be a bit random. But my "procedure" was setting an app, for example BetterWifiOn, to access only the data above (see attached screenshoft here perma link to my post including the screeny). Then I simply turned on and off the screen a few times and had a look into the log, since BetterWifion was configured to turn on the wifi if the screen is unlocked and to turn it off when screen goes off.

Its a bit random because normally it does not work at all, here the correct settings have been applied once. Most often the access is always denied.

Thank you!
[Android Apps and Games] yhrn:
Amazing news! I've missed PDroid like crazy since I left GB on my SGSII 1½ years ago. Would love to see an auto-patching application for stock ROMs. Keep up the good work!
[Android Apps and Games] schertling:
@CollegeDev: Actually I think you will have lots of requests for stock ROM patches if they work reliably. I switched to AOKP mainly because of PDroid. But chasing for stable updates is quite of a chore and returning to stock would be an option for me. I don't have the time to set up my phone completely new with every version flicker of ROMs demanding full wipe for full functionality. Samsung stocks are quite OK once they're released.

Anyway, thanks for your continuing efforts. Merging the framework into one joined edition is truly a big achievement, imho, technically as well as for team spirit.
[Android Apps and Games] LordValen:
pdroid 2.0 on the newly released CM10.1 for a I9305

Hi

Thanks for the reply, and any solution would be good:

Patching Stock Roms (meaning any Samsung-based ROM around here? !!!) would be ablessing for this world, and releasing a new merged framework sounds chilled too...

I don't know the state of your endeavours, whichever is faster (and since I can't compile on my own, pd2.0 for CM10.1 for I9305 users might be nice nevertheless)

Thanks in any case, and great job!
[Android Apps and Games] samsungmario:
Please please can you share your files (core, framework, services etc) so we can do an adb push ? This would be so great with stock JB roms. Thank you thank you!!!
[Android Apps and Games] karamelos:
hi @collegdev

For search source it's not easy.......

Did you release source on your github in future ?

the last source is that (Last edited by CollegeDev; 9th February 2013 at 08:54 AM.) or over?

Please Update op for clarification or git :confused:
[Android Apps and Games] desean:
I hope to see the ability to patch Stock ROMs (and hope you have more spare time too!)

Now hoping to see it soon :D

Thanks in advance! :good:
[Android Apps and Games] kaizokan:
No problem, I just wanted to let everyone know that it works. I don't care if there is replacement picture of Pdroid or not :)

Wait... "instead of the real one" ?? The real one was not shown either.

It was a empty image that when opened on the PC with the windows image viewer showed a text message saying something like "this image does not exist or cannot be opened" or something similar.

On the phones gallery app it was shown as a gray colored screen. And the same image file on my current ROM with the app QuickPic brings op the text: Load failed! The image has a size of 0.00B :p

Anyway i will be waiting for the merged Pdroid now thanks!
[Android Apps and Games] alanbrenton:
I did read about that particular post:

http://xdaforums.com/showpost.php?p=38467779&postcount=688

Does this mean those of us with stock Jelly Bean 4.2.2 will not be able to use the latest PDroid 2.0 release? Thanks in advance for any clarification.

Also if a release was to be made, will it affect receiving OTA updates though I doubt our two Galaxy Nexuses will see the light of Key Lime Pie. :)