yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] scutworker:
More Evervolv woe

Evening,

I posted the message below on The Autopatcher thread (as that's what I used to patch) and mateorod has told me to also try here. So here we go...

OK, I've tried the latest Evervolv patch and I have a problem of not having any mobile phone signal (wifi works though).

I always use the autopatcher and when the last patch was created it worked fine except that apps that start on boot didn't start up.

Now I'm using version 1.51 of the app and the patch and apps all start on boot, but the mobile phone signal never connects. Normally I am connected to EE (Everything Everywhere, the UK mobile phone operator) but now it shows as 'Unknown:0',

I've tried deleting the privacy folders and rebooting, but it's always the same. It's also the same if the patch is installed, but not the pdroid app.

One thing: I do use an app called Call Master which does intercept calls but it has full permissions in Pdroid.

I'm using this Evervolv rom on an HTC Desire: http://xdaforums.com/showthread.php?t=1766550

I've attached two logcats, the first is the full logcat from boot up, the second is the same but filtered for errors only.

The output log of The AutoPatcher seems to be OK, but I've posted it here:

http://codepad.org/CGlZ3Dfm

I've taken a Nandroid of when it wasn't working, so if you need any other files posted here to diagnose the problem, then let me know.

Thanks for any help you can provide and your continual work on this project.
[Android Apps and Games] kobik77:
Thanks for your quick fix but this time no go on patching

http://codepad.org/snhSIvIE
[Android Apps and Games] jelle2503:
this is really something, this app. autopatcher makes it easy, thank god. Other wise i'd probably not be running this app. and it'd be a great miss =)

thanks so much for this, hope to see more great work from you! I know you don't want it, but can you consider simple data access block on apps? =)

Running it fine on latest nightly for my Galaxysmtd i9000 =) Awesome
[Android Apps and Games] mateorod:
Fixed. My bad, yo. That's what I get for trying to do this at 4 am or whatever...just ran it, aosp is working now.

Edit: For ApG. Those on OSX or Linux will get it next update.
[Android Apps and Games] wbedard:
I reviewed your commits over the past 24hrs and...LOL...that will do it! Nice catch on your part, though. I just pulled down the latest master and one from 24 hrs ago for testing. They both "worked" (only patching message was re GsmServiceStateTracker...) with the earlier build obviously omitting the framework2.jar file. As of now, it looks like you have everything under control as far as pd2.0 on aosp-jb goes.

BTW, while we're all waiting (and waiting...) for Android 4.2 to drop to AOSP, I have some time to help you with auto-patcher. If you can think of one particular "issue" you would like me to look into, just let me know and I'll try to fix it.

Take care,

R/

wbedard
[Android Apps and Games] vpmtl:
CM10 Update with pdroid

When I do a CM10 nightly update what the best way to proceed, do I need to restore my patch and update CM10 and then repatch CM10 for pdroid or repatch after I updated CM10 and keep pdroid installed?
[Android Apps and Games] kobik77:
You did your magic again man.

Works like a charm.

Sent from my Galaxy Nexus
[Android Apps and Games] bonanza123:
Hey collegedev, but i still have some more issues. (see video attached, its recorded too. I dont know why but i think you have to play it in slow motion ;) )

The problem is that on my fresh installed Galaxy nexus with cm10 on every reboot all settings are not resetted, but the GUI says so (you see all apps are marked as "REAL") but if i run the app all permissions are blocked correct (In the video I try to show this with the app Network Info II). so there might still be an issue with saving or reading the configs frome your prefrences files.

There always come this popup "settings saved successfully" but after rebooting the settings seem to be resetted for the GUI.
[Android Apps and Games] CollegeDev:
Please look at PM. I've written you in native language, because this is a very specifical problem which only concerns you (until now).

This is not normal. Because of working v1.50 it could be that the "porter" of my framework changings forgot to add the preloaded classes. I didn't change related things to this from v1.50 to v1.51. Please test this for me to get more information:

0) Start logcat

1) Switch on flight mode

2) Wait until flight mode is active

3) Switch off flight mode

4) Look if your phone will connect to your provider

5) Give me logcat information in this thread
[Android Apps and Games] mateorod:
Yep, good catch. Broken symlink. A hotfix has been pushed to github, so you can get it with ApG. I will update the main program later tonight.

