yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] schertling:
Hi, first of all thanks a lot for taking the trouble and time for managing such a crucial security feature missing in vanilla android :good::good::good:. I really appreciate the expertise involved and the outspoken cooperation.

I would like to suggest the general integration of PDroid as a standard mod.in custom ROM releases as soon as it can be declared technically matured (which it seems to be to a great extent already). This would save the pains (and errors) involved for refining aftermath to new releases of whatever ROM. Is it possible to promote this?
[Android Apps and Games] wbedard:
Nevermind about item #2. In the previous version of your patches, the file JB_libcore.patch

started by adding the file ...PrivacyInputStream.java from a CM9 source tree. The patch file

ended by adding the file again, this time from a CM10 source tree. I just now realized that it

was simply a duplicate entry in the patch file. I have attached it for your reference.

BTW, I am impressed that you were able to get rid of such a large file as TelephonyRegisty!
[Android Apps and Games] SecUpwN:
I'm wet in my pants now. Thanks for stating this! :)
[Android Apps and Games] eminakbulut:
Great work. Thank you!
[Android Apps and Games] schertling:
If that is so one could at least prepare a more user friendly docking interface for it than having to modify the ROM by generating and flashing patches, more like any normal installation. Myself I'm a programmer too so I can think like a dev too. But the current solution is highly obstructive for plain users. I think it should be supported standard like probably an anti virus app also should be. Optional of course, but no one I know would even think of choosing that way to disencourage malicious apps.
[Android Apps and Games] welle12:
patch is borked

why applying JB_framework.patch v 1.51 i get this

patch -p1 < ../patches/JB_framework.patch

patching file frameworks/base/Android.mk

