yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] svyat:
Sorry, didn't have time for it yet :P. It's not on my high priority list either. Got a lot to do with fixing bugs, updating the app, making patches, scripts etc...

Send me a PM with a link to where I can download that ROM.

Automatically restricting all applications' data access on install will also restrict their functionality or even make them useless (think of blocking GPS access for Maps). I guess a lot of users will instantly think that PDroid has broken their phone, so it's not an option ;). But I am planning to add some convenience features for blocking access to multiple applications at once etc.

The app should not FC in any case. Are you sure you are using the latest version form the Market?

I am using Sun's Java 6 but it should also work with 7 and probably also with OpenJDK. I guess that is not the issue here.

Nope, the app itself does the notifications but as I mentioned above it should not FC even if no patch is installed.

If you could get the error stacktrace (using ddms from the Android SDK) it would be helpful. Also make sure that you have installed the latest patch version and the latest PDroid version from the Market. You could also post the output you get in the console when creating the PDroid patch.
[Android Apps and Games] svyat:
Awesome! Thanks for the tip regarding Titanium Backup. Adding the changes to the main script will require to check if the script is running within cygwin each time (i.e. additional hassle). However, I will do it if you're not the only one using cygwin ;).

So people, let me know if you want me to make the patcher script cygwin compatible.
[Android Apps and Games] VenQWish:
I'm using beta 0.4 of the patcher and installed the latest version of the app on my phone. So that should be good.

Here's the stacktrace from the FC. I'll try to get the output of the patcher asap (can't use my ubuntu pc atm).
[Android Apps and Games] VenQWish:
Cygwin would be nice imo, but now I've installed ubuntu just for this :D. Installing ubuntu using the wubi is as easy a installing cygwin imo. I'd put this on the bottom of the priority list, no? Unless you can make the script cross platform in an easier way...

---------- Post added at 03:13 PM ---------- Previous post was at 02:36 PM ----------

This is the latest 1.12.16 miui for sgs i9000:

http://miuikitchen.org/output/1010893243.zip

//EDIT:

It works now! I did a factory reset , cache + dalvik cache wipe. Flashed my rom and then the patch from CWM. First thing I installed then was pdroid from the market. I tried uploading the patches here but it returns an internal server error (500)... I'll try again later from home.
[Android Apps and Games] svyat:
From the stacktrace it looks like the patch has failed. Waiting for the patcher output :)
[Android Apps and Games] neoviktor:
OK, I thought the app was more separated from the patch itself and I would be glad to help.

Well thx anyway, keep this awesome work :p.

One suggestion if possible to implement a way show only blocked access toast popups?
[Android Apps and Games] Fourknucks:
You first patch seems to be missing a folder that the other patched contain.
[Android Apps and Games] VenQWish:
It worked now, did a factory reset, rom flash, patch flash... Dunno what went wrong the first time.

I've attached the patch files for the SGS i9000 miui 1.12.16.

Keep up the good work!
[Android Apps and Games] MiZrY:
Whoops..... I uploaded the incorrect patch. :rolleyes:

I have edited that post and adding it here again.

Also I have a patch for the Neutrino ROM 1.4 GT(the faux123 1.3mhz kernel version) motorola atrix 4g.

So, patch for Dorians Redpill Hybrid V1-RC and Neutrino ROM 1.4-GT for the Motorola Atrix attached below.
[Android Apps and Games] svyat:
Confirmed and fixed in patch version 1.26. Thanks for reporting!
[Android Apps and Games] Fourknucks:
Work perfect, thanks for sharing!
[Android Apps and Games] MiZrY:
No problem! I'll add more patches as I try out different ROMs for the Motorola Atrix 4g.

If you need a patch made for any ROM's for the Atrix just send me a PM and I'll see what I can do. :cool:
[Android Apps and Games] jb789:
Getting a different MD5 of 831825540649e68747d4d37f1816c510 on the new 0.5 patcher. Is the OP incorrect?
[Android Apps and Games] svyat:
Forgot to update after a hotfix :). Now it is correct. Thanks for mentioning. BTW, please re-download the patcher if you are having Exceptions or the MD5 doesn't match.
[Android Apps and Games] cliff03:
will this work on Frankenstein KK2?
[Android Apps and Games] baka2x:
Doesn't work on Galaxy Note

