[Q] Stock Camera Permissions issue - myTouch 4G Q&A, Help & Troubleshooting

Hello,
Im having an issue with permissions involving my stock camera and recorder. When I push the actiion button on screen to take a pic or record i recieve this message: "Unable to save file to SD due to insufficient file permissions"
I havent tried to use my camera in a few months so I'm not sure when this occurred. I am using Royal Glacier v1.2, and I think i used CWM fixed permissions awhile back and that may have changed it but again, Its been awhile so I'm not sure.
If anyone has had this issue or know how I can manually change my permission for my stock camera I would apperciate it. Thanks in advance.

cbeezy34 said:
Hello,
Im having an issue with permissions involving my stock camera and recorder. When I push the actiion button on screen to take a pic or record i recieve this message: "Unable to save file to SD due to insufficient file permissions"
I havent tried to use my camera in a few months so I'm not sure when this occurred. I am using Royal Glacier v1.2, and I think i used CWM fixed permissions awhile back and that may have changed it but again, Its been awhile so I'm not sure.
If anyone has had this issue or know how I can manually change my permission for my stock camera I would apperciate it. Thanks in advance.
Click to expand...
Click to collapse
try fixing permissions in recovery again...

yea that was the first thing I tried. Trying to avoid factory reset also but I have no clue how to change permissions.

backed up my info, then formatted the SD and this worked.

Related

SU/Root gone on ADP1 running JFv1.50 ADP1.5? [Solved?]

Hey all. I have searched but I was unable to find a thread pertaining this issue.
Phone: Android Dev Phone 1
Running: JFv1.50 ADP1.5
What has happened is that today SU/Root seemingly stopped working. I discovered it when I bought Kosh's Screenshot app and started it up. The app requires SU permission, and therefore the "SU Request" window popped up. But it's blank. A blank black screen which eventually will run low on memory and then force close.
I then tried to open the Superuser Permission app, same result. Opened Task Manager for Root Users, same deal. Opened the Terminal Emulator and typed "su", which actually worked! I still had SU privs there. Closed the TE and decided to reboot the phone, and now I don't have SU privs in TE anymore. Everything that's non root related is still working fine.
Does anyone have an idea what's happening here? I suspect that maybe the Market Enabler app or the AdsFree apps could have something to do with it, because they're the only root related apps I have installed the last few weeks, before this problem occurred.
I'm sure a wipe would fix this glitch, but I'd prefer not to do that unless it's necessary. Plus, it would be nice to know what's causing this, so I can avoid it in the future.
Same thing has happened to me. It worked fine for Term Emu, task manager, and ad block. But I tried using an OC app and when super user popped up blank. All my previous apps still work but any new root apps I install do not work. Not sure why though and the only way I found to fix it is to wipe. Do you have your apps on the sd card? I'm using the old method haven't gotten around to trying the new method. Not sure if that is the issue or not, the old version of super user never gave me any issues.
I did a wipe, and it sorted the problem out, for some root apps. Now I'm back to the same crap again though, the SU Request window pops up but it's all black and eventually it force closes.
According JF's blog he included "a much better Superuser app, courtesy of zinx" in the 1.50 release. It's obviously what's causeing our problems, I never had an issue with the old one, but I don't know what to do about it. I don't want to go back to 1.1 or Haykuro's builds. I guess I'm stuck with a semi-crippled JFv1.50 ADP1.5 until someone with more brains than me finds and posts a proper solution.
Yeah Ive been noticing the same thing. Also the superuser list GUI is horrible. I liked how in the last one you can choose what programs you'd want to remove su access from.
andonnguyen said:
Yeah Ive been noticing the same thing. Also the superuser list GUI is horrible. I liked how in the last one you can choose what programs you'd want to remove su access from.
Click to expand...
Click to collapse
Exactly. I'm not sure what he means by "a much better Superuser app", because for a layman like myself it seems a lot worse than the old one
This is just going from bad to worse. Now I discovered I have no positioning via wifi/3G anymore. I have to start the GPS and go outside and wait for a signal to get a lock on my position, which sucks. What the hell is going on? If not even a wipe is enough I guess I'm looking at a complete reinstall, but if all this has happened once it can/will happen again. I would much prefer to find the cause of all this crap.
Ok, so I found the cause for the Assisted GPS issue at least. My Micro SD card needed repairs. I put it in a SD card adapter and plugged it in to my laptop and let Vista repair the file system (apparently there were close to 100 errors on the damn thing) and now it seems to be working again.
Edit: This might actually have fixed my issues with the superuser permissions too. Knock on wood. I'll have to get back to you on this.
I'm having this Exact issue
I am having this exact same issue on dudes build. I have tried everything from scanning to formatting the SD i have flashed back and forth from Jf1.42 to jf1.50 and then to all different dude builds and i have no clue what to do next.
I do a wipe every time i flash and the only way to get any su access is to have jf1.42 or haykuro build. Anyone Else having an issue? I have been working on this for 3 days straight now...
For me it was an SD card issue. If you have a spare card, try that instead, or if you can borrow a card from a friend, just to see if it resolves your problems.
I realize that you have repaired/formatted your SD card, but it could be something wrong with it that screws things up. Worth a try, right?
Absolutely I'm looking for one right now thanks for the quick response. I'll let you know if it works. I have a 2gb sandisk in there now, so i still have my 1gb and my girlfriends 1gb too. Her phone has no su problems at all.
I also ran across the same problem reported here, only a wipe solved it. I believe it had something to do with the Market Enabler (non-signed) app, which was the only one I installed that first showed me the dreadful empty SU screen...
Fixed It
My Problem has been fixed by formatting the sd card with the phone itself.
I copied off all my info, unmounted it from the computer, unmounted it from the phone, this gave the option to format the sd card.
Once that was done i copied all my data back and when i installed programs from my sd i have not had a single su problem since.
I was having all these same problems in JF's 1.5 build, and none of the wiping/formatting SD/trying a different SD card combinations did the trick. Then, I went into JF's blog post where he released 1.5, and someone posted there that enabling USB debugging would fix the issue. I did this, and what do you know, now my superuser permissions app works again in everything, even in unsigned apps! Maybe this is why a wipe fixed it for some people, and not for others?
n17ikh said:
Then, I went into JF's blog post where he released 1.5, and someone posted there that enabling USB debugging would fix the issue. I did this, and what do you know, now my superuser permissions app works again in everything, even in unsigned apps! Maybe this is why a wipe fixed it for some people, and not for others?
Click to expand...
Click to collapse
Not to Jesus resurrect this thread, but I had the same issue and same fix as n17ikh here on the ION build. Enabled USB debugging and su/superuser permissions started working Too bad I have to disable USB debugging in order for my car stereo to mount my G1 as a USB device, but at least I have a solution
Hope this helps anyone else who may stumble upon this.

