Dark Camera Video Mode AOSP/Lineage Based - Xiaomi Redmi Note 4 Questions & Answers

Hello everyone..
I have install many AOSP/Lineage based rom ( ViperOS, AOSP Extended, ChyperOS, Lineage 14, AOSPA, Pure Nexus, etc )
And, in every rom i installed have dark camera, when I swap to video mode at low light condition..
Can this bug fixed?
Info
My device sensor ofilm_s5k3l8
Thanks before

Help me @sachin n

dev.azra said:
Help me @sachin n
Click to expand...
Click to collapse
Did you try installing different camera apps? Like Google camera or footej?

sachin n said:
Did you try installing different camera apps? Like Google camera or footej?
Click to expand...
Click to collapse
All same

HaiderHady said:
All same
Click to expand...
Click to collapse
I think camera isn't working for one who got omnivision camera. :0
Sent from my Redmi Note 4 using Tapatalk

sachin n said:
I think camera isn't working for one who got omnivision camera. :0
Click to expand...
Click to collapse
Its working...
Totally fine..
The video is too much dark..
I mean really dim than photo camera
I think its a video iso problem

HaiderHady said:
Its working...
Totally fine..
The video is too much dark..
I mean really dim than photo camera
I think its a video iso problem
Click to expand...
Click to collapse
Ah, did you try clean flashing other Roms? Top of it, Mido's custom Roms have camera bugs, like video recording isn't working blah blah. :/
Sent from my mido using XDA Labs

sachin n said:
Ah, did you try clean flashing other Roms? Top of it, Mido's custom Roms have camera bugs, like video recording isn't working blah blah. :/
Click to expand...
Click to collapse
Come on....
I'm not a noob......Camera is definitely dark with 30 fps recording but with some apps it records bright but at about 17-19 fps

HaiderHady said:
Come on....
I'm not a noob......Camera is definitely dark with 30 fps recording but with some apps it records bright but at about 17-19 fps
Click to expand...
Click to collapse
Ah, sorry for the late response, went off for few hours.
I wish I could help you on this, but I never clicked either pics or recording video on my Mido. All I heard was there are bugs with camera on mido custom ROMs.
While recording video its just stuck few seconds/mins later. And one who got omnivision camera, isn't working. Apart from that I've no idea about camera.
Did you try enabling camera2 API? It has anything to do with that? I guess.

I already use many other camera apps, Google Cam, OnePlus cam, Footej, Snapdragon Cam
But, all same.
I will try to enabling camera2 API
Thanks @sachin n
Btw my sensor Samsung not Omnivision

Screenshot Added
Using Google Camera
And Stock AEX Camera

With Samsung sensor i have the same problem with Mediatek or Snapdragon variants

Same here, in low light camera is very dark. AOSP video camera in better light condition is better and smoother than miui btw

well I read on russian forum, they use lumio app to get better video...

aabenroi said:
well I read on russian forum, they use lumio app to get better video...
Click to expand...
Click to collapse
We're looking for something more stock, that works with all camera apps, maybe a mod for the ROM/kernel

Use moto camera it fixes it

I also have this bug, also with the Samsung sensor ofilm_s5k3l8. Sensor does not get set to the proper ISO or brightness or such, it is really bad. As asusm930 wrote, ported Moto G cam fixes this and is a nice camera otherwise as well. And it is the only cam I found so far that fixes it. You can get it here: https://forum.xda-developers.com/redmi-note-4/themes/camera-t3667358

I have samsung sensor but only with OnePlus camera, I haven't this issue. So I use gcam for photos, and Opcamera for video

NightHeron said:
I have samsung sensor but only with OnePlus camera, I haven't this issue. So I use gcam for photos, and Opcamera for video
Click to expand...
Click to collapse
Do you use the version from here (v 2.0) or some other? https://forum.xda-developers.com/re...-plus-5-camera-port-redmi-note-4-7-0-t3656125
Looks quite good, and seems to give better color reproduction in low light video. Though the photo part is buggy. Flash light is not synchronized with shutter, so it basically does not work and HDR is crossed out for me. Bugger, I would prefer to have one app for both photos and video.

i have same issue

Related

Enabling Camera2 API

