Nice to hear such good news. I've tested it on my own phone and it works perfectly too. I'm thinking of integrating access for camera and microphone too, is anyone interested to this?
Yes, definitely. That'll mean I can take the duct tape off...
Nice to hear such good news. I've tested it on my own phone and it works perfectly too. I'm thinking of integrating access for camera and microphone too, is anyone interested to this?
No I will show my support by purchasing his app or whoever decides to make one like this. I never donated as I never got a chance to try and run this and so far it looks abandoned.
Sent from my Nexus S using xda premium
The alternative is guess for ics/jb will be if cyanogenmod ports their app privacy controls to cm9/10 if this does not move forward.
Sent from my T-Mobile G2
I hope someone does something similar. Pdroid has the best implementation of privacy controls. I hate to see this awesome idea die
I am glad to hear this.Hi all pessimists,
On sunday I've received an email by swyat - and he wrote, that he will continue his dev. for pdroid after his vacation, in mid august or so...
So let him spend his vacation to get new energy for all his further work - I think he's reading here also in his vacation...
nice summer for all
bitstra
I am glad to hear this.
May it is an idea to submit the patches to CyanogenMod, so that a lot of ROM's can have PDroid.
CM7 had permission management, but CM9 (and CM10) does not have (as far as I know), so that could be a nice marriage
Going to the root, will yield more result IMHO, since most custom ROM's are based on a few 'mother' ROM's, like CyanogenMod.I think, many users/readers here should ask the devs of their custom roms to insert the patches in their compilations. They need sensiblisation for privacy protection in every rom...
bitstra
Hi all pessimists,
On sunday I've received an email by svyat - and he wrote, that he will continue his dev. for pdroid after his vacation, in mid august or so...
So let him spend his vacation to get new energy for all his further work - I think he's reading here also in his vacation...
nice summer for all
bitstra
I am glad to hear this.
May it is an idea to submit the patches to CyanogenMod, so that a lot of ROM's can have PDroid.
CM7 had permission management, but CM9 (and CM10) does not have (as far as I know), so that could be a nice marriage
is this the same like the pdroid wall? do i still have to patch the rom?
Is this compatible with the CM9 ROM? I'm using it on my Samsung Epic 4G and this app looks amazing, however I am using CM9 and that is ICS. Does that mean this won't work on it?
*** FATAL EXCEPTION IN SYSTEM PROCESS: NetworkPolicy
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE flg=0x10000010 (has extras) } in com.android.server.net.NetworkPolicyManagerService$7@40e7a0a8
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:737)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)
Caused by: java.lang.NullPointerException
at android.database.sqlite.SQLiteDatabase.releaseCompiledSqlObj(SQLiteDatabase.java:2203)
at android.database.sqlite.SQLiteProgram.release(SQLiteProgram.java:183)
at android.database.sqlite.SQLiteProgram.onAllReferencesReleased(SQLiteProgram.java:168)
at android.database.sqlite.SQLiteClosable.releaseReference(SQLiteClosable.java:46)
at android.database.sqlite.SQLiteProgram.close(SQLiteProgram.java:341)
at android.database.sqlite.SQLiteQuery.close(SQLiteQuery.java:162)
at android.database.sqlite.SQLiteCursor.close(SQLiteCursor.java:224)
at android.privacy.PrivacyPersistenceAdapter.getSettings(PrivacyPersistenceAdapter.java:369)
at android.privacy.PrivacySettingsManagerService.getSettings(PrivacySettingsManagerService.java:55)
at android.privacy.PrivacySettingsManager.getSettings(PrivacySettingsManager.java:39)
at android.privacy.PrivacySettingsManager.getSettings(PrivacySettingsManager.java:32)
at android.privacy.surrogate.PrivacyTelephonyManager.getSubscriberId(PrivacyTelephonyManager.java:247)
at com.android.server.net.NetworkPolicyManagerService.getActiveSubscriberId(NetworkPolicyManagerService.java:1549)
at com.android.server.net.NetworkPolicyManagerService.ensureActiveMobilePolicyLocked(NetworkPolicyManagerService.java:868)
at com.android.server.net.NetworkPolicyManagerService.access$1000(NetworkPolicyManagerService.java:148)
at com.android.server.net.NetworkPolicyManagerService$7.onReceive(NetworkPolicyManagerService.java:690)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:728)
... 4 more
PrivacyPersistenceAdapter(23825)getSettings - failed to get settings for package: android
PrivacyPersistenceAdapter(23825)java.lang.IllegalStateException: database /data/system/privacy.db (conn# 0) already closed
PrivacyPersistenceAdapter(23825)at android.database.sqlite.SQLiteDatabase.verifyDbIsOpen(SQLiteDatabase.java:2082)
PrivacyPersistenceAdapter(23825)at android.database.sqlite.SQLiteDatabase.lock(SQLiteDatabase.java:413)
PrivacyPersistenceAdapter(23825)at android.database.sqlite.SQLiteDatabase.lock(SQLiteDatabase.java:400)
PrivacyPersistenceAdapter(23825)at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:79)
PrivacyPersistenceAdapter(23825)at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:164)
PrivacyPersistenceAdapter(23825)at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:156)
PrivacyPersistenceAdapter(23825)at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:161)
PrivacyPersistenceAdapter(23825)at android.database.AbstractCursor.moveToFirst(AbstractCursor.java:201)
PrivacyPersistenceAdapter(23825)at android.privacy.PrivacyPersistenceAdapter.getSettings(PrivacyPersistenceAdapter.java:338)
PrivacyPersistenceAdapter(23825)at android.privacy.PrivacySettingsManagerService.getSettings(PrivacySettingsManagerService.java:55)
PrivacyPersistenceAdapter(23825)at android.privacy.PrivacySettingsManager.getSettings(PrivacySettingsManager.java:39)
PrivacyPersistenceAdapter(23825)at android.privacy.PrivacySettingsManager.getSettings(PrivacySettingsManager.java:32)
PrivacyPersistenceAdapter(23825)at android.privacy.surrogate.PrivacyTelephonyManager.getSubscriberId(PrivacyTelephonyManager.java:247)
PrivacyPersistenceAdapter(23825)at com.android.server.net.NetworkPolicyManagerService.getActiveSubscriberId(NetworkPolicyManagerService.java:1549)
PrivacyPersistenceAdapter(23825)at com.android.server.net.NetworkPolicyManagerService.setNetworkTemplateEnabled(NetworkPolicyManagerService.java:739)
PrivacyPersistenceAdapter(23825)at com.android.server.net.NetworkPolicyManagerService.updateNetworkEnabledLocked(NetworkPolicyManagerService.java:712)
PrivacyPersistenceAdapter(23825)at com.android.server.net.NetworkPolicyManagerService.access$700(NetworkPolicyManagerService.java:148)
PrivacyPersistenceAdapter(23825)at com.android.server.net.NetworkPolicyManagerService$7.onReceive(NetworkPolicyManagerService.java:691)
PrivacyPersistenceAdapter(23825)at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:728)
PrivacyPersistenceAdapter(23825)at android.os.Handler.handleCallback(Handler.java:605)
PrivacyPersistenceAdapter(23825)at android.os.Handler.dispatchMessage(Handler.java:92)
PrivacyPersistenceAdapter(23825)at android.os.Looper.loop(Looper.java:137)
PrivacyPersistenceAdapter(23825)at android.os.HandlerThread.run(HandlerThread.java:60)
First of all I want to thank you for Pdroid development, it really is the one thing that should be integrated into all roms and even AOSP by default.
I have a couple of issues using ICS 4.0.4 BCM RC4.1U2 GSM/CDMA that has Pdroid pre-installed I get lots of ROM reboots caused by fatal system crashes that log out like this :
Code:*** FATAL EXCEPTION IN SYSTEM PROCESS: NetworkPolicy java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE flg=0x10000010 (has extras) } in com.android.server.net.NetworkPolicyManagerService$7@40e7a0a8 at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:737) at android.os.Handler.handleCallback(Handler.java:605) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.os.HandlerThread.run(HandlerThread.java:60) Caused by: java.lang.NullPointerException at android.database.sqlite.SQLiteDatabase.releaseCompiledSqlObj(SQLiteDatabase.java:2203) at android.database.sqlite.SQLiteProgram.release(SQLiteProgram.java:183) at android.database.sqlite.SQLiteProgram.onAllReferencesReleased(SQLiteProgram.java:168) at android.database.sqlite.SQLiteClosable.releaseReference(SQLiteClosable.java:46) at android.database.sqlite.SQLiteProgram.close(SQLiteProgram.java:341) at android.database.sqlite.SQLiteQuery.close(SQLiteQuery.java:162) at android.database.sqlite.SQLiteCursor.close(SQLiteCursor.java:224) at android.privacy.PrivacyPersistenceAdapter.getSettings(PrivacyPersistenceAdapter.java:369) at android.privacy.PrivacySettingsManagerService.getSettings(PrivacySettingsManagerService.java:55) at android.privacy.PrivacySettingsManager.getSettings(PrivacySettingsManager.java:39) at android.privacy.PrivacySettingsManager.getSettings(PrivacySettingsManager.java:32) at android.privacy.surrogate.PrivacyTelephonyManager.getSubscriberId(PrivacyTelephonyManager.java:247) at com.android.server.net.NetworkPolicyManagerService.getActiveSubscriberId(NetworkPolicyManagerService.java:1549) at com.android.server.net.NetworkPolicyManagerService.ensureActiveMobilePolicyLocked(NetworkPolicyManagerService.java:868) at com.android.server.net.NetworkPolicyManagerService.access$1000(NetworkPolicyManagerService.java:148) at com.android.server.net.NetworkPolicyManagerService$7.onReceive(NetworkPolicyManagerService.java:690) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:728) ... 4 more
Also there's a couple of concurrent privacy.db access errors, but those could more or less be inocuous :
Code:PrivacyPersistenceAdapter(23825)getSettings - failed to get settings for package: android PrivacyPersistenceAdapter(23825)java.lang.IllegalStateException: database /data/system/privacy.db (conn# 0) already closed PrivacyPersistenceAdapter(23825)at android.database.sqlite.SQLiteDatabase.verifyDbIsOpen(SQLiteDatabase.java:2082) PrivacyPersistenceAdapter(23825)at android.database.sqlite.SQLiteDatabase.lock(SQLiteDatabase.java:413) PrivacyPersistenceAdapter(23825)at android.database.sqlite.SQLiteDatabase.lock(SQLiteDatabase.java:400) PrivacyPersistenceAdapter(23825)at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:79) PrivacyPersistenceAdapter(23825)at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:164) PrivacyPersistenceAdapter(23825)at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:156) PrivacyPersistenceAdapter(23825)at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:161) PrivacyPersistenceAdapter(23825)at android.database.AbstractCursor.moveToFirst(AbstractCursor.java:201) PrivacyPersistenceAdapter(23825)at android.privacy.PrivacyPersistenceAdapter.getSettings(PrivacyPersistenceAdapter.java:338) PrivacyPersistenceAdapter(23825)at android.privacy.PrivacySettingsManagerService.getSettings(PrivacySettingsManagerService.java:55) PrivacyPersistenceAdapter(23825)at android.privacy.PrivacySettingsManager.getSettings(PrivacySettingsManager.java:39) PrivacyPersistenceAdapter(23825)at android.privacy.PrivacySettingsManager.getSettings(PrivacySettingsManager.java:32) PrivacyPersistenceAdapter(23825)at android.privacy.surrogate.PrivacyTelephonyManager.getSubscriberId(PrivacyTelephonyManager.java:247) PrivacyPersistenceAdapter(23825)at com.android.server.net.NetworkPolicyManagerService.getActiveSubscriberId(NetworkPolicyManagerService.java:1549) PrivacyPersistenceAdapter(23825)at com.android.server.net.NetworkPolicyManagerService.setNetworkTemplateEnabled(NetworkPolicyManagerService.java:739) PrivacyPersistenceAdapter(23825)at com.android.server.net.NetworkPolicyManagerService.updateNetworkEnabledLocked(NetworkPolicyManagerService.java:712) PrivacyPersistenceAdapter(23825)at com.android.server.net.NetworkPolicyManagerService.access$700(NetworkPolicyManagerService.java:148) PrivacyPersistenceAdapter(23825)at com.android.server.net.NetworkPolicyManagerService$7.onReceive(NetworkPolicyManagerService.java:691) PrivacyPersistenceAdapter(23825)at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:728) PrivacyPersistenceAdapter(23825)at android.os.Handler.handleCallback(Handler.java:605) PrivacyPersistenceAdapter(23825)at android.os.Handler.dispatchMessage(Handler.java:92) PrivacyPersistenceAdapter(23825)at android.os.Looper.loop(Looper.java:137) PrivacyPersistenceAdapter(23825)at android.os.HandlerThread.run(HandlerThread.java:60)
Is there still a patch down the pipe ?
Also, I hope that someday we could sort apps by what type of access they need, so that I can quickly find out which apps wants the IMEI/SIMID etc.
Thanks !
patch -p1 -i build.patch
patch -p1 -i frameworks.patch
patch -p1 -i libcore.patch
source build/envsetup.sh
make update-api
mmm frameworks/base
mmm frameworks/base/services/java
mmm libcore
make snod
Right hereI do not have Market access, where can I download the PDroid app?
Controlling access to the network/internet requires either patching the kernel or using ROOT access within the PDroid app. I try avoiding the former due to portability and the latter due to user privacy/security reasons. I am looking into adding internet access control in a way, which would be the most acceptable/convenient for the user. However, this feature currently isn't on the top of my to-do list.
For experienced developers the following basic steps for creating a PDroid patch should be enough to get you started:
Yes. But I have not ported PDroid to Froyo or ICS yet. No ETAs yet. You'll need some patience there.
I might, when I get some more spare time
Yes, however you will need to backup your settings to internal memory (PDroid preferences) before making a backup with TitaniumBackup. After restoring with TitaniumBackup, you will need to restore the previously backed up settings. Alternatively you can backup privacy settings to the SD card.
Yes.
I have applied the correct patch but my device does not boot, how do I find out what the error is?
Have you flashed other mods to your ROM? If so, PDroid is most likely conflicting with them. You will need to create a patch for your customized ROM.I have flashed a patch but I am having very weird issues I didn't have before (like you cannot unlock the SIM card or there are weird graphics etc.)?
If your other mods DO NOT replace any of the three files: framework.jar, services.jar or core.jar in /system/framework, you can just create a patch normally based on your original ROM file.How do I make a patch for my device after I have flashed some other mods?