yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Koetermann:
Hi there,

tried a few times to build a cm 10.1 (based on Android 4.2.2) from sources including pdroid 2.0.

I got the pdroid sources form THIS post.

When I started the build process ("brunch") the compiling stopped after a few seconds with an error message:

make: *** Keine Regel vorhanden, um das Target »vendor/samsung/smdk4412-common/proprietary/sbin/cbd«,
benötigt von »/home/koeter/cm10.1/out/target/product/i9300/root/sbin/cbd«, zu erstellen. Schluss.

HERE'S the full prompt from the terminal.

What do I have to do, to get a clean build?

Thanks and regards

Koetermann
[Android Apps and Games] TamCore:
You need the file vendor/samsung/smdk4412-common/proprietary/sbin/cbd which has nothing todo with PDroid. Are you sure that the repo smdk4412-common is included in your manifest and is up2date?
[Android Apps and Games] lothos:
Contact Sync

I still can't get my contacts to sync properly with the 1.54 patches. The contacts app just sits there saying "syncing contacts" and the sync icon in the settings is stuck. Whatever it is doing requires me to wipe my contacts and the contact sync adapter after flashing a regular rom in order for them to sync again. I've tried with a complete wipe, formatting *everything*, add the one account and nothing but stock apps, still have the problem. There is nothing in a logcat about contacts or sync errors, either. I've even tried wiping out all of my contacts from gmail (in the browser) and it still fails.

Openpdroid doesn't have this problem, but it does keep llama from working. Sigh!
[Android Apps and Games] Koetermann:
Hi,

right now I built CM 10.1 (based on Android 4.2.2) Images incl. the pDroid 1.54 patches for my Samsung Galaxy S3 int. (i9300) and my Nexus 10 (manta):

Seems like everything's working like charm. Except the app "andFTP" from Lysesoft. When I start this programm, it opens for 4-5 seconds and then finishes.

HERE'S the logcat.

I had no issues with earlier versions of pDroid 2.0 / openpdroid and andFTP...

Regards

Koetermann
[Android Apps and Games] noob00:
Apps & Services List

So Thanks everyone for your help I finally managed to install patch and PDroid 2.0, once again thanks (particularly didgesteve and kozoikan) anyway, now that it's working I was wondering where to get a list of all the apps and services in order to find out what they exactly do and need so to know what to block and where. i.e.: I wanted the GPS to work so I allowed the navigation app I use to see the GPS (value real) it doesn't work anyway... same thing for the "Settings>Data Usage>Mobile Data>ON/OFF" button doesn't work and Pdroid notifications says "Settings access to Switch Connectivity BLOCKED" but there's no Switch Connectivity inside of the "Settings" app in PDroid Settings, only close thing I found is "Switch Network State" but it is not in the "Settings App" so I can change the network state from the "notification drawer" but not from the settings... any help? Plus, the most important thing, I dont seem to be able to receive sms if my phone is on airplane mode or switched off, when I switch it back on or airplane mode off no sms arrive as they should. So I was wondering what was the service I have to unblock in order to be able to retrieve sms automatically after airplane mode/phone on/off because according to me the "ICC Access" permission set to real was the one allowing "Messaging" to "read/write sms from the SIM card" but apparently I'll have to allow something else...

Moral of my story is:

Is there a detailed list, app per app, what they do, what they need (and what they don't!!!) to make things easier for everyone?

(I found a couple of these lists around, even one here on xda but they're not up to date, plus they're kind of detail-less...)

P.S.

In the meantime if anyone knows how to help me on the GPS, the Switch Connectivity and the SMS I'll be more than glad to hear :)

Thanks in advance to whoever will help me and thanks again to the ones who already did
[Android Apps and Games] newb4r9o:
Please let me echo the thoughts expressed earlier - PLEASE write this program. I've a rooted N7100 with which I'm quite happy - except I greatly need the privacy afforded by Pdroid 2; the only real high-priority remaining for my box.

I'm tracking progress on CM and other CM-based ROMS primarily so that I can implement Pdroid 2; and FWICT they're not there (not up to reliability or full function of stock). If you could figure a way to patch stock, I'd bet many N7100 owners would rejoice; install Pd2; and simply stick with stock firmware!

Thank you for all of your work and accomplishments on Pdroid 2.
[Android Apps and Games] SecUpwN:
AW: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

When will PDroid 2 be usable with AOKP 4.2.2?
[Android Apps and Games] ShadeTrenicin:
quick question just to make sure, before i mess up my phone:

I have a SGS 2 I9100. with ParanoidAndroi 3.0. so i can use this with the autopatcher tool?

thanks
[Android Apps and Games] Koetermann:
Ok, got this warning yesterday evening:

Maybe there's a way to show the name of the app that wants to change the private settings? I think there are a couple of root apps i would trust in, f.e. Titanium Backup or SuperSU. In that case I think it could be helpful to apply that this app isn't dangerous for the private settings. Or could this be, that also "trusted apps" will overwrite/change my private settings by mistake?

Regards

Koetermann
[Android Apps and Games] CollegeDev:
I will looking forward to it if there is more spare time. I'm currently very busy.

Yes, I also think it is a good idea to "melt" together. I has a lot of advantages. (I'm sorry for to be quick, but I'm currently under hard pressure).

Yes, any Samsung-Based Stock rom you can find is the future goal.

Thanks :)

