[SOLVED]camera records video in 1080p2 or single picture with audio

strongst

Forum Moderator
Staff member
Sep 18, 2007
11,655
8,643
253
prolific location
prolific-page.com
Solved for me with that boot.img from Silesh.Nair:
http://forum.xda-developers.com/moto-g4-plus/help/camera-records-video-1080p2-t3517934/post70107680


________________________________________________________


XT1642, MM modem, random custom roms

Hello guys, finally I got an error where the snapdragon camera app records video only in slow motion, see Screenshot attached while checking the video on my pc.
That was never before flashing RR 5.8.0 20161208 7.1.1 build,but I don't think it has something to do with it :rolleyes:

Temporary workaround:
I figured out it can fixed once I clear dalvik/cache in twrp, boot rom and then record video with snap app.

Open camera crashes(camera hardware is busy cause of usage from others), wasn't before...

But after closing app and waiting some time(seconds minutes) the app only records slow motion. This happens if storage is set to internal or SD card,it's always the same.

What I did already:

-wipe everything, including internal storage, several times
-clean install of cm14.1, 3 different versions including from today. RR 5.8.0 20161126, RR 20161208. Without restoring anything.
-also with @Silesh.Nair additional boot.img for builds before today
Changed sd card from 32 to 64GB
-changed sd card from fat 32 to extfat
Restoring full backup before it happens
-dirty flash several of above roms
-logged the video recording with and without this bug https://drive.google.com/folderview?id=0B4Zy8uoEfFKLbjlYOW5WcW02LXc

But still persists... :crying:

-flashing stock rom is the next step to do

So my questions are:

-anybody seen this before with MM modem?
-any other hints somebody know?


I don't want to upgrade to N soak test for firmware files unless it's the only way! Because downgrade can cause additional problems!

I opened new thread because it's complex problem I though and maybe does nothing have to do with custom roms only...

Thanks in advance!
 

Attachments

Last edited:

____Mdd

Senior Member
Jul 26, 2016
721
330
63
24
Till now i haven't recorded anything with my phone, but as your asked, i tried first time to record video on RR-N and my problem is also different than you too, mine is single photo to complete video... Nothing got recorded... Only single photo where from video recording started.... I checked on MOTO CAMERA too.. same on both...
Will see on other ROM...

Edit: I'm also on MM baseband, if anyone on N baseband pls confirm....
 
  • Like
Reactions: strongst

strongst

Forum Moderator
Staff member
Sep 18, 2007
11,655
8,643
253
prolific location
prolific-page.com
Till now i haven't recorded anything with my phone, but as your asked, i tried first time to record video on RR-N and my problem is also different than you too, mine is single photo to complete video... Nothing got recorded... Only single photo where from video recording started.... I checked on MOTO CAMERA too.. same on both...
Will see on other ROM...

Edit: I'm also on MM baseband, if anyone on N baseband pls confirm....
Thanks for this information! I see this in my system information for baseband:
 

Attachments

____Mdd

Senior Member
Jul 26, 2016
721
330
63
24
As I never flashed another baseband/modem file or M soak test I came to the conclusion, that maybe flashing the provided boot.img from @Silesh.Nair (to bring back Hotspot on RR) messed up my baseband and other firmware files like the camera.
@Silesh.Nair could it be or am I wrong? :rolleyes:

Thanks!
My baseband is same as your's, since we both haven't flashed N soak.. nothing related to messed with baseband.. I'm trying other ROM, will see...

---------- Post added at 05:16 AM ---------- Previous post was at 04:21 AM ----------

Don't know what went wrong with previous setup, now clean flashed again with and without Boot.img also flashed boot.img with CM14.1 worked fine in all cases....

As you said it's slow motion, i have something related to that,
if snap is opened first time after every boot then it's lagging, and video recorded is of lagging images.. for that, close snap and open again.. it will work..!!:good:


Edit:
It worked only for little while after wiping cache..
And then same as before...
 
Last edited:

strongst

Forum Moderator
Staff member
Sep 18, 2007
11,655
8,643
253
prolific location
prolific-page.com
My baseband is same as your's, since we both haven't flashed N soak.. nothing related to messed with baseband.. I'm trying other ROM, will see...

---------- Post added at 05:16 AM ---------- Previous post was at 04:21 AM ----------

Don't know what went wrong with previous setup, now clean flashed again with and without Boot.img also flashed boot.img with CM14.1 worked fine in all cases....

As you said it's slow motion, i have something related to that,
if snap is opened first time after every boot then it's lagging, and video recorded is of lagging images.. for that, close snap and open again.. it will work..!!:good:
I can close snap camera and open it again, but still only 2fps after recording. I need to boot recovery and wipe caches, then after reboot it only works as long as snap camera is open. When I close it once it begins again to record 2fps :D