Some of you may have seen this in the RN3 Forum, but it seems its method also works on the Mi 5 with the side effect of having the front camera flipped.
Those of you with keen photography skills may find it useful to see if you can get better pictures with apps supporting Camera2.
Wow! Thanks for the useful information.
chada77 said:
Some of you may have seen this in the RN3 Forum, but it seems its method also works on the Mi 5 with the side effect of having the front camera flipped.
Those of you with keen photography skills may find it useful to see if you can get better pictures with apps supporting Camera2.
Click to expand...
Click to collapse
Offtopic could you attach libmmcamera_imx298.so from /system/vendor/lib I would like to try and enable 60fps recording
Works for me with aforementioned front camera flipped on latest ResurrectionRemix.
Did someone find a fix for the front camera?
No updates here?? I'm really interested about implementing Camera2 API for Mi5. I had it in NExus 5 and it was great improvement.
What will we get by enabling this on Mi5?
Is Mi5 stock camera getter better picture? Can someone explain or post sample image?
Actually, I have tried but can't see different.
Lets hope someone can find a fix on the upside down front camera
luigi0824 said:
Lets hope someone can find a fix on the upside down front camera
Click to expand...
Click to collapse
Is that an only issue? upside down front camera? Camera2 API is working fine on a relevant camera app (e.g. A Better Camera)?
1myxomatosis1 said:
Is that an only issue? upside down front camera? Camera2 API is working fine on a relevant camera app (e.g. A Better Camera)?
Click to expand...
Click to collapse
the stock camera crashes on miui 7 but not on 8 and the front camera is upside down on miui 8 not on 7
Works fine for me, manual camera test shows everything is supported. Also I don't get any upside down problem. MIUI EU 8.0.10.0. MIUI camera's manual mode is actually enough for most conditions. Long exposure for sure works great though I've only tested max 4s at ISO 100. I really need an object for taking 32s exposure.
leledumbo said:
Works fine for me, manual camera test shows everything is supported. Also I don't get any upside down problem. MIUI EU 8.0.10.0. MIUI camera's manual mode is actually enough for most conditions. Long exposure for sure works great though I've only tested max 4s at ISO 100. I really need an object for taking 32s exposure.
Click to expand...
Click to collapse
did you check your front cam to see if its upside down? what rom are you using?
luigi0824 said:
did you check your front cam to see if its upside down? what rom are you using?
Click to expand...
Click to collapse
I don't just check, I use it, often. I'm on MIUI 8.0.10.0.
leledumbo said:
I don't just check, I use it, often. I'm on MIUI 8.0.10.0.
Click to expand...
Click to collapse
is it china rom or global rom?
luigi0824 said:
is it china rom or global rom?
Click to expand...
Click to collapse
EU (therefore China)
leledumbo said:
EU (therefore China)
Click to expand...
Click to collapse
where did you downloaded it?
luigi0824 said:
where did you downloaded it?
Click to expand...
Click to collapse
https://xiaomi.eu/community/forums/miui-weekly-rom-releases.103/
Found a fix for the front camera being flipped: You need to edit "/system/etc/camera/msm8996_camera.xml".
There are 4 entries: 2 for the back camera (CameraId 0) and 2 for the front camera (CameraId 2).
We'll edit only the 2 for the front camera: We'll change the "MountAngle" from 360 (which means "Defined by kernel") to 270. Don't touch any entries for CameraId 0!
Save and reboot your device.
EDIT: Attached a flashable ZIP for Mi 5 (Pro) devices.
IgorEisberg said:
Found a fix for the front camera being flipped: You need to edit "/system/etc/camera/msm8996_camera.xml".
There are 4 entries: 2 for the back camera (CameraId 0) and 2 for the front camera (CameraId 2).
We'll edit only the 2 for the front camera: We'll change the "MountAngle" from 360 (which means "Defined by kernel") to 270. Don't touch any entries for CameraId 0!
Save and reboot your device.
EDIT: Attached a flashable ZIP for Mi 5 (Pro) devices.
Click to expand...
Click to collapse
Flashed, can confirm it works on my device. Latest weekly CM13 build.
Flashed and I also can confirm it works with latest Resurrection Rom

What are the best Camera apps for the Redmi Note 4 right now?

