Unlock Exposure, Manual Focus and other Camera functions - Xiaomi Redmi Pro Questions & Answers

Hey, in this guide is a instruction to unlock some hidden camerafeatures on redmi devices :
Unlock Camera Features i want to try it for our redmi pro omega and figured out, that the xml has moved from internal miuisystem.apk file, to #/system/etc/device_features/omega.xml . Now, if i change some things, like in the introduction from the link, the camera shows the features. Some of them working, like tiltshift and other mods, but the important ones (for me) like exposure, manual focus and live hdr, does not . The features are shown and can be activated, but the camera took a normal photo. Now, i hope someone can help me with this. I bought the phone, because of the camera and thought it has included this settings, because the special thing on this phone is the camera. The important features for me are workig livehdr and exposure settings.

Try one more thing, add this lines at the end of build.prop:
#Camera2 API
persist.camera.HAL3.enabled=1
If still not work with stock camera app, try it with another app like Snapcamera HDR.

how to keep the changes made to the xml file as it keep getting back to original when i reopen the xml

My phone is redmi note 8 pro .in my phone there is one problem in camera .my back camera is have some problem .it can't focus the photo

Related

Camera2 api

It looks like we have full support of camera 2 api.
try snap camera from the store it have a option to enable..used the app if I was on aosp rom with the m8
Good to see
I forget where, but this was actually confirmed a looooooong time ago (well... long in tech time. Couple of weeks ago though).
I thought that since Samsung doesn't offer shutter speed control in pro mode that they didn't enable the full camera 2 api.
Dovigoldberger said:
It looks like we have full support of camera 2 api.
Click to expand...
Click to collapse
Hi,
According to the person who wrote this article, it seems that the camera2 api is not fully supported at the moment :
http://spectrastudy.com/camera2-api-on-mwc-2015-devices/
The manual camera checks would then bit too enthusiastic if this is true.
Can anyone who has manual camera installed try to take a picture in RAW and post the DNG file here?
I couldn't find any S6 DNG file on the web; it would be great if someone could confirm whether it is really possible to shoot in RAW with the S6.
With a Nexus 5, the 3 following apps can shoot in RAW :
- a better camera (there is a free version with limited number of shots in case)
- camera fv-5 (paid app)
- manual camera (paid app)
Dovigoldberger said:
I thought that since Samsung doesn't offer shutter speed control in pro mode that they didn't enable the full camera 2 api.
Click to expand...
Click to collapse
It does, but due to driver limitations, the longest shutter you can choose in Manual Camera app is 1/10. The longest shutter the S6 and edge is allowed to use (when ISO is manually set in the stock camera app) is 1/7. And when Manual Camera opens, WB is all green, so you need to long press WB to make it normal. There is now RAW support wither.
Right now the best camera SW for the S6 and edge is the stock, which is extremely fast to open, very quick to focus and snap, and offers a wide variety of options including manual settings, without shutter control. The latter is a pity, but without long exposures, you can just indirectly control it via ISO, either way, you are maxed out at 1/7. On the bright side... the lens is very bright, offering dramatically better lit details at the same SP and ISO than the S5, Note 4 or One M9, and it makes it a solid snapper indoors. Overall camera2 API is a mixed bag at it's current state and I hope full manual control comes soon with long shutter options.
Not sure this is because of camera 2 API or not, but you guys notice you can now separate auto focus from exposure point in pro mode? You can press and hold to lock the focus point, while shifting the exposure point to elsewhere on the screen. Makes it much better while shooting in situations where background and foreground are in vastly different exposure brackets.
http://spectrastudy.com/camera2-api-on-mwc-2015-devices/
"Manual camera" app doesn't work with S6
vincent2167 said:
Hi,
According to the person who wrote this article, it seems that the camera2 api is not fully supported at the moment :
... link ...
The manual camera checks would then bit too enthusiastic if this is true.
Can anyone who has manual camera installed try to take a picture in RAW and post the DNG file here?
I couldn't find any S6 DNG file on the web; it would be great if someone could confirm whether it is really possible to shoot in RAW with the S6.
With a Nexus 5, the 3 following apps can shoot in RAW :
- a better camera (there is a free version with limited number of shots in case)
- camera fv-5 (paid app)
- manual camera (paid app)
Click to expand...
Click to collapse
I Installed "Manual camera" app (compatibility app said that it would work) but it doesn't work.
"Manual camera" interface appears, turns green and freezes, and phone either reboots or app
just shuts down. Camera gets a little warm too.
Was hoping to get DNG files from S6, but doesn't look good.
Very disappointed about this.
Uninstalled app and was refunded.
Thanks for the feedback!
I tried the Manual Camera app as well and it all appeared to be working for me, until I attempted to save a RAW image. This crashed my camera and required a full reboot to resolve.
Jason_V said:
I tried the Manual Camera app as well and it all appeared to be working for me, until I attempted to save a RAW image. This crashed my camera and required a full reboot to resolve.
Click to expand...
Click to collapse
I don't think there's RAW support for any non-Nexus phone (maybe one of the Chinese ones, but not from the major OEMs).
Also, doesn't the shutter top out at 1/10 or 1/7?
Yeah when putting it into raw and gpeg you will get a crash we have to wait for Samsung to do an update . I have a feeling that the ois is the reason samsung cannot alow shutter speed variation as even dslr cameras don't use image stabilization when it's on long exposure and as ois cannot be switched of manually then this will be a problem .

