Edge sense stopped working after RUU update - HTC U12+ Questions & Answers

Hi All,
Edge sense stopped working on my U12+ HK model after I upgraded the firmware to 1.30.708.2 with RUU: edge sensors still work in diagnostics tools, but no ripples appear on the edge of the screen when I squeeze the frames, nor can I setup edge sense(squeezes aren't counted in the 'squeeze 3 times' step, preventing further setup). Upgrading again to 2.57.708.1 doesn't resolve the issue.
Below is how I flashed the RUU:
The phone was running on very old firmware(1.25 or older) when it came in and consistently failed on updating the "settings" app, which prevents me from upgrading to Pie.
I therefore downloaded and flashed 2Q55IMG_IMAGINE_DUGL_P90_SENSE10GP_MR_hTC_Asia_HK_2.57.708.1_R1_Radio_sdm845-000041c-1906261449_release_545073 but it failed signature check during the installation, causing the phone to not boot;
I then flashed 2Q55IMG_IMAGINE_DUGL_O80_SENSE10GP_hTC_Asia_HK_1.30.708.2_Radio_sdm845-000201b-1807311356_release_528114 and successfully unbricked the phone. And that's when edge sense stopped working. Flashing 2.57.708.1 didn't fail at this time, but edge sense didn't come back to life.
Now I wonder how it went wrong... Any help would be appreciated!

Also during my attempts to resolve the issue, I noticed adb logs that complained "EdgeGestureDetector: Failed to read touch_detect" whenever I squeezed the frames:
Context from the logcat below:
Code:
09-24 01:49:49.151 1004 1039 E vpp-hcp : u32VppIpHcp_HwGetHandle (407): hcp_rpc_open returned err, res=59, hndl=0xffffffffffffffff
09-24 01:49:49.151 1004 1039 E vpp-hcp : u32VppIpHcp_FirmwareLoad (3447): unable to get hw handle, attempt=8, u32=8
09-24 01:49:49.182 741 793 I nanohub : [EDGE] Report00 (Up): B0, T0, F3, 371, 276, 183
09-24 01:49:49.243 741 793 I nanohub : [EDGE] Report00 (Down): B0, T0, F2, 316, 232, 149
09-24 01:49:49.344 741 793 I nanohub : [EDGE] Report00 (Up): B0, T0, F2, 322, 237, 154
09-24 01:49:49.384 741 793 I nanohub : [EDGE] Report00 (Down): B0, T0, F1, 309, 225, 143
09-24 01:49:49.454 2893 2893 W gesensorservice: type=1400 audit(0.0:315): avc: denied { read } for name="touch_detect" dev="sysfs" ino=58318 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
09-24 01:49:49.464 741 793 I nanohub : [EDGE] Report00 (Up): B0, T0, F2, 311, 227, 145
09-24 01:49:49.465 2893 2893 D EdgeGestureDetector: Failed to read touch_detect
09-24 01:49:49.465 2893 2893 W System.err: java.io.FileNotFoundException: /sys/android_touch/touch_detect (Permission denied)
09-24 01:49:49.465 2893 2893 W System.err: at java.io.FileInputStream.open0(Native Method)
09-24 01:49:49.465 2893 2893 W System.err: at java.io.FileInputStream.open(FileInputStream.java:231)
09-24 01:49:49.465 2893 2893 W System.err: at java.io.FileInputStream.<init>(FileInputStream.java:165)
09-24 01:49:49.465 2893 2893 W System.err: at java.io.FileInputStream.<init>(FileInputStream.java:112)
09-24 01:49:49.465 2893 2893 W System.err: at com.htc.sense.edgesensorservice2.EdgeGestureDetector.getTouchDetect(SourceFile:67)
09-24 01:49:49.465 2893 2893 W System.err: at com.htc.sense.edgesensorservice2.EdgeGestureDetector.access$000(SourceFile:13)
09-24 01:49:49.465 2893 2893 W System.err: at com.htc.sense.edgesensorservice2.EdgeGestureDetector$DoubleTapDetector.processDoubleTap(SourceFile:363)
09-24 01:49:49.465 2893 2893 W System.err: at com.htc.sense.edgesensorservice2.EdgeGestureDetector$DoubleTapDetector.handleFingerUp(SourceFile:222)
09-24 01:49:49.465 2893 2893 W System.err: at com.htc.sense.edgesensorservice2.EdgeGestureDetector$EdgeSensorGesture.processEvent(SourceFile:164)
09-24 01:49:49.465 2893 2893 W System.err: at com.htc.sense.edgesensorservice2.EdgeGestureDetector.onEdgeEvent(SourceFile:97)
09-24 01:49:49.465 2893 2893 W System.err: at com.htc.sense.edgesensorservice2.EdgeSensorManager.onProcessEvent(SourceFile:238)
09-24 01:49:49.465 2893 2893 W System.err: at com.htc.sense.edgesensorservice2.HtcEdgeSensorEventListener_V2.processEvent(SourceFile:114)
09-24 01:49:49.465 2893 2893 W System.err: at com.htc.sense.edgesensorservice2.HtcEdgeSensorEventListener_V2.onSensorChanged(SourceFile:107)
09-24 01:49:49.465 2893 2893 W System.err: at android.hardware.SystemSensorManager$SensorEventQueue.dispatchSensorEvent(SystemSensorManager.java:850)
09-24 01:49:49.465 2893 2893 W System.err: at android.os.MessageQueue.nativePollOnce(Native Method)
09-24 01:49:49.465 2893 2893 W System.err: at android.os.MessageQueue.next(MessageQueue.java:326)
09-24 01:49:49.465 2893 2893 W System.err: at android.os.Looper.loop(Looper.java:166)
09-24 01:49:49.465 2893 2893 W System.err: at android.app.ActivityThread.main(ActivityThread.java:7124)
09-24 01:49:49.465 2893 2893 W System.err: at java.lang.reflect.Method.invoke(Native Method)
09-24 01:49:49.465 2893 2893 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
09-24 01:49:49.465 2893 2893 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:898)
Not sure if this is relevant to the issue but it does look suspicious to me... Can someone with a functioning working edge sense take a look at /sys/android_touch folder to see if touch_detect is there? Thanks!

Related

emu-ex-plus-alpha emulators cause KatKernel-based TF101 to reboot

I am having a very irritating issue with my TF101. I can't run any of the emu.ex.plus.alpha suite of emulators on any OS based on the KatKernel—attempting to open the emulators simply causes the device to reboot.
The emulators worked on stock, they worked on the last official version of CyanogenMod for the TF101, but they will not work on KatKiss, Omni, or any other OS based on KatKernel.
Sorry to double-post
Found a potential lead in an lc dump:
Code:
09-08 10:18:07.025 I/ActivityManager( 416): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.explusalpha.Snes9xPlus/com.imagine.BaseActivity bnds=[798,85][956,193]} from pid 634
09-08 10:18:07.034 D/PermissionCache( 107): checking android.permission.READ_FRAME_BUFFER for uid=1000 => granted (149 us)
09-08 10:18:07.065 W/BroadcastQueue( 416): Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.search.core.summons.icing.InternalIcingCorporaProvider$ApplicationLaunchReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.android.launcher3 (uid 10008)
09-08 10:18:07.135 I/ActivityManager( 416): Start proc com.explusalpha.Snes9xPlus for activity com.explusalpha.Snes9xPlus/com.imagine.BaseActivity: pid=1420 uid=10063 gids={50063, 1028, 1015, 1023, 3002, 3001}
09-08 10:18:07.185 I/qtaguid ( 1101): Failed write_ctrl(u 59) res=-1 errno=22
09-08 10:18:07.185 I/qtaguid ( 1101): Untagging socket 59 failed errno=-22
09-08 10:18:07.185 W/NetworkManagementSocketTagger( 1101): untagSocket(59) failed with errno -22
09-08 10:18:07.225 E/cutils ( 104): Failed to mkdirat(/storage/sdcard2/Android): Read-only file system
09-08 10:18:07.225 W/ContextI
It is at this point that the device reboots.

Services Start fails. BootLoop. (Stuck at BootAnimation)

Hi. I built CM13 for the Samsung S6. It shows the BootAnimation and then enters a BootLoop. I don't know where the problem is, something related with the services startup. I also get BOOT FAILURE performing boot dexopt.
And a NullPointerException:
void com.android.server.wm.WindowManagerService.updateBootProgress(int, android.content.pm.ApplicationInfo, int, int, boolean)' on a null object reference
Looking at the source from ActivityManagerService, I saw that the NullPointerException comes from executing the method "updateBootProgress" on "mWindowManager", that is null. That object comes from the method "setWindowManager" that is basically a setter. It gets a WindowManagerService object and sets "mWindowManager" to that object. I don't know when this setter is used...
I can't post the LogCat because I'm a new user... Thanks.
Here's the error part:
10-31 23:04:46.689 4122 4122 E System : ******************************************
10-31 23:04:46.690 4122 4122 E System : ************ Failure starting core service
10-31 23:04:46.690 4122 4122 E System : java.lang.RuntimeException: Failed to create service com.android.server.AlarmManagerService: service constructor threw an exception
10-31 23:04:46.690 4122 4122 E System : at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:100)
10-31 23:04:46.690 4122 4122 E System : at com.android.server.SystemServer.startOtherServices(SystemServer.java:512)
10-31 23:04:46.690 4122 4122 E System : at com.android.server.SystemServer.run(SystemServer.java:291)
10-31 23:04:46.690 4122 4122 E System : at com.android.server.SystemServer.main(SystemServer.java:176)
10-31 23:04:46.690 4122 4122 E System : at java.lang.reflect.Method.invoke(Native Method)
10-31 23:04:46.690 4122 4122 E System : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-31 23:04:46.690 4122 4122 E System : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-31 23:04:46.690 4122 4122 E System : Caused by: java.lang.reflect.InvocationTargetException
10-31 23:04:46.690 4122 4122 E System : at java.lang.reflect.Constructor.newInstance(Native Method)
10-31 23:04:46.690 4122 4122 E System : at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:89)
10-31 23:04:46.690 4122 4122 E System : ... 6 more
10-31 23:04:46.690 4122 4122 E System : Caused by: java.lang.NoClassDefFoundError: com.android.server.AlarmManagerService$1
10-31 23:04:46.690 4122 4122 E System : at com.android.server.AlarmManagerService.<init>(AlarmManagerService.java:310)
10-31 23:04:46.690 4122 4122 E System : ... 8 more
10-31 23:04:46.690 4122 4122 I SystemServer: Input Method Service
10-31 23:04:46.692 4122 4122 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.server.InputMethodManagerService$1>
10-31 23:04:46.692 4122 4122 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.server.InputMethodManagerService$1>
10-31 23:04:46.717 4122 4122 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.server.InputMethodManagerService$1>
10-31 23:04:46.717 4122 4122 W SystemServer: ***********************************************
10-31 23:04:46.717 4122 4122 E SystemServer: BOOT FAILURE starting Input Manager Service
10-31 23:04:46.717 4122 4122 E SystemServer: java.lang.NoClassDefFoundError: com.android.server.InputMethodManagerService$1
10-31 23:04:46.717 4122 4122 E SystemServer: at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:209)
10-31 23:04:46.717 4122 4122 E SystemServer: at com.android.server.SystemServer.startOtherServices(SystemServer.java:575)
10-31 23:04:46.717 4122 4122 E SystemServer: at com.android.server.SystemServer.run(SystemServer.java:291)
10-31 23:04:46.717 4122 4122 E SystemServer: at com.android.server.SystemServer.main(SystemServer.java:176)
10-31 23:04:46.717 4122 4122 E SystemServer: at java.lang.reflect.Method.invoke(Native Method)
10-31 23:04:46.717 4122 4122 E SystemServer: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-31 23:04:46.717 4122 4122 E SystemServer: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-31 23:04:46.717 4122 4122 I SystemServer: Accessibility Manager
10-31 23:04:46.720 4122 4122 W SystemServer: ***********************************************
10-31 23:04:46.720 4122 4122 E SystemServer: BOOT FAILURE making display ready
10-31 23:04:46.720 4122 4122 E SystemServer: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.server.wm.WindowManagerService.displayReady()' on a null object reference
10-31 23:04:46.720 4122 4122 E SystemServer: at com.android.server.SystemServer.startOtherServices(SystemServer.java:591)
10-31 23:04:46.720 4122 4122 E SystemServer: at com.android.server.SystemServer.run(SystemServer.java:291)
10-31 23:04:46.720 4122 4122 E SystemServer: at com.android.server.SystemServer.main(SystemServer.java:176)
10-31 23:04:46.720 4122 4122 E SystemServer: at java.lang.reflect.Method.invoke(Native Method)
10-31 23:04:46.720 4122 4122 E SystemServer: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-31 23:04:46.720 4122 4122 E SystemServer: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-31 23:04:46.721 4122 4122 I SystemServiceManager: Starting com.android.server.MountService$Lifecycle
10-31 23:04:46.728 4122 5062 D MountService: Thinking about reset, mSystemReady=false, mDaemonConnected=true
10-31 23:04:46.729 4122 5062 D MountService: Thinking about reset, mSystemReady=false, mDaemonConnected=true
10-31 23:04:46.729 4122 5062 D CryptdConnector: SND -> {1 cryptfs getfield SystemLocale}
10-31 23:04:46.729 4122 4122 I SystemServiceManager: Starting com.android.server.UiModeManagerService
10-31 23:04:46.729 2969 3020 I Ext4Crypt: ext4 crypto complete called on /data
10-31 23:04:46.730 2969 3020 I Ext4Crypt: No master key, so not ext4enc
10-31 23:04:46.731 4122 4122 I ActivityManager: Config changes=200 {1.0 ?mcc?mnc en_US ldltr ?swdp ?wdp ?hdp ?density ?lsize ?long ?orien ?touch ?keyb/?/? ?nav/? s.2 themeResource=null}
10-31 23:04:46.731 4122 5064 D CryptdConnector: RCV <- {200 1 -1}
10-31 23:04:46.732 4122 5062 W MountService: No primary storage mounted!
10-31 23:04:46.733 4122 5062 D VoldConnector: SND -> {1 asec list}
10-31 23:04:46.733 4122 4122 W PackageManager: No disk maintenance in 1477955086733; running immediately
10-31 23:04:46.733 4122 5063 D VoldConnector: RCV <- {400 1 Failed to open asec dir (No such file or directory)}
10-31 23:04:46.734 4122 5062 I PackageManager: No secure containers found
10-31 23:04:46.734 4122 5062 W PackageManager: Not granting permission android.permission.INTERACT_ACROSS_USERS_FULL to package org.cyanogenmod.snap (protectionLevel=258 flags=0x38d8bc45)
10-31 23:04:46.734 4122 5062 W PackageManager: Not granting permission android.permission.SET_ORIENTATION to package org.cyanogenmod.snap (protectionLevel=2 flags=0x38d8bc45)
10-31 23:04:46.734 4122 5063 D VoldConnector: RCV <- {200 1 asec operation succeeded}
10-31 23:04:46.734 4122 5062 W PackageManager: Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.calendar
10-31 23:04:46.734 4122 5062 W PackageManager: Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cl in package com.android.providers.calendar
10-31 23:04:46.734 4122 5062 W PackageManager: Not granting permission android.permission.REAL_GET_TASKS to package org.cyanogenmod.wallpapers.photophase (protectionLevel=18 flags=0x3898be45)
10-31 23:04:46.734 4122 5062 W PackageManager: Unknown permission android.permission.CANCEL_NOTIFICATIONS in package org.cyanogenmod.theme.chooser2
10-31 23:04:46.734 4122 5062 W PackageManager: Not granting permission android.permission.ACCESS_DOWNLOAD_MANAGER to package org.cyanogenmod.gello.browser (protectionLevel=18 flags=0x3889be45)
10-31 23:04:46.734 4122 5062 W PackageManager: Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package org.cyanogenmod.gello.browser (protectionLevel=2 flags=0x3889be45)
10-31 23:04:46.734 4122 5062 W PackageManager: Not granting permission android.permission.WRITE_MEDIA_STORAGE to package org.cyanogenmod.gello.browser (protectionLevel=18 flags=0x3889be45)
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission org.cyanogenmod.gello.browser.permission.READ_HOMEPAGE in package org.cyanogenmod.gello.browser
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission org.cyanogenmod.gello.browser.permission.WRITE_HOMEPAGE in package org.cyanogenmod.gello.browser
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_CALLER_INFO in package com.android.messaging
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_RIDEINPROGRESS_SERVICE in package com.android.messaging
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_RIDESHARING_SERVICE in package com.android.messaging
10-31 23:04:46.735 4122 4122 W SystemServer: ***********************************************
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyngn.stats.SEND_ANALYTICS in package com.cyanogenmod.setupwizard
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.permission.REQUEST_KILL_SWITCH_OP in package com.cyanogenmod.setupwizard
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_INCALL_SERVICE in package com.android.contacts
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.PLUGIN_STATUS_CHANGED in package com.android.contacts
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_CALLER_INFO in package com.android.contacts
10-31 23:04:46.735 4122 4122 E SystemServer: BOOT FAILURE performing boot dexopt
10-31 23:04:46.735 4122 4122 E SystemServer: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.server.wm.WindowManagerService.updateBootProgress(int, android.content.pm.ApplicationInfo, int, int, boolean)' on a null object reference
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.server.am.ActivityManagerService.updateBootProgress(ActivityManagerService.java:6578)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.server.pm.PackageManagerService.performBootDexOpt(PackageManagerService.java:6495)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.server.pm.PackageManagerService.performBootDexOpt(PackageManagerService.java:6442)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.server.SystemServer.startOtherServices(SystemServer.java:618)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.server.SystemServer.run(SystemServer.java:291)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.server.SystemServer.main(SystemServer.java:176)
10-31 23:04:46.735 4122 4122 E SystemServer: at java.lang.reflect.Method.invoke(Native Method)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.calendar
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.android.onetimeinitializer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.android.onetimeinitializer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_INCALL_SERVICE in package com.android.dialer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.PLUGIN_STATUS_CHANGED in package com.android.dialer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.PUBLISH_DISCOVERY_NUDGE in package com.android.dialer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_DEEPLINK_SERVICE in package com.android.dialer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.READ_DEEPLINK_DATABASE in package com.android.dialer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_CALLER_INFO in package com.android.dialer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.cyanogenmod.trebuchet
10-31 23:04:46.736 4122 4122 E System : ******************************************
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.cyanogenmod.trebuchet
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyngn.stats.SEND_ANALYTICS in package com.cyanogenmod.trebuchet
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.google.android.permission.INSTALL_WEARABLE_PACKAGES in package com.android.packageinstaller
10-31 23:04:46.736 4122 5062 W PackageManager: Not granting permission android.permission.DELETE_PACKAGES to package com.svox.pico (protectionLevel=18 flags=0x3888be45)
10-31 23:04:46.736 4122 4122 E System : ************ Failure starting system services
10-31 23:04:46.736 4122 4122 E System : java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.server.wm.WindowManagerService.updateBootProgress(int, android.content.pm.ApplicationInfo, int, int, boolean)' on a null object reference
10-31 23:04:46.736 4122 4122 E System : at com.android.server.am.ActivityManagerService.updateBootProgress(ActivityManagerService.java:6578)
10-31 23:04:46.736 4122 4122 E System : at com.android.server.SystemServer.startOtherServices(SystemServer.java:624)
10-31 23:04:46.736 4122 4122 E System : at com.android.server.SystemServer.run(SystemServer.java:291)
10-31 23:04:46.736 4122 4122 E System : at com.android.server.SystemServer.main(SystemServer.java:176)
10-31 23:04:46.736 4122 4122 E System : at java.lang.reflect.Method.invoke(Native Method)
10-31 23:04:46.736 4122 4122 E System : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-31 23:04:46.736 4122 4122 E System : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission android.permission.ACCESS_SUPERUSER in package com.cyanogenmod.filemanager
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogenmod.filemanager.permissions.READ_THEME in package com.cyanogenmod.filemanager
10-31 23:04:46.736 4122 4122 D AndroidRuntime: Shutting down VM
--------- beginning of crash
10-31 23:04:46.736 4122 4122 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
10-31 23:04:46.736 4122 4122 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.server.wm.WindowManagerService.updateBootProgress(int, android.content.pm.ApplicationInfo, int, int, boolean)' on a null object reference
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at com.android.server.am.ActivityManagerService.updateBootProgress(ActivityManagerService.java:6578)
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:624)
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:291)
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:176)
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.google.android.gallery3d.permission.PICASA_STORE in package com.android.dreams.phototable
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.settings
10-31 23:04:46.737 4122 5062 W PackageManager: Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.android.settings
10-31 23:04:46.737 4122 5062 W PackageManager: Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.android.settings
10-31 23:04:46.737 4122 4122 I Process : Sending signal. PID: 4122 SIG: 9
10-31 23:04:46.737 4122 5062 W PackageManager: Not granting permission android.permission.REAL_GET_TASKS to package com.cyanogenmod.eleven (protectionLevel=18 flags=0x3898be65)
10-31 23:04:46.755 3038 3038 E installd: eof
10-31 23:04:46.756 3038 3038 E installd: failed to read size
10-31 23:04:46.756 3038 3038 I installd: closing connection
10-31 23:04:46.756 3022 3022 I lowmemorykiller: ActivityManager disconnected
10-31 23:04:46.756 3022 3022 I lowmemorykiller: Closing Activity Manager data connection
10-31 23:04:46.757 3023 3023 I ServiceManager: service 'procstats' died
10-31 23:04:46.757 3023 3023 I ServiceManager: service 'meminfo' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'gfxinfo' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'dbinfo' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'cpuinfo' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'permission' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'processinfo' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'batterymanager' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'usagestats' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'webviewupdate' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'scheduling_policy' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'telephony.registry' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'media.camera.proxy' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'account' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'content' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'user' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'activity' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'vibrator' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'consumer_ir' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'accessibility' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'sensorservice' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'mount' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'uimode' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'batterystats' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'appops' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'power' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'display' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'package' died
10-31 23:04:48.138 3046 3046 E Zygote : Exit zygote because system server (4122) has terminated
10-31 23:04:48.201 3023 3023 I ServiceManager: service 'media.radio' died
10-31 23:04:48.202 3023 3023 I ServiceManager: service 'media.sound_trigger_hw' died
10-31 23:04:48.202 3023 3023 I ServiceManager: service 'media.audio_flinger' died
10-31 23:04:48.202 3023 3023 I ServiceManager: service 'media.player' died
10-31 23:04:48.202 3023 3023 I ServiceManager: service 'media.resource_manager' died
10-31 23:04:48.202 3023 3023 I ServiceManager: service 'media.camera' died
10-31 23:04:48.202 3023 3023 I ServiceManager: service 'media.audio_policy' died
Click to expand...
Click to collapse

[HELP NEEDED] - wrong permissions set on com.android.vending

My App Store is crashing for a few days. Did an update, after that there is no way I can start my App Store. Did a security update (just a coincidence it came the same day), did the clean cache, revert and stuff blablabla...
Decided to dig into it myself and logcat shows some funny stuff:
Code:
07-03 09:36:28.781 2204 25544 I BroadcastQueue: am_broadcast_finished: [background,1,Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 pkg=com.google.android.googlequicksearchbox (has extras) }]
07-03 09:36:28.801 2204 3566 I BroadcastQueue: am_broadcast_finished: [background,1,Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 pkg=com.google.android.gms (has extras) }]
07-03 09:36:28.822 9045 9045 I art : Starting a blocking GC AddRemoveAppImageSpace
07-03 09:36:28.825 9045 9045 W System : ClassLoader referenced unknown path: /system/priv-app/Phonesky/lib/arm64
07-03 09:36:28.833 9045 9045 I LoadedApk: No resource references to update in package alias:dummy.dummy
07-03 09:36:28.846 9045 9045 W Finsky.CrashDetector: Read crash info cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.847 9045 9045 W Finsky.CrashDetector: Cleanup cache cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.847 9045 9045 W Finsky.CrashDetector: Failed to delete file: /data/user/0/com.android.vending/cache/cache_and_sync_images cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.847 9045 9045 W Finsky.CrashDetector: Failed to delete file: /data/user/0/com.android.vending/cache/hipri cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.847 9045 9045 W Finsky.CrashDetector: Cleanup data stores cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.848 9045 9045 W Finsky.CrashDetector: Cleanup restore data store cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.848 9045 9045 W Finsky.CrashDetector: Cleanup installer data store cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.901 9045 9073 E AndroidRuntime: FATAL EXCEPTION: PackageInstallerImpl
07-03 09:36:28.901 9045 9073 E AndroidRuntime: Process: com.android.vending, PID: 9045
07-03 09:36:28.901 9045 9073 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.AppOpsManager.checkPackage(int, java.lang.String)' on a null object reference
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1698)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1641)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.content.pm.IPackageInstaller$Stub$Proxy.getMySessions(IPackageInstaller.java:385)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.content.pm.PackageInstaller.getMySessions(PackageInstaller.java:406)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at com.google.android.finsky.installer.am.run(SourceFile:102)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:751)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.os.Looper.loop(Looper.java:241)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:61)
07-03 09:36:28.901 2204 25543 D ActivityManager: New dropbox entry: com.android.vending, system_app_crash, 530d052a-fae7-42a9-8de9-68f990e4ada1
07-03 09:36:28.902 2204 25543 W ActivityManager: Force finishing activity com.android.vending/.AssetBrowserActivity
07-03 09:36:28.904 2204 25543 I InputDispatcher: Focus entered window: Window{c145681 u0 com.google.android.googlequicksearchbox/com.google.android.launcher.GEL}
07-03 09:36:28.906 2204 3589 W InputMethodManagerService: Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
07-03 09:36:28.907 2204 25543 D ActivityTrigger: ActivityTrigger activityPauseTrigger
07-03 09:36:28.909 9045 9045 I Finsky : [1] com.google.android.finsky.dailyhygiene.DailyHygiene.a(323): No need to run daily hygiene.
07-03 09:36:28.912 691 691 D clmlib : Got activities:0x00000008
07-03 09:36:28.912 691 691 I JavaDumper:JavaDumperThread: addEvent: [email protected] processName: com.android.vending
07-03 09:36:28.912 2204 2204 I BroadcastQueue: am_broadcast_enqueue: [background,1,Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) },3]
07-03 09:36:28.913 691 817 I JavaDumper:JavaDumperThread: Event: [email protected] TimeStamp: 1499067388
Instead of googling the crash stack trace I noticed the Failed to delete file thing. And because I know this has been an issue before, I just checked on other phone. I do not have two equal phones so... Maybe this is just a thing that changed between L and N, but maybe someone has a clue how to fix these permissions on a nonrooted device?
Because on a working phone the /data/user/0/com.android.vending is accessible:
Code:
1|[email protected]:/data/user/0 $ ls -ld com.android.vending
drwxr-x--x u0_a101 u0_a101 2017-06-28 10:14 com.android.vending
And on the not working phone the same directory is not accessible.
Code:
1|E6653:/data/user/0 $ ls -ld com.android.vending
drwx------ 11 u0_a62 u0_a62 4096 2017-07-01 20:20 com.android.vending
Please someone with not rooted phone can confirm how are the permission on this directory set up?
Device: Sony E6653 (xperia Z5), Android 7.1.1 (a.k.a. N) build number 32.4.A.0.160, security patch june 1. 2017. Not rooted, stock.
Okay, so as far as I understand this, reverting an app to default state (that is disabling a system app, like google play store) does not reset its folder permission, just replaces the content. The only way to fix permissions seems to be the factory reset which will reformat the whole system partition (more or less...). Unless I find a way how to temporary gain root to my phone I will go the long way, which is a factory reset.

