SD Card, Gallery, Whatsapp Media Access Problems on CM14.1/ Related ROMS - Moto G4 Plus Questions & Answers

Hello everyone, I'm a new user here.
I'm experimenting with my Moto G4 Plus (XT1643), and have tried the latest versions of CM14.1, Resurrection Remix 5.8.0, yet.
I was facing many such problems as :
1. Unable to set Contact pics.
2. Access denials when trying to access media from different applications such as Whatsapp, Messenger, Instagram.
3. Music/ Video access problems.
All of which I pegged to permission related problems ( a mere hunch) and found that few others have encountered such problems, who have reported them on the main thread.
However, I cannot post on them, being a newbie.
I found a workaround to the problem. If this helps, I'd be happy to help you.
1. Go to TWRP Recovery.
2. Advanced > Terminal (a live Emulator doesn't do the work even with root access, I don't know why)
3. Change permissions for required folders.
Eg. For WhatsApp, go to the sdcard and
Execute "chmod 775 WhatsApp"
Which basically changes permissions to Read/Execute for the folder and subfolders.
This can be done for the entire sdcard as well, that's your choice.
It works for me, I don't face the problems anymore.
Tell me if it does for you

Also formatiing the Internal storage before flashing custom rom solves this issue.

Babloo289 said:
Also formatiing the Internal storage before flashing custom rom solves this issue.
Click to expand...
Click to collapse
Well, yeah, but that might be an option many won't take before flashing a custom ROM. Most just wipe cache and data.

Related

[Q] Grand 2 Default Storage Concern

Hi,
I have a concern regarding how Kitkat update resolves the default storage on my Grand 2. First of all I want you to know that I have already rooted and updated the permission.xml file to allow apps such as utorrent to be able to write in sdcard and this is working wonderfully for me. So my question here is how do I default my storage to sdcard for things such as phone screenshots, line images, viber images, instagram images etc.
Sorry for requesting about this but I'm OC like that and seeing my gallery having two same folders(one under sdcard caused by jb update, one under internal storage caused by Kitkat update) from two different locations is what I would like to eliminate. I have scoured the internet for solutions and I have only stumbled upon the following solution. First is to update the init file by switching the symlink declared for emulated/sdcard0 with the extsdcard. Not sure though how to do this or if it is safe. Second is found on this website --> https://groups.google.com/forum/#!topic/android-porting/SypD_roN_28
TIA for your help.

CM13 2016.06.12 Nightly (and older versions) Camera broken

Hi guys, since a month I have problems with my camera-app. I'm using CM13 nightlies, just reflashed from yesterday with Open GApps Nano (to not overwrite Snap Camera for a try). With WhatsApp I can take photos without a problem but for holidys the quality is too bad . I also tried Camera MX without success. When I take a picture it shows the preview in Snap Camera without problem (the small icon bottom left). If I want to navigate to Gallery it just shows grey or sometimes even no file is created. I've searched a lot but nothing helped. I also tried to revert to last build where it worked but only got bootloops. I also completely wiped my phone and removed sd card, no success.
Does anyone have a solution to my problem?
Bestregards
Tried it with nightly from today, no success. Also video recording force closes. No advice?
So after again a lot of reading, could my camera work again if i update baseband/modem/bootloader with latest from sammobile? Mine are really outdated from june 2015 (so lollipop version..)
If I update them I dont have to root etc, right?
best regards
So.. I tried OpenCamera again and set the save location to my download-filter (internal), this works. With my default Camera I can only save to internal, without choosing a dir so this doesnt work. Is there a possibility to fix the rights of DCIM so that the camera apps are allowed to write there?
[Edit:]
Seems like the permissions are the same from both folders. will try to delete the folder and let the app recreate it or possibly try sd-card as location..
I solved this now... I've installed latest CM13 nightly with camera fix https://review.cyanogenmod.org/#/c/156891, made a full wipe (except my internal user data) and clean install. Unfortunately this did'nt solve my problem. I also installed latest bootloader and modem, no success, too.
I think the solution was to change permissions of dcim to 777 via recovery... that's why I couldn't delete pictures or take pictures but it worked with open camera on another file path...

Unable to download any file

Hello guys,
I have problem, can't download any file from anywhere (chrome, gmail app, etc). Maybe there is some problem with writing the file to internal storage? I have Android 7.0, NRD90T. Only difference compared to stock is TWRP installed and bootloader unlocked.
Is there any way to fix this without formating/wiping and reinstalling ROM? Thanks a lot
bejek said:
Hello guys,
I have problem, can't download any file from anywhere (chrome, gmail app, etc). Maybe there is some problem with writing the file to internal storage? I have Android 7.0, NRD90T. Only difference compared to stock is TWRP installed and bootloader unlocked.
Is there any way to fix this without formating/wiping and reinstalling ROM? Thanks a lot
Click to expand...
Click to collapse
Backup your Download folder and then delete it.
Sometimes I have issues with chrome downloading, usually from switching roms or backups. What I do is go into app section from settings and clear data. What that usually does is prompts me to update permissions and that will fix my issue. Might be the same with gmail.

Random apps deleting in Lineage os

Guys I know it sounds crazy but sometimes when my phone is in charge and connected to WiFi my apps gets deleted. Now this happens as soon as play store updates some apps. And the crazier part is that my data stays intact. All I need to do is install the apk/download from play store and it's the same as before. The most affected app is Facebook, and then WhatsApp plus and canary (please don't tell because it's modded cuz Facebook and chrome canary aren't modded but same results). Now I'm on Lineage os the latest build with elementalx kernel. And no apps like greenify. I'm on the 43 variant(Indian) with open gapps (mini) and I clean flashed it.
The log I took was just after I realised that my apps had gone(not sure exactly when they were uninstalled but right after I realised) just unzip the file and you should have it.
AND YES THE POST SOUNDS CRAZY SO PLEASE DON'T TELL THAT. -_-
Ayan Uchiha Choudhury said:
Guys I know it sounds crazy but sometimes when my phone is in charge and connected to WiFi my apps gets deleted. Now this happens as soon as play store updates some apps. And the crazier part is that my data stays intact. All I need to do is install the apk/download from play store and it's the same as before. The most affected app is Facebook, and then WhatsApp plus and canary (please don't tell because it's modded cuz Facebook and chrome canary aren't modded but same results). Now I'm on Lineage os the latest build with elementalx kernel. And no apps like greenify. I'm on the 43 variant(Indian) with open gapps (mini) and I clean flashed it.
The log I took was just after I realised that my apps had gone(not sure exactly when they were uninstalled but right after I realised) just unzip the file and you should have it.
AND YES THE POST SOUNDS CRAZY SO PLEASE DON'T TELL THAT. -_-
Click to expand...
Click to collapse
Same thing happened in resurrection remix latest build.
Whatsapp uninstalled automatically. But the data remains intact. I only installed apk of whatsapp and get whatsapp as i leaved.
Apps are also crashing in r.r.
If anyone needs more details am willing to help,
It's related to the external-SD camera fix
Ayan Uchiha Choudhury said:
Guys I know it sounds crazy but sometimes when my phone is in charge and connected to WiFi my apps gets deleted. Now this happens as soon as play store updates some apps. And the crazier part is that my data stays intact. All I need to do is install the apk/download from play store and it's the same as before. The most affected app is Facebook, and then WhatsApp plus and canary (please don't tell because it's modded cuz Facebook and chrome canary aren't modded but same results). Now I'm on Lineage os the latest build with elementalx kernel. And no apps like greenify. I'm on the 43 variant(Indian) with open gapps (mini) and I clean flashed it.
The log I took was just after I realised that my apps had gone(not sure exactly when they were uninstalled but right after I realised) just unzip the file and you should have it.
AND YES THE POST SOUNDS CRAZY SO PLEASE DON'T TELL THAT. -_-
Click to expand...
Click to collapse
This is not a ROM related problem, the same happened to me when I used the ExtSD_Fix_rw-signed-v1.9b.zip which you can find in this post https://forum.xda-developers.com/moto-g4-plus/themes/stock-motorola-camera-t3596659
I couldn't find out why the script in that zip causes apps to uninstall randomly when you reboot the device, but I corrected using this fix for the external-sd write for the camera: https://forum.xda-developers.com/moto-g4-plus/how-to/fix-motorala-camera-write-to-externalsd-t3498573 instead of that.
Also you have to use the regular moto camera ported which you can find on this thread https://forum.xda-developers.com/moto-g4-plus/themes/stock-camera-t3540473 but you have to manually delete the com.motorola.*** .jar files on /system/framework/
I made a zip that makes the instalation of the camera and the deletion of the com.motorola.*** .jar files automatically but undfortunately I can't post links that are outside the XDA forums yet. With that you'll only have to apply the fix for the external-sd manually
kur0g4ne said:
This is not a ROM related problem, the same happened to me when I used the ExtSD_Fix_rw-signed-v1.9b.zip which you can find in this post https://forum.xda-developers.com/moto-g4-plus/themes/stock-motorola-camera-t3596659
I couldn't find out why the script in that zip causes apps to uninstall randomly when you reboot the device, but I corrected using this fix for the external-sd write for the camera: https://forum.xda-developers.com/moto-g4-plus/how-to/fix-motorala-camera-write-to-externalsd-t3498573 instead of that.
Also you have to use the regular moto camera ported which you can find on this thread https://forum.xda-developers.com/moto-g4-plus/themes/stock-camera-t3540473 but you have to manually delete the com.motorola.*** .jar files on /system/framework/
I made a zip that makes the instalation of the camera and the deletion of the com.motorola.*** .jar files automatically but undfortunately I can't post links that are outside the XDA forums yet. With that you'll only have to apply the fix for the external-sd manually
Click to expand...
Click to collapse
Thank you my friend for the detailed explanation. Will try to do this tomorrow.
Ayan Uchiha Choudhury said:
Thank you my friend for the detailed explanation. Will try to do this tomorrow.
Click to expand...
Click to collapse
Your'e welcome!
Also you better try this on a clean install
Hello, I have this strange problem I am using RRN 5.8.5 version on my oneplus 3. And my apps randomly gets deleted from the phone. At random times I try to look for the app and its gone. Like youtube gmaps even google keyboard some times gets deleted??? Can some one explain me whats going on ? One of my theories is that when the app ties updating it gets deleted and does not reinstall.
kur0g4ne said:
This is not a ROM related problem, the same happened to me when I used the ExtSD_Fix_rw-signed-v1.9b.zip which you can find in this post https://forum.xda-developers.com/moto-g4-plus/themes/stock-motorola-camera-t3596659
Click to expand...
Click to collapse
I have the same issue on LineageOs 14.1 on my moto G4 plus.
So according to your post because I used the moto camera zip file and the sdcard fix, I've formatted system, dalvik cache and cache, reinstalled lineageos, addonsu and Gapps but I still have applications that disapear (F-Droid for example). Note: I haven't reinstalled any moto camera app.
So if you have an idea ?
Sagittarius_ said:
I have the same issue on LineageOs 14.1 on my moto G4 plus.
So according to your post because I used the moto camera zip file and the sdcard fix, I've formatted system, dalvik cache and cache, reinstalled lineageos, addonsu and Gapps but I still have applications that disapear (F-Droid for example). Note: I haven't reinstalled any moto camera app.
So if you have an idea ?
Click to expand...
Click to collapse
That's because the sdcard fix is what triggers apps to disapear, try a fresh install (formatting data also) and do not use the fix but DO reinstall moto camera, nothing changed for you because your permissions are not defined in the system partition.
I guarantee nothing but try this moto camera, it worked for me because I made it for me, but it implements the latest apk of the moto camera that is available and gets the writing permissions for the sd and does not make apps to dissapear.
I bought a UHS sd to use it as internal storage and do not worry for external permissions ever again but I remember i got the permissions when the sd was FAT32 formatted, and it happened without doing anything but flashing it.
I can't post links to external sources in XDA so here's the key for download it from MEGA just paste it to the end of mega .co .nz /
Code:
#!i0hU3STS!Aj5U_7fitVtfYIxENFEq7LV278myvA3yLKLCoB3Oajg
Thank you
kur0g4ne said:
That's because the sdcard fix is what triggers apps to disapear, try a fresh install (formatting data also) and do not use the fix but DO reinstall moto camera, nothing changed for you because your permissions are not defined in the system partition.
I guarantee nothing but try this moto camera, it worked for me because I made it for me, but it implements the latest apk of the moto camera that is available and gets the writing permissions for the sd and does not make apps to dissapear.
I bought a UHS sd to use it as internal storage and do not worry for external permissions ever again but I remember i got the permissions when the sd was FAT32 formatted, and it happened without doing anything but flashing it.
I can't post links to external sources in XDA so here's the key for download it from MEGA just paste it to the end of mega .co .nz /
Code:
#!i0hU3STS!Aj5U_7fitVtfYIxENFEq7LV278myvA3yLKLCoB3Oajg
Click to expand...
Click to collapse
Thank you and forgive me for not answering you until this day. I'm gonna try.
Nice !
After lot of install, reinstall roms, i was crasy about apps randomly deleted or fc.
You find the cause ! great and very usefull.
thanks a lot !

Root Storage Completely Full

Hi all,
I have a OnePlus 6T, rooted with Magisk and have TWRP installed.
After the latest Oxygen OS update (currently 9.0.15), I rerooted as normal and got everything going again. When I launched AdAway and tried to sync its list, it failed saying there was insufficient root storage. Lo and behold, when I checked with Solid Explorer, my root folder has 0 bytes remaining of its 2.71GB capacity.
Since I figured it would be inadvisable to start deleting things from the root storage, I wanted to check and see if anyone else has run into this, or if anyone has a solution.
I also have Titanium Backup if it's possible that that is part of the problem.
Thanks!
WeyardWanderer said:
Hi all,
I have a OnePlus 6T, rooted with Magisk and have TWRP installed.
After the latest Oxygen OS update (currently 9.0.15), I rerooted as normal and got everything going again. When I launched AdAway and tried to sync its list, it failed saying there was insufficient root storage. Lo and behold, when I checked with Solid Explorer, my root folder has 0 bytes remaining of its 2.71GB capacity.
Since I figured it would be inadvisable to start deleting things from the root storage, I wanted to check and see if anyone else has run into this, or if anyone has a solution.
I also have Titanium Backup if it's possible that that is part of the problem.
Thanks!
Click to expand...
Click to collapse
Vert well known issue, many threads and posts about that. Use a debloater or erase some system apps like YouTube (and install them again from play store they will be installed in user space not system) with a file explorer
Striatum_bdr said:
Vert well known issue, many threads and posts about that. Use a debloater or erase some system apps like YouTube (and install them again from play store they will be installed in user space not system) with a file explorer
Click to expand...
Click to collapse
Thanks, I searched (for root storage full and some variants of that) but only found one thread that didn't have a clear solution. Erasing and reinstalling a few system apps did, but I installed Tomatot debloater from here that solved my issue: https://forum.xda-developers.com/on...ol-tomatot-debloater-basic-script-to-t3869427
WeyardWanderer said:
Thanks, I searched (for root storage full and some variants of that) but only found one thread that didn't have a clear solution. Erasing and reinstalling a few system apps did, but I installed Tomatot debloater from here that solved my issue: https://forum.xda-developers.com/on...ol-tomatot-debloater-basic-script-to-t3869427
Click to expand...
Click to collapse
Yeah I use that great little tool
Is there anyway we can increase that space or have it redirect to SD card once it's full?

Categories

Resources