yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] wasd-:
Since I didn't install the media_profiles from the zip i don't think so.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] asusm930:
I installed with the media_profiles file and it works too

maybe its app dependent?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Hootix:
Do I have to flash lazyflasher, I'm on LOS. And where do I get it?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
all tools in the 1st post (4th string)
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] kamil79123:
Where do I set video resolution in modded camera apk?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
which one?

miui - in general settings - system apps, camera

snap - swipe to video and tap settings(gear icon in the right top corner) -resolution
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] kamil79123:
Got it, thanks!

Could you describe me what's the ZSL, HDR Pro, HDR Live?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
As I understood ZSL -Zero Shutter Lag (instant shot)

hdr pro - dunno , mb enhanced hdr algorythm, same for hdr live
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] kamil79123:
Even without ZSL phone takes photo almost instant, same as with ZSL turned on. Well, these options seems to not work on our phones too.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] stunned:
I don't think you need lazy flasher if you are on LOS or AOSP? It is only for MIUI roms? I have never used it

That sound fix is the file with media profiles?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] sk8223:
Well, that took forever because I don't have the original file and had to redownload the 1080p@60fps video from Youtube using JDownloader. -_-;;

Here's an XML file I generated. Interesting that it's stuck at 59 fps.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Well, that is not what i needed, youtube just reencoded the original file

Nvm
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] sk8223:
I just realized I had the original video on my phone (I don't know why I didn't realize that sooner). Here's the XML for the original file.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
what i said earlier, it is default media_profiles

96kbps audio, 20mbit bitrate video, frame drops to 29, no hevc
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] UMAIR_ARSHAD:
Flashing camera2 addon zip is giving error 7. What could be the problem? I'm on MIUI 9.2 and TWRP

---------- Post added at 11:37 PM ---------- Previous post was at 11:34 PM ----------

And 2nd problem is , All zips are flashing fine. But when phone starts , i done see any changes like no snapdragon camera, no stock camera modified , no any change..
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
What does it say?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] UMAIR_ARSHAD:
My mistake, I didn't wipe dalvik and cache. It works fine now.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ryujin zafkiel:
Anyone who tested it on the latest version 9.5.8??
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Yes. Today i upgraded my firmware to 9.5.8.0 and I confirm that it works fine.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Update 17/04/18

Changelog:

-New libs (magisk modules for Oreo also added)

-Working 60 fps in GCAM

-Colour fix for some video modes
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Watanabe_You:
I'm running a non-treble build of AEX Nougat. If I'm reading this correctly, all I need is the magisk 60fps right?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
For nougat rom, if u don't want to use sound fix and SD camera, just use magisk module, otherwise install twrp zips
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Watanabe_You:
Alright thanks. I'm not sure what sound fix actually fixes so I'll skip that for now. Magisk module works like a charm, stock Snapdragon camera from the ROM and modded gcam works too.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Sound fix allows u to disable dumb noise reduction on our phone, which decreases audio recording quality(especially in loud places). With this fix u can record clear stereo sound.

Anyway u can flash this fix separately using twrp
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Watanabe_You:
Oh okay, it'll be great if there's a module for it. So how do I restore the files later if I wanna revert?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
This fix overwrites some values in /system/etc/audio_platform_info.xml and /system/etc/mixer_paths_mtp.xml

So u have to save those original files
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] yhjek:
Could you specify the steps needed to revert everything to the original state?

Magisk module is also working for me on MIUI 9.5.8.0 with GCAM [ModGoogleCamera_5.1.018_R4X_v.4.5.apk (arthur, 2018-04-15)].
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
What do u mean? Just save those original files and use sound fix with twrp. Anytime u can copy ur original files back if something went wrong.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] yhjek:
I mean the whole thing. After flashing all those zip files, how do I revert everything to the original state? Which files do I need to backup?

Being new to this, and given your tutorial could use some tidying up, I think it would be useful to know how to revert it in case things don't work. If you don't mind, I may then add a "clean, extended version" of your tutorial, for (even) less experienced users.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
I have written which files u have to save above. What else?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] yhjek:
Aren't those just to revert the sound fix?

For the full TWRP method (no Magisk), which files need backup?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
AGAIN! Before flashing sound_fix_redmi_note4x_v1.zip with twrp

All operations do manually
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] yhjek:
I am not sure you understood my question.

In page 1, point 3., we need to flash sound_fix_redmi_note4x_v1.zip, but we also need to flash

other zip files

. No backup is needed before flashing those?

For instance, if I replace MIUI stock camera with MIUICameraBraviaV4, how would I revert to the original?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
You don't need to flash other zips if u are going to use magisk module with GCAM

And there is no point of flashing bravia mod at all now
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] yhjek:
I know that!

But if I decide to flash them anyway just to get other video modes with Snapdragon Camera, what should I backup?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
except those 2 files from sound fix

save all files from following folders:

libs - system/vendor/lib

media_profiles -system/etc

chromatix xml -system/etc/camera

But if u already installed magisk module, so how are you going to save original files? it is overwritten anyway
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] yhjek:
Thanks for the info.

Edit: just tried the TWRP method, and it works fine. Moto camera was recording 90 FPS, but Snapdragon was always 30 FPS. The issue with the latter was because one of the cameras I had already installed was Snapdragon camera, and that seemed to be in conflict with the new version (flashed with camera.zip). Cleaning all data pertaining to it in Settings changed the icon and interface to the flashed version's, and solved the issue.

Nice job!
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] madnota:
MiracleDroid 8.10 1080p 60fps work.

Using urikill gcam PH1_URIKILL_VXXII_V16H_V1 (magisk module) + boltishok 60&90fps gcam&snap (twrp method)

Ps;- Magisk module for boltishok oreo (new) doesnt work for me.

Thanks for sharing :)
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Did u install it according to ur partition scheme?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] madnota:
Ya i did! The new one but nothing happen.

If i flash the old one, my apps gone crash or stopped.

So i tried the twrp files and walla! 60 fps:D
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] dusanbbgk:
Which magisk modul should we use for 60fps recording with gcam? I have camera.zip working like charm, but there is some new update and i am not sure if i understand well what to do to make also gcam 60fps works?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Depends on your rom.

Nougat, Oreo(old partition scheme) and Oreo(new scheme)

Read 2nd part of my guide, there is "Instruction for android oreo and android nougat for all sensors(MAGISK) without sound fix and snapdragon camera"
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] dusanbbgk:
[GUIDE]How to record smooth 60 fps video with clear stereo sound[No root]UPDATED!

Edit: ok, i just flashed magisk modul and it works for gcam 60fps recording, cheers
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] NemanjaS23:
for me magisk modules don't work. I'm on oreo (omnirom), and when I flash magisk module(tried both), my video is too dark
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] jawahar.T:
I tried oreo new scheme (treble) both in RR Treble and Dot os Treble the result is same

...no 60fps

When I set to 30fps it records at 15fps

When I set to 60fps it records at 30fps...
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Some video samples in 4K, recorded in google camera:

https://www.youtube.com/watch?v=qHgEObEeyzc

https://www.youtube.com/watch?v=b3pqM_lsmts

https://www.youtube.com/watch?v=52LpHiI4Z3E

https://www.youtube.com/watch?v=3SAFifhAAzI

https://www.youtube.com/watch?v=NgxfossC1qU

https://www.youtube.com/watch?v=hxDwxU2Vts4

https://www.youtube.com/watch?v=FW-8dHrTu8g

https://www.youtube.com/watch?v=i7Bhsn4TjmQ

https://www.youtube.com/watch?v=i8giCwuOChQ

https://www.youtube.com/watch?v=ZsYF2p2-JsY

https://www.youtube.com/watch?v=crw0CFTsOgI

https://www.youtube.com/watch?v=9odzHxwuacg

https://www.youtube.com/watch?v=EFS0jjE3jWk

And 60 fps videos:

https://www.youtube.com/watch?v=vPqSUL4tIAo

https://www.youtube.com/watch?v=UzUDH5Npr-U

https://www.youtube.com/watch?v=cWyeT5WUFQc
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] RavenRein:
Thank you! Seems worth to try
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] leuteris23:
I install "original libs" and when i lock my bootloader the phone bricked and doesn't reboot.What else i have to do? :confused:

Stock Miui 9.5.8.0 non root
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
What means bricked? Why do u lock bootloader? Did u flash lazyflasher after all files?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] leuteris23:
I use the mod for 60fps as the instructions on the 1st post,flash lazyflasher and all done as well. After that i wanted to reinstall the mod for 60fps and to do that i installed the "original Libs" because i don't want to have unlock my bootloader but after relock bootloader the phone doesn't reboot.When i enter fastboot and unlock again the bootloader the phone reboot well.Something i am missing to reinstall the mod but i can't figure out what :confused:
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
And how do you imagine working mods with locked bootloader? It is impossible
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] leuteris23:
I know that...Ok!Could you tell me how to reinstall that mod and revert my phone as i bought it?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
No way
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] leuteris23:
What do you mean no way?

There isn't a way back from developers?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Vkboy:
Yes you can but how did you locked your bootloader. Have you tried flashing using mi tool ? Have you been able to boot in recovery mode or fast boot mode ? Which recovery is there custom or official ?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] leuteris23:
I have stock recovery.Please could you tell me the way to unistall the mod?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Vkboy:
Did you tried factory reset ? If yes then did you tried flashing full rom using mi flash tool ?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] dusanbbgk:
Deleted
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] salamshirohige:
How to install it this...

Iam on cosmic rom treble oreo

Which file i download it
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] kemo12533:
anyone can help me get account in 4pda ?

there's files i need to get it
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
You do not need any account on 4pda. Read the 1st post attentively.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] leuteris23:
Thank you my friend!I reinstall the rom through miui updater and fortunately my phone revert as i bought it :)
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Vkboy:
Glad to know. Very happy.:)

---------- Post added at 06:05 PM ---------- Previous post was at 06:03 PM ---------- [MENTION=8281574]rap1do[/MENTION]

Bro you were saying it is impossible for [MENTION=3903649]leuteris23[/MENTION]. He easily done it. At XDA one should give confidence

:victory:
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] leuteris23:
Sorry to say that for [MENTION=8281574]rap1do[/MENTION] but he didn't help me and his answer was rude to me to say just simple "no way".For that rudeness i delete the "thanks" button on 1st post.On xda it's the first time i met that behavior from an OP :(
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Okay man, but I answered according to your question.

You could not use mod with locked bootloader, so there was no way!

My answer was fully correct
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] jawahar.T:
Any other steps other than flashing magisk module in oreo
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] jawahar.T:
..I used Oreo new scheme in RR os treble official ..

Dot os treble official

in both ROM 60fps doesn't work...

And then I tried multipro nougat (it works fine )

..

Now I flashed RR Luis ROM(non-treble) ...still no luck I got up only 30fps

..the mod only works in Nougat..

...

Any other step other than flashing magisk module

If yes

Pls tell me how to do it
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
I have never used any oreo roms. So i can't advise anything else except those uploaded magisk modules. Anyway people here used it on oreo roms and got it working.

I can suggest u pm them, maybe they will help u.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] k3lcior:
Im currently using the mod on Omni ROM and it works fine (Oreo, non treble)

I got the mod from 4pda not from OP. https://drive.google.com/open?id=17U3bwjBZCT-dx_hYAC6ZwyUy_qw91v42

Feel free to try it, using with this gcam: https://www.celsoazevedo.com/files/android/google-camera/f/GoogleCamera-Pixel2Mod-Arnova8G2-V7.7.apk

Im getting 59-60 fps in 1080p with HEVC enabled.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] jawahar.T:
...

Thanks mate working perfectly fine
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] b3rvirus:
It works, but on 60fps the camera constantly seeking focus while recording, like refocusing every second.. any way to fix it, or is there some settings or the app that I need to change?

I'm using Miui 9.5.1.0 stable nougat, GCam by urikill, samsung sensor
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] kowu:
Test in day light conditions: https://www.youtube.com/watch?v=ocsSzdICLio

In low light I needed to pump up brightness (used Vegas software to do it): https://www.youtube.com/watch?v=k02-CoBElGI When you shot in 60fps, you need more light so it's obvious darker.

I'm really satisfied with this mod, videos are much smoother, just compare to stock config in low light: https://www.youtube.com/watch?v=CQw-cDjFfXw (it's about 13fps lol).

Thank you guys :) I love recording dance of my salsa group, I'm gonna buy Yi 4K Action Camera (or something like that), but on that moment it's good compromise.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] jawahar.T:
....

Is there any module for treble ROM ......coz all the developers are implementing treble in custom roms ...

Thanks
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] k3lcior:
https://drive.google.com/file/d/1GnlGgfBFLg8sLkHBHHqQR4LEzlaqaHYE/view?usp=drivesdk

This works actually.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
same file in my instruction - old scheme
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] k3lcior:
So? Why are you quoting me
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] sameerh743@gmail.com:
Thanks finally something that works on oreo & i can confirm its also working on treble based custom roms
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] k3lcior:
I know it's confusing, because for Treble it should be new scheme which actually doesn't work on Treble ROM's.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] jawahar.T:
..

Thanks mate but not working ..the old module that you gave me for non treble actually works ....thanks for the module I am searching for module that actually works 60fps ....

---------- Post added at 04:48 PM ---------- Previous post was at 04:44 PM ----------

Saved my day ... working fine in treble ROM
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Update 17/05/18

Changelog:

Uploaded new(fixed) magisk modules for all roms
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] jawahar.T:
.

Magisk module for oreo treble crashing gcam
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] H0bi:
Working fine here!
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] k3lcior:
Which module what ROM and where did you confirmed it's 60fps recording?

For me none of the new modules work on Treble (AOSCP 6.0.0), tested both treble and non treble camera doesn't crash but it records with 19fps.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] thapaavijeet:
OP, I guess you've named your updated magisk modules wrongly, please check. The treble ones should have those libs in the vendor folder and the non treble should have them in system->vendor.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] H0bi:
i use:

LOS 15.1 treble

urikill latest gcam

latest magisk oreo treble ZIP

confirmed with mediainfo app from playstore
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] k3lcior:
Weird, maybe i'll try later with LOS 15.1.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Ummm, the previous modules had these paths, but people said, it wasn't working.

Okay, If anybody confirmes that as not working i fix it

But as i can see
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] k3lcior:
Your packages might work i was using magisk modules directly downloaded from 4pda didn't know you are modifying yours
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] mnsiw:
Using it on Pixel Experience 8.1, working fine except lots of camera FC, any solution to fix FCs?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] thapaavijeet:
OP, the new GCam ports support 60fps at 1080p natively. You don't need any mods for that. Is anyone getting higher frame rates at this resolution ?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Gcam for video recording is useless for me. SD camera is still top app with all possible functionality- stable framerate even in low light condition with stabilization, and it supports all video modes
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] thapaavijeet:
Nah, your right gcam only indicates 60fps at the time of recording. Media info app shows the video gets captured at only 30.

Thank you
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] mnsiw:
SD camera? Can you please share PlayStore link.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Usual Snapdragon camera(MOD) from my instruction
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] k3lcior:
Different gcam mod.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] most_curious:
Is there a video tutorial for this , if yes please link, thanks
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] mnsiw:
Just found ported GCam v7.9 and this one working perfect, no more FCs. Now only issue is low quality audio in recorded videos.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Sectorian:
Please share the link.

I have OV sensor and the crashing are not stoping.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
use soundfix

There are my samples on gcam with fixed audio https://xdaforums.com/showpost.php?p=76423013&postcount=217
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] mnsiw:
https://xdaforums.com/redmi-note-4/themes/app-arnova8g2s-google-camera-port-t3731022/page2

---------- Post added at 10:59 PM ---------- Previous post was at 10:55 PM ----------

Sound fix from OP? That doesn't work on Pixel Experience, it stuck in boot loop.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
yes thats for nougat, but u can manually edit mixer_paths on ur rom
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Sectorian:
Bro can you send me the excaly the name of the camera because its hard to track it.

Thank you.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] mnsiw:
GoogleCamera-Pixel2Mod-Arnova8G2-V7.9
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] jawahar.T:
For which cam and rom
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] mnsiw:
Finally I've switched back to stock (MIUI 9.5.9) just for this mode :)
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Sectorian:
Yep. You are right is prety dam stable for me.

Good version for my omnivision sensor.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] mnsiw:
Yeah, on MIUI it's rock solid, zero crash or lag, I like stock Android but video recording doesn't work this good on Pixel Experience or ASOP ROMs.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Beso1:
I'm on Miui 9.5.8.0, samsung sensor

followed the instructions , passed api2 since it's already enabled, camera.zip => sound_fix_redmi_note4x_v1.zip=>BOLTiSHok_60-90_FPS_FHD_s5k3l8 & fiks cvet-90moto_60gcam&snap.zip

everything is ok except that the sound and the video are not synced , the video is faster than the sound by 2 or 3 seconds when i record a 2min video in both 60&90 fps using snap camera app, so what did i miss ? what files do i need to flash to fix it ?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Sectorian:
Is slow motion and panoramo working?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
U mean your video is accelerated? Do u record in low light?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Beso1:
it's no accelerated , it's just a normal speed video but there is a 3sec gap between the video and the sound , and it becomes more obvious when the video length is 2 minutes or more, please try to record long video as all your samples are less than 1 minuet
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
I was recording a lot of videos, even 10+ minutes, but i didn't upload it because of poor internet(upload speed is less than 1 mbit/s). I have not this issue though

Coul you provide your samples?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Beso1:
my upload speed is 50 kb/s :D so it'll take forever to upload samples :(

maybe the problem is the stereo sound ?

could you please upload the original files as i forgot to take a backup , i'll test the 96bit and if problem remains i'll revert back to the sound fix
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
No this fix doesn't cause anything like that, it just disables noise reduction. Unfortunately, I didn't save original files.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Beso1:
found a solution !

installed motocam for 60fps 1080p and it works without any problems , i think the problem was the snapdragon camera app

link
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Bad idea installing motocam, because it is the most conflicting app
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Beso1:
No conflicts at all ,GC, MIUI, Snapdragon all working fine

ofcourse snap has better interface but untill now moto is the only app recording 1080@60fps without any problems for me
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rap1do:
Motocam conflicts with mic and some video modes in snapdragon camera. Anyway, its your choice.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] mnsiw:
Just tested, it's in sync for me, I flashed all the files mentioned in OP, including that api2 thing.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] st4ik:
which version of gcam is recording at 60fps for oreo treble (official LineageOS 15.1)? version pixel2mod arnova v7.7 all the time records in 30fps. I used the magisk module for treble.