Camera crashing Zui 2.5.462 ST - Lenovo Zuk Z2 Pro Questions & Answers

Hi everyone, my camera app is crashing after 3-5 seconds of black screen, I have already cleaned data and cache, also tried other apps, no luck, even a factory reset didnt change anything.
Here is the log written by the app:
SUPPORTED_64_BIT_ABIS=[Ljava.lang.String;@419cd4a
versionCode=21
BOARD=QC_Reference_Phone
BOOTLOADER=unknown
TYPE=user
ID=NRD90M
TIME=1484568612000
BRAND=ZUK
TAG=Build
HARDWARE=qcom
SERIAL=24d72879
SUPPORTED_ABIS=[Ljava.lang.String;@cc524bb
CPU_ABI=arm64-v8a
IS_DEBUGGABLE=false
RADIO=unknown
MANUFACTURER=ZUK
IS_EMULATOR=false
SUPPORTED_32_BIT_ABIS=[Ljava.lang.String;@9292b5
TAGS=release-keys
CPU_ABI2=
UNKNOWN=unknown
PERMISSIONS_REVIEW_REQUIRED=false
USER=buildslave
FINGERPRINT=ZUK/z2_row/z2_row:7.0/NRD90M/2.5.335_170116:user/release-keys
HOST=byws6
versionName=0.9.0.0
PRODUCT=z2_row
DISPLAY=NRD90M dev-keys
MODEL=ZUK Z2121
DEVICE=z2_row
java.lang.RuntimeException: Media server died.
at com.zui.cameragallery.camera.CameraErrorCallback.onError(CameraErrorCallback.java:33)
at com.zui.cameragallery.ex.camera.portability.AndroidCameraAgentImpl$ErrorCallbackForward$1.run(AndroidCameraAgentImpl.java:1210)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6153)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)
Thanx in advance.

Camera module replaced, still not working
I bought a replacement in Ali express, and after replace the module, same error, now running in Oreo.
any ideas?

Related

App crashes on Viperrom 6.2.1, not on 4.4.2 stock

Trying to figure out my issue here. I installed viperrom 6.2.1 awhile back and everythings running smooth as silk on my verizon htc one m7. Then I tried to install an app for a quadcopter called "droidplanner 2." everytime I open it, it immediately crashes. My girlfriend has an ATT htc one m7 with 4.4.2 stock. I installed it on hers and it seems to work fine. So I suspect its an issue with the rom. I'm posting the crash log from the app. Any ideas of a way to fix this?
java.lang.RuntimeException: Unable to create application org.droidplanner.android.DroidPlannerApp: java.lang.NullPointerException
at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
at android.app.ActivityThread.access$1500(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
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)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at org.droidplanner.android.notifications.TTSNotificationProvider.onInit(TTSNotificationProvider.java:40)
at android.speech.tts.TextToSpeech.dispatchOnInit(TextToSpeech.java)
at android.speech.tts.TextToSpeech.initTts(TextToSpeech.java)
at android.speech.tts.TextToSpeech.<init>(TextToSpeech.java)
at android.speech.tts.TextToSpeech.<init>(TextToSpeech.java)
at android.speech.tts.TextToSpeech.<init>(TextToSpeech.java)
at org.droidplanner.android.notifications.TTSNotificationProvider.<init>(TTSNotificationProvider.java:34)
at org.droidplanner.android.notifications.NotificationHandler.<init>(NotificationHandler.java:32)
at org.droidplanner.android.DroidPlannerApp.onCreate(DroidPlannerApp.java:56)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java)
... 11 more

Airwatch Error after installing Xposed Framework Sony Z5Premium