Hi, new user here. I have finally managed to unlock and install a custom ROM (RR) on my Redmi Note 4. I'm not satisfied with the quality and features in the default camera app. Can you guys get me updated on what's the best camera app for this phone right now. I'd like to have manual controls (at least manual focus) and good HDR.
I have tried the ported Google Camera but unfortunately it doesn't have manual focus and frame rate seems to be locked at 60fps.
Ofc it does have manual focus, what are u talking about?
k3lcior said:
Ofc it does have manual focus, what are u talking about?
Click to expand...
Click to collapse
AFAIK Google Camera does not have manual focus. It only has tap to focus.
If you're point n shot guy then Google Camera Mod with HDR+ is the best
if you like to play with focus, iso, shutter, etc then stock Camera Mod is quite good, you can also try One plus camera and of course open camera and freedcam.
aabenroi said:
If you're point n shot guy then Google Camera Mod with HDR+ is the best
if you like to play with focus, iso, shutter, etc then stock Camera Mod is quite good, you can also try One plus camera and of course open camera and freedcam.
Click to expand...
Click to collapse
But correct me if I'm wrong stock camera mod is only for miui rom. I will check out the other ones meanwhile.
gheeghee77 said:
Hi, new user here. I have finally managed to unlock and install a custom ROM (RR) on my Redmi Note 4. I'm not satisfied with the quality and features in the default camera app. Can you guys get me updated on what's the best camera app for this phone right now. I'd like to have manual controls (at least manual focus) and good HDR.
I have tried the ported Google Camera but unfortunately it doesn't have manual focus and frame rate seems to be locked at 60fps.
Click to expand...
Click to collapse
is there any method to click pictures in RAW formats in RN4 working on ressurection remix rom?

Google Pixel HDR+ camera working on x520 on Lineage

