Cannot change any permissions anymore since today - Android Q&A, Help & Troubleshooting

I don't know, what happened. Since one month or longer I use Cherish OS (Android 11) AOSP Custom Rom on Redmi Note 10 Pro, but suddenly I cannot do anything related to permissions. When I start an app and it asks for a permission I cannot press and select anything. The popup for deny/allow appears, but touching any option does not do anything. I just can go back, and use the home button etc, but not select the permission options. When I go to the app settings manually via long press on the app icon and open the app details, I can do everything, except setting the permissions there either. It just freezes I cannot do anything, except go back to the previous menu.. What might be the issue? I cannot use any app properly, except those I gave permissions before. I even flashed the Rom again but nothing changed

Try clearing system cache.
Hard reboot.

Related

Moto E LTE stuck in "just a sec" screen of "SetupWizardTestActivity"

Moto E LTE stuck in "just a sec" screen of "SetupWizardTestActivity"
Moto E LTE stuck in "just a sec" screen of "SetupWizardTestActivity" :crying:
1) Any suggestion on how to cancel/escape this "first time init" application so that i can reach the settings and give the required permission to this app.
2) If above not possible then any other suggestion to get back phone in working condition without factory reset/wipe from recovery.
*Apps are still working in background , i am getting notification sound and pushbullet notification on desktop
*tried the cache cleaning from recovery. it took quite some time but after reboot also the stuck in same situation
*Completely stock phone. bootloader unlock and root not done. since bootloader unlock wipes the device i do not want to do it at the moment.
*I have installed moto usb drivers and SDK to execute adb but phone is not visible with 'adb devices' command.
* apps are excuting in background since i am getting pushbullet update of phone notifications on desktop browser but the first time setup app has captured the screen and does not alow any other activity from touchscreen.
* for some reason the Paytm app also runs at startup and runs on top of "SetupWizardTestActivity" app but only thing i can do is back soft button till it exits. cant open notification
Context and back story
I triggered the "home button not working, empty notification" of lollipop/marshmallow as detailed in the following post on my Moto E 2015 LTE surnia by trying to manage space by using the migrate data option in storage. it tried to perform migrate in opposite direction i.e. from sdcard to internal and ran out of space mid operation probably.
"http://forums.androidcentral.com/android-6-0-marshmallow/600742-nexus-5-marshmallow-home-button-not-working-many-more-problems.html"
This issue is also reported here along with adb fix by koush
https://plus.google.com/u/0/110558071969009568835/posts/BL8XtUDcDCZ
Nova launcher workaround if abd not available . 3rd last post at the bottom.
http://forums.androidcentral.com/moto-e-2015/673227-problems-marshmallow-moto-e2-any-help.html
After this the behavior was as specified in above issue posting. home button not working (i could reach home screen by using back key till all open application as closed.), empty notification drawer, not able to reach the quick shortcuts in notification area etc.
So I tried thought some space issue
A) so i installed a few apps and cleared data of chrome, play books etc. to free up 500mb.
still same home button issue
B) then i thought it is some notification permission issue and checked various options in notification option in setting.
still no change
C) then i thought some other permission issue. So in the apps option in setting i reset the apps permission to factory. (dont remember exact menu option but it was in the 3 dots option on top right in apps setting). it gave a warning that all permissions will be reset to factory for apps
after this all apps lost all permissions and everything was asking permission when app was started. e.g. data manager app wanted permission to access data, sms app wanted sms access and so on.
**This will be one main reason for my issue at the end.**
After that I searched the issue and found above link.
so i tried the guest user login and cancel from that and the notification drawer got recovered. it was showing app notifications for whatsapp, SMS etc.
but home soft button was still *not* working
Since i haven't done any bootloader unlock and root operation on this phone i was not confident of the adb command success since it mentioned in one post that it required 'su'
So i tried Nova launcher workaround to invoke 'SetupWizardTestActivity' and it did execute asking me for
Now the initial factory inti app is running and stuck in following loop
language->sim select-> wifi login-> \
/-----------------------------------|
->privacy option->|software update check->-\
|------------------------------------------|
|-> account added -> "just a sec" ---------^
it hangs and crashes at the saving "just a sec" screen and goes back to "Account added" screen
This is due to the permission issue i created in step "C" of permission reset explained above.
This issue is also reported here along with adb fix by koush
https://plus.google.com/u/0/110558071969009568835/posts/BL8XtUDcDCZ
Nova launcher workaround if abd not available . 3rd last post at the bottom.
http://forums.androidcentral.com/moto-e-2015/673227-problems-marshmallow-moto-e2-any-help.html
Please if someone can help with ideas and suggestions to kill the fitst time installation app. :fingers-crossed:
NOTE. im new to Moto E but have been playing around with my older phones samsung s2, lg g2 and changing roms and trying out various options like CM, AOKP res remix etc.
any ideas on how to unset the flag that causes this first time installation screen to run at bootup
so apparently the bootloader unlock requires us to have a "" toggle set from devleoper option.
but we dont have a phone booting into a state that allows this toggle to be selected then we cant unlock bootloader as well.
fastboot oem unlock XXXX
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.011s
as explained in http://www.droid-life.com/2014/11/0...nable-oem-unlock-option-in-developer-options/
and http://forum.xda-developers.com/nexus-9/help/warning-locking-bootloader-disabling-t2951312
So if someone has an idea on how to cancel the flag i somehow enabled by executing 'SetupWizardTestActivity' from nova launcher wizard.
The wizard cant complete because it doesn't have permission and i cant give permission as it is not allowing me to enter into the phone setting.
Did you ever find a way aroudn this issue? I've just run into it too..

