yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] HoochieCoo:
This is really slick. I wish it was baked into every ROM. Not that it was hard to get it working. I used the Windows Patcher (running in a virtual machine on a Mac), mounted /system in Recovery, and I was golden.

EDIT: It would be really cool if for the GPS and Network Location rights, in addition to being able to set a value, if we could set it to return a random value in some radius around the current location. For example, for a weather app, you could enable Location rights, but it would return an random location within a 20 mile radius (which should be sufficient for a weather app).
[Android Apps and Games] Svardskampe:
bit.ly/zJ4wS1

Here's the patch for the latest Darkyrom build (1.4.2), you might want to update the link on the OP.

For some extremely retarded rule I'm not allowed to post links here D:
[Android Apps and Games] BenKranged:
I see no updates on the "patchless" version.

This could be a paid version.

I want the best security but can't be bothered to change roms and then patch the rom for one app.
[Android Apps and Games] bob8x:
If I have cyanogenmod 7.2 with a different kernel from zip ( I installed Tiamat one ) can I run the windows patcher to obtain the patch normally??
[Android Apps and Games] jfliu:
When I tried to build MTK ROM get the same error
[Android Apps and Games] casacristo:
Can somebody create a patch for HTC DESIRE MIUI XJ 2.3.2

http://htcfanboys.com/download/xavi...2.3.2_2.3.7_GS_3P_Final_Signed_wderf75869.zip
[Android Apps and Games] HoochieCoo:
I'm running with 7.2 with Incredikernel. I didn't have any problems.
[Android Apps and Games] pastime1971:
i did manage to compile PDroid for CM7 in a normal way.

just need to add some @hide for api doc.

(i already communicated with svyat on this matter.)

edit: apply http://www.mediafire.com/?za7v49cw7ukiezd to PDroid-source-2.3.4 from the first post to add @hide. Then CM7.2 compiles normally.
[Android Apps and Games] Layos:
Here you go.. :)
[Android Apps and Games] Sandpapers:
For anyone that can't get rid of notifications like I was having trouble with, you can install autostarts and disable period notifications. You will have to refresh and wont get new program installed notifications either. If you can deal with that then you'll be protected and wont see popups. Couldn't be happier
[Android Apps and Games] jfliu:
Thank you! it work!!:D
[Android Apps and Games] Lorin67:
Installation error Dorimanx-Rom-3.1.2-Nightly-271

I build a pach for Dorimanx-Rom-3.1.2-Nightly-271. But I get an error on installation. Installation aborted. Can anyone build a working one? Thanks.:)

dorimanx.com
[Android Apps and Games] casacristo:
Danke schön!

By the way I notice imilk and ibeer have hidden permissions that pdroid does not see (so can not turn off)

Can somebody notify the developer?
[Android Apps and Games] Infy_AsiX:
my reboot issues it turns out aren't related to Pdroid, I think. A fresh rom works fine until I titanium restore + data which I think is the problem.

On the other hand I can't patch Pdroid anymore the new patcher works but the app doesn't recognise it. Can anyone send me the old patcher? Thanks.
[Android Apps and Games] HoochieCoo:
Did you try mounting /system in recovery before you flashed? It wouldn't work for me until I did that.
[Android Apps and Games] Infy_AsiX:
Thanks that did fine.
[Android Apps and Games] splttingatms:
Do the AT&T based roms still pose an issue for PDroid patcher?

I am using a Samsung Galaxy S2 i777 (AT&T) with UnNamed v1.3.2 rom.

Last I tried this didn't work, back in Feb.
[Android Apps and Games] ywashingmachine:
I just tried it on shostock and got a boot loop. I didn't get a chance to get the error logs but I'll try to do that later when I'm at a computer.

EDIT: Looks like it's already on his to-do list so I won't bother getting the error log... pm me svyat if you want it though
[Android Apps and Games] Mbah Oz:
Dear brother,

I use marvel v.4 ROM on LG optimus black, and I try use Pdroid (with modified for LG OB include patch), but it's say no patch installed. And then I try to make patch using pdroid patcher by my self as per instruction, and flash again the patch..but it's still the same...no patch installed...

how to fix this?
[Android Apps and Games] DirkStorck:
Could someone please create a patch for this ROM ?

HTC DESIRE NIGHTLY - @euroskank [ MARCH 09th 2012 ] CM 7.2.0 - RC1

Thank you :)

EDIT: Got it :) I used the v1.27 Windows version :)