patch: **** malformed patch at line 13: @@ -74,6 +78,7 @@ LOCAL_SRC_FILES := $(filter-out \

# deleting the first hunk solves the problem:

-@@ -39,7 +39,11 @@ SECONDARY_FRAMEWORKS_SUBDIRS := \

- media/java/android/media/audiofx \

- media/mca/effect/java/android/media/effect \

- media/mca/effect/java/android/media/effect/effects \

-- voip/java/com/android/server/sip

-+ voip/java/com/android/server/sip

-

-include $(CLEAR_VARS)

-

the first hunk also is somehow useless as it doesn't change anything
[Android Apps and Games] wbedard:
Congrats on the new patches for PDroid 2.0! True to your word, boot-time apps are now starting and most everything seems to be working well. However, if you'd like to start your to-do list for the next iteration, I have an app that I believe is being adversely affected by PDroid2. Although I have been testing various things, I'd like your thoughts on whether the framework patches are causing the problem.

1. ALTitude (Google Play) - This app overrides the location polling and reporting of Google's Latitude service. Using this app has a very positive affect on battery life for any device that has Google Maps installed. With PDroid2 installed, this app force closes upon start (works fine with original PDroid). Please see the attached logcat for more info.

I know you are very busy so please don't feel that this is an "urgent" issue for me, since it isn't. I will put my grouper device through a "shake-down" over the next week or so and report any other issues that may crop up. Until then, congrats on a great update to PDroid2... :D
[Android Apps and Games] Gargantuantua:
i tried updating by repatching my rom with ApG 2.0, but I'm still getting the com.android.phone has stopped pop up. It wasn't near as bad all day until now, and it's getting unbearable. I assumed ApG auto synched with the latest patches but when I open Pdroid it says Installed Patch Version: 1.48 Installed App Version 1.50. How do I patch with the latest patch?

heres my patching log http://codepad.org/rqFNN5sV

logcat http://codepad.org/9L7PJ8c0
[Android Apps and Games] @root@:
has anyone tried to port the patch(diff) to cm9 or any ICS rom ?
[Android Apps and Games] scutworker:
When I use the backup function what file(s) are created containing the data.

I ask because I want to know what files I need to save if I wipe my phone (system and data partition).

Can I just save some files off then restore them later?

Cheers.
[Android Apps and Games] .:Crack:.:
OK Thanks!
[Android Apps and Games] CollegeDev:
Yes, have seen this but I thought it wont get problems. Fixed it for now.

I will have a look later. If you have time, you can test my new application. There are a lot of bugfixes and new features. In general: I need 2 testers who get the newest version and have to test it before I will release. I think that's a better way to go.

Write me pm if you're interested in this.

Autopatcher doesn't update to latest patch. Just wait for update and patch again.

I started with this, but I have also to develop and improve the CM10 version and management-app too. So it can take a while.

Just read FAQ in OP. Backup with Titaniumbackup. Open app after wiping your device, press "reload apps" button and wait. After that you can restore your settings. Please report if it works for you.
[Android Apps and Games] vpmtl:
Need help with install

I have a Samsung Galaxy S3 with CyanogenMod 10 Jelly bean 4.1.2. I'm having a hard time understanding how to install Pdroid on my phone is there a video or a full instruction post somewhere where a average user like me can install this without f**king my phone. Thanks You
[Android Apps and Games] karamelos:
Try with auto-patcher simply way or compile it from source see op little instruction

Auto patcher link:

http://xdaforums.com/showthread.php?t=1719408
[Android Apps and Games] vpmtl:
I already check on the auto patcher post they do really explain how to use it, what do I have to do ones I download the auto-patcher file with Pdroid.

Thanks
[Android Apps and Games] karamelos:
your question are not in good thread.

For windows try ApG: link post http://xdaforums.com/showpost.php?p=31648393&postcount=690

For linux:

extract zip & open termial

go to your directory

cd ~/auto_patcher
./auto_patcher your_directory_of_your_rom.zip pd2.0 (rom type)

flash update.zip in recovery

download apk &

install it
[Android Apps and Games] sogbal:
I use android2.37,I hope this pdroid extension will support it in the future
[Android Apps and Games] crafty35a:
Does this mean that Autopatcher won't update to your 1.51 patch until you release a newer version? Is there any way for us users to manually update to your latest patch? I'm using APG, but can do whatever is needed to get up and running with 1.51. I am experiencing the com.android.phone crashes that are apparently fixed with your newest patch.
[Android Apps and Games] wbedard:
I believe your options are in the following order by timeliness:

1. Build you ROM from source using provided PD2 patches.

2. Wait for someone else to do the same. They could provide you with the modified framework files directly. Use adb to install.

3. Wait for the maintainer of a ROM supported by autopatcher to build your ROM (or a closely-related one...) and pass the modified framework files to mateorod so he can create the patches for the github repo. At this point, I think ApG -might- have access (though I forget...).

4. After #3, wait for a new release of auto-patcher that supports those patches.

Please do correct me if I'm wrong on anything!
[Android Apps and Games] MelTraX:
Thank you so much for continuing/restarting this awesome project.

I currently use PDroid (will update to your 2.0 soon) and DroidWall to satisfy my paranoia. I would still love one thing though: To take back the control over my internal storage.

I would love to have a per app option either to allow normal access to the "SD card", lock the access to a sandbox in /Android/data/<package_name>/files/ (making the app think that that's actually the root dir of the storage while returning the same dir from getExternalFilesDir) or disallowing access completely (making the app think it's disconnected or full or whatever).

The security/privacy concerns are one thing but I also hate how the storage becomes cluttered with so much stuff after trying a few apps. Sure, if every app would use getExternalFilesDir and getExternalCacheDir like they are supposed to this wouldn't be an issue but that won't happen anytime soon.

Do you plan to include something similar in PDroid 2.0 at one point? And/or is there already another project that provides such functionality?
[Android Apps and Games] Px80:
i cant find the backup file on the sd card ^^ where is it located at?

would a autoupdater not be great? :)
[Android Apps and Games] scutworker:
I've been using this app (having patched my HTC Desire running an Evervolv ROM) and all is well except that a few apps that are supposed to start on boot no longer do so.

I created the patches using 'The Auto Patcher'

The apps are: Screebl, Tasker and System Panel.

I have not chnaged the settings in Pdroid for any of them so they all show as "real".

When the Pdroid patch is applied, the apps still start as normal. As soon as the Pdroid app is installed they fail to start on the next boot and continue to do so even if the app is then removed. Only by flashing the 'restore.zip' do they start to work on boot again.

I've captured a logcat from boot right up to when the apps are supposed to start, but I can't see any mention of them in there.

So, I hope you find time to take a look at it and maybe be able to fix it.