First off, sorry if I'm not in the right place - Let me know or move me, its fine by me. This is my first post here...
Backstory: Our company is trying to become more secure(They just blew 30k on Airwatch(MDM Software) and have a full time employee on the phone with him just about every day...) and I'm one of the lower guys on the IT Totem poll but I'm not really worried about them yelling at me for having root, and I can get my E-mails right now but I do know eventually they are going to bring it up and probably make me get rid of it. Xposed has a work around for this, but when I flash Xposed - The app crashes upon opening every time "Inbox" or "Airwatch" Has closed unexpectedly.
At first I thought it was the RomAur I installed because I went that route as it packaged Xposed and saved me a minute and I wanted to try it anyways - So I went back to stock with Root, Airwatch opened fine. So then I just tried to install Xposed and when I booted up it "optimized" all of my Apps, including Airwatch and Inbox(Which is Airwatch's Mail thingy) .
So, I undoubtedly believe its something in Xposed that's causing a corruption in Airwatch so I cannot even open it. I feel pretty good that if I could get it to run with Xposed that either Rootcloak or the Hidewatch Xposed mod's can fix it, but I can't get it to open to even test my theory.
As I said, I'm in IT and I've been flashing phones/rooting/etc for about 6 years but generally never posted because I didn't feel nearly as smart as everyone else here seems on the forums but I am capable and can give logs if you tell me how to - but now I have a problem and I believe with the increase of MDM software out here that I'm not the only one, or there is about to be a lot more like me that have this problem.
So.
1.) Does anyone have an idea how to stop the optimization of an APP through upgrading to the Xposed installer?
2.) An Idea to get Airwatch to a point that it can open?
3.) Something totally ingenious I'm not capable of thinking of? I have good Googling skills but have found nothing.
Nibleheim said:
First off, sorry if I'm not in the right place - Let me know or move me, its fine by me. This is my first post here...
Backstory: Our company is trying to become more secure(They just blew 30k on Airwatch(MDM Software) and have a full time employee on the phone with him just about every day...) and I'm one of the lower guys on the IT Totem poll but I'm not really worried about them yelling at me for having root, and I can get my E-mails right now but I do know eventually they are going to bring it up and probably make me get rid of it. Xposed has a work around for this, but when I flash Xposed - The app crashes upon opening every time "Inbox" or "Airwatch" Has closed unexpectedly.
At first I thought it was the RomAur I installed because I went that route as it packaged Xposed and saved me a minute and I wanted to try it anyways - So I went back to stock with Root, Airwatch opened fine. So then I just tried to install Xposed and when I booted up it "optimized" all of my Apps, including Airwatch and Inbox(Which is Airwatch's Mail thingy) .
So, I undoubtedly believe its something in Xposed that's causing a corruption in Airwatch so I cannot even open it. I feel pretty good that if I could get it to run with Xposed that either Rootcloak or the Hidewatch Xposed mod's can fix it, but I can't get it to open to even test my theory.
As I said, I'm in IT and I've been flashing phones/rooting/etc for about 6 years but generally never posted because I didn't feel nearly as smart as everyone else here seems on the forums but I am capable and can give logs if you tell me how to - but now I have a problem and I believe with the increase of MDM software out here that I'm not the only one, or there is about to be a lot more like me that have this problem.
So.
1.) Does anyone have an idea how to stop the optimization of an APP through upgrading to the Xposed installer?
2.) An Idea to get Airwatch to a point that it can open?
3.) Something totally ingenious I'm not capable of thinking of? I have good Googling skills but have found nothing.
Click to expand...
Click to collapse
You could give this module a try, the thread is in HTC thread, but may work for you
http://forum.xda-developers.com/xposed/modules/app-unwatch-root-support-airwatch-t3183082
mattzeller said:
You could give this module a try, the thread is in HTC thread, but may work for you
http://forum.xda-developers.com/xposed/modules/app-unwatch-root-support-airwatch-t3183082
Click to expand...
Click to collapse
Thanks for the reply, but I cannot get the app to not force close immediately after opening, or even the background wake lock gives me force close notifications.
Nibleheim said:
Thanks for the reply, but I cannot get the app to not force close immediately after opening, or even the background wake lock gives me force close notifications.
Click to expand...
Click to collapse
Have you tried uninstalling AirWatch, clearing cache(s), and then reinstalling? Could you possibly need to have rootcloak hiding root from it as well?
mattzeller said:
Have you tried uninstalling AirWatch, clearing cache(s), and then reinstalling? Could you possibly need to have rootcloak hiding root from it as well?
Click to expand...
Click to collapse
Yes, I have even uninstalled with root system removers, etc. I even restored a backup that was factory with it working, flashed root, still worked. Flashed closed, stopped. Reinstalled, still same error. Uninstalled, put RootCloak on, unwatch, still crash when installing. I'm giving it a break for now, been spending many hours a day this week trying to get around it. I really appreciate the ideas, keep em coming!
Nibleheim said:
Yes, I have even uninstalled with root system removers, etc. I even restored a backup that was factory with it working, flashed root, still worked. Flashed closed, stopped. Reinstalled, still same error. Uninstalled, put RootCloak on, unwatch, still crash when installing. I'm giving it a break for now, been spending many hours a day this week trying to get around it. I really appreciate the ideas, keep em coming!
Click to expand...
Click to collapse
Since I just replaced a stock rooted ROM on my phone as well as Xposed, I installed AirWatch Agent to see if there's any combination of things that I could do to get it running I'll report back if I can figure anything out
mattzeller said:
Since I just replaced a stock rooted ROM on my phone as well as Xposed, I installed AirWatch Agent to see if there's any combination of things that I could do to get it running I'll report back if I can figure anything out
Click to expand...
Click to collapse
Awesome, really appreciate it. It's been a real thorn in my side trying to find any way I can circumvent it.
I've definitely narrowed it down to before Xposed install, and after Xposed install it does not work. I have tried Installing Xposed with Airwatch installed, but it runs through an optimization for all apps after flashing, and Airwatch becomes unusable at the point.
I've also tried from an recovery of which AirWatch never existed, installed Xposed and I received the same error.
If I had to gander, its this "optimizing Apps" process that its going through that makes the App Crash, because something changes that it doesn't like. I'm trying to find ways to exclude it from optimization, or maybe finding the file its changing to make it go haywire...
Nibleheim said:
I've definitely narrowed it down to before Xposed install, and after Xposed install it does not work. I have tried Installing Xposed with Airwatch installed, but it runs through an optimization for all apps after flashing, and Airwatch becomes unusable at the point.
I've also tried from an recovery of which AirWatch never existed, installed Xposed and I received the same error.
If I had to gander, its this "optimizing Apps" process that its going through that makes the App Crash, because something changes that it doesn't like. I'm trying to find ways to exclude it from optimization, or maybe finding the file its changing to make it go haywire...
Click to expand...
Click to collapse
I've tried every which way, and I get the same results as you. Though this popped up in my feed in Tapatalk, it's for getting Android Pay to work with Xposed, by temporarily unmounting root (and Xposed I believe) on the fly. Maybe you can utilize this with AirWatch.
http://forum.xda-developers.com/showthread.php?t=3432382
Sweet! Kinda drinking right now and I've learned not to drink and flash stuff on my phone... Oh poor S4, you still sit bricked in my closet... Will try tomorrow.
That looks a little more complicated than I'm comfortable with. I did try installing Cyanogen and I came up with same results, Xposed caused the problem. Going to try a few different versions and see if maybe its a recent change they made.
Nibleheim said:
That looks a little more complicated than I'm comfortable with. I did try installing Cyanogen and I came up with same results, Xposed caused the problem. Going to try a few different versions and see if maybe its a recent change they made.
Click to expand...
Click to collapse
Maybe try an older version of AirWatch?
I have the same situation(
Hope some one will come up with a solution.
I imagine it will happen at some point. For right now I just play dumb... but eventually it will have to happen.
Rosli59564 said:
Hope some one will come up with a solution.
Click to expand...
Click to collapse
@Nibleheim @PeterRoweyn
Using Magisk and having systemless Xposed I am able to install and run AirWatch Agent
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SCH-R220
mattzeller said:
@Nibleheim @PeterRoweyn
Using Magisk and having systemless Xposed I am able to install and run AirWatch Agent
Sent from my SCH-R220
Click to expand...
Click to collapse
You mean the link you provided earlier?. Seems a long reading but will definitely try it.
Sent from my SM-G925F
unlock bootloader -> install recovery -> Root -> Xposed framework -> install airwatch agent -> launch airwatch agent and i get this logcat.
i am also having same issue so sharing logcat for the dev m(_ _)m
I/ActivityManager( 925): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.airwatch.androidagent/com.airwatch.agent.ui.activity.SplashActivity bnds=[804,276][1068,573] (has extras)} from uid 10022 on display 0
I/ActivityManager( 925): Start proc 7184:com.airwatch.androidagent/u0a83 for activity com.airwatch.androidagent/com.airwatch.agent.ui.activity.SplashActivity
E/art ( 7184): void com.airwatch.util.n.<clinit>(): [0x9] Could not get type for v0 from debug information
D/AirWatch( 7184): w->loadLibs entered , icu file exist : false
D/AirWatch( 7184): w->loadLibs exiting, icu file exist : false
D/AirWatch( 7184): AirWatchApp: re-fetching OEM ID from framework
E/art ( 7184): void com.airwatch.core.AirWatchDevice.<clinit>(): [0x9] Could not get type for v0 from debug information
D/AirWatch( 7184): Manufacturer == lge
D/AirWatch( 7184): Class not found: 'com.lge.mdm.LGMDMManager'
D/AirWatch( 7184): EnterpriseManagerFactory.getEnterpriseManager(boolean, boolean): Enterprise Manager: GenericManager
D/AirWatch( 7184): AirWatchApp: initializing user directories
D/AirWatch( 7184): AirWatchApp: setting OEM UUID
D/AirWatch( 7184): Writing attributes after service connection
D/AirWatch( 7184): EnterpriseManagerFactory.getEnterpriseManager(boolean, boolean): Enterprise Manager: GenericManager
D/AirWatch( 7184): CustomAttributes writing filepath: /storage/emulated/0/Android/data/com.airwatch.androidagent/files/attributes/
E/art ( 7184): void com.airwatch.l.e.<clinit>(): [0x1] Could not get type for v0 from debug information
I/AirWatch( 7184): SplashActivity: Workspace is not installed.
I/ActivityManager( 925): START u0 {cmp=com.airwatch.androidagent/com.airwatch.agent.ui.enroll.wizard.WelcomeEnrollmentWizard} from uid 10083 on display 0
I/AirWatch( 7184): OpenSSLWrapper:: libcrypto.so.1.0.1 already exists
I/AirWatch( 7184): OpenSSLWrapper:: libssl.so.1.0.1 already exists
E/AirWatch( 7184): Writing unhandled exception to: /data/user/0/com.airwatch.androidagent/files/AW-45098.stacktrace
E/AirWatch( 7184): java.lang.RuntimeException: com.airwatch.crypto.openssl.OpenSSLLoadException
E/AirWatch( 7184): at com.airwatch.agent.crypto.a.d(Unknown Source)
E/AirWatch( 7184): at com.airwatch.agent.crypto.a.a(Unknown Source)
E/AirWatch( 7184): at com.airwatch.agent.x.run(Unknown Source)
E/AirWatch( 7184): Caused by: com.airwatch.crypto.openssl.OpenSSLLoadException
E/AirWatch( 7184): at com.airwatch.crypto.openssl.b.<init>(Unknown Source)
E/AirWatch( 7184): at com.airwatch.crypto.openssl.b.a(Unknown Source)
E/AirWatch( 7184): ... 3 more
E/AndroidRuntime( 7184): Process: com.airwatch.androidagent, PID: 7184
E/AndroidRuntime( 7184): java.lang.RuntimeException: com.airwatch.crypto.openssl.OpenSSLLoadException
E/AndroidRuntime( 7184): at com.airwatch.agent.crypto.a.d(Unknown Source)
E/AndroidRuntime( 7184): at com.airwatch.agent.crypto.a.a(Unknown Source)
E/AndroidRuntime( 7184): at com.airwatch.agent.x.run(Unknown Source)
E/AndroidRuntime( 7184): Caused by: com.airwatch.crypto.openssl.OpenSSLLoadException
E/AndroidRuntime( 7184): at com.airwatch.crypto.openssl.b.<init>(Unknown Source)
E/AndroidRuntime( 7184): at com.airwatch.crypto.openssl.b.a(Unknown Source)
W/ActivityManager( 925): Force finishing activity com.airwatch.androidagent/com.airwatch.agent.ui.enroll.wizard.WelcomeEnrollmentWizard
I/ActivityManager( 925): Process com.airwatch.androidagent (pid 7184) has died
Did anyone manage to bypass Airwatch? Almost 2 months since last reply.
dehkun said:
Did anyone manage to bypass Airwatch? Almost 2 months since last reply.
Click to expand...
Click to collapse
I didn't. Haven't seen the ramifications for it yet but they are coming

Front camera not working

Dear community
I have an issue with my front camera on my Zuk Z2 Pro. I cannot switch to front camera only back camera works. There is no symbol for switching to the front camera beside the "shot" button in the camera app.
I tried to check the camera settings, but the as soon I try to navigate into the "Front camera photo" or "Front camera video" I just get a white screen with the title "camera" and nothing else.
I also installed other camera apps, but also no front camera access...
I have this issue since ever but I thought I'd better wait for Android 7 Nougat update, before asking you guys.
So this morning I updated phone from Stock ZUI 2.3.044 ST via OTA to ZUI v 2.5.335 - unfortunately the issues persists
Below you will also find crash log (I guess). Hope someone can help me out and has some idea how to solve this.
Thank you very much in advance for your help.
LOG:
SUPPORTED_64_BIT_ABIS=[Ljava.lang.String;@78c38f3
versionCode=21
BOARD=QC_Reference_Phone
BOOTLOADER=unknown
TYPE=user
ID=NRD90M
TIME=1484568612000
BRAND=ZUK
TAG=Build
HARDWARE=qcom
SERIAL=XXX removed
SUPPORTED_ABIS=[Ljava.lang.String;@f0079b0
CPU_ABI=arm64-v8a
IS_DEBUGGABLE=false
RADIO=unknown
MANUFACTURER=ZUK
IS_EMULATOR=false
SUPPORTED_32_BIT_ABIS=[Ljava.lang.String;@ac2f62
TAGS=release-keys
CPU_ABI2=
UNKNOWN=unknown
PERMISSIONS_REVIEW_REQUIRED=false
USER=buildslave
FINGERPRINT=ZUK/z2_row/z2_row:7.0/NRD90M/2.5.335_170116:user/release-keys
HOST=byws6
versionName=0.9.0.0
PRODUCT=z2_row
DISPLAY=NRD90M dev-keys
MODEL=ZUK Z2121
DEVICE=z2_row
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.zui.cameragallery/com.zui.cameragallery.camera.settings.SettingsPreferenceActivity}: java.lang.NullPointerException: Attempt to get length of null array
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2695)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2768)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1481)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6153)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)
Caused by: java.lang.NullPointerException: Attempt to get length of null array
at com.zui.cameragallery.camera.settings.SettingsPreferenceActivity.getSavedSltPos(SettingsPreferenceActivity.java:296)
at com.zui.cameragallery.camera.settings.SettingsPreferenceActivity.refreshListView(SettingsPreferenceActivity.java:256)
at com.zui.cameragallery.camera.settings.SettingsPreferenceActivity.initView(SettingsPreferenceActivity.java:212)
at com.zui.cameragallery.camera.settings.SettingsPreferenceActivity.onCreate(SettingsPreferenceActivity.java:128)
at android.app.Activity.performCreate(Activity.java:6705)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2648)
... 9 more
java.lang.NullPointerException: Attempt to get length of null array
at com.zui.cameragallery.camera.settings.SettingsPreferenceActivity.getSavedSltPos(SettingsPreferenceActivity.java:296)
at com.zui.cameragallery.camera.settings.SettingsPreferenceActivity.refreshListView(SettingsPreferenceActivity.java:256)
at com.zui.cameragallery.camera.settings.SettingsPreferenceActivity.initView(SettingsPreferenceActivity.java:212)
at com.zui.cameragallery.camera.settings.SettingsPreferenceActivity.onCreate(SettingsPreferenceActivity.java:128)
at android.app.Activity.performCreate(Activity.java:6705)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2648)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2768)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1481)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6153)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)
Did you find any fix for this?

Help installing apk unknown source!

It`s about Mi8 Global Version running MIUI 10.22.0(PEAMIXM). I have wifi dash cam witch uses app not from play store named CYHY. After granted access, permissions, stopped Play Protect, all security options off, I installed the apk, but when I try to open the app it crashes. Tried on a friend Mi8 China Version with Xiaomi.eu rom preinstalled and it works.
This is error log for crash:
java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/user/0/cyhy.hk/.jiagu/libjiagu.so"
at java.lang.Runtime.load0(Runtime.java:928)
at java.lang.System.load(System.java:1633)
at com.qihoo.util.StubApp3001689761.attachBaseContext(StubApp3001689761.java:205)
at android.app.Application.attach(Application.java:237)
at android.app.Instrumentation.newApplication(Instrumentation.java:1122)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1065)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5916)
at android.app.ActivityThread.access$1200(ActivityThread.java:200)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6806)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
QR code of the app is in attachment. Any help or suggestion except unlocking bootloader and root!?
Thanks in advance!

Bluetooth Stops working after first reboot?

I recently downgraded my rog phone 3 from android 12 to android 11 while rooting it with twrp and magisk. After I did this, everything worked fine on my system (besides mms for a moment), once it is flashed, the first reboot afterwards completely stops bluetooth from functioning. No startup, nothing. The drivers are just nonfunctional I guess. Anyone else have this issue/ know how to solve? Not very fluent in this and just looking to fix this asap.
Also here is a logcat error that shows itself when I try to enable bluetooth.
FATAL EXCEPTION: BluetoothDatabaseManager
Process: com.android.bluetooth, PID: 2430
android.database.sqlite.SQLiteCantOpenDatabaseException: Cannot open database '/data/user_de/0/com.android.bluetooth/databases/bluetooth_db': Directory /data/user_de/0/com.android.bluetooth/databases doesn't exist
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:252)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:205)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:505)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:206)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:198)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:918)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:898)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:762)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:751)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:373)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:316)
at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.getWritableSupportDatabase(FrameworkSQLiteOpenHelper.java:145)
at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper.getWritableDatabase(FrameworkSQLiteOpenHelper.java:106)
at androidx.room.RoomDatabase.inTransaction(RoomDatabase.java:476)
at androidx.room.RoomDatabase.assertNotSuspendingTransaction(RoomDatabase.java:281)
at com.android.bluetooth.btservice.storage.MetadataDao_Impl.load(MetadataDao_Impl.java:258)
at com.android.bluetooth.btservice.storage.MetadataDatabase.load(MetadataDatabase.java:95)
at com.android.bluetooth.btservice.storage.DatabaseManager$DatabaseHandler.handleMessage(DatabaseManager.java:124)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:248)
at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14 SQLITE_CANTOPEN): Could not open database
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:224)
... 20 more
I really need help with this if anyone could spare the time.
I have dumped the same stock rom I installed and I have noticed it is missing the bluetooth APEX file. Is it even possible to install an APEX file without reinstalling an entire system? I know the format is similar to APK and i have read/write access to my system partition, so is it possible to do?
Try setting selinux to permissive (from a root command line, run "setenforce 0"). I have a similar issue (messed up permissions when downgrading and I'm trying to debug it now. I'm trying to figure out how to fix those permissions without disabling selinux entirely, as disabling it is a massive security hole.

Categories

Resources