Google Play Services has stopped - Nexus 6 Q&A, Help & Troubleshooting

For some reason google play services keeps stopping. i have the app crash txt from /data/system/dropbox but i dont understand it. Can someone with the know how read it and see what they think?
Process: com.google.android.gms.ui
Flags: 0x-4737c1bb
Package: com.google.android.gms v8489438 (8.4.89 (2428711-438))
Build: google/shamu/shamu:6.0/MRA58R/2308909:user/release-keys
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.gms/com.google.android.gms.auth.uiflows.minutemaid.MinuteMaidActivity}: android.util.AndroidRuntimeException: java.lang.reflect.InvocationTargetException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: android.util.AndroidRuntimeException: java.lang.reflect.InvocationTargetException
at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:176)
at android.webkit.CookieManager.getInstance(CookieManager.java:39)
at com.google.android.gms.auth.uiflows.a.<init>(SourceFile:42)
at com.google.android.gms.auth.uiflows.addaccount.a.onCreate(SourceFile:55)
at com.google.android.gms.auth.uiflows.minutemaid.i.onCreate(SourceFile:184)
at android.support.v4.app.Fragment.performCreate(SourceFile:1939)
at android.support.v4.app.ag.a(SourceFile:988)
at android.support.v4.app.ag.a(SourceFile:1207)
at android.support.v4.app.j.run(SourceFile:738)
at android.support.v4.app.ag.i(SourceFile:1572)
at android.support.v4.app.ab.c(SourceFile:330)
at android.support.v4.app.w.onStart(SourceFile:511)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1237)
at android.app.Activity.performStart(Activity.java:6253)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
... 9 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance(Native Method)
at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:170)
... 23 more
Caused by: java.lang.RuntimeException: Cannot load WebView
at com.android.org.chromium.android_webview.AwBrowserProcess.loadLibrary(AwBrowserProcess.java:36)
at com.android.webview.chromium.WebViewChromiumFactoryProvider.initialize(WebViewChromiumFactoryProvider.java:135)
at com.android.webview.chromium.WebViewChromiumFactoryProvider.<init>(WebViewChromiumFactoryProvider.java:112)
... 25 more
Caused by: com.android.org.chromium.base.library_loader.ProcessInitException
at com.android.org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:226)
at com.android.org.chromium.base.library_loader.LibraryLoader.loadNow(LibraryLoader.java:129)
at com.android.org.chromium.base.library_loader.LibraryLoader.loadNow(LibraryLoader.java:110)
at com.android.org.chromium.android_webview.AwBrowserProcess.loadLibrary(AwBrowserProcess.java:34)
... 27 more
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libstlport.so" not found
at java.lang.Runtime.loadLibrary(Runtime.java:372)
at java.lang.System.loadLibrary(System.java:1076)
at com.android.org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:197)
... 30 more

Related

Problem changing resolution to 240dpi on VengeaneNote2 - RC Build 1.0 - MIUI 2.9.14

