Unable to grant storage and other permissions due to Screen Overlay - Galaxy A3, A5, A7, A8, A9 Q&A, Help & Troubleshoot

Hi All,
As usual it is the first place for me to look for help.
I updated my A5 2016 device with the latest security update. While installing, I was assured that i would be able to uninstall that update.
I couldn't.
But this is not the actual problem.
Now I am unable to grant permissions to apps like Camera, Storage etc because whenever I try to do that it says Screen Overlay Detected on which screen none of the apps are turned on including the system apps. I am really annoyed with this feature (or bug) of the Android Marshmallow. I seek your help in solving this.
I am rooted with custom Xposed ver 86.

Try unchecked all screen overlays, even system app ones? Also, there might be another screen overlay that might not hv been listed. Eg: if u hv pie with gravitybox enabled you have to disable it in the app itself.

Arathergreendroid said:
Try unchecked all screen overlays, even system app ones? Also, there might be another screen overlay that might not hv been listed. Eg: if u hv pie with gravitybox enabled you have to disable it in the app itself.
Click to expand...
Click to collapse
Thank you so much for the valuable Help.
I recently found that some of my apps crashed suddenly and that the following error popped up: Unfortunately Phone has Stopped, Unfortunately ES File Explorer Has Stopped.
After I click OK it pops up again. So in a wonderfully foolish step I uninstalled the Phone App and now the phone will not reboot.
I uninstalled Xposed but nothing helped. Finally after lots of research on XDA and otherwise I flashed The Stock Firmware for my Phone SM-A510FD.
It rebooted just as fine but now the same problem is there and is not resolved. Moreover if i Open some app like Play Books while i am getting the error, the popup of the error stops until i open the Phone app again. I opened my phone in Safe MOde and saw that the same problem is also there which means it is not caused by some third party apps. PLease help.

deepray said:
Thank you so much for the valuable Help.
I recently found that some of my apps crashed suddenly and that the following error popped up: Unfortunately Phone has Stopped, Unfortunately ES File Explorer Has Stopped.
After I click OK it pops up again. So in a wonderfully foolish step I uninstalled the Phone App and now the phone will not reboot.
I uninstalled Xposed but nothing helped. Finally after lots of research on XDA and otherwise I flashed The Stock Firmware for my Phone SM-A510FD.
It rebooted just as fine but now the same problem is there and is not resolved. Moreover if i Open some app like Play Books while i am getting the error, the popup of the error stops until i open the Phone app again. I opened my phone in Safe MOde and saw that the same problem is also there which means it is not caused by some third party apps. PLease help.
Click to expand...
Click to collapse
I seem to have found the solution for the problem regarding crashing of the Phone App. The Phone App uses Screen Overlay in which we select SIM1 or SIM2. Turning that off would result in hampering its functionality. After i did turn on the screen overlay for Phone App, it is functioning just as fine and no crashes for atleast the phone app. I wonder to what lengths i went to solve this issue and the issue lied in my thing only.

Related

com.htc.bgp force close [(ACTUALLY) FIXED 04/29/2011]

EDIT: After studying some logs, and struggling with this issue for some time, I am happy to say I have finally figured out why this happens, and how to fix it.
The issue is with the calendar, which is why what is written below would work for a short time, before the problem would resurface. If you navigate into the calendar settings, you will see an option within Calendar View Settings to "Include Weather". What is happening, regardless of whether this is checked, is upon the gps turning on, and in set intervals afterward, the calendar tries to check the weather. When it does not find the proper apk, the com.htc.bgp message appears.
How To Fix
The files that need to be replaced are WeatherProvider.apk and WeatherProvider.odex (WeatherProvider.zip), which I have attached below for convenience. Simply replace these files using the method you prefer (adb, terminal, root file browser), remembering to remount /system as rw, then fix_permissions and reboot.
Alternatively, I made a flashable version (com.htc.bgp_fix_flashable-signed.zip), which you need only flash from recovery and reboot.
Click to expand...
Click to collapse
I recently started getting notices that com.htc.bgp stopped and needed a force close. Though it seemed not to affect anything, it was annoying.
It happens when one removes the sense apps (though I have not narrowed down exactly which ones).
To fix this, go to settings, applications, manage applications, then clear data in Calendar, Calander Provider, and Gmail.
Thank you! It was starting to really annoy me.
EDIT: It's back.
^ Shift Faced
Came back on me too. Cleared delvik as well. I may have to try and track down all the weather app crap I removed to stop it if no one can figure out a better way.
According to Elixer that process is started by ConnectToPCService. Hope that helps. I no longer get but I'm back to stock with all HTC junk intact, just Sprint crap removed.
^ Shift Faced
Code:
http://forum.xda-developers.com/showthread.php?t=659325
Check the OP for a real fix to this issue.
How do you "flash" from recovery & reboot
does this work on other htc phones?
i flashed this on a desire hd running leedroid 3.0.2 but i still get the FC
din clear data after flashing
note: i used a no sense script but left myhtc and htclocationservice intact
problem parsing package
i had downloaded the said files but when I tried to install the files,it says problem parsing the package..how to fix this?
thanks,
Jovirex