The preloaded classes are a completely separate file and patch. If i hadn't thought to check for them I wouldn't have known you added them. My suggestion you add them received a somewhat tepid response, so it was a last minute catch, for sure.

Wbedard, i will pm you tonight, thanks.
[Android Apps and Games] jelle2503:
I've seem to run into an issue. On both my i9000 and my i9100, patching went fine with ApG. Proid 2.0 is working well with installed apps, blocking access to anything I like.

On occasion when i install and remove an app from Market, I get a softreboot. The first time I installed this Bus Parking 3D, my device just lost power. Had to engage power button for it to boot again.

Can't seem to reproduce this softreboot just yet, but the app was Bus Parking 3D, and I set privacy settings, then run the app. And then delete it from Market.

I'd like to troubleshoot so I can help, but I'd have to run logcat from my PC for this am I right?

Or maybe it's my fault. I'm using Cyandelta to upgrade my devices to latest nightly 09/11, and for Autopatcher I took the zip from get.cm. But I don't think it should matter?
[Android Apps and Games] biglsd:
If somebody interested in non destructive tree patch of pdroid 2.0 use this modified script from old version

#!/bin/bash -x

CWD="/mnt/transit/mobile/CM10/system"

# removing previous compile

# cd ~/android;

rm -rf out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/privacy/ out/host/common/obj/JAVA_LIBRARIES/layoutlib_intermediates/classes/android/privacy/

#[OR] cd ~/android; make clobber

# removing previous patch

cd "$CWD/build" ; git checkout . ; git clean -df

cd "$CWD/libcore" ; git checkout . ; git clean -df

cd "$CWD/frameworks/base" ; git checkout . ; git clean -df

cd "$CWD/packages/apps/Mms" ; git checkout . ; git clean -df

repo abandon pdroid; repo sync -j16

# applying pdroid patch

cd "$CWD/build" ; git checkout -b pdroid

cd "$CWD" ; patch -p1 < "$CWD/"JB_build.patch

cd "$CWD/libcore" ; git checkout -b pdroid

cd "$CWD" ; patch -p1 < "$CWD/"JB_libcore.patch

cd "$CWD/frameworks/base"; git checkout -b pdroid

cd "$CWD" ; patch -p1 < "$CWD/"JB_framework.patch

cd "$CWD/packages/apps/Mms"; git checkout -b pdroid

cd "$CWD" ; patch -p1 < "$CWD/"JB_mms.patch

build/envsetup.sh

brunch cm_galaxys2-userdebug

change CWD="/mnt/transit/mobile/CM10/system" to your root CM directory
[Android Apps and Games] scutworker:
Thanks for agreeing to look at it. I did that listed above, but still no joy. Two logcats are attached, both the same, but the second filtered for errors.

Cheers.
[Android Apps and Games] mateorod:
I probably wasn't clear enough. Collegedev found where the error was, I had a broken symlink is the auto-patcher. There is a fix up already if you are using ApG. If not, I will push an update out today. Look for 2.4.5 on the download page.

Sorry for the confusion...

Edit: It is up to the download page.
[Android Apps and Games] scutworker:
Ahh, I see. I did wonder if that was what you meant, but wasn't sure.

Thanks anyway. I'll give it a go and report on it soon.

EDIT: I tried it, but it still didn't work - new logcats attached.

The problem is the same as before: no phone signal at all and it shows as either 'unknown' or '123'

Cheers.
[Android Apps and Games] Hotfingers:
Hello @CollegeDev,

Just installed PDroid 2 on my xperia arc- cm10.

Works well. Haven't tested rigorously, but had no force closed, and have followed the thread long enough to trust that 99% of the bugs are dead.

Anyway, the point of my post is that I love your app. Thank-you.

I used to run pdroid, but I prefer your version.
[Android Apps and Games] schertling:
I'm using the [AOKP][JB][4.1.2]Psycho ROM in german and it's working fine for me. I've been installing and changing Apps all day yesterday and today and had no obvious problems in the places I am busy in. In the meantime I also upgraded from the Psycho ROM V1.2 to V1.3, and again everything's working fine :good:.