I have the following message in the log:

Creating updater script

Building modified framework.jar

I: Checking whether sources has changed...

I: Smaling...

W: Unknown file type, ignoring: framework.mod.jar.out\smali\android\app\ContextImpl.smali.orig

W: Unknown file type, ignoring: framework.mod.jar.out\smali\android\content\ContentResolver.smali.orig

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

at org.jf.dexlib.Util.ByteArrayAnnotatedOutput.ensureCapacity(ByteArrayAnnotatedOutput.java:577)

at org.jf.dexlib.Util.ByteArrayAnnotatedOutput.writeInt(ByteArrayAnnotatedOutput.java:197)

at org.jf.dexlib.Code.Format.PackedSwitchDataPseudoInstruction.writeInstruction(PackedSwitchDataPseudoInstruction.java:89)

at org.jf.dexlib.Code.Instruction.write(Instruction.java:57)

at org.jf.dexlib.CodeItem.writeItem(CodeItem.java:258)

at org.jf.dexlib.Item.writeTo(Item.java:116)

at org.jf.dexlib.Section.writeTo(Section.java:119)

at org.jf.dexlib.DexFile.writeTo(DexFile.java:716)

at brut.androlib.src.DexFileBuilder.getAsByteArray(DexFileBuilder.java:75)

at brut.androlib.src.DexFileBuilder.writeTo(DexFileBuilder.java:58)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)

at brut.androlib.Androlib.buildSources(Androlib.java:179)

at brut.androlib.Androlib.build(Androlib.java:170)

at brut.androlib.Androlib.build(Androlib.java:154)

at brut.apktool.Main.cmdBuild(Main.java:182)

at brut.apktool.Main.main(Main.java:67)

I: Checking whether sources has changed...

W: Could not find resources

I: Building apk file...

At the end it says

"Successfully created PDroid patch."

Did it still worked?

Thanks!
[Android Apps and Games] :
Any update on an ICS version?:confused:
[Android Apps and Games] DirkStorck:
Could someone please create a patch for this ROM ?

HTC DESIRE NIGHTLY - @euroskank [ MARCH 09th 2012 ] CM 7.2.0 - RC1

My patch didn't work :(

Thank you :)
[Android Apps and Games] Mbah Oz:
I think you have same problem with me brother :)
[Android Apps and Games] HoochieCoo:
As mentioned a few posts prior... Did you try mounting /system from recovery before flashing?

---------- Post added at 04:16 AM ---------- Previous post was at 03:56 AM ----------

Try this. Might as well make sure to mount /system before flashing.

https://www.sugarsync.com/pf/D772109_3_8718294987

and

https://www.sugarsync.com/pf/D772109_3_8718299175
[Android Apps and Games] longthanh:
Seems interesting, I'll be happy to test if it releases for Xperia x10.
[Android Apps and Games] Mbah Oz:
Thanks bro, it's better if you give me instruction how to mount /system? :D
[Android Apps and Games] Mbah Oz:
Edit...

Thanks Hoocie...I've found the mount system, and now my Pdroid is worked:D
[Android Apps and Games] DirkStorck:
Thank you :) That worked :D
[Android Apps and Games] IvanNCase:
Hey Svyat, I was just wondering if you've figured out a fix for the alarm notification yet. I see you haven't posted in a while so I figure you've got a lot going on and I don't want to bother you to much, just curoius. BTW everything else about PDroid is great.
[Android Apps and Games] casacristo:
Hello,

Can somebody make a patch for MIUI XJ 2.3.9 (HTC DESIRE) ?
[Android Apps and Games] tin2404:
Here I made patch for HYPERSENSATION 1.8 R CM7 located here :

http://www.MegaShare.com/4004011
[Android Apps and Games] Layos:
:cool:

10char
[Android Apps and Games] snjagor:
I had a bit of trouble at first patching GingerBangSense ROM on HTC Incredible 2. But the suggestion to mount the system in recovery made it work. :cool:

Some features that would be nice are global options for each pref, and global for new apps, maybe more descriptions for the prefs since some don't seem to be named same way google does..

Thanks a plenty for this great app!
[Android Apps and Games] B3311:
Deleted while I read thread from beginning...
[Android Apps and Games] ngh55:
As a request or sugestión can you add an option to batch toggle the protecting for all the apps?

EVO4G powered by FherraZ-Mod
[Android Apps and Games] cmonty14:
PDroid with broodROM

Hello!

How can I create the patch for broodROM?