Tried camera from first post of this thread: https://forum.xda-developers.com/galaxy-s7/themes/google-camera-hdr-t3687312
Pic quality is best i had from this device, better than EUI.
Little unstable, but fully usable.
Also wrote this in lineage thread, but i think it deserve separate thread.
zogu said:
Tried camera from first post of this thread: https://forum.xda-developers.com/galaxy-s7/themes/google-camera-hdr-t3687312
Pic quality is best i had from this device, better than EUI.
Little unstable, but fully usable.
Also wrote this in lineage thread, but i think it deserve separate thread.
Click to expand...
Click to collapse
How is video recording working ?
VikasBhapri said:
How is video recording working ?
Click to expand...
Click to collapse
Not working, it save one pic, like photo camera and sound is recorded.
Didn't test on front camera.
Blur mode is working
Panorama didn't test.
I need it only for normal pics and for this is great.
Also always liked blur mode.
For video i'm using footej, have it installed only because of video.
zogu said:
Not working, it save one pic, like photo camera and sound is recorded.
Didn't test on front camera.
Blur mode is working
Panorama didn't test.
I need it only for normal pics and for this is great.
Also always liked blur mode.
For video i'm using footej, have it installed only because of video.
Click to expand...
Click to collapse
Ok thanks btw
This version is also working, latest LOS (today or yesterday build) and illusion 2.1:
Kisakuku said:
B-S-G's Modded Google Camera 5.1.014 with HDR+ for Android 7.0 / ARM64v1.0 All-in-One Full Manual
Download
Changelog:
Ported all changes from Google Camera 5.1.011v1.0 All-in-One Full Manual to Google Camera 5.1.014
New settings take effect after application is restarted
Must clear data / cache after installation and if the app force closes
Click to expand...
Click to collapse
I attached sc of my settings
Just for comparing, here are the pics from snap camera, pixel camera and pixel with flash captured in very dark conditions.
zogu said:
Just for comparing, here are the pics from snap camera, pixel camera and pixel with flash captured in very dark conditions.
Click to expand...
Click to collapse
It doesn't work.
Jellyfish Gun said:
It doesn't work.
Click to expand...
Click to collapse
Illusion kernel plus los, 21s bootloader, for me works.
Version from first post:
https://androidfilehost.com/?fid=962021903579484969
Turn on hdr+ enhanced, it is almost 100% stable, but slower.
Always clear data when you change version.
Version 1.3:
Kisakuku said:
B-S-G's Modded Google Camera 5.1.014 with HDR+ for Android 7.0 / ARM64v1.3 All-in-One Full Manual
Download
Changelog:
Increased HDR+ JPEG quality to 100%
New settings take effect after application is restarted
Must clear data / cache after installation and if the app force closes
Click to expand...
Click to collapse
Link:
https://androidfilehost.com/?fid=962021903579488245
It is working ok, maybe version from previous post is still more stable
zogu said:
Version 1.3:
Link:
https://androidfilehost.com/?fid=962021903579488245
It is working ok, maybe version from previous post is still more stable
Click to expand...
Click to collapse
I have flashed los and illusion kernel.I installed the latest version
You offered.sometimes it works but sometimes not.What do I need to do?
Jellyfish Gun said:
I have flashed los and illusion kernel.I installed the latest version
You offered.sometimes it works but sometimes not.What do I need to do?
Click to expand...
Click to collapse
Then i really don't know. For me simply it works, lets say 9 of 10 times.
Here is the video, and before someone comment, i know, i have to many apps. And my college keyboard is very dusty
zogu said:
Then i really don't know. For me simply it works, lets say 9 of 10 times.
Here is the video, and before someone comment, i know, i have to many apps. And my college keyboard is very dusty
Click to expand...
Click to collapse
I reinstall it and clean the cache, now it works well almost everytime.Thank you.:good:
Jellyfish Gun said:
I reinstall it and clean the cache, now it works well almost everytime.Thank you.:good:
Click to expand...
Click to collapse
Great
Now if someone can fix video recording and maybe it can be stock camera, like they do on le max 2 on some unofficial roms. Video recording was also problem on le max 2, but developer fixed this very easy, hope that our great @DarknessKiller, @codeworkx, @Lakku, @Rishabh Rao etc.. can fix this, we finally have really, really good camera on nougat.
Latest 1.3 version has lot of developers options, new option in settings which can be marked one by one. maybe is useful if someone wants to play...
In one APK there is only a feature called face retouching
And the other hdr+ enhanced
Did I miss something don't we have both clubbed in one
Nehal Rishi said:
In one APK there is only a feature called face retouching
And the other hdr+ enhanced
Did I miss something don't we have both clubbed in one
Click to expand...
Click to collapse
Face retouching is for selfie camera, it doesn't work for me, it capture photo, but does not do any post-processing.
Hdr is for main camera.
zogu said:
This version is also working, latest LOS (today or yesterday build) and illusion 2.1:
I attached sc of my settings
Click to expand...
Click to collapse
How to access this config bro?
MrNataan said:
How to access this config bro?
Click to expand...
Click to collapse
You have it in this version:
https://androidfilehost.com/?fid=962021903579488245
zogu said:
You have it in this version:
https://androidfilehost.com/?fid=962021903579488245
Click to expand...
Click to collapse
Thx bro
Doesn't work on eui for me. For you guyz?
swapnil0545 said:
Doesn't work on eui for me. For you guyz?
Click to expand...
Click to collapse
It is for android 7. Current eui version is 6.0 so it won't work

[RR-O-6] HDR+ in only working on selfie cam(by now). Only Oreo 8.1. Check pictures!!