It's really a great tool and very necessary for broad usage to discourage misuse by apps gathering privileges. If only the threshold were less obstructive. I do hope that a more generally acceptable approach for installing will be possible in the future. After all the not so valued LBE manages to do so successfully.
[Android Apps and Games] Lanchon:
dear OP,

could you please open source the app under a true free software license? please don't repeat the previous developer mistake: this functionality is way too important, your app WILL be replaced otherwise, and your work thrown out and forgotten. please don't make us reinvent the wheel.

btw, i don't plan to use your app till then. i don't see it providing anything of enough value over the original pdroid to justify a migration, even if it is a lot of work to write the app itself. after paying the hefty price of a rewrite, the one important thing your app could provide, freedom, it doesn't. it's a real pity. hope this changes soon.

thank you very much!
[Android Apps and Games] SecUpwN:
WTF? NO!
[Android Apps and Games] wbedard:
You know, while I think I understand your sentiment, perhaps you could have expressed it better with more "carrot" and less "stick". However, I'm not sure whether you are advocating for all the developers in the Richard Stallman school of thought or for all the users who just want free software with technical support that is accurate, available 24x7 and, of course, free.

As far as software licensing goes, the developer has a legitimate freedom to choose any license they want, including the right to not license their work at all. You don't have to like it but you do have to respect their right to choose.

From the user's perspective though, it's very difficult for me to see your point...it sounded more like a "rant" than anything. If I might be so bold, please try to put yourself in the developer's shoes and restate your ideas in a more clearly defined and attractive manner.
[Android Apps and Games] Px80:
Prdoid can deny access to data connection. So a new installed APP must be configuered first if in options it is set to deny all after installation.

But that does not work
[Android Apps and Games] marcogtt:
Please devs support custom ROMs based on stock base for Samsung gs3.

Please. I want my privacy back

Inviato dal mio GT-I9300 con Tapatalk 2
[Android Apps and Games] nerbrume:
Add my voice to the request of source release...

My main reason for migrating from LBE to PDroid was the fact that it was open-source (or so I thought at that time, I learnt later that the apk wasn't). When svyat disappeared, it's the open-source nature of the patch that allowed devs like mateorod, pastime and CollegeDev to port PDroid to ICS and JB.

I feel the same should go for the apk : it would be more future-proof, should anything happens to CollegeDev, or should legacy PDroid apk stops working.

Beside, it would also ease my mind, privacy-wise. While PDroid2.0 doesn't have internet access, how can I know it doesn't do evil stuff throught other apps, for example ? Only by trusting CollegeDev (which I do). Knowing that other people had a look at that code would obviously be better.
[Android Apps and Games] wbedard:
Well said! While a review of the framework patches would reliably(?) reveal any back-doors that could be used by the PD2 apk, I think your other points have far more merit. CollegeDev has a limited amount of time to work on this project and releases/improvements are slow to appear. An open-source model of development, appropriately licensed to suit CollegeDev's needs, would allow overall improvement of the codebase (framework + app) to happen significantly faster. I also agree that it would certainly give this project the legs to go on even if CollegeDev eventually decides to move on to other projects that would further limit his involvement with PD2.
[Android Apps and Games] dwizzy:
open source for privacy and continuation

I too would like the app to become open source. Not because I want it to be free; I am happy to shell €10 for an (easy) solution on my (as stock as possible) Nexus 7 4.1.2 or later 4.2.

I want it to be open source to be able (in theory, ahem) to check the integrity, because I greatly appreciate and value CollegeDev's work but I don't know him personally and thus am unable to really trust his code.

Open source does not imply a F/LOSS licence. But I can imagine a licence where you prevent others from distributing a compiled version, while not making a disproportionate profit from other people's contributions.

That being said, I hope I can, with my limited tech skills, soon install PDroid 2 on my Nexus 7 so I could finally install Facebook and Skype! :)
[Android Apps and Games] CollegeDev:
Okay, I will have a look later. But in meantime: Did you try to wipe your device and take a look if this reaction happens too?

Many thanks!

Look at explainations below, I think I have to explain something more detailed to get people understand why...

:D

BIG THUMBS UP :good: wbedard, thanks for your statement, it includes lot of my arguments!

What do you exactly mean?

Well, there is more time needed to expand features of main application. It may take some time to do that.

