Scheduled contextual profiles doesn't seem to work (now with logcat) - prjkt.io

I searched the forum titles for "contextual" and didn't get any hits.
Then I searched the Q&A thread and found three hits but nobody responding with fixes or saying it worked for them.
I've set up Scheduled Contextual Profiles (day vs night theme). I can restore each theme without issue. And the automatic scheduling *says* it's applied one theme or the other, but the theme remains unchanged from what it was.
Is this feature still being worked on or is it actually working for anyone?
Me: Oreo 8.1 on OnePlus 5T running AOSP Extended ROM with SElinux enforcing (I only just now thought to try unenforcing but it'll be hours before I know if that helped).
Here are the other three posts in the Q&A with the same question, which is why I'm posting in the main forum. To see if we can get some traction on whether the feature is currently broken or if maybe we're just doing something wrong because it works for everyone else?
thedr34m13 said:
Scheduled contextual profiles aren't getting applied on my phone. I have a Moto g5 plus running NOS-Mod (with sysserv) 8.1. A notification pops up saying that the profile has been applied, but nothing changes. Manually changing profiles does work though. I tried with Andromeda, but it says debugging disabled, even though it isn't. Is there a possible fix?
Click to expand...
Click to collapse
KNGPN Q w Q said:
Hello everyone,
I just have a little question: is the automatic contextual profile switching actually working or do you manually need to do something to get it to work?
I have set it up to switch between Belo and Mono/Art during respectably day and night times and I noticed it actually tried switching between said themes, but didn't completely go through with it. What I mean with that, is that the theme of some elements did change, but not of all elements which made, for example, reading my notifications impossible. So again, is the automatic contextual profile switching completely working or did I simply have to wait a bit longer or are there some steps to be manually taken?
Click to expand...
Click to collapse
Dugatoembridge said:
I'm sorry if this has already been reported, but I searched on xda and other places but found nothing!
My problem is: automatic profile (day and night) does not work here! I get notification at the scheduled time saying that the profile will be applied as soon as the screen turns off, but this never happens. Deleted substratum data and re-created profiles, but problem persists.
Titan Xt1069 - EAX 4.4
Click to expand...
Click to collapse

I set up a profile to activate at 10:16AM and here are the logs of what happened (or didn't happen) for this activity.
My selinux was set to "permissive" at this time.
Code:
07-19 10:15:20.526 1319 3196 I ActivityManager: Start proc 12950:android.substratum.service/1000 for service android.substratum.service/.SubstratumHelperService
07-19 10:15:20.527 12612 12949 E SubstratumService: There was an exception when trying to apply profile
07-19 10:15:20.527 12612 12949 E SubstratumService: java.lang.NullPointerException: Attempt to invoke interface method 'void com.android.internal.substratum.ISubstratumHelperService.applyProfile(java.lang.String)' on a null object reference
07-19 10:15:20.527 12612 12949 E SubstratumService: at android.os.Parcel.readException(Parcel.java:2011)
07-19 10:15:20.527 12612 12949 E SubstratumService: at android.os.Parcel.readException(Parcel.java:1951)
07-19 10:15:20.527 12612 12949 E SubstratumService: at android.content.substratum.ISubstratumService$Stub$Proxy.applyProfile(ISubstratumService.java:493)
07-19 10:15:20.527 12612 12949 E SubstratumService: at projekt.substratum.common.platform.SubstratumService.applyProfile(SubstratumService.java:203)
07-19 10:15:20.527 12612 12949 E SubstratumService: at projekt.substratum.services.profiles.ScheduledProfileService$ApplyProfile.doInBackground(ScheduledProfileService.java:246)
07-19 10:15:20.527 12612 12949 E SubstratumService: at projekt.substratum.services.profiles.ScheduledProfileService$ApplyProfile.doInBackground(ScheduledProfileService.java:111)
07-19 10:15:20.527 12612 12949 E SubstratumService: at android.os.AsyncTask$2.call(AsyncTask.java:333)
07-19 10:15:20.527 12612 12949 E SubstratumService: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
07-19 10:15:20.527 12612 12949 E SubstratumService: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
07-19 10:15:20.527 12612 12949 E SubstratumService: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
07-19 10:15:20.527 12612 12949 E SubstratumService: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
07-19 10:15:20.527 12612 12949 E SubstratumService: at java.lang.Thread.run(Thread.java:764)
Full logcat attached.

Does anyone know if this feature will ever come back to Substratum?

Related

[Q] Google Play Store Doesn't Open

So, in the end of the past year I have finally got to root my china replica (fake) Galaxy SIII
Everything was working just fine, until I remove some app from the /system/app directory, because this replica comes with almost no internal space, although I thought I was removing only unnecessary apps. I removed two that should not have been removed, the phone started to act erratically, it would fully start, but the screen just showed the wallpaper a blinked nonstop.
After my first moment of despair, I tried to solve it, throwing everything back on it, that stopped the blinking screen and showed the apps shortcuts on the main screen again. Then I started removing one app at time interspersed with a reboot. After removing what I didn't want left, except the only two necessary apps, I went to the Play Store, to download some apps and enjoy the new freed up internal space, only to discover that it simply didn't open anymore.
At first it would load, then show the upgrading screen (from market to play store) and when I tapped *continue" the app would just shutdown, and I was back at the app launcher, then I tried again just to even attempt open the app, the screen would change to the loading, but very quickly, it would shutdown again.
After my second moment of despair, I tried installing apps via ADB, and it worked, and so did the apps, every app that I installed worked just fine, but it wouldn't be updated unless I could find the .apk file and install it again via ABD. What, in some cases, is simply impossible.
Than I found a site, that would send the download link of the .apk file to my email, and I could download it in my phone, which was not an update but it was better than have to install anything via ADB. Then I tried to launch one of those apps, only to discover that my browser would crash with a F/C when I tapped save in the download pop-up.
After weeks searching for solutions and for any clue in this issue, I discovered that within the Dropbox's application directory contained a lot of .txt files.
Reading these files, I discovered what is causing the malfunction of the Play Store and the download function in the Browser, and it is the same thing. The problem is I don't know what to do to solve this.
Following below are some examples of the .txt files:
Location: /data/system/dropbox
File name: [email protected]
Code:
Process: com.android.vending
Flags: 0xabe45
Package: com.android.vending v8016010 (3.10.10)
Build: sprd/sprdroid_base/hsdroid:2.3.5/MocorDroid2.3.5/W12.20_P12_20121105.115851:user/test-keys
java.lang.IllegalArgumentException: Unknown URL content://downloads/my_downloads
at android.content.ContentResolver.insert(ContentResolver.java:600)
at com.google.android.finsky.download.DownloadManagerImpl$1.run(DownloadManagerImpl.java:43)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)
File name: [email protected]
Code:
Process: com.android.vending
Flags: 0xabe45
Package: com.android.vending v8016010 (3.10.10)
Subject: Finsky
Build: sprd/sprdroid_base/hsdroid:2.3.5/MocorDroid2.3.5/W12.20_P12_20121105.115851:user/test-keys
android.util.Log$TerribleFailure: [27] DownloadProgressManager.makeNewCursor: Download progress cursor null: content://downloads/my_downloads
at android.util.Log.wtf(Log.java:275)
at android.util.Log.wtf(Log.java:254)
at com.google.android.finsky.utils.FinskyLog.wtf(FinskyLog.java:40)
at com.google.android.finsky.download.DownloadProgressManager.makeNewCursor(DownloadProgressManager.java:126)
at com.google.android.finsky.download.DownloadProgressManager.onDownloadProgress(DownloadProgressManager.java:234)
at com.google.android.finsky.download.DownloadProgressManager.access$000(DownloadProgressManager.java:28)
at com.google.android.finsky.download.DownloadProgressManager$2.run(DownloadProgressManager.java:97)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)
File name: [email protected]
Code:
Process: com.android.browser
Flags: 0x9be45
Package: com.android.browser v10 (2.3.5)
Build: sprd/sprdroid_base/hsdroid:2.3.5/MocorDroid2.3.5/W12.20_P12_20121105.115851:user/test-keys
java.lang.IllegalArgumentException: Unknown URL content://downloads/my_downloads
at android.content.ContentResolver.insert(ContentResolver.java:600)
at com.android.browser.BrowserActivity.onDownloadStartNoStream(BrowserActivity.java:3737)
at com.android.browser.BrowserActivity$18.onClick(BrowserActivity.java:3603)
at android.view.View.performClick(View.java:2485)
at android.view.View$PerformClick.run(View.java:9080)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3690)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Does anyone knows what it means? Or how to solve it? I really want this to work and despite it is taking up all of my free time, and I cannot come up with a solution.
Thanks in advance
Sorry for the bad English.
Hugo Bler
What were the two apps removed?
H_Bler said:
So, in the and of the past year i've get to root my china replica (fake) Galaxy SIII
Everything was working just fine, until I remove some app from the /system/app directory, 'cause this replicas come with almost none internal space, althogh I thought I was removing only unecessary apps, I removed two that wasn't sopposed to be removed, the phone bricked, it would fully start, but the screen just showed the wallpaper a blinked nonstop.
After my depair, I tried to solve it, throwing everything back on it, what stopped the blinking screen and showed the apps shortcuts in the main screen again. Then I started removing one app at time interspersed with a reboot, after removing what I didn't want lefting only that two necessary apps, I went to the Play Store, to download some apps and enjoy the new freed internal space, only to discover that it simply didn't open anymore, at first it would load, then show the upgrading screen (from market to play store) and when I touched "continue" the app would shutdown, and I was back at the app luncher, then I tried again just to it don't even open, the screen would change to the loading, but in notime it would shutdown again.
After my second despair, I tried installing apps via ADB, and it worked, and so did the apps, everyone that I installed worked just fine, but it wouldn't be updated unless I could find the .apk file and install it again via ABD. What, in some cases, is simply impossible.
Than I found a site, that would send the download link of the .apk file to my email, and I could download it in my phone, wich wasn't an autoupdate but it was better than have to install anything via ADB. Then I tried it, only to discover tha my browser would crash an FC when I thouched save in the download pop-up.
After weeks seeking solutions and searching any clue in the phone root directories, if found the Dropbox directory that contain a lot of .txt files.
Reading this files I discoverd what is causing de malfunction of the Play Store and the download function in the Browser, and it is the same thing. The problem is I don't know what to do to solve this, following below are some exemples of the .txt files:
location: /data/system/dropbox
File name: [email protected]
Code:
Process: com.android.vending
Flags: 0xabe45
Package: com.android.vending v8016010 (3.10.10)
Build: sprd/sprdroid_base/hsdroid:2.3.5/MocorDroid2.3.5/W12.20_P12_20121105.115851:user/test-keys
java.lang.IllegalArgumentException: Unknown URL content://downloads/my_downloads
at android.content.ContentResolver.insert(ContentResolver.java:600)
at com.google.android.finsky.download.DownloadManagerImpl$1.run(DownloadManagerImpl.java:43)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)
File name: [email protected]
Code:
Process: com.android.vending
Flags: 0xabe45
Package: com.android.vending v8016010 (3.10.10)
Subject: Finsky
Build: sprd/sprdroid_base/hsdroid:2.3.5/MocorDroid2.3.5/W12.20_P12_20121105.115851:user/test-keys
android.util.Log$TerribleFailure: [27] DownloadProgressManager.makeNewCursor: Download progress cursor null: content://downloads/my_downloads
at android.util.Log.wtf(Log.java:275)
at android.util.Log.wtf(Log.java:254)
at com.google.android.finsky.utils.FinskyLog.wtf(FinskyLog.java:40)
at com.google.android.finsky.download.DownloadProgressManager.makeNewCursor(DownloadProgressManager.java:126)
at com.google.android.finsky.download.DownloadProgressManager.onDownloadProgress(DownloadProgressManager.java:234)
at com.google.android.finsky.download.DownloadProgressManager.access$000(DownloadProgressManager.java:28)
at com.google.android.finsky.download.DownloadProgressManager$2.run(DownloadProgressManager.java:97)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)
File name: [email protected]
Code:
Process: com.android.browser
Flags: 0x9be45
Package: com.android.browser v10 (2.3.5)
Build: sprd/sprdroid_base/hsdroid:2.3.5/MocorDroid2.3.5/W12.20_P12_20121105.115851:user/test-keys
java.lang.IllegalArgumentException: Unknown URL content://downloads/my_downloads
at android.content.ContentResolver.insert(ContentResolver.java:600)
at com.android.browser.BrowserActivity.onDownloadStartNoStream(BrowserActivity.java:3737)
at com.android.browser.BrowserActivity$18.onClick(BrowserActivity.java:3603)
at android.view.View.performClick(View.java:2485)
at android.view.View$PerformClick.run(View.java:9080)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3690)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Does anyone knows what it means? Or How to sove it? I really want to this, it's taking all my free time, and I can't come up with a solution.
Thanks in advance
sorry for the bad english.
Hugo Bler
Click to expand...
Click to collapse
Hello Hugo, total noob here. Thanks for informing us of your issue. I'm almost near the rooting process, I'm pretty sure we have the same unit. Just out of curiousity, what were the two apps you removed that caused your phone to malfunction?
I'm still stuck with rooting the device because everytime I use the DOOMTOOL I get up to the point where it says, "read only memory"... As previously discussed in the other thread: http://forum.xda-developers.com/showthread.php?t=2061069&page=4
Thanks for all your inputs... I'm so confused with these China clones
It seems to me you should just do a factory reset if that is an option.
Yeah...
rpjwalter said:
It seems to me you should just do a factory reset if that is an option.
Click to expand...
Click to collapse
I've tried that, three times actually, after I pushed back those two apps in the /system/app directory, I did a factory reset, but it didn't work :/
SOLVED.
H_Bler said:
So, in the end of the past year I have finally got to root my china replica (fake) Galaxy SIII
Everything was working just fine, until I remove some app from the /system/app directory, because this replica comes with almost no internal space, although I thought I was removing only unnecessary apps. I removed two that should not have been removed, the phone started to act erratically, it would fully start, but the screen just showed the wallpaper a blinked nonstop.
After my first moment of despair, I tried to solve it, throwing everything back on it, that stopped the blinking screen and showed the apps shortcuts on the main screen again. Then I started removing one app at time interspersed with a reboot. After removing what I didn't want left, except the only two necessary apps, I went to the Play Store, to download some apps and enjoy the new freed up internal space, only to discover that it simply didn't open anymore.
At first it would load, then show the upgrading screen (from market to play store) and when I tapped *continue" the app would just shutdown, and I was back at the app launcher, then I tried again just to even attempt open the app, the screen would change to the loading, but very quickly, it would shutdown again.
After my second moment of despair, I tried installing apps via ADB, and it worked, and so did the apps, every app that I installed worked just fine, but it wouldn't be updated unless I could find the .apk file and install it again via ABD. What, in some cases, is simply impossible.
Than I found a site, that would send the download link of the .apk file to my email, and I could download it in my phone, which was not an update but it was better than have to install anything via ADB. Then I tried to launch one of those apps, only to discover that my browser would crash with a F/C when I tapped save in the download pop-up.
After weeks searching for solutions and for any clue in this issue, I discovered that within the Dropbox's application directory contained a lot of .txt files.
Reading these files, I discovered what is causing the malfunction of the Play Store and the download function in the Browser, and it is the same thing. The problem is I don't know what to do to solve this.
Following below are some examples of the .txt files:
Location: /data/system/dropbox
File name: [email protected]
Code:
Process: com.android.vending
Flags: 0xabe45
Package: com.android.vending v8016010 (3.10.10)
Build: sprd/sprdroid_base/hsdroid:2.3.5/MocorDroid2.3.5/W12.20_P12_20121105.115851:user/test-keys
java.lang.IllegalArgumentException: Unknown URL content://downloads/my_downloads
at android.content.ContentResolver.insert(ContentResolver.java:600)
at com.google.android.finsky.download.DownloadManagerImpl$1.run(DownloadManagerImpl.java:43)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)
File name: [email protected]
Code:
Process: com.android.vending
Flags: 0xabe45
Package: com.android.vending v8016010 (3.10.10)
Subject: Finsky
Build: sprd/sprdroid_base/hsdroid:2.3.5/MocorDroid2.3.5/W12.20_P12_20121105.115851:user/test-keys
android.util.Log$TerribleFailure: [27] DownloadProgressManager.makeNewCursor: Download progress cursor null: content://downloads/my_downloads
at android.util.Log.wtf(Log.java:275)
at android.util.Log.wtf(Log.java:254)
at com.google.android.finsky.utils.FinskyLog.wtf(FinskyLog.java:40)
at com.google.android.finsky.download.DownloadProgressManager.makeNewCursor(DownloadProgressManager.java:126)
at com.google.android.finsky.download.DownloadProgressManager.onDownloadProgress(DownloadProgressManager.java:234)
at com.google.android.finsky.download.DownloadProgressManager.access$000(DownloadProgressManager.java:28)
at com.google.android.finsky.download.DownloadProgressManager$2.run(DownloadProgressManager.java:97)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)
File name: [email protected]
Code:
Process: com.android.browser
Flags: 0x9be45
Package: com.android.browser v10 (2.3.5)
Build: sprd/sprdroid_base/hsdroid:2.3.5/MocorDroid2.3.5/W12.20_P12_20121105.115851:user/test-keys
java.lang.IllegalArgumentException: Unknown URL content://downloads/my_downloads
at android.content.ContentResolver.insert(ContentResolver.java:600)
at com.android.browser.BrowserActivity.onDownloadStartNoStream(BrowserActivity.java:3737)
at com.android.browser.BrowserActivity$18.onClick(BrowserActivity.java:3603)
at android.view.View.performClick(View.java:2485)
at android.view.View$PerformClick.run(View.java:9080)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3690)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Does anyone knows what it means? Or how to solve it? I really want this to work and despite it is taking up all of my free time, and I cannot come up with a solution.
Thanks in advance
Sorry for the bad English.
Hugo Bler
Click to expand...
Click to collapse
SOLVED.
The issue was caused by lack of a system application, the application "donwloadprovider.apk".
The problem was identified by comparing the "/system/app" directory in two similar devices, and noticing that the application was missing.
The solution:
Copy the application from the working device(A) to a computer.
Push via ADB the application to the malfunctioning device (B) "/system/app" directory.
Reboot device B.
Thanks Everyone for the help.
Especial thanks to Chico_PinoyCracker, Since he's the owner of "Device A".
Thanks Man.