Apps acting weird (application not installed) 4.4

Hi all,
After upgrading to 4.4 some of my apps appear to be greyed out and when I click on it it says application not installed and takes me straight to the app store, heres the tricky part after I install the app it works however once I reboot my phone thats when the problem occurs and I can install but if I reboot yet again it repeats itself...
mafioso345 said:
Hi all,
After upgrading to 4.4 some of my apps appear to be greyed out and when I click on it it says application not installed and takes me straight to the app store, heres the tricky part after I install the app it works however once I reboot my phone thats when the problem occurs and I can install but if I reboot yet again it repeats itself...
Click to expand...
Click to collapse
Looks like they are on external sd card and there is a read/write issue with some apps here.
If you are rooted there is a fix. Most custom roms include the fix though if you search you will find how to do it yourself.
Otherwise you will need to wait until the apps are updated and write to different partitiion
Hey not-i im on crash rom v6 and I was on his thread and another user installed a few of the apps and reported no probs, I hope it has to do with the apps not my at the least, thanks bro for ur help....

[Q][HELP] [SOLVED] Positive button not working on Lollipop 5.0.1 dialogs

Hello everybody
I just updated my Nexus 4 to Lollipop 5.0.1 by wiping it and installing the factory image from Google
The most annoying bug I found is that when the UI prompts me a dialog, it doesn't work.
For example, when I try to install an APK file, this pops up (see Screenshot_2014-12-13-12-27-42.png in attachments), and I can only tap on "cancel". the "install" button doesn't work. Everything else seems to work fine, the navigation bar and scrolling the notification menu from the top of the screen give no problem whatsoever. This doesn't seem to depend on the APK file, nor on how do I send the command (I tried installing with ES file explorer, Dropbox, and an app called Easy Installer). I can't figure out a workaround, so I am unable to install APK's on the phone.
Another example are SuperSU requests (see Screenshot_2014-12-13-12-35-17.png ). Here the situation is worse: nothing in the dialog works, neither "deny", nor "grant", nor the box or the menu that read "ask again". Luckily there is an obvious workaround, as I can just open SuperSU and grant the permissions from there (the dialog in the SuperSU app seems to be proprietary and not from the Lollipop UI)
Probably useful info: I am using stock Android 5.0.1, rooted, with TWRP recovery and I installed Busybox (in /xbin).
I have no idea how to repair this. Can you give me some advice? If not, is there some workaround to the problem of installing APK's?
Thanks for the help and the attention.
P.S. This is my first post on this forum. I looked at the rules, but am new. So if I unknowingly broke some rules or posted offtopic I beg your pardon in advance. I also looked for other threads reporting the same problem, but found none.
I've read some posts where the user experienced the same or similar issues as yours. If I'm not mistaken, the issue was caused by some sort of a screen dimming software.
janedoesmith said:
I've read some posts where the user experienced the same or similar issues as yours. If I'm not mistaken, the issue was caused by some sort of a screen dimming software.
Click to expand...
Click to collapse
You were right. I was using an app called Lux 1.75 (sometimes called Lux Dash) that is an automatic screen dimmer. As soon as I stopped it, everything started working again.
Thanks a lot!
Lux Dash prevents Greenify to automate hibernate
ganileni said:
You were right. I was using an app called Lux 1.75 (sometimes called Lux Dash) that is an automatic screen dimmer. As soon as I stopped it, everything started working again.
Thanks a lot!
Click to expand...
Click to collapse
Yep- it was driving me crazy. Worked fine in KitKat but not Lollipop. Uninstalled Lux Dash and now hibernate works automatically after turning on Greenify in Accessibility.
thanks for the tip- prevented me from going crazy!!
steve

Settings / Updates crashes

