G5s+: Failed to generate attestation certificate chain - Moto G5S Plus Questions & Answers

Hello,
I'm using ArrowOs to run the Munich's local transport's app "MVG Fahrinfo", which allows to buy tickets for the local bus&subway services.
I was able to buy those tickets until at least May 25th, 2022.
I remember, there has been an update to the app, but since I needed no ticket, I noticed by end-June, that I could no longer buy tickets. The app just crashed.
Turning on the logging, I'm getting the following error in the log:
Code:
07-13 07:33:35.097 8070 8092 D TransportRuntime.JobInfoScheduler: Scheduling upload for context TransportContext(cct, HIGHEST, MSRodHRwczovL2NyYXNobHl0aWNzcmVwb3J0cy1wYS5nb29nbGVhcGlzLmNvbS92MS9maXJlbG9nL2xlZ2FjeS9iYXRjaGxvZ1xBSXphU3lCcnBTWVQ0RkZMMDlyZUhKaTZIOUZZZGVpU25VVE92Mk0=) with jobId=1899902110 in 1000ms(Backend next call timestamp 1657115477558). Attempt 1
--------- beginning of crash
07-13 07:33:35.113 8070 8070 E AndroidRuntime: FATAL EXCEPTION: main
07-13 07:33:35.113 8070 8070 E AndroidRuntime: Process: de.swm.mvgfahrinfo.muenchen, PID: 8070
07-13 07:33:35.113 8070 8070 E AndroidRuntime: java.security.ProviderException: Failed to generate attestation certificate chain
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.getAttestationChain(AndroidKeyStoreKeyPairGeneratorSpi.java:611)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.createCertificateChain(AndroidKeyStoreKeyPairGeneratorSpi.java:498)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:475)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:727)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at b.b(Unknown Source:28)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at c$a.invokeSuspend(SourceFile:6)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:4)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at kotlinx.coroutines.DispatchedTask.run(SourceFile:22)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7665)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:594)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: Caused by: android.security.KeyStoreException: Not implemented
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.security.KeyStore.getKeyStoreException(KeyStore.java:1306)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: ... 15 more
07-13 07:33:35.116 2534 9249 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
07-13 07:33:35.117 2534 6885 W ActivityTaskManager: Force finishing activity de.swm.mvgfahrinfo.muenchen/.mobilityticketing.MobilityTicketingActivity
07-13 07:33:35.120 2534 9249 W DropBoxManagerService: Dropping: data_app_crash (1578 > 0 bytes)
I have another sanders phone, which has the same problem.
Today, I've reverted one of those phones to stock Oreo, and there I could buy a ticket successfully. But updating the phone again to an ArrowOs version (Offical of January 2022), which allowed to buy a ticket in January (I still have the receipt...), leads to the problem again.
So my guess is: the app got changed, such that it now requests something, that leads to the error. Using it on an older version does not show this error, so it must handle that request differently.
From what I found on XDA and elsewhere was the info, that a key is being requested, that seems to be missing.
Is that correct? Does anybody know, how I can resolve this issue?
Thanks a lot.
kniffte

Related

[help]CM14.0 boot failed and stuck at CM logo