Yes, I will upload them on my github.

Hey, yes.

I began to push the sources to github. I need to talk with mateo about the elaborations how to push them in the most efficient way.

For N7100 it is available soon (I'm currently using it :D ) but I don't know any ETA for other stockRoms.

Yes, it is all ok. The application will get no image instead of the privacy pdroid image if you block the camera :D

If you update (OTA) you need to reflash the patches to get PDroid2.0 working on Stock Roms, BUT it is not recommended to update (OTA) until I will release the patch which fits to the update.

Please post logcat, otherwise it is impossible to find the "bug".

For gps: Allow the default installed phone application network location and gps location -> it should work now!

For switch connectivity: Please use the "reload apps" function to refresh the applications. After that look again at settings. The setting you should search for called: switch network state. Allow it! Furthermore: allow the system ui "switch wifi" and "swich network" .

for sms: allow the sms application following settings: Contacts, CallLog, Access Sms, Send sms, Access Mms, Send mms

I think you misunderstood me :D I'm currently running PD2.0 on my N7100 with the latest ota update (feb 13).

It is usable with AOKP, I think Karamelos compiled it already.

Nope, you have to use OpenPDroid. After we're ready with merging the frameworks, you can use it again :)

Jeah, there are pretty two reasons for that:

1) Some application really tried to modify your settings

2) You was the one who stuck in thread failure

Did you apply any batch job or saved settings while this popup opened? If so, it is my fault :( I created the patches with a pre-version of my sources -> the watchdog is not thread safe at all. I will upload the next few days new patches with your fixes for the 2 applications and this one, is that okay? In meantime I can provide (this evening) a quick fix. I can't provide new patches immediately, because my hdd is full and I need an original CM10.1 framework to patch against it.

I'm currently very busy until the 18th of this month.

New manager Available (under same version v1.54 but with some bugfixes). Download at my GitHub

In future the patches and application is only available via Github. This should centralize the "downloads". If you want to get notification about updates you just have to "watch" the repo PDroid2.0_Manager_Compiled or follow me on GitHub. Thanks
[Android Apps and Games] kaizokan:
I never found any. Maybe we all can make one by uploading our own settings for specific apps in a thread? i Can image it will also get harder to know what to allow and what not with this much permissions that we are now able to block :)

I currently still use the old Pdroid on ICS, so i do not even have the new permissions, i do want them but i will wait for the merged Pdroid.

The only lists i know of are ones that tell which system apps can be safely removed or be frozen. I would like to know about system apps more than user apps because it's much harder to test the system app permissions. If there are actually people who also use it for system apps of course.

If i am correct some apps even without internet permission can use another (system) app to go online and send your data.
[Android Apps and Games] CollegeDev:
Here is the quick fix:

Thread safe WatchDog

Fixed FC caused by NullPointerException due to ContextImpl changings

How to apply this:

Replace the files: PrivacyPersistenceAdapter.java && PrivacyWatchDog.java in frameworks/base/privacy.... (see attachment for this files)

Search for: ContextImpl.java and open it

Search the following line:

if(intent.getAction().equals(PrivacySettingsManager.ACTION_PRIVACY_NOTIFICATION))

Replace it with this line:

if(intent != null && intent.getAction() != null && intent.getAction().equals(PrivacySettingsManager.ACTION_PRIVACY_NOTIFICATION))

Have fun

Cheers
[Android Apps and Games] noob00:
GPS --> i already did that but it won't work...

