yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] mateorod:
Hey thanks for the offer, that time is coming and I will add you to the testers list, since I know you have been using the program for a long time now.

I know we are behind schedule, guys, I apologize for that. The workflow issues from our end have been solved for now, and I am putting in regular hours on the update. It is by far our most ambitious update since PDroid2.0 came out, so it has taken me some work. But the outcome will be the merging of the OpenPdroid and PDroid2.0 forks as we add CollegeDev as an official full member. He is responsible for most of the improvements since PDroid for gingerbread, so getting everyone on the same page is a great feeling.

I have all of the code I need, but organizing and committing it in a sane and debuggable manner is a task. You can see my progress at our github page in the openpdroid-pdroid2-merge branch. It is moving along finally, and you can see that. I know that the number of branches is intimidating, I am planning on nuking all branches without original development on them when we release the next update.

Thanks go out to people like autopatcher team members karamelos , Caldair and wbedard along with all the various people offering help to users in the threads. I had to step back from the day to day support or else this update would never get released. I do my best to monitor from a distance.

I will be adding features to the branch tonight. We will get there.
[Android Software/Hacking General [Developers Only]] LordValen:
thanks both. this worked.
[Android Software/Hacking General [Developers Only]] 4ndr0x:
It's svyat, not Syvat ;)
[Android Software/Hacking General [Developers Only]] revnu:
THX for all the good work, this will be an awasome piece of software if itz ready :)

damn that I could not get it working on my Supernexxus-ROM (autopatcher dont work :(

greetz revnu
[Android Software/Hacking General [Developers Only]] scutworker:
Oooh, is there a testers list? Could you please add me to it? (no problem if you can't or it's full)?

Cheers.
[Android Software/Hacking General [Developers Only]] My Gnexi:
I finally managed to build AOSP with OpenPDroid patch!

First time I tried, Pdroid Manager didn't start: "The PDroid core has not been detected on your device"

I fixed it by doing "make clobber" and then make -j4 otapackage"; I'm not sure whether the clobber was required or not.

I was confused by you using "~/android/system" as the source directory.

Since the source directory also has "system" inside I tought you had it as "~/android" so I tried to cd into "<MYSOURCEDIR>/system/build" etc.

It would be nice if you made it a variable:)

Also, what is "brunch"? Is it CM specific command?
[Android Software/Hacking General [Developers Only]] Rita Muster:
Thank you for OpenPdroid,

I will never again use android without openpdroid.

Thank you!!

But I have a question:

Has someone the knowledge to patch a MIUI build? Miui comes with LBE. But I don´t want to use LBE.

ROM Link: JBMIUI V5

Would do nearly anything for a patch. ;)

THX a lot
[Android Software/Hacking General [Developers Only]] xelra:
Whenever I switch on airplane mode I cannot turn it off again. The only remedy is completely wiping the phone.

Does anyone else have that behavior?
[Android Software/Hacking General [Developers Only]] mateorod:
If source is available, you can patch your own with the directions on post three. But it will probably not be added to auto-patcher, the demand doesn't justify effort, sorry.

I have not heard that before. I would understand if you didn't want to go through that again, but a log cat would be very welcome
[Android Software/Hacking General [Developers Only]] zewly:
Pdroid won't work with ICS 4.0.3 HTC Amaze 4G?

I tried autopatcher 2.9.2, but it's not working with aosp deodexed stock ICS tmobile rom from here:

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

T-Mobile_OTA_2.14.531.30.zip

Seems like Pdroid does not work with 4.0.3 ICS? if not, [REQ] Pdroid for 4.0.3 ICS

If I use the android kitchen, is there a way to manually update the rom to do what pdroid does? or am I stuck using LBE?:silly:

I can't find a completely functional custom ICS rom with pdroid, or one thats stable and doesn't have issues with BlueTooth or the camera.

[REQ] Pdroid privacy functions built into a custom kernel;)
[Android Software/Hacking General [Developers Only]] mateorod:
Well, there is no need for a custom kernel, because PDroid sits on top of the hardware layer. The only time we ever needed to touch the boot.img was on 4.1.2 AOSP, which was an incidental change due to a dalvik limitation and is probably already verging into TMI.