I just compiled CM14 and build success. But it failed to boot. Screen freeze after seconds of CM boot animation.
Here's the logcat ,
I'll appreciate if someone can help me
Might I ask how did you get the logcat?
I'm getting stuck at the boot logo myself, but I could not dump the logcat. Did you use a UART cable?
morphvale said:
Might I ask how did you get the logcat?
I'm getting stuck at the boot logo myself, but I could not dump the logcat. Did you use a UART cable?
Click to expand...
Click to collapse
I don't have an UART cable,so I lunched a cm_hammerhead-eng version for the logcat. eng version is for debug itself. then run " adb logcat > *.txt" as sudoer with just a normal cable connected to PC. But you can't get full booting logcat.
I think we need to wait for something new until anyone can fix the errors
So, I managed to finally boot it, but com.android.phone keeps crashing. Again could not get the log, probably because usb debugging might be off by default.
{
"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 Nexus 5 using Tapatalk
@morphvale how have you managwr to boot it? Anf which zip have you used??
Not sure what you mean.. It's a personal build, using some CM source and some of the current CM merges.
LE: Alright, so I've managed to boot it up fine. CM Setup Wizard keeps crashing, but I just deleted the apk. There's also a new commit which I think should fix it, but did not pick it yet.
As before, com.android.phone keeps crashing, but I've managed to get the logs now, and it seems related to this. Will have to dig in deeper to see what causes it.
01-03 18:49:38.111 1754 1754 D AndroidRuntime: Shutting down VM
01-03 18:49:38.116 1754 1754 E AndroidRuntime: FATAL EXCEPTION: main
01-03 18:49:38.116 1754 1754 E AndroidRuntime: Process: com.android.phone, PID: 1754
01-03 18:49:38.116 1754 1754 E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.internal.telephony.Phone.startMonitoringImsService()' on a null object reference
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5364)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.app.ActivityThread.-wrap2(ActivityThread.java)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6077)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.internal.telephony.Phone.startMonitoringImsService()' on a null object reference
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at com.android.internal.telephony.PhoneFactory.makeDefaultPhone(PhoneFactory.java:223)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at com.android.internal.telephony.PhoneFactory.makeDefaultPhones(PhoneFactory.java:93)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at com.android.phone.PhoneGlobals.onCreate(PhoneGlobals.java:285)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at com.android.phone.PhoneApp.onCreate(PhoneApp.java:41)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1025)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5361)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: ... 8 more
Worst part is, no GSM network so far, and baseband appears as unkown.
aby good bews??
morphvale said:
Not sure what you mean.. It's a personal build, using some CM source and some of the current CM merges.
LE: Alright, so I've managed to boot it up fine. CM Setup Wizard keeps crashing, but I just deleted the apk. There's also a new commit which I think should fix it, but did not pick it yet.
As before, com.android.phone keeps crashing, but I've managed to get the logs now, and it seems related to this. Will have to dig in deeper to see what causes it.
01-03 18:49:38.111 1754 1754 D AndroidRuntime: Shutting down VM
01-03 18:49:38.116 1754 1754 E AndroidRuntime: FATAL EXCEPTION: main
01-03 18:49:38.116 1754 1754 E AndroidRuntime: Process: com.android.phone, PID: 1754
01-03 18:49:38.116 1754 1754 E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.internal.telephony.Phone.startMonitoringImsService()' on a null object reference
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5364)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.app.ActivityThread.-wrap2(ActivityThread.java)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6077)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.internal.telephony.Phone.startMonitoringImsService()' on a null object reference
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at com.android.internal.telephony.PhoneFactory.makeDefaultPhone(PhoneFactory.java:223)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at com.android.internal.telephony.PhoneFactory.makeDefaultPhones(PhoneFactory.java:93)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at com.android.phone.PhoneGlobals.onCreate(PhoneGlobals.java:285)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at com.android.phone.PhoneApp.onCreate(PhoneApp.java:41)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1025)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5361)
01-03 18:49:38.116 1754 1754 E AndroidRuntime: ... 8 more
Worst part is, no GSM network so far, and baseband appears as unkown.
Click to expand...
Click to collapse
yeap now there's no com.android.phone FCs but It reboots when make phone call
That was fixed some time ago by this commit, which also got merged yesterday: http://review.cyanogenmod.org/#/c/162359/
However, baseband is still unknown for some reason.
They have this running on N6 its quite nice i have both phones N5 too. Im sure this will get done soon

Camera Issue after opening the backdoor/housing

Yesterday, I reopen the housing of my phone. The camera was OK.
I reapply the adhesive to make it tidier and screw 2 holes i hadnt screwed.
Then, i saw my phone hung after boot and had to wait for several minutes.
Then, i reflash to Lineage to test if it's probably software fault. But, it didn't hang on boot but the camera app looks blank or black (the same thing happened in camera stock 5.11) 3rd party camera doesnt help at all.
Every app hangs on camera. Messenger,Instagram,Camera,Camera FV-5,etc
Here is the partial logcat from Camera launch until it forcedly closed:
Code:
04-19 10:04:14.928 519 4737 I mm-camera: module_sensor_start_session:1352session 1
04-19 10:04:14.935 519 4739 E mm-camera-isp2: isp_module_start_session:851 num_session_opened 1
04-19 10:04:14.960 519 4737 E mm-camera-sensor: sony_sensor_i2c_write:491 failed
04-19 10:04:14.960 519 4737 E mm-camera-sensor: sony_sensor_i2c_write:491 failed
04-19 10:04:14.960 519 4737 E mm-camera-sensor: sony_sensor_i2c_write:491 failed
04-19 10:04:14.960 519 4737 E somc-camera-driver: SOCAM_ERR: sony_camera_reg_write: - sony_camera_reg_write: 0x105 is failed
04-19 10:04:14.960 519 4737 E somc-camera-driver: SOCAM_ERR: sony_camera_set_load_table: - sony_camera_set_load_table: Load Table[0] Error!
04-19 10:04:14.960 519 4737 E somc-camera-driver: SOCAM_ERR: sony_camera_module_sensor_init: Failed to init a sensor driver
04-19 10:04:14.960 519 4737 E mm-camera-sensor: sony_sensor_process_init:1973
04-19 10:04:15.171 519 4737 E mm-camera: module_sensor_init_session:1162failed rc -1
04-19 10:04:15.171 519 4737 E somc-camera-driver: SOCAM_ERR: sony_camera_module_queue_deinit: Invalid argument.
04-19 10:04:15.171 519 4737 E somc-camera-driver: SOCAM_ERR: sony_camera_module_queue_deinit: Invalid argument.
04-19 10:04:15.171 519 4737 E somc-camera-driver: SOCAM_ERR: sony_camera_module_queue_deinit: Invalid argument.
04-19 10:04:15.172 519 4737 E mm-camera-sensor: sony_sensor_power_down:1278
04-19 10:04:15.172 519 4737 E mm-camera: module_sensor_init_session:1258failed
04-19 10:04:15.172 519 4737 E mm-camera: module_sensor_start_session:1375failed
04-19 10:04:15.172 519 4737 E mm-camera: module_sensor_start_session:1403failed
04-19 10:04:15.173 519 519 E mm-camera-sensor: sony_sensor_process:2315
04-19 10:04:15.173 519 519 E mm-camera: module_sensor_query_mod:5531failed rc -4
04-19 10:04:15.173 519 519 E mm-camera: mct: mct_pipeline_query_modules: query_mod failed on sensor
04-19 10:04:15.173 519 519 I mm-camera: module_module_set_session_data:5890max delay 0 report delay 0 retry skip 0
04-19 10:04:15.173 519 519 I mm-camera: module_iface_set_mod_func: set module type = 8, identity 1000f
04-19 10:04:15.173 519 519 I mm-camera-sensor: port_sensor_caps_reserve:151ide 1000f stream type 10 w*h 0*0
04-19 10:04:15.173 519 519 I mm-camera-sensor: port_sensor_ext_link_func:271ide 1000f
04-19 10:04:15.178 519 519 E mm-camera: mct: mct_controller_new: Start session failed with status 1
04-19 10:04:15.179 519 519 I mm-camera-sensor: port_sensor_unlink_func:293ide 1000f
04-19 10:04:15.179 519 519 I mm-camera: port_iface_ext_unlink_func: E, identity = 0x1000f, port = 0xf48aad20, direction = 2
04-19 10:04:15.179 519 519 I mm-camera-sensor: port_sensor_caps_unreserve:204ide 1000f
04-19 10:04:15.179 519 519 I mm-camera: port_iface_check_caps_unreserve_func: E, identity = 0x1000f, port = 0xf48aad20, direction = 2
04-19 10:04:15.179 519 519 E mm-camera: iface_unreserve_sink_port: stream_id f mode 0
04-19 10:04:15.179 519 519 I mm-camera: port_iface_ext_unlink_func: E, identity = 0x1000f, port = 0xf48ab020, direction = 1
04-19 10:04:15.179 519 519 I mm-camera: port_iface_check_caps_unreserve_func: E, identity = 0x1000f, port = 0xf48ab020, direction = 1
04-19 10:04:15.179 519 519 E mm-camera: isp_util_get_session_stream_param_from_type:6764 failed: l_stream_params 0x0 for stream type 10
04-19 10:04:15.179 519 4754 I mm-camera: module_sensor_stop_session:1422session 1
04-19 10:04:15.179 519 4754 E mm-camera: module_sensor_deinit_session:1282ref count 0
04-19 10:04:15.179 519 4754 E mm-camera: module_sensor_stop_session:1441failed
04-19 10:04:15.179 519 4754 E mm-camera: module_sensor_stop_session:1458failed
04-19 10:04:15.179 519 4754 E mm-camera: mct: mct_pipeline_stop_session_thread: Failed to stop module name: sensor
04-19 10:04:15.186 519 519 E mm-camera: main: New session [1] creation failed with error
04-19 10:04:15.186 519 519 E mm-camera: main: camera daemon notify error
04-19 10:04:16.725 489 489 I MSM-irqbalance: Decided to move IRQ195 from CPU3 to CPU0
04-19 10:04:18.025 500 830 D audio_hw_primary: out_standby: enter: stream (0xf5b98000) usecase(1: low-latency-playback)
04-19 10:04:18.069 500 830 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
04-19 10:04:18.071 500 830 D hardware_info: hw_info_append_hw_type : device_name = speaker
04-19 10:04:18.072 500 830 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)
04-19 10:04:21.726 489 489 I MSM-irqbalance: Decided to move IRQ196 from CPU3 to CPU0
04-19 10:04:24.821 1186 1827 W ActivityManager: Launch timeout has expired, giving up wake lock!
04-19 10:04:26.726 489 489 I MSM-irqbalance: Decided to move IRQ51 from CPU2 to CPU0
04-19 10:04:28.923 501 501 E mm-camera-intf: mm_camera_open: cannot open control fd of '/dev/video1' (Connection timed out)
04-19 10:04:28.923 501 501 E mm-camera-intf: camera_open: mm_camera_open err = -1
04-19 10:04:28.923 501 501 E cammw : E: cammw_platform_camera_open: camera open error
04-19 10:04:28.923 501 501 E cammw : E: cammw_camera_open: platform camera open error
04-19 10:04:28.923 501 501 E cald : 377321086573 excal_system.cpp (390) 501 E [EXC] Camera can't open.
04-19 10:04:28.923 501 501 E camera-hal: camera_module.cpp(291):getCameraInfo: Getting systemInfo error
04-19 10:04:28.923 501 501 I camera-hal: camera_hal.cpp(473):module_api_get_camera_info: cameraId 0 ret -19
04-19 10:04:28.925 4718 4718 D AndroidRuntime: Shutting down VM
04-19 10:04:28.927 4718 4718 E AndroidRuntime: FATAL EXCEPTION: main
04-19 10:04:28.927 4718 4718 E AndroidRuntime: Process: org.cyanogenmod.snap, PID: 4718
04-19 10:04:28.927 4718 4718 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.cyanogenmod.snap/com.android.camera.CameraActivity}: java.lang.RuntimeException: Fail to get camera info
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2681)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2742)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1489)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6178)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: Caused by: java.lang.RuntimeException: Fail to get camera info
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.hardware.Camera._getCameraInfo(Native Method)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.hardware.Camera.getCameraInfo(Camera.java:288)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.CameraHolder.<init>(CameraHolder.java:173)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.CameraHolder.instance(CameraHolder.java:127)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.CameraSettings.readPreferredCameraId(CameraSettings.java:1353)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.CameraSettings.upgradeCameraId(CameraSettings.java:1341)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.CameraSettings.upgradeGlobalPreferences(CameraSettings.java:1284)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.SettingsManager.<init>(SettingsManager.java:143)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.CameraActivity.onCreate(CameraActivity.java:1469)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6682)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2634)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: ... 9 more
04-19 10:04:28.930 1186 3362 W ActivityManager: Force finishing activity org.cyanogenmod.snap/com.android.camera.CameraLauncher
04-19 10:04:28.944 1186 3362 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:877 com.android.server.am.AppErrors.crashApplicationInner:375 com.android.server.am.AppErrors.crashApplication:309 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:13735 com.android.server.am.ActivityManagerService.handleApplicationCrash:13717
04-19 10:04:28.945 1186 3362 E ActivityManager: Sending non-protected broadcast projekt.substratum.APP_CRASHED from system 1186:system/1000 pkg android
04-19 10:04:28.945 1186 3362 E ActivityManager: java.lang.Throwable
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:18155)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:18744)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:18835)
04-19 10:04:28.945 1186 3362 E ActivityManager: at android.app.ContextImpl.sendBroadcast(ContextImpl.java:881)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:375)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.AppErrors.crashApplication(AppErrors.java:309)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:13735)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.ActivityManagerService.handleApplicationCrash(ActivityManagerService.java:13717)
04-19 10:04:28.945 1186 3362 E ActivityManager: at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1660)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2984)
04-19 10:04:28.945 1186 3362 E ActivityManager: at android.os.Binder.execTransact(Binder.java:565)
04-19 10:04:29.021 1186 4043 I OpenGLRenderer: Initialized EGL, version 1.4
04-19 10:04:29.021 1186 4043 D OpenGLRenderer: Swap behavior 1
04-19 10:04:29.444 1186 1827 W ActivityManager: Activity pause timeout for ActivityRecord{a80e5a1 u0 org.cyanogenmod.snap/com.android.camera.CameraLauncher t32 f}
04-19 10:04:29.469 1186 1827 I WindowManager: Failed to capture screenshot of Token{a5f03c6 ActivityRecord{a80e5a1 u0 org.cyanogenmod.snap/com.android.camera.CameraLauncher t32 f}} appWin=Window{c2787f u0 Starting org.cyanogenmod.snap} drawState=4
04-19 10:04:29.997 1186 1986 W WindowManager: Failed looking up window
04-19 10:04:29.997 1186 1986 W WindowManager: java.lang.IllegalArgumentException: Requested window [email protected] does not exist
04-19 10:04:29.997 1186 1986 W WindowManager: at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9484)
04-19 10:04:29.997 1186 1986 W WindowManager: at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9475)
04-19 10:04:29.997 1186 1986 W WindowManager: at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2396)
04-19 10:04:29.997 1186 1986 W WindowManager: at com.android.server.wm.Session.remove(Session.java:193)
04-19 10:04:29.997 1186 1986 W WindowManager: at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3290)
04-19 10:04:29.997 1186 1986 W WindowManager: at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5923)
04-19 10:04:29.997 1186 1986 W WindowManager: at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3629)
04-19 10:04:29.997 1186 1986 W WindowManager: at android.os.Handler.dispatchMessage(Handler.java:102)
04-19 10:04:29.997 1186 1986 W WindowManager: at android.os.Looper.loop(Looper.java:154)
04-19 10:04:29.997 1186 1986 W WindowManager: at android.os.HandlerThread.run(HandlerThread.java:61)
04-19 10:04:29.997 1186 1986 W WindowManager: at com.android.server.ServiceThread.run(ServiceThread.java:46)
04-19 10:04:30.111 3385 3504 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
04-19 10:04:30.111 3385 3504 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
04-19 10:04:31.727 489 489 I MSM-irqbalance: Decided to move IRQ224 from CPU3 to CPU0
04-19 10:04:33.160 3281 3440 W MediaScanner: Error opening directory '/storage/0000-0000/.android_secure/', skipping: Permission denied.
04-19 10:04:33.254 1186 2702 I ActivityManager: Killing 3248:org.lineageos.customtiles/1000 (adj 906): empty #17
04-19 10:04:33.275 1186 3361 D ActivityManager: cleanUpApplicationRecord -- 3248
04-19 10:04:36.754 489 489 I MSM-irqbalance: Decided to move IRQ57 from CPU3 to CPU0
04-19 10:04:39.797 1186 1827 W ActivityManager: Activity destroy timeout for ActivityRecord{a80e5a1 u0 org.cyanogenmod.snap/com.android.camera.CameraLauncher t32 f}
Any help would be appreciated! Thanks
Try flashing stock ftf!! Seems camera driver and bunch of cam components hasn't been properly defined
---------- Post added at 06:00 PM ---------- Previous post was at 05:52 PM ----------
Try stock ftf!! If it doesn't work..disconnect and Reconnect the camera cable (strap) and the strap which is joining the headphone jack Power, volume keys and cam key.

Magisk Manager keeps force stopping after update from 17.1 to 18

Hi,
I just updated my Magisk Manager from within the app from v17.1 to v18, and now it keeps force stopping. Logcat output when it crashes is as follows:
Code:
12-11 13:41:05.720 21419 21484 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #3
12-11 13:41:05.720 21419 21484 E AndroidRuntime: Process: com.topjohnwu.magisk, PID: 21419
12-11 13:41:05.720 21419 21484 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'int a.zi.c' on a null object reference
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at a.uv.a(Unknown Source)
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at a.uv.b(Unknown Source)
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at a.uv.lambda$ZFQE15Y-O-EDUdsm62tZ8CmB2-A(Unknown Source)
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at a.-$$Lambda$uv$ZFQE15Y-O-EDUdsm62tZ8CmB2-A.run(lambda)
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at java.lang.Thread.run(Thread.java:818)
12-11 13:41:05.723 881 3514 W ActivityManager: Force finishing activity com.topjohnwu.magisk/a.b
I tried flashing the v18 zip file and encountered the same problem. Flashing back to v17.1 fixed the problem, haven't tried 17.2 though.
My device is a Nexus 5X running Android 6.0.1.
How do I fix this?

Question Camera App stops working after July'21 update

Hi all,
I need some help. After the recent update, my phone's camera app isn't working. I had in the past remove all the bloatware, but everything was still working including the camera prior to updating.
I tried running "logcat | grep AndroidRuntime" and saw this:
07-19 16:28:53.160 19795 19795 E AndroidRuntime: FATAL EXCEPTION: main
07-19 16:28:53.160 19795 19795 E AndroidRuntime: Process: com.sec.android.app.camera, PID: 19795
07-19 16:28:53.160 19795 19795 E AndroidRuntime: java.lang.SecurityException: Failed to find provider com.samsung.android.app.screenrecorder.provider for user 0; expected to find a valid ContentProvider for this authority
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Parcel.createExceptionOrNull(Parcel.java:2385)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:2369)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2352)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2294)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.content.IContentService$Stub$Proxy.registerContentObserver(IContentService.java:1250)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.content.ContentResolver.registerContentObserver(ContentResolver.java:2637)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.content.ContentResolver.registerContentObserver(ContentResolver.java:2625)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.sec.android.app.camera.Camera.onCameraEnterCompleted(Camera.java:2334)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.sec.android.app.camera.Camera.onStartPreviewCompleted(Camera.java:1034)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.sec.android.app.camera.engine.RequestEventManager.lambda$handlePreviewRequestApplied$1$RequestEventManager(RequestEventManager.java:221)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.sec.android.app.camera.engine.-$$Lambda$RequestEventManager$Bn_xBsxcRHSYb-bsNmOI0lTQwiU.run(Unknown Source:2)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.sec.android.app.camera.engine.CommonEngine.lambda$postToUiThread$3$CommonEngine(CommonEngine.java:1110)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.sec.android.app.camera.engine.-$$Lambda$CommonEngine$HApqQcCeMPs-rB9SjWj4YI4-ayQ.run(Unknown Source:4)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Looper.loop(Looper.java:246)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8512)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
It looks like I might be missing this package "com.samsung.android.app.screenrecorder.provider", so I tried reinstalling it(I cant rmb if I had uninstalled this in the past) but looks like it doesn't exist.
p3s:/ $ cmd package install-existing com.samsung.android.app.screenrecorder.provider
android.content.pm.PackageManager$NameNotFoundException: Package com.samsung.android.app.screenrecorder.provider doesn't exist
I have a work profile running the same Camera version 11.0.03.10 and it works fine.
I'm stuck now
I've fixed this. For closure, you need to install this package as the screen recorder relies on this.
130|p3s:/ $ cmd package install-existing com.samsung.android.app.smartcapture
Package com.samsung.android.app.smartcapture installed for user: 0

FileProvider Crash

Hi,
I have a problem with file provider of my Redmi.
Some app can not share file beetween other app and the activity crash.
Can you help me?
Thanks.
P.S.
Below some piece of logcat
01-13 23:20:29.945 15457 15457 E AndroidRuntime: FATAL EXCEPTION: main
01-13 23:20:29.945 15457 15457 E AndroidRuntime: Process: system:ui, PID: 15457
01-13 23:20:29.945 15457 15457 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{android/com.android.internal.app.ResolverActivity}: android.os.FileUriExposedException: file:///storage/emulated/0/Android/data/com.speedsoftware.rootexplorer/cache/temp/.retemp_1642112425148/xxx.apk exposed beyond app through Intent.getData()
01-13 23:20:29.945 15457 15457 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3520)
01-13 23:20:29.945 15457 15457 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3692)
01-13 23:20:29.945 15457 15457 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
01-13 23:20:29.945 15457 15457 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
01-13 23:20:29.945 15457 15457 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
01-13 23:20:29.945 15457 15457 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2142)
01-13 23:20:29.945 15457 15457 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
01-13 23:20:29.945 15457 15457 E AndroidRuntime: at android.os.Looper.loop(Looper.java:236)
01-13 23:20:29.945 15457 15457 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7864)
01-13 23:20:29.945 15457 15457 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-13 23:20:29.945 15457 15457 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:620)
01-13 23:20:29.945 15457 15457 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1011)

Categories

Resources