Switch Connectivity --> I already did the advanced search and already allowed REAL to ALL the apps that required "Switch Network State" just to make sure, nothing changed, from "Settings > Data Usage" I can't On/Off it...

SMS --> the sms app is allowed all of that already, still doesn't retrieve sms from the simcard if the phone was off or in airplane mode, so I ask again, is there any other service (maybe google maybe samsung service?) that should be running or allowed to "access ICC"? I searched online and couldn't find anything, If you could tell me what's the service that "retrieves offline sms" I could look through it (is it smspush?)

Still Waiting for the List :)

Thanks CollegeDev for your reply all the same, with programming and compiling it gets difficult and keeps u too busy sometimes, but im a noob, what do i know ;)

---------- Post added at 11:23 AM ---------- Previous post was at 11:04 AM ----------

thought about that but i think it wouldn't be exactly the same for every phone model, different phones might use slightly different services maybe?

anyway when my pdroid is all up and running I'll definitely publish my list of apps, services and permissions :) you want to join? haha
[Android Apps and Games] Koetermann:
Hi CollegeDev,

included the fixes in my newest build. Works great.

Now AndFTP works again. Thank you for fixing this so quickly. :good:

Regards

Koetermann

P.S. The Google Playstore Updates are as quick as they were before I installed PDroid 2.0. I guess it's a result of your modified apk. :D
[Android Apps and Games] CollegeDev:
Sounds very very curious, because I've never heard about that. Did you came from fullwipe or how did you install PDroid?

Please provide logs, then I can have a look at it.

Related the list: i can add user default profiles to the manager if there is enough demand on it.

Great to hear that it works for you.

@ bonanza123

I didn't forget you. I will have a look at this "issue" asap!
[Android Apps and Games] poo706:
Let me go ahead and apologize if this has been asked a billion times and I’m “that guy”. I’m running the Incredibly Paranoid PAC ROM (4.1.2): http://xdaforums.com/showthread.php?t=2049902 . I wanted to patch it for OpenPdroid, so I got auto-patcher 2.8.4 for Linux. Auto-patcher detected my ROM as “pa” and failed during the CDMA and GSM files. Specifying “cm” also failed. Then I tried Pdroid 2.0, auto-detection with “pa” failed, but specifying “cm” succeeded. However, I was patched with Pdroid 2.0 version 1.51. I would have expected that it would have been 1.52 or possibly even 1.54. Is 1.51 the most recent patch included with auto-patcher?

[poo]
[Android Apps and Games] karamelos:
Re: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

build or upgrade that's a solution :p
[Android Apps and Games] kaizokan:
yea some will be different depending on the phone and ROM. Every model would require a different list.

I'll go with what CollegeDev said, if there is demand. We could always just share our lists but i don't use Pdroid2.0 yet.

I always tested the user app permissions by first blocking everything i think was not necessary and enabling "Data access notification" and then executing every needed function of the app. But now i already know (with old Pdroid) without ebabling data notification what to block and what not with most apps i download.

Has Pdroid2.0 also have "create and restore multiple (human-readable) backups"? How did you thought about publishing your list?
[Android Apps and Games] poo706:
Build, as in compile my ROM from source and apply the patches at that time? Upgrade what? My ROM?

[poo]
[Android Apps and Games] karamelos:
Re: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

#1# yes if you have source

#2# your rom if is possible or another (choice is difficult: some privacy or ROM :confused: )
[Android Apps and Games] poo706:
What is it about my ROM that's causing troubles here?

[poo]
[Android Apps and Games] noob00:
@CollegeDev

I have slimbean 4.2.1 RC Official patched with 1.51 (provided by didgesteve) and PDroid 2.0 v.1.52 installed, no full wipe cuz i manually upgraded from 4.0.4 to 4.1.2 to 4.2.1 and I didnt want to do a full wipe cuz u never know...

Logs, I'll be glad to provide them to you, how do I do that?

btw the gps now works, and the switch connectivity issue is not the most important one atm cuz I can still control it from the notification drawer.

what bugs me most of all is the fact I can't receive sms if the phone is switched off or on airplane mode, any tricks about that?

thanks

@kaizokan