Cheers.
[Android Apps and Games] CollegeDev:
Yes, I think mateo is updating his patches. So please wait for update.

There are a lot of new things that I can implement, that is one of it. But the problem is time. First I want to get it stable for the most devices. Simultaneously I have to update the management app with new features and bugfixes. That's all a lot of work. If there is some more spare-time I will update new features too.

What do you exactly mean?

Does the apps crashed on boot? If the applicatons start on boot no longer (and no FC) -> this is a known bug and fixed in new patch v1.51 !

For people who provides logcat: Please upload two kind of logcat, one with no filter (verbose) and one with filter: error. That's a lot easier to find what's going wrong.
[Android Apps and Games] Px80:
how do i copy the backup if i wipe my phone to use another rom?

or what does pdroid backing up?
[Android Apps and Games] CollegeDev:
Just read FAQ in OP:
[Android Apps and Games] PloniAlmoni:
I can't find PDroid.jpeg in the PDroid.zip file, I'm compiling it into my CM10 ROM for Maguro (Galaxy Nexus GSM), by the way.
[Android Apps and Games] karamelos:
:D
[Android Apps and Games] SecUpwN:
Or.. see my signature. :)
[Android Apps and Games] spd2230:
I used the auto-patcher on the 10-31 cm nightly and it works great, but I am no longer able to send MMS. I've tried stock and Go SMS to no avail. Reversing the patches via a factory reset/reinstall of cm gives MMS. Ideas?
[Android Apps and Games] PloniAlmoni:
Is that big thing what goes in the patch? Or is it the little square thing in this message's signature?
[Android Apps and Games] mateorod:
You could also be needing the newest build patches.

Getting all the maintainers together just takes awhile, but we should have at least some roms covered (AOKP and Evervolv are tentative, everything else will be done) in the next 24 hours or so.

Takes time to make 'em, what can we say.
[Android Apps and Games] baastien:
Hello,

Excuse my questions, I've been told a few days ago of Pdroid and its patching.

Do you mean that in this case : * using auto patcher and * app that are not start on boot, the fix is in the new app v1.51 ? I have nothing particular to do with the compiling sources ?

BR
[Android Apps and Games] scutworker:
The fix for apps that don't start on boot is indeed in v1.51. If you can compile your own patches you can use it now. But if you use The Autopatcher you will have to wait for it to be updated to use the v.1.51 patch. As we've been told, the new version should be out tomorrow, but it may not be set up for AKOP and Evervolv roms, they will follow sometime later.
[Android Apps and Games] kerberos7:
Plz make "Pdroid" in Holo Design!

BTW nice work thank you!

What are the best config for pdroid 2.0 ?
[Android Apps and Games] Px80:
where can i download the latest versiopn 1.51?

the apps.zip is the old one
[Android Apps and Games] htrakr:
1.51 is the patch. App should still be the same.
[Android Apps and Games] psycho45:
Hey,

I made a custom rom from a stock ics 4.0.4 htc one x rom, dedoxed it, i have custom recovery installed, i rooted it but my problem is that the auto_patcher software is not working for me. Is there a way for compiling it on my phone? or is there anybody out there who can help me to patch my custom rom?
[Android Apps and Games] mateorod:
There is no Pdroid 2.0 for ICS. If you asked me for help on the Auto-Patcher thread then I am sorry I missed that you were using pdroid2.0 and ICS. Not possible yet, unless you can modify the build patches.

Auto-Patcherv2.4.0 is on our download page or Windows users can try the GUI, ApG. It has new patches for PDroid2.0 1.5.1 for ParanoidAndroid. CyanogenMod10, AOKP and stock AOSP roms. No 1.5.1 for Evervolv quite yet.

Directions here.

Improvements include

Updated pd2.0 patches to 1.5.1 for pa, cm, aokp and aosp. Evervolv is not updated yet, sorry.

The PDroid2.0 update has

Fixed FC of phone.apk for LTE-CDMA phones