Hi
I'm posting this question here because I'm not allowed to post to the development thread (yet)
I installed the last version of VengeaneNote2 (RC Build 1.0 - MIUI 2.9.14) but after I changed the screen resolution to 240dpi, I started getting this exception when opening the dialer:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts/com.android.contacts.activities.TwelveKeyDialer}: android.view.InflateException: Binary XML file line #174: Error inflating class <unknown>
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2070)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2095)
at android.app.ActivityThread.access$600(ActivityThread.java:133)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1198)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4758)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #174: Error inflating class <unknown>
at android.view.LayoutInflater.createView(LayoutInflater.java:613)
at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:258)
at android.app.Activity.setContentView(Activity.java:1873)
at com.android.contacts.activities.TwelveKeyDialer.onCreate(TwelveKeyDialer.java:528)
at android.app.Activity.performCreate(Activity.java:5014)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2034)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
... 26 more
Caused by: android.content.res.Resources$NotFoundException: File res/drawable-hdpi/dialer_buttons.9.png from drawable resource ID #0x7f020046
at android.content.res.Resources.loadDrawable(Resources.java:1944)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.view.View.<init>(View.java:3339)
at android.view.View.<init>(View.java:3275)
... 29 more
Caused by: java.io.FileNotFoundException: res/drawable-hdpi/dialer_buttons.9.png
at android.content.res.AssetManager.openNonAssetNative(Native Method)
at android.content.res.AssetManager.openNonAsset(AssetManager.java:413)
at android.content.res.Resources.loadDrawable(Resources.java:1936)
... 32 more
I did it many times (full wipe and format /system between each), but still having the same problem.
This only new in this version. I was able to switch to 240dpi in all previous versions without problem.
Any help on this?
Thanks
update
yelkarama said:
Hi
I'm posting this question here because I'm not allowed to post to the development thread (yet)
I installed the last version of VengeaneNote2 (RC Build 1.0 - MIUI 2.9.14) but after I changed the screen resolution to 240dpi, I started getting this exception when opening the dialer:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts/com.android.contacts.activities.TwelveKeyDialer}: android.view.InflateException: Binary XML file line #174: Error inflating class <unknown>
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2070)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2095)
at android.app.ActivityThread.access$600(ActivityThread.java:133)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1198)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4758)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #174: Error inflating class <unknown>
at android.view.LayoutInflater.createView(LayoutInflater.java:613)
at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:258)
at android.app.Activity.setContentView(Activity.java:1873)
at com.android.contacts.activities.TwelveKeyDialer.onCreate(TwelveKeyDialer.java:528)
at android.app.Activity.performCreate(Activity.java:5014)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2034)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
... 26 more
Caused by: android.content.res.Resources$NotFoundException: File res/drawable-hdpi/dialer_buttons.9.png from drawable resource ID #0x7f020046
at android.content.res.Resources.loadDrawable(Resources.java:1944)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.view.View.<init>(View.java:3339)
at android.view.View.<init>(View.java:3275)
... 29 more
Caused by: java.io.FileNotFoundException: res/drawable-hdpi/dialer_buttons.9.png
at android.content.res.AssetManager.openNonAssetNative(Native Method)
at android.content.res.AssetManager.openNonAsset(AssetManager.java:413)
at android.content.res.Resources.loadDrawable(Resources.java:1936)
... 32 more
I did it many times (full wipe and format /system between each), but still having the same problem.
This only new in this version. I was able to switch to 240dpi in all previous versions without problem.
Any help on this?
Thanks
Click to expand...
Click to collapse
I changed the dpi to 280 and it's working!
update 2
yelkarama said:
Hi
I'm posting this question here because I'm not allowed to post to the development thread (yet)
I installed the last version of VengeaneNote2 (RC Build 1.0 - MIUI 2.9.14) but after I changed the screen resolution to 240dpi, I started getting this exception when opening the dialer:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts/com.android.contacts.activities.TwelveKeyDialer}: android.view.InflateException: Binary XML file line #174: Error inflating class <unknown>
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2070)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2095)
at android.app.ActivityThread.access$600(ActivityThread.java:133)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1198)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4758)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #174: Error inflating class <unknown>
at android.view.LayoutInflater.createView(LayoutInflater.java:613)
at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:258)
at android.app.Activity.setContentView(Activity.java:1873)
at com.android.contacts.activities.TwelveKeyDialer.onCreate(TwelveKeyDialer.java:528)
at android.app.Activity.performCreate(Activity.java:5014)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2034)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
... 26 more
Caused by: android.content.res.Resources$NotFoundException: File res/drawable-hdpi/dialer_buttons.9.png from drawable resource ID #0x7f020046
at android.content.res.Resources.loadDrawable(Resources.java:1944)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.view.View.<init>(View.java:3339)
at android.view.View.<init>(View.java:3275)
... 29 more
Caused by: java.io.FileNotFoundException: res/drawable-hdpi/dialer_buttons.9.png
at android.content.res.AssetManager.openNonAssetNative(Native Method)
at android.content.res.AssetManager.openNonAsset(AssetManager.java:413)
at android.content.res.Resources.loadDrawable(Resources.java:1936)
... 32 more
I did it many times (full wipe and format /system between each), but still having the same problem.
This only new in this version. I was able to switch to 240dpi in all previous versions without problem.
Any help on this?
Thanks
Click to expand...
Click to collapse
So I tried many resolutions. Each time I modify the line ro.sf.lcd_density= in /system/build.prop and I reboot.
Conclusion: The phone dialer works correctly for resolution more than 270. if I go beyondm it start FCing with the excption above.

[Q] Face unlock closing

