phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.32k stars 655 forks source link

[S10/S10+/S10E] Force close opening any app info on settings #511

Open uvitor opened 5 years ago

uvitor commented 5 years ago

Whenever i try to open app info info on settings: FC. All app infos. Logcat below:

--------- beginning of main 05-07 22:15:58.477 6275 6278 I adbd : initializing functionfs 05-07 22:15:58.478 6275 6278 I adbd : opening control endpoint /dev/usb-ffs/adb/ep0 05-07 22:15:58.914 99 99 W kworker/6:1: type=1400 audit(0.0:23497): avc: denied { open } for path="/sys/devices/virtual/sec/sec_key/hall_detect" dev="sysfs" ino=50916 scontext=u:r:kernel:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 05-07 22:15:59.479 6275 6278 I adbd : initializing functionfs 05-07 22:15:59.479 6275 6278 I adbd : opening control endpoint /dev/usb-ffs/adb/ep0 05-07 22:16:00.005 5548 5633 E LightsService: Light requested not available on this device. 2 05-07 22:16:00.006 5548 5633 E LightsService: Light requested not available on this device. 2 05-07 22:16:00.480 6275 6278 I adbd : initializing functionfs 05-07 22:16:00.480 6275 6278 I adbd : opening control endpoint /dev/usb-ffs/adb/ep0 --------- beginning of system 05-07 22:16:00.505 5225 5225 I android.hardware.wifi@1.0-service: enter getLinkLayerStats 05-07 22:16:00.505 5225 5225 I android.hardware.wifi@1.0-service: enter getLinkLayerStatsInternal 05-07 22:16:00.579 5225 5225 I android.hardware.wifi@1.0-service: Successfully getLinkLayerStats. 05-07 22:16:00.930 99 99 W kworker/6:1: type=1400 audit(0.0:23498): avc: denied { open } for path="/sys/devices/virtual/sec/sec_key/hall_detect" dev="sysfs" ino=50916 scontext=u:r:kernel:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 05-07 22:16:01.481 6275 6278 I adbd : initializing functionfs 05-07 22:16:01.481 6275 6278 I adbd : opening control endpoint /dev/usb-ffs/adb/ep0 05-07 22:16:02.482 6275 6278 I adbd : initializing functionfs 05-07 22:16:02.482 6275 6278 I adbd : opening control endpoint /dev/usb-ffs/adb/ep0 05-07 22:16:02.942 99 99 W kworker/6:1: type=1400 audit(0.0:23499): avc: denied { open } for path="/sys/devices/virtual/sec/sec_key/hall_detect" dev="sysfs" ino=50916 scontext=u:r:kernel:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 05-07 22:16:03.485 6275 6278 I adbd : initializing functionfs 05-07 22:16:03.485 6275 6278 I adbd : opening control endpoint /dev/usb-ffs/adb/ep0 05-07 22:16:03.619 5225 5225 I android.hardware.wifi@1.0-service: enter getLinkLayerStats 05-07 22:16:03.620 5225 5225 I android.hardware.wifi@1.0-service: enter getLinkLayerStatsInternal 05-07 22:16:03.700 5225 5225 I android.hardware.wifi@1.0-service: Successfully getLinkLayerStats. 05-07 22:16:04.486 6275 6278 I adbd : initializing functionfs 05-07 22:16:04.486 6275 6278 I adbd : opening control endpoint /dev/usb-ffs/adb/ep0 05-07 22:16:04.655 5548 5663 E LightsService: Light requested not available on this device. 2 05-07 22:16:04.779 5548 5560 I ActivityManager: START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from uid 1000 05-07 22:16:04.655 5548 5663 E LightsService: Light requested not available on this device. 2 05-07 22:16:04.781 5195 5653 D audio_hw_primary: fast_out-out_update_source_metadata: called, but not implemented yet 05-07 22:16:04.781 5195 5653 D audio_hw_primary: fast_out-out_update_source_metadata: This stream has 1 tracks 05-07 22:16:04.781 5195 5653 D audio_hw_primary: 1 Track has Usage(13), Content Type(4), Gain(0.139346) 05-07 22:16:04.782 5195 7441 I audio_hw_primary: fast_out-out_write: transited to Ready 05-07 22:16:04.782 5195 7441 D audio_hw_primary: fast_out-check_and_set_backend_mixer: no need to update backend 2 -> 2, out->backend_mode:2 05-07 22:16:04.782 5195 7441 I audio_hw_primary: fast_out-out_write: try to route for playback 05-07 22:16:04.782 5195 7441 D audio_route: Apply path: media-dual-speaker 05-07 22:16:04.782 5195 7441 I audio_route: > audio_route_update_path : "media-dual-speaker" reverse(0) 05-07 22:16:04.782 5195 7441 V audio_route: ctl : "Left ASPTX1 Slot Position" value 0 05-07 22:16:04.783 5195 7441 V audio_route: ctl : "Left ASPTX2 Slot Position" value 2 05-07 22:16:04.783 5195 7441 V audio_route: ctl : "Left ASPTX3 Slot Position" value 4 05-07 22:16:04.784 5195 7441 V audio_route: ctl : "Left ASPTX4 Slot Position" value 6 05-07 22:16:04.786 5195 7441 V audio_route: ctl : "Left ASP TX1 Source" value "DSPTX1" 05-07 22:16:04.789 5195 7441 V audio_route: ctl : "Left ASP TX2 Source" value "ASPRX1" 05-07 22:16:04.790 5195 7441 V audio_route: ctl : "Left ASP TX3 Source" value "Zero" 05-07 22:16:04.790 5195 7441 V audio_route: ctl : "Left ASP TX4 Source" value "Zero" 05-07 22:16:04.790 5195 7441 V audio_route: ctl : "Left PCM Source" value "DSP" 05-07 22:16:04.791 5195 7441 V audio_route: ctl : "Left Boost Enable" value "Enabled" 05-07 22:16:04.792 5195 7441 V audio_route: ctl : "Left AMP Enable Switch" value 1 05-07 22:16:04.792 5195 7441 V audio_route: ctl : "Right ASPTX1 Slot Position" value 1 05-07 22:16:04.793 5195 7441 V audio_route: ctl : "Right ASPTX2 Slot Position" value 3 05-07 22:16:04.796 5195 7441 V audio_route: ctl : "Right ASPTX3 Slot Position" value 5 05-07 22:16:04.797 5195 7441 V audio_route: ctl : "Right ASPTX4 Slot Position" value 7 05-07 22:16:04.798 5195 7441 V audio_route: ctl : "Right ASP TX1 Source" value "DSPTX1" 05-07 22:16:04.800 5195 7441 V audio_route: ctl : "Right ASP TX2 Source" value "ASPRX1" 05-07 22:16:04.800 5195 7441 V audio_route: ctl : "Right ASP TX3 Source" value "Zero" 05-07 22:16:04.800 5195 7441 V audio_route: ctl : "Right ASP TX4 Source" value "Zero" 05-07 22:16:04.800 5195 7441 V audio_route: ctl : "Right PCM Source" value "DSP" 05-07 22:16:04.801 5195 7441 V audio_route: ctl : "Right Boost Enable" value "Enabled" 05-07 22:16:04.801 5195 7441 V audio_route: ctl : "Right AMP Enable Switch" value 1 05-07 22:16:04.803 9438 9438 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@8bdaecc 05-07 22:16:04.803 5195 7441 V audio_route: ctl : "ABOX NSRC2" value "SIFS0" 05-07 22:16:04.803 5195 7441 V audio_route: ctl : "ABOX SIFM2" value "WDMA" 05-07 22:16:04.805 5195 7441 V audio_route: ctl : "ABOX NSRC3" value "UAIF1" 05-07 22:16:04.805 5195 7441 V audio_route: ctl : "ABOX SIFM3" value "WDMA" 05-07 22:16:04.805 5195 7441 V audio_route: ctl : "ABOX RDMA7_EN" value "On" 05-07 22:16:04.805 5195 7441 V audio_route: ctl : "ABOX CHCONV4CH_EN" value "On" 05-07 22:16:04.805 5195 7441 V audio_route: ctl : "ABOX RDMA7_A" value "CHCONV4CH" 05-07 22:16:04.805 5195 7441 V audio_route: ctl : "ABOX CHCONV4CH_A" value "WDMA3" 05-07 22:16:04.805 5195 7441 V audio_route: ctl : "ABOX REFEXT4CH_EN" value "On" 05-07 22:16:04.806 5195 7441 V audio_route: ctl : "ABOX REFEXT4CH_A" value "WDMA4" 05-07 22:16:04.807 5195 7441 V audio_route: ctl : "ABOX SPUS OUT7" value "SIFS1" 05-07 22:16:04.807 5195 7441 V audio_route: ctl : "ABOX SIFS1" value "SPUS OUT7" 05-07 22:16:04.807 5195 7441 V audio_route: ctl : "ABOX UAIF1 SPK" value "SIFS1" 05-07 22:16:04.807 5195 7441 I audio_hw_proxy: proxy-set_route: routed to media-dual-speaker 05-07 22:16:04.807 5195 7441 D audio_route: Apply path: gain-media-dual-speaker 05-07 22:16:04.807 5195 7441 I audio_route: > audio_route_update_path : "gain-media-dual-speaker" reverse(0) 05-07 22:16:04.808 5195 7441 V audio_route: ctl : "Left AMP PCM Gain" value 17 05-07 22:16:04.808 5195 7441 V audio_route: ctl : "Left Digital PCM Volume" value 817 05-07 22:16:04.808 5195 7441 V audio_route: ctl : "Right AMP PCM Gain" value 17 05-07 22:16:04.808 5195 7441 V audio_route: ctl : "Right Digital PCM Volume" value 817 05-07 22:16:04.808 5195 7441 I audio_hw_proxy: proxy-set_route: set gain as gain-media-dual-speaker 05-07 22:16:04.821 9438 9438 D SettingsActivity: Starting onCreate 05-07 22:16:04.847 9438 9438 D SettingsActivity: Starting to set activity title 05-07 22:16:04.847 9438 9438 D SettingsActivity: Done setting title 05-07 22:16:04.847 9438 9438 D SettingsActivity: Switching to fragment com.android.settings.applications.appinfo.AppInfoDashboardFragment 05-07 22:16:04.847 9438 9438 D SubSettings: Launching fragment com.android.settings.applications.appinfo.AppInfoDashboardFragment 05-07 22:16:04.850 5195 7441 I audio_hw_proxy: proxy-enable_spkamp_playback: SPKAMP Playback PCM Device(/dev/snd/pcmC0D7p) with SR(48000) PF(1) CC(4) is opened & started 05-07 22:16:04.860 5195 7441 I audio_hw_proxy: proxy-enable_spkamp_reference: SPKAMP Reference PCM Device(/dev/snd/pcmC0D16c) with SR(48000) PF(1) CC(4) is opened & started 05-07 22:16:04.866 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.AppNotificationPreferenceController 05-07 22:16:04.866 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.AppPermissionPreferenceController 05-07 22:16:04.866 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.AppStoragePreferenceController 05-07 22:16:04.867 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.InstantAppDomainsPreferenceController 05-07 22:16:04.867 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.AppDataUsagePreferenceController 05-07 22:16:04.867 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.TimeSpentInAppPreferenceController 05-07 22:16:04.867 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.AppOpenByDefaultPreferenceController 05-07 22:16:04.870 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.AdvancedAppInfoPreferenceCategoryController 05-07 22:16:04.871 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.DrawOverlayDetailPreferenceController 05-07 22:16:04.871 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.WriteSystemSettingsPreferenceController 05-07 22:16:04.871 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.PictureInPictureDetailPreferenceController 05-07 22:16:04.872 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.ExternalSourceDetailPreferenceController 05-07 22:16:04.872 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.AppInstallerPreferenceCategoryController 05-07 22:16:04.872 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.AppInstallerInfoPreferenceController 05-07 22:16:04.872 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.AppSettingPreferenceController 05-07 22:16:04.873 9438 9438 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.applications.appinfo.AppVersionPreferenceController 05-07 22:16:04.875 9438 9438 W Settings: Unable to find info for package: null 05-07 22:16:04.884 9438 9438 W InstrumentedPrefFrag: Screen title missing for fragment com.android.settings.applications.appinfo.AppInfoDashboardFragment 05-07 22:16:04.918 9438 9438 D AppInfoDashboard: NO dashboard tiles for AppInfoDashboard 05-07 22:16:04.919 9438 9438 D SettingsActivity: Executed frag manager pendingTransactions 05-07 22:16:04.921 5195 7441 I audio_hw_proxy: proxy-enable_erap_in: ERAP In PCM Device(/dev/snd/pcmC0D15c) with SR(48000) PF(1) CC(2) is opened & started 05-07 22:16:04.921 5195 7441 I audio_hw_primary: fast_out-adev_set_route-1: routes to device(speaker) for usage(media) 05-07 22:16:04.922 5195 7441 I audio_hw_proxy: fast_out-proxy_open_playback_stream: The opened PCM Device is /dev/snd/pcmC0D1p with Sampling_Rate(48000) PCM_Format(0) PCM_start-threshold(384) PCM_stop-threshold(-1) 05-07 22:16:04.922 5195 7441 I audio_hw_primary: fast_out-out_write: transited to Idle 05-07 22:16:04.928 5195 7441 I audio_hw_primary: fast_out-out_write: transited to Playing 05-07 22:16:04.931 9438 9458 I DeviceIndex: Skipping: device index is not enabled 05-07 22:16:04.935 9438 9665 W TileUtils: Found com.android.settings.Settings$NotificationAppListActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category 05-07 22:16:04.930 5390 5390 W Binder:5390_2: type=1400 audit(0.0:23500): avc: denied { dac_read_search } for capability=2 scontext=u:r:installd:s0 tcontext=u:r:installd:s0 tclass=capability permissive=0 05-07 22:16:04.930 5390 5390 W Binder:5390_2: type=1300 audit(0.0:23500): arch=c00000b7 syscall=79 success=no exit=-2 a0=ffffff9c a1=75f7c45438 a2=75f7c45470 a3=100 items=0 ppid=1 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 exe="/system/bin/installd" subj=u:r:installd:s0 key=(null) 05-07 22:16:04.930 4982 4982 W auditd : type=1327 audit(0.0:23500): proctitle="/system/bin/installd" 05-07 22:16:04.930 4982 4982 W auditd : type=1320 audit(0.0:23500): 05-07 22:16:04.940 5548 5673 D HalDevMgr: isWifiStart 05-07 22:16:04.940 5225 5225 D WifiHAL : In DebugCommand::handleResponse 05-07 22:16:04.940 5225 5225 D WifiHAL : len = 4, expected len = 4 05-07 22:16:04.940 5225 5225 D WifiHAL : In DebugCommand::handleResponse 05-07 22:16:04.940 5225 5225 D WifiHAL : len = 4, expected len = 4 05-07 22:16:04.941 5548 5673 D HalDevMgr: getAllChipInfo 05-07 22:16:04.942 5548 5673 D HalDevMgr: getChipIds=[0] 05-07 22:16:04.942 9438 9438 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1611 android.content.ContextWrapper.bindService:698 android.content.pm.permission.RuntimePermissionPresenter$RemoteService.processMessage:171 android.content.pm.permission.RuntimePermissionPresenter.getAppPermissions:118 com.android.settingslib.applications.PermissionsSummaryHelper.getPermissionSummary:34 05-07 22:16:04.946 5225 5225 I android.hardware.wifi@1.0-service: enter getLinkLayerStats 05-07 22:16:04.946 5225 5225 I android.hardware.wifi@1.0-service: enter getLinkLayerStatsInternal 05-07 22:16:04.949 9438 9438 D AppUtils: Have 0 number of activities in preferred list 05-07 22:16:04.950 9438 9665 D SettingsActivity: No enabled state changed, skipping updateCategory call 05-07 22:16:04.958 9438 9438 W AppActionButtonControl: App is not explicitly stopped 05-07 22:16:04.958 99 99 W kworker/6:1: type=1400 audit(0.0:23501): avc: denied { open } for path="/sys/devices/virtual/sec/sec_key/hall_detect" dev="sysfs" ino=50916 scontext=u:r:kernel:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 05-07 22:16:04.972 9438 9438 D AppUtils: Have 0 number of activities in preferred list 05-07 22:16:04.982 5244 6185 D SurfaceFlinger: duplicate layer name: changing com.android.settings/com.android.settings.SubSettings to com.android.settings/com.android.settings.SubSettings#1 05-07 22:16:04.984 9438 9461 D mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 05-07 22:16:05.013 5225 5225 I android.hardware.wifi@1.0-service: Successfully getLinkLayerStats. 05-07 22:16:05.014 5548 5568 E BluetoothAdapter: Bluetooth binder is null 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: Unable to read statistics stream 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: java.io.IOException: read failed: EACCES (Permission denied) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at libcore.io.IoBridge.read(IoBridge.java:511) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at java.io.FileInputStream.read(FileInputStream.java:307) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at android.os.ParcelFileDescriptor$AutoCloseInputStream.read(ParcelFileDescriptor.java:942) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.readFully(BatteryStatsHelper.java:833) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.getStats(BatteryStatsHelper.java:1035) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.load(BatteryStatsHelper.java:1023) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.getStats(BatteryStatsHelper.java:258) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.refreshStats(BatteryStatsHelper.java:355) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.refreshStats(BatteryStatsHelper.java:348) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.refreshStats(BatteryStatsHelper.java:341) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.settings.fuelgauge.BatteryUtils.initBatteryStatsHelper(BatteryUtils.java:428) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.settings.fuelgauge.BatteryStatsHelperLoader.loadInBackground(BatteryStatsHelperLoader.java:48) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.settings.fuelgauge.BatteryStatsHelperLoader.loadInBackground(BatteryStatsHelperLoader.java:31) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:319) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:73) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:61) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at android.os.AsyncTask$2.call(AsyncTask.java:333) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at java.lang.Thread.run(Thread.java:764) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: Caused by: android.system.ErrnoException: read failed: EACCES (Permission denied) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at libcore.io.Linux.readBytes(Native Method) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at libcore.io.Linux.read(Linux.java:184) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at libcore.io.BlockGuardOs.read(BlockGuardOs.java:254) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at libcore.io.IoBridge.read(IoBridge.java:501) 05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: ... 20 more 05-07 22:16:05.051 5195 5653 D audio_hw_primary: fast_out-out_update_source_metadata: called, but not implemented yet 05-07 22:16:05.051 5195 5653 D audio_hw_primary: fast_out-out_update_source_metadata: This stream has 1 tracks 05-07 22:16:05.051 5195 5653 D audio_hw_primary: 1 Track has Usage(13), Content Type(4), Gain(0.000000) --------- beginning of crash 05-07 22:16:05.058 9438 9669 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #7 05-07 22:16:05.058 9438 9669 E AndroidRuntime: Process: com.android.settings, PID: 9438 05-07 22:16:05.058 9438 9669 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground() 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at android.os.AsyncTask$3.done(AsyncTask.java:354) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:252) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:271) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'long com.android.internal.os.BatteryStatsImpl$StopwatchTimer.getTotalTimeLocked(long, int)' on a null object reference 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.internal.os.BatteryStatsImpl.getPhoneOnTime(BatteryStatsImpl.java:6415) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.internal.os.BatteryStatsHelper.addPhoneUsage(BatteryStatsHelper.java:617) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.internal.os.BatteryStatsHelper.processMiscUsage(BatteryStatsHelper.java:763) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.internal.os.BatteryStatsHelper.refreshStats(BatteryStatsHelper.java:483) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.internal.os.BatteryStatsHelper.refreshStats(BatteryStatsHelper.java:348) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.internal.os.BatteryStatsHelper.refreshStats(BatteryStatsHelper.java:341) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.settings.fuelgauge.BatteryUtils.initBatteryStatsHelper(BatteryUtils.java:428) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.settings.fuelgauge.BatteryStatsHelperLoader.loadInBackground(BatteryStatsHelperLoader.java:48) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.settings.fuelgauge.BatteryStatsHelperLoader.loadInBackground(BatteryStatsHelperLoader.java:31) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:319) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:73) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:61) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at android.os.AsyncTask$2.call(AsyncTask.java:333) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 05-07 22:16:05.058 9438 9669 E AndroidRuntime: ... 3 more 05-07 22:16:05.061 5548 5560 W ActivityManager: Force finishing activity com.android.settings/.SubSettings 05-07 22:16:05.065 9438 9669 I Process : Sending signal. PID: 9438 SIG: 9 05-07 22:16:05.063 5548 5560 W ActivityManager: Force finishing activity com.android.settings/.SubSettings 05-07 22:16:05.068 5548 5564 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver 05-07 22:16:05.068 5548 5564 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver 05-07 22:16:05.095 5195 5653 D audio_hw_primary: fast_out-out_update_source_metadata: called, but not implemented yet 05-07 22:16:05.167 5548 5663 W InputDispatcher: channel '6da08a3 com.android.settings/com.android.settings.Settings$AppAndNotificationDashboardActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 05-07 22:16:05.167 5548 5663 E InputDispatcher: channel '6da08a3 com.android.settings/com.android.settings.Settings$AppAndNotificationDashboardActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 05-07 22:16:05.206 5548 5663 W InputDispatcher: channel 'f39f935 com.android.settings/com.android.settings.SubSettings (server)' ~ Consumer closed input channel or an error occurred. events=0x9 05-07 22:16:05.206 5548 5663 E InputDispatcher: channel 'f39f935 com.android.settings/com.android.settings.SubSettings (server)' ~ Channel is unrecoverably broken and will be disposed! 05-07 22:16:05.206 5548 5663 W InputDispatcher: channel '81b1e91 com.android.settings/com.android.settings.SubSettings (server)' ~ Consumer closed input channel or an error occurred. events=0x9 05-07 22:16:05.207 5548 5663 E InputDispatcher: channel '81b1e91 com.android.settings/com.android.settings.SubSettings (server)' ~ Channel is unrecoverably broken and will be disposed! 05-07 22:16:05.208 5548 7101 I WindowManager: WIN DEATH: Window{81b1e91 u0 com.android.settings/com.android.settings.SubSettings} 05-07 22:16:05.208 5548 7101 W InputDispatcher: Attempted to unregister already unregistered input channel '81b1e91 com.android.settings/com.android.settings.SubSettings (server)' 05-07 22:16:05.210 5184 5184 I Zygote : Process 9438 exited due to signal (9) 05-07 22:16:05.211 5548 5567 W libprocessgroup: kill(-9438, 9) failed: No such process 05-07 22:16:05.211 5548 5567 I libprocessgroup: Successfully killed process cgroup uid 1000 pid 9438 in 0ms 05-07 22:16:05.212 5548 5559 I WindowManager: WIN DEATH: Window{6da08a3 u0 com.android.settings/com.android.settings.Settings$AppAndNotificationDashboardActivity} 05-07 22:16:05.212 5548 5559 W InputDispatcher: Attempted to unregister already unregistered input channel '6da08a3 com.android.settings/com.android.settings.Settings$AppAndNotificationDashboardActivity (server)' 05-07 22:16:05.212 5548 5895 I ActivityManager: Process com.android.settings (pid 9438) has died: fore TOP 05-07 22:16:05.213 5548 6352 I WindowManager: WIN DEATH: Window{f39f935 u0 com.android.settings/com.android.settings.SubSettings} 05-07 22:16:05.213 5548 6352 W InputDispatcher: Attempted to unregister already unregistered input channel 'f39f935 com.android.settings/com.android.settings.SubSettings (server)' 05-07 22:16:05.238 5548 5566 I ActivityManager: Start proc 9700:com.android.settings/1000 for activity com.android.settings/.Settings$AppAndNotificationDashboardActivity 05-07 22:16:05.248 9700 9700 E ndroid.setting: Not starting debugger since process cannot load the jdwp agent. 05-07 22:16:05.297 9700 9700 D OpenGLRenderer: Skia GL Pipeline 05-07 22:16:05.308 9700 9716 D libEGL : loaded /vendor/lib64/egl/libGLES_mali.so 05-07 22:16:05.315 5548 9699 E UserRestrictionsUtils: Unknown restriction: null 05-07 22:16:05.317 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.telephony 05-07 22:16:05.317 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.calendar 05-07 22:16:05.317 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.media 05-07 22:16:05.317 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.mms.service 05-07 22:16:05.317 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.downloads 05-07 22:16:05.317 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.defcontainer 05-07 22:16:05.320 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping me.phh.treble.app 05-07 22:16:05.320 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.carrierconfig 05-07 22:16:05.320 9700 9700 D RecentAppsCtrl: System package, skipping android 05-07 22:16:05.320 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.nfc 05-07 22:16:05.320 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.stk 05-07 22:16:05.321 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.android.launcher3 05-07 22:16:05.321 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.settings.intelligence 05-07 22:16:05.323 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.google.android.setupwizard 05-07 22:16:05.323 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.settings 05-07 22:16:05.323 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.printspooler 05-07 22:16:05.323 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.se 05-07 22:16:05.323 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.inputdevices 05-07 22:16:05.323 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.cellbroadcastreceiver 05-07 22:16:05.323 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.server.telecom 05-07 22:16:05.323 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.syncadapters.contacts 05-07 22:16:05.323 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.keychain 05-07 22:16:05.323 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.chrome 05-07 22:16:05.323 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.dialer 05-07 22:16:05.323 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.packageinstaller 05-07 22:16:05.326 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.google.android.gms 05-07 22:16:05.326 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.gsf 05-07 22:16:05.326 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.tts 05-07 22:16:05.326 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping android.ext.services 05-07 22:16:05.326 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.calendar 05-07 22:16:05.326 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.smspush 05-07 22:16:05.327 9700 9700 D RecentAppsCtrl: System package, skipping com.android.settings 05-07 22:16:05.328 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.google.android.apps.pixelmigrate 05-07 22:16:05.328 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.apps.turbo 05-07 22:16:05.328 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.phone 05-07 22:16:05.328 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.shell 05-07 22:16:05.328 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.wallpaperbackup 05-07 22:16:05.328 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.blockednumber 05-07 22:16:05.328 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.userdictionary 05-07 22:16:05.328 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.location.fused 05-07 22:16:05.328 9700 9700 D RecentAppsCtrl: System package, skipping com.android.systemui 05-07 22:16:05.328 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.bluetooth 05-07 22:16:05.328 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.contacts 05-07 22:16:05.330 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.google.android.inputmethod.latin 05-07 22:16:05.348 9700 9700 W TileUtils: Found com.android.settings.Settings$NotificationAppListActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category 05-07 22:16:05.356 9700 9700 W TileUtils: Ignoring icon tintable for ActivityInfo{897a56 com.google.android.gms.security.settings.VerifyAppsSettingsActivity} 05-07 22:16:05.357 9700 9700 W TileUtils: Ignoring icon tintable for ActivityInfo{2537ad7 com.google.android.gms.security.settings.AdmSettingsActivity} 05-07 22:16:05.358 9700 9700 W TileUtils: Ignoring icon tintable for ActivityInfo{642ffc4 com.google.android.gms.update.SystemUpdateActivity} 05-07 22:16:05.359 9700 9700 W TileUtils: Ignoring icon tintable for ActivityInfo{a0ccead com.google.android.gms.ads.settings.AdsSettingsActivity} 05-07 22:16:05.360 9700 9700 W TileUtils: Ignoring icon tintable for ActivityInfo{53ae5e2 com.google.android.gms.autofill.ui.AutofillSettingsActivity} 05-07 22:16:05.361 9700 9700 W TileUtils: Ignoring icon tintable for ActivityInfo{aeaed73 com.google.android.location.settings.LocationHistorySettingsActivity} 05-07 22:16:05.361 9700 9700 W TileUtils: Ignoring icon tintable for ActivityInfo{4525430 com.google.android.gms.usagereporting.settings.UsageReportingActivity} 05-07 22:16:05.369 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.telephony 05-07 22:16:05.369 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.calendar 05-07 22:16:05.369 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.media 05-07 22:16:05.369 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.mms.service 05-07 22:16:05.369 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.downloads 05-07 22:16:05.369 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.defcontainer 05-07 22:16:05.371 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping me.phh.treble.app 05-07 22:16:05.371 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.carrierconfig 05-07 22:16:05.371 9700 9700 D RecentAppsCtrl: System package, skipping android 05-07 22:16:05.371 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.nfc 05-07 22:16:05.371 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.stk 05-07 22:16:05.371 9700 9718 D BrowserPrefCtrl: Get default browser package: com.android.chrome 05-07 22:16:05.371 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.android.launcher3 05-07 22:16:05.371 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.settings.intelligence 05-07 22:16:05.372 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.google.android.setupwizard 05-07 22:16:05.372 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.settings 05-07 22:16:05.372 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.printspooler 05-07 22:16:05.372 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.se 05-07 22:16:05.372 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.inputdevices 05-07 22:16:05.372 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.cellbroadcastreceiver 05-07 22:16:05.372 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.server.telecom 05-07 22:16:05.372 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.syncadapters.contacts 05-07 22:16:05.372 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.keychain 05-07 22:16:05.372 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.chrome 05-07 22:16:05.372 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.dialer 05-07 22:16:05.372 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.packageinstaller 05-07 22:16:05.373 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.google.android.gms 05-07 22:16:05.373 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.gsf 05-07 22:16:05.373 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.tts 05-07 22:16:05.373 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping android.ext.services 05-07 22:16:05.373 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.calendar 05-07 22:16:05.373 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.smspush 05-07 22:16:05.373 9700 9700 D RecentAppsCtrl: System package, skipping com.android.settings 05-07 22:16:05.374 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.google.android.apps.pixelmigrate 05-07 22:16:05.374 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.apps.turbo 05-07 22:16:05.374 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.phone 05-07 22:16:05.374 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.shell 05-07 22:16:05.374 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.wallpaperbackup 05-07 22:16:05.374 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.blockednumber 05-07 22:16:05.374 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.userdictionary 05-07 22:16:05.374 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.location.fused 05-07 22:16:05.374 9700 9700 D RecentAppsCtrl: System package, skipping com.android.systemui 05-07 22:16:05.375 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.bluetooth 05-07 22:16:05.375 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.contacts 05-07 22:16:05.376 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.google.android.inputmethod.latin 05-07 22:16:05.424 9700 9700 D SettingsActivity: Starting onCreate 05-07 22:16:05.440 9700 9700 D SettingsActivity: Starting to set activity title 05-07 22:16:05.440 9700 9700 D SettingsActivity: Done setting title 05-07 22:16:05.453 5244 5271 W SurfaceFlinger: Attempting to set client state on removed layer: com.android.settings/com.android.settings.SubSettings#0 05-07 22:16:05.453 5244 5271 W SurfaceFlinger: Attempting to destroy on removed layer: com.android.settings/com.android.settings.SubSettings#0 05-07 22:16:05.456 5244 5271 W SurfaceFlinger: Attempting to set client state on removed layer: com.android.settings/com.android.settings.SubSettings#1 05-07 22:16:05.456 5244 5271 W SurfaceFlinger: Attempting to destroy on removed layer: com.android.settings/com.android.settings.SubSettings#1 05-07 22:16:05.457 9700 9721 I DeviceIndex: Skipping: device index is not enabled 05-07 22:16:05.458 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.telephony 05-07 22:16:05.458 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.calendar 05-07 22:16:05.458 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.media 05-07 22:16:05.458 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.mms.service 05-07 22:16:05.458 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.downloads 05-07 22:16:05.458 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.defcontainer 05-07 22:16:05.460 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping me.phh.treble.app 05-07 22:16:05.460 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.carrierconfig 05-07 22:16:05.460 9700 9700 D RecentAppsCtrl: System package, skipping android 05-07 22:16:05.460 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.nfc 05-07 22:16:05.460 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.stk 05-07 22:16:05.460 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.android.launcher3 05-07 22:16:05.460 5548 5572 W ActivityManager: setHasOverlayUi called on unknown pid: 9438 05-07 22:16:05.460 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.settings.intelligence 05-07 22:16:05.461 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.google.android.setupwizard 05-07 22:16:05.461 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.settings 05-07 22:16:05.461 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.printspooler 05-07 22:16:05.461 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.se 05-07 22:16:05.461 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.inputdevices 05-07 22:16:05.461 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.cellbroadcastreceiver 05-07 22:16:05.461 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.server.telecom 05-07 22:16:05.461 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.syncadapters.contacts 05-07 22:16:05.461 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.keychain 05-07 22:16:05.461 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.chrome 05-07 22:16:05.461 9700 9720 W TileUtils: Found com.android.settings.Settings$NotificationAppListActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category 05-07 22:16:05.461 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.dialer 05-07 22:16:05.461 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.packageinstaller 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.google.android.gms 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.gsf 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.tts 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping android.ext.services 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.calendar 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.smspush 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: System package, skipping com.android.settings 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.google.android.apps.pixelmigrate 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.google.android.apps.turbo 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.phone 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.shell 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.wallpaperbackup 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.blockednumber 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.userdictionary 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.location.fused 05-07 22:16:05.463 9700 9700 D RecentAppsCtrl: System package, skipping com.android.systemui 05-07 22:16:05.464 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.bluetooth 05-07 22:16:05.464 9700 9700 D RecentAppsCtrl: Invalid timestamp, skipping com.android.providers.contacts 05-07 22:16:05.464 9700 9700 D RecentAppsCtrl: Not a user visible or instant app, skipping com.google.android.inputmethod.latin 05-07 22:16:05.484 9700 9722 D SettingsActivity: No enabled state changed, skipping updateCategory call 05-07 22:16:05.486 6275 6278 I adbd : initializing functionfs 05-07 22:16:05.486 6275 6278 I adbd : opening control endpoint /dev/usb-ffs/adb/ep0 05-07 22:16:05.521 6221 9693 I MS_RegisterService: Tachyon host: instantmessaging-pa.googleapis.com, Tachyon port: 443 05-07 22:16:05.539 6221 9698 I MS_RegisterService: RegisterService intent:Intent { act=com.google.android.gms.matchstick.register_intent_action cat=[targeted_intent_op_prefix:com.google.android.libraries.matchstick.net.SilentRegisterIntentOperation] flg=0x4 cmp=com.google.android.gms/.chimera.GmsIntentOperationService (has extras) } isPeriodic:false 05-07 22:16:05.540 9700 9725 D BrowserPrefCtrl: Get default browser package: com.android.chrome 05-07 22:16:05.543 6221 9695 I Authzen : [DeviceStateSyncManager] The server is in sync with current state. Nothing to do 05-07 22:16:05.568 6221 9698 W DynamiteModule: Local module descriptor class for providerinstaller not found. 05-07 22:16:05.569 6221 9698 I DynamiteModule: Considering local module providerinstaller:0 and remote module providerinstaller:0 05-07 22:16:05.569 6221 9698 W ProviderInstaller: Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0. 05-07 22:16:05.573 9700 9724 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 1 05-07 22:16:05.573 9700 9724 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 1 05-07 22:16:05.573 9700 9724 I OpenGLRenderer: Initialized EGL, version 1.4 05-07 22:16:05.573 9700 9724 D OpenGLRenderer: Swap behavior 2 05-07 22:16:05.583 9700 9724 D mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 05-07 22:16:05.738 6221 9698 I TachyonSyncUtils: removeSyncAccount. Success: true 05-07 22:16:05.806 5244 6185 W SurfaceFlinger: Attempting to set client state on removed layer: Splash Screen com.android.settings#0 05-07 22:16:05.806 5244 6185 W SurfaceFlinger: Attempting to destroy on removed layer: Splash Screen com.android.settings#0 05-07 22:16:06.487 6275 6278 I adbd : initializing functionfs 05-07 22:16:06.487 6275 6278 I adbd : opening control endpoint /dev/usb-ffs/adb/ep0 05-07 22:16:06.739 5225 5225 I android.hardware.wifi@1.0-service: enter getLinkLayerStats 05-07 22:16:06.739 5225 5225 I android.hardware.wifi@1.0-service: enter getLinkLayerStatsInternal 05-07 22:16:06.765 5225 5225 I android.hardware.wifi@1.0-service: Successfully getLinkLayerStats.