Unfortunately, PDroid doesn't work on the Galaxy Note using "[ROM] 2.3.6 Deodexed STOCK XXKL3/Modem DDKL1 - MultiCSC - Rooted (CF-Root-KL3, CWM5)". After I flash the patch and reboot, the launcher and gapps are constantly FC'ing. I thought it was ADW causing a conflict so I restored and changed back to crappy old Touchwiz. The same issue occurred with Touchwiz. NOOOOOOOOOOOOOOOOOOOOOOOO... I think I'm stuck with LBE. :(

->I did try to get the errors using DDMS, but it wouldn't recognize my phone. It just said ???? Unknown.
[Android Apps and Games] stgerrard:
It works perfectly. Thanks for sharing.
[Android Apps and Games] neoviktor:
Possible Bug with GPS/Network locations

@svyat

I tried to force the gps location and tested on maps.

First the fields don't accept negative values or W/E N/S notations.

For longitude using classic negative degree conversion works: -50º or 50º W equals to 310º.

But in latitude case if I can only working values are 0º to 90º, hence the northern hemisphere. Any values beyond 90º report the same for the maps app, and possible to all of them.

If there is another way to set the correct values without modifying the app, just tell and ignore this post.

Example: Salvador - Brazil: Lat: -13.0076 Lng -38.4935.
[Android Apps and Games] moccor:
Any word on if this works on the Droid X MIUI 1.12.9? It would be a awesome app, since I downloaded many apps over that 10cent sale.
[Android Apps and Games] svyat:
Which patch did you flash?

You're right, the fields only take positive values. Will fix this ASAP.
[Android Apps and Games] OmegaModr:
Here's a patch for 1.12.16

http://www.multiupload.com/R1X35C267C

edit:

This is for the multilanguage rom, if you still have the original zip, i can make one for you.
[Android Apps and Games] jsomby:
Downloaded the patch maker for linux, tried it and voila! Works nicely for KK5 Slimrom. Thank you!
[Android Apps and Games] moccor:
I'm not sure what the multilanguage ROM is, and I'm not sure if I have a 'original zip' either, I just downloaded the ROM and flashed it haha. Sorry, I'm kinda confused.

Edit: Oh, so are those Linux instructions for creating the patches ourselves? No matter which ROM/Phone, aslong as it is deodoxed of course? If so, I can try installing a linux onto a virtual machine and doing it myself.
[Android Apps and Games] OmegaModr:
Yes, you just need a basic linux machine (i used debian), java (Openjdk works too) and fastjar tool. And you need the zip file you flashed to your phone and run the script and flash the output throuht clockwork. It's really not complicated.
[Android Apps and Games] moccor:
Thanks, I'll definitely try it and get back with my successful zip or if I need help :P.
[Android Apps and Games] Bazito:
thx for app
[Android Apps and Games] tommytomatoe:
Great concept man! If I ever get around to applying patch to HTC EVO 4.54 release-keys rom I will give you files. Thanks!
[Android Apps and Games] peters.:
Did you download the 0.6 version recently or short after release? svyat uploaded corrected version soon after i reported similar error. Check the md5sum...
[Android Apps and Games] OmegaModr:
Just a few requests to the developer. I'm sure this is already on the TODO list but still.

Could you add when we check "Notify on data access" to exclude certain apps like they have the "Data access notification" per app. The second request would be a data access log (no that important but handy).

And is it possible to block listing of running applications by apps?

Great app, i'm really loving it.
[Android Apps and Games] baka2x:
I downloaded it maybe 5 hours ago? I just downloaded it again and the MD5 was identical again. I received the same error message again so I'm not sure what's going on.
[Android Apps and Games] svyat:
Oh boy, my bad. I uploaded a debug version of the script :eek:. Fixed in 0.65. Also fixed the Droid X Liberty and Galaxy S Darky patches, which were probably broken.

