[APP] [FEEDBACK] Arnova8G2's Google Camera Port - Xiaomi Mi Note 3 Themes, Apps, and Mods

As requested by @Arnova8G2 and as already available in other supported devices subforum, this thread is dedicated to Arnova8G2's version of Google Camera Port.
Latest known working version: GCam5.1.018-Arnova8G2-V1.7Beta2.apk
Config camera HDR+: Nexus 6 Auto, any other config will result in blank viewfinder.
Both lens blur and portrait mode works, but portrait works only for human object. The closer the object the more aggressive the blur is.
Other features work as expected.
Latest tested beta version: GoogleCamera-Pixel2Mod-Arnova8G2-V6-Beta16.apk
Bug: crash on start
Logcat:
Code:
02-19 04:59:57.234 1663 1687 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.GoogleCamera/com.android.camera.CameraLauncher (has extras)} from uid 10120 on display 0
02-19 04:59:57.237 597 2729 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
02-19 04:59:57.239 1663 1687 D ActivityTrigger: activityStartTrigger: Activity is Triggerred in full screen ApplicationInfo{b6c6157 com.google.android.GoogleCamera}
02-19 04:59:57.239 1663 1687 E ActivityTrigger: activityStartTrigger: not whiteListedcom.google.android.GoogleCamera/com.android.camera.CameraLauncher/41362666
02-19 04:59:57.239 2960 3156 I WtProcessController: mCurTask:6955
02-19 04:59:57.240 1663 1687 E ResourceType: Style contains key with bad entry: 0x0101053a
02-19 04:59:57.240 1663 1687 E ResourceType: Style contains key with bad entry: 0x0101053a
02-19 04:59:57.240 1663 1687 D CompatibilityInfo: mCompatibilityFlags - 0
02-19 04:59:57.240 1663 1687 D CompatibilityInfo: applicationDensity - 440
02-19 04:59:57.240 1663 1687 D CompatibilityInfo: applicationScale - 1.0
02-19 04:59:57.241 1663 1868 E ResourceType: Style contains key with bad entry: 0x0101053a
02-19 04:59:57.242 1663 1687 D ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{b6c6157 com.google.android.GoogleCamera} is now in focus and seems to be in full-screen mode
02-19 04:59:57.242 1663 1687 E ActivityTrigger: activityResumeTrigger: not whiteListedcom.google.android.GoogleCamera/com.android.camera.CameraLauncher/41362666
02-19 04:59:57.242 1663 1687 D ActivityTrigger: ActivityTrigger activityPauseTrigger
02-19 04:59:57.258 1663 22378 D ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{b6c6157 com.google.android.GoogleCamera} is now in focus and seems to be in full-screen mode
02-19 04:59:57.258 1663 22378 E ActivityTrigger: activityResumeTrigger: not whiteListedcom.google.android.GoogleCamera/com.android.camera.CameraLauncher/41362666
02-19 04:59:57.266 1663 22378 I ActivityManager: Start proc 14981:com.google.android.GoogleCamera/u0a247 for activity com.google.android.GoogleCamera/com.android.camera.CameraLauncher caller=com.teslacoilsw.launcher
02-19 04:59:57.275 14981 14981 D TidaProvider: TidaProvider()
02-19 04:59:57.284 1663 1687 D CompatibilityInfo: mCompatibilityFlags - 0
02-19 04:59:57.284 1663 1687 D CompatibilityInfo: applicationDensity - 440
02-19 04:59:57.284 1663 1687 D CompatibilityInfo: applicationScale - 1.0
02-19 04:59:57.288 1663 1687 D CompatibilityInfo: mCompatibilityFlags - 0
02-19 04:59:57.288 1663 1687 D CompatibilityInfo: applicationDensity - 440
02-19 04:59:57.288 1663 1687 D CompatibilityInfo: applicationScale - 1.0
02-19 04:59:57.288 2960 3156 I WtProcessController: MOVE TO FOREGROUND: com.google.android.GoogleCamera 10247
02-19 04:59:57.289 2960 3156 I StatusController: Last foreground:com.teslacoilsw.launcher uid:10120 Current foreground:com.google.android.GoogleCamera uid:10247
02-19 04:59:57.289 1663 1687 I Timeline: Timeline: App_transition_ready time:17525606
02-19 04:59:57.289 2960 3156 I WtProcessController: FOREGROUND INFO: name=com.google.android.GoogleCamera uid=10247 pid=14981 TaskId:6955
02-19 04:59:57.290 1663 3189 V LocationPolicy: writePolicyLocked()
02-19 04:59:57.308 1663 1868 I Timeline: Timeline: App_transition_ready time:17525625
02-19 04:59:57.316 2117 2117 V PhoneStatusBarPolicy: updateManagedProfile mManagedProfileFocused: false mManagedProfileInQuietMode: false mKeyguardVisible: false mCurrentUserId:0 mCurrentProfileId:0 mSecondSpaceStatusIconVisible: true showIcon:false
02-19 04:59:57.316 1663 17820 D CompatibilityInfo: mCompatibilityFlags - 0
02-19 04:59:57.316 1663 17820 D CompatibilityInfo: applicationDensity - 440
02-19 04:59:57.316 1663 17820 D CompatibilityInfo: applicationScale - 1.0
02-19 04:59:57.344 1663 1765 D CompatibilityInfo: mCompatibilityFlags - 0
02-19 04:59:57.344 1663 1765 D CompatibilityInfo: applicationDensity - 440
02-19 04:59:57.344 1663 1765 D CompatibilityInfo: applicationScale - 1.0
02-19 04:59:57.354 1663 1765 D CompatibilityInfo: mCompatibilityFlags - 0
02-19 04:59:57.354 1663 1765 D CompatibilityInfo: applicationDensity - 440
02-19 04:59:57.354 1663 1765 D CompatibilityInfo: applicationScale - 1.0
02-19 04:59:57.363 14981 15007 I CameraManagerGlobal: Connecting to camera service
02-19 04:59:57.366 14981 14995 W CameraManagerGlobal: ignore the status update of camera: 2
02-19 04:59:57.366 14981 14995 W CameraManagerGlobal: ignore the status update of camera: 3
02-19 04:59:57.366 14981 14995 W CameraManagerGlobal: ignore the torch status update of camera: 2
02-19 04:59:57.366 14981 14995 W CameraManagerGlobal: ignore the torch status update of camera: 3
02-19 04:59:57.382 14981 14981 E ResourceType: Style contains key with bad entry: 0x0101053a
02-19 04:59:57.384 14981 14981 I CAM_Instrumentation: CameraActivity: App OnCreate duration: 3ms
02-19 04:59:57.384 14981 14981 I CAM_Instrumentation: CameraActivity: App OnCreate End to Activity OnCreate Start: 10ms
02-19 04:59:57.384 14981 14981 I CAM_GcaActivity: [d609883] GcaActivity#onCreate
02-19 04:59:57.385 14981 15007 I CAM_MaxNativeMemory: Max native memory overridden (device): 580
02-19 04:59:57.386 14981 15007 I CAM_MemoryManager: Max native memory: 580000000 bytes. (580MB).
02-19 04:59:57.389 14981 15007 W linker : /data/app/com.google.android.GoogleCamera-1/lib/arm64/libgcam_swig_jni.so: unused DT entry: type 0xf arg 0x46e68
02-19 04:59:57.393 14981 14981 I CAM_CameraUiInflater: Initializing Window Flags
02-19 04:59:57.393 14981 14981 E ResourceType: Style contains key with bad entry: 0x0101053a
02-19 04:59:57.393 14981 15008 I CAM_PermissionsChecker: Checking for critical permissions.
02-19 04:59:57.398 14981 15008 I Timeline: Timeline: Activity_launch_request time:17525715
02-19 04:59:57.400 1663 3189 I ActivityManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.google.android.packageinstaller cmp=com.google.android.packageinstaller/com.android.packageinstaller.permission.ui.GrantPermissionsActivity (has extras)} from uid 10247 on display 0
02-19 04:59:57.400 14981 14981 D AccessibilityManager: current package=com.google.android.GoogleCamera, accessibility manager mIsFinalEnabled=false, mOptimizeEnabled=true, mIsUiAutomationEnabled=false, mIsInterestedPackage=false
02-19 04:59:57.402 1663 3189 D ActivityTrigger: activityStartTrigger: Activity is Triggerred in full screen ApplicationInfo{699b321 com.google.android.packageinstaller}
02-19 04:59:57.402 1663 3189 E ActivityTrigger: activityStartTrigger: not whiteListedcom.google.android.packageinstaller/com.android.packageinstaller.permission.ui.GrantPermissionsActivity/25
02-19 04:59:57.402 1663 3189 D CompatibilityInfo: mCompatibilityFlags - 0
02-19 04:59:57.402 1663 3189 D CompatibilityInfo: applicationDensity - 440
02-19 04:59:57.402 1663 3189 D CompatibilityInfo: applicationScale - 1.0
02-19 04:59:57.404 1663 3189 D ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{699b321 com.google.android.packageinstaller} is now in focus and seems to be in full-screen mode
02-19 04:59:57.404 1663 3189 E ActivityTrigger: activityResumeTrigger: not whiteListedcom.google.android.packageinstaller/com.android.packageinstaller.permission.ui.GrantPermissionsActivity/25
02-19 04:59:57.404 1663 3189 D ActivityTrigger: ActivityTrigger activityPauseTrigger
02-19 04:59:57.417 14981 15007 I CAM_MemoryManager: Registering feature: HDR_PLUS
02-19 04:59:57.417 14981 14981 I CAM_CameraUiInflater: Initializing Camera Ui
02-19 04:59:57.418 14981 15007 I CAM_MemoryManager: State updated. Free Memory: 580000000
02-19 04:59:57.418 14981 15007 I CAM_HexagonEnv: Loading libadsprpc.so from the app
02-19 04:59:57.419 14981 15007 I CAM_HexagonEnv: Loading libhalide_hexagon_host.so from the app
02-19 04:59:57.420 14981 15007 I CAM_HexagonEnv: Writing libhalide_hexagon_remote_skel.so to /data/user/0/com.google.android.GoogleCamera/libhalide_hexagon_remote_skel.so
02-19 04:59:57.421 14981 15007 I CAM_HexagonEnv: ADSP_LIBRARY_PATH=/data/user/0/com.google.android.GoogleCamera;/dsp
02-19 04:59:57.422 14981 15007 E libgcam : [static_metadata.cc:487]: Check: StaticMetadata:frame_raw_max_{width,height} matches neither the active area nor pixel array size.
02-19 04:59:57.422 14981 15007 E libgcam : [gcam.cc:158]: Create: StaticMetadata for sensor ID 1 failed basic error checks.
02-19 04:59:57.451 14981 14981 I CAM_CameraUiInflater: Initializing Action Bar
02-19 04:59:57.454 14981 14981 D AndroidRuntime: Shutting down VM
02-19 04:59:57.456 14981 14981 E CAM_SilentFeedback: Could not find SilentFeedbackService, not sending crash info.
02-19 04:59:57.456 14981 14981 E AndroidRuntime: FATAL EXCEPTION: main
02-19 04:59:57.456 14981 14981 E AndroidRuntime: Process: com.google.android.GoogleCamera, PID: 14981
02-19 04:59:57.456 14981 14981 E AndroidRuntime: java.lang.VerifyError: Verifier rejected class dam: java.lang.Object dam.a() failed to verify: java.lang.Object dam.a(): [0x14] invalid argument count (4) exceeds outsSize (3) (declaration of 'dam' appears in /data/app/com.google.android.GoogleCamera-1/base.apk)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at btf.a(PG)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at btf.<init>(PG)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at com.google.android.apps.camera.legacy.app.activity.main.CameraActivity.onCreate(PG)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at android.os.Looper.loop(Looper.java)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
02-19 04:59:57.456 14981 14981 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
02-19 04:59:57.458 2960 3156 I WtProcessController: Receive am_crash event for pid: 14981 pkg = com.google.android.GoogleCamera
02-19 04:59:57.458 2960 3156 W KloServer: Aborted broadcast does not supprt for: com.google.android.GoogleCamera
device info: View attachment jason.device_info.txt