As for 4.0.3, those roms predate OpenPDroid by quite a bit. We went back to 4.1.2 but no farther back. We leave it to the original PDroid to handle the older roms. Since I have already made PDroid available for so many older roms (autopatcher support goes all the way back to Gingerbread) we felt like we weren't abandoning anyone.

But, if you read the autopatcher OP, we do not support stock roms, deodexed or otherwise. That is because they differ so much from one another and we cannot get access to the source code in most cases. Stock rom support is something I have done some work on, but is not imminent.

Try a ROM from our supported roms list on the autopatcher OP, you will have better luck.
[Android Software/Hacking General [Developers Only]] alroger:
Guys, I just installed HP Print Control and blocked Camera in PDroidManager, but it's still able use my camera.

Logcat here, hope it helps.
[Android Software/Hacking General [Developers Only]] vander13:
I tried to use OpenPdroid with CM7.2, since this is a Gingerbread version 2.3.7 it gives me a message OpenPdroid need at least 4.1.2

But the quota above sounds like OpenPdroid is available for Gingerbread?

For patching I used ApG, is there another way to make it work with gingerbread? The normal Pdroid is working, but from the startpost it seems its outdated.
[Android Software/Hacking General [Developers Only]] Didgesteve:
I think for Gingerbread you might need to use Pdroid.

In my view, software works or it doesn't, I don't think there is anything wrong with it (Pdroid). It hasn't been shown to be insecure or broken in any fashion, and unless you move to a more recent rom, there are not really very many options.

Mateorod might be able to give you some guidance on how to compile your own rom, and incorporate the openPdroid patches, but I'm affraid that's beyond my level of expertise.
[Android Software/Hacking General [Developers Only]] ThommmF:
Foursquare

My ROM is the latest ParanoidAndroid mako (4.2.2 at Nexus 4) and I used autopatcher 2.9.1 to patch it with OpenPDroid succesfully.

Almost everything is working but Foursquare. In the PDroid Manager app I removed every restriction for Foursquare with no success.

After I installed the restore.zip Foursquare is working again.