Always when i try to set up face unlock, it will crash. This i got from logcat:2014-01-09 19:11:35.644 E 8919/AndroidRuntime: FATAL EXCEPTION: main
java.lang.ExceptionInInitializerError
at com.android.facelock.SetupFaceLock$SetupFaceLockFragment.onCreateView(SetupFaceLock.java:280)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:829)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1035)
at android.app.BackStackRecord.run(BackStackRecord.java:635)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1399)
at android.app.Activity.performStart(Activity.java:5056)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2054)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2106)
at android.app.ActivityThread.access$700(ActivityThread.java:134)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1217)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4856)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:126)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load facelock_jni: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:365)
at java.lang.System.loadLibrary(System.java:535)
at com.android.facelock.FaceLockUtil.<clinit>(FaceLockUtil.java:287)
... 19 more
Any way to fix it? Im running Pure vanilla rom and cocore kernel.
Wait...
It says that findlibrary returned null; maybe i have to get a library for it?

When Starting My Application I Get Runtime Errors

Errors
I wanted to start my Application but i got this error code(s):
08-25 14:33:37.861 8987-8987/com.example.max.mediaplayermitlistview E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.max.mediaplayermitlistview, PID: 8987
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.max.mediaplayermitlistview/com.example.max.mediaplayermitlistview.Player}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2328)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2386)
at android.app.ActivityThread.access$900(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5476)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.example.max.mediaplayermitlistview.Player.onCreate(Player.java:77)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
************at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2386)
************at android.app.ActivityThread.access$900(ActivityThread.java:169)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
************at android.os.Handler.dispatchMessage(Handler.java:102)
************at android.os.Looper.loop(Looper.java:136)
************at android.app.ActivityThread.main(ActivityThread.java:5476)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:515)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
************at dalvik.system.NativeStart.main(Native Method)
Can you explain me what this error code means (where in the application the error is)?
Andorid Studio Version?
deviceChecker said:
I wanted to start my Application but i got this error code(s):
08-25 14:33:37.861 8987-8987/com.example.max.mediaplayermitlistview E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.max.mediaplayermitlistview, PID: 8987
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.max.mediaplayermitlistview/com.example.max.mediaplayermitlistview.Player}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2328)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2386)
at android.app.ActivityThread.access$900(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5476)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.example.max.mediaplayermitlistview.Player.onCreate(Player.java:77)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
************at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2386)
************at android.app.ActivityThread.access$900(ActivityThread.java:169)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
************at android.os.Handler.dispatchMessage(Handler.java:102)
************at android.os.Looper.loop(Looper.java:136)
************at android.app.ActivityThread.main(ActivityThread.java:5476)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:515)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
************at dalvik.system.NativeStart.main(Native Method)
Can you explain me what this error code means (where in the application the error is)?
Click to expand...
Click to collapse
thi is Android Studio Version???
h3r102 said:
thi is Android Studio Version???
Click to expand...
Click to collapse
I have the Android Studio Version 1.3.1 Build #AI-141.135290, built on August 3,2015
"Caused by: java.lang.NullPointerException
at com.example.max.mediaplayermitlistview.Player.onCr eate(Player.java:77)"
Looks like in your Player class, on line 77, you're referencing something that doesn't exist yet. Like maybe you're inflating a layout that hasn't been defined in the xml file. Maybe something like that.
FATAL EXCEPTION: main
Process: com.example.max.mediaplayermitlistview, PID: 8987
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.max.mediaplayermitlistview/com.example.max.mediaplayermitlistview.Player}: java.lang.NullPointerException
( at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2328)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2386)
at android.app.ActivityThread.access-$900(ActivityThread.java:169)
at android.app.ActivityThread-$H.handleMessage(ActivityThread.java:1277)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5476)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283 : Init:Method.Java:525)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099 return Method:515)
at dalvik.system.NativeStart.main(Native Method));
Caused by: java.lang.NullPointerException
( at com.example.max.mediaplayermitlistview.Player.onCreate(Player.java:77)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
/*at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2386)
************at android.app.ActivityThread.access$900(ActivityThread.java:169)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
************at android.os.Handler.dispatchMessage(Handler.java:102)
************at android.os.Looper.loop(Looper.java:136)
************at android.app.ActivityThread.main(ActivityThread.java:5476)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:515)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
************at dalvik.system.NativeStart.main(Native Method) (NOT REQUIRED) */

Disable Xposed (or its attachment) for certain apps

Hi all,
I have been using Xposed (v58/54) on my Android 4.4.4 device and I'm really satisfied with it.
I have one question that can make me even more happier.
My cable provider ships with an app that allows you to watch live tv on your phone, but Xposed seems to interfere with it, or make it trigger some kind of protection.
The app tries to read some class and because Xposed is installed, it's stumbling upon the XposedBridge and it crashes. I think the logcat output will help you understand:
Code:
05-04 11:03:36.104 W/System.err(10411): java.lang.ClassNotFoundException: de.robv.android.xposed.XposedBridge
05-04 11:03:36.104 W/System.err(10411): at java.lang.Class.classForName(Native Method)
05-04 11:03:36.104 W/System.err(10411): at java.lang.Class.forName(Class.java:251)
05-04 11:03:36.104 W/System.err(10411): at java.lang.Class.forName(Class.java:216)
05-04 11:03:36.104 W/System.err(10411): at com.ir.app.common.IOUtils.getBytesFromObject(SourceFile:53)
05-04 11:03:36.104 W/System.err(10411): at com.ir.app.CryptoManager.getClassBytes(SourceFile:32)
05-04 11:03:36.104 W/System.err(10411): at com.irdeto.media.d.a(Native Method)
05-04 11:03:36.104 W/System.err(10411): at com.irdeto.media.d.a(Unknown Source)
05-04 11:03:36.104 W/System.err(10411): at com.irdeto.media.ActiveCloakMediaPlayer.open(Unknown Source)
05-04 11:03:36.104 W/System.err(10411): at com.irdeto.media.ActiveCloakMediaPlayer.open(Unknown Source)
05-04 11:03:36.104 W/System.err(10411): at com.irdeto.media.ActiveCloakMediaPlayer.open(Unknown Source)
05-04 11:03:36.104 W/System.err(10411): at com.irdeto.activecloak.MediaPlayer.open(SourceFile:96)
05-04 11:03:36.104 W/System.err(10411): at com.irdeto.activecloak.IrdetoPlayer.a(SourceFile:467)
05-04 11:03:36.104 W/System.err(10411): at com.irdeto.activecloak.IrdetoPlayer.initPlayback(SourceFile:193)
05-04 11:03:36.104 W/System.err(10411): at com.lgi.orionandroid.ui.player.playerpresenter.OrionPlayerPresenter.startPlayback(SourceFile:115)
05-04 11:03:36.104 W/System.err(10411): at com.lgi.orionandroid.ui.player.playerpresenter.OrionPlayerPresenter.initPlayback(SourceFile:101)
05-04 11:03:36.104 W/System.err(10411): at cii.onSuccess(SourceFile:95)
05-04 11:03:36.104 W/System.err(10411): at cho.run(SourceFile:135)
05-04 11:03:36.104 W/System.err(10411): at android.os.Handler.handleCallback(Handler.java:733)
05-04 11:03:36.104 W/System.err(10411): at android.os.Handler.dispatchMessage(Handler.java:95)
05-04 11:03:36.104 W/System.err(10411): at android.os.Looper.loop(Looper.java:136)
05-04 11:03:36.104 W/System.err(10411): at android.app.ActivityThread.main(ActivityThread.java:5001)
05-04 11:03:36.104 W/System.err(10411): at java.lang.reflect.Method.invokeNative(Native Method)
05-04 11:03:36.104 W/System.err(10411): at java.lang.reflect.Method.invoke(Method.java:515)
05-04 11:03:36.104 W/System.err(10411): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
05-04 11:03:36.104 W/System.err(10411): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
05-04 11:03:36.104 W/System.err(10411): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
05-04 11:03:36.104 W/System.err(10411): at dalvik.system.NativeStart.main(Native Method)
05-04 11:03:36.104 W/System.err(10411): Caused by: java.lang.NoClassDefFoundError: de/robv/android/xposed/XposedBridge
05-04 11:03:36.104 W/System.err(10411): ... 27 more
05-04 11:03:36.114 W/System.err(10411): Caused by: java.lang.ClassNotFoundException: Didn't find class "de.robv.android.xposed.XposedBridge" on path: DexPathList[[zip file "/data/app/com.lgi.orionandroid-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.lgi.orionandroid-2, /vendor/lib, /system/lib]]
05-04 11:03:36.114 W/System.err(10411): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
05-04 11:03:36.114 W/System.err(10411): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
05-04 11:03:36.114 W/System.err(10411): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
05-04 11:03:36.114 W/System.err(10411): ... 27 more
If I disable Xposed, the app works again. But it's not very convenient to disable Xposed and reboot only if I watch some tv.
So my question is: Is it possible to disable Xposed, or its attachment, for certain apps or processes?
I understand if it's too low level to selectively enable/disable the framework; then I'll just have to live with it.
I tried decompiling the app, but dex2jar and/or JD can't handle it. Perhaps the culprit is even in a native library.
Thanks in advance!
I second this question as I've been trying to get this app working on my rooted device for a while.
While old versions of the app wouldn't even start at all because of them checking for root ("which su" command) on startup, I suspect the issue now lies with detection of Xposed module(s). See the line from dev_freak's logcat:
Code:
05-30 16:00:12.267 8899 8899 W System.err: java.lang.ClassNotFoundException: de.robv.android.xposed.XposedBridge
I see that error in my log as well (the app starts and works fine, until I start a stream to watch, and I get a message "Sorry, the video cannot be played at this time. (4101)").
So, I naturally tried the IrdetoFix Xposed module that supposedly could counter the issue. But while the XposedBridge.jar error indeed disappears, the app crashes on startup:
Code:
06-15 13:51:14.727 I/ActivityManager( 1251): Start proc 9764:com.lgi.orionandroid/u0a288 for activity com.lgi.orionandroid/.ui.LaunchActivity
06-15 13:51:14.840 W/ResourceType( 1251): Found multiple library tables, ignoring...
06-15 13:51:14.864 W/ResourceType( 9764): Found multiple library tables, ignoring...
06-15 13:51:14.873 D/IrdetoFix( 9764): Set dexPath to /data/data/de.robv.android.xposed.installer/bin/XposedBridge.jar:/data/app/com.lgi.orionandroid-1/base.apk
06-15 13:51:14.936 W/XPrivacy( 9764): Hooking package=com.lgi.orionandroid
06-15 13:51:14.984 W/ResourceType( 9764): Found multiple library tables, ignoring...
06-15 13:51:15.076 D/AndroidRuntime( 9764): Shutting down VM
06-15 13:51:15.078 E/AndroidRuntime( 9764): FATAL EXCEPTION: main
06-15 13:51:15.078 E/AndroidRuntime( 9764): Process: com.lgi.orionandroid, PID: 9764
06-15 13:51:15.078 E/AndroidRuntime( 9764): java.lang.UnsatisfiedLinkError: XPrivacy
06-15 13:51:15.078 E/AndroidRuntime( 9764): at biz.bokhorst.xprivacy.XRuntime.a(SourceFile:81)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at biz.bokhorst.xprivacy.XPrivacy$XMethodHook.beforeHookedMethod(SourceFile:628)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:693)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at java.lang.Runtime.loadLibrary(<Xposed>)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at java.lang.System.loadLibrary(System.java:988)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at com.crashlytics.android.ndk.JniNativeApi.<clinit>(SourceFile:13)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at com.crashlytics.android.ndk.CrashlyticsNdk.<init>(SourceFile:33)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at com.lgi.orionandroid.CrashSender.init(SourceFile:20)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at com.lgi.orionandroid.CustomApplication.onCreate(SourceFile:71)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at com.lgi.orionandroid.CustomApplication.getSystemService(SourceFile:40)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at android.content.ContentProvider.attachInfo(ContentProvider.java:1718)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at android.content.ContentProvider.attachInfo(ContentProvider.java:1705)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at android.app.ActivityThread.installProvider(ActivityThread.java:5134)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4702)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4642)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:713)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at android.app.ActivityThread.handleBindApplication(<Xposed>)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at android.os.Handler.dispatchMessage(Handler.java:102)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at android.os.Looper.loop(Looper.java:211)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at android.app.ActivityThread.main(ActivityThread.java:5389)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at java.lang.reflect.Method.invoke(Native Method)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at java.lang.reflect.Method.invoke(Method.java:372)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
06-15 13:51:15.078 E/AndroidRuntime( 9764): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:119)
Note however that this could also be because of any Xposed *module* (i.e. Xprivacy was mentioned) rather than Xposed itself.
While I don't know what that IrdetoFix module does exactly, I suspect it intercepts file requests to XposedBridge.jar? According to this, the XposedBridge.jar should be located at /data/data/de.robv.android.xposed.installer/bin/XposedBridge.jar. However, in my case (XposedInstaller 3.0_alpha4, on Android 5.1.1), the /data/data/de.robv.android.xposed.installer/bin/ dir was empty?
With the IrdetoFix module disabled, when I copied /system/framework/XposedBridge.jar to /data/data/de.robv.android.xposed.installer/bin/XposedBridge.jar, the error disappeared (I think the check passed), but instead I got:
Code:
06-15 13:22:38.948 D/AndroidRuntime(26631): Shutting down VM
06-15 13:22:38.949 E/AndroidRuntime(26631): FATAL EXCEPTION: main
06-15 13:22:38.949 E/AndroidRuntime(26631): Process: com.lgi.orionandroid, PID: 26631
06-15 13:22:38.949 E/AndroidRuntime(26631): java.lang.UnsatisfiedLinkError: XPrivacy
06-15 13:22:38.949 E/AndroidRuntime(26631): at biz.bokhorst.xprivacy.XRuntime.a(SourceFile:81)
06-15 13:22:38.949 E/AndroidRuntime(26631): at biz.bokhorst.xprivacy.XPrivacy$XMethodHook.beforeHookedMethod(SourceFile:628)
06-15 13:22:38.949 E/AndroidRuntime(26631): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:693)
06-15 13:22:38.949 E/AndroidRuntime(26631): at java.lang.Runtime.loadLibrary(<Xposed>)
06-15 13:22:38.949 E/AndroidRuntime(26631): at java.lang.System.loadLibrary(System.java:988)
06-15 13:22:38.949 E/AndroidRuntime(26631): at com.crashlytics.android.ndk.JniNativeApi.<clinit>(SourceFile:13)
06-15 13:22:38.949 E/AndroidRuntime(26631): at com.crashlytics.android.ndk.CrashlyticsNdk.<init>(SourceFile:33)
06-15 13:22:38.949 E/AndroidRuntime(26631): at com.lgi.orionandroid.CrashSender.init(SourceFile:20)
06-15 13:22:38.949 E/AndroidRuntime(26631): at com.lgi.orionandroid.CustomApplication.onCreate(SourceFile:71)
06-15 13:22:38.949 E/AndroidRuntime(26631): at com.lgi.orionandroid.CustomApplication.getSystemService(SourceFile:40)
06-15 13:22:38.949 E/AndroidRuntime(26631): at android.content.ContentProvider.attachInfo(ContentProvider.java:1718)
06-15 13:22:38.949 E/AndroidRuntime(26631): at android.content.ContentProvider.attachInfo(ContentProvider.java:1705)
06-15 13:22:38.949 E/AndroidRuntime(26631): at android.app.ActivityThread.installProvider(ActivityThread.java:5134)
06-15 13:22:38.949 E/AndroidRuntime(26631): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4702)
06-15 13:22:38.949 E/AndroidRuntime(26631): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4642)
06-15 13:22:38.949 E/AndroidRuntime(26631): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
06-15 13:22:38.949 E/AndroidRuntime(26631): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:713)
06-15 13:22:38.949 E/AndroidRuntime(26631): at android.app.ActivityThread.handleBindApplication(<Xposed>)
06-15 13:22:38.949 E/AndroidRuntime(26631): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
06-15 13:22:38.949 E/AndroidRuntime(26631): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
06-15 13:22:38.949 E/AndroidRuntime(26631): at android.os.Handler.dispatchMessage(Handler.java:102)
06-15 13:22:38.949 E/AndroidRuntime(26631): at android.os.Looper.loop(Looper.java:211)
06-15 13:22:38.949 E/AndroidRuntime(26631): at android.app.ActivityThread.main(ActivityThread.java:5389)
06-15 13:22:38.949 E/AndroidRuntime(26631): at java.lang.reflect.Method.invoke(Native Method)
06-15 13:22:38.949 E/AndroidRuntime(26631): at java.lang.reflect.Method.invoke(Method.java:372)
06-15 13:22:38.949 E/AndroidRuntime(26631): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
06-15 13:22:38.949 E/AndroidRuntime(26631): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
06-15 13:22:38.949 E/AndroidRuntime(26631): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:119)
So, could either Xposed be outfitted with a dummy XposedBridge, or could the IrdetoFix module perhaps be updated, if at all possible?
bouvrie said:
I second this question as I've been trying to get this app working on my rooted device for a while.
While old versions of the app wouldn't even start at all because of them checking for root ("which su" command) on startup, I suspect the issue now lies with detection of Xposed module(s). See the line from dev_freak's logcat:
Code:
05-30 16:00:12.267 8899 8899 W System.err: java.lang.ClassNotFoundException: de.robv.android.xposed.XposedBridge
I see that error in my log as well (the app starts and works fine, until I start a stream to watch, and I get a message "Sorry, the video cannot be played at this time. (4101)").
So, I naturally tried the IrdetoFix Xposed module that supposedly could counter the issue. But while the XposedBridge.jar error indeed disappears, the app crashes on startup
While I don't know what that IrdetoFix module does exactly, I suspect it intercepts file requests to XposedBridge.jar? According to this, the XposedBridge.jar should be located at /data/data/de.robv.android.xposed.installer/bin/XposedBridge.jar. However, in my case (XposedInstaller 3.0_alpha4, on Android 5.1.1), the /data/data/de.robv.android.xposed.installer/bin/ dir was empty?
With the IrdetoFix module disabled, when I copied /system/framework/XposedBridge.jar to /data/data/de.robv.android.xposed.installer/bin/XposedBridge.jar, the error disappeared (I think the check passed)
Click to expand...
Click to collapse
I have tried copying XposedBridge as well, but I ran into the problem that /data/ did not appear to have any folders inside of it(maybe hidden?), and I could not create one because I didn't have permission. How would I be able to do this ?
Also, did you say that the app worked completely since the check succeeded?
inasm said:
I have tried copying XposedBridge as well, but I ran into the problem that /data/ did not appear to have any folders inside of it(maybe hidden?), and I could not create one because I didn't have permission. How would I be able to do this ?
Click to expand...
Click to collapse
You'll need to mount the /data as RW, you'll probably need a root explorer for that (I use ES File Explorer's Root Explorer feature). Be careful though, as doing something wrong in that 'hidden,read-only system' part of the filesystem could make Android not want to boot again.
inasm said:
Also, did you say that the app worked completely since the check succeeded?
Click to expand...
Click to collapse
Nope, the app doesn't work completely. Logging in & browsing channels would work, but whenever I'd want to start an actual videostream, it wouldn't do that.
Contact @rovo89 since it is his module.
What is the latest on this issue? This has been killing me for months now.
hi guys,
I'm equally annoyed by the fact I must disable xposed each time I want to watch tv and btw why isn't there a disable/enable switch in xposed_installer? or is there?
Anyway, I decided to have a look at the old IrdetoFix module and thought maybe a patch would help. Since XposedBridge.jar is now located in /system/framework, I changed line 24 in the source to:
Code:
dexPath = "/system/framework/XposedBridge.jar:" + dexPath;
and I linked the module with a newer api lib file api-53.jar
I'm testing this with Android 5.1 and Horizon Go app. Unfortunately still getting 4101 errors. Logcat gives this:
Code:
W/System.err(12688): java.lang.ClassNotFoundException: de.robv.android.xposed.XposedBridge
W/System.err(12688): at java.lang.Class.classForName(Native Method)
W/System.err(12688): at java.lang.Class.forName(Class.java:309)
W/System.err(12688): at java.lang.Class.forName(Class.java:273)
W/System.err(12688): at com.ir.app.common.IOUtils.getBytesFromObject(SourceFile:53)
W/System.err(12688): at com.ir.app.CryptoManager.getClassBytes(SourceFile:32)
W/System.err(12688): at com.irdeto.media.d.a(Native Method)
W/System.err(12688): at com.irdeto.media.d.a(Unknown Source)
W/System.err(12688): at com.irdeto.media.ActiveCloakMediaPlayer.open(Unknown Source)
W/System.err(12688): at com.irdeto.media.ActiveCloakMediaPlayer.open(Unknown Source)
W/System.err(12688): at com.irdeto.media.ActiveCloakMediaPlayer.open(Unknown Source)
W/System.err(12688): at com.irdeto.activecloak.MediaPlayer.open(SourceFile:96)
W/System.err(12688): at com.irdeto.activecloak.IrdetoPlayer.a(SourceFile:582)
W/System.err(12688): at com.irdeto.activecloak.IrdetoPlayer.initPlayback(SourceFile:208)
W/System.err(12688): at com.lgi.orionandroid.ui.player.playerpresenter.OrionPlayerPresenter.startPlayback(SourceFile:108)
W/System.err(12688): at com.lgi.orionandroid.ui.player.playerpresenter.OrionPlayerPresenter.initPlayback(SourceFile:94)
W/System.err(12688): at com.lgi.orionandroid.ui.player.playerpresenter.AbstractPlayerPresenter.continueWithPlaybackContent(SourceFile:125)
W/System.err(12688): at cxd.success(SourceFile:1048)
W/System.err(12688): at cwe.run(SourceFile:61)
W/System.err(12688): at android.os.Handler.handleCallback(Handler.java:815)
W/System.err(12688): at android.os.Handler.dispatchMessage(Handler.java:104)
W/System.err(12688): at android.os.Looper.loop(Looper.java:194)
W/System.err(12688): at android.app.ActivityThread.main(ActivityThread.java:5637)
W/System.err(12688): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(12688): at java.lang.reflect.Method.invoke(Method.java:372)
W/System.err(12688): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
W/System.err(12688): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
W/System.err(12688): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
W/System.err(12688): Caused by: java.lang.ClassNotFoundException: Didn't find class "de.robv.android.xposed.XposedBridge" on path: DexPathList[[zip file "/data/app/com.lgi.orionandroid-1/base.apk"],nativeLibraryDirectories=[/data/app/com.lg
i.orionandroid-1/lib/arm, /vendor/lib, /system/lib]]
W/System.err(12688): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
W/System.err(12688): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
W/System.err(12688): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
W/System.err(12688): ... 27 more
W/System.err(12688): Suppressed: java.lang.ClassNotFoundException: de.robv.android.xposed.XposedBridge
W/System.err(12688): at java.lang.Class.classForName(Native Method)
W/System.err(12688): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
W/System.err(12688): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
W/System.err(12688): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
W/System.err(12688): ... 28 more
W/System.err(12688): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
Very similar to logcats above. Copying XposedBridge.jar to /vendor/lib didn't help. I am afraid I am out of further time and options.
/JockyW