@leledumbo
Test for Mi Note 3
https://drive.google.com/open?id=1fuNlVPSlgWyjs4QJqsnemTy3ZV8BQQhV

Arnova8G2 said:
@leledumbo
Test for Mi Note 3
https://drive.google.com/open?id=1fuNlVPSlgWyjs4QJqsnemTy3ZV8BQQhV
Click to expand...
Click to collapse
Blank viewfinder, even after changing config to "Nexus 6 Auto". Logcat: View attachment logcat.txt

Do you test with other config ?

Arnova8G2 said:
Do you test with other config ?
Click to expand...
Click to collapse
Yes, all of them results in blank viewfinder.

Arnova8G2 said:
@leledumbo
Test for Mi Note 3
Thanks, the test for Mi Note 3 works perfectly. Only HDR on the front camera does not work.
Click to expand...
Click to collapse

andrei_046 said:
Arnova8G2 said:
@leledumbo
Test for Mi Note 3
Thanks, the test for Mi Note 3 works perfectly. Only HDR on the front camera does not work.
Click to expand...
Click to collapse
How could it work for you? So weird...
Click to expand...
Click to collapse

Arnova8G2 said:
Do you test with other config ?
Click to expand...
Click to collapse
Thanks Arnova for support Mi Note 3!

Here are logs from each config, I've also grep-ed the logcat to only those having CAM_:
View attachment logcat.auto.txt
View attachment logcat.nexus6auto.txt
View attachment logcat.nexus6p.txt
View attachment logcat.pixel2017zslhdr+.txt
The stacktrace look similar, they all fail in InitParams.

