Related
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
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
Edit: it seems like hdr+ isn't really working.
The latest mod from BSG works on our Axon 7 already.
Here's the link: MGCB_7.0H_C2API_Mid_v.3.6_AllinOne_Full_Manual.apk
Also, you still need to enable camera2api for this to work.
If you have magisk installed in your device, you can check my thread here:
https://forum.xda-developers.com/apps/magisk/module-camera2api-enabler-t3656651
There's also a fix there for slowmo on Gcam.
Update:
-added twrp flashable slowmo fix for Axon 7 (be sure you have a working twrp backup in case anything goes wrong with your device.)
Work wreat!
but how do I configure hdr +?
Enviado desde mi ZTE A2017G mediante Tapatalk
davidroid1 said:
Work wreat!
but how do I configure hdr +?
Enviado desde mi ZTE A2017G mediante Tapatalk
Click to expand...
Click to collapse
just try out those settings.. I haven't played with it yet. When I tested this after I installed and took photos with gcam hdr+ and stock cam hdr, I think the stock is better.
For user with root but no magisk, it'is impossible?
Thanks for sharing this, and also for making the Magisk files to enable the camera2 API line and slow motion compatibility! Confirmed to be working with DARK ROM and Magisk v14.0. I haven't tried it against the stock camera from MiFavor yet, so can't report on the difference in image quality.
Bucatino said:
For user with root but no magisk, it'is impossible?
Click to expand...
Click to collapse
No, instal app pixel camera and flash mod or modifiqued build.prop and reboot
Enviado desde mi ZTE A2017G mediante Tapatalk
Updated OP.
I have added a twrp flashable zip for slowmo fix.
For me, this messes up the 1080p60 recording on the stock camera.
awsomjgp said:
For me, this messes up the 1080p60 recording on the stock camera.
Click to expand...
Click to collapse
Where can you activate 1080p60 on stock cam?
I don't have that setting..
otaconremo said:
Where can you activate 1080p60 on stock cam?
I don't have that setting..
Click to expand...
Click to collapse
What...you have 2 1080p30 options.
Edit: just realized you have video stabilizer on.
otaconremo said:
Where can you activate 1080p60 on stock cam?
I don't have that setting..
Click to expand...
Click to collapse
Dude, you have to install the MOD version of the A2017U ROM. The Chinese ROM camera does not have this option. You can find it here:
https://forum.xda-developers.com/axon-7/themes/zte-camera-flashable-zip-t3553638
awsomjgp said:
What...you have 2 1080p30 options.
Edit: just realized you have video stabilizer on.
Click to expand...
Click to collapse
HALF_03 said:
Dude, you have to install the MOD version of the A2017U ROM. The Chinese ROM camera does not have this option. You can find it here:
https://forum.xda-developers.com/axon-7/themes/zte-camera-flashable-zip-t3553638
Click to expand...
Click to collapse
So that's why I can't find it my device. Hahaha.
Thanks for the info.
@HALF_03 Can you extract your system/etc/media_profiles.xml for me?
I already tried installing A2017U cam but 1080p60 still doesn't show up.
TIA
The app itself is working. However you have to enable HDR+ in the setting menu first. After that the camera won't work at all and I have to delete data + cache to get back to the settings
_phk_ said:
The app itself is working. However you have to enable HDR+ in the setting menu first. After that the camera won't work at all and I have to delete data + cache to get back to the settings
Click to expand...
Click to collapse
Mine's fine. I can choose different hdr in the settings and it doesn't crash.
How is the photo quality compared to stock axon cam?
hizzy06 said:
How is the photo quality compared to stock axon cam?
Click to expand...
Click to collapse
I took only a few photos in normal indoor light (my room), but the results were horrible. They were much more grainy than the stock camera app. And yes I did enable HDR+.
otaconremo said:
Mine's fine. I can choose different hdr in the settings and it doesn't crash.
Click to expand...
Click to collapse
do you acutally see a different when enabling/disabling hdr+ vom main window button? I do not see any difference with your settings.
Acutally to enable hdr+ it's necessary to set support level override = NEXUS_2015. Then app will freeze regularely and I get Camera error "the camera device encoutered a fatal error"
_phk_ said:
do you acutally see a different when enabling/disabling hdr+ vom main window button? I do not see any difference with your settings.
Acutally to enable hdr+ it's necessary to set support level override = NEXUS_2015. Then app will freeze regularely and I get Camera error "the camera device encoutered a fatal error"
Click to expand...
Click to collapse
I see.. tried that setting and camera gets fatal error.
Cyrus D. said:
I took only a few photos in normal indoor light (my room), but the results were horrible. They were much more grainy than the stock camera app. And yes I did enable HDR+.
Click to expand...
Click to collapse
Same here. There is no difference with or without HDR+ enabled on my phone. Running latest LOS nightly.
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
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