Video recording lags even in stock ROM. - Redmi K20 / Xiaomi Mi 9T Questions & Answers

I flashed various custom ROMs on my mi 9t at one pont I corrupted persist partition that lead to non working of WiFi but successfully flashed back the persist partition through twrp.
But now even after going back to stock ROM 10.3.11 global stable the video mode after enabling image stabilization option from settings(in view finder as well as final recorded video) lags too much
The videos are jittery and skips frames
Third party camera apps like gcam and opencamera doesn't lag a bit.
It's just with stock camera app
Is there any files like persist related to camera that must have been altered and mi flash doesn't flash.
Help would be highly appreciated .
Thank you

Hello i had the same issue like you. Now i am on miroom android 10 miui11 and no more lag on video recording while image stabilization is on. And battery life much better.

Related

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

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
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!
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....
__Madddy said:
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....
Click to expand...
Click to collapse
Thanks for this information! I see this in my system information for baseband:
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?
Thanks!
strongst said:
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?
Thanks!
Click to expand...
Click to collapse
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...
__Madddy said:
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:
Click to expand...
Click to collapse
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
Did you have the same baseband as me after flashing other roms? Maybe last thing is flashing stock MM with fastboot?
strongst said:
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
Did you have the same baseband as me after flashing other roms? Maybe last thing is flashing stock MM with fastboot?
Click to expand...
Click to collapse
Yes, same MarshMallow baseband..
As i mentioned my problem in first reply, it get solved by clean flashing, you should try clean flash again..
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.
zeomal said:
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.
Click to expand...
Click to collapse
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).
http://forum.xda-developers.com/moto-g4-plus/help/help-thread-custom-roms-t3513118/post70080516
http://forum.xda-developers.com/moto-g4-plus/help/help-thread-custom-roms-t3513118/post70080516
These happen to people who flashed soak test as well
strongst said:
These happen to people who flashed soak test as well
Click to expand...
Click to collapse
Something broken from source..!
I don't think we can solve this problem without developer's help.. i don't want to mention silesh nair as his conditions he said in help thread.
I hope @rahulsnair and @vache will look into this..
Can you play the recorded videos on a computer or on another phone ?
vache said:
Can you play the recorded videos on a computer or on another phone ?
Click to expand...
Click to collapse
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..
vache said:
Can you play the recorded videos on a computer or on another phone ?
Click to expand...
Click to collapse
I can play the video on smartphone or as you see on my pc. But it is only with 2fps. Sometimes I get what Maddy and others said, it's only a picture with sound. Like a corrupted file
I'm actually testing this behavior on latest Vanir aosp, but at the moment and around 30 videos recorded i can't get this error. All videos are as they should be. But I'm still testing at the moment
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.
Try this boot image on cm.
https://drive.google.com/file/d/0B1ZbHDX3hq1yVjlQMWpELVBXYnc/view?usp=drivesdk
Sent from my Moto G4 Plus using Tapatalk
Silesh.Nair said:
Try this boot image on cm.
https://drive.google.com/file/d/0B1ZbHDX3hq1yVjlQMWpELVBXYnc/view?usp=drivesdk
Click to expand...
Click to collapse
Works in RR, on Snap!
XT1643, 5.8.0. N modem (latest OTA).
Fails on OpenCamera.
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...
strongst said:
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.
Click to expand...
Click to collapse
You didn't tried any other ROMs appart CM14 and RR before ?
vache said:
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 ?
Click to expand...
Click to collapse
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

Video record not working