[Guide][Camera][SD]How to enable Camera2 API

Hello guys) How to enable Camera2 API?) Custom ROMs (MIUI, CM, etc)
1) Root!
2) Open build.prop, make string 'persist.camera.HAL3.enabled=1' , save, reboot.
3) Check manual features by Manual Camera Compability utility.
4) Install FV-5, Manual Camera etc and enjoy by manual exposure,focus etc)
It's working on my xiaomi.eu latest MIUI7 and Mookee ROMs)
p.s. I have Snapdragon version, pls test on the MTK who have this devices.
Thanx to Nevio (4pda.ru) )))
BUG! Stock camera in MIUI7 crashed with this feature. MIUI8 is normal.
Tested with Krexus rom and working!
It's gooood)
it's for mediatek or snapdragon version ?
SD working. Try if you have MTK version. If this hint will work - I will change head of topic to both versions)
nevelaev said:
SD working. Try if you have MTK version. If this hint will work - I will change head of topic to both versions)
Click to expand...
Click to collapse
Can you please test what is the longest shutter speed in Camera fv-5 or in AZ Camera. Thanks in advance!
I tried this feature on the Manual camera and AZ camera - 0.6s maximum shutter speed. And picture have a lag.
BUG found
BUG found - stock MIUI7 camera will not work with this ftr. Mi8 is normal)
News - bug only for MIUI7. MIUI8 - nice work with stock camera)
tested with official RR, working camera fv-5, now will try freedcam and manual camera
edit: tested other 2 apps, all working, very happy, to take all the juice from the camera
nevelaev said:
I tried this feature on the Manual camera and AZ camera - 0.6s maximum shutter speed. And picture have a lag.
Click to expand...
Click to collapse
Ok, thank you!
I enabled camera 2 api and I am experiencing a crazy battery drain with mokee ROM. Is it normal? The battery drops 10 % in a matter of 10min and the phone gets really hot
How many of the manual settings stated in the manual camera compatibility app are supported after enabling camera2 api?
Cresqo said:
How many of the manual settings stated in the manual camera compatibility app are supported after enabling camera2 api?
Click to expand...
Click to collapse
But RAW pictures are buggy on our phone, atleast on my phone
Edit: I had 3 reboots within a short time while opening camera apps since I've edited the build.prop. I'm on official RR, but the camera2 features are working fine (except raw), thanks for sharing!
Try it or die said:
But RAW pictures are buggy on our phone, atleast on my phone
Edit: I had 3 reboots within a short time while opening camera apps since I've edited the build.prop. I'm on official RR, but the camera2 features are working fine (except raw), thanks for sharing!
Click to expand...
Click to collapse
How to know its working? And which camera app to use after editing the build prop?
Sumit Samanta said:
How to know its working? And which camera app to use after editing the build prop?
Click to expand...
Click to collapse
Camera fv-5, snap cam (from play store), open camera and a lot others, they have to support camera2 api. On some camera apps you have to enable it manually in the settings. Then you can control shutter speed and some other things. I've attached also a picture, on the left side the shutter speed is short and on the right side the shutter speed is a lot longer. So for "normal" pictures you won't need manual controls, but in some cases it can be useful.
Try it or die said:
Camera fv-5, snap cam (from play store), open camera and a lot others, they have to support camera2 api. On some camera apps you have to enable it manually in the settings. Then you can control shutter speed and some other things. I've attached also a picture, on the left side the shutter speed is short and on the right side the shutter speed is a lot longer. So for "normal" pictures you won't need manual controls, but in some cases it can be useful.
Click to expand...
Click to collapse
Can u plz show the ss of build prop after the edit? And the settings in any camera app?
Thanks for the guide.....this has solve the problem of reboot while using third party camera apps......google camera is also working without any problem
At least. MANY DIGITAL COOKIES TO THE OP. This was a thing that I was asking before even buying the phone. Many thanks to the OP.
Hmm I am using Snap Camera with camera2 API. Best thing) But it's need to activate camera2 in the Snap Camera settings (menu--"other"tab--go down and check Camera2 API string). Nice manual focus and manual settings in the HDR mode) Snap camera may a RAW format. There opens in built-in viewer and (who installed) can be pen into Snapseed editor.
Example of the photo in HDR mode with manual settings) Sorry for my curved hands and academical English)))
My curved hands cannot make good man ual photos yet)) Who knows Russian - you can check 4pda.ru forum--Redmi Note 3 Pro Camera branch. http://4pda.ru/forum/index.php?showtopic=750102&st=860 Many people tested this hint and VEEEEERY pleasured)))