Thanks to @2CanSan. He reported this thread https://forum.xda-developers.com/essential-phone/themes/magisk-based-gcam-port-ar-sticker-t3730837 in the AospExtended ROM V5.2_V4.6 by @NFound.
I have been doing test with the GCAM magisk modules. There are 7 versions 15A to 15G. I started with G version but the configuration is fixed and I can meke the cam work. The F version is very configurable. I have done a lot of test and I have achieved the frontal cam HDR+ and Potrait work.
It would be great someone with AEX(Oreo) test this module and report the results.
Steps:
0. ROM Resurection remix Oreo(8.1). It can be found in the AospExtended ROM V5.2_V4.6 thread
1. Install Link v15F
https://www.androidfilehost.com/?fid=962187416754461390
3.Open the Gcam(installed with the point 1 module) and follow this steps:
Note: back camera is working but hdr+ is not working, is like a normal camera apk.
3 in Settings/B-S-G Mod setting
- Select Model Pixel II.
- In Manual fixed black level offset select 63.
4. Exit from setting. Close the app and Remove the gcam from the tasks.
5. Open the camera (become black because the back camera is not working) and change to front camera.
6. In Settings/Advanced options enable HDR+ control.
7. Disable Movement, Disable flash and enable HDR+ improved. Test your results against the rom camera. Attached mines.
8. Test front potrait mode. Works almost fine..there are some arifacts.
Note. if you change the app setting and the app crashes and don't let you change the settings, remove app data and start the configuration from the beginning.
Tha app allows log so maybe our great co-phone developers can make the back camera work. It would be great!!!
Video of steps https://drive.google.com/file/d/1iYKZiAHyvqngkWgZY_eLAiXNEu818Krk/view?usp=drivesdk
In mode of magisk the S.O Crash and Reset in AEX
only Install in Recovery, You are warned ...!!!
It works even if those color bands did not come out in the photos, it would be excellent: D this I had seen before, there is a dedicated thread of the essensial Phone and version 7 is the only one that works with Axon 7, I had tested it in the OrderKriegger ROM but I confirm and confirm that it works with AEX.
The normal selfie camera works as well, but I feel that the portrait mode has more quality in the image ... the bug made it to lose. If you like selfies this is your app ... if the front camera as in my case you have it more ... better looking to improve the rear camera! : D
I have posted this in the magisk gcam module:
Hello all. Firts of all thanks for your sharing.
I have an Axon 7 with Resurrection Remix 6 (Android 8.1 based on LOS). I have flased the 15F version and selected Pixel II in "Model" and Auto in ·Config camer HDR+".
I have Front camera hdr+ working on front camera....Incredible improvement of quality in special at night!!
But back camera is not working (only work when I remove gcam data and "Model" is not selected).
I hava compared the logcat on front and back camera opening and the error in the back camera is this:
E Camera3-Device: Camera 0: sendRequestsBatch: RequestThread: Unable to submit capture request 2 to HAL device: Function not implemented (-38)
I know our device camera has not Google camera API 2 implemented, but why front is working and not back? Any advice?
Thanks!!
HDR+ is working but portrait has alot of blue and red artifacts on front camera back camera dosent work unless changing the model i hope something gets a workaround soon
The F version works on RR oreo, but i lost fingerprint unlock... Weird
Predatorhaze said:
The F version works on RR oreo, but i lost fingerprint unlock... Weird
Click to expand...
Click to collapse
what does it work in F version?
gecko702 said:
what does it work in F version?
Click to expand...
Click to collapse
Yes and fingerprint still works,just set up again
Predatorhaze said:
Yes and fingerprint still works,just set up again
Click to expand...
Click to collapse
but your functions work as the G version? does your back camera work?
gecko702 said:
but your functions work as the G version? does your back camera work?
Click to expand...
Click to collapse
Yes it works
Predatorhaze said:
Yes it works
Click to expand...
Click to collapse
hmmm ok ill try the F version :victory:
Predatorhaze said:
Yes it works
Click to expand...
Click to collapse
Even with hdr+ ? Whats the settings do u use??
Isaev54 said:
Even with hdr+ ? Whats the settings do u use??
Click to expand...
Click to collapse
Yes
Predatorhaze said:
Yes
Click to expand...
Click to collapse
You sure the back camera shoots HDR+ enhanced? Nobody here was able to do that, and we all tried F on AEX or RR.
Choose an username... said:
You sure the back camera shoots HDR+ enhanced? Nobody here was able to do that, and we all tried F on AEX or RR.
Click to expand...
Click to collapse
Hdr+ is enabled and I can take pictures,how do I know they are actually hdr enhanced?
Btw Im using this mod on Xenonhd Oreo (inbuilt kernel)
First time I flashed it, it didnt worked.i disabled inbuilt rom camera, and flashed the mod again
Predatorhaze said:
Hdr+ is enabled and I can take pictures,how do I know they are actually hdr enhanced?
Btw Im using this mod on Xenonhd Oreo (inbuilt kernel)
First time I flashed it, it didnt worked.i disabled inbuilt rom camera, and flashed the mod again
Click to expand...
Click to collapse
After you have shoot photi check gallery
There should be hdr+ optimizing process
And there is no model selected in settings ( on yours screens)
Isaev54 said:
After you have shoot photi check gallery
There should be hdr+ optimizing process
And there is no model selected in settings ( on yours screens)
Click to expand...
Click to collapse
I have set model,I can take pictures and videos on front and back.But when I go to gallery,I see nothing named hdr+
This is the F version on Xenonhd Oreo rom,magisk16
Predatorhaze said:
I have set model,I can take pictures and videos on front and back.But when I go to gallery,I see nothing named hdr+
This is the F version on Xenonhd Oreo rom,magisk16
Click to expand...
Click to collapse
You don't have HDR+ enhanced. Of course. I could also take pictures with the back camera, but HDR+ enhanced actually takes a bunch of pictures (an 8 shot burst i think) and puts a loading circle for half a second in the middle of the screen while it does. after that, when you open the gallery it should blend them all together. If you actually see a huge difference then it works.
Use the front one and choose HDR+ enhanced, you'll see what it does if you have it configured correctly
the portrait mode has been released as open source now
gecko702 said:
the portrait mode has been released as open source now
Click to expand...
Click to collapse
nope, the software to make the model was. And it wouldn't have been useful for us anyways, because what we need is HDR+ enhanced on the back camera, we already have portrait mode semi-working
Choose an username... said:
nope, the software to make the model was. And it wouldn't have been useful for us anyways, because what we need is HDR+ enhanced on the back camera, we already have portrait mode semi-working
Click to expand...
Click to collapse
on the front is but the back crashes though and yeah thats the thing its useless for us at the moment sigh* but slowly were getting work arounds

