yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] vroomonurface:
Lol, thanks for the trouble. Works flawlessly now. This patch and app should be included in every upcoming rom, it's that good.
[Android Apps and Games] cmfan:
For all who (like me) want a default deny feature: I helped myself a lot by simply adding a trigger to the privacy.db that holds the settings. Run this in a root shell:

sqlite3 /data/system/privacy.db "CREATE TRIGGER defaultSettings AFTER INSERT ON settings
BEGIN
UPDATE settings SET deviceIdSetting=3, line1NumberSetting=3, locationGpsSetting=3, locationNetworkSetting=3, networkInfoSetting=1, simInfoSetting=1, simSerialNumberSetting=3, subscriberIdSetting=3, accountsSetting=1, accountsAuthTokensSetting=1, outgoingCallsSetting=1, incomingCallsSetting=1, contactsSetting=1, calendarSetting=1, mmsSetting=1, smsSetting=1, callLogSetting=1, bookmarksSetting=1, systemLogsSetting=1, externalStorageSetting=1, cameraSetting=1, recordAudioSetting=1, notificationSetting=1, intentBootCompletedSetting=1 WHERE rowid=new.rowid;
END;"

This undoubtedly complete hack job will cause any NEW entry to be overwritten with the above default values (block anything, randomize as as much as possible and turn on data access notification. If you are less paranoid than me, adjust these to your needs: 0 means Allow, 1 Block, 2 Custom and 3 Random). It's the best I could do without the PDroid source code (no, I can't do any smali magic).

Any existing entry will be saved as specified in the GUI.

Usage is thus as follows: select any new entry from the apps list. Do not alter any permissions (your changes will be lost) but hit Save immediately. Open the same entry again and find all permissions revoked. Adjust as desired and hit Save.

In order to restore the original behavior at a later time, execute:

sqlite3 /data/system/privacy.db "DROP TRIGGER defaultSettings;"
[Android Apps and Games] ic2:
Hi all,

I tried to create a patch for my galaxy s running XXJVU gingerbread 2. 3.6 on my windows 7 pc but I get a java error and the patcher does not load at all.

Can any one patch the rom for me?

It can be downloaded at this link

multiupload.co.uk/63FI9OHS7V

Or

mediafire.com/?68qo8g69kbnzpru

Thanks in advance.
[Android Apps and Games] svyat:
I'm not getting those. Tried cleaning dalvik cache/wiping/repatching?

I'm glad you like it :)

You'll have to provide me with the error log (see first post).

You're right. I'll have to investigate.

Unblock the offending apps and see if the problem persists? :P

Of course any app could do anything, it was programmed to do, this includes constantly retrying if the returned data set is empty (however, nothing weird should happen for custom/random values). That is something I cannot do anything about. PDroid is already doing its best to try and prevent weird app behavior.

Yeah, some classy hacks! Awesome :)
[Android Apps and Games] Chimpdaddy:
Thanks for your work on this, as I'm sure you know, its very much appreciated.

For some reason though Im getting a bootloop on this ROM,

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

Darkside for the Atrix.

I build the patch in Ubuntu and it says it did ok, just I get this problem after flashing it. I followed yr instructions to find errors but the device doesnt show up while its looping.

Is there a way I can ensure the debugging link is set up before the rom is fully loaded?

Or anything else I can try?

Thanks
[Android Apps and Games] frsp2:
Please post error text here.

http://www.mediafire.com/?28gluf96ofnckdt

http://www.mediafire.com/?kc58s5jpg5s26uk

Successfully created PDroid patch.

PDroid Patch: PDroid-v1.27-XXJVU_Deodexed_Zipaligned_MultiCSC_V2_signed.zip.

You can flash it through recovery (for example CWM).

To restore your ROM and remove PDroid, flash PDroid-RESTORE-XXJVU_Deodexed_Zipaligned_MultiCSC_V2_signed.zip

DO NOT FORGET TO MOUNT /SYSTEM IN RECOVERY (CWM) BEFORE FLASHING THE PATCH
[Android Apps and Games] ic2:
Thank you for the patches and here is the error i get when i launch pdroid patcher
[Android Apps and Games] frsp2:
Error text:

An unexpected error occured.

Value cannot be null.

Parameter name: path:

at System.IO.Directory.GetDirectories(String path, String searchPattern, SearchOption searchOption)

at PDroidPatcher.Form1.findJava()

at PDroidPatcher.Form1.Form1_Load(Object sender, EventArgs e)

Solution:

Add this string ;c:\Program Files\Java\jdk1.6.0_25\bin to system PATH environment variable

