yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] karamelos:
Thanks for this fork & this big update

Work fine one my n7000 & official cm10

CollegeDev now renamed UniversityDev :p
[Android Apps and Games] Px80:
is there already a patch for [ROM][16 OCT 12][JB 4.1.2] PACman v14.1 | All-In-One | PA-2.21 | AOKP-B4 | CM10 | K-3 ?

Dont know how to patch by myself without Autopatcher ^^
[Android Apps and Games] wbedard:
Hi CollegeDev,

Since building an AOSP ROM (JZO54K) w/ support for PDroid Extension (PDE), I have noticed an issue where all my apps which startup at boot, at least the ones that place an icon in the notification bar, are not doing so.

I will be investigating the boot-time logcat but, in the meantime, are you aware of any possible interactions with PDE that could cause this behavior?

Thanks in advance!

R/

wbedard
[Android Apps and Games] DerTeufel1980:
I don't have the issue described above. All apps starting and placing their icons.

Btw:

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Android Apps and Games] monx®:
applied & tested this patch & app to CM10 (endeavoru) it works but with some issues.

1-sometimes settings not applied (stick) properly.

2-pdroid ext got delay after installation of 3rd party app (original PDroid has instant notification after app installation)

3-pdroid ext picking different app (random) from currently installed app.

using original PDroid patch & app for the time being.

thanks alot to dev.
[Android Apps and Games] proudfoot:
Have you delete the old pdroid DB?

I can confirm this :(

I also saw some double device id field, and on some app the subscriber id field glued to android id field, so if i change one of them, both changes to the same value.
[Android Apps and Games] CollegeDev:
Thanks!:good:

Nope, not really.

I have to look deeper, can you please give logcat?

Hey, thanks for information. Just delete in folder: data/system: "privacy" (folder), privacy.db, privacy.db-journal. I will fix database update soon if there is more spare-time.

That's normal, just read this article: ClickMe

PDE does not block systemLogs for applications which use root to access to SystemLogs (most apps for JB use root to access to logs).

1. Not able to reproduce! Logcat info?

2. Fixed

3. Fixed

Please post any bug you can find.

Fixed.
[Android Apps and Games] bonanza123:
I can confirm that i somtimes see that a certain app for a certain permission gets blocked and 1 second later it gets the permission. If it really gets the permission I do not know, but this is what is displayed via the notification. And I think its hard to supply a logcat for this because it isnt logged so far right?
[Android Apps and Games] CollegeDev:
I've never noticed that. Yes, it isn't logged. Can you say for which permission this happens?
[Android Apps and Games] Vektor67:
I have a Nexus 7 and currently don't compile. Could I trouble you for some files? I'd love to try this I'm currently on CM10 basd Kaosdroid 3.8 but...I'll flash anything. Thanks
[Android Apps and Games] welle12:
thanks for the app. but is the sourcecode for you app (i mean the apk file) available? if yes where can i find it?

greets
[Android Apps and Games] Gargantuantua:
I had pdroid on my evo 4g, but it seems the way to install is way different now, and I don't understand how to do this. I'm on AOKP jb 10.11.2012b. What's the easiest way to get it installed? Can I just flash some files or do I need to do something more complicated than that? Would really love to get pdroid installed again.

In any case thanks for making this, and working on it. Really awesome.
[Android Apps and Games] SecUpwN:
@CollegeDev: Does Svyat know that you revamped and improved his application?

I'm sure he'd be happy to participate some day, maybe you could notify him via E-Mail? :)
[Android Apps and Games] siseam:
Could you please modify frameworks/base/privacy/java/android/privacy/surrogate/PrivacyLocationManager.java and frameworks/base/core/java/android/app/ContextImpl.java since I get an error when compiling and the original registerService(LOCATION_SERVICE, new StaticServiceFetcher() seems to differ from your patch file.

Furthermore, please update the patch files as they still include some redundant modifications and old line locations.

I have a SGS2. In the attachment I've included the log file with the error I get if I manually patched the sources according to the also included rej files.

P.S.: I'd like to have a look at your PDroid application as well.
[Android Apps and Games] wkwkwk:
Hi,

Are the framework patches on the OP the latest ones?

I can't seem to find any on github, on the PDroid2.0_Framework_Patches is just a readme file.

Thanks.
[Android Apps and Games] mnjm9b:
That all depends...

What is needed the most right now?

I can't compile anymore right now...(need to get a new desktop...laptops just don't cut it for lots of dev work.)

