[HELP NEEDED] - wrong permissions set on com.android.vending - General Questions and Answers

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.

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.

Settings Crash When Checking Data Useage

When I go to Settings --> Data usage --> Wi-Fi data usage, the app crashes with the message "Settings keeps stopping". http://i.imgur.com/nyaJvEy.png
Tried safe mode and clearing chache and still wouldn't work. Support suggested I factory reset. Tried that, it worked initially, but by the time I was done setting my phone back up (downloading all apps, tweaking settings, etc,) the issue was back.
Is anyone else seeing this issue or am I alone? Anyone else mind checking theirs and chiming in? Thanks!
dipson626 said:
Is anyone else seeing this issue or am I alone? Anyone else mind checking theirs and chiming in? Thanks!
Click to expand...
Click to collapse
Did you get this far? Seems to be working okay for me..
I don't have any ideas about the cause or solution, except one of your apps is breaking it. Not sure.
Sent from my sailfish using XDA Labs
I appreciate you checking. The device will usually load the graph quickly, then immediately throw the error.
I agree, I think when it's trying to load usage for a particular app it's crashing. Support wants to warranty my device but I have a feeling that's not going to help. Just wanted to see if anyone else has this issue, then maybe could narrow down the offending app.
Hey.
I have the same problem; but on my HTC ONE M9 (Stock)
But it worked a few weeks ago, and now it crashes immediatley.
And it looks like its not a device problem (http://forum.xda-developers.com/nexus-6p/help/data-usage-crash-t3355490), but a "special" general problem...
And i tried to wipe data and cache at the "usage data" programm, but didnt help..
I have the same issue in my Google Pixel. Checking Cellular data usage will crash sometimes, but checking Wi-Fi data usage will always crash, I found some info as below link, but not luck for #23 solution, the "Draw over other apps" of System UI is default Yes.
https://code.google.com/p/android/issues/detail?id=197735
I'm seeing this also - seems to be compounded by a device restore where high data usage happens within first few hours of device use. Noticed this on my 5x with 7.1 and 7.1.1 - just saw this on a NEW Pixel 128GB - NO ROOT - PURE Factory ROM, reported it to AOSP issues as well: https://code.google.com/p/android/issues/detail?id=232202
On my 5x with 7.1.1 - the problem stopped after 2-3 days (don't know if usage histogram just stabilized to not get the crash)
Are the people seeing this error using the OTA or did they use fastboot, if using fastboot was it with -w or without.
I have done many installs, factory and custom roms and never seen this, I've never taken an OTA cause to me, that equals a dirty install ?
Sent from my Pixel using XDA-Developers Legacy app
Finally, I clean app settings then, data usage is working (But lost all the app settings (Permissions, Background data,,,etc.)
I do some test, the data usage will crash when "Background data" in some applications are disabled. But I am not sure which app will cause the crash.
I have never experience that issue but from the symptoms : Tried factory reset > worked at the beginning > installed apps, tweaking settings > stopped working. It most probably is caused by an app (or setting), so next step would be to ID it.
Did you have a look at a logcat of the moment the crash happens? It could give you some hints.
Otherwise (I know it is long and boring) factory reset then install apps and tweak settings only one at a time trying the WiFi data between each until you find the culprit is the way to go.
bafforosso said:
I have never experience that issue but from the symptoms : Tried factory reset > worked at the beginning > installed apps, tweaking settings > stopped working. It most probably is caused by an app (or setting), so next step would be to ID it.
Did you have a look at a logcat of the moment the crash happens? It could give you some hints.
Otherwise (I know it is long and boring) factory reset then install apps and tweak settings only one at a time trying the WiFi data between each until you find the culprit is the way to go.
Click to expand...
Click to collapse
I was going to say the same thing. I'm thinking an app in particular is causing this. I've never had the issue myself. However if it did happen to me. I would uninstall apps in reverse order.
Think back to when you first noticed this and try and think of any new apps you might have installed around that time.
Go to the All section of My Apps and Games - Most recent apps are on top, so uninstall from the top down until you find the culprit.
dipson626 said:
When I go to Settings --> Data usage --> Wi-Fi data usage, the app crashes with the message "Settings keeps stopping". http://i.imgur.com/nyaJvEy.png
Tried safe mode and clearing chache and still wouldn't work. Support suggested I factory reset. Tried that, it worked initially, but by the time I was done setting my phone back up (downloading all apps, tweaking settings, etc,) the issue was back.
Is anyone else seeing this issue or am I alone? Anyone else mind checking theirs and chiming in? Thanks!
Click to expand...
Click to collapse
I had sort of the same problem. I ended up uninstalling apps. mixplorer was causing it for me. I downgraded to a older version of it and my FC went away.
I found that data usage will crash after setting "Background data" of some applications as restricted.
The following is the logcat log.
03-16 16:27:52.937 1011 14355 I ActivityManager: START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from uid 1000 on display 0
03-16 16:27:52.991 18101 18101 D SubSettings: Launching fragment com.android.settings.datausage.DataUsageList
03-16 16:27:53.145 1011 1137 I ActivityManager: Displayed com.android.settings/.SubSettings: +185ms
03-16 16:27:53.196 18101 18128 D OpenGLRenderer: endAllActiveAnimators on 0x7016f89400 (RippleDrawable) with handle 0x7026d82860
03-16 16:27:53.205 2669 2669 D TextExpansionAccessibilityServicePro: onAccessibilityEvent: windows changeds
03-16 16:27:53.348 18101 18101 D AndroidRuntime: Shutting down VM
03-16 16:27:53.348 18101 18101 E AndroidRuntime: FATAL EXCEPTION: main
03-16 16:27:53.348 18101 18101 E AndroidRuntime: Process: com.android.settings, PID: 18101
03-16 16:27:53.348 18101 18101 E AndroidRuntime: java.util.concurrent.RejectedExecutionException: Task [email protected] rejected from [email protected][Running, pool size = 9, active threads = 9, queued tasks = 128, completed tasks = 15]
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2049)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:814)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1360)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:623)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.settings.datausage.AppDataUsagePreference$UidDetailTask.bindView(AppDataUsagePreference.java:93)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.settings.datausage.AppDataUsagePreference.<init>(AppDataUsagePreference.java:49)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.settings.datausage.DataUsageList.bindStats(DataUsageList.java:390)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.settings.datausage.DataUsageList$3.onLoadFinished(DataUsageList.java:548)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.settings.datausage.DataUsageList$3.onLoadFinished(DataUsageList.java:545)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:489)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:457)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.content.Loader.deliverResult(Loader.java:144)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:265)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:92)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.os.AsyncTask.finish(AsyncTask.java:667)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.os.AsyncTask.-wrap1(AsyncTask.java)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6119)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
03-16 16:27:53.352 1011 14353 W ActivityManager: Force finishing activity com.android.settings/.SubSettings
03-16 16:27:53.359 1011 14353 W ActivityManager: Force finishing activity com.android.settings/.Settings$DataUsageSummaryActivity
03-16 16:27:53.446 1011 23150 I OpenGLRenderer: Initialized EGL, version 1.4
03-16 16:27:53.446 1011 23150 D OpenGLRenderer: Swap behavior 1
03-16 16:27:53.561 2669 2669 D TextExpansionAccessibilityServicePro: onAccessibilityEvent: windows changeds
03-16 16:27:53.627 18101 18111 W art : Suspending all threads took: 10.978ms
03-16 16:27:53.630 18101 18111 I art : Background partial concurrent mark sweep GC freed 31617(1304KB) AllocSpace objects, 0(0B) LOS objects, 40% free, 8MB/14MB, paused 11.582ms total 46.596ms
03-16 16:27:53.859 1011 1066 W ActivityManager: Activity pause timeout for ActivityRecord{542b1f9 u0 com.android.settings/.SubSettings t16865 f}
03-16 16:27:53.997 1011 1031 I sensors : batch
03-16 16:27:53.998 1011 1031 I nanohub : queueBatch: sensor=1, handle=1, period=2500000, latency=0
03-16 16:27:53.998 1011 1031 I sensors : activate
03-16 16:27:54.000 1011 1031 I nanohub : queueActivate: sensor=1, handle=1, enable=1
03-16 16:27:54.002 1011 1384 I nanohub : osLog: [BMI160] accSetRate: rate=409600, latency=2499584, state=3
03-16 16:27:54.028 484 484 E SurfaceFlinger: releasePendingBuffer failed: Unknown error -1 (1)
03-16 16:27:54.062 2669 2669 D TextExpansionAccessibilityServicePro: onAccessibilityEvent: windows changeds
03-16 16:27:54.212 18101 18470 W ResourceType: ResTable_typeSpec entry count inconsistent: given 2, previously 1329
03-16 16:27:54.299 1011 1066 I ActivityManager: Killing 17506:air.byss.mobi.instaweatherpro/u0a189 (adj 906): empty #17
03-16 16:27:54.425 1011 1384 I nanohub : osLog: bridge: Got event 0x00000221 with 1296 bytes of data
03-16 16:27:54.440 1011 1384 I nanohub : osLog: bridge: Got event 0x00000221 with 528 bytes of data
03-16 16:27:54.445 1011 1384 I nanohub : osLog: bridge: Issuing on-demand request for Cell Info
03-16 16:27:54.467 1011 1384 I nanohub : osLog: bridge: Got event 0x00000225 with 456 bytes of data
03-16 16:27:54.480 2309 17835 W ctxmgr : [AclManager]No 2 for (accnt=account#-2037801134#, com.google.android.gms(10019):UserLocationProducer, vrsn=10298000, 0, 3pPkg = null , 3pMdlId = null). Was: 2 for 1, account#-2037801134#
03-16 16:27:54.482 1011 1384 I nanohub : osLog: [WifiLocator] incoming scan 0x20028a64
03-16 16:27:54.484 1011 1384 I nanohub : osLog: [WifiLocator] wifi position success (24m)
03-16 16:27:54.485 1011 1384 I nanohub : osLog: [CellLocator] incoming scan 0x20028988
03-16 16:27:54.486 1011 1384 I nanohub : osLog: [CellLocator] cell position success (741m)
03-16 16:27:54.488 1011 1384 I nanohub : osLog: [LocEng] Sending Scan Request with interval ~60 seconds, ~520 meters
03-16 16:27:54.489 1011 1384 I nanohub : osLog: [GeofencingEngine] LocationCallback: provider 1, accuracy 20 meters, 0 transitions
03-16 16:27:54.534 1011 1069 E libprocessgroup: failed to kill 1 processes for processgroup 17506
03-16 16:27:54.660 1011 2783 D ActivityManager: cleanUpApplicationRecord -- 17506
Click to expand...
Click to collapse
I have the same problem:
01-09 11:58:07.691 22967 22967 E AndroidRuntime: java.util.concurrent.RejectedExecutionException: Task [email protected] rejected from [email protected][Running, pool size = 17, active threads = 17, queued tasks = 128, completed tasks = 52]
I have to ENABLE background data on all apps to resolve this?
Solved
I had the same problem on my Samsung J7 prime for more than 6 months! I tried force restart, clear the Settings app cache & data, wiping the cash partition, run in safe mode...
but finally THE SOLUTION was : resting the apps preferences
like this : settings >> apps >> the 3 dots in the top corner >> reset apps preferences

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

Edge sense stopped working after RUU update

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!

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