[Q] Swiss cheese ee03 Camera

Has anybody with this rom flashed had any troubles with the camera fc'ing when trying to take a picture? For the longest time now whenever i try to take a picture it would fc and tell me the process com.sec.android.app.camera has stopped unexpectedly. Could someone with a working camera send me their apk from the /system/app folder to test if that would fix my issue?
min0rity said:
Has anybody with this rom flashed had any troubles with the camera fc'ing when trying to take a picture? For the longest time now whenever i try to take a picture it would fc and tell me the process com.sec.android.app.camera has stopped unexpectedly. Could someone with a working camera send me their apk from the /system/app folder to test if that would fix my issue?
Click to expand...
Click to collapse
go under the camera settings and under the wrench icon tab their is an option on page 2 i think to update camera firmware... select it... then select check firmware then select update... then run the samsung apps store app then it should say if their is an update to the camera. if shut down phone and turn back on and rerun the samsung app store...
i tried that already, downloaded the samsung app and re-ran it, says error service unavailable (error code 4002) when it searches for the firmwarer update edit: tried fixing permissions under cwm and would no-ciq play any role in not being able to get the update?
min0rity said:
i tried that already, downloaded the samsung app and re-ran it, says error service unavailable (error code 4002) when it searches for the firmwarer update
Click to expand...
Click to collapse
i would go into clock works mod and then reset the phone and do under advanced i think and clear delvik cache. I would also not use a program like Titanium Backup as you could be restoreing files that are causing the issue. The only restore i do is with my backup and text messages only. I then let the market place update all programs then after that is done I then install from the market my programs... I also recommend that you delete everything on the sd card other then your music and dcmia folder (camera saved pics).... then reset the device.... and then after reflashing then rom then do the no icq then do the fm radio gtalk thing then turn it off and use odin to flash the modem...
i used the ee03 tar to flash the rom to my phone so everything was already done including the modem. i tried clearing the cache and fixing permissions with no luck. ill give resetting the phone a try and see how well that will work for me. also before doing that, do you think you could send me a copy of your camera apk from the system app folder to see if that would work for me?
what you suggested isnt working :-\. i did factory reset, cache and dalvik 3x and and tried doing the firmware update and still no luck. i also formatted the sd card and removed all the extra stuff off of it
min0rity said:
i used the ee03 tar to flash the rom to my phone so everything was already done including the modem. i tried clearing the cache and fixing permissions with no luck. ill give resetting the phone a try and see how well that will work for me. also before doing that, do you think you could send me a copy of your camera apk from the system app folder to see if that would work for me?
Click to expand...
Click to collapse
ok will see what i can do for you... here is mine from stock 2.2 i will reinstall ec05 later today...
i dont think the 2.2 camera/firmware will work with 2.3 would it?