Google Camera2 API

Hello every one! Hope you're having a great day
I'm here because I need your help To make a long story short, until I can save enough to buy a new proper camera, I'm stuck with my P9 Lite, which cannot save pictures as RAW/DNG files. This feature is provided by Google's Camera2 API, which my phone doesn't have/support. Four questions:
1. Is it possible to install Camera2 API on my phone, through a custom ROM?
2. Is it possible to install a custom ROM without losing on the initial image quality provided by my phone's camera?
3. In theory, could this API be enabled by a future software update? Or does it only have to do with how the phone was originally conceived?
4. Even if I managed to get the API on my phone, would it be possible to make it fully supported, and would I be able to save RAW/DNG files even if my phone originally doesn't offer this option?
Thank you very much!
P.S: I've never thought of "flashing" a custom ROM on my phone, this issue is the only reason why I'm considering it. As you may have noticed by my way of explaining things, I'm a five year old when it comes to informatics, and I'd probably be the first in line to buy Smartphone Software For Dummies. As much as I admire how technical and specialised you can get about a science that goes way beyond my understanding abilities, if you can keep things slow and simple, as if you were talking to an actual five year old, I'd be very grateful
themadbuddha said:
Hello every one! Hope you're having a great day
I'm here because I need your help To make a long story short, until I can save enough to buy a new proper camera, I'm stuck with my P9 Lite, which cannot save pictures as RAW/DNG files. This feature is provided by Google's Camera2 API, which my phone doesn't have/support. Four questions:
1. Is it possible to install Camera2 API on my phone, through a custom ROM?
2. Is it possible to install a custom ROM without losing on the initial image quality provided by my phone's camera?
3. In theory, could this API be enabled by a future software update? Or does it only have to do with how the phone was originally conceived?
4. Even if I managed to get the API on my phone, would it be possible to make it fully supported, and would I be able to save RAW/DNG files even if my phone originally doesn't offer this option?
Thank you very much!
P.S: I've never thought of "flashing" a custom ROM on my phone, this issue is the only reason why I'm considering it. As you may have noticed by my way of explaining things, I'm a five year old when it comes to informatics, and I'd probably be the first in line to buy Smartphone Software For Dummies. As much as I admire how technical and specialised you can get about a science that goes way beyond my understanding abilities, if you can keep things slow and simple, as if you were talking to an actual five year old, I'd be very grateful
Click to expand...
Click to collapse
Can't you just install https://play.google.com/store/apps/details?id=net.sourceforge.opencamera on stock ROM? I think the camera2 api should be available.
Thank you for replying! The application supports Camera2 API, but if the API is not available on my phone in the first place, I don't think the application will work...According to my researches, the API is like, let's say, a camera: if your phone doesn't have a camera, you could install as many camera apps as you want, your phone still won't take any pictures...What I need is a way to add a camera to my phone - in our case, the API - so that I can start taking pictures - in our case, saving RAW/DNG files. Also, I might be wrong.
themadbuddha said:
Thank you for replying! The application supports Camera2 API, but if the API is not available on my phone in the first place, I don't think the application will work...According to my researches, the API is like, let's say, a camera: if your phone doesn't have a camera, you could install as many camera apps as you want, your phone still won't take any pictures...What I need is a way to add a camera to my phone - in our case, the API - so that I can start taking pictures - in our case, saving RAW/DNG files. Also, I might be wrong.
Click to expand...
Click to collapse
So the app doesn't work? I can't test it cause I am not on stock.
Just tried open cam on stock rom and I can capture RAW dng files, so it seems like camera2 is supported try it out!
UPDATE: Enable "Use alternative flash method" in photo settings if it won't take pictures when camera2 is enabled.
Open camera is pretty buggy on this phone when shooting RAW. Try "Footej camera", seems to work better
yaa but for footej need to pay to have fully featured. I payed for this but for m there is no diference to open camera.
I didn't say that Footej is better than open camera. Just that open camera often bugs for me when using camera2 - eg nothing happens when pressing camera button.
Sry for reviving the thread, is there any way to increase max shutter speed in camera2 api? I'm really interested in shooting some raw stuff but apps like Opencamera or Adobe Lightroom won't allow me to set over 1 second shutter speed (apart from the built-in camera app that allows up to 8 secs, but without raw support...) so it's a pain in the butt if I want to take raw pictures at night.
Using the stock Marshmallow Emui
The Lightroom app has a built in camera which can shoot RAW, I tried it and it works flawlessly.
Camera API2 *IS* present on p9 lite and *DOES* work.
zgomot said:
The Lightroom app has a built in camera which can shoot RAW, I tried it and it works flawlessly.
Camera API2 *IS* present on p9 lite and *DOES* work.
Click to expand...
Click to collapse
Yup it does, but shutter speed cannot be set over 1 second (see the screenshot), that means night photos end up being very noisy since I need to drastically increase iso. The default camera app allows much longer shutter time, that's why I'm wondering what's wrong
If it was possible to set it to like 10 secs in the Lightroom app, the camera would be damn great
Krastinov said:
Yup it does, but shutter speed cannot be set over 1 second (see the screenshot), that means night photos end up being very noisy since I need to drastically increase iso. The default camera app allows much longer shutter time, that's why I'm wondering what's wrong
If it was possible to set it to like 10 secs in the Lightroom app, the camera would be damn great
Click to expand...
Click to collapse
Have you tried Camera FV5?
zgomot said:
Have you tried Camera FV5?
Click to expand...
Click to collapse
Yea, but it says that this device doesn't support raw :|
Krastinov said:
Yea, but it says that this device doesn't support raw :|
Click to expand...
Click to collapse
Is it the trial version?
zgomot said:
Is it the trial version?
Click to expand...
Click to collapse
Full. Does it work for you?
Also I heard that official Nougat brings raw support to the built-in camera, can anyone verify that? I might wanna update in that case
Krastinov said:
Full. Does it work for you?
Also I heard that official Nougat brings raw support to the built-in camera, can anyone verify that? I might wanna update in that case
Click to expand...
Click to collapse
I Know This Is Quite Old But In Case Someone Is Still Wondering;
I'm Using Stock Nougat Firmware On My P9 Lite And It Does Support Raw Format, But You Have To Root The Phone And Enable Raw/DNG Format In Some System Files

