I rooted my phone using the pre-root image. Everything works fine, except when I install a contacts app, or a messaging app, the phone never remembers permissions I provide. Every time an app wants to modify the contacts for instance, I get a few dialogs asking for permission. This is really annoying and makes a lot of apps unusable.
Thanks.
virajmahesh said:
I rooted my phone using the pre-root image. Everything works fine, except when I install a contacts app, or a messaging app, the phone never remembers permissions I provide. Every time an app wants to modify the contacts for instance, I get a few dialogs asking for permission. This is really annoying and makes a lot of apps unusable.
Thanks.
Click to expand...
Click to collapse
Can you go to SU settings and on prompt select grant?
lordpipa said:
Can you go to SU settings and on prompt select grant?
Click to expand...
Click to collapse
I did that, but it doesn't help. Apps such as Whatsapp, Contacts+ etc are constantly requesting access to contacts. This mostly happens with contacts apps. I found a temporary fix by moving some apps to the system, but it's not a permanent fix as I can't keep doing this.
I think access to contacts has somehow become restricted to root, but I can't be sure.
virajmahesh said:
I did that, but it doesn't help. Apps such as Whatsapp, Contacts+ etc are constantly requesting access to contacts. This mostly happens with contacts apps. I found a temporary fix by moving some apps to the system, but it's not a permanent fix as I can't keep doing this.
I think access to contacts has somehow become restricted to root, but I can't be sure.
Click to expand...
Click to collapse
An update to this, it even happens with location services. So I dont know what the deal is with this.
virajmahesh said:
An update to this, it even happens with location services. So I dont know what the deal is with this.
Click to expand...
Click to collapse
Update SU binary? Or the SU app?
I'm having this issue as well. Looking forward to a solution.
Happening on my end, too. I think it's related to installing the system.img file without wiping the data partition. Of course, this could be addressed if TWRP were available for this device.
Going to try to re-flash to see if that helps. Apps that try to read contacts like Waze basically make my phone unusable because it keeps asking for permission even though I grant or deny until I perform a hard reboot.
Facing same issue here... Using latest FW WW... I believe we should be able to fix permissions from recovery maybe, but I can't find a way on how to do it as currently I can't use the device due to the ammount of permissions it's asking because of whatsapp.
Definitely moving apps to system solves the problem.
Can't find what to modify to fix this so far, however, it's related (of course) to the read/write permissions for contacts as it's not saving the configuration.
:No-Frost: said:
Definitely moving apps to system solves the problem.
Can't find what to modify to fix this so far, however, it's related (of course) to the read/write permissions for contacts as it's not saving the configuration.
Click to expand...
Click to collapse
It's not just contacts but contacts is the worst of them. I've seen it for location and at least one other.
New firmware was released. Head to the thread, download the latest for your build, then flash in fastboot. All the annoying notifications went away.
Make sure you erase the cache partition with fastboot erase cache.
permissions on contact writing
I just unbox my ZenFone 2 and I have that trouble.. how can I fix it.. I tried downloading the new firmware but my phone does not detect it.
Please help
I solved this problem while I was on the older firmware by doing the following:
1. Flash the latest pre-rooted image. Flash system, boot and recover!
2. When the phone boots, DO NOT sign up with your google account.
3. One you are at the home screen, go into setting and add your google account(s)
This fixed the issue for me. I also wiped the data and cache partitions before flashing but I'm not sure how that might have helped
mrbubs3 said:
New firmware was released. Head to the thread, download the latest for your build, then flash in fastboot. All the annoying notifications went away.
Make sure you erase the cache partition with fastboot erase cache.
Click to expand...
Click to collapse
Notifications are noticeably less but still there for me. Ugh.
Solved Problem with security messages on asus zenfone2 ZE551ML
Hi!!!
I have the same problem that a lot of people that I can see in internet and in this forum. In my asus zenfone 2, there are apps like whats app or facebook or wheater apps that, all the time, was asking me about permissions of this apps, to write in contacts or use gps or...
I try to update the firmware with new one, orginal, from Asus but always had an error message when try it.
At the end, I can solve, with this website: www asus-zenfone com/2015/06/ how-to-update-ota-without-bootloop-on-rooted-zenfone2. html (I put some spaces and I deletes . beacuase the forum not let me insert urls)
You only needs to do this steps:
flashboot flash fastboot droidboot.img
flashboot flash recovery recovery.img
flashboot flash boot boot.img
I don't need to do the rest of the explanation. (I had an error when try to install sytem.img but work well too)
I need to say that I am su. I don't remeber how I did it but I remeber that it is easy and I don't know if you need, to do these commands.
I hope that this, solve you too the problem. :good::good:
ENJOY!!!!!!
Related
Verizon Galaxy Nexus.
I was running 4.0.4 IMM30B leak. The new leak/possible update came out, I decided to flash it. Saw that it was only good for updating from 4.0.2 (ICL53F), so I wiped, formatted, and reinstalled it. Re set up my phone (titanium backup, homescreens, android market updates for a few apps, the basics). Everything seemed fine, though I didn't try saving anything. Ran the update to the new 4.0.4, and everything seemed fine and dandy.
The next day, titanium backup runs (scheduled) and fails. Says not enough storage or something despite the fact that it also shows ~14GB free space...
Tried to take a screenshot of the issue, and I get a notification that it "Couldn't capture screenshot." "Couldn't save screenshot. Storage may be in use."
Curious, I tried to take a picture with the system camera app, and it doesn't seem to save pictures either. Though no error messages tell me such things.
Caching seems to work, updating apps seems to work, using 'most' apps seems to work, but saving data to the virtual SDcard has no such luck.
Assuming that it's a permissions issue, I went into CWM Recovery and did a 'fix permissions.' Though that has not fixed anything.
Various searches have shown me that others have experienced this problem, but I haven't seen anyone with a solution. Also, they seem to be experiencing it in various AOKP roms (specifically for the Transformer tablet).
Question: Anyone know what I can do to fix it?
Haha this happened to me and no1 could answer it happened when i went from aokp m4 to m5.. Was odd, but what i did to fix was relock and unlock the bootloader and then get all my stuff back with titanium.. At least that worked fine for me
Edit: well i relocked restarted system and boot android, then reboot into bootloader and unlocked again, then boot into android (fresh new system) and im writing this from my fixed phone 1 week ago.. No problems so far
Sent from my Galaxy Nexus using xda premium
msedek said:
Haha this happened to me and no1 could answer it happened when i went from aokp m4 to m5.. Was odd, but what i did to fix was relock and unlock the bootloader and then get all my stuff back with titanium.. At least that worked fine for me
Edit: well i relocked restarted system and boot android, then reboot into bootloader and unlocked again, then boot into android (fresh new system) and im writing this from my fixed phone 1 week ago.. No problems so far
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Glad to hear that there is a fix. I may end up doing this tonight... I'm hoping that a quicker, simpler fix is available (something like boot an insecure.img and change permissions of these folders via adb, or something).
Thanks for that though, as I now know that it should work.
Happening on GSM Galaxy Nexus as well. I tried a rom over milestone 5, then reinstalled milestone 5 and restored my backup, and then got this problem. Seems sdcard is not writable to at all. Gonna try out the bootloader locking stuff i guess.
I ended up using the Galaxy Nexus Toolkit (for time and automated simplicity) to wipe the device, reflash 4.0.2 (signed by Google), reroot, CWM reccovery, and restore the virtual sdcard backup saved with the toolkit.
Once the virtual sd was restored, I restored my apps (but no system apps) with titanium backup. Haven't had the time since to reupgrade to 4.0.4, but 4.0.2 seems to be working for me nicely.
I am able to screenshot, and nice things like that, but sometimes titanium backup is giving me errors about not being able to save due to insufficient space (still 14GB free). Gonna dive into that issue today.
4.0.2 works good.. What its bad about it its the lag, the ROM its laggy and also the battery life and the photo quality.. ICS now its much better than 4.0.2
Sent from my Galaxy Nexus using xda premium
No fix?
I'm also getting this problem and only since installing android 4.3 from CM 10.2
I have also noticed that when I connect by USB to my PC I can't see anything but the external sd card whereas in the past I've been able to see 3 devices - ext sd, int sd and system. This makes me think it's permissions but I'm not sure what to change and where.
I need a screenshot to send a picture of an mms issue I'm having and can't re-install/restore whatever as this deletes the mms with the problem so I need a fix that leaves the phone as it is except for this repair.
Any help appreciated.
Redscorpian said:
I'm also getting this problem and only since installing android 4.3 from CM 10.2
I have also noticed that when I connect by USB to my PC I can't see anything but the external sd card whereas in the past I've been able to see 3 devices - ext sd, int sd and system. This makes me think it's permissions but I'm not sure what to change and where.
I need a screenshot to send a picture of an mms issue I'm having and can't re-install/restore whatever as this deletes the mms with the problem so I need a fix that leaves the phone as it is except for this repair.
Any help appreciated.
Click to expand...
Click to collapse
Dat gravedig.
Just try reflashing your device from a stock image.
Beauenheim said:
Dat gravedig.
Just try reflashing your device from a stock image.
Click to expand...
Click to collapse
And do you think that'll be leaving it as it is?
I fixed this deleting the "pictures" folder with RootExplorer.
jwiegand said:
I fixed this deleting the "pictures" folder with RootExplorer.
Click to expand...
Click to collapse
Tried booting in t recovery fixing permissions, tried delete the screenshot folder and tried wiping the dalvik... Never thought of deleting the Pictures folder. Solved it for me to! (This problem just occurred without me flashing a new rom or anything. A ~9 month old AOKP and the error just came up after a reboot)
Thanks jwiegand!
bergmanman said:
Tried booting in t recovery fixing permissions, tried delete the screenshot folder and tried wiping the dalvik... Never thought of deleting the Pictures folder. Solved it for me to! (This problem just occurred without me flashing a new rom or anything. A ~9 month old AOKP and the error just came up after a reboot)
Thanks jwiegand!
Click to expand...
Click to collapse
I'm on a different phone, but I fixed this issue by clearing the defaults for the program that launched pictures. In my case, I use Gallery, so in Program Info under Settings, I reset defaults and everything worked fine. I guess this is the same thing as deleting the Pictures folder since I believe it is an issue of 'releasing' the memory that remains in use by your respective program. For all future requests as to which program should be used to launch a file (or picture in this case), I never select the option that binds future requests to one specific program. Hope that helps .
My fix: re enable the media scanner!
Like many others, I have disabled the DRM and media scanner services because of the bug that caused ridiculous cpu usage (particularly on boot). Re enabling the media scanner fixed this problem right up. If you want a free and easy utility to do this, check out: "Rescan Media ROOT"
https://play.google.com/store/apps/details?id=com.addz.mediascannerroot
Disclaimer: I am not associated with the author of that app.
On some devices (such as Infuse, as was in my case), the only solution was to manually create Pictures/Screenshots (full path: /sdcard/Pictures/Screenshots or /storage/sdcard0/Pictures/Screeshots). I created them with Root Explorer.
Had tried all other solutions, but they did not work. Seems that the power button Screenshop would neither create Pictures nor Pictures/Screenshots.
TulsaDavid said:
On some devices (such as Infuse, as was in my case), the only solution was to manually create Pictures/Screenshots (full path: /sdcard/Pictures/Screenshots or /storage/sdcard0/Pictures/Screeshots). I created them with Root Explorer.
Had tried all other solutions, but they did not work. Seems that the power button Screenshop would neither create Pictures nor Pictures/Screenshots.
Click to expand...
Click to collapse
I tried all the previous solutions without success, but manually creating the Pictures/Screenshots folder worked flawlessly on my LG 4X.
Thanks TulsaDavid!
TulsaDavid said:
On some devices (such as Infuse, as was in my case), the only solution was to manually create Pictures/Screenshots (full path: /sdcard/Pictures/Screenshots or /storage/sdcard0/Pictures/Screeshots). I created them with Root Explorer.
Had tried all other solutions, but they did not work. Seems that the power button Screenshop would neither create Pictures nor Pictures/Screenshots.
Click to expand...
Click to collapse
Thanks alot! Worked for me!!
Thanks, TulsaDavid!
Making screenshots folder solved it for me aswell.
Unable to take Screenshot, USB storage maybe in use
TulsaDavid said:
On some devices (such as Infuse, as was in my case), the only solution was to manually create Pictures/Screenshots (full path: /sdcard/Pictures/Screenshots or /storage/sdcard0/Pictures/Screeshots). I created them with Root Explorer.
Had tried all other solutions, but they did not work. Seems that the power button Screenshop would neither create Pictures nor Pictures/Screenshots.
Click to expand...
Click to collapse
I have tried using home+power button, turned on swipe and had difficulty in using the S PEN to make the screenshot - still doesnt work.
I also tried making a new folder but still doesnt work.
My unit is Samsung Note 8.0
/sdcard permissions broken
Just had this happen on my Nexus 5.
The cause was using adb push to copy files to /sdcard when I was booted into recovery. All the files and folders were owned by root:root. I had to reboot to recovery, adb shell, and then
Code:
chown -R media_rw:media_rw /data/media/0
It might be possible to do this while booted in android with Connectbot or something, but I didn't try that.
TulsaDavid said:
On some devices (such as Infuse, as was in my case), the only solution was to manually create Pictures/Screenshots (full path: /sdcard/Pictures/Screenshots or /storage/sdcard0/Pictures/Screeshots). I created them with Root Explorer.
Had tried all other solutions, but they did not work. Seems that the power button Screenshop would neither create Pictures nor Pictures/Screenshots.
Click to expand...
Click to collapse
Thank you TulsaDavid. This helped me tremendously. You're a deity!
Sent from my SGH-T989 using Tapatalk
I updated my Vzw GNex to the vzw 4.2.2 ota this afternoon. Everything works fine except when I try to download something from chrome I get a message saying "No SD card" when I click a download link. I can access the sd card just fine with rootexplorer and the stock browser downloads things just fine. I tried clearing cache and data for chrome and even uninstalled and reinstalled it. Anyone else having this issue? Is there a way to fix it?
MurdocZero said:
I updated my Vzw GNex to the vzw 4.2.2 ota this afternoon. Everything works fine except when I try to download something from chrome I get a message saying "No SD card" when I click a download link. I can access the sd card just fine with rootexplorer and the stock browser downloads things just fine. I tried clearing cache and data for chrome and even uninstalled and reinstalled it. Anyone else having this issue? Is there a way to fix it?
Click to expand...
Click to collapse
I am seeing the same issue on my GNex running AOKP mr-1 build 6. I have not found a fix yet.
Of note: I do NOT have this issue on my Xoom running 4.2.2 [baked_wingray_bb-8]
Try making a copy of your sdcard and factory resetting, then copy all the files over using MTP, not ADB.
I get that if i copy files over using ADB.
Mach3.2 said:
Try making a copy of your sdcard and factory resetting, then copy all the files over using MTP, not ADB.
I get that if i copy files over using ADB.
Click to expand...
Click to collapse
Mach - Thank you for your response. I have to ask though, is there any other way?
Per your recommendation I began to copy my sdcard but quickly realized that given the amount of data on my phone this would be painful using standard methods. Windows [7] was reporting no progress and seemed as if it was going to take forever to copy the contents and applications like RichCopy and TeraCopy do not see MTP devices
In the end, I simply used 'adb pull' to copy the contents. So, while it's good that I have a copy, I'm not sure how I plan to restore the copy after a factory reset without using 'adb push', which you said sometimes causes the issue. I always thought that using 'adb' was considered more reliable than the MTP interface.
Recommendations?
Thank you.
Hi, if you are running Xprivacy you should check if you have denied the 'Storage' permission for Google Chrome. That was the problem in my case.. :silly:
getting same problem on my moto g after rooting and flashing sm roms
Megabliss said:
Hi, if you are running Xprivacy you should check if you have denied the 'Storage' permission for Google Chrome. That was the problem in my case.. :silly:
Click to expand...
Click to collapse
hy its not the thread for moto g bt im getting same problem on my cell since i rooted it .. and by the way what u mean by xprivacy..??? xplain steps to allow it...
it seems like my system cant make changes to internal sd .. it cant take screenshots,gallerythumbnals all gone etc. -_-
I had similar troubles after changing roms on my N5, found this that fixed it just download terminal emulator and do the given commands, hope it helps people in the future: http://blog.wadegarrett.com/2014/08/10/easy-solution-for-sdcard-error-on-android-l
I have the same problem and the info in the link didn't work
CalebQ42 said:
I had similar troubles after changing roms on my N5, found this that fixed it just download terminal emulator and do the given commands, hope it helps people in the future
Click to expand...
Click to collapse
Thanks! It worked for my Xperia z ultra
lakhwani009 said:
hy its not the thread for moto g bt im getting same problem on my cell since i rooted it .. and by the way what u mean by xprivacy..??? xplain steps to allow it...
it seems like my system cant make changes to internal sd .. it cant take screenshots,gallerythumbnals all gone etc. -_-
Click to expand...
Click to collapse
Hi, sorry it took a long time to reply, I just saw it. Xprivacy is an Xposed mod to manage the permissions for each app. If you haven't installed it then it is not causing you any problems!
In regards to my aforementioned issue.
"Cannot download due to SD card missing" Error.
Simply open a terminal emulator and type in the following.
su
restorecon -FR /data/media/0
Reboot and it should work thereafter.
wrong thread, genius, sorry.
(that is the solution though )
CalebQ42 said:
I had similar troubles after changing roms on my N5, found this that fixed it just download terminal emulator and do the given commands, hope it helps people in the future: http://blog.wadegarrett.com/2014/08/10/easy-solution-for-sdcard-error-on-android-l
Click to expand...
Click to collapse
I had the problem with my Galaxy S3 running Lineage OS 14.1. This helped, Thanks!
I have just found another and simply solution in no rooted devices. Just open file manager and rename 'Download' folder to 'Download2' and then the system will automatically recreate 'Download' folder. Now, you are able to download.
mbahar92 said:
I have just found another and simply solution in no rooted devices. Just open file manager and rename 'Download' folder to 'Download2' and then the system will automatically recreate 'Download' folder. Now, you are able to download.
Click to expand...
Click to collapse
That worked for me. You saved my day!
SystemUI keeps crashing when it tries to restart, making my phone completely unusable. I'm not able to flash another ROM at the moment so what I'd like to try is deleting the app data for SystemUI (wiping cache and dalvik didn't work). I have Team Win Recovery so I'm able to access the filesystem to delete files.
Can anyone suggest which file(s) I should look for?
restore a backup
beekay201 said:
restore a backup
Click to expand...
Click to collapse
I want to keep my most recent files. I took some photos today and they didn't get a chance to instant upload. I can wait a few days until I get to a computer I can use ADB on to push a ROM.
Sounds like you don't need a working device.
a maguro wrote this.
Use adb to remove /data/data/com.android.systemui/ folder
Hey guys! Big news!
I've fixed the problem, well.. sort of.
I will edit the post If I had something else to test.
1. Uninstalled Android System Webview and installed the one that is present in the Play Store (I can't select it for Webview Implementation though)
2. Launched YouTube app and showed a green screen no matter what the quality is.
3. Tried Chrome and the video works well without any freezes.
Hi all,
A brief history of my device: Hardware failed so I create a backup image, send the busted phone for warranty, and restore the image on my new hardware. I think some permissions weren't quite set right when I restored from the image, I noticed problems like:
1) My camera complained I had no storage space (it didn't have permission to write to the sd card). If I remember correctly, I had to manually fix some permissions to fix this.
2) (The current problem I am writing about): In the Google Maps application, when I tried to save a region for offline use, it said something like 'Storage Error' in red (I don't remember exactly what the message was because I updated the app, see below).
In an attempt to fix this, I updated the Maps application to the newest version. The new version has a different 'offline maps' implementation. This new implementation claims to be downloading/caching the map, but if I exit the app and re-open it, the map is not actually stored anywhere.
Question: Does anyone know how to fix this?
At the very least...can anyone tell me where google maps stores its offline maps so I can try to manually fix permissions?
Thanks!
-Julian
Shameless bump because I'm out of the country and offline maps would be nice!
Any help appreciated!
Generally apps store their data in 1 or 2 of the following places:
/sys/data
/data/data
/sdcard/Android
If you're rooted with a custom recovery, the recovery app should have a fix permissions. I know twrp and cwm do.
-----
I would love to help you, but help yourself first: ask a better question
http://www.catb.org/~esr/faqs/smart-questions.html
HI
suddenly this afternoon, I don't know why, WhaptApp started to crashe every time I launch it. I tried to delete data, uninstall and install it again, but whatsapp still crash at start up. It is impossible to use it. I got this error message :
android.database.sqlite.SQLiteCantOpenDatabaseException: Cannot open database '/data/user/0/com.whatsapp/databases/sync.db': Directory /data/user/0/com.whatsapp/databases doesn't exist
Of course, even with adb, under Android 12, it is impossible to create the directory under /data because of permission denied.
Do you have any idea ?
Thank you for your help.
Get that trashware off the device! Use browser login only if you must use it.
It is a high security risk.
I had already thought of this solution, but I need the app to log in....
raph_quiroule said:
I had already thought of this solution, but I need the app to log in....
Click to expand...
Click to collapse
I would ditch it then. It's a multiple vector security risk. I don't use it.
If you insist on using it... what events lead up to the crash? Was it or anything updated? Any apps installed or uninstalled? Any downloads done?
Delete all it's data then ininstall it and see what you got. Clear the system cache. Download the latest version from a trusted source only. Scan with online Virustotal (scan what's loaded now too). Install. If it still pukes on you there's no guarantee a factory reset will solve this.
Malware is also a possibility. At some point a factory reset is in order especially if there's other odd behaviors or system issues. If it's a virus or rootkit a factory reset would purge it on Android 9 or higher.
If you think there's a possibility of malware, factory reset. Change account passwords then. Limit the damage by acting promptly. I give myself 2 hours to erraticate malware, then it gets nuked if not completely resolved. You wouldn't be the first to get tagged with malware through WhatsApp. Especially dangerous is doing -any- downloads from there including jpegs and pngs.
Thank you very much for your help. Despite I use alternatives like Signal, I still need WhatsApp to stay in touch whith some groups. I already tried to delete data and cache of WhatApp without success. I removed the app and installed it again but problem remains.
The log said :
Directory /data/user/0/com.whatsapp/databases doesn't exist
so I would like to create it manually, but it seems that it is impossible because of security of Android 12. I can't access to /data.
raph_quiroule said:
Thank you very much for your help. Despite I use alternatives like Signal, I still need WhatsApp to stay in touch whith some groups. I already tried to delete data and cache of WhatApp without success. I removed the app and installed it again but problem remains.
The log said :
Directory /data/user/0/com.whatsapp/databases doesn't exist
so I would like to create it manually, but it seems that it is impossible because of security of Android 12. I can't access to /data.
Click to expand...
Click to collapse
I don't know. That's a curious problem. 12 is a terror as far as I'm concerned. That's one reason I still run N10+'s on 9 and 10. Maybe use adb or ladb to edit it?
Double check all the permissions. Are any packages disabled on the phone? A small system app that's been disabled can cause all kinds of mischief.
Something, be it WhatsApp, an update, malware, a single event upset, etc screwed up the user partition data it sounds like. There's no guarantee a factory reset will fix it and even if it does it could reoccur if you don't find the root cause.
Play with it and keep doing Google searches, eventually you'll track it down. Might take a while.
Once again, thank you for your help. In fact, I've just found a workaround by installing the app in the "Work profile" of the phone. So I guess that factory reset will solve the problem. I also succeed in using an app that use web whatapp interface from F-Droid.
Independently with this story, the fingerprint sensor of the phone stopped working few weeks ago. So i'am preparing a Samsung Galays S9 under /e/OS. I'm going to switch on it to perform a factory reset of the xiaomi and send it for reparation because it is still under guarantee.
If the S9 and /e/OS do the job, I will sell the Xiaomi.