[Q] snapchat won't receive or record videos

Since upgrading to 4.3, snapchat has not been able to load videos. it just keeps refreshing at "tap to load" i also noticed that when attempting to record video, the screen freezes until you lift your finger, then snapchat treats it like a picture.. so i cannot record or send videos either.
anyone else encounter this? fyi, i also installed the moto x camera and am using the banks gapps with photosphere add on. this problem is persistent in two different jss 4.3 aosp roms. i tried clearing app data, uninstalling, reinstall, no change.
titanium backup snapchat
im going to bump this issue because i have some thoughts on what might be the issue..
titanium restore.. there was an incompatibility with 4.3 when 4.3 was released. of course i had flashed 4.3 prior to titanium app update and used it to restore snapchat. this is when the no video problem started.
my hypothesis is this.. snapchat needs to store your videos locally on the phone before viewing, then deletes it after viewing. do you think that when titanium restored the app, it restored it with incorrect internal storage mapping? if snapchat can't access internal storage, that would explain why it cant load or record videos.
now, ive uninstalled and reinstalled snapchat before with no luck.. might that be because snapchat leaves bits and pieces of itself in the phone therefore never really has a fresh install?
if this is the case, how can i go about hunting down every last bit of snapchat?
.dan said:
im going to bump this issue because i have some thoughts on what might be the issue..
titanium restore.. there was an incompatibility with 4.3 when 4.3 was released. of course i had flashed 4.3 prior to titanium app update and used it to restore snapchat. this is when the no video problem started.
my hypothesis is this.. snapchat needs to store your videos locally on the phone before viewing, then deletes it after viewing. do you think that when titanium restored the app, it restored it with incorrect internal storage mapping? if snapchat can't access internal storage, that would explain why it cant load or record videos.
now, ive uninstalled and reinstalled snapchat before with no luck.. might that be because snapchat leaves bits and pieces of itself in the phone therefore never really has a fresh install?
if this is the case, how can i go about hunting down every last bit of snapchat?
Click to expand...
Click to collapse
I'm able to view videos fine, but I'm having the same problem recording videos. One thing I've noticed, if I flash a new rom [complete wipe] I can record videos fine for a few hours, but after that it starts acting up again [recording, but then only saving the first frame and sending only a picture.]
Also, I should note I'm on a Galaxy S3, noticed this issue on Cyanogenmod [4.2+] and ParanoidAndroid [4.2+], haven't tried stock. I'll reply here if I figure it out, let me know if you have any results too!
iSecks said:
I'm able to view videos fine, but I'm having the same problem recording videos. One thing I've noticed, if I flash a new rom [complete wipe] I can record videos fine for a few hours, but after that it starts acting up again [recording, but then only saving the first frame and sending only a picture.]
Also, I should note I'm on a Galaxy S3, noticed this issue on Cyanogenmod [4.2+] and ParanoidAndroid [4.2+], haven't tried stock. I'll reply here if I figure it out, let me know if you have any results too!
Click to expand...
Click to collapse
I did find a solution. I uninstalled Snapchat then went into twrp recovery and deleted the folder associated with it located at data/media/android/data/*snapchat*
Reboot and reinstall Snapchat. That folder will be recreated... Correctly.. With what I believe to be the right permissions.
If you want to try something else first try the app "fix permissions" and run it on Snapchat. Maybe that will fix the permissions of the folder.
Lastly there is a zip you can flash that fixes all permissions on your internal storage to proactively fix this issue for any other app. Search for fix internal storage permissions. The thread should come up.
http://forum.xda-developers.com/showthread.php?t=2239421
Sent from my Nexus 7 using Tapatalk 4
.dan said:
I did find a solution. I uninstalled Snapchat then went into twrp recovery and deleted the folder associated with it located at data/media/android/data/*snapchat*
Reboot and reinstall Snapchat. That folder will be recreated... Correctly.. With what I believe to be the right permissions.
If you want to try something else first try the app "fix permissions" and run it on Snapchat. Maybe that will fix the permissions of the folder.
Lastly there is a zip you can flash that fixes all permissions on your internal storage to proactively fix this issue for any other app. Search for fix internal storage permissions. The thread should come up.
http://forum.xda-developers.com/showthread.php?t=2239421
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
Thanks. I boot to TWRP 2.6.x, File Manager, use chmod on snapchat folder and subfolders, reboot and the video record works. This was on Supernexus 4.3 on T-Mobile Galaxy S2 T989.
.dan said:
I did find a solution. I uninstalled Snapchat then went into twrp recovery and deleted the folder associated with it located at data/media/android/data/*snapchat*
Reboot and reinstall Snapchat. That folder will be recreated... Correctly.. With what I believe to be the right permissions.
If you want to try something else first try the app "fix permissions" and run it on Snapchat. Maybe that will fix the permissions of the folder.
Lastly there is a zip you can flash that fixes all permissions on your internal storage to proactively fix this issue for any other app. Search for fix internal storage permissions. The thread should come up.
http://forum.xda-developers.com/showthread.php?t=2239421
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
when i go into the /data folder it says TWRP stopped working. any ideas?
bchi49 said:
Thanks. I boot to TWRP 2.6.x, File Manager, use chmod on snapchat folder and subfolders, reboot and the video record works. This was on Supernexus 4.3 on T-Mobile Galaxy S2 T989.
Click to expand...
Click to collapse
I'm a little slow, what is chmod? I tried finding the snapchat folder to delete after unistall, but could not. I'm flashing a new rom now coincidentally so I'm hoping snapchat will just work after that... otherwise I might try this fix permissions app. I would really like to be able to send video snaps. Seems like it should be an easy enough thing....
Bump
Also having this problem. I installed Cyanogenmod 10.2 on my GS3, used titanium backup. Ended up reverting to my nandroid backup a few hours later, and now my snapchat cannot record videos, look at videos, OR see "My Story" posts (if i click on them, it does a quick load, but doesn't open)
I read through this thread, but cannot figure out how to delete the SnapChat folder in recovery mode. I tried deleting it in the TWRP file manager, and it SAYS it deleted it, but it is still there. Any help please?
same problem
---

[Q] Force close loop after editing platform.xml

I wanted to bypass the kitkat restrictions and be able to upload directly to the external SD card with AirDroid, but this seriously backfired on me lol. Ever since editing the platform.xml file in /system/etc/permissions/ and rebooting the phone I've been stuck in a continuous force close loop. I've wiped the cache but this didn't improve anything. I was able to turn all data connections off which actually prevents the force closing from happening, but that seriously diminishes how smart my smartphone is so staying like that is not an option
Now that I've stopped the messages from happening, I've noticed that my internal SD isn't being recognized anymore. Camera doesn't work, the file manager shows zero files and my gallery doesn't show any pictures either. Same for the MP3 player. Most apps are broken now, but some who don't require an internet connection still work.
At this point I'm thinking that I've probably corrupted my internal SD? I think my system partition is fine as I can still run apps and use the system as it should, but I can no longer create files, maps or do anything that requires my internal SD.
Are there any suggestions as to what I should do next? Formatting/factory resets are a last resort so I'm hoping anything can be done to recover my phone! Thanks in advance!
Shuji1987 said:
I wanted to bypass the kitkat restrictions and be able to upload directly to the external SD card with AirDroid, but this seriously backfired on me lol. Ever since editing the platform.xml file in /system/etc/permissions/ and rebooting the phone I've been stuck in a continuous force close loop. I've wiped the cache but this didn't improve anything. I was able to turn all data connections off which actually prevents the force closing from happening, but that seriously diminishes how smart my smartphone is so staying like that is not an option
Now that I've stopped the messages from happening, I've noticed that my internal SD isn't being recognized anymore. Camera doesn't work, the file manager shows zero files and my gallery doesn't show any pictures either. Same for the MP3 player. Most apps are broken now, but some who don't require an internet connection still work.
At this point I'm thinking that I've probably corrupted my internal SD? I think my system partition is fine as I can still run apps and use the system as it should, but I can no longer create files, maps or do anything that requires my internal SD.
Are there any suggestions as to what I should do next? Formatting/factory resets are a last resort so I'm hoping anything can be done to recover my phone! Thanks in advance!
Click to expand...
Click to collapse
Your SD card is recognized by the PC or laptop? I think you wrote some fault in the platform.xml file... can't correct it?
Tkkg1994 said:
Your SD card is recognized by the PC or laptop? I think you wrote some fault in the platform.xml file... can't correct it?
Click to expand...
Click to collapse
My PC is able to recognize the internal memory and that there is only 2,7GB of free space (which seems about right). However, when I enter the drive it appears empty. Windows isn't able to see anything. So in that regard Windows is acting the same as my phone.
As for platform.xml, I added <group gid=”media_rw” /> to “WRITE_EXTERNAL_STORAGE“ and didn't do anything else besides that. It's really weird how this happened in the first place.
Any suggestions how to go from here? =)
edit;
I also removed the added permission but this didn't change a thing.
Shuji1987 said:
My PC is able to recognize the internal memory and that there is only 2,7GB of free space (which seems about right). However, when I enter the drive it appears empty. Windows isn't able to see anything. So in that regard Windows is acting the same as my phone.
As for platform.xml, I added <group gid=”media_rw” /> to “WRITE_EXTERNAL_STORAGE“ and didn't do anything else besides that. It's really weird how this happened in the first place.
Any suggestions how to go from here? =)
edit;
I also removed the added permission but this didn't change a thing.
Click to expand...
Click to collapse
Hi
Mate do you have a custom rom? flash NO WIPE so you will restore the system , all apps and data will remain
MAX 404 said:
Hi
Mate do you have a custom rom? flash NO WIPE so you will restore the system , all apps and data will remain
Click to expand...
Click to collapse
Should have probably tried this. Instead I became frustrated with the device and did a factory reset (which didn't solve a thing) so the problem is somewhere in the system which is causing the errors. Going to flash the latest stock rom in a bit and HOPEFULLY the phone will work again.
Shuji1987 said:
Should have probably tried this. Instead I became frustrated with the device and did a factory reset (which didn't solve a thing) so the problem is somewhere in the system which is causing the errors. Going to flash the latest stock rom in a bit and HOPEFULLY the phone will work again.
Click to expand...
Click to collapse
Lets hope so.
Good luck
Shuji1987 said:
Should have probably tried this. Instead I became frustrated with the device and did a factory reset (which didn't solve a thing) so the problem is somewhere in the system which is causing the errors. Going to flash the latest stock rom in a bit and HOPEFULLY the phone will work again.
Click to expand...
Click to collapse
A factory reset will only wipe the /data part. Because you did something in /system that part is untouched. A reflash should fix it.
Lennyz1988 said:
A factory reset will only wipe the /data part. Because you did something in /system that part is untouched. A reflash should fix it.
Click to expand...
Click to collapse
Yeah I noticed, my bad.
However, I flashed the latest stock rom and did another factory reset but the problem is still present. I keep getting a force close loop. What am I forgetting? What can I still do to fix this problem? I'm at a loss here xd
Shuji1987 said:
Yeah I noticed, my bad.
However, I flashed the latest stock rom and did another factory reset but the problem is still present. I keep getting a force close loop. What am I forgetting? What can I still do to fix this problem? I'm at a loss here xd
Click to expand...
Click to collapse
hi,
As you were "playing around " with your externalSD why you don't copy everything you have on it , format it and see if it works ..before restoring anything onto it

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...

Categories

Resources