Fixed intent boot complete setting (e.g. sometimes apps doesn't start on boot)

Minor bugfixes

Fix potential leak by preloading classes

Return to Chainfire's (f)aapt

Improved rom probing (especially for cm and pa...we are working towards making RomTypes a thing of the past...let us know)

Gsm files now copied in background- our data shows that this is not a problem

Get it while it is hot, I have the sinking feeling I am going to have to do this all over again in the next week or so when 4.2 comes out.

Problems creating a patch with the Auto-Patcher should report to our thread; problems with Pdroid2.0 should stay here. Thanks to the maintainers, wbedard, FFU5y, and poncik, as well as kobik77 for ApG.
[Android Apps and Games] tsatomas:
thank you auto patcher. i apply it on helly bean for pdroid2. everything went ok with this cool patcher. great job, i ll try and other patches with this.

---------- Post added at 12:24 PM ---------- Previous post was at 11:37 AM ----------

After applying patch I have patched version 1.51 and pdroid vedrsion 1.50. is that normal? is there an update for pdroid(thedownload link has v1.50).

Any way, pdroid2 is excellent and very usefull. Many thanks to dev
[Android Apps and Games] Xadder:
you have the latest patch and app avaiable.

App: 1.50

Patch: 1.51
[Android Apps and Games] psycho45:
can't we apply these patches to my custom rom which i created from a stock rom (just rooted, dedoxed,busybox,..basics) i have not installed a custom kernel or i did any other customization to my rom.

it should be possible ithink, because my rom meets the req. for running installing pdroid.
[Android Apps and Games] scutworker:
I'd feed it through The Autopatcher and see what happens. It can patch most roms now.

The Autopatcher on XDA
[Android Apps and Games] marcogtt:
Looks like no.. ..

http://xdaforums.com/showthread.php?p=33802207

Inviato dal mio GT-I9300 con Tapatalk 2
[Android Apps and Games] knirirr:
I tried out Pdroid 2.0 today using the autopatcher on this AOKP rom:

http://xdaforums.com/showthread.php?t=1828250

The patch (1.51) seemed to apply reasonably well (log) and the Pdroid application (1.50) appears to work as it should. I installed the update.zip over the current installation of the OS without wiping /data.

Unfortunately, I soon ran into a problem I've encountered with a couple of other ROMs which had the earlier version of Pdroid installed, i.e. the Google Play store UI becoming unresponsive and an ANR dialog being generated whilst upgrading apps. I couldn't find any solution to this before. Here's a log covering the period of an update (gnettrack) I ran earlier today. There's a section where this occurs:

E/ActivityManager( 358): ANR in com.android.vending (com.android.vending/.AssetBrowserActivity)
E/ActivityManager( 358): Reason: keyDispatchingTimedOut
E/ActivityManager( 358): Load: 6.8 / 5.45 / 5.04

The trace file is here. Is anyone else affected by this problem? I don't recall seeing reports anywhere. Is there anything I can do about it other than dropping Pdroid use again or putting up with ANRs?
[Android Apps and Games] bonanza123:
i'm still having issues with not correct applied permissions. In the video I attached you can see that I have for SystemUI set all permission to "allow" and nevertheless the access to some permissions are denied. In this example I cannot toggle WiFi because of this issue.

P.S.:

I have a fresh installed CM10 version, with patch version 1.51 and app version 1.50. I already tried deleting all privacy related files in \data\... and resetting pdroid app and such stuff...
[Android Apps and Games] CollegeDev:
Will have a look at it later.

Sounds curious. I've tested all possible solutions. Please do following:

1) reload applications

2) save settings

3) give me log of this (logcat)

Then I can see if all was ok or not. For me and my beta tester (wbdard and some friends) all is working fine.:confused:

//edit:

Normally this is not possible, because the settings you can see in the gui are exactly the settings from the system privacy database.
[Android Apps and Games] CollegeDev:
Application updated to v1.51!

@bonanza: Please look if it works for you with v1.51. It now shows if settings successful saved or not. If it doesn't work. Delete complete privacy files in data/system/*, reboot. Try again. If that doesn't work, please give me logcat.

Edit:

II'm in search of a guy who is willing to make a new holo design for PD2.0. Send me pm if you know somebody who would like to create a new design.
[Android Apps and Games] kobik77:
Hey CollageDev,

I'm trying to patch RasBeanJelly with autopatcher and the patch process itself seems OK.

But when flash the update.zip the phone stuck at the bootanimation endlessly.

Attached logcat of the boot process.

Thanks for you work mate.
[Android Apps and Games] psycho45:
I have tried to patch my custom rom with auto_patcher for linux but i got a error message "patching failed"

logfile attached
[Android Apps and Games] wbedard:
Looking at your logfile, it appears that you tried to patch your Android v4.0.4 (ICS) ROM for PDroid2. Unfortunately, PDroid2 isn't supported on anything prior to Android v4.1 (JB). It is a known issue and a standing request to have fixed. No ETA at this time.
[Android Apps and Games] mateorod:
I will try and put in some error checking into the patcher for next update and try to head this issue off.

It isn't something that we really had to work with before, but I have some ideas. I have Evervolv support going in tonight, but perhaps for the next update.

CollegeDev, having wbedard as a beta tester is a great call. He helps make the auto-patcher better on a lot of levels.

Edit: FYI, for practical purposes, only Android 4.1.2 is supported. There are probably 4.1.1 patches build floating around somewhere, maybe, but that's it.
[Android Apps and Games] wbedard:
Oh, stop it you guys... :)

---------- Post added at 06:36 PM ---------- Previous post was at 06:22 PM ----------

Looking at your logcat, I'd say that there's something wrong with your bootimage. I recognize a lot of those same errors from when I was learning how to role my own PDroid-enabled ROM. I wasn't pre-loading framework2.jar which causes all those "class not found" errors. If you upload the autopatcher logfile, we might be able to figure out what's going on.
[Android Apps and Games] psycho45:
Ok is there a jb version for htc one x (not the at&t version) ? and can i upgrade to it like a ota update, because so i can keep my settings etc.

i will take a rom backup from my phone to patch it..
[Android Apps and Games] wbedard:
By George I think I've got it! Here's the deal...there's a short learning curve to get familiar with the default settings for all those permissions. For instance, the default state for "Force online" is disabled (red X) but you have it enabled. Since you are trying to toggle WiFi, Android needs to check the state and it thinks it's already online (am I correct in how that works...anyone?). Try disabling the "Force online" setting, especially for something as critical as System UI, and see if that doesn't fix things.
[Android Apps and Games] vpmtl:
Thanks for the info and help up to now, I'm finally understanding.

I finally autopache with my cm10 rom. Now when I'm in CWM do I apply by /sdcard/update.zip or choose zip from external sdcard?
[Android Apps and Games] karamelos:
Where you put it !!!

In your internal SD or external
[Android Apps and Games] mateorod:
Auto-Patcher 2.4.2 has been pushed to ApG and should be available on our download page imminently.

As always, if it is already working for you as is, no rush to update. The PDroid 2.0 related improvements are:

Improvements include:

Minimum Android version check;

The script will now display an error if you attempt to patch 4.1.1 for pd2.0

Evervolv support for pd2.0 1.5.1 (Thanks to maintainer poncik!)

There was some fiddling with the edify handling this time around, so let me know if it breaks anything for you. As I said in the Auto-Patcher thread: In the very worst of cases, all you have to do is reflash your original rom. No wiping is

ever

necessary!
[Android Apps and Games] GODZSON:
Sent PM to assist in Theme :)

godZson

XDA-MOD
[Android Apps and Games] vpmtl:
Internal.
[Android Apps and Games] mateorod:
I somehow lost this is the noise of both threads. This is a problem with the Auto-Patcher. Wbedard, is aosp-jb patching working for you on grouper image?

I am actually probably to blame for this in the macro sense as well. We submitted that commit upstream to make the space in CM and now have two different framework2.jars to work with.

I haven't been able to test the aosp-jb patches personally in awhile, definitely not since this change came down the pipe.

I will look at it too, but my money is on us putting the wrong framework2.jar. I will have to really think on the process to figure it out. Unless you see something else, wbedard?

Edit: We can take this to the Auto-Patcher thread if you'd prefer.

Update: Kobik, I found the error. Give me maybe 20 mins and I will pm you when it is pushed for you to test.

Update2: Should be fixed.
[Android Apps and Games] wbedard:
I last tested autopatcher back when I initially provided you the v4.1.2 framework files. I recall that the only error I got was the MMS one but I haven't done much testing with autopatcher since then.

From your edit above, it sounds like you have it sorted out. Still, I will test with my AOSP build this weekend and let you known what I see.