Possible Camera2 API bug.

Hello, all!
This is a little specific, but I was hoping that perhaps other LG G6 users could help me test for this problem to figure out whether it's affecting all the phones/firmwares or is specific to mine.
Basically what happens is that in any camera app, except the native one, if you use specific manual settings (so, through the Camera2 API) there's a bug that changes the value on its own. Perhaps the easiest way to check it is using Open Camera:
1) Switch to video mode (camera choice does not matter).
2) Pick the exposure icon, set ISO to 50 and shutter speed to 1/20
3) Start recording video...
4) On my device after 5-10 seconds of recording the screen turns black (or nearly black) as the exposure speed drops to ~1/10000.
Touching the screen to refocus fixes it for a moment, then it jumps back to ~1/10000.
Basically ISO50, shutter range 1/20-1/30 will cause this. I have seen this in any app that allowed manual settings, like Open Camera, ProShot, Hedgecam 2, AZ Camera, Footej camera etc. Some of them turn black, others just crash/freeze. Sounds like an API bug to me.
I'm on Android version 8.0.0, Software version: V20c-EUR-XX installed through OTA.
Would really appreciate if someone could also try this.
My minimum shutter speed is 1/30... This with stock camera........ Stock oreo by OTA v20c.
No problem with recording.
vs0587 said:
My minimum shutter speed is 1/30... This with stock camera........ Stock oreo by OTA v20c.
No problem with recording.
Click to expand...
Click to collapse
Thanks for taking the time to check, but the stock camera works ok. It's the others that have this problem. Like Open Camera or HedgeCam2. The reason I want to use those is they recently added an option to change image processing (noise reduction, edge enhancement) so if you turn those down and film video with them you actually get nice, natural looking video and not the overprocessed watercolor look that the stock camera (and most other apps) provide. And if we go for a "cinematic" 24fps look then the Shutter speed could often be 1/24 or so.
Since I have seen some threads looking for a way to get cleaner video I'll attach two snapshots from a video - one with stock camera (and those crazy cartoon edges) and another from HedgeCam 2.