that's exactly what I do as well but when a notification says "Settings can't access Switch Connectivity" and I go to Settings in Pdroid and there's no Switch Connectivity Allow/Deny or Switch Network State (like there is in other apps) then I think some other service that I blocked (Android System? System UI?) is the one that needs access to that so that also Settings later on will be allowed to access it... Up to now all the Switch Network State permissions were allowed, nothing changed :)

bout the list, that's a good idea, I'll think about it asap, not much time now....
[Android Apps and Games] lothos:
Here it is. Hope it helps.
[Android Apps and Games] Px80:
I use pdroid2.0 on a PACman 4.2.2. rom and patched it with opendroid patches.

installed patch: 1.51

installed app: 1.52

If i set camera to deny for a timelaps app, it still works. So i guess all other settings do not work aswell.

Any idea?
[Android Apps and Games] koenig.pascal:
Missing Notification?

Hi,

I changed the settings for the "Facebook Messeger" App (set all to empty).

Now i didnt get a Notification on new Messages.

Can you tell me which setting is responsible for the Notifications?

Thanks.
[Android Apps and Games] SecUpwN:
AW: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

I refuse to stay any longer without ROM protection. Is anybody able to patch AOKP 4.2.2 (now including ION support) by helicopter88 to use the latest PDroid 2.0? Please share the patch and you'll receive a thumb up!
[Android Apps and Games] DroidZombie:
Re: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

Change them one at a time and figure it out for yourself.
[Android Apps and Games] WongKit:
Now give me a chance to try it again as the problem still occurs in the current version.

Step-by-Step screenshot problem description thing :D

Initial Post: http://xdaforums.com/showthread.php?p=36057841#post36057841
[Android Apps and Games] Xani.e:
Is there a possibilaty to use this on stock Android 4.2.2?
[Android Apps and Games] karamelos:
No not for moment @collegedev works on. See post in last page or before

Go to custom rom :p
[Android Apps and Games] marlowe310:
Just wanted to throw my hat in the ring as another person who would be THRILLED to have an autopatcher for stock roms. If there was a donate version, I would certainly be down for that too.
[Android Apps and Games] kaizokan:
I need advise ;) Wait for merged Pdroid and keep current (svyat) Pdroid? or go with Pdroid2.0 v1.51

Current Rom: Resurrection Remix ICS with old Pdroid on SG2 i9100

No compiling (no environment): No Pdroid2.0 v1.54 on a new stable Rom

So i can use v1.51 with a 4.1.2 Rom (i was thinking of trying pure AOKP (JB milestone 1) or Slimbean Rom 4.2.1 ) I'm guessing merging the two cores will take a really long time so i can wait or just go with v1.51 and spend some time on setting up all the right settings again. If the security issues in v1.51 are not a big problem.

OpenPdroid has some bugs (GPS, Lag, Camera) so that's why i'll skip the current version. Or are there also people with OpenPdroid without the lag when GPS is used and how bout the camera
[Android Apps and Games] SecUpwN:
AW: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

Why not checkout GitHub and use PDroid 2.0 v1.54? :)
[Android Apps and Games] lothos:
Because there is nothing to check out on github?
[Android Apps and Games] SecUpwN:
AW: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

Select branch "devel" or "stable" + download the ZIP?
[Android Apps and Games] Febby:
Not sure if to post this here but does anyone have a patch of the latest work for stock 4.1.2 sgh i727 skyrocket (samsung galaxy s2)?
[Android Apps and Games] Koetermann:
Hi,

there is one issue in all builds with PDroid 2.0 I made (n7000, i9300, manta):

I can't open the contacts on that devices.

The workaround for that:

- open the Pdroid app

- select in the top right "Sys" instead of "User"

- go to the entry "contacts" and open it

- now deny everything you see in there and save this

- open this entry again and turn every entry green, save it

Now it's possible to open your contacs.

HERE'S a logcat with the issue.

My setting in PDroid after fresh install is "everything is allowed"

Regards

Koetermann
[Android Apps and Games] kaizokan:
Can you explain more? how exactly do i need to use that (which repository?) zip file for a specific AOKP rom or AOSP rom? I thought maybe you meant the code to patch in the Readme.md from the framework patches, but then how can i use that? with ApG/manual patch??

It can't be that easy right to just download a zip without creating it for a specific rom. without autopatcher.

Or am i just making things harder than it looks? ;)
[Android Apps and Games] oodif:
Pdroid, an other reason to leave Sense.
[Android Apps and Games] poo706:
Re: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

I'm having the same problem, can't find any patches on github, only readme.md.
[Android Apps and Games] SecUpwN:
AW: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