;c:\Program Files\Java\jdk1.6.0_25\bin must be actual path to JDK installation
[Android Apps and Games] raenye:
Applications by the same developer (that is, signed by same key) can communicate, so you could theoretically have one app with just internet permissions and one "harmless" app that feeds private data to it.

It could also leak via sms/bluetooth/etc., but this is less likely.
[Android Apps and Games] mobiliz:
Is it possible to use this on samsung galaxy ace?
[Android Apps and Games] frsp2:
The patch is intended for patching ROM zips not xyz device. The ROM must be in CWM-compatible format (most of the custom ROMs) and deodexed.

---------- Post added at 01:48 AM ---------- Previous post was at 01:39 AM ----------

I am not sure does the log file survive reboot?

If yes you can try to flash reverse patch and check for log file on working device.

If not there might be a way to install additional logging app to the phone or

you may add log copy (save) command to boot script and apply patch after that.

Just an idea.
[Android Apps and Games] krzych:
Lol, but you do much good :). I have no time right now, but I'll help you soon :) (already did few patches)

Yup, this seems the only choice now, but involves a loads of testing so time too, and I have no time at all... Ok, I'll manage somehow. Maybe with the new ROM this all will end just like that, and I hope for new ROM at least in the month.
[Android Apps and Games] frsp2:
"Specifically, Android SE aims to offer:

Per-file security labeling support for yaffs2,

Filesystem images (yaffs2 and ext4) labeled at build time,

Kernel permission checks controlling Binder IPC,

Labeling of service sockets and socket files created by init,

Labeling of device nodes created by ueventd,

Flexible, configurable labeling of apps and app data directories,

Userspace permission checks controlling use of the Zygote socket commands,

Minimal port of SELinux userspace,

SELinux support for the Android toolbox,

Small TE policy written from scratch for Android,

Confined domains for system services and apps,

Use of MLS categories to isolate apps."

http://www.xda-developers.com/android/security-enhanced-android-released-by-nsa/
[Android Apps and Games] DirkStorck:
Hi....what is all about all those tons of messages like

E/dalvikvm( 1041): Invalid debug info stream. class Lcom/android/server/am/ActivityManagerService;; proto (Z)V

E/dalvikvm( 1041): Invalid debug info stream. class Lcom/android/server/am/ActivityManagerService;; proto ()V

E/dalvikvm( 1041): Invalid debug info stream. class Lcom/android/server/am/ActivityManagerService;; proto (Z)V

E/dalvikvm( 1041): Invalid debug info stream. class Lcom/android/server/am/ActivityManagerService;; proto ()V

E/dalvikvm( 1041): Invalid debug info stream. class Lcom/android/server/am/ActivityManagerService;; proto (Z)V

E/dalvikvm( 1041): Invalid debug info stream. class Lcom/android/server/am/ActivityManagerService;; proto ()V

E/dalvikvm( 1041): Invalid debug info stream. class Lcom/android/server/am/ActivityManagerService;; proto (Z)V

E/dalvikvm( 1041): Invalid debug info stream. class Lcom/android/server/am/ActivityManagerService;; proto (Z)V

E/dalvikvm( 1041): Invalid debug info stream. class Lcom/android/server/am/ActivityManagerService;; proto ()V

E/dalvikvm( 1041): Invalid debug info stream. class Lcom/android/server/am/ActivityManagerService;; proto ()V

E/dalvikvm( 1041): Invalid debug info stream. class Lcom/android/server/am/ActivityManagerService;; proto (Z)V

E/dalvikvm( 1041): Invalid debug info stream. class Lcom/android/server/am/ActivityManagerService;; proto ()V

E/dalvikvm( 1041): Invalid debug info stream. class Lcom/android/server/am/ActivityManagerService;; proto (Z)V

?????????
[Android Apps and Games] krzych:
It would be much easier if your app would insert/update only "touched" in the gui permission, then the table could have simple default statement with proper value.

And that's the way it should be if we mention classy ;P :D

Even better - defaults should be inserted without user knowledge if app detects no record at all, then read into the GUI, then user can change, then update or ignore if no changes.
[Android Apps and Games] svyat:
Updated patcher to version 0.24. The null error should be fixed now. Maybe it will even work on XP, who knows ;D

Even applications by different developers can communicate by sending Intents back and forth. So ultimately one would have to apply a certain data access blocking to ALL installed applications to be 100% sure that no other app can get the data in question and communicate it to another app.

So my point is: yes, your statement is correct but it is pretty unlikely in practice that someone will do it (unless you install REALLY strange and suspicious apps ;)).
[Android Apps and Games] jaibar:
Nah, it doesn't work on neither xp sp2 nor sp3, all requirements met (jdk, dotnet, path variables etc)- just get an error and request to send report to Microsoft (no thanks:p).

