Is There Any Hope From xiaomi To Enable Camera 2 Api With Android P Update or With A OTA Update? If so, is there something for us that we should do. Like Tweet To xiaomi or something else
I doubt it but telling them does not hurt. I did via the feedback app, multiple channels would help, so tweet and write emails
request sent to xiaomi too
IjazCI said:
I think they don't want to make their camera look like inferior or trash (@ lowlights) by enabling it.
Click to expand...
Click to collapse
Wait wouldn't that be other way around? Like ".. make their camera look "superior" in lowlight..." like just look at nokia 6.1 plus with gcam. Or am I missing something?
IjazCI said:
Mi camera application doesn't use camera2api. So if they enable camera2api their camera become inferior to the Gcam mods.
I have unlocked my device and enabled camera2api via setprop method.
I will happily relock if they enable camera2api by default.
Click to expand...
Click to collapse
NThe camera don´t become inferior, julst their APP of the camera.
Everyone that ha a GCam mod that works confirms that you get best photos on low light, and also good light.
The Pocophone cameras are inferior but have that enable by default....
I have mi 5s befor and camera 2 api was enabled
it would be great to have camera2api enabled by ota, I've buyed this phone also because it's android one and can use all google app, including google camera.
nokia 6.1 has camera2api enabled and it's android one
anyone interested please confirm the *bug* here
Hello everybody,
I've been looking at the /system/etc/camera_config.xml file, and I noticed that there are so many features that the LG camera app supports, but some of them are disabled even if they work on our G5. So I made a flashable zip to enable these features:
Manual Video mode: works very well, but doesn't support 21:9 aspect ratio (also broken in Fulmics 5.5 G6 camera port)
Graphy (applies settings from existing photos to yours): working perfectly, you just need to install Graphy from the Play Store to access to many more photos.
Adjust Exposure in Automatic mode with a slider: working
Add signature: not working on my phone, may be worth to try on some other phones
ZSL (zero shutter lag) on Manual mode: working, but if you set exposure or shutter to AUTO, the camera shows a value of "0" for both ISO and shutter. It's just an UI bug, the photos are taken as expected.Removed, as it has too many drawbacks.
If you don't have TWRP, just extract the camera_config.xml file and place it in /system/etc/ and be sure to set permissions correctly.
If the options are not available after flashing the zip, clear the data of the camera app.
By the way, looking inside the Smali code of the camera app, it seems thate there is a [email protected] mode, but I have no clue on how to enable it to test if our camera supports such a high frame rate.
Lowering exposure on automatic would be useful. I always though on stock it was set too high with the wide angle exposure being perfect.
How exactly does that work? Will a slider button appear where there was none before? And do you think it can be done for Nougat?
EDIT: I'd like to manually edit the file myself, what do you have to change just to get the automatic mode exposure slider?
Thanks mate for your great finding.. I manually edit my LG V20 camera config according to yours and it's working as it should.
Those exposure slider should be a handy to me.. and graphy? idk what that is but i will try to explore those someday..
thanks again..
EDIT -
there is no need to reboot if change those config line, simply just clear the camera data and voila ! this should be time saving..
anyway, i'm going to spread your finding on LG V20 forums.. keep on the good works !
@tremalnaik
wow this is awesome, it is LG V30+ features for the Graphy things. Could you please find out how to get Cine Video Effect working as well?
@daniLaLaLaLaLa
Just found this thread, thanks to you.
Am I able to use this mod using Nougat on LGV20?
Please advise.
Thank you.
karkand said:
@tremalnaik
wow this is awesome, it is LG V30+ features for the Graphy things. Could you please find out how to get Cine Video Effect working as well?
@daniLaLaLaLaLa
Just found this thread, thanks to you.
Am I able to use this mod using Nougat on LGV20?
Please advise.
Thank you.
Click to expand...
Click to collapse
I guess it won't work on Nougat due to different camera apps.
ezzony said:
Lowering exposure on automatic would be useful. I always though on stock it was set too high with the wide angle exposure being perfect.
How exactly does that work? Will a slider button appear where there was none before? And do you think it can be done for Nougat?
EDIT: I'd like to manually edit the file myself, what do you have to change just to get the automatic mode exposure slider?
Click to expand...
Click to collapse
To lower the exposure just tap on the screen on the area you want to focus, then a slider with two suns will appear next to the shutter button. That's the slider for the exposure.
If you want to add that feature yourself, open the /system/etc/camera_config.xml file with a text editor (TotalCommander, Root Explorer, etc...) and look for AE_focus_supported string and replace "false" with "true".
If you want to do it on Nougat you can try, if you already find AE_focus_supported string in camera_config.xml, it will likely work.
karkand said:
@tremalnaik
wow this is awesome, it is LG V30+ features for the Graphy things. Could you please find out how to get Cine Video Effect working as well?
@daniLaLaLaLaLa
Just found this thread, thanks to you.
Am I able to use this mod using Nougat on LGV20?
Please advise.
Thank you.
Click to expand...
Click to collapse
I'll try to find out a way to use Cine Video Effect, there are some other modes, like mode_cinema and mode_disney_camera that are built in the camera code, but they make the camera app crash when selecting mode. There's also mode_food, that is shown correctly in the mode selection menu, but then crashes. Maybe some complementary files are missing from G5. I'll try to debug and see if it's just a matter of adding some files or if we need to edit the code.
If you want to use my file on V20 Nougat you can try, but make a backup of camera_config.xml, because different versions of camera app might not recognize some strings and crash. If you don't succeed, try editing your file, it's quite simple, you just have to replace some "false" with "true" and check if all works as expected.
EDIT: tried mode_cinema: the interface works perfectly, but it doesn't do anything You have the tutorial, the interactive zoom and the LUTs, but none of them works out of the box. As @xpirt explains here, Cinema Mode depends on the V30 camera sensor, and cannot be ported to G5 (and of course to G5, having the same sensor, at least on the primary camera).
Also Grid Photo (there are 4 modes) is buggy, because it takes stretched photos, with wrong aspect ratio and weird glitches. In this case doesn't seem to be a bug related to the hardware, but to the software.
@tremalnaik, ya that worked but it's ae_supported I think you meant not ae_focus. Anyway the setting was not available on my Nougat fone, I guess it could be made to work some way. I think I have the G6 camera app on my nougat g5 fone now I can't remember. Maybe it could be made to work by porting the G5 Oreo camera app over.
Incidentally what I don't like about the main rear camera is that it has a slighly orangy/yellow-y hue at times. The G4 camera was better. I wonder if there is any way to adjust it or is it basically the camera hardware.
For the AE Focus you might try adding this lines to your camera_config.xml
Code:
<item name="AE_focus_supported">
true
</item>
and see if your camera app makes use of this setting.
For the color I really don't know, there's so much code in that app to explore... If the color is too orange, you may want to switch to manual mode and set the white balance to something cooler. The problem would be if the color was too green or too purple (magenta), it wouldn't be possible to correct it using white balance, you woud need to edit the RAW file (or the JPG, with worst results).
https://drive.google.com/open?id=0BwmsIySoHg2FamhOaEQ1T1o0Wkk
---------- Post added at 01:30 PM ---------- Previous post was at 01:28 PM ----------
use this apk instead of playstore.after that active it in setting of camera.perhaps you may restart phone after install the apk.that's all
While I was testing the H-ROM G7, I noticed a bug in the camera that made me realize that Zero Shutter Lag and Manual mode are not compatible. If you have flashed the configuration with ZLS active in manual mode, please replace it flashing the other zip file.
Enabling ZLS has 2 huge drawbacks: not being able to save DNG raw files and having less control over shutter speed (especially not being able to take long exposures).
As I'm currently using H-ROM, I can't test if on stock Oreo this bug is there, but I'm pretty sure it is.
After playing around with smali code of the camera app, it seems to be possible to make manual video work without root (and the G7 camera app)
@jc9896 mind sharing your work?
Black_Eyes said:
@jc9896 mind sharing your work?
Click to expand...
Click to collapse
Extract the zip, install the app but dont open, and then copy the CamMod folder into the root of the internal storage.
I modified the app to search the CamMod folder for the relevant xml files.
Not a developer, no idea how to fix bugs and crashes.
Download here : https://mega.nz/#!ORIUBY6D!QzzC6m1BBYp-9LQB9kYIW9b2TFYyf7AqiO26T46sgos
Frank
Merci
tremalnaik said:
Hello everybody,
I've been looking at the /system/etc/camera_config.xml file, and I noticed that there are so many features that the LG camera app supports, but some of them are disabled even if they work on our G5. So I made a flashable zip to enable these features:
Manual Video mode: works very well, but doesn't support 21:9 aspect ratio (also broken in Fulmics 5.5 G6 camera port)
Graphy (applies settings from existing photos to yours): working perfectly, you just need to install Graphy from the Play Store to access to many more photos.
Adjust Exposure in Automatic mode with a slider: working
Add signature: not working on my phone, may be worth to try on some other phones
ZSL (zero shutter lag) on Manual mode: working, but if you set exposure or shutter to AUTO, the camera shows a value of "0" for both ISO and shutter. It's just an UI bug, the photos are taken as expected.Removed, as it has too many drawbacks.
If you don't have TWRP, just extract the camera_config.xml file and place it in /system/etc/ and be sure to set permissions correctly.
If the options are not available after flashing the zip, clear the data of the camera app.
By the way, looking inside the Smali code of the camera app, it seems thate there is a [email protected] mode, but I have no clue on how to enable it to test if our camera supports such a high frame rate.
Click to expand...
Click to collapse
Greetings!
I have a question. Is it possible in any way to install this apk on LG G5 running Nougat 7.0. When I try to install the app, It says "error parsing the package". This is probbably due to incompatibility with Nougat. I know there is a minimum SDK version set inside the apk files (AndroidManifest.xml) so would it be possible to tweak some settings? The software of the camera app on Oreo is messed up, producing noisy images so I wouldn't like to sacrifice that.
ToTheSpace2 said:
Greetings!
I have a question. Is it possible in any way to install this apk on LG G5 running Nougat 7.0. When I try to install the app, It says "error parsing the package". This is probbably due to incompatibility with Nougat. I know there is a minimum SDK version set inside the apk files (AndroidManifest.xml) so would it be possible to tweak some settings? The software of the camera app on Oreo is messed up, producing noisy images so I wouldn't like to sacrifice that.
Click to expand...
Click to collapse
For noisy images and general picture quality, I recommend Google Camera 6.1 on Oreo. (5.x on Nougat) Makes a huge difference in image quality.
You can find a good version by searching up google camera ports on xda, such as cstark's and Arnova's versions work well.
As for the stock cam, I tried with no success to port manual video over. There has been attempts iirc but it seems that manual video encoding is broken on Nougat. That issue is resolved on Oreo.
jc9896 said:
For noisy images and general picture quality, I recommend Google Camera 6.1 on Oreo. (5.x on Nougat) Makes a huge difference in image quality.
You can find a good version by searching up google camera ports on xda, such as cstark's and Arnova's versions work well.
As for the stock cam, I tried with no success to port manual video over. There has been attempts iirc but it seems that manual video encoding is broken on Nougat. That issue is resolved on Oreo.
Click to expand...
Click to collapse
Thank you for the reply!
Do you mind checking out a thread I made about LG G5 noise problem on Oreo (link: https://forum.xda-developers.com/lg-g5/help/long-exposure-images-lg-g5-oreo-noisier-t3956693)
I don't know if that's the general problem or is it just me, maybe you know something more about it? The manual video for Oreo is amazing but this image noise bug bothers me.
ToTheSpace2 said:
Thank you for the reply!
Do you mind checking out a thread I made about LG G5 noise problem on Oreo (link: https://forum.xda-developers.com/lg-g5/help/long-exposure-images-lg-g5-oreo-noisier-t3956693)
I don't know if that's the general problem or is it just me, maybe you know something more about it? The manual video for Oreo is amazing but this image noise bug bothers me.
Click to expand...
Click to collapse
There is noise on mine. Seems to be about the same as Nougat (can't really tell from my pics), but as I use GCam nowadays its not as much of a problem. Night sight on Oreo (GCam 6.1) does a lot to improve night shots and noise.
jc9896 said:
Extract the zip, install the app but dont open, and then copy the CamMod folder into the root of the internal storage.
I modified the app to search the CamMod folder for the relevant xml files.
Not a developer, no idea how to fix bugs and crashes.
Download here : https://mega.nz/#!ORIUBY6D!QzzC6m1BBYp-9LQB9kYIW9b2TFYyf7AqiO26T46sgos
Click to expand...
Click to collapse
I have tested your port for several days on my LG G5 (Oreo stock) and I am very grateful for your work. I know that some functions do not work but the most important ones for me such as manual video and manual photo modes work quite well. The LG Camera app 7.0 with your modifications is infinitely better than the one included in the stock rom.
Before, I had tried several video recording apps with manual controls from the Play Store but they used to have small jumps in the recordings. It seems that only LG apps record well in 4K with stock rom.
Works as described. Thank you for these tweaks. ???
Hi guys,
I just bought this phone and tried some custom rom, and it works perfectly!
I have just a couple of questions about the camera,
How can I know if, for example, the google camera port is using the telelens instead the main camera?
I just love to have the pixel experience on my mi8 but, I want also to be able to use all the cameras in my phone. I also searched the 4k60fps option in google camera or im ANXCamera but the maximum setting is 4k30fps.
I tried to learn something more in some thread and i found that many people talks about the impossible to access the second camera through the api2.
I'm honest, I don't have the knowledge to understand all that, so I'm asking you, did you know some guide that can help me out?
I just want to know if with an aosp rom is possibile to access the full potential of mi8 camera, nothing else. I wish I could use some google experience instead the miui but with a complete camera app.
Thank you
Thomas
It's taken some doing but I've been able to unlock and root my Bold N1. (bricked it 3 times before I figured it out, luckily I found all the tools/files I need to flash back to stock).
For Now I have it on the stock rom but rooted via Magisk.
My only issue is I NEED to replace the camera app. The phone is AMAZING for the price point (the screen alone is worth the price) but the camera is total garbage.
I was Hoping GCAM could salvage some of that for me.
So far I hear some folks have had luck with GCAM 6.1.20 but I haven't been able to. I can get it to install but the app crashes a few minutes after I load it up. And once crashes it won't start up again until I delete cache/data on the app.
I've been searching the net for a few weeks now looking for the best GCAM Port for Mediatek Helio P70 phones but so far no real luck.
I've tried using Magisk modules to force it (bricked my device and had to wipe to stock) tried to modify the build.prop (even though the phone is already camera2api enabled) needless to say that didn't work either.
Anyone find a good GCAM Port yet? I mean the phone is camera2api enabled out of the box so it shouldn't be so hard to find a good Port. The P70 is a popular SoC and with all those GCAM devs out there Im surprised this is so hard to find. Ive tried ports that say they're for a phone with the same SoC but they fail as well. (the realme 3 has the same SoC and a working GCAM Port but I can't get it running on my bold)
At this point the camera is the only thing stopping me from putting my iPhone x in a drawer and making this my daily driver.
Only real version I've found that work is this one...
Fairly old version.
Try Open Camera
kcasante said:
My only issue is I NEED to replace the camera app. The phone is AMAZING for the price point (the screen alone is worth the price) but the camera is total garbage.
I was Hoping GCAM could salvage some of that for me.
At this point the camera is the only thing stopping me from putting my iPhone x in a drawer and making this my daily driver.
Click to expand...
Click to collapse
I don't know if you found a working gCam app for the Bold N1, but if not, try using Open Camera (free with no ads in the Google Play store). For me, it totally has saved the Bold N1's photography and I actually prefer it over to gCam (which I used on an Essential Phone) due to all the different options and manual control.
One thing Open Camera cannot do, however, is make artifical bokeh ("portrait mode" on many phones). So I use Google Camera (also free with no ads in the Google Play Store; not to be confused with gCam, which is ported from the Pixel) and its Lens Blur function for that purpose. Otherwise I use Open Camera for everything else.
is that another limitation as well? I can seem to backup device to google drive. As far as I read from all the threads, Android Auto, location history did not work. But I didnt see backing up device to google (and restoring).
Just wondering and sorry if I missed it somewhere on the threads.
rudabb said:
is that another limitation as well? I can seem to backup device to google drive. As far as I read from all the threads, Android Auto, location history did not work. But I didnt see backing up device to google (and restoring).
Just wondering and sorry if I missed it somewhere on the threads.
Click to expand...
Click to collapse
It doesn't work too even when it's rarely mentioned.
ok..Thats that .
Thanks
There are plenty more google services just not as widely used that don't work.
E g. Google Play Services for AR (formerly ARCore). Some Vivo China OS devices support it, others don't according to google compatibility list. It kinda stops at x50 pro however (with x80 vanilla being the odd newer exception). You can side load it but then you also need to side load / apk install any app that is AR only on Play store.
It should be offered in vivo appstore if compatible for vivo devices but x90 pp doesn't list it.
I'm not sure if for example pokemon Go works however. On a first try it only showed AR instead of AR+ which it should show with ARCore. If it only enables AR+ with full google compatibility indicated it will not work. If it can be set to just ignore compatibility it will work.
Google assistant barely works (no conversation, no hotword). Quite a few other missing things here and there ( not sure how many can be partly solved by side loading)
worse thing is Im hooked on this phone...but everyday theres a little bit of you cant do this and cant do that...shame. because if they did a global version its a winner..
I am wondering how funtouch 13 compares to color OS...almost tempted to try the x90 pro global as the 1 inch camera and the hardware I am sold on.
I am still struggling with notifications on lock screen only, and things like nearby share dont work..like little things that add up.....
rudabb said:
worse thing is Im hooked on this phone...but everyday theres a little bit of you cant do this and cant do that...shame. because if they did a global version its a winner..
I am wondering how funtouch 13 compares to color OS...almost tempted to try the x90 pro global as the 1 inch camera and the hardware I am sold on.
I am still struggling with notifications on lock screen only, and things like nearby share dont work..like little things that add up.....
Click to expand...
Click to collapse
Not possible to use Google backup on a phone without root for me is a huge problem, not a small one. Because it means days to restore should you move to another phone respectively should you need to hard reset....
But yeah in principle it's a great hardware (except modem, some sensors like compass and the slow charging on PD chargers plus the uber sensitivity to charging cables), just software that hits a few bugs every single day.
I really feel you need to be a die hard Vivo fanboy to overlook those problems.
Buying a Xiaomi virtually anyone outside China just flashes xiaomi.eu custom ROM. Very different situation. Same for OnePlus just flash to global (though with OnePlus 11 this got mighty complicated especially with region lock)..
But for example for AR vivo 90 pro global isn't certified either, so that actually had nothing much to do with google. Other Chinese brands certify all their midranger and flagships because it affects also all Chinese apps that want to use AR as it's the only AR platform for Android. And yes side loading works but if the system reports it cannot do it, while it can it poses app developers into big problems. If they just enable AR features for all phones then those who didn't side load the AR services will get bugs...
If you want the 1" sensor just wait for Xiaomi 13 Ultra and either get global directly or wait for a Xiaomi.eu ROM (many shops will pre flash). It will have the 1" sensor with variable aperture as it seems and that's a huge plus because in quite a lot of situations the bokeeh is too much (e.g food pictures). Or wait what Samsung does with the announced big camera update end of March (or use gcam on S23u, it's really dialled by now and way superior to stock and doesn't have the problems gcam has on X90pp). Then Pixel 8 pro should have 1/1.12" sensor too but that's a long wait...
The Magic 5 pro cannot really convince me for upgrade. They also botched the modem like Vivo and the zoom isn't too good. I would prefer it but not good enough vs s23U. Also it doesn't seem to use actual crop from full resolution for 2x portrait and some more limitations on camera.