phhusson commented 5 years ago

Can you reproduce this issue with Google's pie gsi?

https://ci.android.com/builds/submitted/5507597/aosp_arm64-userdebug/latest/aosp_arm64-img-5507597.zip Extract the zip, system.img will be in it

Isolated useful part of logs:

05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: Unable to read statistics stream
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: java.io.IOException: read failed: EACCES (Permission denied)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at libcore.io.IoBridge.read(IoBridge.java:511)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at java.io.FileInputStream.read(FileInputStream.java:307)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at android.os.ParcelFileDescriptor$AutoCloseInputStream.read(ParcelFileDescriptor.java:942)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.readFully(BatteryStatsHelper.java:833)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.getStats(BatteryStatsHelper.java:1035)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.load(BatteryStatsHelper.java:1023)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.getStats(BatteryStatsHelper.java:258)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.refreshStats(BatteryStatsHelper.java:355)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.refreshStats(BatteryStatsHelper.java:348)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.internal.os.BatteryStatsHelper.refreshStats(BatteryStatsHelper.java:341)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.settings.fuelgauge.BatteryUtils.initBatteryStatsHelper(BatteryUtils.java:428)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.settings.fuelgauge.BatteryStatsHelperLoader.loadInBackground(BatteryStatsHelperLoader.java:48)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at com.android.settings.fuelgauge.BatteryStatsHelperLoader.loadInBackground(BatteryStatsHelperLoader.java:31)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:319)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:73)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:61)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at android.os.AsyncTask$2.call(AsyncTask.java:333)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at java.lang.Thread.run(Thread.java:764)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: Caused by: android.system.ErrnoException: read failed: EACCES (Permission denied)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at libcore.io.Linux.readBytes(Native Method)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at libcore.io.Linux.read(Linux.java:184)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at libcore.io.BlockGuardOs.read(BlockGuardOs.java:254)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: at libcore.io.IoBridge.read(IoBridge.java:501)
05-07 22:16:05.045 9438 9669 W BatteryStatsHelper: ... 20 more
05-07 22:16:05.051 5195 5653 D audio_hw_primary: fast_out-out_update_source_metadata: called, but not implemented yet
05-07 22:16:05.051 5195 5653 D audio_hw_primary: fast_out-out_update_source_metadata: This stream has 1 tracks
05-07 22:16:05.051 5195 5653 D audio_hw_primary: 1 Track has Usage(13), Content Type(4), Gain(0.000000)
--------- beginning of crash
05-07 22:16:05.058 9438 9669 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #7
05-07 22:16:05.058 9438 9669 E AndroidRuntime: Process: com.android.settings, PID: 9438
05-07 22:16:05.058 9438 9669 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at android.os.AsyncTask$3.done(AsyncTask.java:354)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:271)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'long com.android.internal.os.BatteryStatsImpl$StopwatchTimer.getTotalTimeLocked(long, int)' on a null object reference
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.internal.os.BatteryStatsImpl.getPhoneOnTime(BatteryStatsImpl.java:6415)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.internal.os.BatteryStatsHelper.addPhoneUsage(BatteryStatsHelper.java:617)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.internal.os.BatteryStatsHelper.processMiscUsage(BatteryStatsHelper.java:763)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.internal.os.BatteryStatsHelper.refreshStats(BatteryStatsHelper.java:483)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.internal.os.BatteryStatsHelper.refreshStats(BatteryStatsHelper.java:348)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.internal.os.BatteryStatsHelper.refreshStats(BatteryStatsHelper.java:341)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.settings.fuelgauge.BatteryUtils.initBatteryStatsHelper(BatteryUtils.java:428)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.settings.fuelgauge.BatteryStatsHelperLoader.loadInBackground(BatteryStatsHelperLoader.java:48)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at com.android.settings.fuelgauge.BatteryStatsHelperLoader.loadInBackground(BatteryStatsHelperLoader.java:31)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:319)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:73)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:61)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at android.os.AsyncTask$2.call(AsyncTask.java:333)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
05-07 22:16:05.058 9438 9669 E AndroidRuntime: ... 3 more
DrRambone commented 5 years ago

