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
Sent from my Desire S using xda app-developers app
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
out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates
out/target/common/obj/APPS/TelephonyProvider_intermediates
--- 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've compiled successful OpenPDroid and booted up fine. So far so good.
I'm letting my users of CM10.1 i9300 Unofficial BUILD to try your wonderful work.
This is my changelog for my CM10.1 Unofficial build V34 for i9300
http://xdaforums.com/showpost.php?p=36697391&postcount=6919
Again, thanks for your good work.
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.It seems that the settings get lost when you uninstall the app (which I did to test with PDroid manager only in the ROM).
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.I guess it will go wrong when installing a ROM containing PDroid manager, while the PDroid 2.0 app is 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.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?
Does it matter how the integrated apk is called?
I have now for example
Code:/system/app/pdroidalternative.apk
I guess the matching will be on signature, but maybe I am wrong.
Thanks for posting that - hopefully others can use it too.This is the way I have integrated PDroid manager into the CM10 build process:
...
Yes, for any 4.1.2-based ROMs you are absolutely correct.Shouldn't
beCode:out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates
for CM10?Code:out/target/common/obj/APPS/TelephonyProvider_intermediates
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.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.
It appears that you are right, because the app in the ROM was named a little bit differently than the one from the market.I've never actually integrated an app into a ROM, but my understanding is that the filename is not important.
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
Sent from my Desire S using xda app-developers app
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).So in my opinnion, they should be merged to one big, powerful project :angel:
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.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. After reboot I installed PDroid Manager ALPHA [2013-01-12 v0.2.9.8] and my phone became highly unresponsive. It became so slow, it took me 2 minutes to initiate a reboot. After second reboot still unresposive. By now I restored my nandroid backup, so my device ist fine again. Anyone else with this issue ?
EDIT: second test: 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.
I'll leave this one to mateor.ToALL
If I have hybrid ROM (CM10+AOKP) what patch should i use ?
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.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.
ToALL
If I have hybrid ROM (CM10+AOKP) what patch should i use ?
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
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.
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
patch -p1 < <patch_filename>
[b]Data access:[/b]
Device ID (IMEI/MEID/ESN)
Phone/voicemail number
Sim Card Serial (ICCID)
Subscriber ID (IMSI)
Source number of incoming calls
Destination number of outgoing calls
Network location
GPS location
Authentication credentials
List of accounts, including identifiers (e.g. gmail e-mail address)
Contact list and details
Call log
Calendar
Read and send SMS
Read and send MMS
Record audio (not phone calls)
Camera
Browser bookmarks and history
System logs
Wifi Info, such as current access point, IP address
Network information (detailed network information such as connection state, IP address, etc)
Android ID (a unique installation ID for your Android installation)
SIM information (your phone operator and country)
Restrict access to iptables command
ICC Access (reading or writing SMS on the SIM or R-UIM)
[b]Actions:[/b]
Make phone calls
Start on Boot (or more accurately, get notified when the boot is complete)
Switch Wifi State (turn wifi on and off, change access points)
Switch network state (turn off or on mobile data)
[b]Other[/b]
Force online state (always tell the app that the device is online: only needed if denying Wifi info and/or Network info)
cd ~/android/system/build; git checkout -b pdroid; patch -p1 < ~/openpdroid_4.2.1_build.patch
cd ~/android/system/libcore; git checkout -b pdroid; patch -p1 < openpdroid_4.2.1_libcore.patch
cd ~/android/system/packages/apps/Mms; git checkout -b pdroid; patch -p1 < openpdroid_4.2.1_Mms.patch
cd ~/android/system/frameworks/base; git checkout -b pdroid; patch -p1 < openpdroid_4.2.1_frameworks_base.patch
cd ~/android/system/frameworks/opt/telephony; git checkout -b pdroid; patch -p1 < ~/openpdroid_4.2.1_frameworks_opt_telephony.patch
cd ~/android/system; . build/envsetup.sh; brunch <DEVICE_TARGET>
cd ~/android/system
rm -rf out/target/common/obj/JAVA_LIBRARIES/framework_intermediates \
out/host/common/obj/JAVA_LIBRARIES/layoutlib_intermediates \
out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates \
out/target/common/obj/APPS/Mms_intermediates
cd ~/android; make clobber
cd ~/android/system/build; git checkout . ; git clean -df
cd ~/android/system/libcore; git checkout . ; git clean -df
cd ~/android/system/frameworks/base; git checkout . ; git clean -df
cd ~/android/system/frameworks/opt/telephony; git checkout . ; git clean -df
cd ~/android/system/packages/apps/Mms; git checkout . ; git clean -df
cd ~/android/system; repo abandon pdroid
Hey mateorod. How does the issue with GPS/openpdroid look? Would you need a tester of some sort?