[Lineage os 14.1] Home and recents button not working, can't access developer options

Running latest weekly for lineage OS 14.1 may 18th, I was using my phone when it shut down suddenly and restarted. When it booted back up I had lost all my app data, I wasn't logged into chrome etc, the recents and home button do not work, on either on screen or capacitive buttons. (long press on recents brings up the app menu however, and haptic feedback registers the click)
I tried this:
https://forum.xda-developers.com/showpost.php?p=65442177&postcount=3982
By wiping the system folder and installing the nightly again along with an updated open gapps and it did nothing.
I can't access developer options, repeatedly hitting build number does nothing. I can't pull down the notification tray all the way. I'm missing menus in settings.
I honestly don't know what happened. I installed a new app[The world of magic] about an hour before this happened but I was using it the entire time. I've tried to list everything I ave come across, any help or further questions would be appreciated.
Thanks.
Zardif said:
Running latest weekly for lineage OS 14.1 may 18th, I was using my phone when it shut down suddenly and restarted. When it booted back up I had lost all my app data, I wasn't logged into chrome etc, the recents and home button do not work, on either on screen or capacitive buttons. (long press on recents brings up the app menu however, and haptic feedback registers the click)
I tried this:
https://forum.xda-developers.com/showpost.php?p=65442177&postcount=3982
By wiping the system folder and installing the nightly again along with an updated open gapps and it did nothing.
I can't access developer options, repeatedly hitting build number does nothing. I can't pull down the notification tray all the way. I'm missing menus in settings.
I honestly don't know what happened. I installed a new app[The world of magic] about an hour before this happened but I was using it the entire time. I've tried to list everything I ave come across, any help or further questions would be appreciated.
Thanks.
Click to expand...
Click to collapse
Hi,
One of my friend had similar issue. Go to Settings>Profile and change it to owner. Probably it will help.
I had this issue when I started messing with rerunning the first time setup. Rerun the setup by following these steps:
taimoorhusain said:
So, just wanted to circle back... Contrary to the above, it is indeed possible*and I was able to do it and reproduce it reliably.*Long story short, it was the following two commands that did the trick :
1. adb shell
su
pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardActivity
2. adb shell settings put secure user_setup_complete 0
The first command is case sensitive (SetupWizardActivity)
Thanks to this source for the help and guidance : http://android.stackexchange.com/qu...-setup-wizard-at-next-boot-using-command-line
Click to expand...
Click to collapse
https://forum.xda-developers.com/pixel/help/run-setupwizard-t3527414
I was facing the same issue when my phone rebooted due to low battery. Can confirm that rerunning the setup fixed the issue. Thanks to this thread for the help.
These are the steps which I followed:
1. Removed the screen lock (Might not be needed, not sure).
2. Executed the above two commands mentioned by AlexInvar.
3. Reboot.
You can also pass that with Nova Launcher.
Just create an activity shortcut for "installation Wizard" activity and run it
After that, it will be OK.

Files crashing - cannot attach files

Have this weird problem recently with my Mate 10 Pro. Whenever I clicked on attach files in any apps that uses the native files browser, it will load the file browser for a split second before crashing. Anyone has the same problem or knows the solution? Thanks.
Seifer1975 said:
Have this weird problem recently with my Mate 10 Pro. Whenever I clicked on attach files in any apps that uses the native files browser, it will load the file browser for a split second before crashing. Anyone has the same problem or knows the solution? Thanks.
Click to expand...
Click to collapse
Did you try to delete cache from native files browser or install another one?
Tried deleting both cache and data and it didn't help. Installing another browser doesn't help cause I can't choose the browser for these apps to use to select files.
Seifer1975 said:
Tried deleting both cache and data and it didn't help. Installing another browser doesn't help cause I can't choose the browser for these apps to use to select files.
Click to expand...
Click to collapse
You can choose browser in settings app and notifications app default app...
If it doesn't work, try a factory reset
sonydesouza said:
You can choose browser in settings app and notifications app default app...
If it doesn't work, try a factory reset
Click to expand...
Click to collapse
He can set a differrent browser (for web) for standard browser but he cannot change the file manager, which is what he means with "file browser" I believe.
Before trying a factory reset you can also try to wipe the phones cache. You can do that booting into stock recovery:
1. Switch the phone off
2. Press Power + Volumen Up simultaneously
3. When the Huawei logo appears release the power button but keep pressing Volume Up until EMUI menu / stock recovery is shown
4. tap on "wipe cache partition"
5. after wiping is done tap on "reboot system now"
Maybe that helps.
cyvr1 said:
He can set a differrent browser (for web) for standard browser but he cannot change the file manager, which is what he means with "file browser" I believe.
Before trying a factory reset you can also try to wipe the phones cache. You can do that booting into stock recovery:
1. Switch the phone off
2. Press Power + Volumen Up simultaneously
3. When the Huawei logo appears release the power button but keep pressing Volume Up until EMUI menu / stock recovery is shown
4. tap on "wipe cache partition"
5. after wiping is done tap on "reboot system now"
Maybe that helps.
Click to expand...
Click to collapse
Yeah obviously. I thought we can configured files browser in default app but it's wrong...
cyvr1 said:
He can set a differrent browser (for web) for standard browser but he cannot change the file manager, which is what he means with "file browser" I believe.
Before trying a factory reset you can also try to wipe the phones cache. You can do that booting into stock recovery:
1. Switch the phone off
2. Press Power + Volumen Up simultaneously
3. When the Huawei logo appears release the power button but keep pressing Volume Up until EMUI menu / stock recovery is shown
4. tap on "wipe cache partition"
5. after wiping is done tap on "reboot system now"
Maybe that helps.
Click to expand...
Click to collapse
Tried, didn't help. Thanks though. I was trying to avoid a factory reset as it's a hassle to re-setup my phone. My suspicion is a rogue file somewhere that causes the file manager to crash when it loads. But I can't hunt it down yet.
So apparently it's due to this app named "downloads". The app crashes and exits immediately everytime I tried to launch it. Not sure why though.
Seifer1975 said:
So apparently it's due to this app named "downloads". The app crashes and exits immediately everytime I tried to launch it. Not sure why though.
Click to expand...
Click to collapse
What is that app???
It's a system app. Don't you have it?
Seifer1975 said:
It's a system app. Don't you have it?
Click to expand...
Click to collapse
Just checked.. No I don't
Seifer1975 said:
Have this weird problem recently with my Mate 10 Pro. Whenever I clicked on attach files in any apps that uses the native files browser, it will load the file browser for a split second before crashing. Anyone has the same problem or knows the solution? Thanks.
Click to expand...
Click to collapse
I have the exact same problem. Anyone with a suggestion? Thanks
grumpyg4 said:
I have the exact same problem. Anyone with a suggestion? Thanks
Click to expand...
Click to collapse
I had the same problem for months.
if you go to "Apps" in settings and show system processes then you should see a small app with a download icon called "Files". Go into that one and delete data. That worked for me.
gee118 said:
I had the same problem for months.
if you go to "Apps" in settings and show system processes then you should see a small app with a download icon called "Files". Go into that one and delete data. That worked for me.
Click to expand...
Click to collapse
Me also having same issue. Unable to upload any files using web browser Huawei P30pro. I am able to select the file but after that nothing happens. Tried your suggestion but still doesn't work.
Huawei p30 pro owner here. Hello i have the same issue with the Files app however it only happens when trying to select image from browser or an OCR app i have called easyOCR and specifically for the Screenshots folder. It all started when i transfered all my photos from the Camera folder to PC because storage was almost full and then i deleted them from phone and the problem started to happen (i did the same thing in the past many times to previous phones i owned without any issues at all). I really dont know how to fix it btw i ve left my EMUI to 10.0.123 cause i dont want the camera to lose quality like i have heard it happens with one of the later software updates, and phone was working absolutely perfectly until this thing happened.

OnePlus One, CM-13.1.2 stock room. Phone hangs every time after reboot

Hello,
For a long time I'm using my good old friend OnePlus One, it works great to me on stock AOSP CM-13.1.2 until yesterday. I fail in the name of good and terrible thing has happened xD.
I wanted to stop draining my battery by apps which all the time were using GPS service to track my location so I started to make some change in settings -> privacy guard settings -> Location permission.
I tried to change the permission to those apps from "Allowed" to "Always ask". I do mistake and change permission to Google Play Services. After that I restart my phone. Now every time my OnePlus One is stuck/freeze after booting screen and I see only black screen and popup window in center with requests to give Location permission to Google Play Service.
Touch screen not working when is press to Allow, It cant go ahead to lock screen.
My phone is not rooted, locked bootloader, no TWRP, only stock Cayanogen recovery with options:
Reboot system now
Apply update -> Apply from ADB->ADB Sideload
Factory reset -> Full factory reset or Wipe cache partition ( I dont want lose my data on phone)
Advanced-> Reboot recovery
Advanced-> Reboot to bootloader
I read on internet that I need to modify or delete /data/system/appops.xml file
What can I do now, how can I do this modification without losing data.
Can I do it from shell console ADB? and which option I have to choose in recovery to connect my laptop OS: win XP with OnePlus One?
I read that i can do it by TWRP recovery but i dont have it on OPO. Can I safely flash it to phone without losing data? Bootloader is locked.
Is there any tutorial how to do it safely? How to Delete or download, modiffy and replace file /data/system/appops.xml using ADB commands, backup my personal data to PC, connect with phone by ADB with computer.
Any help needed. Sorry for my bad english.
Best Regard
ArkadiSEA

Question Applications lose their permissions when restarting the device (Redmi Note 10 mojito/sunny

Every night I turn off my phone, the next day I wake up, and turn it on, and some applications such as messages, or google photos, brave browser, ask me for permissions or define defaults, this only happens after restarting the device
Which Rom are you using
muneeb rizwan said:
Which Rom are you using
Click to expand...
Click to collapse
I'm using xiaomi.eu 12.5.2
I have same problem,also xiaomi.eu
Its weird because it does not affect all aps,just some
In the settings for the "Info>Permissions" application in the system, there is an option to "remove permissions for inactive applications". The system will probably evaluate the application as inactive and remove the permissions.
Turn off this feature for the listed applications.
I cant find that settings anywhere
I'm on a custom ROM and can't verify if Miui supports it. But Android 11 has this feature and custom ROM also.
It's supposed to be where you set permissions for the application.

Categories

Resources