leledumbo said:
Blank viewfinder, even after changing config to "Nexus 6 Auto". Logcat: View attachment 4424352
Click to expand...
Click to collapse
try to disable front HDR, its not working on our phone

Guys, i have this installed:
GC_3.2.045_Mi6_MiMix_final_1.1.apk.
It works very well on my Mi Note 3 for photos.
Is this version worse than the post 1?

lubikem01 said:
try to disable front HDR, its not working on our phone
Click to expand...
Click to collapse
Damn, it's so simple but I didn't try! HUGE thanks!

Mord0rr said:
Guys, i have this installed:
GC_3.2.045_Mi6_MiMix_final_1.1.apk.
It works very well on my Mi Note 3 for photos.
Is this version worse than the post 1?
Click to expand...
Click to collapse
Not worse, just different and is based on older version. It's more stable but has less features. I believe that's BSG work.

@Arnova8G2 after some night testing, I found that the last one you gave has greenish issue on dark area. Here are some comparisons both outdoor and indoor, compared to MIUI camera (outdoor one with HDR on):
{
"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"
}

Arnova8G2 said:
Do you test with other config ?
Click to expand...
Click to collapse
Hi,
I tested both AUTO and Nexus6AUTO config. Still blank view finder
Here are the logs.

lubikem01 said:
try to disable front HDR, its not working on our phone
Click to expand...
Click to collapse
I had another version of GCam5Mod working. Using config Nexus6Auto. It even works with ZSL. However the video has blank viewfinder.
However I uninstalled it somehow. The only thing I remember is that it has model selection from the first page of the settings menu. Not sure which one was it just randomly grabbed from xda posts lol
---------- Post added at 02:40 AM ---------- Previous post was at 02:18 AM ----------
leledumbo said:
Damn, it's so simple but I didn't try! HUGE thanks!
Click to expand...
Click to collapse
Tried this, it totally works.
There are some minor issues. HDR+Enhanced crashes, video 1080p60fps video output is corrupted.
Let me try tweak these.

For tests before the final version
https://drive.google.com/open?id=1QFqNimgDUG539RsmgD_bkj7hwzKfLzTA

Arnova8G2 said:
For tests before the final version
Click to expand...
Click to collapse
Focus on pressing the screen does not work.

Arnova8G2 said:
For tests before the final version
https://drive.google.com/open?id=1QFqNimgDUG539RsmgD_bkj7hwzKfLzTA
Click to expand...
Click to collapse
This seems to fix the front camera, at least it's usable even if HDR+ for it still has to be disabled. Pixel 2017 Zsl+ config causes blurry image, though. But perhaps it's expected, it's ZSL after all. Choosing auto config makes more appropriate shutter speed. Portrait mode causes blank viewfinder with non-responding interface which finally terminates itself.
For the back camera, greenish hue issue is still there.

Strangely, MI6 i put above works very well after a small tests e did at night...

Related

ICS reboots due to 4g/WiMax

I've noticed that multiple people, including myself, have had multiple issues with random reboots on various ICS roms. Well it was driving me crazy, so I decided to catch it in the act. Please see this from my logcat:
Code:
04-18 17:04:36.799 E AlarmManagerService: android_server_AlarmManagerService_set to type=2, 115438.634000000
04-18 17:04:36.799 V AlarmManager: trigger WAKEUP Alarm{41c5fcd8 type 2 android}
04-18 17:04:36.809 W dalvikvm: threadid=13: thread exiting with uncaught exception (group=0x40c231f8)
04-18 17:04:36.809 E android.os.Debug: [email protected] > dumpstate -k -t -n -z -d -o /data/log/dumpstate_sys_error
04-18 17:04:36.809 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
04-18 17:04:36.809 E AndroidRuntime: java.lang.NoSuchMethodError: com.android.server.WimaxService.access$1002
04-18 17:04:36.809 E AndroidRuntime: at com.android.server.WimaxService$4.onReceive(WimaxService.java:1150)
04-18 17:04:36.809 E AndroidRuntime: at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:728)
04-18 17:04:36.809 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:605)
04-18 17:04:36.809 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:92)
04-18 17:04:36.809 E AndroidRuntime: at android.os.Looper.loop(Looper.java:137)
04-18 17:04:36.809 E AndroidRuntime: at com.android.server.ServerThread.run(SystemServer.java:986)
04-18 17:04:36.834 I dumpstate: Check if stand-alone
04-18 17:04:36.859 I dumpstate: begin
I went back through several saved logcats after these reboots, and the signature looks the same. It looks to me as if the WiMax service (WimaxService.java) is calling an invalid method (com.android.server.WimaxService.access$1002), and causing android server to crash with a FATAL exception.
Now, I'm not a programmer, but does anyone have any ideas on how we can investigate the code and see if we can make a workaround? Thoughts anyone? I'll keep at this.
I'm not a program either, but I know Team Nocturnal had this same issue on a couple of their ROMs and Mijjah was working on it. Not sure if he has any logs of it happening.
I do know he's working on an AOKP rom as well, which I'm using, and I haven't had the issue yet.
Maybe post this in the dev thread of the rom you are using. I think we can all benefit from this Im sick of my phone rebooting while using 4g!!

[HELP] Google Camera crashing with cam2api enable and rooted on Pixel Experience

