yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] CollegeDev:
It is based on v1.32 -> look at google code.

It seems to be that many people are not interested to this, right? I can't understand why, because privacy is very important for every android user of us.

Alright, does anyone of you want to have the fixed version with new framework changings of cell-phone-location and android_id random generator? (google can access android_id, because they store it in privacy database. That is one point i'm going to fix in the next few days, because it is much more work than I thought)
[Android Apps and Games] Px80:
i like this app!

and i hope there will be more updates for it:)

will there ever be a method to install this app without doing this installation?

your instructions are very good but it still difficult :D (at least for me)
[Android Apps and Games] pulser_g2:
I was trying to get this up and running on Jellybean today, since LBE security isn't working, so Pdroid has a nice opportunity to get there first :)

Unfortunately I was getting null pointer exceptions on boot, due to being unable to find the privacy service (which was running though from what I see). The patches don't apply perfectly, but they're not far off (I refer to your patches in the OP, I didn't add the new files for camera and sound etc yet).

But yeah, it doesn't look too difficult to get it going, just needs a few tweaks where google rearranged stuff :)

Very interesting though, and quite keen to see this go further :)
[Android Apps and Games] testman86:
Does this fix mean you make a "fork" of PDroid or only a modified 1.32 Version or is this implemented in your addon?

I also think that privacy is the most important part in Android to care about!

Edit: I think most of the users are not able to find this thread in the 167 pages of PDroid thread ;) And I think most are interested but only do not know about this.

And I think it would be nice to have this camere permission and Microphone and the bug fixes in the main PDroid app instead of having the need to use both and make two kernel patches and so on.

I am not a Dev this are only my little ideas :)
[Android Apps and Games] wizayne:
you should submit this amazing code to the fnv repo for jelly bean and cm for inclusion into cm10! great work
[Android Apps and Games] CollegeDev:
Yes, I've never looked on JB because I'm running on ICS :D . Do you manage the port to JB right now? You have to add the new files, otherwise my AddonApplication will not work! Thank you :)

Please note that the patches now old, I will update the new patches in the next few days. Source is ready and build too, but I haven't enough time to update them right now.

First of all: I modified some core classes in framework which control access to microphone and camera and bind it into PDroid -> new permissions can interact with PDroit itself. The new version also included a lot of framework changings AND changings in the patches, not in AddonApplication. My Application only interacts with pdroid, the most changes are in framework itself. I'm uploading the new build right now, patches will come out later.

Yes, and that is the problem. I can't bind it into PDroid, because svyat doesn't released the source of its app -> wrote my own addonApplication.

Cyanogenmod will never include this sort of framework changings in their roms!
[Android Apps and Games] allofusjw:
Just wanted to say thank you for what you have created here. I'm stuck on the pdroid sidelines at the moment as I have been running jb on my galaxy nexus. I hope to be back in the game soon, but just wanted to say how much i appreciate your effort towards a more complete security solution. it's very important to me just on principle to be sure that no one is taking my personal information without my knowledge and consent and thanks to you we are another step closer to having control of our own information. great job, keep up the good work, and many, many thanks.
[Android Apps and Games] Px80:
Is this addon a standalone?

i need to flash one of your .zip and than i still install the pdroid app from market and everythings fine? ^^
[Android Apps and Games] no twitter:
hopefully the pessimists will not bring their pain here, too

hooray!

Will try after ditching unity for mint mate.
[Android Apps and Games] CollegeDev:
Nope, not really. You need to install pdroid too and not the PDroid app from market, because that doesn't work. If you own GS2 -> Just flash the *.zip and install PDroid.apk and PDroidAddon.apk from attachment -> finish!

Yes, look above. You need PDroid for this Addon!

UPDATE:

I was able to block android_id for market and other google apps (e.g. gsf), but if you revoke or fake the ID, all google apps won't work anymore. I don't know why the applications will not work anymore, because you get lots of server errors. Hopefully will find out a solution for that.
[Android Apps and Games] CollegeDev:
Please report if it works for you. Nobody until now wrote that it works or not, shame!
[Android Apps and Games] Px80:
Nope desire s
[Android Apps and Games] CollegeDev:
I'm sry to say it in this way, but I hate this fu*** stupid answer! Please, give me more information:

Did you compile your own?

if so, was patching successful?

which rom?

Did you follow ALL steps in install instructions?

Just explain me detailed enough what you have done, ok?

//sry, did you mean your device or the functionality of my AddonApplication?
[Android Apps and Games] Px80:
Sry bout that! I justed wanted to say that i cant Download the files cause i have a desire s. I havent actually tried to install because im on blinds jellybean Rom and thats like i read not supported yet. I ment no offense man :cool:
[Android Apps and Games] CollegeDev:
I'm sorry, it was my fault:(
[Android Apps and Games] CollegeDev:
Just a preview for next Update, PDroidAddon v1.2 -> PDroid goes more and more Privacy:cowboy: . Little features:

Wifi Protection

Minor Bugfixes with data leaking

network type blockable

phone type blockable

....and much more

The android ID is a fake id ;)
[Android Apps and Games] SecUpwN:
Hey CollegeDev, awesome work! Is PDROID itself needed? How about running it on my HTC EVO 3D if I do not want to compile it myself?

And will your next version work out of the box for Jelly Bean without having to patch the ROM first? ;)
[Android Apps and Games] pastime1971:
@ collegedev,

i know you told me that the source posted is not up-to-date yet, but i was wondering one thing in your source. shouldn't the following also be removed ? you did in writeToParcel. i am not familiar with db handling... just curious...

frameworks/base/privacy/java/android/privacy/PrivacySettings.java > public PrivacySettings (Parcel in) [line 583]
this.bookmarksSetting = in.readByte();
this.systemLogsSetting = in.readByte();
this.notificationSetting = in.readByte();
this.intentBootCompletedSetting = in.readByte();
[Android Apps and Games] CollegeDev:
Yes, look at first post and read install instructions, you need my modified version of pdroid AND the addon. I'm working with pastime and mateorod for including my version of PDroid to auto_patcher script. Just wait a while until they will release it.:o Nope, you need to patch frameworks and all other files, otherwise it won't work. I'm waiting until there is a good solution for method overhead in dex files, then I will will port it to JellyBean :D

Why this should be removed? You need bookmarksSettings and the rest of it? Or what do you mean? Will update patch in few minutes.
[Android Apps and Games] pastime1971:
i wondered, because you removed the following in public void writeToParcel ?

- dest.writeByte(bookmarksSetting);
- dest.writeByte(systemLogsSetting);
- dest.writeByte(notificationSetting);
- dest.writeByte(intentBootCompletedSetting);

but i am not too familiar with db handling...
[Android Apps and Games] CollegeDev:
Yes, you're right :D It was my fault in patch of previous version, because I've made some test with database and forgot to remove it. Just look into new patch, that's the right version. Thank you:o
[Android Apps and Games] CollegeDev:
Here we go, after a long night I was able to port PDroid and PDroidAddon to JellyBean :cowboy:

I will do some tests and if all is ok I will update this thread with new patches for JellyBean.
[Android Apps and Games] FFU5y:
Hey,

I was just trying to apply these patches to a CM9 rom for Acer Iconia A500 (thanks waydownsouth et al.), but ran into a problem. The patch.rar doesn't contain a framework.diff, but rather a framework_1.2.patch. That's no big deal, but it looks like the paths in the patch are a bit screwy, such that doing a patch -p1 < ... doesn't work.

I modified the patch so it worked for me using patch -p1 < framework.diff and attached it. If I just misunderstood how to patch properly, I apologise - just getting used to these tools.

Anyway, now to build and see if it works. :fingers-crossed:

Cheers.

Edit: one other thing: the path you have in the instructions for AudioRecord.java and MediaRecorder.java should be 'yourdir/frameworks/base/media/java/android/media/AudioRecord.java & MediaRecorder.java'
[Android Apps and Games] Px80:
waiting for that one & the patcher :D

May one of you explain me all the restriction options?

I had pdroid running once on another rom and not all settings were clear for me :confused:

i.e.

what is "Sim Info" exactly?

"GPS location" seems clear, that the app isn't allowed to acces the gps data of your location.
[Android Apps and Games] FFU5y:
CollegeDev: are you planning on upping the source for the PdroidAddon app at any point? I've been wanting to understand the IPC used by Pdroid and since PdroidAddon also seems to communicate with the server, then it'd be great for me to be able to read over the source and get my head around it.

Cheers.
[Android Apps and Games] CollegeDev:
First of all, I just added patches for people who know what they're do, not for noobs. Second, yes it was my fault. I only diff it and throw it out;) Thirst, you come and tell me what I've done wrong with patches and don't say thanks or recognize my work in any way. I'm sorry to say that, but that's not really fair;)

Just write down your question and I will looking forward to help you ;)

Nope, I'm not planning to throw out the source of the application. If you really want to understand how it works, just look how android and system-services works, then you're able to understand. Nevertheless, I've read your questions about security software like stericson and other. Be sure you know enough about android and the way it works, then beat your keyboard :o I'm sorry to say it in this way.
[Android Apps and Games] Px80:
I got this from the old PdroidPatch thread. Most of them are clear to me but some others not.

Now what happens an app when I restrict:

Device ID (IMEI/MEID/ESN)

Subscriber ID (IMSI)

SIM serial (ICCID)

Phone and mailbox number

SIM info (operator, country)

Network info (operator, country)
[Android Apps and Games] FFU5y:
I'm sorry. Did I not pat you on the head before I politely pointed out a problem that may affect other people? If I didn't think your work was good I wouldn't be bothering to try to use it.

If you're going to bother to share stuff for other people to use, and you have instructions, then you should probably at least vaguely try to make sure they work.

So learning from other people's code is a *bad* way of learning? I should just read all the things you've read and then I'll be l33t like you, rather than a poor n00b? I particularly like this given that you were wanting to get the code for Syvat's original application.

I can imagine you are a CollegeDev, because you act like an early adolescent.

Edit: I think I may have read that second quote with a more insulting tone than you intended (though I'm not sure). If it was intended to be an elitist "I'm-better-than-you-so-go-learn-it-yourself" wank (which is how I read it), then my response is exactly as intended. Otherwise, you can ignore my response.
[Android Apps and Games] CollegeDev:
Yes, of course. But it was a little bit crazy to read, I've made a mistake last update that's right ;). I just share this things, because I'm of the opinion that privacy is one of the most important things to our smartphones. I can also port it by myself and give it nobody, but nobody would benefit from it.

Wouh, stop man, no dispute at all! :cowboy: No, learning from other peoples code is a good way, that's right.

So, at all, after this disagreement, does it work for you? Do you need help for compiling? :o
[Android Apps and Games] FFU5y:
Lol, sorry about that fella. Was up late last night compiling CM9 for tab (a500; cheers waydownsouth et al.) and phone (moto defy; cheers Quarx, epsylon3) on an Ubuntu VM on a Macbook Air. As you can imagine, the word 'speedy' does not apply, so am a bit underslept.

The compile seems to have worked fine for both, which is great, but I'll post an update when I've had a chance to actually test - I am at work ATM, so prob will be 24h before I can give them a thorough looking over.

Incidentally, I totally agree privacy is a really big thing: You mentioned you looked at my previous post re: stericson, etc (in May 2011). Basically, what I was asking there was whether it was possible to do what LBE Privacy now does (and to be honest, I've not actually looked at the detail of how that intercepts calls), or whether it would be instead necessary to do what PDroid does. Unfortunately work (+ study then, and research now) gets in the way of actually getting much else done.

It's great to see some extensions to PDroid being done.
[Android Apps and Games] testman86:
Firstly thanks again for your nice work!

Do you think it would be good to implement your fixes and new permissions (microphone/camera) in the "original" PDroid from Syvat? Was it possible for you to get in contact with Syvat? Or do you have any news about further development of PDroid? I am wondering because Syvat did not react in his thread since weeks/months :(

I do not know what you think, but it would be nice to have one working PDroid version with everything implemented instead of PDroid and an Addon. That does not mean i do not respect your work, but it would be nice to have one powerfull app to protect our privacy.
[Android Apps and Games] CollegeDev:
I don't forgot you, but I have not so much time to explain. Will explain it to you later, ok?

Good to hear that news. Does it work for you?

Yes, it would be nice, but I have no source of the *.apk from svyat. I tried to get in touch with him, but he didn't answer. If he will come back, he can add my features to its app if he is willing or not. Yes, it would be nice to have one powerfull application, but first we have to wait for svyat :cowboy:
[Android Apps and Games] FFU5y:
Currently testing, and messing around with it a bit. Good to see the addition of the privacy coverage for the wifi settings, as well as camera and recording. I've been a bit delayed since the machine I've been using for builds died (drive failure) so I've had to get everything configured again.

I have only very briefly looked at the camera section of the app (and not at all at the recording and had problems with a couple of apps crashing when trying to use the camera when they were blocked. I haven't systematically looked at them yet, or really gone over the logcats so it may be something obvious I've done.

Right now I'm giving more of a focus to the Privacy Wifi Manager. I've run up an ICS build with PDroidAddon patches on my tab, and given it a complete wipe (so going from scratch). In the initial setup of the tablet, the screen on which you would normally select the Wifi settings is crashing (don't have a logcat for that yet - just added some additional logging code and rebuilding at the moment). Also, when viewing the settings (which come up with Wifi by default) there is a null pointer exception.

That happens before actually doing configuration with the PDroid application (but both before and after the PDroid app is installed). If you go into the PDroid app, open the 'Settings' system app in the list, and then save it, the problem disappears.

I've also been having 'gapps' dying a lot in the background, but again I'm yet to grab logcats for that so I'm not sure what it is.

Anyway, those are my first steps, and I'll keep looking to gather logcats and try to puzzle out what is causing the crashes.

Just to be clear, CollegeDev - this isn't criticism of your work, which I am glad you're doing; just issues I'm finding as I go along, and trying to understand. Hopefully I'll be able to track down the source of some of these problems and actually offer something back rather than just listing problems I'm having.

Anyway, keep up the good work. =)
[Android Apps and Games] CollegeDev:
Many thanks for bug-report. Did you add the picture in /system/media ? If not, just add it and the camera block will work. Camera will FC if you want to take video, will bring out new update which fix that if I have more time.

Figured out that problem in my last own patch, it is fixed, but not released now. Yes, all is due NullPointerException and fixed.

Hmm, sounds curious, because on my device nothing crashes.

Just working on privacy Telephones and other nice features, which are going more depth then before.:cowboy:
[Android Apps and Games] mcmanuf:
Collaboration with mateorod and pastime1971?

Hello CollegeDev.

I would like to thank you for your huge effort in porting pdroid.

Your development got me thinking of you joining forces with mateorod and pastime1971 in this thread, and I have already read that you are collaborating, from one of the previous posts :)

However what I dont understand is that your work is not exactly the same as the other group.

From one of your previous posts it SEEMED like you had done a better job than the other guys:

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

Do did I understand it correctly that mateorod and pastime1971 have done a "inferiour" work than yours, and therefore their script is NOT the same as yours?

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

Please help me out with the confusion, as I dont really know which thread is the "best" or the one I should bet my money on :)

(BTW running Slim ICS 4.2 (aosp rom) on my Galaxy S2 i9100)
[Android Apps and Games] CollegeDev:
First of all, thank you:)

It is a little bit difficult to explain what is goin on now. First time I wanted to upgrade my device from GB to ICS, but not without PDroid :laugh: . I found the patch from pastime and mateorod and used it, but it didn't work for me because of all that exception listed above in your post. Then I went through, wrote a test environment and figured out the problem. After that I fixed also some leaks of PDroid and added new features (Camera, Microphone, Wifi and so on ..), because I like privacy :cowboy:

After a(or some) user(s) asked for including PDroidAddon to auto_patcher I wrote a little bit with pastime about PDroid, the Addon and bugfixes. He asked me if he can catch a peace of code from me to improve their script too. Matereod wrotes in his thread:

The port to JB is completly on my own and I haven't compared the patch from pastime with my source until now, because I have not so much time at the moment.

Today, I don't know if the patch (ICS) from pastime and mateorod is the same like mine, but both are very similar to PDroidBasic (that means without all my new fixes and addons). I think pastime and mateorod do a great Job, because they spread out PDroid to more devices and ROMs than I do, but basically if you are able to compile you can use this patch with little modifyings for a lot of ROMs.

The patch in first post is definitely not same same as their script, because it included all my new features for PDroid. With this patch you're able to use my PDroidAddon and the other features.

Yes, it seems to be that many people run on that rom, because I got some PM's for users who asked me if I'm willing to port my Addon and PDroid to this ROM.
[Android Apps and Games] FFU5y:
I tested again on my tab, and it worked fine using the default camera app; I think it was a case of pebcak. Once I've sorted the null pointer (straightforward, but just waiting for recompile) I'll grab some more camera-using apps and test better. Unfortunately, someone's commit broke building for my phone, and I still tracking down what change it was, so it isn't getting any testing atm.

Yeah, it is again related to that same null pointer exception in PrivacyWifiManager.getConnectionInfo, so will be taken care of by your existing fix. Once my temp fix rebuilds, then I will be able to test more.

Excellent.
[Android Apps and Games] I900-Nutzer:
Hi CollegeDev!

Any Idea / ETA when the "ready patcher" (for ICS - no need for JB :) ) will be available?

Thx
[Android Apps and Games] Px80:
Not true! There is a great need for JB! :what:
[Android Apps and Games] CollegeDev:
I'm in vacation, but pastime and matereod released a patch. Please note that there are some bugs in this version, like you have to open android system and save rules for it in PDroid main application, otherwise your wifimanager will crash. I fixed all this bugs but now i'm in vacation and there is no possibility to release new source, so please wait.

@People who test my version now:

You need PDroid and PDroidAddon from my app thread after patching your rom. Just feel free to report bugs and post logcat, so that i'm able to fix it. JB version will come soon (I'm running on JB and it works like a charm:cowboy:)
[Android Apps and Games] I900-Nutzer:
Hi CollegeDev!

It took me a few Days and around 10 full "repo syncs" but since yesterday i am able to build my own CM from Source :victory: Currently setting up my Note from Source and - as far i can say till now - everything works perfect. Bevore i used Asylums ICS v20 patched with Patch 1.6.0. Works good so far but using Google Maps was almost impossible (FC Maps / PDroid).

Beside this i set for every SYS-App where it's possilbe DeviceID, PhoneNumber, SIM-Serial, SubscriberID, NetworkLokation and GPSLocation to random - dont know if this make Sense but i feel safer :cool: On a patched ROM this brakes the Phone. On the compiled ROM everything still works with this setting :o

So i am really happy; learned something and have a fully working, PDroid - powered CM-ROM :laugh:

Greetings
[Android Apps and Games] CollegeDev:
Good news at all. In few weeks I will release more features like SMS send control and CallPhone control and a lot of new bug fixes.

Please, post the logcat of the FC from GoogleMaps, then I will fix it after my vacation. You can block all, and all will work like a charm, normally :cowboy:
[Android Apps and Games] sadan23:
Hell Year.

Love this script. But only brought it run (with auto-patcher) on 4.0.4 from a friend. won't run on my galaxy nexus (maguro) aokp jb.

Please add jb support soon :)

but the rest is real cool.
[Android Apps and Games] bonanza123:
Hey CollegeDev,

thanks for your awesome work. Can you make a fresh build for SGS2 with CM10 and the current experimental? I think there was not so much respone on your provided build because most user already have the newest build installed and then dont want to got back to an older build for pdroid. Especially for me it was the case that i went back to your provided build and several apps crashed on the startup, but I wasnt sure if its because of pdroid or because i went back to an older build version. So i decided to wait for a more recent pdroid build by you, but there wasn any, so I didnt give any feedback.