[Q] Phone number Assistant APK

Hi,
I have seen there was an app which was named phone number assistant on z3 kitkat.I am curious to know is there such apk in android 5?If there is can you please share it,I am on Android 5 on Z2 and I want to try it,Maybe it works on our phones too,
Thank you so much
am2222 said:
Hi,
I have seen there was an app which was named phone number assistant on z3 kitkat.I am curious to know is there such apk in android 5?If there is can you please share it,I am on Android 5 on Z2 and I want to try it,Maybe it works on our phones too,
Thank you so much
Click to expand...
Click to collapse
Try this, credit iedafarha
augie7107 said:
Try this, credit iedafarha
Click to expand...
Click to collapse
Thanks,I tried it and it force closes
Code:
Process: com.sonymobile.numberassistant, PID: 21599
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/telephony/MSimTelephonyManager;
at com.sonymobile.numberassistant.utils.SimUtil.setIsMultiSimEnabled(SimUtil.java:31)
at com.sonymobile.numberassistant.NumAssApplication.onCreate(NumAssApplication.java:28)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1011)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4618)
at android.app.ActivityThread.access$1500(ActivityThread.java:149)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1385)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:211)
at android.app.ActivityThread.main(ActivityThread.java:5321)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1016)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.telephony.MSimTelephonyManager" on path: DexPathList[[zip file "/system/app/NumberAssistant_2.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
************at com.sonymobile.numberassistant.utils.SimUtil.setIsMultiSimEnabled(SimUtil.java:31)
************at com.sonymobile.numberassistant.NumAssApplication.onCreate(NumAssApplication.java:28)
************at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1011)
************at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4618)
************at android.app.ActivityThread.access$1500(ActivityThread.java:149)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1385)
************at android.os.Handler.dispatchMessage(Handler.java:102)
************at android.os.Looper.loop(Looper.java:211)
************at android.app.ActivityThread.main(ActivityThread.java:5321)
************at java.lang.reflect.Method.invoke(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:372)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1016)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)
Suppressed: java.lang.ClassNotFoundException: android.telephony.MSimTelephonyManager
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 14 more
It seems I need more liberaries(android.telephony.MSimTelephonyManager) to use
it
I believe there is a thread in the Z2 section stating it works but it needs to be manually installed and as you know, that requires root access. Sorry this apk did not work for you.
augie7107 said:
I believe there is a thread in the Z2 section stating it works but it needs to be manually installed and as you know, that requires root access. Sorry this apk did not work for you.
Click to expand...
Click to collapse
YEs I have installed it manually,thank you for your help
am2222 said:
YEs I have installed it manually,thank you for your help
Click to expand...
Click to collapse
If you have this app working can you tell me what you did to install it, and also what Android version you're on?
I'm on 5.0.2, 23.1.A.1.28. I tried installing as app and also manually pasting / changing permissions but without success.