Today I made a strange observation on two A2017G: the ZTE update function ("Settings / Updates") crashes when you open it (both phones are on 7.1.1). It doesn't really matter at the moment but it's still rather weird. The phone keeps working normally despite the crash of the update function. Do you guys see the same behaviour?
No problem here
Interesting bug: if you have any ZIP file in the root directory of your SD card, the update app will crash. That was the reason why the update app crashed on my phone. I moved the ZIP files to a sub directory which solved the problem.
Updates crashes Settings app
I'm having the same problem. Everytime I select Updates in my settings menu, I get a message that settings app has crashed. Phone still works, don't need to power cycle. But I can't figure out how to get into the update menu.
UPDATE: I solved my problem. There is a System Update app that had been disabled. Took some digging around to find it, but after I enabled it I was able to get into the Update menu. My phone is downloading updates as I'm typing this. Hope this helps.

Help needed with constant Cyanogenmod 11 crashes on S4 GT-I9505

Anyone? Still having severe issues...
----
I have very happily used Cyanogenmod 11 on a Samsung S4 GT-I9505 for many years. Now suddenly after an apparently harmless update of a few Apps (gmail, youtube, firefox and a few more small ones), apps on my phone keep crashing whenever it accesses some deeper app info. Sometimes they even reboot my phone.
Symptoms: With a SIM card, the phone will crash and reboot right after entering the PIN for the SIM card. Without a SIM card, I can get to the lock screen, enter my unlock gesture and then see many, many messages that Trebuchet has crashed. Leaving the phone turned on for a night will result in a working Trebuchet launcher from which I can run most apps, but accessing Settings > Apps, for example, will briefly show the Apps and then crash Settings. Titanium Backup will run for about a minute while "Building data freshness information..." and then crash TB, sometimes even reboot the phone. Dragging an app icon from the launcher onto "App Info" will briefly display the app info while computing disk space and then crash. So I cannot reset cache or app data on the phone itself (I can through adb, though).
What I tried so far: Installed three other launchers but they showed the same symptoms, one even directly rebooted the phone. I booted into recovery and reset the Dalvik cache and let CM rebuild the app details on restart with no apparent positive effect. I tried removing the SD card but did not see any positive effect either. Booting into Safe Mode did not help, I still see systemui and trebuchet crashing upon restart. Also clearing the app data for Trebuchet (through 'adb shell pm clear com.cyanogenmod.trebuchet') did not remove the crashes.
Some more details: I have about 300 apps installed. Internal storage has about 1GB free, the SD card has 400MB available. I can connect to the phone via adb, but 'adb backup' produces only an empty file. I can run Play Store, list my apps, install updates. This is a Samsung S4 GT-I9505 running Cyanogenmod 11.0 based on Android 4.4.4.
Any help would be much appreciated! Moving all my apps and their settings to a new phone or a new OS would be a very big effort which I very much would like to avoid.
Thank you very much in advance!
PS: What would be the best way to make a full backup of the phone before trying out a new ROM?
mb42 said:
Anyone? Still having severe issues...
----
Symptoms: With a SIM card, the phone will crash and reboot right after entering the PIN for the SIM card. Without a SIM card, I can get to the lock screen, enter my unlock gesture and then see many, many messages that Trebuchet has crashed. Lill briefly display the app info while computing disk space and then crash. So I cannot reset cache or app data on the phone itself (I can through adb, though)...
/QUOTE]
I guess problem might be with update package. As of best way of backup, I use titanium background and it's pretty good!
Everyone's requirements and usage is different so you might try something else as well.
Click to expand...
Click to collapse
Asder.mko said:
I guess problem might be with update package. As of best way of backup, I use titanium background and it's pretty good!
Click to expand...
Click to collapse
As mentioned, Titanium Backup is one of those apps that crashes.
Any other suggestions what I could do to get rid of those crashes?
Just in case someone else reads this - after a lot of trial and error, I was able to identify a single app (ISS Detector) as the culprit. Uninstalling the app removed all the crashes. Re-installing it would crash-boot the phone immediately after the install was complete!
I have NO IDEA why a normal app would be able to crash the entire OS but I am glad to be able to use my phone again.
mb42 said:
Just in case someone else reads this - after a lot of trial and error, I was able to identify a single app (ISS Detector) as the culprit. Uninstalling the app removed all the crashes. Re-installing it would crash-boot the phone immediately after the install was complete!
I have NO IDEA why a normal app would be able to crash the entire OS but I am glad to be able to use my phone again.
Click to expand...
Click to collapse
??

Categories

Resources