GCAM Problem Green Selfie Essue !!!

i am currently on pe pie with gcam 6.1 when i try to click selfie selfie turns into green colour
any fix for that?
I have the same problem. I have installed 2 diferent apps. GCam 5.1 and GCam 6.1. All works fine with 5.1 and I use it by default, but only if I want night mode I use 6.1.
piyush181071 said:
i am currently on pe pie with gcam 6.1 when i try to click selfie selfie turns into green colour
any fix for that?
Click to expand...
Click to collapse
Hi! Can you go into further detail about which camera sensor your phone has? Is it the Samsung sensor (Mostly available in the international variant) or Sony IMX sensor (Available in all Asian variants)?
Sony
ADInfinity1999 said:
Hi! Can you go into further detail about which camera sensor your phone has? Is it the Samsung sensor (Mostly available in the international variant) or Sony IMX sensor (Available in all Asian variants)?
Click to expand...
Click to collapse
hi bro i have sony sensor
piyush181071 said:
hi bro i have sony sensor
Click to expand...
Click to collapse
Okay. It seems that I was able to replicate this issue though it was my rear camera which did it when I was using WhatsApp camera to take pics. Even I have the Sony IMX sensor and I currently run LineageOS Extended 15.1 where Camera2API is enabled by default. Seemingly WhatsApp camera doesn't inherit its properties thus giving such weird results. Try installing Xiaomi Mi A2 Camera from the Magisk Repo which works well.
[EDIT : I really don't know why GCam 6.1 does not comply with Camera2API when it actually should]
ok thanks
ADInfinity1999 said:
Okay. It seems that I was able to replicate this issue though it was my rear camera which did it when I was using WhatsApp camera to take pics. Even I have the Sony IMX sensor and I currently run LineageOS Extended 15.1 where Camera2API is enabled by default. Seemingly WhatsApp camera doesn't inherit its properties thus giving such weird results. Try installing Xiaomi Mi A2 Camera from the Magisk Repo which works well.
[EDIT : I really don't know why GCam 6.1 does not comply with Camera2API when it actually should]
Click to expand...
Click to collapse
ok i will try
thanks bro
piyush181071 said:
ok i will try
thanks bro
Click to expand...
Click to collapse
You're welcome bro! Hit the thanks button if it helped you!
See my work
ADInfinity1999 said:
You're welcome bro! Hit the thanks button if it helped you!
Click to expand...
Click to collapse
https://forum.xda-developers.com/re...e-recovery-t3900268/post78907979#post78907979

Categories

Resources