Gcam recomendations for V35

Are any v35 users using a gcam mod? If so, can you share which one and your experiences?
Well for 5-th branch hands down the best one is GoogleCamera_5.2.025-Final_fu24-18c1.apk and can be found here
Regarding 6-th latest Gcam_6.1.021_Advanced_V1.7.190716.1800 by Arnova works flawlessly with this XML config.
On a project fi v35, the GoogleCamera_5.2.025-Final_fu24-18c1.apk was too laggy for me. I ran 01.MGC_6.1.021_G7_test_v1.apk and was able to snap pictures with front and rear, but the 02.MGC_6.1.021_BSG_Arnova_TlnNeun_04.02.19.12.54.apk crashed on launch.
Will post a logcat once i can.
Have you properly applied the XML setting (step 8) after installing MGC_6.1.021_BSG_Arnova_TlnNeun_04.02.19.12.54.apk?
Lag in viewfinder is cause by overloaded buffer in this version which is easily fixable either by applying XML as shown or by enabling the Buffer Fix switch in app Settings.
Nope, after installing the 02 apk, it crashes on launch so I don't get the chance. Tweaked settings w/ the other one and got it working at least, thanks!
You are welcome!
N.B.: If you want to have it working you need to follow the guide up to the letter, so whenever you get bored and want to try again just uninstall the current GCAM, restart your phone and start again.
Do not forgot to take again 2 pictures after installing 1st apk and to properly import the XML settings after installing the 2nd apk and starting it for the first time.
mcsterling said:
Nope, after installing the 02 apk, it crashes on launch so I don't get the chance. Tweaked settings w/ the other one and got it working at least, thanks!
Click to expand...
Click to collapse
Same problem, I can't do step 8 because the camera crashes when trying to open.
I have LG V30+ H930DS, and I use this two Gcams.
One is 90% wokring (maybe panorama doesnt work) but all other is perfect (wide, noraml, portrait front/back, HDR+, SlowMotion) and its fast. (To chagne between lenses, just hold switch button, it will redirect to settings, after you close settings lense will be changed.
The other one I use only for NightSight. This camera has problem with selfies, they have green tint. It also have Wide/Normal switch, ( just chage between selfie and back camera, and each time ju go back to main camera it will be diferent lense)
I'm satisfied with this phone, for me everything is perfect, but i found LG V35 for good price and I would like to konw if there is somebody with V35 who will try this two Gcams, and tell me does they work properly, or if there is some others which works good, because i wouldn't change V30 for v35 if I can't have good working Gcam.
https://drive.google.com/file/d/1PcSs31bSenYiC3At0p_1So6xpBA7SaGm/view
https://drive.google.com/file/d/1OsyM99VdOLjUMxRryoFtR15Wkqt6LSVG/view
Latest GCam with respective easy import settings can be found in one archive here
vlad48 said:
Latest GCam with respective easy import settings can be found in one archive here
Click to expand...
Click to collapse
Thank you for the link. I downloaded, installed and restored the supplied config file for my V35.
Regarding Night Sight, is there a setting to change to fix the choppy motion when moving around the viewfinder?
No way for now on improving Night Sight viewfinder lag.
vlad48 said:
Have you properly applied the XML setting (step 8) after installing MGC_6.1.021_BSG_Arnova_TlnNeun_04.02.19.12.54.apk?
Lag in viewfinder is cause by overloaded buffer in this version which is easily fixable either by applying XML as shown or by enabling the Buffer Fix switch in app Settings.
Click to expand...
Click to collapse
where is step 8 described? I can find no reference on how to apply this xml config.
Step 8 originates from really old installation guide.
Now you need only to install the camera apk and import the xml settings file.
Where/how to extract the xml file and how to import it afterwards you can check here
vlad48 said:
Step 8 originates from really old installation guide.
Now you need only to install the camera apk and import the xml settings file.
Where/how to extract the xml file and how to import it afterwards you can check here
Click to expand...
Click to collapse
Thanks. I must have been downloading wrong version, since double clicking didn't work. Tried again this morning and it works now.
After applying the xml fix to v6.1 camera, it works, but I wouldn't call it "good". It's super annoyingly slow to make pictures. 5.2 also lags substantially, and won't load xml settings. So far, lg camera is hands down better
so... MGC_6.2.030_MI9SE_V4_plus2.apk has been the only version for me that has worked without issue...problem is pictures are not clear. although the viewfinder is fixed with the buffer fix toggle, when taking photos its not quick therefore the pictures blur slightly.
do you all encounter the same and if not which version and configuration has given you a fast shutter?
Here is what I posted on arnova's thread with the suggestion of another member.
hachiroku said:
thanks...i Gcam_6.2.030_Advanced_BF_V2.2.1.190822.1145.apk works for my V35 as it seems BF means it has the buffer fix built in. shame it doesn't allow for zero shutter lag as for phones that don't need a buffer fix. as the OEM camera can take photos super fast.
here are my settings for my LG V35 on Pie on Gcam_6.2.030_Advanced_BF_V2.2.1.190822.1145.apk
back camera: Pixel 3 XL
front camera: Nexus 6P
AWBGains Mod: OFF, was causing GREEN photos with it on
RAW FORMAT: RAW_SENSOR
Image Format: JPEG (if i set YUV_420_488 GCam crashes)
P3 wide-color, Wide Color gamut
playing around with Custom Lib Repo by cstark and with Eszdman v2.6 beta 2
image quality is awesome, and no blur upon shutter snap as with other GCams! Thanks @arnova!
Click to expand...
Click to collapse
Hey everyone, I'm currently exploring some gcam options and I found that the latest Arnova Gcam works great with no lag (it does take a bit longer to capture a photo than it does on my sd820 device) but sadly it doesn't offer wide camera mode.
Now, there is the cstark camera and wide angle mode actually does work, but using the camera is impossible because the preview (you know, the thing you see on your screen before you take a picture) changes once every 5 seconds or something. I tried importing some xmls and that sped it up just a bit but not by much.
Is there some working version that was tested for v35? My v35 is Korean model
vlad48 said:
Well for 5-th branch hands down the best one is GoogleCamera_5.2.025-Final_fu24-18c1.apk and can be found here
Regarding 6-th latest Gcam_6.1.021_Advanced_V1.7.190716.1800 by Arnova works flawlessly with this XML config.
Click to expand...
Click to collapse
I get terrible stutter on the night site with this 6-th and the config file. Any fixes?
You need to be on Pie and you can use Gcam_6.2.030 with working Night Sight without lag.

Categories

Resources