Please not that some parts of the explanation are very "harsh" formulated...

First I thought about it to make it open source, yes why not? But after I finished 80% of my work with the manager application, I decided to leave this mind. It has a big reason that the application itself is NOT opensource at all and I'm not really happy about to see that there is another project called "pdroid-manager" that do it now. Not with the reason, that there is another manager app on way that could kick mine, no! The framework chanings and the manager applications fits very closely together, that means that you have to know a lot of android's permissions, possibilities to get data and all that stuff. I don't wan't to "corrupt" the called manager app. I hope you understand it in the right way, because it is very difficult for me to explain it exactly. I don't know if svyat had the same reason as mine, but it is quite nearly to believe that he had the same! The application itself only communicates with some parts of system-server (strong simplified). It just handles the privacy permissions for all applications and support some nice additional features. Without the application you're also able to use PDroid, but not as easy as with manager application.

And now to the trust saga:

If I read this kind of stuff I don't know if I should cry or whatever. Please guys, read more about android itself. There are only two ways to do such stuff or "hack and spy" (Ironie mode on: jeah, I do it every day! Ironie mode off!). First, you have to give my application root permissions. The Second: bad modifications in framework itself via patch can open doors for the application, but this is open-source. wbedard was the only person who got it and figured it out that it is not possible, thanks!
[Android Apps and Games] scutworker:
Hi CollegeDev,

I didn't wipe the device before, but I just did and re-installed just the rom, gapps and your patch from scratch and exactly the same thing happens; there is no cell connection but wifi still works.

I've attached two new logcats as before to this message in which I put the phone into aircraft mode and then take it back out. First logcat is the full one, the second filtered for errors.

Thanks for taking a look at it for me.

Cheers.
[Android Apps and Games] Px80:
How can i actually check if pdroid is working (correctly)?
[Android Apps and Games] karamelos:
Try it !
[Android Apps and Games] Px80:
Im using it already but it seems like it's not working. I denied all for maps but it still gets my location..
[Android Apps and Games] FFU5y:
I'm the author of PDroid Manager, and since a previous post indicated you were not interested in releasing the source for PDroid Addon, and subsequently PDroid 2.0, I decided that I would simply build my own replacement. Some time back you asked Syvat for his code so you could extend it - I don't believe you ever got that code. Then you decided not to release your code, which is entirely your right. I'm not going to tell you that you should have released it - it is your code and you can do what you want with it.

Anyway, the outcome is that I've built an alternative app under a GPL licence (with extra attribution conditions). It isn't finished, and I had no intention of bringing it to everyone's attention this early, but since you've brought it up then it seems the time has come.

NOTE to the curious: The PDroid Manager app does not replace the PDroid Core/Framework changes! It relies on the extensive work by Syvat in the original PDroid, CollegeDev in building PDroid 2.0, and Pastime porting between Android versions, which provides the actual protection functionality in the guts of Android.

Edit: I wasn't going to make a separate topic for the PDroid Manager app yet, but I think not doing so would risk this thread going too OT. The PDroid Manager post is here
[Android Apps and Games] jelle2503:
hurray for open source. then at least more people can work on it, provide support and hopefully maybe request for support on forum might not be ignored (like mine in this thread)
[Android Apps and Games] nickma:
Thanks

Thanks for this great app!! It makes android useable for me.

Targets which android are missing to aim are fullfilled with your features. Thanks a lot!
[Android Apps and Games] nerbrume:
Hi,