How about some geeky-looking widgets? :)
[Android Apps and Games] karamelos:
Re: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

Source linked in this post
[Android Apps and Games] Ketansa:
Hi CollegeDev, Did you loose interest in this program? Were you attacked by some covert government to give up the project? people on play store are saying it.
[Android Apps and Games] mmoogle:
Crash on latest CM10.1 code

I've run into a problem I can't seem to figure out on my own. I applied the latest patch to CM10.1 source code as of 3-21-12. As soon as Android starts up I get unending "Unfortunately, the process com.android.phone has stopped" messages. This is on a Verizon Galaxy Nexus. A logcat shows the following:

E/AndroidRuntime( 7202): FATAL EXCEPTION: main
E/AndroidRuntime( 7202): java.lang.ClassCastException: android.privacy.surrogate.PrivacyCDMALTEPhone cannot be cast to android.privacy.surrogate.PrivacyCDMAPhone
E/AndroidRuntime( 7202): at com.android.internal.telephony.cdma.CdmaDataConnectionTracker.isDataAllowed(CdmaDataConnectionTracker.java:219)
E/AndroidRuntime( 7202): at com.android.internal.telephony.cdma.CdmaDataConnectionTracker.isDataPossible(CdmaDataConnectionTracker.java:263)
E/AndroidRuntime( 7202): at com.android.internal.telephony.PhoneBase.isDataConnectivityPossible(PhoneBase.java:1090)
E/AndroidRuntime( 7202): at com.android.internal.telephony.DefaultPhoneNotifier.doNotifyDataConnection(DefaultPhoneNotifier.java:129)
E/AndroidRuntime( 7202): at com.android.internal.telephony.DefaultPhoneNotifier.notifyDataConnection(DefaultPhoneNotifier.java:108)
E/AndroidRuntime( 7202): at com.android.internal.telephony.PhoneBase.notifyDataConnection(PhoneBase.java:834)
E/AndroidRuntime( 7202): at com.android.internal.telephony.DataConnectionTracker.notifyApnIdDisconnected(DataConnectionTracker.java:842)
E/AndroidRuntime( 7202): at com.android.internal.telephony.DataConnectionTracker.notifyOffApnsOfAvailability(DataConnectionTracker.java:851)
E/AndroidRuntime( 7202): at com.android.internal.telephony.cdma.CdmaDataConnectionTracker.onRadioAvailable(CdmaDataConnectionTracker.java:573)
E/AndroidRuntime( 7202): at com.android.internal.telephony.DataConnectionTracker.handleMessage(DataConnectionTracker.java:637)
E/AndroidRuntime( 7202): at com.android.internal.telephony.cdma.CdmaDataConnectionTracker.handleMessage(CdmaDataConnectionTracker.java:913)
E/AndroidRuntime( 7202): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7202): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 7202): at android.app.ActivityThread.main(ActivityThread.java:5226)
E/AndroidRuntime( 7202): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 7202): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 7202): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 7202): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 7202): at dalvik.system.NativeStart.main(Native Method)

I didn't have any problems applying the source patch, and there weren't any errors produced on compilation. This is with a complete wipe of the device. I'm assuming that something has changed in the latest CM sources, or nobody else has tried the patch on an LTE device. I'm not familiar enough with Java to know why the one class can't be cast to the other.
[Android Apps and Games] reinsn:
Can anybody tell me if the last version should work with latest cm-10.1 nightly?

I compiled yesterday from cm-10.1 source repository (20130324) for device i9300.

Hooks were successfully (although complaining about "with fuzz" or something)

Compiling finished and i noticed no critical errors. When i flashed the zip i got nothing but a black screen, no booting at all.

Should it work with this version or might it be a build related problem?

I was using this SOURCE with THIS quick fix.
[Android Apps and Games] Koetermann:
AW: [APP][4+] PDroid 2.0 - goes to GitHub and searching themer - [2012-12-08 v1.52]

Hi reinsn,

I also build a cm10.1 for my i9300 from the cm-repo yesterday. I've no issues with PDroid 2.0 fixes inside this build.

Did you try a "make clean" or a "make clobber" before you compiled?

Gesendet von meinem GT-I9300 mit Tapatalk 2
[Android Apps and Games] reinsn:
no i didnt, i just checked out the repo and did a fresh "repo sync" before. have you used the same patches?