HomTom HT7 shuts off automaticly

Hello,
I have a HomTom HT7 Smartphone and i have a problem with it.
The Phone shuts off automatically random, so i can't rely on it.
I tried some other roms which where sended to me by HomTom.
The problem is'nt solved, and now i am a bit deperate.
Is someone knows what it can be?
Vincent from Holland
Can you take a log file of when it happens? You can search the all mighty google on how to do that. Does your device give any sign or something when it does/ when it is about to do this?
RAZERZDAHACKER said:
Can you take a log file of when it happens? You can search the all mighty google on how to do that. Does your device give any sign or something when it does/ when it is about to do this?
Click to expand...
Click to collapse
Hi Razerzdahacker,
It took a while because i'd to root my Phone first before i could get a logfile.
Her are the last lines from the logfile before the crash:
22:52:39.041 1425 1440 W System.err: java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
05-04 22:52:39.041 1425 1440 W System.err: at com.android.internal.telephony.PhoneBase.privatizeCellInfoList(PhoneBase.java:1392)
05-04 22:52:39.041 1057 5145 I PowerManagerService: setBrightness mButtonLight 0.
05-04 22:52:39.041 1425 1440 W System.err: at com.android.internal.telephony.PhoneBase.getAllCellInfo(PhoneBase.java:1380)
05-04 22:52:39.041 1425 1440 W System.err: at com.android.internal.telephony.PhoneProxy.getAllCellInfo(PhoneProxy.java:386)
05-04 22:52:39.041 1425 1440 W System.err: at com.android.phone.PhoneInterfaceManager.getAllCellInfo(PhoneInterfaceManager.java:1599)
05-04 22:52:39.041 1425 1440 W System.err: at com.android.internal.telephony.ITelephony$Stub.onTransact(I
Hmm, I want you to tell me the android version you are running. Also, check if you have wifi to sleep when phone is locked, test different options and report results.
RAZERZDAHACKER said:
Hmm, I want you to tell me the android version you are running. Also, check if you have wifi to sleep when phone is locked, test different options and report results.
Click to expand...
Click to collapse
My android is 5.1
Wifi is allways on also when Phone is sleeping
I Know in mean time what the problem is.
It is SOD and so i want to reinstall the kernel but i do not know how.
Where can i find it and how do i install it?

System UI restart

Hi,
I have some issues with my HTC U12+. I had the issue before, I updated to the latest release (stock) and I still have this problem. I am on 1.53.401.5 version.
The issue is that randomly (not related to keeping the phone in my pocket or anything similar) the phone starts glitching and I see the "System UI Stopped working" message. On the screen it looks like it continuously tries to restart the System UI. Once or twice I was able to press the "Send report" button but I am not sure it worked.
It happens once 2-3 days and I cannot use the phone anymore. However, I am able to press the bower button and restart it, but otherwise, I cannot use it. Most of the times it happens when I do not use my phone at all. It is next to me, locked, and I see the screen glitching...
Did something similar happened to you as well? I use only "normal" applications, I do not have some strange configuration etc.
Any idea why this might happen?
Regards,
Mihai
Have you tried a Factory Reset?
MihaiTest said:
Hi,
I have some issues with my HTC U12+. I had the issue before, I updated to the latest release (stock) and I still have this problem. I am on 1.53.401.5 version.
The issue is that randomly (not related to keeping the phone in my pocket or anything similar) the phone starts glitching and I see the "System UI Stopped working" message. On the screen it looks like it continuously tries to restart the System UI. Once or twice I was able to press the "Send report" button but I am not sure it worked.
It happens once 2-3 days and I cannot use the phone anymore. However, I am able to press the bower button and restart it, but otherwise, I cannot use it. Most of the times it happens when I do not use my phone at all. It is next to me, locked, and I see the screen glitching...
Did something similar happened to you as well? I use only "normal" applications, I do not have some strange configuration etc.
Any idea why this might happen?
Regards,
Mihai
Click to expand...
Click to collapse
I've been having the exact same issue but not as often, like once every two weeks or so. haven't tried a factory reset yet but I think if I'll try that in case it gets worse
You guys are using Amazon music on different devices with the same account?
Sent from my HTC U12+ using XDA Labs
DeeZZ_NuuZZ said:
You guys are using Amazon music on different devices with the same account?
Click to expand...
Click to collapse
as a matter of fact I am using amazon music on my phone, my fire tv, and my laptop using the same account, obviously. what makes you think this could be the reason for the system ui restarts? thanks for looking into it!
hojnol said:
as a matter of fact I am using amazon music on my phone, my fire tv, and my laptop using the same account, obviously. what makes you think this could be the reason for the system ui restarts? thanks for looking into it!
Click to expand...
Click to collapse
my parents had one account on the u11+ and u11 and they both had problems. I told them to deactive the app on one phone and the systemUI related bugs didn't happen anymore. several other people also had the exact same issue. it's something related to an update from amazon music and their server... I don't know if the new music app update changed something... but HTC and probably Amazon are aware of that
good hint, thanks!
Same issue happening here and yes, amazon music is installed...
I've now deactivated background data for amazon music and see if that does anything, I'll report back
Thank you for support!
However, I never had Amazon Music installed and it happened to me multiple times.
I removed some applications (including Spotify considering it might act similar) and I will let you know if it happens again!
My mother just told me, that it happens again, even though Amazon music is only activated on one device. Gonna try to find out what could be else the problem. If it's definitely not related to Amazon I gonna contact someone, so they can investigate further
Sent from my HTC U12+ using XDA Labs
Well, it just happened to me again. I do not have Amazon Music or any strange app...
However, I've seen on some other discussions that Google App might be responsible. I uninstalled updates for Google App, forced stopped it and Disable it.
I will let you know if this still happens. You can also try this possible "solution".
Edit: I also cleaned up and now I have more than 25 GB available. Just to be sure "not enough free space" is not an issue anymore.
MihaiTest said:
Well, it just happened to me again. I do not have Amazon Music or any strange app...
However, I've seen on some other discussions that Google App might be responsible. I uninstalled updates for Google App, forced stopped it and Disable it.
I will let you know if this still happens. You can also try this possible "solution".
Edit: I also cleaned up and now I have more than 25 GB available. Just to be sure "not enough free space" is not an issue anymore.
Click to expand...
Click to collapse
Thanks, please report back if something like that happens again. My parents told me that it happened after the u11+ update came out. Before that the u11 (which got its update last summer or so) was totally fine and the u11+ too. After the latest u11+ update and when the Amazon music app was updates those things happened. At first it was fine with disabling Amazon music on one phone. But after some weeks it started again, app still disabled... I gonna flash a ruu on the u11 from my mother. She also has wifi issues, there the phone doesn't connect with the router anymore, even after re-applying the password or completely reset the network settings
Sent from my HTC U12+ using XDA Labs
Well, I am sorry to come with bad news, but it happened again. After 2 days. It is also strange that it happened last time, two days ago, around the same hour...
This means that, at least for me, uninstalling Google App and having a lot of free space, do not solve the issue.
I will continue to find a solution and I will keep you posted. Thank you for support!
Edit: I tried to fine something useful in the logs. This is a grep -i systemui (after the issue happened, unfortunately):
Code:
03-14 11:06:36.835 1270 1337 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.CONFIGURE_WIFI_DISPLAY in package: com.android.systemui at: Binary XML file line #128
03-14 11:06:36.859 1270 1270 I PackageManager: /system/priv-app/SystemUI changed; collecting certs
03-14 11:06:36.914 1270 1270 E PackageManager: Adding duplicate user id: 10003 name=com.android.systemui
03-14 11:06:37.732 1270 1270 W PackageManager: Failed to migrate com.android.systemui: android.os.ServiceSpecificException: Failed to mark default storage /data/data/com.android.systemui (code 95)
03-14 11:06:39.351 1270 1270 W InputMethodManagerService: null called updateSystemUiLocked(mCurToken=null, vis=0) from com.android.server.InputMethodManagerService.systemRunning(InputMethodManagerService.java:1445) <- com.android.server.InputMethodManagerService$Lifecycle.onBootPhase(InputMethodManagerService.java:1227)
03-14 11:06:39.393 1270 1270 I SystemServer: StartSystemUI
03-14 11:06:39.399 1270 1270 I ActivityManager: Start proc 1637:com.android.systemui/u0a3 for service com.android.systemui/.SystemUIService
...
03-14 11:06:46.427 1270 1296 W PackageManager: Failed to migrate com.android.systemui: android.os.ServiceSpecificException: Failed to mark default storage /data/data/com.android.systemui (code 95)
...
03-14 11:06:58.429 2723 2723 W InputMethodManagerService: null called updateSystemUiLocked(mCurToken=null, vis=0) from com.android.server.InputMethodManagerService.systemRunning(InputMethodManagerService.java:1445) <- com.android.server.InputMethodManagerService$Lifecycle.onBootPhase(InputMethodManagerService.java:1227)
03-14 11:06:58.508 2723 2723 I SystemServer: StartSystemUI
03-14 11:06:58.523 2723 2723 I ActivityManager: Start proc 3012:com.android.systemui/u0a16 for service com.android.systemui/.SystemUIService
03-14 11:06:58.718 2723 2723 V WallpaperManagerService: bindWallpaperComponentLocked: componentName=ComponentInfo{com.android.systemui/com.android.systemui.ImageWallpaper}
...
03-14 11:07:20.358 2723 2752 W BroadcastQueue: Permission Denial: broadcasting Intent { act=com.htc.cover.closed flg=0x1000030 (has extras) } from null (pid=-1, uid=-1) requires com.htc.permission.APP_DEFAULT due to registered receiver BroadcastFilter{9ea0fc2 u0 ReceiverList{178f40d 3012 com.android.systemui/10016/u0 remote:c9cdea4}}
...
03-14 11:07:54.673 2723 2723 V FingerprintService: startAuthentication(com.android.systemui)
03-14 11:07:54.674 2723 2723 V FingerprintService: starting client AuthenticationClient(com.android.systemui), initiatedByClient = true)
03-14 11:07:54.687 2723 2753 D StatusBarManagerService: setSystemUiVisibility(0x408608)
03-14 11:07:54.687 2723 2753 D StatusBarManagerService: setSystemUiVisibility(0x408608)
03-14 11:07:54.687 2723 2753 D StatusBarManagerService: setSystemUiVisibility(0x408608)
03-14 11:07:54.704 2723 2723 W FingerprintService: client com.android.systemui is authenticating...
...
03-14 11:09:33.612 2723 2723 V FingerprintService: onAuthenticated(owner=com.android.systemui, id=-1298556996, gp=0)
03-14 11:09:33.617 2723 2723 V FingerprintService: Done with client: com.android.systemui
...
03-14 11:14:04.812 3012 18215 D MediaPlayer: ANDROID_HTC_INVOKE_GET_CALLING_PROCESS packageName: com.android.systemui
03-14 11:14:04.872 3012 3012 I zygote64: Deoptimizing void com.android.systemui.statusbar.NotificationContentView.selectLayout(boolean, boolean) due to JIT inline cache
03-14 11:14:04.895 3012 3012 I chatty : uid=10016(u0_a16) com.android.systemui identical 380 lines
03-14 11:14:05.393 3012 18215 I chatty : uid=10016(u0_a16) com.android.systemui expire 3 lines
03-14 11:14:06.418 3012 18274 I chatty : uid=10016(u0_a16) com.android.systemui expire 8 lines
...
03-14 11:25:29.780 3012 3012 I zygote64: Deoptimizing float com.android.systemui.statusbar.stack.StackScrollAlgorithm.updateChildZValue(int, float, com.android.systemui.statusbar.stack.StackScrollState, com.android.systemui.statusbar.stack.StackScrollAlgorithm$StackScrollAlgorithmState, com.android.systemui.statusbar.stack.AmbientState) due to JIT inline cache
03-14 11:25:29.780 3012 3012 I zygote64: Deoptimizing void com.android.systemui.statusbar.stack.StackScrollAlgorithm.updateClipping(com.android.systemui.statusbar.stack.StackScrollState, com.android.systemui.statusbar.stack.StackScrollAlgorithm$StackScrollAlgorithmState, com.android.systemui.statusbar.stack.AmbientState) due to JIT inline cache
03-14 11:25:29.782 3012 3012 I zygote64: Deoptimizing void com.android.systemui.statusbar.stack.ExpandableViewState.animateTo(android.view.View, com.android.systemui.statusbar.stack.AnimationProperties) due to JIT inline cache
03-14 11:25:30.020 3012 3012 I chatty : uid=10016(u0_a16) com.android.systemui identical 6 lines
...
03-14 11:26:18.628 2723 3950 D BoostFramework: perfHint : hint: 0x1081 pkg_name(userDataStr): com.android.systemui:tuner duration(userData1): 2000 type(userData2): 1
03-14 11:26:18.630 2723 3950 I ActivityManager: START u0 {act=com.android.settings.action.DEMO_MODE cmp=com.android.systemui/.DemoMode} from uid 1000 pid 13556
03-14 11:26:18.639 2723 3950 D ANDR-PERF-ACT-TRIG: start activity com.android.systemui/com.android.systemui.DemoMode/26
03-14 11:26:18.639 2723 3950 D ActivityTrigger: activityStartTrigger: Activity is Triggerred in full screen ApplicationInfo{67c3891 com.android.systemui}
03-14 11:26:18.639 2723 3950 E ActivityTrigger: activityStartTrigger: not whiteListedcom.android.systemui/com.android.systemui.DemoMode/26
03-14 11:26:18.639 2723 3950 D ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{67c3891 com.android.systemui} is now in focus and seems to be in full-screen mode
03-14 11:26:18.640 2723 2753 D StatusBarManagerService: setSystemUiVisibility(0xa618)
03-14 11:26:18.643 2723 3950 D ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{67c3891 com.android.systemui} is now in focus and seems to be in full-screen mode
03-14 11:26:18.654 2723 3950 I ActivityManager: Start proc 21509:com.android.systemui:tuner/u0a16 for activity com.android.systemui/.DemoMode
03-14 11:26:18.655 2723 3950 D BoostFramework: perfHint : hint: 0x1081 pkg_name(userDataStr): com.android.systemui:tuner duration(userData1): -1 type(userData2): 3
03-14 11:26:18.657 2723 2753 D StatusBarManagerService: setSystemUiVisibility(0xa618)
03-14 11:26:18.657 7747 7763 I [B+]AppInfoService: [onVisiblePackageChanged] packages:com.android.systemui
03-14 11:26:18.657 7747 7763 I [B+]AppInfoSyncManager: [onAppInfoEvent] app:com.android.systemui
...
03-14 11:26:18.668 7747 7763 I [B+]TopPkgCallbackHelper: sendVisiblePackageChanged-- PackageName: com.android.systemui, TimeStamp: 1552555578657, ExtraPackageName: NULL, Extra2PackageName: NULL
03-14 11:26:18.671 2723 2753 D StatusBarManagerService: setSystemUiVisibility(0xa618)
03-14 11:26:18.673 2723 3950 D InputDispatcher: setFocus: AppWindowToken{3e916da token=Token{23012b8 ActivityRecord{195f11b u0 com.android.systemui/.DemoMode t8600}}}
...
03-14 11:45:20.230 3012 3051 W zygote64: Checksum mismatch for dex SystemUI.apk
03-14 11:45:20.230 3012 3051 W zygote64: Checksum mismatch for dex SystemUI.apk
I think this might be important: 03-14 11:45:20.230 3012 3051 W zygote64: Checksum mismatch for dex SystemUI.apk
Maybe the APK was corrupted somehow?
If you have any ideas, please let me know.
Another opinion : chech your SIM.
If your nano-SIM is part of a normal-SIM or micro-SIM (knife cut) it may not fit well and causes problems (random restarts).
pavlidisc said:
Another opinion : chech your SIM.
If your nano-SIM is part of a normal-SIM or micro-SIM (knife cut) it may not fit well and causes problems (random restarts).
Click to expand...
Click to collapse
Not the problem here/ for my mother's u11 and father's u11+
Sent from my HTC U12+ using XDA Labs
---------- Post added at 11:16 AM ---------- Previous post was at 11:15 AM ----------
@MihaiTest
Thanks for the log, gonna forward it. Couldn't get a log on my parents phones, because it happened when I wasn't at home
Sent from my HTC U12+ using XDA Labs
DeeZZ_NuuZZ - My pleasure!
I also did a full dump (bug report) and sent an email to HTC (hopefully, in the right direction).
They mentioned I should receive something back in maximum 48 so I will update you as soon as possible.
Are you registered to Google Search App beta, or are you using stable release channel. In the past such errors were thrown a lot and only if an update of Google App had errors.
Sent from my HTC U12+ using XDA Labs
I am using the stable release channel, no beta for Google App (did not even know about this) which is also uninstalled right now.
PS: I also copied the SystemUI.apk. Is there anyone (who does not have this issue - or who does) who can copy it and share it? I would like to "diff" it, to see if my APK is somehow corrupted.
Talking about crashes, I have noticed that if you use an animated wallpaper, after a few hours you won't be able to wake the screen anymore, it will remain black and the only solution is to force reboot.
hojnol said:
I've now deactivated background data for amazon music and see if that does anything, I'll report back
Click to expand...
Click to collapse
so far not a single ui restart after deactivation of background data for amazon music