Thanks for the clarifications on PDroid structure. As far as I understand it, the Pdroid manager is to Pdroid framework what IPTables is to NetFilter ? Your point on the fact that the PDroid manager is not running as root (something I did'nt notice, shame on me) is perfectly valid. But I still think is strange that a non-root app is able to "control" a root "app" (the framework).

Still, indeed, no privacy problems, as the worst that could happen is that the manager does not send the parameters to the framework, which would be silly (as it is its only purpose), and not very effective to leak personal data.

And thanks for the more detailled answer about open-sourceness. I'm not sure I understood the part about "corruption" of the manager, and why you where not so happy about Pdroid Manager project. I guess you are worried that malicious apps could integrate some parts of the manager in their code, hence being able to control PDroid, and defeating its purpose ?

PS : could we agree on some vocabulary here ? I used the terms "framework" and "manager", is that ok ? Or should we rather talk about "framework" and "apk" ?
[Android Apps and Games] nsmart:
Is there any way to filter for user or system apps, so that only user apps are shown ?
[Android Apps and Games] FFU5y:
The PDroid App is to the PDroid Framework (if we are going to use that term: I used 'core' earlier, but it is really framework changes) what DroidWall is to IPTables (sort of). Like IPTables does the real 'work' of the IP filtering and DroidWall configures the rules, PDroid Framework does the actual blocking of access to data, returning custom values etc, and the PDroid App configures the rules for the PDroid Framework to follow.

Don't so much think about it as a non-root app "controlling" a root app (actually, a service in this case, but anyway...): rather, think of it as the 'root app' inviting a 'non-root' app to tell it what it should do, but there is only a limited number of options that the 'non-root' app has to choose from. Like when you use a word processor, you can tell it to add a letter, remove a letter, but not to wipe the computer: it just isn't an option available to you. In the case of PDroid the options the non-root app has to choose from are defined by the 'public' interface of the 'root app'.

Actually, the worst that can happen is worse than this. The app could open a web browser with a URL containing a list of your installed apps, the custom values set, etc. Not terribly scary. Also, the App could potentially use the same technique to notify a web system of what apps where attempting to use which privileges (by capturing the notification data) BUT the way the PDroid Framework is written, no real data (e.g. Android ID, etc) is passed back to the PDroid App via notifications. That means there is no real identifiable data for PDroid App to actually leak. Also, for data leaking to happen via a browser loading specific URLs without you noticing it would have to be intentional and well-planned, which would be a serious accusation to make.

I use the terms 'Core' and 'App' generally. I think 'App' is pretty clear-cut (though others may disagree). Not sure about 'Core' vs 'Framework'.
[Android Apps and Games] wkwkwk:
+1, it is quite useful to see just the user apps. Thanks
[Android Apps and Games] SecUpwN:
Could you guys just STOP begging for the code to be released? CollegeDev clearly stated that he will NOT release it, why do you try to trick him by telling that "if something happens to him, the app will not be developed further"? Just enjoy having it, he could have written the same app under a different name for money!

And for all rants that are to come upon my statement: I don't fuc*!ng care. Block me or blow me, I appreciate CollegeDev having the balls to keep the source closed and not letting other pseudo developers take over his hard work. Thank you, CollegeDev and thank you, true PDroid lovers for being thankful what we already have.
[Android Apps and Games] nils.n:
Google Listen Bug

With PDroid installed Google Listen does not work, even if no limitations are set in PDroid.

Google Listen starts, then an error shows up. After that you can still navigate through the app's menus, but can't update any feeds or play any podcasts.
[Android Apps and Games] nickma:
ERROR! Settings can't be saved

Hi, got an

ERROR! Settings can't be saved

while I was trying to save any settings in pDroid2.0

Right after updateing to cm10-stable and updateing to patch:1.51 app:1.51

(I uininstalled APP version 1.5, wiped the pDroid Data via Titanium and installed 1.51)

How to solve this? Please help :)

Best
[Android Apps and Games] testman86:
Thanks again for this nice App! :)
[Android Apps and Games] wbedard:
I think you may not be clear on what CollegeDev meant by removing the data associated with prior releases during an PDroid 2.0 update. Although CollegeDev has recently enabled the ability to back up your PD2 settings, which can be accomplished using Titanium Backup, the actual PD2 settings are stored in a special location that Titanium Backup cannot help you with.

If you have a file manager app with root access (or just use adb shell...), browse to /data/system. In that directory you will see a "privacy.db", "privacy.db-journal" and a directory called "privacy." You need to remove all of these during an update of PDroid 2.0. If you did not follow these steps, that is very likely what is causing the error message you see.
[Android Apps and Games] samarium:
I raised this months ago in the original pdroid ice patches thread. However as GL has been deprecated by Google people can't download it easily anymore. I decided it was time to move to a different podcatcher, and selected doggcatcher which has the nice side effect that the player starts playing as soon as my phone's Bluetooth pairs with my car, and stops when I power down the car, so I don't even have to touch my phone. You might search back in the thread as IIRC there were a few people looking at it.