There's no zip-file that could be used when downloading the ROM.

THX
[Android Apps and Games] neoviktor:
+1 for that now that Galaxy SII ICS fw is rolling out PDroid is the only thing holding me.

The PDroid still more important than the new FW

Thanks you svyat
[Android Apps and Games] wkwkwk:
Same here, I refuse to go to ICS without PDroid.

I've donated for the current version and I will donate again for the ICS version ;)

Cheers.
[Android Apps and Games] svyat:
Many fixes in the latest patch version 1.30. Application FCs as well as bootloops for AT&T and SE devices have been fixed. The alarm issue should be fixed now as well. Let me know if this update breaks everything for you =).

P.S. No, I did not forget about porting to Froyo/ICS ;)
[Android Apps and Games] pastime1971:
awesome.

is this fix for binary patching or source code ?

the source code in the first post still says pdroid 2.3.4 v1.27.
[Android Apps and Games] ywashingmachine:
I just tried on ATT SGSII SHOstock ROM and it booted up fine but the PDroid app said the patch wasn't installed. I tried flashing it again and ended up with a boot loop...
[Android Apps and Games] romracer:
I had to clear data for the PDroid app as well as delete /data/system/privacy.db* (two files). Then reboot. I've rebooted several times since then with no issues.
[Android Apps and Games] ido:
Hallelujah on this release!

I use the same ROM. patched with windows patcher with no issues.

installed latest app from market. and it says patch is not installed.

I hope you can open source the app as well so development/fixes can occur at a faster pace.

Edit:

after deleting /data/system/privacy.db and clearing the app's userdata it seems to work!

REQUEST:

new applications (with internet access) default to untrusted !
[Android Apps and Games] IvanNCase:
My phone also said that the patch was not installed when I opened the app after flashing the 1.3 patch even after deleting /data/system/privacy.db and clearing the app data until I rebooted. Also I wiped delvik but I don't know if that was necessary or not.
[Android Apps and Games] amokkatxda:
Info about clearing Pdroid's data and deleting /data/system/privacy.db should be definitely in FAQ. It is essential info for people who updating the patch from previous versions.
[Android Apps and Games] tiagoeq:
Tested. Everything works fine.
[Android Apps and Games] svyat:
Actually, you should not need to do that :-/

Did anyone upgrade to 1.30 successfully without any issues?
[Android Apps and Games] mrx6666:
I had to mount system in CW before applying patch, delete privacy.db and clear app settings, then reboot twice, and I finally got it to work.

I couldn't load my settings from SD card, app would force close every time I tried, so another 20 minutes to redo them all, and it does work correctly now.

Having permissions set to distrust by default and a distrust all setting for each app would be a huge feature advantage, given that loading settings can be flaky
[Android Apps and Games] svyat:
Should be fixed in the latest release.

P.S. Will fix upgrading soon.
[Android Apps and Games] Chimpdaddy:
I'm still getting bootloops on ATT based Darkside rom for the Atrix, tried everything thats been suggested in the last few pages. Oddly the patcher failed first time, but as it suggests I tried again and it said it was succesful.

Unfortunately I cant get a log from the loop, just feeding back anyway.
[Android Apps and Games] splttingatms:
Just installed on Samsung Galaxy SII AT&T (i777) using UnNamed v1.32 and the patch worked great. Thanks for fixing the AT&T issue!
[Android Apps and Games] HoochieCoo:
I had to delete those files too. I had tried several times to flash 1.3 and the app would never see the patch.

Also, after deleting those files and getting it working, when trying to restore backed up settings, the app FC'd.

Otherwise working great now.
[Android Apps and Games] mdfzhi:
excuse me, but can i ask which latest version is the patcher for linux? i've only got v1.27 beta 0.71 and i cant find any later later version for linux in first post, in fact i cant find any version for linux there. is it support for linux is droppped?
[Android Apps and Games] svyat:
Yeah, unfortunately I don't have the time to support both versions and Windows is more popular than Linux, so it's Windows only for now.
[Android Apps and Games] avgjoemomma:
Hmm, tried out the new Windows patcher and it seemed to work OK without returning errors but the Pdroid app on the phone kept crashing. I tried deleting the privacy.db, the privacy folder, and clearing the app data but now the PDroid App says the patch is not installed. Might have to switch back to the old Linux patcher even though it's not supported anymore
[Android Apps and Games] IvanNCase:
I had the same problem til after I restarted and wiped delvik. I can't say for sure if wiping delvik is needed, maybe it was just rebooting the phone but mine is working fine now.
[Android Apps and Games] DividedByZer0:
auto tool failed

Hi, I tried a few searches so I'm sorry if this has been addressed already and I missed it.

I tried following the instructions to get this to work and had no luck.

1) Using clockworkmod 5.0.2.0 I made a backup but it didn't create a ROM zip. I tried a few suggestions on turning this into a ROM zip but without success.

2) I'm running a nightly of CM 7 (08282011) but couldn't find the ROM I installed anymore so I tried downloading the latest stable ROM from before my nightly (7.0.3). So I ran the auto tool on this ROM and I got an error message (yes, I reran it to be sure). Here's the output: pastebin.com/Km3br3XT

3) I don't know where to find a prebuilt patch for my version of CM7.

Any help would be greatly appreciate.

I'm running win7 x64 with .Net 2.0 - 4.0
[Android Apps and Games] mnjm9b:
yea...there was a huge debate not long ago about spoofing user data and there was a massive backlash from some high-end app developers claiming to pull all support to android devices if spoofing were allowed.

in light of this, the CM team decided to not allow this as a built in feature.

there were similar patches submitted for review but denied.

as far as lbe and your app not seeing issues yet... well maybe your just under the radar for now...

I only asked about the app being Opensource because I enjoy contributing to such projects. as do many others here on XDA...
[Android Apps and Games] sushidog:
mashable.com/2011/12/03/carrier-iq-is-misunderstood-not-evil/
[Android Apps and Games] bonanza123:
Thanks for your great work, its working fine now :)

Will there be an option to assign special permissions to a group of apps (e.g. to all user / system apps) ? Just like "deny read contacts for all apps".Because it took 5 minutes to assign the proper permission for all apps.

What are your plans about providing the patch updates for new Mod versions? I think that many users would like to use your great app in future time and so you will be quite busy with providing updates :)

And what about an issue tracker / public repository?
[Android Apps and Games] katmant:
A big thanks to svyat for all your help sorting out patch. Eventually managed to get it to boot and usable.(many lock ups but probably something at my end).

I would second this. A batch option to deny/randomise would be really useful.
[Android Apps and Games] svyat:
Haha, I would LOL so hard if that would be the case because of my app. "User privacy? No no, we don't support that" :D. But I kind of doubt that it could happen.

I see. If I set up a public repository for others to work on, I'd have a lot of coordinating work / patch reviews etc to do. I might do it later on, if I get somewhat more spare time.

Yeah, I have some plans for introducing some more convenience options for the app. However, it might take a while, since - as you correctly noticed - I'm a little busy making patches for various devices :)

Yes, it might be somewhat tedious patching all the different devices/ROMs. But at least future ROM versions, which are using the same base should be compatible with the older patches.

I might set up one, when I have some spare time for it. No ETAs yet :)
[Android Apps and Games] svyat:
It's up. However, I couldn't test it, since I'm having some mysterious issues flashing ARHD 6.2.0. So it's up to you to test ;)
[Android Apps and Games] [Jules]:
Still waiting for a patch for HTC Legend running CM7.1... request already sent...
[Android Apps and Games] VerizonKoolaid:
LBE falls short

LBE does *nothing* about

GET_TASKS

GET_ACCOUNTS

MANAGE_ACCOUNTS

and the other *_ACCOUNTS

The app could provide the user a download link, thereby eliminating internet permission

Those unable to use gmail have no market access

... and then there was PDroid!

users can protect themselves now from malware proponents and other abuse!
[Android Apps and Games] deepflash:
It is working on my sgs2 with cyanogen latest nightly (116).

I am just questioning myself, if you could add the possibility to revoke network access permission?
[Android Apps and Games] VerizonKoolaid:
would you not prefer to tinker with iptables?
[Android Apps and Games] devrruti:
This would be very useful, kind of what lbe or droidwall does, limiting separately 3g or WiFi.

Im not sure what would be the best approach, iptables or network permissions, but imagine some random app which needs access to the sd card but you don't want it to connect to internet, because you are not sure what it will do then. Lbe even detects how much kb each app use.

Just a opinion, we can use other apps like droidwall for now in addition to this, but it is hard to configure everything this way.

Btw tell me if you find any solution to reboots on xperia neo, could it be that I had flashed a theme with different framework apk? I have no idea, but I posted you the link before just in case this affects. I Just wonder how could I get this running.
[Android Apps and Games] mnjm9b:
Iptable manipulations should be left alone...the main issue I have with lbe is that even if you turn off the "firewall" capabilities, lbe still fills in tons of Iptable rules allowing itself to have internet access no matter what.