Hello everyone!
I need to record 1080p60fps videos on my Redmi Note 5 (pro) global. I have official Pixel Experience rom. I don't really care about Google Cam, but it seems like the only app that allows to record in 60fps (open camera record in 4k, but not in 1080p60), so I tried to install it. I have Magisk v16.0 with Camera2 API Enabler installed (checked using getprop and it is enabled), but I practically every google camera mod I tried is crashing. Here is log (same for all):
HTML:
07-18 11:27:15.713 746 796 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [2, 0]
07-18 11:27:15.779 3205 3475 D AudioService: Stream muted, skip playback
07-18 11:27:15.780 3205 8023 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.Pixel2Mod/com.android.camera.CameraLauncher bnds=[30,880][234,1172]} from uid 10026
07-18 11:27:15.835 3205 3963 I ActivityManager: Start proc 9448:com.google.android.Pixel2Mod/u0a122 for activity com.google.android.Pixel2Mod/com.android.camera.CameraLauncher
07-18 11:27:15.923 4495 4495 I MicroDetector: Keeping mic open: false
07-18 11:27:15.923 4495 4288 I DeviceStateChecker: DeviceStateChecker cancelled
07-18 11:27:15.923 4495 2001 I AudioController: internalShutdown
07-18 11:27:15.924 4495 9439 I MicroRecognitionRunner: Stopping hotword detection.
07-18 11:27:15.924 4495 1171 I MicroRecognitionRunner: Detection finished
07-18 11:27:15.952 720 7863 D audio_hw_primary: in_standby: enter: stream (0xe64c4800) usecase(18: audio-record)
07-18 11:27:15.993 9448 9466 I CameraManagerGlobal: Connecting to camera service
07-18 11:27:16.000 9448 9466 W CameraManagerGlobal: [soar.cts] ignore the status update of camera: 2
07-18 11:27:16.001 9448 9466 W CameraManagerGlobal: [soar.cts] ignore the status update of camera: 3
07-18 11:27:16.003 833 891 I mmid : select timeout: wait for receiving msg
07-18 11:27:16.007 720 7863 D audio_hw_primary: disable_audio_route: reset and update mixer path: audio-record
07-18 11:27:16.008 720 7863 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_id 18 of type 1 for Event 2, with Raise=0
07-18 11:27:16.008 720 7863 D hardware_info: hw_info_append_hw_type : device_name = voice-rec-mic
07-18 11:27:16.008 720 7863 D audio_hw_primary: disable_snd_device: snd_device(95: voice-rec-mic)
07-18 11:27:16.008 720 7863 D msm8916_platform: platform_split_snd_device: snd_device(95) num devices(0) new_snd_devices(0)
07-18 11:27:16.011 720 7863 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x5f of type 1 for Event 0, with Raise=1
07-18 11:27:16.011 720 7863 D sound_trigger_platform: platform_stdev_check_and_update_concurrency: concurrency active 0, tx 0, rx 0, concurrency session_allowed 1
07-18 11:27:16.013 722 1748 I QCamera : <HAL><INFO> getCameraInfo: 397: Camera id 0 API version 256
07-18 11:27:16.013 722 1748 I QCamera : <HAL><INFO> getCamInfo: 10404: camera 0 resource cost is 100
07-18 11:27:16.013 720 7863 D audio_hw_primary: in_set_parameters: enter: kvpairs=routing=0
07-18 11:27:16.014 2715 3296 I SoundTriggerHwService::Module: onCallbackEvent no clients
07-18 11:27:16.015 4495 2002 I MicrophoneInputStream: mic_close SR : 16000 CC : 16 SO : 1999
07-18 11:27:16.017 720 7863 D audio_hw_primary: adev_close_input_stream: enter:stream_handle(0xe64c4800)
07-18 11:27:16.017 720 7863 D audio_hw_primary: in_standby: enter: stream (0xe64c4800) usecase(18: audio-record)
07-18 11:27:16.035 9448 9466 I CAM_MaxNativeMemory: Max native memory overridden (device): 1160
07-18 11:27:16.036 9448 9466 I CAM_MemoryManager: Max native memory: 1160000000 bytes. (1160MB).
07-18 11:27:16.046 9448 9448 I CAM_Instrumentation: CameraActivity: App OnCreate duration: 8ms
07-18 11:27:16.047 9448 9448 I CAM_Instrumentation: CameraActivity: App OnCreate End to Activity OnCreate Start: 24ms
07-18 11:27:16.047 9448 9448 I CAM_GcaActivity: [f75a52b] GcaActivity#onCreate
07-18 11:27:16.050 9448 9466 W linker : "/data/app/com.google.android.Pixel2Mod-jEj88MEA0xdz3YI6ZIKzOA==/lib/arm64/libgcam_swig_jni.so" unused DT entry: type 0xf arg 0x46e68
07-18 11:27:16.054 722 1748 I QCamera : <HAL><INFO> getCameraInfo: 397: Camera id 1 API version 256
07-18 11:27:16.054 722 1748 I QCamera : <HAL><INFO> getCamInfo: 10404: camera 1 resource cost is 100
07-18 11:27:16.064 9448 9448 I CAM_CameraUiInflater: Initializing Window Flags
07-18 11:27:16.066 9448 9467 I CAM_PermissionsChecker: Checking for critical permissions.
07-18 11:27:16.076 3205 3963 I ActivityManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.packageinstaller cmp=com.android.packageinstaller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10122
07-18 11:27:16.104 9448 9448 I CAM_CameraUiInflater: Initializing Camera Ui
07-18 11:27:16.106 9448 9466 I CAM_MemoryManager: Registering feature: HDR_PLUS
07-18 11:27:16.108 9448 9466 I CAM_MemoryManager: State updated. Free Memory: 1160000000
07-18 11:27:16.203 9448 9448 I CAM_CameraUiInflater: Initializing Action Bar
07-18 11:27:16.213 9448 9448 I CAM_Instrumentation: CameraActivity: OnCreate duration: 166ms
07-18 11:27:16.213 9448 9448 I CAM_GcaActivity: [f75a52b] GcaActivity#onStart
07-18 11:27:16.215 9448 9448 I CAM_Instrumentation: CameraActivity: OnCreate End to OnResume Start: 2ms
07-18 11:27:16.215 9448 9448 I CAM_GcaActivity: [f75a52b] GcaActivity#onResume
07-18 11:27:16.216 9448 9448 I CAM_Instrumentation: CameraActivity: OnResume duration: 0ms
07-18 11:27:16.220 9448 9474 D OpenGLRenderer: HWUI GL Pipeline
07-18 11:27:16.226 9448 9448 I CAM_GcaActivity: [f75a52b] GcaActivity#onPause
07-18 11:27:16.239 9448 9448 I CAM_MemoryManager: State updated. Free Memory: 1160000000
07-18 11:27:16.239 9448 9448 I CAM_MemoryManager: State updated. Free Memory: 1160000000
07-18 11:27:16.239 9448 9448 D AndroidRuntime: Shutting down VM
07-18 11:27:16.239 9448 9448 E AndroidRuntime: FATAL EXCEPTION: main
07-18 11:27:16.239 9448 9448 E AndroidRuntime: Process: com.google.android.Pixel2Mod, PID: 9448
07-18 11:27:16.239 9448 9448 E AndroidRuntime: java.lang.NullPointerException: Attempt to get length of null array
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at cok.a(Unknown Source:166)
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at ccv.a(Unknown Source:54)
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at com.a(Unknown Source:58)
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at jxg.a(Unknown Source:15)
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at con.run(Unknown Source:36)
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at gvc.run(Unknown Source:8)
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at hzy.run(Unknown Source:2)
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
07-18 11:27:16.239 9448 9448 E AndroidRuntime: at avv.run(Unknown Source:5)
07-18 11:27:16.244 9448 9448 E CAM_SilentFeedback: Could not find SilentFeedbackService, not sending crash info.
07-18 11:27:16.248 3205 3298 I ActivityManager: Showing crash dialog for package com.google.android.Pixel2Mod u0
07-18 11:27:17.333 14120 14231 D ClClient: Not sending keepalive. Current connection state=STOPPED
07-18 11:27:18.877 4495 1171 I EventLogSendingHelper: Sending log events.
07-18 11:27:19.006 833 891 I mmid : select timeout: wait for receiving msg
07-18 11:27:19.195 4470 4525 I cr_BindingManager: Release moderate connections: 1
07-18 11:27:22.009 833 891 I mmid : select timeout: wait for receiving msg
07-18 11:27:25.811 3205 3295 W ActivityManager: Launch timeout has expired, giving up wake lock!
07-18 11:27:25.012 833 891 I mmid : select timeout: wait for receiving msg
07-18 11:27:27.333 14120 14231 D ClClient: Not sending keepalive. Current connection state=STOPPED
07-18 11:27:28.015 833 891 I mmid : select timeout: wait for receiving msg
It immediately crashes right after I open it. It just asks for camera and microphone permissions. I think there is some internal issue (maybe?). Crashing at:
HTML:
java.lang.NullPointerException: Attempt to get length of null array
I've had the same error.
So i enabled cam2api in build.prop manualy
Steps to follow on this ROM, else you will face force closes
1. Go to /system/ & copy build.prop to internal storage for backup
2. Open the system/build.prop with text editor
3. Scroll to the last & leave a space after the last line
4. Add the below lines
#Camera2 API
persist.camera.HAL3.enabled=1
5. reboot
burish said:
I've had the same error.
So i enabled cam2api in build.prop manualy
Steps to follow on this ROM, else you will face force closes
1. Go to /system/ & copy build.prop to internal storage for backup
2. Open the system/build.prop with text editor
3. Scroll to the last & leave a space after the last line
4. Add the below lines
#Camera2 API
persist.camera.HAL3.enabled=1
5. reboot
Click to expand...
Click to collapse
OH YEEEEAAAAAHHH! Thanks a lot! It is working now!
Damm. It's working, but there is no 60fps recording. Any ideas?
Which Version of GCAM do you use?
In https://forum.xda-developers.com/redmi-note-5-pro/themes/app-arnova8g2s-google-camera-port-t3784423 its actually listed as a feature
Maybe you should try the listed gcam from 1 post
I am also on Pixel Experience. For me Arnovas GCAM Pixel2 Mod v.8.1. works without any bugs. I flashed camera2api as zip file trough twrp. Now im waiting for stock camera port.

Random reboots (logcat is inside), please advise

Hello techy people,
I have bought XA2, unlocked bootloader and installed latest LOS 15 (30 Nov build). Installed Magisk, MicroG, Afwall, all worked well and today random reboots started to happen. Sometimes it happens when I play with location settings in maps app, sometimes when I use the messenger. I did a few logcats and all of them have the following bit:
12-02 39.242 12603 12689 D ConnectivityService: handleLingerComplete for NetworkAgentInfo [MOBILE (LTE) - 100]
12-02 39.258 12449 12488 W IptablesRestoreController: iptables-restore process 12453 terminated status=256
12-02 39.262 12449 12488 E Netd : failed to change iptables rule that sets incoming packet mark
12-02 39.262 12449 12488 E Netd : failed to change permission on interface rmnet_data0 of netId 100 from 0 to 1
12-02 39.266 12603 12689 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: ConnectivityServiceThread
12-02 39.266 12603 12689 E AndroidRuntime: java.lang.IllegalStateException: command '67 network permission network set NETWORK 100' failed with '400 67 setPermissionForNetworks() failed (Remote I/O error)'
12-02 39.266 12603 12689 E AndroidRuntime: at com.android.server.NetworkManagementService.setNetworkPermission(NetworkManagementService.java:2707)
12-02 39.266 12603 12689 E AndroidRuntime: at com.android.server.ConnectivityService.updateCapabilities(ConnectivityService.java:4708)
12-02 39.266 12603 12689 E AndroidRuntime: at com.android.server.ConnectivityService.handleLingerComplete(ConnectivityService.java:4879)
12-02 39.266 12603 12689 E AndroidRuntime: at com.android.server.ConnectivityService.-wrap9(Unknown Source:0)
12-02 39.266 12603 12689 E AndroidRuntime: at com.android.server.ConnectivityService$NetworkStateTrackerHandler.maybeHandleNetworkAgentInfoMessage(ConnectivityService.java:2213)
12-02 39.266 12603 12689 E AndroidRuntime: at com.android.server.ConnectivityService$NetworkStateTrackerHandler.handleMessage(ConnectivityService.java:2225)
12-02 39.266 12603 12689 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
12-02 39.266 12603 12689 E AndroidRuntime: at com.android.internal.util.WakeupMessage.onAlarm(WakeupMessage.java:111)
12-02 39.266 12603 12689 E AndroidRuntime: at android.app.AlarmManager$ListenerWrapper.run(AlarmManager.java:243)
12-02 39.266 12603 12689 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:790)
12-02 39.266 12603 12689 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
12-02 39.266 12603 12689 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
12-02 39.266 12603 12689 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:65)
12-02 39.266 12603 12689 E AndroidRuntime: Caused by: com.android.server.NativeDaemonConnector$NativeDaemonFailureException: command '67 network permission network set NETWORK 100' failed with '400 67 setPermissionForNetworks() failed (Remote I/O error)'
12-02 39.266 12603 12689 E AndroidRuntime: at com.android.server.NativeDaemonConnector.executeForList(NativeDaemonConnector.java:505)
12-02 39.266 12603 12689 E AndroidRuntime: at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:401)
12-02 39.266 12603 12689 E AndroidRuntime: at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:396)
12-02 39.266 12603 12689 E AndroidRuntime: at com.android.server.NetworkManagementService.setNetworkPermission(NetworkManagementService.java:2702)
12-02 39.266 12603 12689 E AndroidRuntime: ... 12 more
12-02 39.284 12603 12689 I Process : Sending signal. PID: 12603 SIG: 9
12-02 39.440 889 889 I adbd : Framework disconnect
12-02 39.445 859 859 I lowmemorykiller: ActivityManager disconnected
12-02 39.445 859 859 I lowmemorykiller: Closing Activity Manager data connection
12-02 39.446 924 924 E LocSvc_GnssInterface: serviceDied] service died. cookie: 0, who: 0x70de233c20
12-02 39.447 924 924 E LocSvc_APIClientBase: locAPIStopTracking:339] invalid session: 0.
12-02 39.447 924 924 E GnssHal_GnssGeofencing: serviceDied] service died. cookie: 0, who: 0x70de233fe0
12-02 39.447 924 924 E LocSvc_GnssNiInterface: serviceDied] service died. cookie: 0, who: 0x70de2b3020
12-02 39.451 12727 12744 W Sensors : sensorservice died [0x722207c3e0]
12-02 39.451 598 598 D SurfaceFlinger: Set power mode=2, type=0 flinger=0x750ae5f000
12-02 39.451 575 575 I ServiceManager: service 'launcherapps' died
12-02 39.452 14342 14420 W Sensors : sensorservice died [0xe6b374c0]
12-02 39.452 575 575 I ServiceManager: service 'media_projection' died
12-02 39.452 575 575 I ServiceManager: service 'media.camera.proxy' died
12-02 39.453 575 575 I ServiceManager: service 'autofill' died
12-02 39.453 575 575 I ServiceManager: service 'imms' died
12-02 39.453 575 575 I ServiceManager: service 'profile' died
12-02 39.454 575 575 I ServiceManager: service 'usb' died
12-02 39.454 575 575 I ServiceManager: service 'serial' died
12-02 39.455 575 575 I ServiceManager: service 'hardware_properties' died
12-02 39.457 12445 12445 E Zygote : Exit zygote because system server (12603) has terminated
Click to expand...
Click to collapse
I understand that bootloops are caused by setPermissionForNetworks() but not sure how to fix it.
Any help would be appreciated.
All sorted, many thanks
pupsidze said:
All sorted, many thanks
Click to expand...
Click to collapse
How did you fix it?

com.android.statementservice regularly crashing on LineageOS for microg

Hi,
I have just installed LineageOS for microg 19 (19-20220522-microg-bramble) on my Pixel 4a 5g and I am receiving a regular popup every few minutes saying that "Intent Filter Verification Service has stopped".
From what I have read this is used to call another application on the phone (based on what type of thing needs to be handled)??
The logs I am getting with logcat do not seem to lead me towards anything (see below from two examples). I'm not sure if anyone has any suggestions on what could be causing this or where else I can look??
My suspicion is that this is something to do with not having the google apps (using microg instead) but not sure. I did find one other mention of it here, but no solution
Note: I did have LineageOS for microg 18 installed previously which did not exhibit this behaviour...
Example1:
Code:
05-31 23:53:49.627 966 966 D Zygote : Forked child process 10622
05-31 23:53:49.628 1718 2114 I ActivityManager: Start proc 10622:com.android.statementservice/u0a74 for service {com.android.statementservice/androidx.work.impl.background.systemjob.SystemJobService}
05-31 23:53:49.632 10622 10622 I libc : SetHeapTaggingLevel: tag level set to 0
05-31 23:53:49.644 1357 1429 I adbd : jdwp connection from 10622
05-31 23:53:49.646 10622 10622 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
05-31 23:53:49.638 0 0 I : c7 10622 binder: 10622:10622 ioctl 40046210 7fea0fb8d4 returned -22
05-31 23:53:49.651 1718 14826 D CompatibilityChangeReporter: Compat change id reported: 168419799; UID 10074; state: DISABLED
05-31 23:53:49.655 10622 10622 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10074; state: DISABLED
05-31 23:53:49.658 10622 10622 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar
05-31 23:53:49.667 10622 10622 V GraphicsEnvironment: ANGLE Developer option for 'com.android.statementservice' set to: 'default'
05-31 23:53:49.667 10622 10622 V GraphicsEnvironment: ANGLE GameManagerService for com.android.statementservice: false
05-31 23:53:49.668 10622 10622 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
05-31 23:53:49.668 10622 10622 D NetworkSecurityConfig: No Network Security Config specified, using platform default
05-31 23:53:49.668 10622 10622 D NetworkSecurityConfig: No Network Security Config specified, using platform default
05-31 23:53:49.687 10622 10639 D CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10074; state: DISABLED
05-31 23:53:49.689 1718 14826 D CompatibilityChangeReporter: Compat change id reported: 171306433; UID 10074; state: DISABLED
05-31 23:53:49.757 10622 10641 E AndroidRuntime: FATAL EXCEPTION: pool-3-thread-2
05-31 23:53:49.757 10622 10641 E AndroidRuntime: Process: com.android.statementservice, PID: 10622
05-31 23:53:49.757 10622 10641 E AndroidRuntime: java.lang.IllegalStateException: Data cannot occupy more than 10240 bytes when serialized
05-31 23:53:49.757 10622 10641 E AndroidRuntime: at androidx.work.Data.toByteArrayInternal(Data.java:417)
05-31 23:53:49.757 10622 10641 E AndroidRuntime: at androidx.work.Data$Builder.build(Data.java:846)
05-31 23:53:49.757 10622 10641 E AndroidRuntime: at androidx.work.OverwritingInputMerger.merge(OverwritingInputMerger.java:44)
05-31 23:53:49.757 10622 10641 E AndroidRuntime: at androidx.work.impl.WorkerWrapper.runWorker(WorkerWrapper.java:227)
05-31 23:53:49.757 10622 10641 E AndroidRuntime: at androidx.work.impl.WorkerWrapper.run(WorkerWrapper.java:137)
05-31 23:53:49.757 10622 10641 E AndroidRuntime: at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
05-31 23:53:49.757 10622 10641 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
05-31 23:53:49.757 10622 10641 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
05-31 23:53:49.757 10622 10641 E AndroidRuntime: at java.lang.Thread.run(Thread.java:920)
05-31 23:53:49.761 1718 10645 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
05-31 23:53:49.762 10622 10641 I Process : Sending signal. PID: 10622 SIG: 9
05-31 23:53:49.782 1718 14826 I ActivityManager: Process com.android.statementservice (pid 10622) has died: cch+5 CEM
05-31 23:53:49.782 1718 2118 I libprocessgroup: Successfully killed process cgroup uid 10074 pid 10622 in 0ms
05-31 23:53:49.782 966 966 I Zygote : Process 10622 exited due to signal 9 (Killed)
Example2:
Code:
05-31 23:54:24.620 966 966 D Zygote : Forked child process 10707
05-31 23:54:24.620 1718 2114 I ActivityManager: Start proc 10707:com.android.statementservice/u0a74 for service {com.android.statementservice/androidx.work.impl.background.systemjob.SystemJobService}
05-31 23:54:24.625 10707 10707 I libc : SetHeapTaggingLevel: tag level set to 0
05-31 23:54:24.639 1357 1429 I adbd : jdwp connection from 10707
05-31 23:54:24.640 10707 10707 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
05-31 23:54:24.633 0 0 I : c3 10707 binder: 10707:10707 ioctl 40046210 7fea0fb8d4 returned -22
05-31 23:54:24.650 1718 14826 D CompatibilityChangeReporter: Compat change id reported: 168419799; UID 10074; state: DISABLED
05-31 23:54:24.654 10707 10707 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10074; state: DISABLED
05-31 23:54:24.660 10707 10707 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar
05-31 23:54:24.678 10707 10707 V GraphicsEnvironment: ANGLE Developer option for 'com.android.statementservice' set to: 'default'
05-31 23:54:24.678 10707 10707 V GraphicsEnvironment: ANGLE GameManagerService for com.android.statementservice: false
05-31 23:54:24.679 10707 10707 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
05-31 23:54:24.680 10707 10707 D NetworkSecurityConfig: No Network Security Config specified, using platform default
05-31 23:54:24.680 10707 10707 D NetworkSecurityConfig: No Network Security Config specified, using platform default
05-31 23:54:24.699 10707 10724 D CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10074; state: DISABLED
05-31 23:54:24.700 1718 4358 D CompatibilityChangeReporter: Compat change id reported: 171306433; UID 10074; state: DISABLED
05-31 23:54:24.726 1315 1315 I cnss-daemon: nl80211 response handler invoked
05-31 23:54:24.726 1315 1315 I cnss-daemon: nl80211_response_handler: cmd 103, vendorID 4980, subcmd 13 received
05-31 23:54:24.727 1017 2427 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
05-31 23:54:24.765 10707 10726 E AndroidRuntime: FATAL EXCEPTION: pool-3-thread-2
05-31 23:54:24.765 10707 10726 E AndroidRuntime: Process: com.android.statementservice, PID: 10707
05-31 23:54:24.765 10707 10726 E AndroidRuntime: java.lang.IllegalStateException: Data cannot occupy more than 10240 bytes when serialized
05-31 23:54:24.765 10707 10726 E AndroidRuntime: at androidx.work.Data.toByteArrayInternal(Data.java:417)
05-31 23:54:24.765 10707 10726 E AndroidRuntime: at androidx.work.Data$Builder.build(Data.java:846)
05-31 23:54:24.765 10707 10726 E AndroidRuntime: at androidx.work.OverwritingInputMerger.merge(OverwritingInputMerger.java:44)
05-31 23:54:24.765 10707 10726 E AndroidRuntime: at androidx.work.impl.WorkerWrapper.runWorker(WorkerWrapper.java:227)
05-31 23:54:24.765 10707 10726 E AndroidRuntime: at androidx.work.impl.WorkerWrapper.run(WorkerWrapper.java:137)
05-31 23:54:24.765 10707 10726 E AndroidRuntime: at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
05-31 23:54:24.765 10707 10726 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
05-31 23:54:24.765 10707 10726 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
05-31 23:54:24.765 10707 10726 E AndroidRuntime: at java.lang.Thread.run(Thread.java:920)
05-31 23:54:24.768 1718 10731 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
Sorry I don't have a solution for you but since you are using LineageOS+microG on a Pixel phone, you might be interested in switching to CalyxOS as they seem to already have a workaround in place even though the bug isn't fixed yet.
See here under "Issues":
CalyxOS News
📰 Read about what we're working on, important announcements, and upcoming events.
calyxos.org
Relevant commit:
https://review.calyxos.org/c/CalyxOS/vendor_calyx/+/7976
As a bonus, with CalyxOS you also get better security than just LineageOS+microG thanks to bootloader relocking.
I am suffered by that bug too. I can't see any harm by this, but it is annoying. The patch in CalyxOS is just to hide that problem as a workaround.
I filed a bug report here:
Intent filter verification service / com.android.statementservice regularly crashing on LineageOS for microg · Issue #1740 · microg/GmsCore
I am aware this is a very unclear specification of a bug. It is not clear who and what is responsible for this - can be also Android12 (LOS). But it seems to be that the combination of LOS and micr...
github.com
Please report there all your findings @maloo1 and @johnfocker
So I ended up following @johnfocker's suggestion and installed CalyxOS (android 12) and it does "fix" the issue.
I guess Calyx is a perfect fit for my needs anyway (microg, locked boot loader, great polished daily driver) so Ill probably stick with it unless I end up with a phone that is not supported.
It would make sense to have it fixed in microg thou if thats the root cause... I'll see what I can add to the bug...
Thanks again!
Very strange. The messages disappear to pop up after some time.
Lately I installe the new Magisk 25 and BetterBatteryStats (XDA) and it appears again - althoug I am not sure that was really reason. There is continiously changes in phone, so difficult to nail it down.
Quote from flipreverse:
This seems to be a bug in AOSP: https://android.googlesource.com/platform/frameworks/base/+/4978d1ad10293900e9b5feea349abd09ceb6e710
The LOS repo android_frameworks_base does not have this commit at the moment. I'll cherry-pick that one, and give it a try.
Click to expand...
Click to collapse
ale5000 said:
Quote from flipreverse:
Click to expand...
Click to collapse
ist this the bug fix?
https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/334683
kurtn said:
ist this the bug fix?
https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/334683
Click to expand...
Click to collapse
Yes.
ale5000 said:
Yes.
Click to expand...
Click to collapse
Just too late for the lineage.microg.org August round of builds.