My video recording suddenly stopped working. I have no idea why it happened. I can take slow motion and time lapse but not regular video. I have also tried other camera app. Google camera crashes. Open camera says failed to record video. Anyone experienced this? Attached is a logcat for anyone to see the problem. Thanks.
cyberangel22k said:
My video recording suddenly stopped working. I have no idea why it happened. I can take slow motion and time lapse but not regular video. I have also tried other camera app. Google camera crashes. Open camera says failed to record video. Anyone experienced this? Attached is a logcat for anyone to see the problem. Thanks.
Click to expand...
Click to collapse
Did you solve this issue? It's happening for me as well on Oreo. Logs show errors with audio and video codecs. No difference between rooted and fully stock setup.
_mysiak_ said:
Did you solve this issue? It's happening for me as well on Oreo. Logs show errors with audio and video codecs. No difference between rooted and fully stock setup.
Click to expand...
Click to collapse
I did a clean install of nougat. I could not make it work again so I just rolled back. I'm in oreo stable now and video recording is ok so far.
cyberangel22k said:
I did a clean install of nougat. I could not make it work again so I just rolled back. I'm in oreo stable now and video recording is ok so far.
Click to expand...
Click to collapse
Damn, I was hoping that I can avoid doing factory reset. I'll wait for a full fastboot ROM and if it won't help, I might do the clean install as well In each case thank you for the answer
_mysiak_ said:
Damn, I was hoping that I can avoid doing factory reset. I'll wait for a full fastboot ROM and if it won't help, I might do the clean install as well In each case thank you for the answer
Click to expand...
Click to collapse
I'm not having any issues but after updating to Oreo from Nougat, I did a factory reset as I couldn't use the patched boot image, I had some magisk module that conflicted with Oreo. Now rooted and tested with Google and stock camera, both are recording fine, both set to 4K.
i have magisk installed and oreo in my xiaomi mi a1 and i can't record video or slow motion......i can record time lapse and take photos...
if someone solves this please let me know...
punkmexic said:
i have magisk installed and oreo in my xiaomi mi a1 and i can't record video or slow motion......i can record time lapse and take photos...
if someone solves this please let me know...
Click to expand...
Click to collapse
The only known workaround as of now is to use Cinema FV-5 app and change audio codec to AAC-ELD. You can vote for the bug here (click on CONFIRM) http://en.miui.com/forum.php?mod=viewthread&tid=1449667&page=1
I've just flashed full Oreo ROM from http://en.miui.com/download-333.html and video recording is working again with and without root as well. No need for factory reset.
Me too (after from updating to 8.1 from 8.0). Any solution ?
Solved!
I finally make my mi A1 video recording work again. What I do? Let's see: I installed stock android 8.1 April security, after that I received the OTA November security update from 2018 and after update, I puted my phone in download mode (fastboot), I booted twrp, I erased all data like I install a new ROM. You may see multiple errors, don't worry. Reboot phone to fastboot, re-enter in twrp, format data, wipe everything (microSD and USB otg NO), do also this for slot a or b. After that, flash again you ROM (in my case miui 10 epic room). Then, should work. For me it was working

Super slow camera's opening after stock rom restore

Hello, since i have restored the stock rom in my A1, the camera (photo/video) started to open really really slow, only after 30 second of black screen the camera starts.What it can be ? I lost my imei before the stock rom restore, maybe is a problem in eis partition
Install module MI A1 Camera Lag Fix Oreo in magisk.
thank u a lot
These lags refer to different camera API used by Google's camera.

Video recording not working on custom roms (Redmi note 7 lavender)

Hello everybody. I have a issue that is litterally making me go crazy. Basically, on every custom rom i've tried so far (Pixel experience both normal and plus, HavocOS, CRDROID, every one of them in their latest versions) video recording through any kind of camera app doesn't work, except for the ANXCamera_Unity_157, where the video recording works, in a very smooth way, but it has a bad video quality, looking like it has a very low bitrate. I unlbocked the bootloader while i was on miui 11.04 global, i wiped everything and formatted DATA through OrangeFox recovery, i'm saying this because i saw that nobody has wiped out the Internal Storage during a custom rom installation. Thanks in advance.
--UPATE--
I tried to flash the miui 10.3.10 through fastboot, and the camera didn't work at all at first, then it asked for permissions and started working, however i still can't record any videos, except for short videos. I tested the hardware and the hardware is okay. Before this i tried to restore a backup that i made on orangefox before any rom flash, and the backup doesn't work. I tried to flash the miui 11.04 global (the rom i had at the beginning of everything) from the recovery, and camera didn't work completely, along the wifi connection (i open the wifi, click on "activate" and it stalles, then turns itself off and makes the phone laggy) i don't completely know what to do, i've been searching for fixes for a bit now and it looks like i'm the only one on the entire world who has this issue. I do really need some help or at least an advice or something
--UPDATE (FINAL)--
While i was too concerned about the video recording i didn't notice that there wasn't a single sensor that was working, so i figured out that the persist partion was corrupted. I fixed everything, video recording included, just by flashing the stock MIUI (11.05) through Fastboot, and then, from the same .tgz file (the fastboot flashable rom, you can find that if you search on the internet), i took the persist.img and flashed it using orangefox recovery, and it's done, i fixed that.

Can't record video after flashing 240 FPS Mod

I flashed the 240fps slow motion mod for this phone and after restart i cant record videos at all.None of the camera apps are working (GCam,HyperCam,AnxMiui)
All i can do is take a picture if i try to even select video mode my app crashes.Have tried dirty flashing and even clean flashing a different rom nothing has changed.

Categories

Resources