Unexpected shutdown/restart

Hi,
I have again some ugly issues: from time to time, randomly, my HTC U12+ with latest software version shuts down, or reboots, or something.
For example, it works fine, I put it on the table and after some time, when I want to check it... Black screen. Not working.
Most of the time I struggle a lot to "open it". I keep pressing the power button, press it multiple times, press volume buttons... It looks like something happened and it does not work anymore.
The only "symptom" I found was that the Internet connection does not work anymore before losing the device.
Oh, I also booted in SAFE MODE, and it still happened!!!
I tried:
- Clear caches, both from Boost+, Settings and CCleaner
- Clear cache partition from recovery mode
- Shaking it and force it a bit thinking about a hardware connection
- I also, of course, used it without the case and it still happened
Nothing seems to work.
I took a bug report but I am not sure where to look at. I also connected using ADB and keeping it running with "logcat" hoping it will crash and I can find the bug in the logs...
Meanwhile, did this happen to any of you? Do you have any idea why this can happen?
Thanks!
Got some errors, this is exactly before the crash, last error messages:
04-08 18:10:58.738 1553 1894 D WifiStateMachine: handleMessage: E msg.what=131133
04-08 18:10:58.738 1553 1894 D WifiStateMachine: processMsg: ConnectedState
04-08 18:10:58.738 1553 1894 D WifiStateMachine: processMsg: L2ConnectedState
04-08 18:10:58.738 1553 1894 D WifiStateMachine: processMsg: ConnectModeState
04-08 18:10:58.738 1553 1894 D WifiStateMachine: processMsg: DefaultState
04-08 18:10:58.760 1553 1605 D Tethering: interfaceRemoved rmnet_data1
04-08 18:10:58.761 748 748 E WifiHAL : acquire_supported_features: requestResponse Error:-4
04-08 18:10:58.762 1553 1926 D EthernetNetworkFactory: updateCapabilityFilter: []
04-08 18:10:58.770 748 748 E WifiHAL : wifi_get_logger_supported_feature_set: Error -4 happened.
04-08 18:10:58.773 748 748 E WifiHAL : acquire_supported_features: requestResponse Error:-4
04-08 18:10:58.773 748 748 E WifiHAL : wifi_get_logger_supported_feature_set: Error -4 happened.
04-08 18:10:58.766 14703 14703 W iptables-wrappe: type=1400 audit(0.0:2722): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=16129 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-08 18:10:58.793 1553 1894 D WifiStateMachine: handleMessage: X
04-08 18:10:58.794 1553 1894 D WifiStateMachine: handleMessage: E msg.what=131135
04-08 18:10:58.794 1553 1894 D WifiStateMachine: processMsg: ConnectedState
04-08 18:10:58.794 1553 1894 D WifiStateMachine: processMsg: L2ConnectedState
04-08 18:10:58.794 1553 1894 D WifiStateMachine: processMsg: ConnectModeState
04-08 18:10:58.795 748 748 E WifiHAL : wifi_get_link_stats: requestResponse Error:-5
04-08 18:10:58.800 1553 1894 E WifiVendorHal: getWifiLinkLayerStats(l.937) failed {.code = ERROR_INVALID_ARGS, .description = }
04-08 18:10:58.802 1553 1894 D WifiStateMachine: handleMessage: X
04-08 18:10:58.803 1553 1590 E BatteryExternalStatsWorker: no controller energy info supplied for wifi
04-08 18:10:58.833 1553 1590 D BatteryExternalStatsWorker: uES end
04-08 18:10:58.833 1553 1590 D BatteryExternalStatsWorker: end updateExternalStatsSync
04-08 18:10:58.840 1180 1235 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-08 18:10:58.841 1180 1235 E Diag_Lib: qpLogDiagInit <== result : 0
04-08 18:10:58.841 1180 1235 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-08 18:10:58.841 1180 1180 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-08 18:10:58.841 1180 1180 E Diag_Lib: qpLogDiagInit <== result : 0
04-08 18:10:58.841 1180 1180 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-08 18:10:58.841 1180 1180 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-08 18:10:58.841 1180 1180 E Diag_Lib: qpLogDiagInit <== result : 0
04-08 18:10:58.841 1180 1180 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-08 18:10:58.842 1180 1180 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-08 18:10:58.842 1180 1180 E Diag_Lib: qpLogDiagInit <== result : 0
04-08 18:10:58.842 1180 1180 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-08 18:10:58.836 14708 14708 W iptables-wrappe: type=1400 audit(0.0:2723): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=16129 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-08 18:10:58.857 752 2147 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-08 18:10:58.857 752 2159 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-08 18:10:58.857 1127 1210 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-08 18:10:58.858 1128 1165 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-08 18:10:58.864 1088 1158 I cnss-daemon: wlfw_qmi_err_cb: Server disconnect, err -2 client 0x3K
04-08 18:10:58.864 1088 1145 I cnss-daemon: wlfw_service_request: Pthread exiting
04-08 18:10:58.868 1553 1605 D Tethering: interfaceRemoved rmnet_data2
04-08 18:10:58.869 1553 1926 D EthernetNetworkFactory: updateCapabilityFilter: []
04-08 18:10:58.871 1088 14709 E cnss-daemon: ro.baseband : [msm]
04-08 18:10:58.873 1170 1250 E ThermalEngine: qmi_clnt_error_cb: with error -2 called for clnt MODEM
04-08 18:10:58.876 1127 1127 E slim_daemon: [QMISLIM] slim_QSQmiSvc_HandleSlimEvent: Client for ID 2 is not found
04-08 18:10:58.906 14715 14715 W iptables-wrappe: type=1400 audit(0.0:2724): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=16129 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-08 18:10:58.877 1170 1269 E ThermalEngine: qmi_ts_clnt_error_cb: with -2 called for clnt MODEM0
04-08 18:10:58.879 1251 2542 I QTI_SDM_INFO: [qti_rmnet_dpm.c:586] dpm_erro_cb():qti_dpm_erro_cb
04-08 18:10:58.881 1022 1072 D QC-time-services: Daemon:genoff_qmi_error_cb: Error callback called
04-08 18:10:58.882 1022 1060 D QC-time-services: Daemon:genoff_modem_qmi_service_request: Initializing QMI
04-08 18:10:58.886 1088 1786 I cnss-daemon: wlan_qmi_err_cb: WLPS service disconnect, called with error -2 for client 0x4K
Click to expand...
Click to collapse
I tried to change settings from Developer option, to stop services, uninstall apps, nothing seems to help.
I got another error log:
04-10 12:42:42.462 12182 12202 I FA : Tag Manager is not found and thus will not be used
04-10 12:42:42.507 12182 12236 D libc : [NET] dns_sku:0
04-10 12:42:42.508 12182 12236 D libc : [NET] android_getaddrinfo_proxy get netid:0
04-10 12:42:42.509 1067 12242 D libc : [NET] _dns_getaddrinfo+, netid:100, mark:983140
04-10 12:42:42.515 2595 12181 I FSA2_RawContactSyncer: contact count. before sweep: -1, before sync: 0, after sync down: -1, after sync up: 0
04-10 12:42:42.515 2595 12181 W FSA2_ContactsSyncAdapter: @onPerformSync Sync finished successfully
04-10 12:42:42.556 1067 12242 D libc : [NET] _dns_getaddrinfo-, (NS_SUCCESS)
04-10 12:42:42.558 12182 12236 D libc : [NET] android_getaddrinfo_proxy-, success
04-10 12:42:42.563 12182 12236 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
04-10 12:42:42.776 1536 2575 D AlarmManager: [AlarmGrouping_4.0] before: 82012d8 2020-04-10 12:43:55 257081 name=com.google.android.gms type=ELAPSED_WAKEUP window=54546 interval=0
04-10 12:42:42.777 1536 2575 D AlarmManager: [AlarmGrouping_4.0] after: 82012d8 2020-04-10 12:50:00 621578 name=com.google.android.gms type=ELAPSED_WAKEUP window=54546 interval=0
04-10 12:42:42.953 11088 11123 I Finsky : [147] kem.run(3): Stats for Executor: BlockingExecutor [email protected][Running, pool size = 2, active threads = 0, queued tasks = 0, completed tasks = 13]
04-10 12:42:42.954 11088 11123 I Finsky : [147] kem.run(3): Stats for Executor: LightweightExecutor [email protected][Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 72]
04-10 12:42:43.198 1536 3796 I BatteryService: n_update end
04-10 12:42:43.201 739 739 D qdlights: set_light_battery colorRGB=FFFF0000
04-10 12:42:43.202 739 739 D qdlights: set_speaker_light_locked mode 0, colorRGB=FFFF0000, onMS=0, offMS=0
04-10 12:42:43.202 739 739 D qdlights: [LEDInfo] has indicator attribute
04-10 12:42:43.202 739 739 D qdlights: [LedInfo] write attr ok name=/sys/class/leds/indicator/ModeRGB string=1ff0000,len=7
04-10 12:42:43.209 1974 1974 I BatteryController: (lvl,plug,charged,charging)=(13,T,f,T) [status,health,timeout,unsupprt]=[2,2,f,f]
04-10 12:42:43.210 1536 1616 D HtcPowerSaver: updateBatteryInfo
04-10 12:42:43.210 7949 7949 D PowerWakeLock: acquirePower AOD_BatteryController
04-10 12:42:43.211 1536 4622 V LocSvc_HIDL_Subscription_jni: battery_level_update
04-10 12:42:43.214 1536 4622 V LocSvc_HIDL_Subscription_jni: [battery_level_update][931] [HC] =>> [HS]
04-10 12:42:43.214 754 754 V LocSvc_HIDL_IzatSubscription: [batteryLevelUpdate][777] [HS] <<<<= [HC]
04-10 12:42:43.214 1536 4622 V LocSvc_HIDL_Subscription_jni: Exit Result 0
04-10 12:42:43.216 1536 1536 D UsbnetService: BroadcastReceiver:nReceive+
04-10 12:42:43.216 1536 1536 D UsbnetService: onReceive BATTERY_CHANGED
04-10 12:42:43.217 1536 1536 D UsbnetService: --> pluggedType = 2, mPluggedType = 0, mScreenOff = false
04-10 12:42:43.217 1536 1536 D UsbnetService: BroadcastReceiver:nReceive-
04-10 12:42:43.217 7949 7949 D BatteryController: onReceive : android.intent.action.BATTERY_CHANGED
04-10 12:42:43.217 1536 1536 D UsbDeviceManager: Receive update chargind state broadcast
04-10 12:42:43.217 1536 1536 I DeviceIdleController: updateChargingLocked: charging=true
04-10 12:42:43.217 1536 1612 D UsbDeviceManager: [USB] handleMessage: 9; pre_mConnected=true, pre_mConfiguration=true
04-10 12:42:43.217 7949 7949 I BatteryController: (lvl,plug,charging)=(13,T,T) [status,health,timeout,unsupprt]=[2,2,f,f]
04-10 12:42:43.218 7949 7949 D AodClockView: onBatteryLevelChanged (13, true, true, false, false)
04-10 12:42:43.218 7949 7949 D b : onBatteryLevelChangedInternal(13, true, true, false, false)
04-10 12:42:43.220 7949 7949 D PowerWakeLock: releasePower AOD_BatteryController
04-10 12:42:43.222 1536 1536 W DeviceIdleController: becomeActiveLocked, reason = charging
04-10 12:42:43.222 1536 1536 D PowerManagerService: runPSCheck
04-10 12:42:43.222 1536 1536 D HtcPowerSaver: Checking...
04-10 12:42:43.222 1536 1536 I HtcPowerSaver: >> updateStatus
04-10 12:42:43.222 1536 1536 I HtcPowerSaver: << updateStatus
04-10 12:42:43.229 1989 1989 I PowerUI_SlowChargerReceiver: onReceive : com.htc.intent.action.BATTERY_LEVEL_CHANGED
04-10 12:42:43.231 1989 1989 I SmartNS_ChargeOnly_Enabler: battery status:2
04-10 12:42:43.236 1989 1989 I PowerUI_SlowChargerReceiver: Level: 13 Plug usb battery level: 12 Battery health: 2 USB type: 2
04-10 12:42:43.376 11088 11123 I Finsky : [147] kem.run(3): Stats for Executor: bgExecutor [email protected][Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 62]
04-10 12:42:43.381 3119 3119 W NotificationListener: shouldBeFilteredOut !canShowBadge() com.android.systemui
04-10 12:42:43.385 3104 3104 I Launcher: Deferring update until onResume
04-10 12:42:43.395 1974 1974 I StackScroller: updateEmptyShade(true,false,false)
04-10 12:42:43.395 1974 1974 I StatusBar: updateEmptyShade(true,false)
04-10 12:42:43.395 1974 1974 I StackScroller: setBlockTouch:false
04-10 12:42:43.495 1941 1941 D wpa_supplicant: RTM_NEWLINK: ifi_index=8 ifname=rmnet_ipa0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.504 1536 1612 I EthernetTracker: interfaceLinkStateChanged, iface: rmnet_ipa0, up: false
04-10 12:42:43.505 1536 1612 V WifiNative: Received iface link up/down notification on an invalid iface=rmnet_ipa0
04-10 12:42:43.505 1536 1612 D Tethering: interfaceStatusChanged rmnet_ipa0, false
04-10 12:42:43.508 1536 1612 D Tethering: ignore interface down for rmnet_ipa0
04-10 12:42:43.566 1941 1941 D wpa_supplicant: RTM_NEWLINK: ifi_index=20 ifname=r_rmnet_data0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.568 1536 1612 I EthernetTracker: interfaceLinkStateChanged, iface: r_rmnet_data0, up: false
04-10 12:42:43.569 1536 1612 V WifiNative: Received iface link up/down notification on an invalid iface=r_rmnet_data0
04-10 12:42:43.570 1536 1612 D Tethering: interfaceStatusChanged r_rmnet_data0, false
04-10 12:42:43.581 1536 1612 D Tethering: ignore interface down for r_rmnet_data0
04-10 12:42:43.640 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=8 ifname=rmnet_ipa0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.640 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_ipa0' removed
04-10 12:42:43.646 1536 1612 D Tethering: interfaceRemoved rmnet_ipa0
04-10 12:42:43.646 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:43.649 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=9 ifname=rmnet_data0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.649 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data0' removed
04-10 12:42:43.650 1536 1612 D Tethering: interfaceRemoved rmnet_data0
04-10 12:42:43.650 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:43.681 12252 12252 W iptables-wrappe: type=1400 audit(0.0:2730): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=17763 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-10 12:42:43.751 12253 12253 W iptables-wrappe: type=1400 audit(0.0:2731): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=17763 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-10 12:42:43.797 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=10 ifname=rmnet_data1 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.797 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data1' removed
04-10 12:42:43.798 1536 1612 D Tethering: interfaceRemoved rmnet_data1
04-10 12:42:43.798 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:43.821 12254 12254 W iptables-wrappe: type=1400 audit(0.0:2732): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=17763 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-10 12:42:43.880 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=11 ifname=rmnet_data2 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.881 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data2' removed
04-10 12:42:43.889 1536 1612 D Tethering: interfaceRemoved rmnet_data2
04-10 12:42:43.889 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:43.891 12255 12255 W iptables-wrappe: type=1400 audit(0.0:2733): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=17763 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-10 12:42:43.951 12256 12256 W iptables-wrappe: type=1400 audit(0.0:2734): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=17763 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-10 12:42:43.957 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=12 ifname=rmnet_data3 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.957 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data3' removed
04-10 12:42:43.958 1536 1612 D Tethering: interfaceRemoved rmnet_data3
04-10 12:42:43.959 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:44.037 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=13 ifname=rmnet_data4 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:44.037 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data4' removed
04-10 12:42:44.041 1536 1612 D Tethering: interfaceRemoved rmnet_data4
04-10 12:42:44.057 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:44.087 1173 1221 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-10 12:42:44.088 1173 1221 E Diag_Lib: qpLogDiagInit <== result : 0
04-10 12:42:44.088 1173 1221 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-10 12:42:44.088 1173 1173 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-10 12:42:44.088 1173 1173 E Diag_Lib: qpLogDiagInit <== result : 0
04-10 12:42:44.088 1173 1173 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-10 12:42:44.088 1173 1173 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-10 12:42:44.088 1173 1173 E Diag_Lib: qpLogDiagInit <== result : 0
04-10 12:42:44.088 1173 1173 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-10 12:42:44.089 1173 1173 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-10 12:42:44.089 1173 1173 E Diag_Lib: qpLogDiagInit <== result : 0
04-10 12:42:44.089 1173 1173 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-10 12:42:44.100 754 2066 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-10 12:42:44.100 1130 1186 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-10 12:42:44.101 1129 1208 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-10 12:42:44.102 754 2069 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-10 12:42:44.108 1089 1148 I cnss-daemon: wlfw_qmi_err_cb: Server disconnect, err -2 client 0x2K
04-10 12:42:44.108 1089 1145 I cnss-daemon: wlfw_service_request: Pthread exiting
04-10 12:42:44.115 1089 12259 E cnss-daemon: ro.baseband : [msm]
04-10 12:42:44.117 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=14 ifname=rmnet_data5 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:44.117 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data5' removed
04-10 12:42:44.121 1536 1612 D Tethering: interfaceRemoved rmnet_data5
04-10 12:42:44.122 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:44.137 1129 1129 E slim_daemon: [QMISLIM] slim_QSQmiSvc_HandleSlimEvent: Client for ID 2 is not found
04-10 12:42:44.138 1159 1234 E ThermalEngine: qmi_clnt_error_cb: with error -2 called for clnt MODEM
04-10 12:42:44.140 1271 2500 I QTI_SDM_INFO: [qti_rmnet_dpm.c:586] dpm_erro_cb():qti_dpm_erro_cb
04-10 12:42:44.143 1159 1249 E ThermalEngine: qmi_ts_clnt_error_cb: with -2 called for clnt MODEM0
04-10 12:42:44.143 1271 2498 I QTI_SDM_INFO: [qti_rmnet_peripheral.c:1221] qti_rmnet_ph_set_modem_state():Received set modem state to 0
04-10 12:42:44.143 1271 2498 E QTI_SDM_INFO: [qti_rmnet_peripheral.c:1233] qti_rmnet_ph_set_modem_state():Couldn't set ph_iface_fd
04-10 12:42:44.143 1271 2498 E QTI_SDM_INFO: [qti_rmnet_modem.c:1726] qti_rmnet_modem_not_in_service():Failed to set modem state on peripheral driver file
04-10 12:42:44.143 1271 2498 I QTI_SDM_INFO: [qti_rmnet_dpm.c:542] qti_rmnet_dpm_release():qti_rmnet_dpm_release Entry
04-10 12:42:44.144 1271 2498 I QTI_SDM_INFO: [qti_rmnet_dpm.c:551] qti_rmnet_dpm_release():Successfully deregistered DPM client
04-10 12:42:44.144 1271 2498 I QTI_SDM_INFO: [qti_rmnet_modem.c:1737] qti_rmnet_modem_not_in_service():qti rmnet modem not in service going to register DPM call back
04-10 12:42:44.148 1025 1079 D QC-time-services: Daemon:genoff_qmi_error_cb: Error callback called
04-10 12:42:44.148 1025 1069 D QC-time-services: Daemon:genoff_modem_qmi_service_request: Initializing QMI
04-10 12:42:44.151 1536 2092 D HtcSystemUPManager: HtcSystemUPolicy [canLog (default)] category: modem, enable: true
04-10 12:42:44.157 1089 1789 I cnss-daemon: wlan_qmi_err_cb: WLPS service disconnect, called with error -2 for client 0x4K
04-10 12:42:44.159 1018 10372 V AudioFlg: registerClient() client 0xe2c3e018, pid 2109
04-10 12:42:44.160 1018 10372 V AudioFlg: setParameters(): io 0, keyvalue vsid=299651072;call_state=1, calling pid 2109 calling uid 1001
04-10 12:42:44.173 1018 10372 D PermissionCache: checking android.permission.MODIFY_AUDIO_SETTINGS for uid=1001 => granted (13392 us)
04-10 12:42:44.173 1018 10372 W AudioFlg: setParameters(): Voice vsid=299651072;call_state=1
04-10 12:42:44.174 1018 10372 V AudioFlg: setParameters: filtered keyvalue call_state=1;vsid=299651072
04-10 12:42:44.175 722 957 D audio_hw_primary: adev_set_parameters: enter: call_state=1;vsid=299651072
04-10 12:42:44.175 722 957 D voice_extn: update_call_states is_call_active:0 in_call:0, mode:0
04-10 12:42:44.175 722 957 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
04-10 12:42:44.175 722 957 D split_a2dp: ignore a2dp setparameter
04-10 12:42:44.175 722 957 D audio_hw_spkr_prot: audio_extn_fbsp_set_parameters: Speaker protection disabled
04-10 12:42:44.178 722 957 D r_submix: adev_set_parameters: call_state=1;vsid=299651072
04-10 12:42:44.178 1536 2093 D HtcSystemUPManager: HtcSystemUPReceiver Wrong format of UP data, ignore it!
04-10 12:42:44.182 1018 1338 V AudioFlg: setParameters(): io 0, keyvalue vsid=299651072;call_state=1, calling pid 2109 calling uid 1001
04-10 12:42:44.182 1018 1338 W AudioFlg: setParameters(): Voice vsid=299651072;call_state=1
04-10 12:42:44.183 1018 1338 V AudioFlg: setParameters: filtered keyvalue call_state=1;vsid=299651072
04-10 12:42:44.186 722 957 D audio_hw_primary: adev_set_parameters: enter: call_state=1;vsid=299651072
04-10 12:42:44.186 722 957 D voice_extn: update_call_states is_call_active:0 in_call:0, mode:0
04-10 12:42:44.187 722 957 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
04-10 12:42:44.187 722 957 D split_a2dp: ignore a2dp setparameter
04-10 12:42:44.187 722 957 D audio_hw_spkr_prot: audio_extn_fbsp_set_parameters: Speaker protection disabled
04-10 12:42:44.189 1173 1173 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-10 12:42:44.189 1173 1173 E Diag_Lib: qpLogDiagInit <== result : 0
04-10 12:42:44.189 1173 1173 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-10 12:42:44.189 1173 1173 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-10 12:42:44.189 1173 1173 E Diag_Lib: qpLogDiagInit <== result : 0
04-10 12:42:44.189 2874 2948 I SecureElement-Terminal-SIM1: OnStateChange:false
04-10 12:42:44.189 1173 1173 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-10 12:42:44.190 1271 2498 I QTI_SDM_INFO: [qti_rmnet_modem.c:1749] qti_rmnet_modem_not_in_service():Completed processing modem out of service ind
04-10 12:42:44.190 1271 2498 I QTI_SDM_INFO: [qti_cmdq.c:113] qti_cmdq_cmd_free():qcmap_cmdq: free one commmand data
04-10 12:42:44.190 2874 2948 I SecureElement-AccessControlEnforcer: Reset the ACE for terminal:SIM1
04-10 12:42:44.192 1159 12263 I ThermalEngine: qmi: Instance id 0 for MODEM0 TS
04-10 12:42:44.194 722 3408 D r_submix: adev_set_parameters: call_state=1;vsid=299651072
04-10 12:42:44.195 1018 10372 V AudioFlg: setParameters(): io 0, keyvalue vsid=297816064;call_state=1, calling pid 2109 calling uid 1001
04-10 12:42:44.195 1018 10372 W AudioFlg: setParameters(): Voice vsid=297816064;call_state=1
04-10 12:42:44.195 1018 10372 V AudioFlg: setParameters: filtered keyvalue call_state=1;vsid=297816064
04-10 12:42:44.195 722 3408 D audio_hw_primary: adev_set_parameters: enter: call_state=1;vsid=297816064
04-10 12:42:44.195 722 3408 D voice_extn: update_call_states is_call_active:0 in_call:0, mode:0
04-10 12:42:44.195 722 3408 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
04-10 12:42:44.195 722 3408 D split_a2dp: ignore a2dp setparameter
04-10 12:42:44.195 722 3408 D audio_hw_spkr_prot: audio_extn_fbsp_set_parameters: Speaker protection disabled
04-10 12:42:44.196 2927 2993 I QcrilOemhookMsgTunnel: [1]processOemHookIndication length=47
04-10 12:42:44.199 722 3408 D r_submix: adev_set_parameters: call_state=1;vsid=297816064
04-10 12:42:44.200 1018 10372 V AudioFlg: setParameters(): io 0, keyvalue vsid=299651072;call_state=1, calling pid 2109 calling uid 1001
04-10 12:42:44.200 1018 10372 W AudioFlg: setParameters(): Voice vsid=299651072;call_state=1
04-10 12:42:44.200 1018 10372 V AudioFlg: setParameters: filtered keyvalue call_state=1;vsid=299651072
04-10 12:42:44.200 722 3408 D audio_hw_primary: adev_set_parameters: enter: call_state=1;vsid=299651072
04-10 12:42:44.201 722 3408 D voice_extn: update_call_states is_call_active:0 in_call:0, mode:0
04-10 12:42:44.201 722 3408 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
04-10 12:42:44.201 722 3408 D split_a2dp: ignore a2dp setparameter
04-10 12:42:44.201 722 3408 D audio_hw_spkr_prot: audio_extn_fbsp_set_parameters: Speaker protection disabled
04-10 12:42:44.202 722 3408 D r_submix: adev_set_parameters: call_state=1;vsid=299651072
04-10 12:42:44.203 1018 10372 V AudioFlg: setParameters(): io 0, keyvalue vsid=297816064;call_state=1, calling pid 2109 calling uid 1001
04-10 12:42:44.203 1018 10372 W AudioFlg: setParameters(): Voice vsid=297816064;call_state=1
04-10 12:42:44.203 1018 10372 V AudioFlg: setParameters: filtered keyvalue call_state=1;vsid=297816064
04-10 12:42:44.204 722 3408 D audio_hw_primary: adev_set_parameters: enter: call_state=1;vsid=297816064
04-10 12:42:44.204 722 3408 D voice_extn: update_call_states is_call_active:0 in_call:0, mode:0
04-10 12:42:44.204 722 3408 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
04-10 12:42:44.204 722 3408 D split_a2dp: ignore a2dp setparameter
04-10 12:42:44.204 722 3408 D audio_hw_spkr_prot: audio_extn_fbsp_set_parameters: Speaker protection disabled
04-10 12:42:44.205 722 3408 D r_submix: adev_set_parameters: call_state=1;vsid=297816064
04-10 12:42:44.208 1018 10372 V AudioFlg: setParameters(): io 0, keyvalue vsid=297816064;call_state=1, calling pid 2109 calling uid 1001
04-10 12:42:44.208 1018 10372 W AudioFlg: setParameters(): Voice vsid=297816064;call_state=1
04-10 12:42:44.209 1018 10372 V AudioFlg: setParameters: filtered keyvalue call_state=1;vsid=297816064
04-10 12:42:44.209 722 3408 D audio_hw_primary: adev_set_parameters: enter: call_state=1;vsid=297816064
04-10 12:42:44.209 722 3408 D voice_extn: update_call_states is_call_active:0 in_call:0, mode:0
04-10 12:42:44.209 722 3408 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
04-10 12:42:44.209 722 3408 D split_a2dp: ignore a2dp setparameter
04-10 12:42:44.209 722 3408 D audio_hw_spkr_prot: audio_extn_fbsp_set_parameters: Speaker protection disabled
04-10 12:42:44.209 2927 2993 I QcrilOemhookMsgTunnel: [0]processOemHookIndication length=47
04-10 12:42:44.212 2124 2124 I ImsFeature: notifying ImsFeatureState=0
04-10 12:42:44.212 2124 2124 I ImsServiceController: notifyImsFeatureStatus: slot=0, feature=1, status=0
04-10 12:42:44.213 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.215 2124 2124 I chatty : uid=1001(radio) com.android.phone identical 28 lines
04-10 12:42:44.215 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.215 722 3408 D r_submix: adev_set_parameters: call_state=1;vsid=297816064
04-10 12:42:44.216 2124 2124 W ImsServiceController: sendImsFeatureStatusChanged: Binder died, removing callback. Exception:null
04-10 12:42:44.216 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.216 2124 2124 I chatty : uid=1001(radio) com.android.phone identical 2 lines
04-10 12:42:44.216 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.216 2124 2124 W ImsServiceController: sendImsFeatureStatusChanged: Binder died, removing callback. Exception:null
04-10 12:42:44.216 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.217 2124 2124 I chatty : uid=1001(radio) com.android.phone identical 11 lines
04-10 12:42:44.217 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.218 2124 2124 I CallbackAdapterManager: Closing connection and clearing callbacks
04-10 12:42:44.218 2124 2124 W MmTelFeatureConnection: remove: Couldn't get IImsMmTelFeature binder
04-10 12:42:44.218 2124 2124 I CallbackAdapterManager: Closing connection and clearing callbacks
04-10 12:42:44.219 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.219 2124 2124 I chatty : uid=1001(radio) com.android.phone identical 13 lines
04-10 12:42:44.219 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.219 2097 2116 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.222 2097 2108 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.228 2927 2993 I QcrilOemhookMsgTunnel: [1]processOemHookIndication length=47
04-10 12:42:44.231 2097 2116 I MmTelFeatureConnection: onDeregistered ::
04-10 12:42:44.235 2927 2993 I QcrilOemhookMsgTunnel: [0]processOemHookIndication length=47
04-10 12:42:44.238 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=15 ifname=rmnet_data6 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:44.238 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data6' removed
04-10 12:42:44.240 2927 2993 I QcrilOemhookMsgTunnel: [1]processOemHookIndication length=47
04-10 12:42:44.242 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:44.242 1536 1612 D Tethering: interfaceRemoved rmnet_data6
04-10 12:42:44.245 2927 2993 I QcrilOemhookMsgTunnel: [0]processOemHookIndication length=47
04-10 12:42:44.246 1974 1974 D NetworkController: [FakeUI][0] Start!
04-10 12:42:44.252 1974 1974 D NetworkController: [FakeUI][1] Start!
04-10 12:42:44.258 2124 2124 D HtcBuildUtils: supportSIMLockedNotification = 0
Click to expand...
Click to collapse
Does anyone have any idea why this happens?
Could it be a hardware issue?
I do not want to lose all the data on the phone (I know, backup helps but not fully: 2 factor authentication apps, etc.)
OK, problem soved: I destroyed the phone (getting a small hand cut as well).
Reset to factory > Same thing
Recovery mode > Wipe > Same thing
It was probably a hardware issue. I saved my data (what I could) and throw it at the garbage.
So from now on, never HTC (if they ever come with a new phone). System UI restarting, no updates, this errors, dumb buttons (never fully worked, of course, and almost 2 years were not enough to get used to them).

Question Text-to-speech on nio with LOS 19 microG

I'm using the latest LOS 19 with microG from here on my nio and I'm trying to get text-to-speech to work (to use it in OSMAnd~). However, non of the TTS engines I tried works (Google Speech Services, flite, RHVoice). They all suffer from the same problem: Once I go to Settings > System > Languages > Text-to-speech output the Settings app jumps back to the System category. If I try navigating there again, it crashes.
Here's the log when the crash happens:
Code:
05-27 14:56:35.644 16812 16812 D SettingsActivity: Starting to set activity title
05-27 14:56:35.644 16812 16812 D SettingsActivity: Done setting title
05-27 14:56:35.644 16812 16812 D SettingsActivity: Switching to fragment com.android.settings.tts.TextToSpeechSettings
05-27 14:56:35.644 16812 16812 D SubSettings: Launching fragment com.android.settings.tts.TextToSpeechSettings
05-27 14:56:35.645 1494 2865 E UserRestrictionsUtils: Unknown restriction queried by uid 1000 (org.lineageos.lineagesettings et al): null
05-27 14:56:35.646 1494 2865 E UserRestrictionsUtils: Unknown restriction queried by uid 1000 (org.lineageos.lineagesettings et al): null
05-27 14:56:35.646 1494 2865 E UserRestrictionsUtils: Unknown restriction queried by uid 1000 (org.lineageos.lineagesettings et al): null
05-27 14:56:35.650 1494 2865 I ActivityTaskManager: START u0 {act=android.speech.tts.engine.CHECK_TTS_DATA cmp=com.github.olga_yakovleva.rhvoice.android/.CheckTTSData} from uid 1000
05-27 14:56:35.655 1202 1202 I android.hardware.power-service-qti: Power setMode: 5 to: 1
05-27 14:56:35.659 16812 16812 D SettingsActivity: Executed frag manager pendingTransactions
05-27 14:56:35.681 16812 16834 D SettingsActivity: No enabled state changed, skipping updateCategory call
05-27 14:56:35.685 1494 7986 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (6736388)
05-27 14:56:35.691 1022 12398 I netd : bandwidthAddNiceApp(10263) <0.04ms>
05-27 14:56:35.742 1494 1737 I ActivityTaskManager: Displayed com.android.settings/.SubSettings: +129ms
05-27 14:56:35.743 16812 16812 D CompatibilityChangeReporter: Compat change id reported: 78294732; UID 1000; state: ENABLED
05-27 14:56:35.743 16812 16812 E TextToSpeechSettings: Voice data check complete, but no engine bound
05-27 14:56:35.743 16812 16812 D AndroidRuntime: Shutting down VM
05-27 14:56:35.744 16812 16812 E AndroidRuntime: FATAL EXCEPTION: main
05-27 14:56:35.744 16812 16812 E AndroidRuntime: Process: com.android.settings, PID: 16812
05-27 14:56:35.744 16812 16812 E AndroidRuntime: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1230932445, result=1, data=Intent { (has extras) }} to activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:5368)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.ActivityThread.handleSendResult(ActivityThread.java:5407)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:67)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2253)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7870)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.speech.tts.TtsEngines.parseEnginePrefFromList(TtsEngines.java:510)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.speech.tts.TtsEngines.isLocaleSetToDefaultForEngine(TtsEngines.java:372)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at com.android.settings.tts.TextToSpeechSettings.updateDefaultLocalePref(TextToSpeechSettings.java:524)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at com.android.settings.tts.TextToSpeechSettings.onActivityResult(TextToSpeechSettings.java:507)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at androidx.fragment.app.FragmentManager$9.onActivityResult(FragmentManager.java:3011)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at androidx.fragment.app.FragmentManager$9.onActivityResult(FragmentManager.java:2991)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at androidx.activity.result.ActivityResultRegistry.doDispatch(ActivityResultRegistry.java:362)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at androidx.activity.result.ActivityResultRegistry.dispatchResult(ActivityResultRegistry.java:322)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at androidx.activity.ComponentActivity.onActivityResult(ComponentActivity.java:634)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at androidx.fragment.app.FragmentActivity.onActivityResult(FragmentActivity.java:164)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at com.android.settings.SettingsActivity.onActivityResult(SettingsActivity.java:476)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.Activity.dispatchActivityResult(Activity.java:8385)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:5361)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: ... 13 more
05-27 14:56:35.745 1494 2865 W ActivityTaskManager: Force finishing activity com.android.settings/.SubSettings
05-27 14:56:35.745 1494 16960 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
05-27 14:56:35.746 1494 2865 W ActivityTaskManager: Force finishing activity com.android.settings.intelligence/.search.SearchActivity
05-27 14:56:35.747 16812 16812 I Process : Sending signal. PID: 16812 SIG: 9
05-27 14:56:35.789 0 0 I binder : undelivered transaction 2177669, process died.
05-27 14:56:35.790 0 0 I binder : undelivered transaction 2177654, process died.
05-27 14:56:35.799 1494 2865 I ActivityManager: Process com.android.settings (pid 16812) has died: fg TOP
05-27 14:56:35.800 1494 1777 I libprocessgroup: Successfully killed process cgroup uid 1000 pid 16812 in 0ms
05-27 14:56:35.802 1494 5392 I WindowManager: WIN DEATH: Window{4c195a8 u0 com.android.settings/com.android.settings.Settings}
05-27 14:56:35.802 1494 5392 W InputManager-JNI: Input channel object '4c195a8 com.android.settings/com.android.settings.Settings (client)' was disposed without first being removed with the input manager!
05-27 14:56:35.804 1023 1023 I Zygote : Process 16812 exited due to signal 9 (Killed)
05-27 14:56:35.804 1494 6205 W WindowManager: Cannot find window which accessibility connection is added to
05-27 14:56:35.805 1494 6204 I WindowManager: WIN DEATH: Window{e8cb5a7 u0 com.android.settings/com.android.settings.SubSettings}
05-27 14:56:35.805 1494 6204 W InputManager-JNI: Input channel object 'e8cb5a7 com.android.settings/com.android.settings.SubSettings (client)' was disposed without first being removed with the input manager!
05-27 14:56:35.807 1494 1759 W UsageStatsService: Unexpected activity event reported! (com.android.settings/com.android.settings.homepage.SettingsHomepageActivity event : 23 instanceId : 216578729)
Anybody got any hints on what I could do to fix it?
Anybody got an idea against which which project / repo / etc this could be reported (while not playing 'You should report this elsewhere' ping pong? )
I was able to fix my problem by installing Google Speech Services via Aurora, rebooting, installing eSpeak via F-Droid, starting eSpeak and going to 'General TTS settings' via the eSpeak menu. Possibly eSpeak sets itself as the default TTS if none is configured.
Afterwards I was also able to select Speech Services as the default without issues.

Categories

Resources