M66B / XPrivacy

XPrivacy - The ultimate, yet easy to use, privacy manager
http://forum.xda-developers.com/xposed/modules/xprivacy-ultimate-android-privacy-app-t2320783
GNU General Public License v3.0
2.08k stars 527 forks source link

Fix getNetworkOperator & WifiSsid types #116

Closed clugther closed 11 years ago

clugther commented 11 years ago

There is something about LBE. The LBE make its way by using binary injection that you see a .so library is loaded into app's process from the logcat. Thus it uses pretty the same API-blocking tricks as PDroid and XPrivacy. The instinct of dynamic code injection makes it less robust(Every major release receives much complaint on the unstableness/app failing).

However what Per App Settings Module does euqals to removing specific lines of "Android.permission.???????????" in the Manifest. The CM7's permission revocation submodule(not the incognito mode in CM10.1.1+), Luckypatcher app as well as Permission Denied app are effectively the same.

What's more, ALL the alternatives (made by Chinese firms) use the similar binary injection method, which doesn't require to modify "/system" partition, and meet best compatibility. In China, the abuse of permission is appalling.

For example, this weather app (made by the government Meteorological center): http://www.coolapk.com/apk/com.pmsc.chinaweather

it is ABSURD to see following permissions in a weather app, but it is quite common in China(I guess the 3rd tracking SDK inside requires these permission):

android.permission.CALL_PHONE android.permission.SEND_SMS android.permission.RECEIVE_SMS android.permission.WRITE_SMS
android.permission.READ_SMS android.permission.READ_PHONE_STATE android.permission.CHANGE_WIFI_STATE (in case you disable Wifi) android.permission.WRITE_APN_SETTINGS android.permission.GET_TASKS android.permission.ACCESS_WIFI_STATE android.permission.ACCESS_NETWORK_STATE android.permission.READ_LOGS

The LBE and other Chinese alternatives cannot prevent apps from accessing getLastKnownLocation API.

(By saying above, I did have used all of the solutions above.)

Here are some LBE alternatives from Chinese developers:

https://play.google.com/store/apps/details?id=com.ijinshan.duba https://play.google.com/store/apps/details?id=com.qihoo360.mobilesafe https://play.google.com/store/apps/details?id=com.tencent.qqpimsecure

The most recent release of LBE: http://www.wandoujia.com/apps/com.lbe.security

Although LBE is probably the first ever to make it possible to control permissions in Android, it shows that the function is currently not central of these apps, which is quite a pity for me(Sadly it suggests Chinese are generally NOT care about their privacy or at least not well educated on the issue).

Answer of the first question "Will XPrivacy make my device slower?" is actually true since XPrivacy/XPatch themselves has little cost to the system. However, the apps may misbehave since their developers have never thought of the fact that the granted permission in the manifest could ever be revoked.

Here is an example, the Opera browser app uses IMEI or something else as an argument to generate an reference tracking ID during the first startup of itself. If the API acquiring the IMEI is blocked, the app will go into a dead loop and refuse to continue, then the system asks you whether to force close the app as it does not response.

Most of the time, it is the apps themselves led to the slowness. I've seen the baidu maps app takes up to 10 seconds to deal with permission revocation by XPrivacy each time it starts.

M66B commented 11 years ago

XPrivacy does not revoke permissions, but feed applications with fake data, so no delays or crashes.

clugther commented 11 years ago

Xprivacy does not create delay, but it make app misbehave(which is not the same as forced crash by permission revocation) due to what I've said above, even though fake data in right form are provided.

The misbehave leads to the delay.


If the statement "same API-blocking tricks" is not right, should I describe it as API hijacking? Then everyone is using this. The apps using binary injection has literally no less than 100 million users.The number is large even if only 1% of these devices are rooted, While you can hardly find a legally sold android phone with google apps in China.

So I cannot quite agree with it, in fact these "make some applications unusable" apps are the most compatible ones: no rely on roms/android versions/system file modification/deoxed requirement, effectively same low chance to cause crashes as with PDroid/XPrivacy.

M66B commented 11 years ago