Question Camera problem

Hi guys, I have a problem with my camera, it doesn't work anymore in aosp and in miui it only opens in video recording mode and with monochrome colors, on gcam everything works, but with monochrome colors too, I've done everything I could imagine trying to fix this, but nothing went right, does anyone have an idea what it is?
I have the error log when I try to open the camera, if anyone can help, I appreciate it.
io.reactivex.exceptions.OnErrorNotImplementedException: java.lang.IllegalArgumentException: Could not find tag for key 'org.codeaurora.qcamera3.saturation.use_saturation')
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept(Unknown Source:2)
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept(Unknown Source:2)
at io.reactivex.internal.observers.LambdaObserver.onError(Unknown Source:13)
at io.reactivex.internal.observers.LambdaObserver.onNext(Unknown Source:25)
at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(Unknown Source:47)
at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(Unknown Source:8)
at io.reactivex.internal.schedulers.ScheduledRunnable.run(Unknown Source:13)
at io.reactivex.internal.schedulers.ScheduledRunnable.call(Unknown Source:0)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
Caused by: com.android.camera2.vendortag.VendorTagNotFoundException: java.lang.IllegalArgumentException: Could not find tag for key 'org.codeaurora.qcamera3.saturation.use_saturation')
at com.android.camera2.vendortag.VendorTagHelper.trySetValue(Unknown Source:61)
at com.android.camera2.vendortag.VendorTagHelper.setValue(Unknown Source:4)
at com.android.camera2.compat.MiCameraCompatQcomImpl.applySaturation(Unknown Source:24)
at com.android.camera2.compat.MiCameraCompat.applySaturation(Unknown Source:2)
at com.android.camera2.CaptureRequestBuilder.applySaturation(Unknown Source:10)
at com.android.camera2.MiCamera2.setSaturation(Unknown Source:34)
at com.android.camera.module.Camera2Module.updateSaturation(Unknown Source:44)
at com.android.camera.module.Camera2Module.consumePreference(Unknown Source:258)
at com.android.camera.module.BaseModule.accept(Unknown Source:85)
at com.android.camera.module.BaseModule.accept(Unknown Source:2)
at io.reactivex.internal.observers.LambdaObserver.onNext(Unknown Source:8)
... 9 more
Caused by: java.lang.IllegalArgumentException: Could not find tag for key 'org.codeaurora.qcamera3.saturation.use_saturation')
at android.hardware.camera2.impl.CameraMetadataNative.nativeGetTagFromKeyLocal(Native Method)
at android.hardware.camera2.impl.CameraMetadataNative.setBase(Unknown Source:17)
at android.hardware.camera2.impl.CameraMetadataNative.set(Unknown Source:14)
at android.hardware.camera2.impl.CameraMetadataNative.set(Unknown Source:4)
at android.hardware.camera2.CaptureRequest$Builder.set(Unknown Source:6)
at com.android.camera2.vendortag.VendorTagHelper.trySetValue(Unknown Source:19)
... 19 more
Can You fix it ?
pudiste solucionar el problema? I have the same error
Hey guys! I also got this problem. Could you solve it? And if yes how did you do? Thanks for answears! I burnt my phone and I needed to replace two camera sensor. But now I got the shame issue.
I have same problem, any idea?
Anyone solved this? I have the same issue
allblacks19992 said:
Anyone solved this? I have the same issue
Click to expand...
Click to collapse
Test vendor image or the full fastboot rom

Categories

Resources