Just recently melted my keyboard...literally....lol
[Android Apps and Games] I900-Nutzer:
Interested in that too ...

Especially in the announced patches for 4.1.2 :good:

Thx!
[Android Apps and Games] kaizokan:
No the attachments in the OP are outdated.

The patches for v1.54 are here: http://xdaforums.com/showpost.php?p=37742535&postcount=623

I don't know about patches for v1.55. I think its just the app for now.
[Android Apps and Games] l3ullseye:
Is it possible to patch a 3.6 Sense ROM???

Thanks
[Android Apps and Games] CollegeDev:
Yes, I added an explanation to this in the OP at "download" category. The latest patches are the 1.54 with the quickfix. The v1.55 is included in the update zip for stock roms. I haven't had time to resync my repo and create new patches based on the newest cm sources. So please wait few days to get the v1.55, thanks.

Hopefully not. I'm waiting for response from user mnjm9b if the current version of PDroid2.0 is running on OPD....

Yes, many thanks for that hint. Please try again. Hopefully fixed that.

Mhhh...you can translate if you want?

Will come in the next few days :fingers-crossed:

Thanks, I've updated the OP.

Yes.

You can now translate PDroid2.0 simply by downloading the named file in op and following the description, so don't hesitate to help me :)

Fixed broken apk in stock repo.
[Android Apps and Games] SecUpwN:
CollegeDev, I would love to switch back to PDroid 2.0, PDroid Manager just feels like playing with toys. Auto-Patcher obviously does not yet support patching 4.2.2 for PDroid 2.0. Will it be added soon? NERVOUS! ^^
[Android Apps and Games] l3ullseye:
So I can patch a sensation ICS 3.6 sense Rom?, where can I find the patch? In the Github or OP?

Thanks

Sent from my HTC Sensation XE with Beats Audio
[Android Apps and Games] lvtjul:
Yeah, I'm interested too by the answer. Maybe can we have some explanation on how to port it on stock rom, that way we can help collegedev to have more stock rom supported ? (i'm on sense 4+ and have some programming skills).
[Android Apps and Games] app13:
Ask about the support of i9100

May i Ask that whether there's a patch for Samsung s2 stock ROM 4.1.2?
[Android Apps and Games] ContactFront:
Hi there,

have a noob question here if anyone could help.

I patched my CM10(4.1.2) using Autopatcher a while back. so atm I have Patch Version 1.51 and App Version 1.52

Having read both this and Autopatcher thread today, which seem to have some conflicting info, i'm under the impression that autopacher currently don't support the latest 1.54 patch, is this correct?

so my question is am I able to just update the App to latest 1.54 and use it with the old core Patch 1.51, or it's a no-no

Many thanks!
[Android Apps and Games] kaizokan:
Yes the current PDroid2.0 version that currently is supported by Autopatcher is v1.51.

If you try app v1.54 I'm pretty sure you will get a message telling you that you cannot (and even will not allow you to) use the v1.54 App with the v1.51 framework, but can try it out to be sure (make a backup first).
[Android Apps and Games] Fallinon:
Hey =)

Gosh i wish i have seen that before....

I have few questions on doing it the right way that i cannot find in FAQ up for now

Is it possible to use this on my SG2 i9100 running on STOCK 2.3.4 GB ? Else do i need deodex before flash the install.zip ?