Something I don't get, if root is required for installation, what's the "root not required" in OP for? Maybe branch the app- one for those who don't mind having the app run with root permissions, another for those who don't?

Is there some way to make this patching work unnecessary, thus bringing the app available "for the masses"? Looks a good thing, but not available for everyone?
[Android Apps and Games] comegalletas:
Hello mobiliz, if you search a few pages back you can find the patch for Samsung Galaxy Ace using the Gingerreal 1.4 ROM.
[Android Apps and Games] frsp2:
svyat

This might help you to solve Windows XP EventType : clr20r3 error

"Solution

After dropping all of the error messages I could into Google and discovering that a lot of other developers were having the same problems I thought it would be an easy fix. Unfortunately for most users their cries for help went unanswered or unresolved.

I did find several threads with people saying that I should put the service in a try catch block and then log the error to the Event Log but the problem was that nobody posted any code to go along with the suggestion. At the time I was stressed and wanted a copy paste answer!

So in the end I caved, wrote the code, went through the test cycle one more time and then checked my event log.

I should have done that the first time.

In my event log was the actual exception that was being raised plus the full stack trace pointing right at the line of code that was causing the problem.

<skip>

The only silver lining I can see in this experience is that I am not going to forget it any time soon. If this -ever- happens to me again I am sure that I wont have any trouble instantly recalling the exact steps to solve this.

Your specific error will probably not be the same one as mine, however by using the code in the next section you will be able to track down your offending error with ease.

Implementation

<skip>

In the catch() block we will need to write out the details of the Exception into the Application Event Log. Here is the minimum code you need to log an error to the Windows Event Log."

http://runtingsproper.blogspot.com/2010/02/solved-error-1053-eventtype-clr20r3.html
[Android Apps and Games] Fourknucks:
Ubuntu VM Error

This is about as far as I can get.....any ideas

ubuntu@ubuntu-VirtualBox:~$ ./patchpdroid weekly-22-jan-2012.zip

***************************************************

**** PDroid Patcher Beta 0.71 - Patch Version 1.27

***************************************************

Creating temp dirs

mkdir: created directory `/home/ubuntu/tmp1327541674'

mkdir: created directory `/home/ubuntu/tools1327541674'

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

Extracting original files from ROM

created: META-INF/

created: META-INF/com/

created: META-INF/com/google/

created: META-INF/com/google/android/

inflated: META-INF/com/google/android/update-binary

inflated: META-INF/com/google/android/updater-script

created: system/

created: system/framework/

inflated: system/framework/core.jar

inflated: system/framework/framework.jar

inflated: system/framework/services.jar

`system/framework/core.jar' -> `./core.jar'

`system/framework/framework.jar' -> `./framework.jar'

`system/framework/services.jar' -> `./services.jar'

`META-INF/com/google/android/update-binary' -> `./update-binary'

`META-INF/com/google/android/updater-script' -> `./updater-script'

Decompiling original files

/home/ubuntu/tools1327541674/apktool: line 77: exec: java: not found

/home/ubuntu/tools1327541674/apktool: line 77: exec: java: not found

/home/ubuntu/tools1327541674/apktool: line 77: exec: java: not found

Cleaning up smali code

/home/ubuntu/tools1327541674/cleanupsmalimod: line 3: framework.mod.jar.out/smali/android/app/ContextImpl.smali.new: No such file or directory

mv: cannot stat `framework.mod.jar.out/smali/android/app/ContextImpl.smali.new': No such file or directory

/home/ubuntu/tools1327541674/cleanupsmalimod: line 6: framework.mod.jar.out/smali/android/content/ContentResolver.smali.new: No such file or directory

mv: cannot stat `framework.mod.jar.out/smali/android/content/ContentResolver.smali.new': No such file or directory

/home/ubuntu/tools1327541674/cleanupsmalimod: line 9: services.mod.jar.out/smali/com/android/server/am/ActivityManagerService.smali.new: No such file or directory

mv: cannot stat `services.mod.jar.out/smali/com/android/server/am/ActivityManagerService.smali.new': No such file or directory

/home/ubuntu/tools1327541674/cleanupsmalimod: line 12: services.mod.jar.out/smali/com/android/server/ServerThread.smali.new: No such file or directory

mv: cannot stat `services.mod.jar.out/smali/com/android/server/ServerThread.smali.new': No such file or directory

/home/ubuntu/tools1327541674/cleanupsmalimod: line 15: core.mod.jar.out/smali/java/lang/ProcessManager$ProcessImpl.smali.new: No such file or directory

