wsot / openpdroid_support Goto Github PK
View Code? Open in Web Editor NEWA stub to allow github issues to be lodged against OpenPDroid
A stub to allow github issues to be lodged against OpenPDroid
All apps FC when logging in as the secondary user and logcat shows:
E/AndroidRuntime( 2556): java.lang.RuntimeException: Unable to start service com.cyanogenmod.lockclock.weather.WeatherUpdateSer vice@41f0cc30 with Intent { flg=0x4 cmp=com.cyanogenmod.lockclock/.weather.WeatherUpdateService (has extras) }: java.lang.SecurityException: Permission Denial: broadcast from android asks to run as user 0 but is calling from user 10; this requires android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS
When OpenPdroid is installed, the phone lags a lot when the camera app is open.
This is due to the database being rapidly opened and closed by the PrivacyPersistenceAdapter. It hadn't occurred in the past because a bug in the PrivacyPersistenceAdapter (since the very original PDroid) prevented the 'idle database closing' code triggering. When this bug was fixed, the database started being opened and closed very rapidly - which is what it was designed to do, but kills performance.
An experimental fix is in the jb-mr1-release-openpdroid-devel branches, and cm10.1 and aokp jb-mr1 equivalents. This fix does not prevent the database from opening and closing (which will probably be modified in future) but rather adds a least-recently-used clearing cache to reduce database calls.
(Reported by nsmart, XDA Developers)
Tested using the GPS status app (com.eclipsim.gpsstatus2).
When the app starts, it becomes very slow and compass rotation is similarly slow.
When trying to apply openpdroid to a CM10.1 image [cm-10.1.0-RC2-mako.zip] for the Nexus 4.
It results in a failed patch for CdmaServiceStateTracker.smali and for GsmServiceStateTracker.smali
Full log:
EDIT: The log format is getting parsed as github markdown so pastebinned here: http://pastebin.com/raw.php?i=eteVqY8z
Hello,
Nexus S 3G :
Rom:cm-10.1-20130125-NIGHTLY-crespo
ApG:V2.5.7.5 - Supercharger+Opendroid
OS:Win-7-64bit-SP1
Patching worked really fine, but the overall performanc is extremly bad.
Examples:
When i boot up the device it needs more time to accomplish the task to go into the App menue.(Like one minute, youl see that its busy )
Also the Andriod GUI is very very instabel, crashes very often.
When i tried to install an app from the Playstore market, it also needs a couple of minutes to download an install it. The device is behaving like it had a partial stroke......
When i go into my SMS app the smiley color changed from green to blue......
Maybee it help: -->my LOG
http://codepad.org/u3tOQoh3
Big thx for the great work.
Razzor
I've been using LBE Privacy Guard for all my (Android) life. But now that the SGS2 got 4.1.2 its crashing the system. That led me to OpenPDroid and to it's "setup instructions".
Is it possible for you to provide a path for certain stock-roms that can be easily installed from a zip by using the android service menue (vol+, home, power)?
It would be great to have a secured system again.
I rooted my system using this patch: http://www.androidayos.com/2013/02/09/philz-touch-v4-22-root-i9100xwlsd-samsung-galaxy-s2-gt-i9100-android-4-1-2-jelly-bean-update/
"Issue with pd2.0 1.52.
It is preventing Llama from getting my cell location:
08:55:24.146 PrivacyTelephonyRegistry( 347)
package: com.kebab.Llama blocked for CellLocation
This prevents llama from triggering events because it does not know which area i am in. I have NOT changed any permissions in pd2.0 for the llama app, everything is allowed. Llama stopped working as soon as I installed pd2.0."
It is likely this problem also exists in openpdroid
I'm finding that I have to switch it on back manually whereby without the openpdroid patches to CM10.1 RC2, it comes back on automatically with the help of Tasker, I initially thought it was Tasker at fault, but further testing has confirmed it to be the fault of openpdroid.
I can provide a log is required.
Auto-Patcher : ApG 2.6.0.1
ROM: FXP231-cm-10-20130805-UNOFFICIAL-anzu
Patch is created successfully.
After applying patch, messaging app cannot start.
Clearing cache and dalvik-cache and fixing permissions did not solve the problem.
Installing mms.apk from the ROM.zip after applying patch also did not solve the problem.
Pulling latest changes of autopatcher from GitHub...
error: could not lock config file /home/ndiama/.gitconfig: No such file or directory
No local changes to save
Already up-to-date.
Running autopatcher with the following arguments:
ROM_PATH: /cygdrive/d/Downloads/ApG/FXP231-cm-10-20130805-UNOFFICIAL-anzu.zip
PATCH_TYPE: openpdroid
ROM_TYPE: cm
The Auto-Patcher v3.0.19
inflated: system/build.prop
... result of ROM check: RIL= SemcRIL
... result of ROM check: version= 4.1.2 rom= cm ...
... Using cm patches ...
... openpdroid patch date has been set to: 20130209 ...
inflated: system/app/Mms.apk
inflated: system/framework/core.jar
inflated: system/framework/framework.jar
inflated: system/framework/services.jar
inflated: META-INF/com/google/android/update-binary
inflated: META-INF/com/google/android/updater-script
... using Clockworkmod installer ...
... decompile framework.jar ...
... extract preloaded-classes ...
... decompile core.jar ...
... decompile services.jar ...
... installing framework files ...
I: Framework installed to: C:\Users\ndiama\apktool\framework\1.apk
... decompile Mms.apk ...
... copying system/media/PDroid.jpeg ...
... overwriting system/media/PDroid.jpeg from openpdroid ...
... overwriting GsmServiceStateTracker.smali ...
... apply framework.patch ...
... apply preloaded.patch ...
... apply core.patch ...
... apply services.patch ...
... apply Mms.apk.patch ...
... rebuild framework.jar ...
... rebuild core.jar ...
... rebuild services.jar ...
... rebuild Mms.apk ...
Congratulations, the patching was successful.
Any errors you may have seen were succesfully handled!
!!! Only file a bug report if the software is not behaving as expected !!!
to install patched files, flash:
---update-cm-anzu-20130805-openpdroid.zip
to restore original system, flash:
---restore-cm-anzu-20130805.zip
ROOT= /cygdrive/d/Downloads/ApG/ApGPackages/ap
TOOL= /cygdrive/d/Downloads/ApG/ApGPackages/ap/patch_tools.tgz
ROM= /cygdrive/d/Downloads/ApG/FXP231-cm-10-20130805-UNOFFICIAL-anzu.zip
ROMX= D:\DOWNLO1\ApG\FXP2313.ZIP
/cygdrive/d/Downloads/ApG/ApGPackages/cygwin/bin/tar
/cygdrive/d/Downloads/ApG/ApGPackages/Java/bin/jar
/cygdrive/d/Downloads/ApG/ApGPackages/Java/bin/java
/cygdrive/d/Downloads/ApG/ApGPackages/cygwin/bin/cpio
PATH= /cygdrive/d/Downloads/ApG/ApGPackages/ap/tmp20130812181825:/cygdrive/d/Downloads/ApG/ApGPackages/Java/bin:/cygdrive/d/Downloads/ApG/ApGPackages/cygwin/bin:/cygdrive/d/Downloads/ApG/ApGPackages/cygwin/usr/sbin
... result of ROM check: RIL= SemcRIL
... openpdroid patch date has been set to: 20130209 ...
Current HEAD: 16dad8d1fedb578f6d87ed00ad52a42fd449c719 Merge pull request #145 from Urinophoria/master
5fab7e56d421b08fa0f3326b79857959714179c2 Added slim patches, and "latest" symlink. incremented auto_patcher ver and date. Think I got it all this time!
... using Clockworkmod installer ...
ui_print("");
ui_print("");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("* ");
ui_print(" * The Auto-Patcher * ");
ui_print(" * * * * ");
ui_print(" * by mateor * ");
ui_print(" *");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("");
ui_print(" Attention");
ui_print(" ************************************");
ui_print("");
ui_print(" There is nothing that can go wrong here");
ui_print(" that reflashing your ROM won't fix.");
ui_print("");
mount("yaffs2", "MTD", "system", "/system");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
unmount("/system");
ui_print(" .");
ui_print(" .");
ui_print(" done!");
... decompile framework.jar ...
... extract preloaded-classes ...
inflated: preloaded-classes
... decompile core.jar ...
... decompile services.jar ...
inflated: system/framework/framework-res.apk
... installing framework files ...
... decompile Mms.apk ...
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\ndiama\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values / XMLs...
I: Done.
I: Copying assets and libs...
... copying system/media/PDroid.jpeg ...
... overwriting system/media/PDroid.jpeg from openpdroid ...
patches/openpdroid/4.1/cm/20130209/system/media/PDroid.jpeg' ->
./system/media/PDroid.jpeg'
... overwriting GsmServiceStateTracker.smali ...
... apply framework.patch ...
... apply preloaded.patch ...
GARBAGE=
GARBAGE=
... apply core.patch ...
GARBAGE=
GARBAGE=
... apply services.patch ...
GARBAGE=
GARBAGE=
... apply Mms.apk.patch ...
|diff -Npru stock-mms/smali/com/android/mms/transaction/HttpUtils.smali pdroid-mms/smali/com/android/mms/transaction/HttpUtils.smali
|--- stock-mms/smali/com/android/mms/transaction/HttpUtils.smali 2013-07-14 11:42:04.274437468 -0500
File to patch:
Skip this patch? [y]
4 out of 4 hunks ignored
GARBAGE=
GARBAGE=
... rebuild framework.jar ...
adding: classes.dex(in = 8785584) (out= 3538095)(deflated 59%)
adding: preloaded-classes(in = 84887) (out= 14594)(deflated 82%)
... rebuild core.jar ...
adding: classes.dex(in = 2512356) (out= 1045997)(deflated 58%)
... rebuild services.jar ...
adding: classes.dex(in = 1818176) (out= 815814)(deflated 55%)
... rebuild Mms.apk ...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
added manifest
adding: system/framework/framework.jar(in = 3553274) (out= 3529681)(deflated 0%)
adding: system/framework/core.jar(in = 1050235) (out= 1043560)(deflated 0%)
adding: system/framework/services.jar(in = 816273) (out= 815222)(deflated 0%)
adding: system/app/Mms.apk(in = 2220697) (out= 2094119)(deflated 5%)
adding: system/media/PDroid.jpeg(in = 26898) (out= 25744)(deflated 4%)
ignoring entry META-INF/
adding: META-INF/com/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/android/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/android/update-binary(in = 193136) (out= 124459)(deflated 35%)
adding: META-INF/com/google/android/updater-script(in = 2266) (out= 515)(deflated 77%)
Congratulations, the patching was successful.
Any errors you may have seen were succesfully handled!
!!! Only file a bug report if the software is not behaving as expected !!!
---update-cm-anzu-20130805-openpdroid.zip
to restore original system, flash:
---restore-cm-anzu-20130805.zip
==========================================================
After patching cm-10.1-20130123-NIGHTLY-p990.zip with the latest autopatcher, the systemui always begins to lag when device looses connection. This doesen't happen without the openpdroid patch.
Right now it seems that for any application, you can choose to be notified whenever it uses any of its permissions, but you can't (for example) choose to be notified only when that app uses the network. I think it would be nice if you could.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.