First try ended up in forced closing my gapps =(

The Factory reset afterwards ended up in a bootloop...wayne wonders :P

so maybe u can gimme some advice how to bring that awsome stuff to work ?
[Android Apps and Games] app13:
question about patch for s2 stock 4.1.2 ROM

Hey,

thanks for developing such an awesome software ,and it must be very useful ,but it's a pity that i cant use it on my galaxy s2 running stock ROM 4.1.2 ,because no patch can be found(actually ,i have visited the github ,only find a patch for n7100 ) ,nor can i made one using auto-patcher in Windows .i'm not a very skilled user :( ,so compiling it is hard for me .in the github ,i found you have a plan to support 9100 ,so could i know will it be possible for me to use it without flash another ROM ?or when will the patch come out ?
[Android Apps and Games] BleedingIris:
Universal patches

Just wanna know ~~ are you thinking of integrating this into cyanogen sources in the future?

It'll be appreciated greatly, since both are open source and more will get to use your app.

---------- Post added at 02:46 AM ---------- Previous post was at 02:35 AM ----------

And can't we create universal Flashable zips instead of compiling whole Roms...

Plan is to use patch functions of busybox in updater scripts...

Look here

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

(last 4 lines )

Instead of source patches, guess it needs Android system specific patches. May need something like autopatch updater script and patches :p
[Android Apps and Games] jahrule:
How do we go along with trying to patch a stock ROM for our phone? T989
[Android Apps and Games] Teemoo:
Any news about new pathes? My first time building/using git. I did managed to build my first rom, altough I corrected some directory names, I couldn't patch CM nightlies using v1.54.

And where do I have to put pdroid.jpg ? the root of your Android source code, which contains folders such as 'build', 'frameworks', 'vendor', etc ?
[Android Apps and Games] Didgesteve:
Sorry, it's still not yet possible to patch stock roms. If you read on the Autopatcher thread.

But it is a project for the future, and I believe that CollegeDev will announce when it is ready.
[Android Apps and Games] Fallinon:
It is possible up now but as i understand only on N7100 ?!

Collegedev ? Maybe u can give us a clue ?!
[Android Apps and Games] app13:
maybe i need to be more patient

actually ,i had read the Autopatcher thread, but when i visited the github of CollegeDev mentioned at the beginning of this thread ,i found there is a paragraph writing :

"Which ROMs will be supported in future?

Yeah, good question at all! I can only support ROMs for devices which I own. I'm currently own following devices:

N7100

GT9100"

i can't wait to use pdroid on my 9100 without Flash a new ROM (^_^)

and may i know when will 9100 be supported?
[Android Apps and Games] Didgesteve:
I was saying there are no Autopatcher patches for stock roms.

I believe CollegeDev is talking about building your own roms from scratch, but using Pdroid patches available on his GitHub.

Building roms is way beyond my skillset, I just try and help with Autopatcher.
[Android Apps and Games] I900-Nutzer:
You are lucky, you already can if: "... You own the device N7100 and you're currently running the OTA release from February 2013 ..."

Patch available on CollegeDev's GitHub since a Week ...
[Android Apps and Games] CollegeDev:
Hopefully... Do you own a workstation (PC with little bit power :) ) ?

It is possible, yes. But I need the device for testing before I can create patches.

Porting to stock-Rom is a little bit difficult, because you have to learn smali just like c, java, c++. It is a time intensive work and you have to test a lot. But when I'm going to patch 4.2 Stock ROMs I'm trying to figure out a more efficient way (I have some ideas for that but have to verify it).

My s2 is currently in service (charging electronic is damaged). I will begin porting if it is back.

Nope, you can't use the v1.55 (or v1.54) with the framework version v1.51, I'm sorry :(

exact!

Currently GB is not supported, I'm sorry. But you're a lucky one, you one the s2. In future there will exists patches for

JB TW Stock ROMs (for the i9100).

As I described above, it will take some time because my phone is currently in service (charging electronics dead). If it is back, I will port it.

Yes, I will add them to the sources and upload them on github. There is an easy way how you can implement it to your sources by just using xml. Then you just need to sync your repos, compile and have pdroid 2.0 on your ROM.

I will have a look at your link later, okay?

Currently, if you're not skilled to programm in smali or something like that you have to wait for the patches. I'm sorry :(

Normally you should be able to patch CM10.1 with the v1.54 patches.

Related your question: exact what you described. Create a folder "privacy" at the same level where you can see the build, frameworks.... directories.

It is possible, but only for supported devices where I created the patches for.

What do you want to know? :D

As I described above, it will take some time because my phone is currently in service (charging electronics dead). If it is back, I will port it.

btw..Thanks for supporting this thread, keep on this nice work :)

Thanks :)

Russian Translation 70% ready, thanks to biglsd

Dutch translation will be ready soon, thanks to kaizokan

German translation is in progress (by Koetermann and me)

GUI fixes, some new design and minor bugfixes will come with v1.56

And, what do you think about an on demand popup, which asks for the permission just like LBE PrivacyGuard? Should I trying to get it to the new framework of PDRoid2.0?
[Android Apps and Games] Pons:
Maybe not an on demand pop, but perhaps a notification in the pull down drawer and the app is automatically disable from everything, like AFWall+ does. Not sure which I like better, just providing an alternative idea. But one or the other would be very nice.
[Android Apps and Games] azuwis:
On demand notification will be great. Use jellybean's new notification API, accept or deny can be selected right on notification area.
[Android Apps and Games] CollegeDev:
Puh, notification in the pull down drawer? Do you mean something like that:

I haven't seen an example in AFWall+ :( If you mean the same like in the picture above: In which way you want to react prompt? Pull down the menu and then click on allow or deny? I think something like an popup just like SuperSu it does would be great:)

Can you give me a hint, link or picture? Thanks :)
[Android Apps and Games] Pons:
Not by my phone, so can't get a screenshot just yet. But basically, that's what AFWall+ does: a notification pops up in the notification drawer. That's pretty spot on. Let me know if you still need a screenshot, and I'll try to get you one later.
[Android Apps and Games] jahrule:
Lbe security style omdemamd popup ftw. But I think it should became option that u set for the app or policy for new apps
[Android Apps and Games] CollegeDev:
As I already said, I've never seen that in AFWall+. I'm sorry :( . I would appreciate a screenshot if it is possible. Thanks

What do you mean with ftw? I has several meanings, just like "for the win", "**** the world", "for the world" and many more. I think on demand popup is an option for GPS based permissions, just like for your navigation app (navigon or whatever). You can then simply disallow it from persistence preferences and enable the "on demand mode". Then, if you want that "navigon" gets the real location, you will get a popup and can allow or disallow it. What the others think about that?
[Android Apps and Games] kaizokan:
I like that! :) especially for the network location i think.
[Android Apps and Games] wkwkwk:
Hi,

Has the Llama bug (cell tower location) been fixed in framework patches 1.54?

If not, any plans for 1.55?

Thanks.
[Android Apps and Games] I900-Nutzer:
Yes ...
[Android Apps and Games] Syso:
It is a little bit off-topic, but how is this pdroid thing currently organized?

I mean, it all started with pdroid. Then its developement stopped and CollegeDev came up with pdroid2.0 (had some different names in the beginning). Shortly after that openpdroid and its user interface pdroidmanager were published, so I thought the development went like this:

pdroid -> pdroid2.0 -> opendroid/pdroidmanager

Now I realise that pdroid2.0 and opendroid are being developed simultaneously. So are there plans to merge these two projects, since the developers are in contact with eachother? Or are they willing to work on their own projects? And if they do so, which app/patch is mostly recommended and why?

Thanks!
[Android Apps and Games] exefixxer:
CollegeDev,

good to see the developement going on further (seperated from OPD). You got the right understanding of security.

I see that there seems to be no integration to autopatcher of your latest patches.

But i would really like to patch it my own, but as a noob i dont know how to do it.

You provided the patch-description on Github.

but i dont know where to start. Do these commands have to be run on the device itself or from a computer??

Is there any additional Software to use? Sorry for not having a deep background on that topic!

Can you or anybody provide a step by step tutorial to patch a rom manually?? In a "non-geek understandable description"? :fingers-crossed:

I think that would help a lot of people out, that have OPD and autopatcher problems, like me!!

I would really appreciate that!! :victory:

By the way i use CM10.0 (4.2.1) on a I9000.

Anyway i asked you some time ago if you will add Mac-Spoofing to the PD-Manager. Are you still going to add it?