Installed the google pie, app settings ok, NFC/BT settings FC

uvitor commented 5 years ago

Installed the google pie, app settings ok, NFC/BT settings FC

Is your bluetooth working?

DrRambone commented 5 years ago

Installed the google pie, app settings ok, NFC/BT settings FC

Is your bluetooth working? Dont know, BT settings FC. Tried the Lineage gsi from XDA. App settings ok on that GSI

uvitor commented 5 years ago

Yeah, lineage works the app settings(including battery settings) but still FC on BT settings, and lacks brightness fix from phh v113.

uvitor commented 5 years ago

Phhusson, judging from my logcat and the issue that FC the battery info on settings, it's safe to say that's a problem related to battery management, isn't it?

phhusson commented 5 years ago

The error Unable to read statistics stream comes from frameworks/base/services/core/java/com/android/server/am/BatteryStatsService.java, meaning system_server => Settings is blocked somewhere.

Sounds like an SELinux issue.

@uvitor Uh, sorry I don't understand what this question means or implies

DrRambone commented 5 years ago

Could an selinux switcher resolve the issue? https://forum.xda-developers.com/android/apps-games/app-selinux-switch-t3656502 I tried the andyfan lineage GSI, the bug is not on that gsi

phhusson commented 5 years ago

I wouldn't call that ""resolve"", because disabling SELinux on a daily driver is suicide But yeah, testing with it would confirm the issue.

