Corrupted video and permissions - Moto G5 Questions & Answers

Hello, plese help.
I have [ROM][8.0.0][UNOFFICIAL] LineageOS 15.0
I can't download files from my phone, also camera don't save recorded video. the app says "error, video file may be corrupted" after recording. Photos are saved succesfully. I think both problems could relate to file permississions? but i'm lost, how do I even check these permissions? Ḯm using gmtp and upload works fine.
Edit:tried another camera app. this time the message is:
java.lang.illegal argument exception
surface was abandoned
Edit: no luck downloading with another cable, also mtp-getfile gave same error "Error getting file from MTP device"

Did you enable Camera2 API? I'm on stock 8.1 (Root + camera2 API enabled) and I can't record videos with 3rd party apps. I always get "error, video file may be corrupted" too.

Camera api2 disabled or enabled from opencamera app, makes no difference just slightly different error message. Default/original camera gives no errors but video file size is 0kb. I'm pretty sure the video did work when I first installed the rom, so it should be just some settings that I have changed.

I can only record videos with the stock camera without any problems. Others apps just give a "can't record video" warning.
Let us know if you find a solution. Good luck ?

Video seems to be working again. Settings/Sound/Other sounds and vibrations, I disabled everything and now it works!?

Oh, really, thanks a lot. Now, I can record with Cinema-FV5 and Open Camera
EDIT: It worked after applying the settings and restarting. After several minutes, the message reappears (and the phone has to restarted again to be able to record videos again). So, this is a temporary solution

Yes, it seems to be only temporary fix, very frustrating. Default lineageos camera isn't working either just freezes the screen.

Related

Issue recording video using cutom Camera

Hello all,
Recently I have installed the custom ROM Android Revolution HD 7.1
Everything seemed to be fine, until I tried to record a video using the phone camera and showed me up the following Error alert:
"The application Camera (process com.android .camera) has stopped unexpectedly. Please try again"
I have tried many times, different days, I have changed the video quality, but nothing works, always is throwing me that alert, so I cannot record any video
Anyone has the same problem. How to fix it?
PD: Take pictures is working perfectly.
1. Try fixing permissions in recovery.
2. Try reflashing the rom after doing full wipe.
3. Check the rom's thread. Maybe someone reported such issue and the answer was already given.
also check to make sure your recording settings aren't too high or are on the right settings. e.g. any resolution lower than 8mp is fine, but if it's higher you'll get an FC. Also if you've configured the camera to record at an extremely high setting (e.g. full hd, the works), and you have a relatively slow sd card, you could get some issues. I've had that with other third party camera apps, although never with sense. Worth a try though. Finally make sure it's set at a back facing cam, and not a front facing one (since the dhd doesn't have one).

Unfortunately, camera has stopped

Getting a weird one. When I am video'ing, and I try to zoom in, the camera then crashes with "Unfortunately, the camera has stopped"
I have tried with Google Camera, which I have installed, and the zoom seems to work fine, but I would rather use the LG G3 camera app
The zoom works fine when not recording, and when taking stills, but only crashes when actually recording
Edit :
Have done a full factory reset, and have just let the phone update what it needs from the Play store (google services etc), have not installed any 3rd party apps ... and still having the same problem
Initially the zoom worked, but rebooted the phone and now the camera stops again
If I zoom in to say 5x and then start teh video, it records, but as soon as I try and zoom in or out, it crashes
The phone is stock, LG-D855 and running V10h-EUR-XX

Snapchat constant freeze, ruins all camera apps

Hello. I have had the M5 for around two months now and almost everytime I use snapchat, whether the actual camera is on, viewing a snap or viewing the list of sent/received snaps, the app freezes and crashes.
I then get the error message about the camera unable to open, and any app, including the official camera app, that uses the phones camera, is unable to open the camera.
I have....
Updated snapchat
Cleared cache
Restarted phone
Uninstalled/re installed snapchat
The same issues still, every time.
Any other possible fixes???
vesh88 said:
Hello. I have had the M5 for around two months now and almost everytime I use snapchat, whether the actual camera is on, viewing a snap or viewing the list of sent/received snaps, the app freezes and crashes.
I then get the error message about the camera unable to open, and any app, including the official camera app, that uses the phones camera, is unable to open the camera.
I have....
Updated snapchat
Cleared cache
Restarted phone
Uninstalled/re installed snapchat
The same issues still, every time.
Any other possible fixes???
Click to expand...
Click to collapse
I'm having the same problem. If you don't mind me asking, how did you get the official camera app to work again? I don't mind sacrificing Snapchat, I just want my cameras back!
I had problems with snapchat until I updated to 5.1. Snapchat works fine for the most part but some filters/stickers don't work properly.
To get the official camera app to work, had to restart the phone (which I have to do to get all camera apps working)
My phone hasn't gotten any updates, still Android 5.0, seems my carrier isn't getting the update so I can't tell if that can work or not

Video camera can't record - Stock app.

Yesterday I noticed that I can't record a video via default app (Camera). It shows 1 second then stopped.
I tried the below
Reduce the camera resolution.
I have enough memory space.
Reset to defaults - Camera app.
Clear data for the camera app - settings.
Format the device.
After formatting the device, every thing goes normal and I can record video normally, but once I update my apps which are restored, then I faced the problem again.
It seems there is a conflict in the software but I don't know yet where.
I don't know even how to enter safe mode.
Any clue?
Thanks
Sent from my HMA-L29 using Tapatalk
do you remember which apps you have updated ? if you have some spare time,you can try to find it out and write its name here

[Android 9 Root] Front facing Camera can't take photos in other apps.

To start, I'm using stock ROM patched with Magisk. Root is fully working and all that jazz. This is quite a peculiar issue, I don't even know where to start. My A50 (W/Canada) is not able to use the front facing camera to take photos in any app other than the stock camera app. This is important to me as I use Snapchat and Instagram frequently. However, I am only unable to take photos with the front facing camera, videos still work perfectly fine, and the preview of the front facing camera also works perfectly fine. No issues with back camera, everything is fine there. I've tried launching Magisk as core only, and undone all my debloater settings. Every thread I see about camera issues said it's either a hardware issue (which I doubt is the case for me as the camera worked fine before root and still takes videos) or a software/kernel issue in which I should revert to stock. I would really prefer to find a solid solution to this rather than revert to stock, so I've come here hoping maybe somebody can possibly shed some light on something I may have missed out of frustration. The only thing I could think would possibly have an effect was the Magisk Samsung 4k60 Camera module which I uninstalled immediately after as it was crashing the camera app when I opened it. Could it have changed a file permanently?
To recap:
Front facing camera works perfectly as intended in stock camera app.
In any other app that uses Camera (including 3rd party camera HedgeCam) I am able to take videos but not photos.
Front facing camera preview always works fine.
Tried Magisk core only mode and reinstalled all debloated apps.
Snapchat gives error (when taking front facing photo) "Snap capture failed. Please try again." all other apps just freeze on (what would be) the photo/photo preview until I exit or switch out of the app then back in.
Any help is much appreciated, and I can share more information or logs if they'd help.

Categories

Resources