yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] cashmundy:
Hey Mateorod, good to hear from you. I'm in no rush, was mostly wondering if the MMS problem might be something simple

someone might have an easy fix for. I'll wait for the merge to complete and then try again.

Happy Hacking, and thanks!
[Android Software/Hacking General [Developers Only]] mateorod:
I believe you are right and perhaps phillipberndt creates his gists/diffs in a non-standard (or simply new to me) manner. I cloned it and fixed it...it works now tested by me. I have not built with the gist before since I have no way to test GPS issues.

Here is the new gist, and your command will apply it. But I also just decided to push that change to our jb-mr1-release-openpdroid-devel development branch. So you can cherry-pick it from there after you apply the usual patches if you want.

I have fixed the disappearing Mms as of autopatcherv2.9.7...it just got fixed the other day. That is what you are asking about, right?

edit: just a reminder...the merge work is being done in a seperate repo so as not to further contribute to our branch apocalypse...you can see the progress here, with ALL branches being active.

I know it has been a long time...but there is steady progress being made. Thanks.
[Android Software/Hacking General [Developers Only]] D-m-x:
Thanks for the fast response. If i have time i will try it with the gist and report back. Maybe on the Weekend :)
[Android Software/Hacking General [Developers Only]] txoof:
Has anyone else noticed extreme reported data usage, but actual data usage is reasonable? In six days the inbuilt Jelly Bean data monitor reports 558MB of data usage. Specifically I've noticed that Facebook reports to have sucked down 139 MB of data, most of it is reported as "background data". When I check in with my service provider, they report only 75 megs so far through the month.

I've severely limited what FB has access to; currently it receives no data or random data for everything other than the following:

Account Credentials

Accounts

Camera

IP Tables

ICC Access

Could the false and random data account for the huge apparent data usage?
[Android Software/Hacking General [Developers Only]] swiggs98:
You aren't on cm10.1 RC3 by chance are you? There was a logic bug in that build resulting in extremely inflated data metrics.
[Android Software/Hacking General [Developers Only]] txoof:
I'm on CM10.1 RC4 actually. I haven't run RC4 without the openpdroid patch though. That might be a good experiment to see if that fixes the problem. I'll have to fiddle more when I have some time.
[Android Software/Hacking General [Developers Only]] sabret00the:
Also try the latest nightly for your device.
[Android Software/Hacking General [Developers Only]] karamelos:
Some build

Hi

if user want try pre patched rom

Devices: Galaxy ace S5830

Rom CM

Link http://db.tt/uHKOgyqa

Devices Galaxy note 1 N7000

Rom CM

Link http://db.tt/lFFBdPiK
[Android Software/Hacking General [Developers Only]] swiggs98:
I would just like to add that I would greatly appreciate multiuser support as well. Even if it didn't provide the same protections but just didn't crash all the apps when a second user logs in, that would be a great start. This is actually a gap that will cause me to be majorly torn between giving up multiuser and having a secure device.

I am going to do some searching to see if there is an app that provides a sterile and controlled kid environment outside of multiuser as a compromise. That is really why I use multiuser anyway.

I also wanted to express my gratitude for all those working on this project. What an awesome and MUCH needed capability. I can't wait for the merge and an major new release!
[Android Software/Hacking General [Developers Only]] pcp135:
I have had strange problems with OpenPDroid. I am using Atrix 4G with EPinter's CM10, version 2012-11-17. I am using this version because it was the last one I was able to patch for PDroid 2.0 using Kobik77's ApG tool for Windows. The later versions of EPinter's ROM didn't patch using the same tool. I used ApG to generate OpenPDroid patch as well.

In any case, I tried OpenPDroid on the 2012-11-17 version of the ROM. I did a fresh install just in case. Buy my WiFi and Cellular signal keep dropping out with the OpenPDroid patch installed. Usually this happens when the phone is not being used (in deep sleep I assume) but sometimes I would be using it and the WiFi and Cellular will both sequentially turn off and on a couple of time before stabilizing. When I check battery stats using the built-in tool, I see that the time without signal is >5%, but often >25%. So I restored my backup that uses PDroid 2.0 and things went back to normal, no mysterious WiFi and Cellular drop-offs and the time without signal is non-existent.

Just to make sure this was not a fluke, I re-downloaded the ROM and generated OpenPDroid patch, and re-installed it. Once again the signals kept dropping off and time without signal spiked. I restored the PDroid 2.0 containing backup and things are now back to normal.

Has anyone else had this type to issue? I can do some testing and log pulling if that might help someone knowledgeable enough to figure out the root cause of the problem. I want to switch to OpenPDroid b/c I have not be able to make a PDroid 2.0 patch using ApG for a few months now whereas OpenPDroid patch can be successfully made with the same tool.
[Android Software/Hacking General [Developers Only]] cashmundy:
If memory serves, it was 2.9.7 that I tried about mid-May against both Hellybean and Slimrom for the Vibrant, and both failed irrecoverably with an "unable to patch" error. I realize how useless this would be as a bug-report, and haven't made any, not wanting to distract from the merge.

I'll continue to try every now and then, and submit a real bug report if I have post-merge problems.

I built CM7.2 with Pdroid applied last summer, it worked well, and then the Fedora 18

Alpha installer deliberately wiped quite a few folks' disks, mine included, which was somewhat discouraging. Eventually I'll get another build environment set up.

Thanks again, Happy Hacking!
[Android Software/Hacking General [Developers Only]] earth08:
Dear

I am using S3 4G stock 4.1.2,

I would like to have opendroid on my device bt without loosing stock rom.

Is there anything available for s3 4g 4.1.2 (i9305)

Thanks in adv.
[Android Software/Hacking General [Developers Only]] SMillerNL:
Yes, there is Auto Patcher. Read the thread.
[Android Software/Hacking General [Developers Only]] Harsher:
Hello Folks

I arrived on this thread because of reading this:

http://www.xda-developers.com/android/android-permissions-permissively-insecure/

and being pretty baffled about what I read.

So, I was wondering, by now, what is the most compatible framework for PDROID to work,

while at the same time offering good functionality (otherwise said, having a rom that would

offer quite the same that, say, i9100/S2 Disaster Rom or Omega-sammy based rom tweaks)?

I am fairly knew to CM/AOKP, and while I know a little how to make some upkeep and working under the system, I don't want to spend my life doing it, I would prefer having something done once and not having to often make change, I am fond of the idea that better security is also achieved by having a well known system, for its behaviour and workings, and changing everyday or week for a new rom is against this.

And also, I have no time, I only want to invest it for being quiet and safe then.

Do you think these are expectations that can be met by any CM/ AOKP Pdroid combination?

Thanks for your help.
[Android Software/Hacking General [Developers Only]] karamelos:
Update rom pre-patched for galaxy ace S5830 (build with armv6 project) & swapper2 is necessary

Rom: Cm (rc5)

md5sum: 28c8f1ed46454d4b550249ec898ea648

Link: http://www.filedropper.com/cm-101-20130610-unofficial-cooper-openpdroid
[Android Software/Hacking General [Developers Only]] Px80:
Is this a standalone APP or must it be used with pdroid 2.0?

I like the idea of an opensource security APP! Keep going
[Android Software/Hacking General [Developers Only]] Mika83AC:
It is stand alone. Both apps do nearly the same job.

So in my opinnion, they should be merged to one big, powerful project :angel:
[Android Software/Hacking General [Developers Only]] zhuchella:
ToALL

If I have hybrid ROM (CM10+AOKP) what patch should i use ?
[Android Software/Hacking General [Developers Only]] nsmart:
First of all, thank you guys for all your efforts to bring pdroid to our devices.

Since I changed my device to Nexus 4 one month ago I am running cm10.1 and I works very good and fast. But I was missing pdroid functionality and so your openpdroid-implementation was a great announcement and I just gave it a try. I patched cm-10.1-20130111-NIGHTLY-mako.zip with auto_patcher v2.50 without errors.

EDIT: some corrections

I installed openpdroid-patch (without installing Manager-app). After reboot I started the app "GPS Status" from play store -> compass rotation very slow, unable to acquire gps location, phone becomes slow.
[Android Software/Hacking General [Developers Only]] M66B:
This is the way I have integrated PDroid manager into the CM10 build process:

~/android/system/vendor/cm:

diff --git a/config/common.mk b/config/common.mk
index 56cd33d..6892f44 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -102,6 +102,10 @@ PRODUCT_COPY_FILES += \
vendor/cm/proprietary/Term.apk:system/app/Term.apk \
vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so:system/lib/libjackpal-androidterm4.so

+# PDroid manager
+PRODUCT_COPY_FILES += \
+ vendor/cm/proprietary/pdroidalternative.apk:system/app/pdroidalternative.apk
+
# Bring in camera effects
PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/media/LMprec_508.emd:system/media/LMprec_508.emd \
diff --git a/get-prebuilts b/get-prebuilts
index 1d2b6df..4125ce3 100755
--- a/get-prebuilts
+++ b/get-prebuilts
@@ -7,3 +7,4 @@ mkdir -p $BASEDIR/proprietary
curl -L -o $BASEDIR/proprietary/Term.apk -O -L http://jackpal.github.com/Android-Terminal-Emulator/downloads/Term.apk
unzip -o -d $BASEDIR/proprietary $BASEDIR/proprietary/Term.apk lib/*

+curl -L -o $BASEDIR/proprietary/pdroidalternative.apk -O -L https://github.com/wsot/pdroid_manager_build/blob/master/PDroid_Manager_latest.apk?raw=true

Shouldn't

out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates

be

out/target/common/obj/APPS/TelephonyProvider_intermediates

for CM10?

The patch to fix video recording still fits, so for your convenience:

--- frameworks/base/media/java/android/media/MediaRecorder.java	2012-12-08 13:10:55.000000000 +0100
+++ frameworks/base/media/java/android/media/MediaRecorder.java	2012-12-08 13:11:19.000000000 +0100
@@ -1128,6 +1128,7 @@ public class MediaRecorder
pSetMan.notification(packageName[0], 0, PrivacySettings.REAL, PrivacySettings.DATA_CAMERA, null, null);
else if(packageName != null && packageName.length > 0)
pSetMan.notification(packageName[0], 0, PrivacySettings.REAL, PrivacySettings.DATA_RECORD_AUDIO, null, null);
+	deletedFile = true;
}

if (mPath != null) {

I am building right now on my cheap, slow PC.

I will let you know if everything works later this evening.
[Android Software/Hacking General [Developers Only]] mateorod:
Hey, cool! There is a temasek build for my device (tilapia) and that is pretty much what people are using from what I can tell. Temasek was there waaay back when pastime1971 and I first started working on porting this thing...
[Android Software/Hacking General [Developers Only]] M66B:
Does it matter how the integrated apk is called?

I have now for example

/system/app/pdroidalternative.apk

I guess the matching will be on signature, but maybe I am wrong.
[Android Software/Hacking General [Developers Only]] M66B:
I have built a ROM from source, using the provided patches, including PDroid manager as outlined earlier and everything seems to work okay.

I have tested with only PDroid manager in the ROM and also flashing a ROM containing PDroid manager while PDroid manager was already installed as user app and both were okay.

It seems that the settings get lost when you uninstall the app (which I did to test with PDroid manager only in the ROM).

I guess it will go wrong when installing a ROM containing PDroid manager, while the PDroid 2.0 app is installed.

One little request: after saving app settings in PDroid manager, the list moves to the start.

Could this be changed in such a way that for example the visible list head is the just saved app?
[Android Software/Hacking General [Developers Only]] FFU5y:
The settings should be retained unless the /data/system/privacy.db (and a few other related files) is modified: once the app in reinstalled and refreshed the previous settings should be retrieved. If a new ROM is installed, that file will be removed if the user data is wiped (I believe - I've never specifically check) and that would lead to losing all the settings.

There is a 'backup' feature in Pdroid Manager so all the settings can be backed up, and then restored.

If I've misunderstood, let me know.

In that case, PDroid Manager should provide the user with a message letting them know that they shouldn't both be installed (that is, if it can't get the necessary permissions because both are installed.

You're not the first to ask for this, and I've actually done a little bit of work trying to get it happening but haven't gotten there yet. I'll be doing some more work on it soon.

Edit: I thought this has already been lodged as an issue against PDroid Manager, but it hadn't. Sorry about that. Anyway, for reference the issue # for the 'jumping to the top of the list is' https://github.com/wsot/pdroid-manager/issues/37
[Android Software/Hacking General [Developers Only]] FFU5y:
I've never actually integrated an app into a ROM, but my understanding is that the filename is not important.
[Android Software/Hacking General [Developers Only]] FFU5y:
Thanks for posting that - hopefully others can use it too.

Yes, for any 4.1.2-based ROMs you are absolutely correct.
[Android Software/Hacking General [Developers Only]] M66B:
What I did was this: I deleted the PDroid Manager installed from the market using the standard Android app manager, flashed the ROM with PDroid Manager. After that the app from the ROM worked, but the settings from the app from the market were gone.

It appears that you are right, because the app in the ROM was named a little bit differently than the one from the market.

(market: /data/app/net.digitalfeed.pdroidalternative-1.apk; ROM: /system/app/pdroidalternative.apk)
[Android Software/Hacking General [Developers Only]] FFU5y:
As Mika83AC said, it is stand-alone: basically OpenPDroid and PDroid 2.0 are alternative versions of the underlying PDroid framework.

I can understand why you think this, and it is possible that in the longer run this may happen (but I wouldn't hold my breath).

I'll just very briefly explain why:

Right now there is no clear way of submitting code (or even issues, in any structured way) to PDroid 2.0, whereas in OpenPDroid you can fork on github and then add a push request. You can lodge issues in github along with details, and that allows feedback to be provided. If people post suggestions in here, then we can add them to github as 'enhancements', they can be discussed there, and those discussions can be entirely visible to users. The basic idea is that the whole process is 'open' and visible - and open to further discussion.

The development life-cycle for PDroid 2.0 is that CollegeDev does a bunch of development, then releases a monolithic patch with all those changes and without anyone seeing the code before. This pattern means that code review is not possible before release, that compatibility changes can not be made in other apps (e.g. PDroid Manager, and any other pdroid-interfacing apps that may appear) prior to release, so compatibility will inevitably be broken at time of release.

There are aspects of the direction of PDroid 2.0 which are not consistent with what we have in mind for OpenPDroid. For example, the current PDroid 2.0 App suggests that 'task killing' will be integrated into the framework changes for PDroid 2.0. Currently (acknowledging we have not seen the framework code changes), we have no desire to include this functionality in OpenPDroid. There are very good task killer apps out there, and it doesn't really fit in the purview of a privacy management mod. Similarly, there has been discussion of incorporating encryption/authentication of manager apps, and of the data. This may seem like a good idea, and may even be a good idea - but it may have side-effects which outweigh the benefits, and without having an alternative like OpenPDroid no-one has any option but to accept it.

Because both OpenPDroid and PDroid 2.0 are GPL v3 (as a result of being derived from PDroid, which is GPL v3 licensed) good ideas and code can move between them. I like to think of it like CyanogenMod and AOKP - there is a lot of cross-over but some differences; good ideas and code can be ported from one to the other, and the variants suit different people's needs.

Hi nsmart: thanks for the feedback. I'm not sure why your phone would become so unresponsive, but if you could post a logcat that would be helpful. That way, we can see what is going on under the covers.

If anyone else is trying this same ROM, it would be really helpful to hear if they are having the same problems.

Mateor may also have some more insight into this.

I'll leave this one to mateor.
[Android Software/Hacking General [Developers Only]] FFU5y:
Ok. Well, the safest thing a user can do at this stage is to use the backup and restore features from PDroid Manager to take a backup of their settings prior to flashing.

I'll have a look to try to work out why the settings would be toasted, but it will probably take a couple of days (lots going on)

Thanks for letting us know. Clear feedback is great.
[Android Software/Hacking General [Developers Only]] mateorod:
The answer...frustrating as it may seem...is always going to have to be try and see. If you get an update.zip, then it worked with no worries. If not, try the other ROM type. I know that may seem vague, but I try to make running the program as painless as possible. All ROM devs do and add things differently. I know less about it than you do.

Good luck, I do known that people have been able to patch these combo Roms, so it is possible.
[Android Software/Hacking General [Developers Only]] temasek:
Feedback

Device: i9300 / Nexus 7 Tilapia / LG Optimus 2x (p990)

ROM: CM10.1 Unofficial Build

OpenPDroid: 1.51

1. Triggering power widget on notification drawer causes slight freeze, eg turning on/off WIFI.

2. Installing apps via Play Store causes lag/freeze. At times Play Store frozen, prompted to kill it.

Easily reproduced by all my 3 devices as stated above.

As I'm providing builds for mass users, I've to temporary revert it as the above issues isn't acceptable to many users. Overall I find it very useful feature you provided. I was using PDroid port by pastime1971 during my times in CM7 and was a wonderful experience.

I hope in very near future I shall use this nice piece of work again.

Regards,

temasek
[Android Software/Hacking General [Developers Only]] FFU5y:
That's really useful feedback, thanks! Unfortunately I don't have any of those devices (got a Nexus 7 grouper, but it is probably too different) but I think one of the team does. If you have a build of the ROM you used and noticed the problem on and could post it, that would be great - then we may be able to run up exactly what you were using and check it out.
[Android Software/Hacking General [Developers Only]] mateorod:
I have experienced the problem with Google Play, but I have been flashing so much I chalked it up to my Internet. I can probably reproduce it and get a log.
[Android Software/Hacking General [Developers Only]] MindCrawler:
Hi

First of all let me thank you for the work on OpenPDroid

But now to my problem

i'm using CM10.1 on a Galaxy Nexus (maguro) and i'm experiencing two problems with the camera.

The first one is, that the camera is lagging pretty bad since OPD, and the second is that the camera isn't listed in the "PDroid Manager" app list
[Android Software/Hacking General [Developers Only]] FFU5y:
Ok, first the PDroid Manager issue: the 'Camera' app is actually part of the 'Gallery' app, so the settings are dictated by the 'Gallery' app. That is weird, I know, and I'm trying to work out a way to have both items appear (but point to the same thing). I've lodged this as issue #39 in github for PDroid Manager.

About the lag:

A quick question - were you previously using PDroid 2.0, and if so has there been any change in the transition to OpenPDroid?

A quick explanation: when you have the camera running, OpenPDroid (and PDroid 2.0) is continually re-checking the permissions from the Privacy service. This is unfortunately very slow, and I believe responsible for the lag you are seeing. I am in the process of doing some work to try to optimise this.

Edit: I've added an issues to github for this, so you can keep track of it: https://github.com/wsot/openpdroid_support/issues/3
[Android Software/Hacking General [Developers Only]] noonecanhide:
I have some problems with openpdroid on CM10.1 RC5 for Mako...

denying facebook (&messenger) access to camera does not work anymore...

but for barcode scanner it works..
[Android Software/Hacking General [Developers Only]] karamelos:
Past some log please (logcat with filter option )
[Android Software/Hacking General [Developers Only]] noonecanhide:
Oh sorry, forgot the logs... :(

So, here we go:

Barcode Scanner (denied permission for camere leads to immediate FC)

Facebook App, Camera launches up without problems, live view on screen.

I did not know which filter to apply (just pdroid, or pdroid and fb, ...), so i kept the logs short, they contain only the tap on the app icon and launching the camera in the app.

If you need more logs etc, just tell me :)
[Android Software/Hacking General [Developers Only]] karamelos:
Ok th i reproduce it (when i ve time) for barcode scanner but i don't have facebook account.

UPDATE:

Rom: cm10.1 openpdroid

Device: N7000 galaxy note

md5sum: a7cfd40f386c1c33faa90304c09caf36

Link: http://db.tt/OLxJTZVO
[Android Software/Hacking General [Developers Only]] Janzomaster:
Hi,

First of all thanks to everyone involved in the pdroid development!

I'm not sure if I should post this here or on the autopatcher thread, but I was wondering if and when the gps patch is going to be integrated in the autopatcher. I don't know how to build, patch and all that, but the gps problems are a bit of a deal breaker for me right now. Any info would be appreciated. Thanks
[Android Software/Hacking General [Developers Only]] MadMic:
AFAIK There was a small patch to the patches to try and relieve the issue a few weeks ago (check out the autopatcher change log) whilst this has really helped its still not 100%, I get locks in less than 3mins now, but sometimes 3mins is a PITA.. But that's the price I decided to pay for the benefits of security..

I know the devs are working on it with everything else and kudos to them! :)

Try installing gpsstatus from play store and when you are running a GPS program open gpsstatus, menu, manage AGPS data, click download. This helps.

Also I've found having a WiFi connection really helps too. Not always possible, but if I'm at home I turn my g

Satnav on before leaving WiFi range..

badly spelt with my fingers...