And i like the idea of a pop-up notification! At least as an chooseable Option. And especially for GPS!

Thanks in advance and keep up the good work!!:good::good::good:
[Android Apps and Games] wkwkwk:
Hi,

I'm having some issues with CM10.1_Settings.patch

$ patch -p1 < CM10.1_Settings.patch
patching file packages/apps/Settings/AndroidManifest.xml
Hunk #1 succeeded at 87 with fuzz 2 (offset 24 lines).
Hunk #2 succeeded at 1746 (offset 112 lines).
patching file packages/apps/Settings/res/values/strings.xml
Hunk #1 FAILED at 5153.
1 out of 1 hunk FAILED -- saving rejects to file packages/apps/Settings/res/values/strings.xml.rej
patching file packages/apps/Settings/src/com/android/settings/privacy/PrivacyReceiver.java

the packages/apps/Settings/res/values/strings.xml.rej contains:

--- root/CM10.1_ORIG/packages/apps/Settings/res/values/strings.xml 2013-02-09 13:21:06.691524100 +0545
+++ packages/apps/Settings/res/values/strings.xml 2013-02-09 13:25:46.108229599 +0545
@@ -5153,4 +5153,18 @@
<string name="cyanogenmod_waiver_body">Changing this setting may be against your state or government laws.\n\nIn selecting \'OK\' below, you acknowledge this warning and waive, indemnify and hold harmless CyanogenMod and its contributors from all legal liabilities.</string>

<!-- **** CYANOGENMOD ADDITIONS END **** -->
+
+
+ <!-- **** Privacy Permission descriptions **** -->
+
+ <string name="permlab_receive_kill_task_command">Receive the kill Task command</string>
+ <string name="permdesc_receive_kill_task_command">Allows an application to receive the kill task command. This prevents that other applications are available to receive it.</string>
+
+ <string name="permlab_receive_disable_apps">Receive the disable or enable apps command</string>
+ <string name="permdesc_receive_disable_apps">Allows an application to receive the disable or enable apps command. This prevents that other applications are available to receive it.</string>
+
+ <!-- **** Privacy Permission descriptions **** -->
+
+
+
</resources>

I'm using the latest CM10.1 branch and the 1.54 framework patches.

Also, I'm using the instructions at https://github.com/CollegeDev/PDroid2.0_Framework_Patches/tree/cm10.1 and when doing: git checkout -b pdroid I get:

fatal: Not a git repository (or any of the parent directories): .git

The instructions seem to be a bit oudated as patches can only be applied if I'm in ~/android/system.

Thanks.
[Android Apps and Games] jahrule:
The patches are to be patches when you build from source which might be out of your skill set. I have no idea why autopatcher folks don't include his patches.

Any yes a Mac spoof option would be awesome because that would save me one less app :p
[Android Apps and Games] Pons:
From the computer, before compiling the ROM.

Start with compiling first to get your feet wet.

Learning To Build CM

COMPILE From Source For Any Phone On Linux Distros [BUILD ENVIRONMENT TO COMPILE]

Are you sure you're in the right directory when you run the checkout?

While I do like a good MAC spoofer option, that's not realy a privacy thing, but more of a security testing thing. Just my opinion.
[Android Apps and Games] brashmadcap:
N7105

I have a T-Mobile Note II running an N7105 ROM and would like to contribute. Is there any way I could help you get this framework to N7105/LTE versions?

I've run the Autopatcher on my CM10 and AOKP builds and I love pdroid, but some of the bugs in CM10 keep me coming back to TouchWiz for now. However, I feel naked without pdroid!
[Android Apps and Games] wkwkwk:
I wasn't, thanks for the hint. It now switches correctly but all patches need to be applied from the ~/android/system directory, not from the subdirectories as indicated in the howto.
[Android Apps and Games] BleedingIris:
[HHi. .

Please post long codes and logs in [.hide] [MENTION=5026757]The Beginning[/MENTION] and [/hide.] [MENTION=2509285]The End[/MENTION]. (Without the ".")
[Android Apps and Games] wkwkwk:
Thanks for the hint, I've updated my post.