Give me one example of an app that misbehaves with XPrivacy.

clugther commented 11 years ago

Here is an example: The app can be fetched here https://play.google.com/store/apps/details?id=com.baidu.BaiduMap http://shouji.baidu.com/map/ (Official site)

07-03 21:05:00.252: I/XPrivacy(12969): load package=com.baidu.BaiduMap uid=10086 07-03 21:05:00.252: I/XPrivacy(12969): Queue usage data=10086/identification/SERIAL size=1 07-03 21:05:00.262: I/XPrivacy(12969): get 10086/SERIAL identification=true # 11 ms 07-03 21:05:00.302: I/XPrivacy/XRuntime(12969): Queue usage data=10086/shell/loadLibrary size=2 07-03 21:05:00.302: I/XPrivacy/XRuntime(12969): get 10086/loadLibrary shell=false # 4 ms 07-03 21:05:00.302: D/dalvikvm(12969): Trying to load lib /data/app-lib/com.baidu.BaiduMap-1/libvi_voslib.so 0x413b27d8 07-03 21:05:00.312: D/dalvikvm(12969): Added shared lib /data/app-lib/com.baidu.BaiduMap-1/libvi_voslib.so 0x413b27d8 07-03 21:05:00.312: D/dalvikvm(12969): No JNI_OnLoad found in /data/app-lib/com.baidu.BaiduMap-1/libvi_voslib.so 0x413b27d8, skipping init 07-03 21:05:00.312: I/XPrivacy/XRuntime(12969): get 10086/loadLibrary shell=false 07-03 21:05:00.312: D/dalvikvm(12969): Trying to load lib /data/app-lib/com.baidu.BaiduMap-1/libapp_BaiduMapApplib.so 0x413b27d8 07-03 21:05:00.352: D/dalvikvm(12969): Added shared lib /data/app-lib/com.baidu.BaiduMap-1/libapp_BaiduMapApplib.so 0x413b27d8 07-03 21:05:00.402: D/dalvikvm(12969): GC_CONCURRENT freed 460K, 10% free 8947K/9896K, paused 3ms+2ms, total 29ms 07-03 21:05:00.402: D/dalvikvm(12969): WAIT_FOR_CONCURRENT_GC blocked 11ms 07-03 21:05:00.432: D/dalvikvm(12969): GC_CONCURRENT freed 388K, 10% free 8983K/9928K, paused 3ms+2ms, total 19ms 07-03 21:05:00.432: D/dalvikvm(12969): WAIT_FOR_CONCURRENT_GC blocked 15ms 07-03 21:05:00.462: I/XPrivacy/XNetworkInterface(12969): Sending usage data=10086/identification/SERIAL size=1 07-03 21:05:00.472: I/XPrivacy/XNetworkInterface(12969): Sending usage data=10086/shell/loadLibrary size=0 07-03 21:05:00.472: I/XPrivacy/XNetworkInterface(12969): get com.baidu.BaiduMap/getInetAddresses network=false 29 ms 07-03 21:05:00.472: I/XPrivacy/XNetworkInterface(12969): get com.baidu.BaiduMap/getInetAddresses network=false 07-03 21:05:00.482: I/XPrivacy/XNetworkInterface(12969): get com.baidu.BaiduMap/getInetAddresses network=false 07-03 21:05:00.482: I/XPrivacy/XNetworkInterface(12969): get com.baidu.BaiduMap/getInetAddresses network=false 07-03 21:05:00.482: I/XPrivacy/XNetworkInterface(12969): get com.baidu.BaiduMap/getInetAddresses network=false 07-03 21:05:00.482: I/XPrivacy/XNetworkInterface(12969): get com.baidu.BaiduMap/getInetAddresses network=false 07-03 21:05:00.482: I/XPrivacy/XNetworkInterface(12969): get com.baidu.BaiduMap/getInetAddresses network=false 07-03 21:05:00.482: I/XPrivacy/XRuntime(12969): get com.baidu.BaiduMap/loadLibrary shell=false 07-03 21:05:00.482: D/dalvikvm(12969): Trying to load lib /data/app-lib/com.baidu.BaiduMap-1/libsapi_V5_2.so 0x413b27d8 07-03 21:05:00.492: D/dalvikvm(12969): Added shared lib /data/app-lib/com.baidu.BaiduMap-1/libsapi_V5_2.so 0x413b27d8 07-03 21:05:00.512: I/BAT(12969): BatSDK.init from com.baidu.BaiduMap with pid 12969 07-03 21:05:00.522: I/BAT(12969): With BatConfig com.baidu.batsdk.b[A:true,B:true,C:true,D:true,E:true,F:true,G:true,H:true,I:true,J:true,K:true,L:true,M:true,N:true,O:true,P:true,Q:true,a:true,b:false,c:false,d:0,e:0,f:3600000,g:86400000,h:false,i:,j:alpha,k:,l:10,m:200,n:true,o:200,p:50,q:,r:2,s:0.75,t:500000,u:36000000,v:30000,w:2,x:true,y:true,z:false,] 07-03 21:05:00.522: D/dalvikvm(12969): GC_CONCURRENT freed 418K, 10% free 9015K/9928K, paused 1ms+2ms, total 21ms 07-03 21:05:00.552: I/BAT(12969): BatSDK.init over, taken: 37 07-03 21:05:00.602: D/dalvikvm(12969): GC_FOR_ALLOC freed 233K, 10% free 9007K/9928K, paused 17ms, total 17ms 07-03 21:05:00.602: I/dalvikvm-heap(12969): Grow heap (frag case) to 10.733MB for 1536016-byte allocation 07-03 21:05:00.622: D/dalvikvm(12969): GC_FOR_ALLOC freed 0K, 9% free 10507K/11432K, paused 25ms, total 25ms 07-03 21:05:00.632: I/XPrivacy/XRuntime(12969): get 10086/loadLibrary shell=false 07-03 21:05:00.632: D/dalvikvm(12969): Trying to load lib /data/app-lib/com.baidu.BaiduMap-1/libsapi_V5_2.so 0x413b27d8 07-03 21:05:00.632: D/dalvikvm(12969): Shared lib '/data/app-lib/com.baidu.BaiduMap-1/libsapi_V5_2.so' already loaded in same CL 0x413b27d8 07-03 21:05:00.642: D/dalvikvm(12969): GC_CONCURRENT freed 9K, 9% free 10511K/11432K, paused 2ms+1ms, total 18ms 07-03 21:05:00.642: D/dalvikvm(12969): WAIT_FOR_CONCURRENT_GC blocked 7ms 07-03 21:05:00.652: I/dalvikvm-heap(12969): Grow heap (frag case) to 13.342MB for 2731536-byte allocation 07-03 21:05:00.662: D/dalvikvm(12969): GC_FOR_ALLOC freed <1K, 7% free 13179K/14100K, paused 15ms, total 15ms 07-03 21:05:00.662: I/XPrivacy/XTelephonyManager(12969): get com.baidu.BaiduMap/getDeviceId phone=true 30 ms 07-03 21:05:00.672: I/XPrivacy(12969): get setting IMEI=0000000000000 # 07-03 21:05:00.702: D/dalvikvm(12969): GC_FOR_ALLOC freed 1904K, 19% free 12251K/14988K, paused 12ms, total 12ms 07-03 21:05:00.742: D/dalvikvm(12969): GC_CONCURRENT freed 11K, 11% free 13341K/14988K, paused 2ms+2ms, total 22ms 07-03 21:05:00.742: D/dalvikvm(12969): WAIT_FOR_CONCURRENT_GC blocked 9ms 07-03 21:05:00.752: I/XPrivacy/XTelephonyManager(12969): get com.baidu.BaiduMap/getSubscriberId phone=true 4 ms 07-03 21:05:00.772: I/XPrivacy/XSettingsSecure(12969): get com.baidu.BaiduMap/getString identification=true 9 ms 07-03 21:05:00.772: I/XPrivacy(12969): get setting ID=0000000000000000 # 07-03 21:05:00.782: I/XPrivacy/XWifiManager(12969): get com.baidu.BaiduMap/getConnectionInfo network=false 8 ms 07-03 21:05:00.802: I/XPrivacy/XRuntime(12969): get com.baidu.BaiduMap/loadLibrary shell=false 07-03 21:05:00.802: D/dalvikvm(12969): Trying to load lib /data/app-lib/com.baidu.BaiduMap-1/libvi_voslib.so 0x413b27d8 07-03 21:05:00.802: D/dalvikvm(12969): Shared lib '/data/app-lib/com.baidu.BaiduMap-1/libvi_voslib.so' already loaded in same CL 0x413b27d8 07-03 21:05:00.812: I/XPrivacy/XTelephonyManager(12969): get com.baidu.BaiduMap/getDeviceId phone=true 07-03 21:05:00.812: I/XPrivacy(12969): get setting IMEI=0000000000000 07-03 21:05:00.812: I/XPrivacy/XTelephonyManager(12969): get com.baidu.BaiduMap/getDeviceId phone=true 07-03 21:05:00.812: I/XPrivacy(12969): get setting IMEI=0000000000000 07-03 21:05:00.832: I/XPrivacy/XRuntime(12969): get com.baidu.BaiduMap/loadLibrary shell=false 07-03 21:05:00.832: D/dalvikvm(12969): Trying to load lib /data/app-lib/com.baidu.BaiduMap-1/libapp_BaiduMapApplib.so 0x413b27d8 07-03 21:05:00.832: D/dalvikvm(12969): Shared lib '/data/app-lib/com.baidu.BaiduMap-1/libapp_BaiduMapApplib.so' already loaded in same CL 0x413b27d8 07-03 21:05:00.842: I/XPrivacy/XTelephonyManager(12969): get com.baidu.BaiduMap/getDeviceId phone=true 07-03 21:05:00.842: I/XPrivacy(12969): get setting IMEI=0000000000000 07-03 21:05:00.842: E/BAIDUMAP(12969): INIT ENG:89 07-03 21:05:00.852: I/XPrivacy/XTelephonyManager(12969): get com.baidu.BaiduMap/getDeviceId phone=true 07-03 21:05:00.852: I/XPrivacy(12969): get setting IMEI=0000000000000 * 07-03 21:05:07.239: I/System.out(12969): <!DOCTYPE html>

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969): ???--??????????

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

????????

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

 ??????????

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

????????????????治????!


07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

    07-03 21:05:07.239: I/System.out(12969):

  1. 1. ?????????????????????

  2. 07-03 21:05:07.239: I/System.out(12969):

  3. 2. ?????????????????????????????????????????

  4. 07-03 21:05:07.239: I/System.out(12969):

  5. 3. ??????????????????
  6. 07-03 21:05:07.239: I/System.out(12969):

    07-03 21:05:07.239: I/System.out(12969):

  7. 07-03 21:05:07.239: I/System.out(12969): 4.?????κ??????飬?????!????????

    07-03 21:05:07.239: I/System.out(12969):


    07-03 21:05:07.239: I/System.out(12969): ???????????????????????????????????????????????????????hao123

    07-03 21:05:07.239: I/System.out(12969):

  8. ??

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969):

07-03 21:05:07.239: I/System.out(12969): 07-03 21:05:07.479: D/libEGL(12969): loaded /system/lib/egl/libEGL_adreno200.so 07-03 21:05:07.479: D/libEGL(12969): loaded /system/lib/egl/libGLESv1_CM_adreno200.so 07-03 21:05:07.479: D/libEGL(12969): loaded /system/lib/egl/libGLESv2_adreno200.so 07-03 21:05:07.479: I/Adreno200-EGL(12969): eglInitialize:269: EGL 1.4 QUALCOMM build: Nondeterministic AU_full_mako_PARTNER-ANDROID/JB-MR1-DEV_CL2961380_release_AU (CL2961380) 07-03 21:05:07.479: I/Adreno200-EGL(12969): Build Date: 12/10/12 Mon 07-03 21:05:07.479: I/Adreno200-EGL(12969): Local Branch: 07-03 21:05:07.479: I/Adreno200-EGL(12969): Remote Branch: m/partner-android/jb-mr1-dev 07-03 21:05:07.479: I/Adreno200-EGL(12969): Local Patches: NONE 07-03 21:05:07.479: I/Adreno200-EGL(12969): Reconstruct Branch: NOTHING 07-03 21:05:08.029: D/dalvikvm(12969): GC_CONCURRENT freed 1407K, 13% free 13432K/15288K, paused 9ms+3ms, total 55ms 07-03 21:05:08.140: W/Settings(12969): Setting always_finish_activities has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 07-03 21:05:08.150: W/Settings(12969): Setting wifi_on has moved from android.provider.Settings.Secure to android.provider.Settings.Global. 07-03 21:05:08.400: D/dalvikvm(12969): GC_FOR_ALLOC freed 1093K, 11% free 13715K/15296K, paused 34ms, total 34ms 07-03 21:05:08.400: D/OpenGLRenderer(12969): Enabling debug mode 0 07-03 21:05:08.490: E/Adreno200-ES11(12969): glFrustumf:510: GL_INVALID_VALUE 07-03 21:05:08.490: W/Adreno200-ES20(12969): glTexParameteriv:559: GL_INVALID_ENUM 07-03 21:05:08.490: W/Adreno200-ES20(12969): glTexParameteriv:559: GL_INVALID_ENUM 07-03 21:05:08.510: W/Adreno200-ES20(12969): glTexParameteriv:559: GL_INVALID_ENUM 07-03 21:05:08.520: W/Adreno200-ES20(12969): glTexParameteriv:559: GL_INVALID_ENUM 07-03 21:05:08.540: W/Adreno200-ES20(12969): glTexParameteriv:559: GL_INVALID_ENUM 07-03 21:05:09.030: D/dalvikvm(12969): GC_CONCURRENT freed 1233K, 11% free 14035K/15756K, paused 8ms+2ms, total 39ms 07-03 21:05:09.030: D/dalvikvm(12969): WAIT_FOR_CONCURRENT_GC blocked 12ms 07-03 21:05:09.401: D/dalvikvm(12969): GC_CONCURRENT freed 1358K, 12% free 14369K/16208K, paused 2ms+4ms, total 24ms 07-03 21:05:09.661: D/baidu_location_client(12969): baidu location connected ... 07-03 21:05:09.661: I/XPrivacy/XTelephonyManager(13024): get com.baidu.BaiduMap/getDeviceId phone=true 07-03 21:05:09.661: I/XPrivacy(13024): get setting IMEI=0000000000000 07-03 21:05:09.671: I/XPrivacy/XTelephonyManager(13024): get com.baidu.BaiduMap/getDeviceId phone=true 07-03 21:05:09.671: I/XPrivacy(13024): get setting IMEI=0000000000000 07-03 21:05:09.681: I/Choreographer(12969): Skipped 45 frames! The application may be doing too much work on its main thread. 07-03 21:05:09.691: I/XPrivacy/XLocationManager(13024): get com.baidu.BaiduMap/requestLocationUpdates location=false 11 ms 07-03 21:05:09.711: I/XPrivacy/XLocationManager(13024): get com.baidu.BaiduMap/addNmeaListener location=false 9 ms 07-03 21:05:09.721: I/XPrivacy/XRuntime(13024): get 10086/loadLibrary shell=false 07-03 21:05:09.721: D/dalvikvm(13024): Trying to load lib /data/app-lib/com.baidu.BaiduMap-1/liblocSDK3.so 0x413b70f0 07-03 21:05:09.731: D/dalvikvm(13024): Added shared lib /data/app-lib/com.baidu.BaiduMap-1/liblocSDK3.so 0x413b70f0 07-03 21:05:09.731: D/dalvikvm(13024): No JNI_OnLoad found in /data/app-lib/com.baidu.BaiduMap-1/liblocSDK3.so 0x413b70f0, skipping init 07-03 21:05:09.811: D/dalvikvm(12969): GC_CONCURRENT freed 1667K, 13% free 14477K/16632K, paused 1ms+3ms, total 27ms 07-03 21:05:09.891: I/XPrivacy/XWifiManager(13024): get com.baidu.BaiduMap/getScanResults network=false 5 ms 07-03 21:05:09.891: D/dalvikvm(13024): GC_CONCURRENT freed 296K, 9% free 9093K/9944K, paused 2ms+3ms, total 20ms 07-03 21:05:09.901: I/XPrivacy/XWifiManager(13024): get com.baidu.BaiduMap/getConnectionInfo network=false 5 ms 07-03 21:05:10.131: D/dalvikvm(12969): GC_CONCURRENT freed 1582K, 13% free 14752K/16812K, paused 2ms+3ms, total 27ms 07-03 21:05:10.312: I/XPrivacy/XWifiManager(13024): get com.baidu.BaiduMap/getScanResults network=false 07-03 21:05:10.382: I/XPrivacy/XWifiManager(13024): get com.baidu.BaiduMap/getConnectionInfo network=false 07-03 21:05:10.462: I/XPrivacy/XTelephonyManager(13024): get com.baidu.BaiduMap/getNeighboringCellInfo location=false 6 ms 07-03 21:05:11.703: I/XPrivacy/XWifiManager(13024): get com.baidu.BaiduMap/getScanResults network=false 07-03 21:05:11.713: I/XPrivacy/XTelephonyManager(13024): get com.baidu.BaiduMap/getCellLocation location=false 07-03 21:05:11.713: I/XPrivacy/XTelephonyManager(13024): get com.baidu.BaiduMap/getNetworkOperator phone=true 07-03 21:05:11.713: W/System.err(13024): java.lang.NumberFormatException: Invalid int: "DEF" 07-03 21:05:11.713: W/System.err(13024): at java.lang.Integer.invalidInt(Integer.java:138) 07-03 21:05:11.713: W/System.err(13024): at java.lang.Integer.parse(Integer.java:375) 07-03 21:05:11.713: W/System.err(13024): at java.lang.Integer.parseInt(Integer.java:366) 07-03 21:05:11.713: W/System.err(13024): at java.lang.Integer.parseInt(Integer.java:332) 07-03 21:05:11.713: W/System.err(13024): at java.lang.Integer.valueOf(Integer.java:490) 07-03 21:05:11.713: W/System.err(13024): at com.baidu.location.u.a(Unknown Source) 07-03 21:05:11.713: W/System.err(13024): at com.baidu.location.u.e(Unknown Source) 07-03 21:05:11.713: W/System.err(13024): at com.baidu.location.ad.a(Unknown Source) 07-03 21:05:11.713: W/System.err(13024): at com.baidu.location.ad.g(Unknown Source) 07-03 21:05:11.713: W/System.err(13024): at com.baidu.location.ad.d(Unknown Source) 07-03 21:05:11.713: W/System.err(13024): at com.baidu.location.f$a.handleMessage(Unknown Source) 07-03 21:05:11.713: W/System.err(13024): at android.os.Handler.dispatchMessage(Handler.java:99) 07-03 21:05:11.713: W/System.err(13024): at android.os.Looper.loop(Looper.java:137) 07-03 21:05:11.713: W/System.err(13024): at android.app.ActivityThread.main(ActivityThread.java:5041) 07-03 21:05:11.713: W/System.err(13024): at java.lang.reflect.Method.invokeNative(Native Method) 07-03 21:05:11.723: W/System.err(13024): at java.lang.reflect.Method.invoke(Method.java:511) 07-03 21:05:11.723: W/System.err(13024): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 07-03 21:05:11.723: W/System.err(13024): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 07-03 21:05:11.723: W/System.err(13024): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:110) 07-03 21:05:11.723: W/System.err(13024): at dalvik.system.NativeStart.main(Native Method)

The startup itself takes 10 seconds.

Here is another, though not quite laggy, where exceptions occurred.

app: https://play.google.com/store/apps/details?id=me.imid.fuubo The tag "X" refers to the user statistic SDK made by Umeng: http://dev.umeng.com/sdkdownload/sdkdownload_quickdownload.html

07-03 21:10:23.747: I/XPrivacy/XTelephonyManager(5642): get me.imid.fuubo/getDeviceId phone=true 8 ms 07-03 21:10:23.747: I/XPrivacy/XTelephonyManager(5642): get me.imid.fuubo/getDeviceId phone=true 15 ms 07-03 21:10:23.747: I/XPrivacy(5642): get setting IMEI=0000000000000 # 07-03 21:10:23.757: I/XPrivacy(5642): get setting IMEI=0000000000000 # 07-03 21:10:23.767: I/XPrivacy/XWifiManager(5642): Queue usage data=10116/network/getConnectionInfo size=1 07-03 21:10:23.777: I/XPrivacy/XWifiManager(5642): get 10116/getConnectionInfo network=true # 16 ms 07-03 21:10:23.777: I/XPrivacy(5642): get setting Mac=00:00:00:00:00:00 # 07-03 21:10:23.777: I/XPrivacy(5642): get setting Mac=00:00:00:00:00:00 07-03 21:10:23.777: D/dalvikvm(5642): wrong object type: Ljava/lang/String; Landroid/net/wifi/WifiSsid; 07-03 21:10:23.777: E/XPrivacy/XWifiManager(5642): java.lang.IllegalArgumentException: invalid value for field 07-03 21:10:23.777: W/System.err(5642): java.lang.IllegalArgumentException: invalid value for field 07-03 21:10:23.787: W/System.err(5642): at java.lang.reflect.Field.setField(Native Method) 07-03 21:10:23.787: W/System.err(5642): at java.lang.reflect.Field.set(Field.java:588) 07-03 21:10:23.787: W/System.err(5642): at biz.bokhorst.xprivacy.XWifiManager.after(XWifiManager.java:75) 07-03 21:10:23.787: W/System.err(5642): at biz.bokhorst.xprivacy.XPrivacy$1.afterHookedMethod(XPrivacy.java:309) 07-03 21:10:23.787: W/System.err(5642): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:467) 07-03 21:10:23.787: W/System.err(5642): at android.net.wifi.WifiManager.getConnectionInfo(Native Method) 07-03 21:10:23.787: W/System.err(5642): at X.k(Unknown Source) 07-03 21:10:23.787: W/System.err(5642): at P.g(Unknown Source) 07-03 21:10:23.787: W/System.err(5642): at P.a(Unknown Source) 07-03 21:10:23.787: W/System.err(5642): at R.run(Unknown Source) 07-03 21:10:23.787: W/System.err(5642): at android.os.Handler.handleCallback(Handler.java:725) 07-03 21:10:23.787: W/System.err(5642): at android.os.Handler.dispatchMessage(Handler.java:92) 07-03 21:10:23.787: W/System.err(5642): at android.os.Looper.loop(Looper.java:137) 07-03 21:10:23.787: W/System.err(5642): at android.os.HandlerThread.run(HandlerThread.java:60) 07-03 21:10:23.808: I/XPrivacy/XTelephonyManager(5642): Sending usage data=10116/network/getConnectionInfo size=0 07-03 21:10:23.818: I/XPrivacy/XTelephonyManager(5642): get me.imid.fuubo/getNetworkOperatorName phone=true 19 ms 07-03 21:10:23.838: I/XPrivacy/XLocationManager(5642): get me.imid.fuubo/getLastKnownLocation location=true 12 ms 07-03 21:10:23.838: I/XPrivacy(5642): get setting Latitude=0.0 # 07-03 21:10:23.848: I/XPrivacy(5642): get setting Longitude=0.0 # 07-03 21:10:23.848: I/X(5642): get location from network:2.3878195851470835E-5,1.280407431683388E-4 07-03 21:10:23.918: I/XPrivacy/XTelephonyManager(5642): get me.imid.fuubo/getDeviceId phone=true 07-03 21:10:23.918: I/XPrivacy(5642): get setting IMEI=0000000000000 07-03 21:10:23.918: I/XPrivacy/XWifiManager(5642): get 10116/getConnectionInfo network=true 07-03 21:10:23.918: I/XPrivacy(5642): get setting Mac=00:00:00:00:00:00 07-03 21:10:23.918: I/XPrivacy(5642): get setting Mac=00:00:00:00:00:00 07-03 21:10:23.918: D/dalvikvm(5642): wrong object type: Ljava/lang/String; Landroid/net/wifi/WifiSsid; 07-03 21:10:23.918: E/XPrivacy/XWifiManager(5642): java.lang.IllegalArgumentException: invalid value for field 07-03 21:10:23.918: W/System.err(5642): java.lang.IllegalArgumentException: invalid value for field 07-03 21:10:23.918: W/System.err(5642): at java.lang.reflect.Field.setField(Native Method) 07-03 21:10:23.918: W/System.err(5642): at java.lang.reflect.Field.set(Field.java:588) 07-03 21:10:23.918: W/System.err(5642): at biz.bokhorst.xprivacy.XWifiManager.after(XWifiManager.java:75) 07-03 21:10:23.918: W/System.err(5642): at biz.bokhorst.xprivacy.XPrivacy$1.afterHookedMethod(XPrivacy.java:309) 07-03 21:10:23.918: W/System.err(5642): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:467) 07-03 21:10:23.918: W/System.err(5642): at android.net.wifi.WifiManager.getConnectionInfo(Native Method) 07-03 21:10:23.918: W/System.err(5642): at X.k(Unknown Source) 07-03 21:10:23.918: W/System.err(5642): at P.g(Unknown Source) 07-03 21:10:23.918: W/System.err(5642): at P.a(Unknown Source) 07-03 21:10:23.918: W/System.err(5642): at R.run(Unknown Source) 07-03 21:10:23.918: W/System.err(5642): at android.os.Handler.handleCallback(Handler.java:725) 07-03 21:10:23.918: W/System.err(5642): at android.os.Handler.dispatchMessage(Handler.java:92) 07-03 21:10:23.928: W/System.err(5642): at android.os.Looper.loop(Looper.java:137) 07-03 21:10:23.928: W/System.err(5642): at android.os.HandlerThread.run(HandlerThread.java:60) 07-03 21:10:23.928: I/XPrivacy/XTelephonyManager(5642): get me.imid.fuubo/getNetworkOperatorName phone=true 07-03 21:10:23.938: I/XPrivacy/XTelephonyManager(5642): get me.imid.fuubo/getDeviceId phone=true 07-03 21:10:23.938: I/XPrivacy(5642): get setting IMEI=0000000000000 07-03 21:10:23.968: I/XPrivacy/XTelephonyManager(5642): get me.imid.fuubo/getDeviceId phone=true 07-03 21:10:23.968: I/XPrivacy(5642): get setting IMEI=0000000000000 *

M66B commented 11 years ago

`07-03 21:05:11.713: I/XPrivacy/XTelephonyManager(13024): get com.baidu.BaiduMap/getNetworkOperator phone=true * 07-03 21:05:11.713: W/System.err(13024): java.lang.NumberFormatException: Invalid int: "DEF" This is because getNetworkOperator should return a numeric value, I will fix this.

07-03 21:10:23.918: W/System.err(5642): java.lang.IllegalArgumentException: invalid value for field 07-03 21:10:23.918: W/System.err(5642): at java.lang.reflect.Field.setField(Native Method) 07-03 21:10:23.918: W/System.err(5642): at java.lang.reflect.Field.set(Field.java:588) 07-03 21:10:23.918: W/System.err(5642): at biz.bokhorst.xprivacy.XWifiManager.after(XWifiManager.java:75)

This is because WifiSsid is not a string like in Android 4.1. I will ix this too.

M66B commented 11 years ago

Thanks for your logcat, but as you can see it are not problems in the description, but bugs.

M66B commented 11 years ago

The two issues in the logcat will be fixed in the next release. Please report any other issue you find and I will try to fix it ASAP.