Question Self-compiled ROM reboot

Here is the log that caused the restart
04-05 09:33:57.788 31933 31977 E AndroidRuntime: FATAL EXCEPTION: pool-5-thread-1
04-05 09:33:57.788 31933 31977 E AndroidRuntime: Process: com.shannon.imsservice, PID: 31933
04-05 09:33:57.788 31933 31977 E AndroidRuntime: java.lang.RuntimeException: failed to set system property (check logcat for reason)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at android.os.SystemProperties.native_set(Native Method)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at android.os.SystemProperties.set(SystemProperties.java:235)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at com.shannon.imsservice.ut.ImsUt.setCallWaitingSyncProperty(ImsUt.java:1393)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at com.shannon.imsservice.ut.ImsUt.lambda$refreshCallWaiting$28(ImsUt.java:1211)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at com.shannon.imsservice.ut.ImsUt.$r8$lambda$A880XJDdCNHXPHCDkqclCeZT2U8(Unknown Source:0)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at com.shannon.imsservice.ut.ImsUt$$ExternalSyntheticLambda22.execute(Unknown Source:6)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at com.shannon.imsservice.ut.ImsUt.runStoredUtRequest(ImsUt.java:999)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at com.shannon.imsservice.ut.ImsUt.runNewUtRequest(ImsUt.java:946)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at com.shannon.imsservice.ut.ImsUt.executeIfAvailable(ImsUt.java:940)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at com.shannon.imsservice.ut.ImsUt.executeIfAvailable(ImsUt.java:933)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at com.shannon.imsservice.ut.ImsUt.refreshCallWaiting(ImsUt.java:1201)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at com.shannon.imsservice.ut.ImsUt.lambda$refreshCallWaitingAsync$27(ImsUt.java:1155)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at com.shannon.imsservice.ut.ImsUt.$r8$lambda$V3-4-1Ak7OCWx7C1l3QhRu_06mA(Unknown Source:0)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at com.shannon.imsservice.ut.ImsUt$$ExternalSyntheticLambda15.run(Unknown Source:4)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
04-05 09:33:57.788 31933 31977 E AndroidRuntime: at java.lang.Thread.run(Thread.java:1012)
04-05 09:33:57.788 523 565 D display : setActiveConfigWithConstraints:: PrimaryDisplay config(36) test(0)
04-05 09:33:57.788 31933 31971 D SHANNON_IMS: 0161 [CONN] triggerRegistering by WIFI_CONNECT_CHANGE [SLID:0] (ImsConnectivityMgr%triggerRegistering:3534)
04-05 09:33:57.789 2690 2746 D LocalImageResolver: Couldn't use ImageDecoder for drawable, falling back to non-resized load.
04-05 09:33:57.789 31933 31979 D SHANNON_IMS: 0162 [UT##] Other Ut request already running. Add request in pending queue [SLID:0 ] (ImsUt%runNewUtRequest:948)
04-05 09:33:57.791 1452 1525 W ActivityManager: Process com.shannon.imsservice has crashed too many times, killing! Reason: crashed quickly
04-05 09:33:57.791 31933 31977 I Process : Sending signal. PID: 31933 SIG: 9
04-05 09:33:57.793 1452 1526 W RescueParty: Attempting rescue level WARM_REBOOT
04-05 09:33:57.794 1452 1526 D PackageManager: Finished rescue level WARM_REBOOT for package com.shannon.imsservice
Post sources links, maybe there's something in there
I'm compiling my own custom rom and never found this error
Schnedi said:
发布资源链接,也许那里有东西
我正在编译自己的自定义 ROM,但从未发现此错误
Click to expand...
Click to collapse
rom sources https://github.com/exthmui
kernel sources https://android.googlesource.com/device/google/raviole-kernel/
vendor image https://dl.google.com/dl/android/aosp/google_devices-raven-tq2a.230305.008.f1-54772b94.tgz
As the log says, the error is caused by: com.shannon.imsservice
Didn't see anything on the rom sources that may cause the error, and kernel is stock, so I'd say not its fault
Not sure how that vendor image file works, but shannon ims is provided by the vendor (also the needed permissions): https://gitlab.com/schnedi3/vendor_...13/proprietary/system_ext/priv-app/ShannonIms
I recommend you to use a vendor tree extracted with adevtool (or even lineageos extract tool)
Schnedi said:
As the log says, the error is caused by: com.shannon.imsservice
Didn't see anything on the rom sources that may cause the error, and kernel is stock, so I'd say not its fault
Not sure how that vendor image file works, but shannon ims is provided by the vendor (also the needed permissions): https://gitlab.com/schnedi3/vendor_...13/proprietary/system_ext/priv-app/ShannonIms
I recommend you to use a vendor tree extracted with adevtool (or even lineageos extract tool)
Click to expand...
Click to collapse
I modified the device tree and added some SELinux rules, but this happened again in the compilation
FAILED: /mnt/ubuntu/home/ghhc/exui/out/soong/.intermediates/system/sepolicy/pub_policy.cil/android_common/pub_policy.cil
/mnt/ubuntu/home/ghhc/exui/out/host/linux-x86/bin/checkpolicy -C -M -c 30 -o /mnt/ubuntu/home/ghhc/exui/out/soong/.intermediates/system/sepolicy/pub_policy.cil/android_common/pub_policy.cil /mnt/ubuntu/home/ghhc/exui/out/soong/.intermediates/system/sepolicy/pub_policy.conf/android_common/pub_policy.conf && /mnt/ubuntu/home/ghhc/exui/out/host/linux-x86/bin/build_sepolicy filter_out -f /mnt/ubuntu/home/ghhc/exui/out/soong/.intermediates/system/sepolicy/reqd_policy_mask.cil/android_common/reqd_policy_mask.cil -t /mnt/ubuntu/home/ghhc/exui/out/soong/.intermediates/system/sepolicy/pub_policy.cil/android_common/pub_policy.cil # hash of input list: aa6039e1ca8cac20dc39c60dd5d085ec691a6a1094a3c1fa4f3948e274bc8992
device/google/gs101-sepolicy/whitechapel/vendor/google/chre.te:16:ERROR 'syntax error' at token 'usf_low_latency_transport' on line 38138:
usf_low_latency_transport(chre)
# Allow CHRE to use the USF low latency transport
checkpolicy: error(s) encountered while parsing configuration
21:34:40 ninja failed with: exit status 1
Revert this commit for now
Add policy for USF low latency transport gralloc usage. · RealSchnedi/[email protected]
Bug: 183233052 Test: Verified regular and direct report sampling on Raven with shared memory transport enabled. Test: See details in testing done comment in https://googleplex-android-review.git....
github.com
Schnedi said:
Revert this commit for now
Add policy for USF low latency transport gralloc usage. · RealSchnedi/[email protected]
Bug: 183233052 Test: Verified regular and direct report sampling on Raven with shared memory transport enabled. Test: See details in testing done comment in https://googleplex-android-review.git....
github.com
Click to expand...
Click to collapse
I have restored this commit, but I get an error like the following
[ 50% 180/355] //system/sepolicyub_policy_for_vendor.cil Building cil for pub_policy_for_vendor.cil [common]
FAILED: /mnt/ubuntu/home/ghhc/exui/out/soong/.intermediates/system/sepolicy/pub_policy_for_vendor.cil/android_common/pub_policy_for_vendor.cil
/mnt/ubuntu/home/ghhc/exui/out/host/linux-x86/bin/checkpolicy -C -M -c 30 -o /mnt/ubuntu/home/ghhc/exui/out/soong/.intermediates/system/sepolicy/pub_policy_for_vendor.cil/android_common/pub_policy_for_vendor.cil /mnt/ubuntu/home/ghhc/exui/out/soong/.intermediates/system/sepolicy/pub_policy_for_vendor.conf/android_common/pub_policy_for_vendor.conf && /mnt/ubuntu/home/ghhc/exui/out/host/linux-x86/bin/build_sepolicy filter_out -f /mnt/ubuntu/home/ghhc/exui/out/soong/.intermediates/system/sepolicy/reqd_policy_mask_for_vendor.cil/android_common/reqd_policy_mask_for_vendor.cil -t /mnt/ubuntu/home/ghhc/exui/out/soong/.intermediates/system/sepolicy/pub_policy_for_vendor.cil/android_common/pub_policy_for_vendor.cil # hash of input list: ff0f05a68765c0a567c7a6b5bb400a51419bef0bfa17d3fdd1bdda6c7d41d03f
device/google/gs101-sepolicy/whitechapel/vendor/google/hal_audio_default.te:26:ERROR 'unknown type hal_audio_default' at token ';' on line 39333:
#line 26
typeattribute hal_audio_default halclientdomain;
checkpolicy: error(s) encountered while parsing configuration
06:09:05 ninja failed with: exit status 1
any luck figuring this out? I'm seeing the same thing with my AOSP build on a Pixel 6a ... works fine on a 4a but not the 6a ... if I remove the SIM card it's fine but with the SIM card in, it'll reboot the phone with this error
I got this reboot to stop by disabling SELinux as it was an SELinux violation causing the issue... not sure what the root cause is though. I'm only doing testing so disabling SELinux isn't a big deal.

Categories

Resources