[OnePlus 5 Themes, Apps, and Mods] tk-germany:
Cameram force closes on op5t stock rooted

Hi together

I am on stock 5.1.5 rooted on my 5t. No updates to camera installed.

Activated magisk modules: cameram, gcam, gcam-libfix.

When I try to open cameram it instantly force closes. Already tried to disable stock cam and the other modules as well as clearing camera-cache and storage, it still force closes. As I have not found any bug-report from someone else: has anybody an idea why I am facing this???

Got an exception from debugging-logs, maybe this helps:

2018-11-03 00:13:16 system_app_crash (text, 4023 bytes)
Process: com.oneplus.camera
PID: 13606
Flags: 0x38d83e45
Package: com.oneplus.camera v20420460 (2.5.36)
Foreground: Yes
Build: OnePlus/OnePlus5/OnePlus5:8.1.0/OPM1.171019.011/1808081927:user/release-keys

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.oneplus.camera/com.oneplus.camera.OPCameraActivity}: android.content.res.Resources$NotFoundException: Drawable com.oneplus.camera:drawable/abc_tint_switch_track with resource ID #0x7f060058
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2911)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2989)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1688)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6753)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:482)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: android.content.res.Resources$NotFoundException: Drawable com.oneplus.camera:drawable/abc_tint_switch_track with resource ID #0x7f060058
Caused by: android.content.res.Resources$NotFoundException: File res/drawable/abc_tint_switch_track.xml from drawable resource ID #0x7f060058
at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:820)
at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:630)
at android.content.res.Resources.getDrawableForDensity(Resources.java:877)
at android.content.res.Resources.getDrawable(Resources.java:819)
at android.content.Context.getDrawable(Context.java:606)
at com.android.internal.widget.ToolbarWidgetWrapper.setIcon(ToolbarWidgetWrapper.java:322)
at com.android.internal.widget.ActionBarOverlayLayout.setIcon(ActionBarOverlayLayout.java:742)
at com.android.internal.policy.PhoneWindow.setDefaultIcon(PhoneWindow.java:1776)
at android.app.Activity.initWindowDecorActionBar(Activity.java:2682)
at android.app.Activity.setContentView(Activity.java:2717)
at com.oneplus.base.BaseActivity.setContentView(BaseActivity.java:1041)
at com.oneplus.camera.CameraActivity.setContentView(CameraActivity.java:6242)
at com.oneplus.camera.CameraActivity.setContentView(CameraActivity.java:6233)
at com.oneplus.camera.OPCameraActivity.onCreate(OPCameraActivity.java:536)
at android.app.Activity.performCreate(Activity.java:7041)
at android.app.Activity.performCreate(Activity.java:7032)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1231)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2864)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2989)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1688)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6753)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:482)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #4: <item> tag requires a 'drawable' attribute or child tag defining a drawable
at android.graphics.drawable.StateListDrawable.inflateChildElements(StateListDrawable.java:189)
at android.graphics.drawable.StateListDrawable.inflate(StateListDrawable.java:122)
at android.graphics.drawable.DrawableInflater.inflateFromXmlForDensity(DrawableInflater.java:142)
at android.graphics.drawable.Drawable.createFromXmlInnerForDensity(Drawable.java:1295)
at android.graphics.drawable.Drawable.createFromXmlForDensity(Drawable.java:1254)
at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:807)
... 26 more

Thanks a lot!