Is there a chance for me non professional to get it working with PDroid patched?
[Android Software/Hacking General [Developers Only]] MadMic:
Anyone used Chameleon OS? (http://www.chameleonos.org/features.php) it has 'per app' permissions manager. I wondered if anyone knew how these guys had done this and if it was based on or anywhere near as good as PDroid? I've not used the ROM yet, but a mate on a Nexus 4 swears by it. I'm tempted to flash and try to bypass the permissions manager and see how good it really is..

Oddly enough he set Angry Birds to have no permissions, but this caused a boot loop on his device! So I guess it's not as good as PDriod...
[Android Software/Hacking General [Developers Only]] samarium:
Pdroid is a privacy manager, not a permissions manager. IIRC one reason to do it this was is to stop apps going crazy when they can't do something they expect to be able to do.
[Android Software/Hacking General [Developers Only]] ooklathemok:
I probably have a similar issue with Google's My Tracks app. Force closes when I start recording a track with OpenPDroid patched into the ROM. It happened to me with the PAC-man ROM and now with Slim Bean. Seems GPS related and I know the first post said there's some GPS lag & possible issues.
[Android Software/Hacking General [Developers Only]] JayXon:
Same problem here on gnex, I believe it is caused by this issue: https://github.com/wsot/openpdroid_support/issues/1
[Android Software/Hacking General [Developers Only]] Brian706:
I'm using the latest version of P.A.C.man rom on the sprint evo 3d and this is built into the rom. The April 25th build is the first one I've seen it in but I skipped a couple builds before this one.
[Android Software/Hacking General [Developers Only]] kimboinatl:
I mentioned this over at Github but forgot to post it here - not sure who knows about this or not but figured I should post it. Cell tower location requests are always blocked.
[Android Software/Hacking General [Developers Only]] jahrule:
Yea also with solid explorer it complains about licence check fail because of permissions being revoked. When I install pdroid 2.0 the problem went away so for sure blocking things without telling us.
[Android Software/Hacking General [Developers Only]] wafro:
Have has the same problem. Try to allow 'Device ID' rights for both, Solid Explorer and Solid Explorer Unlocker. This fixed it in my case.
[Android Software/Hacking General [Developers Only]] mateorod:
That is interesting...although I am not quite sure of the meaning of your last sentence.

So solid explorer complains explicitly that it's permissions are being revoked? I would like to see a logcat of that. I would be interested in comparing logcats from the two, if whoever has this app would post their logcats, from PDroid2.0 or PDroidManager, that could be helpful.

Although perhaps not urgent. We can revisit this after the tests of the merge which is coming up.
[Android Software/Hacking General [Developers Only]] paperWastage:
made a build of OpenPDroid with the CM10.1 port of my phone (Oppo Find 5)

currently using it myself, don't see any problems.. works fine so far after a day

will try to see if I can contribute to the development of PDroid Manager. have some features that I want on that app
[Android Software/Hacking General [Developers Only]] jahrule:
On pdroid2.0 no problems which I am using now. But I can test once the merge is complete. How is that going? Collegedev shared some messages with us.
[Android Software/Hacking General [Developers Only]] cashmundy:
Chameleon OS

Chameleon OS (based on CM10.1) looks interesting.

http://www.chameleonos.org/

It appears to have something like CM7 permissions-management.

I'll be interested to see how this works with Openpdroid.
[Android Software/Hacking General [Developers Only]] nickma:
Events (Birthday/anniversary) missing in Contacts

Hi, I'm missing the Events in my Contacts app... any known solutions?

Thanks a lot, Nick
[Android Software/Hacking General [Developers Only]] swiggs98:
I'm an OpenPDroid first-timer. When using ApG/AutoPatcher, the latest patches are dated 2013-02-19. Also, on the github link, it appears that latest patches are about the same date.

There has been so much activity here, I have to believe there are more recent patches than Feb. If that assertion is correct, where can I find the latest patches? I am on the latest CM10.1 builds (RC2 and newer).

Yes, I am aware of upcoming combination of OpenPDroid and PDroid 2. I am just trying to get my feet wet and get familiar with this tool and its many features. It looks like a major MUST HAVE!

UPDATE: The latest ApG and latest Auto-Patcher 2.9.6 pulled in a newer openpdroid patch set and updated to handle the new system server changes. Now my CM10.1 ROM patches flawlessly!
[Android Software/Hacking General [Developers Only]] swiggs98:
Openpdroid was working beautifully until I tried logging in as a second user. All the apps started instantly crashing whether I had changed anything within the openpdroid settings for that app or not.

Didn't know if this was a known issue or not. Love the concept and look forward to what is to come! Just wanted to share my observation.

I'm on the Sprint GS3 and the 5-19 d2spr CM10.1 build.
[Android Software/Hacking General [Developers Only]] Px80:
I use openpdroid on my PAC Rom with pdroidmanager (PD2.0 patches in apg are outdated for the latest pd2.0 version) and none of my selected permissions for any app are saved with pdroidmanager.
[Android Software/Hacking General [Developers Only]] sabret00the:
I really am enjoying the lack of weight I feel on my system with OPD. Though am I the only one seeing an occasional crash in settings and Gmail?
[Android Software/Hacking General [Developers Only]] mateorod:
An incremental patching mechanism has been merged into the Autopatcher and is available in Autopatcher2.9.7. We are using said mechanism to deliver a bugfix for the GPS location problems in OpenPDroid.

You can get this with a git pull or in ApG already. It seems like our download page at techerrata is refusing connections for the moment, so I created a temporary download here for those of you on Linux or Mac. This has not been pushed to either the devel branch or the release branch yet. After the user base responds, I will add it to the code base. If you are compiling at home, you can apply this gist.

Both the GPS fix and the update mechanism is by contributor phillipberndt and we appreciate his work! Please report your experiences!

Edit: While that new download link may eventually work, even when manually rebuilding the index for all of goo.im the new file has not shown up yet. So the problem may be with the entire goo.im family. I have uploaded the latest autopatcher2.9.7 here.
[Android Software/Hacking General [Developers Only]] sabret00the:
I'm still seeing crashes in foursquare.
[Android Software/Hacking General [Developers Only]] mateorod:
If you can, throw up your autopatcher log and a logcat...I have several fixes for this issue floating around and I am now committed to pushing what i can to fix it.
[Android Software/Hacking General [Developers Only]] alroger:
Thanks for the update.

Is the OpenPDroid Patches git going to be updated, or moved somewhere so we can build from the source?
[Android Software/Hacking General [Developers Only]] scutworker:
OK, I've tried the new patch and found that with some apps (Google Maps, Alpinequest and Network Info II) the network location works fine. With other (Tasker and Twitter) it does not. Foursquare force closes right away).

So here are my logs:

1. The Autopatcher Log

2. Locat when trying to use network location in Tasker

3. Foursquare being opened and closed.

Good luck and thanks for all your work on it.
[Android Software/Hacking General [Developers Only]] mateorod:
The OpenPdroid repos will stay the same...I ask actually the owner of those repos so nothing changes there. I will push changes to the OpenPdroid patches as they become better tested. The GPS is a tough one for me, I don't have a device with GPS to test. If you want to apply this change to your builds I linked to a gist in the above post, just apply it like a patch.

I decided to rely on the user base for this one...it just seems like the best fit. Also, I want to get comfortable with passing bug fixes this way...when I publish the next update (staging area here: https://github.com/mateor/opd_frameworks_base and all branches active) I wanted a method to quickly pass out bug fixes while in early stage development. All of the above, coupled with phillipberndt's contributions, is behind this method.

But you can mostly count on those patches reflecting the latest stable release...I will be sure to post here when they are updated.

.thanks, I will look deeply at this tonight. I have several other location-related bugs I have fixed/spotted...I will do what I can to finally provide some short term relief for this issue.
[Android Software/Hacking General [Developers Only]] sabret00the:
You beat me to the punch. Thank you!
[Android Software/Hacking General [Developers Only]] scutworker:
Thanks. I've attached three more files each of which is an app trying to obtain location by network alone and they don't seem to work (I'm not that sure about Alpinequest).

The apps and files are:

1. Androsensor

2. Tweetdeck (no longer on Play)

3. Alpinequest.

I hope they help.
[Android Software/Hacking General [Developers Only]] txoof:
It also appears that on my NG GPS locks take a very long time. Using GPS test up to 10 satellites show up as being tracked (out on an open sea with clear skies), but no fix occurs after about 3 minutes of waiting. I cleared google services framework and requested an agps update, but neither helped.

Google maps appears to work fine using wifi and tower information, but I'm not sure if it ever actually gets a GPS lock.

What kind of logcat would be helpful in diagnosing this?
[Android Software/Hacking General [Developers Only]] D-m-x:
So the repo won't be updated if the Fix is tested successfully? Actually i set up a Building Environment and read how to build a rom and include OpenPdroid. But i don't seem to find anything about on how to apply the gist patch to test the new fix. Does somebody have reading material on that, so i can learn to do that, would be great!?
[Android Software/Hacking General [Developers Only]] tonyp:
Save the gist content to a file, e.g. GPS.patch.

Then do the following on your build machine:

cd frameworks/base
patch -p1 < /path/to/GPS.patch

Then do your build :)

The gist is just a patch/diff file, if you want reading material read the patch man page or some other patch tutorials.
[Android Software/Hacking General [Developers Only]] D-m-x:
Thank you very much! I understood, that this is only a patch but not quite how and where to apply it :)

Edit: Unfortunately the patching fails, 2 Hunks failed. Of course i applied the Patch after Patching via the Original OpenPdroid Patches. Does anyone has a guess?
[Android Software/Hacking General [Developers Only]] mateorod:
Thanks for the report...my intention is to add another fix to the patches in the next several days...my son has two weeks off from school and that compromises my time deeply but I hope to add something soon.

Edit: D-M-x....post the failure and the link the manifest you sync to.....whatever address you used to repo init.
[Android Software/Hacking General [Developers Only]] xdoza:
Hi!

I'm looking to patch my Samsung Relay t699 stock firmware (think is touchwiz) for openpdroid support. Could anyone point me to some kind of instructions to patch it? I understand the autopatcher will not work, but is not clear to me which code patches I need to download.

Thanks in advance!
[Android Software/Hacking General [Developers Only]] cashmundy:
Vibrant, MMS app, OpenPDroid

I've got a Vibrant running Hellybean from mid-February. From time to time, I've tried the latest AutoPatcher with later builds of Hellybean or Slimbean, and they have either failed to patch at all or ended up with MMS broken and FCing even if the apk is replaced. I've been waiting for the merge to complete, no point in fixing old code, but would like to be able to upgrade to a recent ROM one of these days. Any advice or speculation would be welcome. Thanks!
[Android Software/Hacking General [Developers Only]] txoof:
Thanks for all the work you do! This patch really is quite amazing. Can you point me to an openpdroid donation link? I saw that you are not accepting donations for autopatcher (which is pretty awesome of you) and asking folks to donate to the patches they use. I'd love to donate to openpdroid, but I didn't find a link where I could do so.

Thanks again.
[Android Software/Hacking General [Developers Only]] D-m-x:
Hey, here are the things you asked for, but just if you have time. There are more important things than Android ;)