[DISCUSSION] ultimate Root Checking methods

Hi everyone!
We have come across an interesting problem, that renders lost all our labours with such apps as rootCloak, hideRoot (along with personal efforts and accessory methods) and makes us exposed to systems.
We created a small app, called it ultimateRootChecker (links will in the end of post). It uses multiple methods for root check, the most interesting of them (granted Xposed is present) being the analysis of Log.getStackTraceString for XposedBridge string, that would be present everywhere where there is Xposed or Cydia.
Code:
private boolean additionSystemRootFramework() {
try {
Runtime.getRuntime().exec("su");
} catch (Exception ignored) {}
String stackTrace = Log.getStackTraceString(new Throwable());
return stackTrace.contains("xposed") || stackTrace.contains("hook") || stackTrace.contains("substrate");
}
As experience has shown, anyone can access this log. Fabric(Crashlytics), for instance, sends this data back to themselves for processing and analysis. The same practice is adopted by a couple of mobile ad networks, and I think they do it for their antiFraud machines. Yes, it is possible to search for these classes during every assembling or change of the app and replace it with Xposed, but maybe you have better and more elegant solutions for hook this?
In the meantime, feel free to test our app on your devices and share means of traversal of our verification.
If you have any other methods of verification, your pull-requests would be appreciated.
LINKS:
Code:
https://github.com/imbawtf/ultimateRootChecker
https://play.google.com/store/apps/details?id=wtf.imba.ultimaterootchecker
Code:
--------- beginning of crash
E/AndroidRuntime( 5988): FATAL EXCEPTION: main
E/AndroidRuntime( 5988): Process: wtf.imba.hulumulu.hulumulu, PID: 5988
E/AndroidRuntime( 5988): java.lang.IllegalStateException: Could not execute method for android:onClick
E/AndroidRuntime( 5988): at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
E/AndroidRuntime( 5988): at android.view.View.performClick(View.java:4780)
E/AndroidRuntime( 5988): at android.view.View$PerformClick.run(View.java:19866)
E/AndroidRuntime( 5988): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 5988): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 5988): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 5988): at android.app.ActivityThread.main(ActivityThread.java:5254)
E/AndroidRuntime( 5988): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 5988): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 5988): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/AndroidRuntime( 5988): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
E/AndroidRuntime( 5988): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
E/AndroidRuntime( 5988): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 5988): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 5988): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 5988): at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)
E/AndroidRuntime( 5988): ... 11 more
E/AndroidRuntime( 5988): Caused by: java.lang.NullPointerException: This is a crash
E/AndroidRuntime( 5988): at wtf.imba.hulumulu.hulumulu.MainActivity.forceCrash(MainActivity.java:46)
E/AndroidRuntime( 5988): ... 14 more
W/ActivityManager( 871): Force finishing activity 1 wtf.imba.hulumulu.hulumulu/.MainActivity
W/ActivityManager( 871): Activity pause timeout for ActivityRecord{a4d6525 u0 wtf.imba.hulumulu.hulumulu/.MainActivity t1164 f}
Maybe some one know how hook AndroidRuntime and Log.getStackTraceString?
Solved through xposed hooks
//closed

Categories

Resources