uvitor commented 5 years ago

Phhusson, Is it possible to compare what that framework is doing to google pie aosp? I don't know how to do that but I think it could give us some answer.

uvitor commented 5 years ago

Phhusson, i submitted a pull request. Found the difference between phh 113 and google AOSP in that file. I dont know how to build yet but i think it will work if you could help

https://github.com/phhusson/platform_frameworks_base/compare/android-9.0.0_r36-phh...uvitor:patch-1

https://github.com/phhusson/platform_frameworks_base/pull/5

phhusson commented 5 years ago

Just adding a function that is never called won't help...

uvitor commented 5 years ago

That was the only difference I found between google and yours on the frameworks/base/services/core/java/com/android/server/am/BatteryStatsService.java So I though it could help as it works on Google's and doesn't on yours (113)

phhusson commented 5 years ago

I didn't find this in Google's pie-gsi branch. Where did you see that?

Le ven. 24 mai 2019 à 02:16, Ulisses Vitor Pereira Neto < notifications@github.com> a écrit :

That was the only difference I found between google and yours on the frameworks/base/services/core/java/com/android/server/am/BatteryStatsService.java So I though it could help as it works on Google's and doesn't on yours (113)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/511?email_source=notifications&email_token=AAAA4OU36KYS3QC74RTLZFTPW4XURA5CNFSM4HLNUM4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWD2GGI#issuecomment-495428377, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAA4OU4X5JSXLPK2XU4OK3PW4XURANCNFSM4HLNUM4A .

uvitor commented 5 years ago

My bad, it was on bliss ROMs (that works as well) https://github.com/BlissRoms/platform_frameworks_base/blob/gsi/services/core/java/com/android/server/am/BatteryStatsService.java

elmkzgirxp commented 5 years ago

Can't replicate this on v114. App info works just fine.

sir-harlekin commented 5 years ago

This is good news. Thanks elmkzgirxp for supporting the S10 topics!