Rom is Carbon, Repo is this https://github.com/CarbonDev/android

Repo init is git://github.com/CarbonDev/android.git
[Android Software/Hacking General [Developers Only]] scutworker:
Hi mateorod,

I know you are looking at the location bug, so here is something else I have noticed:

If I set my GPS or network location to deny or allow, then the app works fine and it recieves no data or the right data. But if I set it to Random or User-defined fake data, apps force close everytime.

I've attached a logcat for when I give fake data to the Androsensor app.

Hopefully it will help you solve the location bug.

Cheers.
[Android Software/Hacking General [Developers Only]] xdoza:
Hi sorry for reposting. Could anyone tell me if this is possible or not?

Thanks in advance!
[Android Software/Hacking General [Developers Only]] jpeg725:
Unless you know what smali is, you won't get anywhere, and if you do, you've got a helluva lot of work to do to get it working.
[Android Software/Hacking General [Developers Only]] mateorod:
Hmmm...that is one of our files so it isn't related to the ROM you are building. That is from attempting to apply the gist, correct? Has anyone applied that patch successfully? I haven't tried. I know phillipberndt has used it, and it looks completely correct to me.

What commands are you using to apply the patch? You could also just add that gist to the code by hand...it is pretty small. But make sure to make a patch if you do so you only have to do that once. Edit the file like you see, then go to to the base project, frameworks/base and type