Did you have the same baseband as me after flashing other roms? Maybe last thing is flashing stock MM with fastboot?
 

____Mdd

Senior Member
Jul 26, 2016
721
330
63
24
I can close snap camera and open it again, but still only 2fps after recording. I need to boot recovery and wipe caches, then after reboot it only works as long as snap camera is open. When I close it once it begins again to record 2fps :D

Did you have the same baseband as me after flashing other roms? Maybe last thing is flashing stock MM with fastboot?
Yes, same MarshMallow baseband..
As i mentioned my problem in first reply, it get solved by clean flashing, you should try clean flash again..
 
Z

zeomal

Guest
Oopsie. I have this problem too. Single image, audio has no issues.
Force closing snap doesn't fix things.
I'm on RR, N baseband, latest build. I think the boot.IMG by @Silesh.Nair is the cause here. Is it incorporated into the ROM?

Here's the log, http://pastebin.com/xg7GFvvC
Just after video was taken with Snap and then played on Google Photos.
 
Last edited:

strongst

Forum Moderator
Staff member
Sep 18, 2007
11,655
8,643
253
prolific location
prolific-page.com
Oopsie. I have this problem too. Single image, audio has no issues.
Force closing snap doesn't fix things.
I'm on RR, N baseband, latest build. I think the boot.IMG by @Silesh.Nair is the cause here. Is it incorporated into the ROM?

Here's the log, http://pastebin.com/xg7GFvvC
Just after video was taken with Snap and then played on Google Photos.
Sounds weird :silly: I used latest cm14.1 build non oms, clean flash. And here's the problem too.
Actually i restored a backup of RR 20161126 build (every thing was OK on this backup) without the mentioned boot.img but the problem persists(can take some vids, then slow motion again).
 
Last edited:

____Mdd

Senior Member
Jul 26, 2016
721
330
63
24
Can you play the recorded videos on a computer or on another phone ?
I haven't tried video elsewhere, but you can see attachment in OP, it's photo of computer i think... So, not working...

Video getting recorded, is also getting damage at same time..
You can check Logs in OP..
 

strongst

Forum Moderator
Staff member
Sep 18, 2007
11,655
8,643
253
prolific location
prolific-page.com
Ok, since nearly 24h testing with latest Vanir rom the problem mentioned in op didn't happen anymore.

Only one thing: after recording a video you should close snap camera, reopen and then play the video with link on the left side. If you play it immediately after recording, the gallery app crashes/freezes. You can also close snap camera after recording and open Gallery separately or another viewer app. No matter if video will be saved to sd or internal storage.

I know it's not a solution for the problem, but a workaround for me ;)

Maybe some dev can compare RR/cm14.1 with Vanir and check the difference that can cause this behavior.

If I can help further, I will do it.
 
  • Like
Reactions: ____Mdd

vache

Recognized Developer
Jun 12, 2009
1,131
3,659
153
Paris
Got some issues with video after flashing last soak on my XT1642. Phone rebooted after launching gallery app (even without trying to play a video), i was still able to shoot videos. I tried to flash many ROMs, some old ones, still same issue. Wiped and formatted almost every partition without success.

Then i decided to flash last MM full firmware, and now it's working like a charm. Dunno what appended here...



Ok, since nearly 24h testing with latest Vanir rom the problem mentioned in op didn't happen anymore.

Only one thing: after recording a video you should close snap camera, reopen and then play the video with link on the left side. If you play it immediately after recording, the gallery app crashes/freezes. You can also close snap camera after recording and open Gallery separately or another viewer app. No matter if video will be saved to sd or internal storage.

I know it's not a solution for the problem, but a workaround for me ;)

Maybe some dev can compare RR/cm14.1 with Vanir and check the difference that can cause this behavior.

If I can help further, I will do it.
You didn't tried any other ROMs appart CM14 and RR before ?
 
Last edited:

strongst

Forum Moderator
Staff member
Sep 18, 2007
11,655
8,643
253
prolific location
prolific-page.com
Got some issues with video after flashing last soak on my XT1642. Phone rebooted after launching gallery app (even without trying to play a video), i was still able to shoot videos. I tried to flash many ROMs, some old ones, still same issue. Wiped and formatted almost every partition without success.

Then i decided to flash last MM full firmware, and now it's working like a charm. Dunno what appended here...





You didn't tried any other ROMs appart CM14 and RR before ?
Nope, only cm14 and RR then vanir,hence still on MM firmware. But I flashed the provided boot.img in RR 7.1 thread to fix Hotspot issue on latest 7.1.1 RR and the snap bug happen first.

Actually restored backup of 20161226 RR and testing again together with Silesh.Nair's boot.img
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone