Mi 10t pro Gcam 4k60 problem solved - Xiaomi Mi 10T / 10T Pro Questions & Answers

Hello everybody. I've found the way to solve problem gcam 4k60 fps crash. There is the file camxoverridesettings.txt path system\vendor\etc\camera. In this file string enableCHIPartialData=1 crashes 4k60. If you change it to enableCHIPartialData=0, almost all gcam mods will work in 4k60 with no crash.
But I've found another problem. There is an awful crop in 4k60 in any camera app, even in stock miui camera. I think system libs with video resolution corrupted. Is there anybody who can fix it?
I think the crop in all video modes is in this file com.qti.sensormodule.apollo_semco_s5khmx_wide_global.bin path system\vendor\lib64\camera\camera
Crop in 4k60 mode with eis (session 61444) is in this file com.qti.eisv2.so path system\vendor\lib64\camera\camera\components
I attached both files. Maybe someone will try to fix it.

Related

MiUI Camera modified media profiles hevc / h265

Hi all,
I've been editing the media_profiles.xml for my mi note 3 and thought I'd share it since I've changed it to use hevc / h265. Attached is my file to be copied into /system/etc/. This is easiest to do with root or you can copy it using TWRP without root I would think. Make sure to set permissions after copy to 644, otherwise you might get a bootloop. Also backup your own file first! I'm using MIUI 9.6 by xiaomi.eu, but this file seems to be fairly universal across roms. This modification works with the MIUI camera app, other apps like GCam and Opencamera seem to use their own profiles so this makes no change for them.
Steps again...
Be rooted or use TWRP if not
Backup own media_profiles.xml
Copy file in attachment to system/etc and unzip
Set permissions on media_profiles.xml to 644 to avoid problems
Reboot and enjoy / test in MIUI camera app
Improvements:
Use HEVC / h265 instead of h264 and changed bitrates. Default rates on mine were 42mbit for 4k and 19mbit at 1080p using h264. I've changed these to 28mbit for 4k and 13mbit for 1080p. This should give roughly the same quality but lower file sizes. 720p and lower resolutions are left unchanged since I never use them. I've also changed the audio bitrate to 192kbit (update: also there is a file with 256kbit audio if desired, everything else is the same in that file) with a higher minimum sample rate and also set image quality to 100 for all cameras and doubled the image decoding memory cap from 20 to 40.
Bro pls before after your photo your Ss Pls my phone mi note 3
Mi Note 3 cihazımdan Tapatalk kullanılarak gönderildi
yakupTR said:
Bro pls before after your photo your Ss Pls my phone mi note 3
Mi Note 3 cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
I've added a screenshot, is that what is needed?
Your says picture quality %100 before after taken photo[emoji3][emoji41]
Mi Note 3 cihazımdan Tapatalk kullanılarak gönderildi
Great!
Great, smaller file size + better audio, even if there are still watery sound in the surroundings but the main audio is much better.
leledumbo said:
Great, smaller file size + better audio, even if there are still watery sound in the surroundings but the main audio is much better.
Click to expand...
Click to collapse
There is this to improve audio a bit further (I used the root method mentioned), seems to work on mine. Makes the audio louder and clearer.
http://en.miui.com/thread-628652-1-1.html
Thanks for the Mod, been used this well on Nougat 7.1.
I:good:
Any update for Oreo 8.1 custom Rom.
Thanks.
taiheng said:
Thanks for the Mod, been used this well on Nougat 7.1.
I:good:
Any update for Oreo 8.1 custom Rom.
Thanks.
Click to expand...
Click to collapse
If you're using vendor from lineage 15.1, I think this fix should work. If it isn't you can try the GCam mod I posted here https://forum.xda-developers.com/showpost.php?p=77901429&postcount=92
It enables hevc, set memcap to 40, and "HIGH" audio bitrate to 192k
salzzz said:
If you're using vendor from lineage 15.1, I think this fix should work. If it isn't you can try the GCam mod I posted here https://forum.xda-developers.com/showpost.php?p=77901429&postcount=92
It enables hevc, set memcap to 40, and "HIGH" audio bitrate to 192k
Click to expand...
Click to collapse
Thanks for the mod unfortunately I still no luck to record HEVC & 60fps video.
What I'm did:
1. Delete all previous camera mod & reboot
2. Flash jason.all.in.one_minimal_BSG_hevc_Black-v2.2.h.zip in Magisk
3. In recovery wipe cache and cache art
4. install BSG Cam 5.3.015 60fps
5. shot the video with 60fps
I've tried several time but the video properties still shown 30fps & H.264 coding (not hevc).
I'm using Treble Resurrection Remix ROM with based LOS15.1 vendor & TwistLoop kernel.
Any step I've miss out?
taiheng said:
Thanks for the mod unfortunately I still no luck to record HEVC & 60fps video.
What I'm did:
1. Delete all previous camera mod & reboot
2. Flash jason.all.in.one_minimal_BSG_hevc_Black-v2.2.h.zip in Magisk
3. In recovery wipe cache and cache art
4. install BSG Cam 5.3.015 60fps
5. shot the video with 60fps
I've tried several time but the video properties still shown 30fps & H.264 coding (not hevc).
I'm using Treble Resurrection Remix ROM with based LOS15.1 vendor & TwistLoop kernel.
Any step I've miss out?
Click to expand...
Click to collapse
Oops, my bad. I thought the videos are 60fps. I've checked and it's really 30 fps + AVC (h264), sorry
salzzz said:
Oops, my bad. I thought the videos are 60fps. I've checked and it's really 30 fps + AVC (h264), sorry
Click to expand...
Click to collapse
IC, BTW Will you update this mod to 60fps & Hevc encoding?
taiheng said:
Thanks for the mod unfortunately I still no luck to record HEVC & 60fps video.
What I'm did:
1. Delete all previous camera mod & reboot
2. Flash jason.all.in.one_minimal_BSG_hevc_Black-v2.2.h.zip in Magisk
3. In recovery wipe cache and cache art
4. install BSG Cam 5.3.015 60fps
5. shot the video with 60fps
I've tried several time but the video properties still shown 30fps & H.264 coding (not hevc).
I'm using Treble Resurrection Remix ROM with based LOS15.1 vendor & TwistLoop kernel.
Any step I've miss out?
Click to expand...
Click to collapse
5.2, 5.3 google hdr+ camera does not support hevc.
This way is suitable for Xiaomi Mi6. Maybe you can try.
For LOS15. Instructions for using 60FPS:
Install All in One Minimal. After restarting the phone, first open the snapdragon camera ( or MIUI camera ) and switch to the video , exit the app. ( this needs to be done with every restart of the phone ). Then you can use 60fps to record video.
fu24 said:
5.2, 5.3 google hdr+ camera does not support hevc.
This way is suitable for Xiaomi Mi6. Maybe you can try.
For LOS15. Instructions for using 60FPS:
Install Mi6 All in One Minimal. After restarting the phone, first open the snapdragon camera ( or MIUI camera ) and switch to the video , exit the app. ( this needs to be done with every restart of the phone ). Then you can use 60fps to record video.
Click to expand...
Click to collapse
So, in other words, we need GCam <=5.1 to use hevc?
salzzz said:
So, in other words, we need GCam <=5.1 to use hevc?
Click to expand...
Click to collapse
Yes.
Gcam 6.1 also supports hevc.
fu24 said:
5.2, 5.3 google hdr+ camera does not support hevc.
This way is suitable for Xiaomi Mi6. Maybe you can try.
For LOS15. Instructions for using 60FPS:
Install Mi6 All in One Minimal. After restarting the phone, first open the snapdragon camera ( or MIUI camera ) and switch to the video , exit the app. ( this needs to be done with every restart of the phone ). Then you can use 60fps to record video.
Click to expand...
Click to collapse
Tried with Mi6 All in one Minimal (Mi6.all.in.one_minimal-v2.3.a.zip & Mi6.all.in.one_minimal_hevc-v2.3.b.zip). Both modules result of the Gcam not working or front camera black off.
Shot with snapdragon 3.0.r2 (Open, close & open again), prompt error say "HFR is not supported for selected resolution". I've set the resolution to 1080p or 720p & FPS to HFR60.
Any advise
taiheng said:
Tried with Mi6 All in one Minimal (Mi6.all.in.one_minimal-v2.3.a.zip & Mi6.all.in.one_minimal_hevc-v2.3.b.zip). Both modules result of the Gcam not working or front camera black off.
Shot with snapdragon 3.0.r2 (Open, close & open again), prompt error say "HFR is not supported for selected resolution". I've set the resolution to 1080p or 720p & FPS to HFR60.
Any advise
Click to expand...
Click to collapse
Sorry, I didn't say in detail.
My answer is for this. https://forum.xda-developers.com/showpost.php?p=77901429&postcount=92
You should not install the mi6 module directly.
Try this now. I modified it, it might be for you.
fu24 said:
Sorry, I didn't say in detail.
My answer is for this. https://forum.xda-developers.com/showpost.php?p=77901429&postcount=92
You should not install the mi6 module directly.
Try this now. I modified it, it might be for you.
Click to expand...
Click to collapse
In oder to eliminate possible error, I format the phone & reinstall LOS 15.1 & try again.
Because of persist.camera.dxo will crash/black-off all the camera apps in LOS 15.1, I've disable it.
With this new mod:
-Gcam is working in photo & video shooting. But the video taken by Gcam is H264 but not hevc.
-I can't get HEVC video & 60fps by using the Snapdragon camera 3.0.r2, error "HFR is not supported for selected resolution" (720 & 1080p)
-Miui Camera crash when switch to video mode. HDR not working in photo mode.
-Stock camera unable shot video, photo ok.
Above is my finding, the hevc & 60fps video still no luck in Mi Note 3.
Let me know if have any new update mod to try, thanks
taiheng said:
With this new mod:
-Gcam is working in photo & video shooting. But the video taken by Gcam is H264 but not hevc.
-I can't get HEVC video & 60fps by using the Snapdragon camera 3.0.r2, error "HFR is not supported for selected resolution" (720 & 1080p)
-Miui Camera crash when switch to video mode. HDR not working in photo mode.
-Stock camera unable shot video, photo ok.
Above is my finding, the hevc & 60fps video still no luck in Mi Note 3.
Let me know if have any new update mod to try, thanks
Click to expand...
Click to collapse
Try again.
Snapdragon camera 3.0.r2 selection 60HSR
Miui camera changed to 4k. Because this module is suitable for BSG's GCam, so miui cameras cannot use 1080p and 720P.
Gcam 5.2 and 5.3 do not support hevc.
Miui Camera HDR not working in photo mode. I do not know why.
To use the GCam to record 60fps, you must follow the instructions below.
First open the snapdragon camera ( or MIUI camera ) and switch to the video , exit the app. ( this needs to be done with every restart of the phone ). Then you can use GCam to record 60fps video.
fu24 said:
Try again.
Snapdragon camera 3.0.r2 selection 60HSR
Miui camera changed to 4k. Because this module is suitable for BSG's GCam, so miui cameras cannot use 1080p and 720P.
Gcam 5.2 and 5.3 do not support hevc.
Miui Camera HDR not working in photo mode. I do not know why.
To use the GCam to record 60fps, you must follow the instructions below.
First open the snapdragon camera ( or MIUI camera ) and switch to the video , exit the app. ( this needs to be done with every restart of the phone ). Then you can use GCam to record 60fps video.
Click to expand...
Click to collapse
Ok, I've tried again. Miui camera, snapdragon camera & stock camera all can't take the video.
Miui camera:
when switch to video mode, it will crash the camera app.
Snapdragon camera:
without set any fps, when press record button, it prompt error "Could not start media recorder, can't start video recording"
Stock Camera: same error as snapdragon camera.
Can't record video except Gcam, but Gram unable to test Hevc & 60fps.
Once I delete all in one jason camera mod, all camera app can record video again.

S9 Raw Panorama

Hi folks im wondering if anyone has a workaround or an app that would allow me to capture panoramas in raw format.....im assuming its possible because surely to be able to capture the jpeg it has to be produced from a raw image? If anyone can help that would be great.
Many thanks
Pretty sure panos are made from 4k video recordings, so no raw files. You can actually watch the 4k video if you turn motion panorama on.

autofocus problems MI10T original camera app

Hello friends, I give you a video that I have made of the problem that I see with this mobile and the autofocus when you record at 60fps, either 1080 or 4k. It takes a long time to focus, or it does not focus directly, and when it works, it does so by jumping quite uncomfortably. in 30 fps everything goes smoothly. Happens to you? thanks!!
video
I can reproduce this on my phone's stock camera, but not as badly as on your video. It seems there's something different about how it chooses to focus when in 60p.
I suspect it's software-related, as when I run 4k 60p on GCAM 8.1 I don't see the issue at all. I'm running MIUI 12.0.9.
chisnz said:
I can reproduce this on my phone's stock camera, but not as badly as on your video. It seems there's something different about how it chooses to focus when in 60p.
I suspect it's software-related, as when I run 4k 60p on GCAM 8.1 I don't see the issue at all. I'm running MIUI 12.0.9.
[/CITAR]
correct friend, when it is at 60fps, the autofocus looks like the one used in photo mode, and is not progressive as in video mode at 30fps. Can you tell me exactly what version of gcam are you using? what xml? I have an operator rom in 12.0.4, I am thinking of putting global, but I have not animated yet.
Click to expand...
Click to collapse
I'm using the newest GCAM 8.1. The main things work, but can't use other lenses at the moment. 4k 60p seems to work ok.
Google Camera by Urnyx05
Google Camera Port by Urnyx05 This is a thread where I share my GCams and you can report me bugs. How to report bugs: If possible, post on a thread for your phone or here if you can't find a thread for your phone. Please describe the issue and...
forum.xda-developers.com
The same dev's 7.3 worked well with all lenses
Urnyx05: GCam_7.3.018_Urnyx05-v2.5.apk
Download GCam_7.3.018_Urnyx05-v2.5.apk by Urnyx05.
www.celsoazevedo.com
.

Question 4k60 possible?

Hi,
is there any Gcam mod (or other camera app) that enables 4k60 recording?
Nope, Snapdragon 778G doesn't support 4k60.
Ok, thanks.
I also noticed (after upgrading to Android 12, MIUI 13), when I select video stabilization in 4k30 mode it automatically changes recording to 1080p30. Before upgrading 4k30 EIS was working fine.
Your browser is not able to display this video.

Question slow motion video not recording?

i'm trying to record a slow-motion video in my own app for xiaomi 13 pro. camera2 gives a bunch of available modes (i need [email protected] in particular), but neither of them works. what's the issue here and how can i fix it?

Categories

Resources