Even after manually reformatting Iptables the old lbe entries would reappear the next time lbe is run.

Droidwall works just fine for those that need a GUI to make Iptable rules. It even allows for custom rules.

Pdroid is awesome the way it is...please don't get too carried away with too many extras.

More selection options would be good though...it gets a little tedious after dozens of apps with the same rules.

Although a small price to pay for such security.
[Android Apps and Games] le_manhpro:
I have dow v1.22 for Arc S and installed as directed, then rebooting the machine hangs on the screen, arc s of the stock rom I'm using 2.3.4 ... build 42, so I was wrong anywhere please help me, sorry my english is not good:mad::mad::confused::confused:
[Android Apps and Games] devrruti:
Same here with neo. Only solution is to restore your backup or install rom again in case you went suicidal.

If there is any log of what went wrong somewhere that would be useful, I can't find any.
[Android Apps and Games] deepflash:
In my opinion the Internet access permission is essentially for an application like this..

Also the capability of an application to autostart at boot would be nice to revoke.

By the way, are the app settings beeing stored on sdcard or arethey backuped with titanium backup?
[Android Apps and Games] svyat:
The privacy settings are stored in /data/system/privacy.db and in the /data/system/privacy directory. You'll need to backup those before wiping if you want to keep the privacy settings. The preferences, which you can edit by using Menu Key->Preferences, are stored regularly in the app directory and can be backed up with TitaniumBackup.

I'll see if I can add a built-in settings backup/restore feature in the future.
[Android Apps and Games] gongoscho:
BigTHX, works perfect! :cool:

grEEtZ,

gongoscho
[Android Apps and Games] niko1986:
This seems to be a brilliant app, I hope a patch can be produced for stock GS2 ROMs.

The biggest issue for yourself is the sheer volume of devices and ROMs. I hope you can find some method to save yourself an uphill struggle trying to offer a patch for everyone. Good luck! :D
[Android Apps and Games] mnjm9b:
The "permissions" for internet access is completely different from messing with Iptables. So on that note I agree...

Autostart options....hmm. that may be nice if done right.

I used to use Autostarts to manage apps but recently I have been using gemini app manager. (free)
[Android Apps and Games] gongoscho:
This requests could be c00L features for a new version :cool:
[Android Apps and Games] avgjoemomma:
Tried that but didn't work for me. I just patched with the Linux version I have it I'm back in the game;)
[Android Apps and Games] Theraze:
When I try to flash a patch for the Final-Fixed version of Valhalla Black for the SGS4G, which had the T-Mobile/AT&T error, it returns:

Anything I can give to help figure out why it's not working? Here's the patch creation log as well... Looks like the build of framework.jar is failing for some reason, since there's a backtrace...
[Android Apps and Games] alessia3:
i searched in this thread and others, but i'm stucking in the following problem and i cannot find a reply so i hope that somebody gives me a little advice.

pdroid patcher asks for a valid nandroid zip file, but i have samsung i9001 and cwm porting to my device (called feamod, based on CWM recovery 5.5.0.4, the only available for my device) does NOT create a nandroid ZIP file.

it creates a folder with all the following files inside:

boot.img

cache.ext4.tar

data.ext4.tar

nandroid.md5

recovery.img

system.ext4.tar

(i tried to manually create a zip file, without using compression, of all the files in the backup folder, but pdroid patcher returns the messahe "not a valid nandroid backup")

so, hope that somebody can give me an advice on how to create zip for the pdroid patcher...

thanks in advance for your replies!
[Android Apps and Games] HoochieCoo:
It's not wanting the Nandroid. You need the zip you installed the rom with.
[Android Apps and Games] p4nts:
VR 3.0 SGS2 1.31 problems

Have been running 1.27 successfully for VillainROM 3.0 on SGS2 tried 1.31 patcher but gave me endless FCs with android.acore process anyone else have more luck with it?
[Android Apps and Games] Superm@π:
Please help, I'm running CM7 on droid x2 and when I boot into custom recovery and try to flash the patcher zip it just freezes on "installing update", don't really know what to do from here......Thanks!
[Android Apps and Games] Theraze:
Did you make your own patch, or try using a prebuilt?
[Android Apps and Games] Superm@π:
I just downloaded the patch that was linked.