BTW, Merry Christmas everybody! :)
[Android Apps and Games] baka2x:
The new version creates patches fine. No problems. I'll try flashing DarkyRom when they release v2 for the Note and let you know how if the PDroid patch works with it. Still not working for my current rom and I can't get the logcat so sorry :(. Keep up the great work and merry christmas to you, too!
[Android Apps and Games] Looki75:
Small request to Svyat...

Could you please put the patch version and the app version + the date of the latest update (latest date between app and patch update) in the thread title?

And keep this information accurate by updating the thread title each time you make an evolution?

This way, users can easily see at a glance if there was an update and don't miss it...

Thanks
[Android Apps and Games] HeavyTech:
Great app just didnt see patch for my phone model so I went and made a patch using the script, I'll attach it to this post as its for Atrix 4G running Neutrino v1.4-S EE rom.
[Android Apps and Games] boudreaux1:
Motorola Droid X - Liberty3X 2.0 Gold

Tried it twice got bootloop both times.Flashed with CM 2.5.08 first time .Updated to 5.20 Same result Anyone else having problems?
[Android Apps and Games] chmodbot:
Had the same issues.. It bootlooped... I did a nandroid before and just restored but yes this did not work for me either..
[Android Apps and Games] Completely_Clueless:
Diagnosing Errors: Samsung Galaxy S II i777, UnNamed ROM

My phone is a Samsung Galaxy S II i777 running UnNamed ROM v2.2.1. I decided to download and install Ubuntu x32 to see if I could use the PDroid automated patcher script to install it on my phone!

The strange thing is that when I used the script (after installing fastjar and open jdk 6) to create the flashable PDroid ROM, the script told me [via Ubuntu Terminal] that "everything looks ok." But I flashed the output ZIP file twice and got a boot loop on my phone :(.

I also tried it a third time, this time without flashing. Instead, I just extracted the 3 JAR files created by the automated patcher script and pushed them [via ADB] into the system/framework directory. When I rebooted, I still got a boot loop :confused:.

Now, I've got some noob questions about running DDMS to create a log. Do I have to start DDMS on my computer (ddms.bat) while I'm in Recovery Mode on my phone? Will my computer be able to recognize my phone while it's in Recovery Mode, or do I have to use those advanced mounting options first? And if/when my phone in Recovery Mode is recognized by DDMS on my computer, that's when I flash the PDroid ZIP file?
[Android Apps and Games] cliff03:
anyone tried this on hyperdroid andromeida 4.4.7?
[Android Apps and Games] willam71:
I applied the patch on Rocket ROM v10 for the Galaxy Note. It seemed to go fine, there were no errors reported.

Copied the jar files using root explorer and rebooted. The phone never got through the boot animation, though and I eventually had to revert back to the original.

Any suggestions, please? TIA.
[Android Apps and Games] alvinlim28:
hi, I'm using the note on Rocket ROM & would appreciate anyone kind enough to provide a flashable patch, many many thanks.
[Android Apps and Games] baka2x:
Although I'm using a Galaxy Note, I get this same thing. The launcher constantly FC's no matter which rom I'm using. It's a bit frustrating.
[Android Apps and Games] speed10:
i get this error when i execute the patch could someone help me?

(i checked the md5sum its ok)

mkdir: created directory /tmp1324906906'
mkdir: created directory /tools1324906906'

Extracting tools and resources

inflated: apktool.jar
inflated: apktool
inflated: pdroidpatcher.jar
inflated: services.patch
inflated: framework.patch
inflated: core.patch
inflated: framework.mod.jar
inflated: signapk.jar
extracted: updatekey.pk8
inflated: updatecert.pem
inflated: updaterB
extracted: updaterA
inflated: cleanupsmalimod
inflated: aapt

*** ERROR: failed to extract tools/resources from droid/pdroidpatcher.zip
[Android Apps and Games] cliff03:
Patching Instructions:

Download the PDroid Patcher from above

Do the following

Code:

jar -xf PDroid-Patcher-v1.26-Beta-0.7.zip

chmod 755 patchpdroid

./patchpdroid [path to your ROM zip]

A flashable PDroid patch zip will be created in the same directory you ran the commands from

A flashable zip for restoring your original ROM files will also be automatically created

Follow the installation instructions below to flash it

Post feedback and attach your patch file to your post if it worked for you, others might find it useful

where do you suppose to enter this line jar -xf PDroid-Patcher-v1.26-Beta-0.7.zip

chmod 755 patchpdroid

./patchpdroid [path to your ROM zip]???

does any one have step by step instruction for patching other ROMs.

thanks you very much
[Android Apps and Games] chmodbot:
Download the PDroid-Patcher-v1.26-Beta-0.7.zip file to a /tmp on unix.

Open up a console with root access on your linux system.

cd /tmp

jar -xf PDroid-Patcher-v1.26-Beta-0.7.zip

This process will extract the files you need to run the program but first you need to give the script execute permissions.

Type

chmod 755 patchpdroid

After this you download your ROM from wherever it is located on the web to /tmp. For instance if your running liberty download liberty from the appropriate site.

Then Run

./patchdroid rom.zip

where rom.zip is the file you donwloaded to temp.

If the jar command is not working for you on linux on the very first command you typed you need to download open jar for your unix system. Hope this helps.
[Android Apps and Games] HeavyTech:
Those are the instructions for any/every ROM that is deoxed or CM7 based, to run those commands you need a form of linux to do them in, I use Ubuntu installed on VMware myself instead of having to switch between the two. Once you do that and start up your choice of linux you open up terminal and enter in the instructed commands, typically though you wont have whats needed to actually do it but heres some more detailed instructions of what I had to do on Ubuntu.

Click the Ubuntu symbol in the bar on the left hand side of the screen which opens up a search

Click on the second symbol of the four in the bottom of the window to access Ubuntu's applications

Click on installed section to drop down the list and scroll down to click on terminal

On the command screen that comes up just type in cd Downloads

Type sudo apt-get install fastjar to be able to use the jar command

Next type sudo apt-get install patch in order for the patch command to function

Now is when you type jar -xf PDroid-Patcher-v1.26-Beta-0.7.zip

Next is chmod 755 patchpdroid

And finally type ./patchpdroid (Exact name and file extension of ROM)

If all goes well you'll find a patch in the Downloads folder with the name of you ROM and a restore patch as well, install the patch for your ROM via CWM recovery and install the Pdroid app from the market.
[Android Apps and Games] alroger:
Looks like you're missing java on your path. If in Ubuntu try reinstalling open jdk 6.

- Tapatalk - SGT-P1000N - BOCA RC1 -
[Android Apps and Games] drsood:
I am having this error while trying to patch the rom...please help

PDroid Patcher Beta 0.7 - Patch Version 1.26
...
...

Applying PDroid patches

./patchpdroid: line 140: patch: command not found
./patchpdroid: line 141: patch: command not found
./patchpdroid: line 142: patch: command not found

*** ERROR: failed to apply PDroid patches

just figured out that patch command is lacking on my system. i guess i will have to update build-essential

AWESOME APP....and thanks a lot for the Pdroid Patcher :) :D
[Android Apps and Games] moccor:
Awesome, worked fine. I'm gonna try my patch soon and hope I don't get aq bootloop like some people did haha.

Edit: Ok, the patch worked fine for Droid X MIUI Defy GB 1.12.9 -

http://dl.dropbox.com/u/20285760/PD...dow_1.12.9_Eng_Deo_ZipC_Signed_Wizard0f0s.zip MD5: 2A70826B898ED043689937BBF4123804

http://dl.dropbox.com/u/20285760/PD...dow_1.12.9_Eng_Deo_ZipC_Signed_Wizard0f0s.zip MD5: 7558AE4548B5A380379ABB43A7BEFD7C

I hope those links are fine to share.
[Android Apps and Games] docflower:
If I flash 1.12.16 Miui, then flash this patch, can I upgrade to 1.12.23 without losing pdroid? Or will I need to redo the patch?

edit. No.

I dont have linux. Could someone make a patch for 1.12.23 for craptivate?

http://roms.miui.us/1.12.23/MIUI.us_captivatemtd_1.12.23_Eng_Deo_ZipA_Signed.zip

Cheers!
[Android Apps and Games] moccor:
Give me a few minutes and I'll try to do it for you. I just successfully made one for my Droid X with MIUI. Also, it's very easy to do them yourself using VMWare Player and Ubunto with the little guide HeavyTech made for us.

http://dl.dropbox.com/u/20285760/PDroid-RESTORE-MIUI.us_captivatemtd_1.12.23_Eng_Deo_ZipA_Signed.zip Restore MD5: EFF1DFF76FFE2B07C5629934FED62035

http://dl.dropbox.com/u/20285760/PDroid-v1.26-MIUI.us_captivatemtd_1.12.23_Eng_Deo_ZipA_Signed.zip MD5: 637DFEA07C2E8B3E758CC01F7DE64B9A

Keep in mind I do not have your phone so I can not personally test the patch.
[Android Apps and Games] docflower:
I get the API error. Thanks anyway. My last linux comp died a while back. Im waiting for another to slow down a bit before I put on mint. I agree it is good instruction though.
[Android Apps and Games] moccor:
Idk what that error is, but if someone posted instructions on how to fix it, I can try. Since I already have all the files ready.
[Android Apps and Games] chrootz:
Hi- I tried using the PDroid Patcher v1.26 Beta 0.7, it failed patch the [ROM-STOCK-605.9] iKReaM.What.Thee.ROM.605.9-R3Ds for HTC Thunderbolt. It failed miserable and it's a stock sense rom using new 605.9 base (latest ota). Here the errors. Please help!

*EDIT* Duh me, I was using 64 bit, I read your OP and found needing 32bit

Everything solved! Thanks!

Building modified framework.jar

I: Checking whether sources has changed...
I: Smaling...
W: Unknown file type, ignoring: framework.mod.jar.out/smali/android/content/ContentResolver.smali.orig
W: Unknown file type, ignoring: framework.mod.jar.out/smali/android/app/ContextImpl.smali.orig
W: Could not find resources
I: Building apk file...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/chrootz/Downloads/tmp1325025591/framework.mod.jar, /home/chrootz/Downloads/tmp1325025591/framework.mod.jar.out/build/apk]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildApk(Androlib.java:355)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/chrootz/Downloads/tmp1325025591/framework.mod.jar, /home/chrootz/Downloads/tmp1325025591/framework.mod.jar.out/build/apk]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 5 more
Caused by: java.io.IOException: Cannot run program "aapt": java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
at java.lang.Runtime.exec(Runtime.java:610)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:78)
... 6 more
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
... 9 more
created: META-INF/
inflated: META-INF/MANIFEST.MF
inflated: preloaded-classes
java.io.FileNotFoundException: framework.mod.jar (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at sun.tools.jar.Main.run(Main.java:213)
at sun.tools.jar.Main.main(Main.java:1177)

*** ERROR: failed to build framework.jar
[Android Apps and Games] trenbeth:
Just reporting that I managed to run successfully patchdroid (using Ubuntu) on the CM 7.2 update for the Huawei U8120 (update #16), from http://xdaforums.com/showthread.php?t=1096075

(if you get API error, then the patch did not work).
[Android Apps and Games] docflower:
I tried to reinstall after I cleaned some things. Twice flashed the file and it worked. Im excited to try this software. LBE was ok, but kept crashing.

Thanks a lot for get the files fixed up for me.
[Android Apps and Games] moccor:
Np. If you need a update, just PM me. I have a fast internet connection so it only took about 10minutes total to get them back to you with MD5's.
[Android Apps and Games] hocgwai:
Galaxy Note

has anyone been able to get this working for the galaxy note? i have tried to make my own patch with patcher v1.26 beta 0.7. but after flashing the resulting zip file with cwm, twlauncher keeps FC'n. i am running rocket rom v11 without any addons.
[Android Apps and Games] svyat:
Good point. Will try to keep it updated starting with the next update ;)

No, you don't need to use any advanced options to get the log. Just start DDMS, connect your phone via USB, flash the patch and reboot your phone as usual. Then when it boots you should see it appear in the DDMS window. (Assuming that you have your USB drivers and Android SDK installed properly).

Thanks for the detailed report! I am pretty sure I have figured out what the issue is only from reading your post. Looks like touchwiz tries to get an instance of TelephonyManager in the main Activity's constructor (which is weird behavior and not the way Android apps should work IMHO). I'll need to adjust the PDroid patch code to account for that. And yes, you are right, the same "problem" also exists in PrivacyLocationManager and PrivacyAccountManager. However, I never noticed since most apps behave properly there... Anyway, I will fix it as soon as I can.

Could be the same issue as above. If you can, post an error log. Otherwise just wait until I update the patch and try again ;)

Would be nice if you could post an error log so I can look into it (instructions in the first post).

That's a weird one. No idea what the cause could be. Anyone else having this?

Most likely not.

LOL, craptivate. I laughed :D

P.S. Big THX to all of you reporting about working patches and to everyone trying to answer newb questions and help each other :)
[Android Apps and Games] svyat:
Just updated the patcher to hopefully fix the most recent FC issues. Would be nice if those having FC in their launcher could try and post some feedback ;)
[Android Apps and Games] romracer:
Well, the launcher is not FC'ing anymore :) That means I can actually access the phone to do further testing. I'll report back with any additional issues I encounter, if any. Thanks for the quick response and turnaround!
[Android Apps and Games] hocgwai:
Just patched with the latest .71 beta and GNote Rocket Rom v11. Launcher is not FC'n anymore so I can do some testing. will report back with any issues I come across.

BIG thanks for the quick response.
[Android Apps and Games] IlPapu:
HTC myTouch 4g 2.3.7 CyanogenMOD 7.1 Nightly 252

App works and loads on my phone, but will not allow me to unlock my sim card. So close... I was very excited that it booted! Let me know if I can provide any more information.

Thanks for the awesome work!