git diff > gpspatch.diff

Then you have a personal patch. It should match that gist almost exactly though...just giving you a second option in case you needed it.

Thanks for the thought! My default recommendation would be to donate to PDroid2.0 or TeamWin (who provides our hosting). Tell them who sent you though, okay?

We almost decided to raise OPD funds when we were orking on a gerrit instance...but it turned out to be a moot point. And I think I could probably fit a gerrit instance on my Amazon EC2 server if absolutely necessary. So OpenPDroid is also donation free. Thanks though, the thought definitely counts.

hey cashmundy, whats shaking.

The third post is still valid, it works on current source with very minor tailoring for your specific build enviroment. It is older code in that we are working on improving it, but OpenPdroid will probably always have something like quarterly or biannual releases, with bug fix releases following the major release. We are unfortunately behind, but there is nothing we can do but keep working...

This is about right...you need source code to patch roms at this point. I have been working on stock patching and I think I have a working method but it is not really close to release. It is on the shelf while I finish the OPD update. The idea was to release OpenPDroid last january and then turn immediately to getting an autopatcher app put together...unfortunately events conspired against me and now my time is spent struggling to get the OPD update out and support PDroid2.0.

But the idea is still tumbling in my mental dryer...and I think i know what to do.:good:
[Android Software/Hacking General [Developers Only]] txoof:
I noticed that for Maps and Llama, if I did a long press in Pdroid Manager and chose "Allow All" the location services worked; just leaving it as "No Settings" left Maps unable to find the location based on cellular information.
[Android Software/Hacking General [Developers Only]] xdoza:
Hi mate!

I think I have the source code (is officialy release by samsung, in my case SGH-T699_NA_JB_Opensource.zip from http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SGH-T699). And being I'm a developer, I'm not frightened to try this on my phone. But as I say is not very clear to me how to do it. Is there any steps I can follow?

Or you are suggesting is better to try pdroid instead of openpdroid?

Thanks in advance!
[Android Software/Hacking General [Developers Only]] D-m-x:
Ok, i will do that if the first method doesn't work. I downloaded the gist, unzipped it and renamed it. And i am using this command

After i applied the other 5 OpenPDdroid Patches from the Repo.