mv: cannot stat `core.mod.jar.out/smali/java/lang/ProcessManager$ProcessImpl.smali.new': No such file or directory

*** ERROR: failed to cleanup smali code
[Android Apps and Games] frsp2:
Did you install Java?
[Android Apps and Games] Fourknucks:
Yes, at least I think I did. First commands I usedç

sudo chmod +x jre-6u30-linux-i586-rpm.bin

./jre-6u30-linux-i586-rpm.bin

After I got the error I tried

sudo chmod +x jdk-6u30-linux-i586.bin

./jdk-6u30-linux-i586.bin

Both installed properly, but both return the same error I posted in the previous post. Any ideas, or did I do it wrong

THanks for the files BTW!
[Android Apps and Games] frsp2:
Please confirm that this ROM is yours

http://code.google.com/p/atrix-dev-team/downloads/detail?name=weekly-22-jan-2012.zip&can=2&q=
[Android Apps and Games] Fourknucks:
Yep, worked perfect! Thanks
[Android Apps and Games] DaNiElCoRe:
Hi

please you can create a files for this rom because i have the error in W7 and i cant compile in windows

here the POST of the rom : http://xdaforums.com/showthread.php?t=1298808

and Here the link of the rom (MF): http://www.mediafire.com/?pdac1wezs24l5m2

Thanks in advance
[Android Apps and Games] frsp2:
You're welcome.

Regarding that error - I think there is a problem with Java installation.

Please check your JAVA_HOME and PATH vars

Try something like this

export JAVA_HOME=/usr/local/jdk

export PATH=$JAVA_HOME/bin:$PATH

"To find out if the java executable is in your PATH, execute:

% java -version

This will print the version of the java executable, if it can find it. If you get error java: Command not found. Then path is not properly set.

To find out which java executable the first one found in your PATH, execute:

% which java

Below are the steps to set the PATH permanently,

Note: We are here giving instructions for two most popular Shells on Linux and Solaris.

Please visit link below if you are using any other shells.

Path Setting Tutorial

For bash Shell:

Edit the startup file (~/ .bashrc)

Modify PATH variable:

PATH=/usr/local/jdk1.6.0/bin

export PATH

Save and close the file

Open new Terminal window

Verify the PATH is set properly

% java -version"

http://java.com/en/download/help/path.xml

---------- Post added at 05:46 AM ---------- Previous post was at 05:43 AM ----------

What kind of error? Please post screenshot.
[Android Apps and Games] DaNiElCoRe:
thanks for the answer but i stay in W7,

to add the path but later i drag the ROM (in zip file) to the PDroid file (i uncompressed the zip for Windows) and have the same problem.

i have this message:

http://xdaforums.com/showpost.php?p=21777717&postcount=665
[Android Apps and Games] frsp2:
The first part of my answer is for another user.

Please post a screenshot for Win7 error.
[Android Apps and Games] DaNiElCoRe:
sorry mate,

the W7 show this same message:

http://xdaforums.com/showpost.php?p=21777717&postcount=665

i tried this

but doesn´t work for me

another solution?
[Android Apps and Games] frsp2:
Please check exact path for your Java installation. Post it to the topic.

Copy it from your real disk path, not from internet.

Also provide your PATH var, copy and paste it here.

I'll try to validate it.

I guess it's a much better method than adding absolute paths to every java binaries call.

Your patch

http://www.mediafire.com/?bw6gajkbao10tdy

http://www.mediafire.com/?8ptu81mn8t9tqzl
[Android Apps and Games] DaNiElCoRe:
thanks a lot mate.

i have the following path in my PC

C/Program Files/JAVA/ into this folder have 2 more:

jdk1.6.0_25 AND jre6

i was doing something wrong with the path?

i used C/Program Files/JAVA/jdk1.6.0_25/bin to register into the system path variables in advanced config.

Greetings
[Android Apps and Games] frsp2:
Please post full PATH string here.
[Android Apps and Games] DaNiElCoRe:
this

C:\Program Files\Java\jdk1.6.0_25\bin

and

C:\Program Files\Java\jre6\bin
[Android Apps and Games] frsp2:
I mean system var "PATH".
[Android Apps and Games] DaNiElCoRe:
i used the comand echo %path% and show me this

C:\Program Files\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Windows Live\Shared

is this the system var "PATH" ?

sorry but i am noob =(
[Android Apps and Games] frsp2:
As you can see there is no Java path there. Try to fix it, add

;C:\Program Files\Java\jdk1.6.0_25\bin

to it. You have quoted right guide for that in this message

http://xdaforums.com/showpost.php?p=21826312&postcount=687

The final PATH string must be like this

C:\Program Files\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Windows Live\Shared;C:\Program Files\Java\jdk1.6.0_25\bin
[Android Apps and Games] Fourknucks:
I finally got it to work, took a little more reading, but you guidance definitely pointed me in the right direction and helped immensely. THANKS AGAIN!
[Android Apps and Games] DaNiElCoRe:
now works to me so the following steps:

in the window propieties system>advanced options,

into the enviroment variables>System variables

create a new with the name: JAVA_HOME

and add into the Path, the path you have installed the JAVA JDK (in my case for W7

C:\Program Files\Java\jdk1.6.0_25) and save it.

later open the variable "Path" in the same windows and right click in modify, and add the next values:

;%JAVA_HOME%\bin;

and save it.

now just click ok in all windows and run the Script
[Android Apps and Games] therenegadenail:
So... Is there somewhere i can go to get an explanation of what the options mean? I feel like a noob and stuff but i don't know what some of the things mean, like imsi and others.

I guess i am just looking for a dummy guide as to what the different options mean and what they do etc
[Android Apps and Games] frsp2:
You can easily find all info on these abbreviations and terms in Wiki and Google

IMSI for example: http://en.wikipedia.org/wiki/International_Mobile_Subscriber_Identity

Nothing there is invented by or exclusively related to PDroid.

Besides Google this might be of some help

http://developer.android.com/reference/android/Manifest.permission.html
[Android Apps and Games] therenegadenail:
Thanks man!
[Android Apps and Games] krzych:
To be precise - it is rather PRETTY LIKELY, because companies like HTC (which produces most android phones) are already using this technique. For example, weather has at least two activities, I do not remember now whether one has internet permission and other all the rest perms available, but I bet there is such a pair made by HTC. Not mentioning what can be done by those intentuonal spies like TellHTC and other CIQ's.

I only can agree that _private_ devs are not doing this much, so from the _private_development_view_ maybe you're right, but surely not from the corpo view - do you think that corpos aren't aware of your PDroid or LBE? I'm sure they are.

---------- Post added at 04:05 PM ---------- Previous post was at 04:02 PM ----------

Nice, but it seems they are trying to make Tizen instead helping Tizen devs to speed up the work... A pity.

By the way, I hope that Tizen devs will make easy to install dalvik crap to have android apps available too.
[Android Apps and Games] gzrecoil:
ATRIX CM7 BA2TF version in dev section for the atrix.
[Android Apps and Games] I900-Nutzer:
Same here :confused: (ZTE Blade with actual CM7-Build)
[Android Apps and Games] cmfan:
So am I, that's why I never leave house without Droidwall (in addition to excellent PDroid of course).
[Android Apps and Games] krzych:
Those are probably informations about "cutted" possibility to log in debug mode which is mainly done by TrevE's tools i believe, but I'm not sure (ROM maker could done this).

And this is not the right thread to post about this one.
[Android Apps and Games] Zetup-EXE:
Hi there,

just a short one:

Will a *.odex Version going to release? (I asked because i am one of those who is using max. a Stock or Frankenstein Rom with Root) :o

cya

Zetup-EXE
[Android Apps and Games] desean:
Thanks for this app! Just wanna let you know that this app works on my SGS2 with VillainROM 3.0 custom ROM.

The system files for this rom can be found here: http://xdaforums.com/showpost.php?p=21883216&postcount=5624
[Android Apps and Games] Revjonny:
The BEST app I have. A must. Works on DROID charge with Windows patcher. It's great seeing things get denied and scary turning on the notify all! I am amazed at what wants what how often
[Android Apps and Games] nth0814:
Great apps. Thanks!
[Android Apps and Games] tin2404:
This baby works excellent !

I reset and tested on my Google account and this is what has been displayed.

excellent app !
[Android Apps and Games] pastime1971:
deleted: dupliate of http://xdaforums.com/showpost.php?p=19639829&postcount=24
[Android Apps and Games] perkhus:
fine excelent work.
[Android Apps and Games] Number R09:
finally had time today to work out a patch for my DInc2. flashed about an hour ago, and it works great, no FC, and no issues i can see. thank you very much for this app and companion patcher.

here is a patch for a DInc2 running SkyRaider Zeus 1.3
[Android Apps and Games] pastime1971:
disabled two "exit 45" in build/core/droiddoc.mk

edit: now getting Error 1
[Android Apps and Games] Kurupt1:
ICS support would make me :D
[Android Apps and Games] anonymous572:
Somebody please upload PDroid APK here or at megaupload.com

I don't have market. Have apk already