Cannot connect to camera - Lenovo ZUK Z2 (Plus) Questions & Answers

hi all, since i change to aosp base custom nougat. There is a very big chance the phone "cannot connect to camera". When this happen, the phone will heat up and drain the battery. I think there is a kernel error and cause camera running but unable to show anything on screen. Force close wasn't help to fix this , only reboot.
I always use bacon camera because it come with real manual mode. And the only app with it. I doubt the manual mode(api level) in the app conflict with kernel .
Now i uninstall it and use other app with standard function to keep track if Bacon camera is the root cause of this error.

locolyric said:
hi all, since i change to aosp base custom nougat. There is a very big chance the phone "cannot connect to camera". When this happen, the phone will heat up and drain the battery. I think there is a kernel error and cause camera running but unable to show anything on screen. Force close wasn't help to fix this , only reboot.
I always use bacon camera because it come with real manual mode. And the only app with it. I doubt the manual mode(api level) in the app conflict with kernel .
Now i uninstall it and use other app with standard function to keep track if Bacon camera is the root cause of this error.
Click to expand...
Click to collapse
Any clues? I'm experiencing the same problem, and changing rom and/or kernel does not seem to fix it. I'm using bacon camera too, and actually started considering the possibility of it being the problem. Have you discovered something about it?

Carmach said:
Any clues? I'm experiencing the same problem, and changing rom and/or kernel does not seem to fix it. I'm using bacon camera too, and actually started considering the possibility of it being the problem. Have you discovered something about it?
Click to expand...
Click to collapse
Use moto camera and adjust build.prop to get the manual mode . Bacon camera is not zuk rom friendly

This happened to me while using HDR in Bacon Camera in RR 5.8.4 with Darkmoon Kernel. In my case the system detected no camera at all. Not even AIDA64 showed anything. The only possible solution is to clean reflash of whatever ROM you want (Dirty Flashing doesn't work). I tried the Bacon again on AEX but same problem after sometime. The only equivalent (better actually) I found to Bacon Camera and all its glories is the Snap Camera v8.6.0 (latest). Don't bother if it shows as gallery while installing. Best Manual Camera app I've used by far. Plus it can utilize the legacy mode of Camera2api available on our device. I'm not talking about the snapdragon camera app. This is different. It's package name is -com.marginz.snap-.

Incrovantilist said:
This happened to me while using HDR in Bacon Camera in RR 5.8.4 with Darkmoon Kernel. In my case the system detected no camera at all. Not even AIDA64 showed anything. The only possible solution is to clean reflash of whatever ROM you want (Dirty Flashing doesn't work). I tried the Bacon again on AEX but same problem after sometime. The only equivalent (better actually) I found to Bacon Camera and all its glories is the Snap Camera v8.6.0 (latest). Don't bother if it shows as gallery while installing. Best Manual Camera app I've used by far. Plus it can utilize the legacy mode of Camera2api available on our device. I'm not talking about the snapdragon camera app. This is different. It's package name is -com.marginz.snap-.
Click to expand...
Click to collapse
Snap camera is not a bad app. But I really don't know how to activate manual mode for this app. The only app which support manual mode and working with no bug is moto camera.

locolyric said:
Snap camera is not a bad app. But I really don't know how to activate manual mode for this app. The only app which support manual mode and working with no bug is moto camera.
Click to expand...
Click to collapse
I think for anything more than manual focusing we need Camera2api. Some apps like the Moto Camera or Even Footej support Manual Modes but as far as I've tested them, the manual adjustment is not that accurate (the iso adjustment has little to no effect on the pic). However in the Image Details, the iso is marked to what we set, so many are fooled. I'm a Hobbyist Photographer and have a Good Camera so I have no requirements to take manual photos on my phone. As far as I'm concerned the Snap Camera HDR capture is the best out there yet for our phone and that's all i require out of the above average sensors in our phone. Still if you want Manual Control of Exposure and ISO, try to achieve with post production, either using snapseed or Photo Editor(The Photoshop equivalent in Android, -com.iudesk.android.photo.editor-). Honestly You won't find the difference until you scrutinize in Big Screen. For Any Social Media purposes that's more than enough.

Try the 13 august jaguar kernel and Flash the new camera blobs if the error persists.
But before that you will have to reflash the Rom by wiping dalvik cache/cache/system.
Dont wipe the Data if you need your app configuration to remain the same.

Related

CM 10.1 Camera quality

I think the camera quality isn't a hardware problem but a software one. E.g. in darkness the camera doesn´t turn on the light when focussing.
In system/lib/hw is a file (camera.msm.8960.so) which should be changed but i'm not able to do this. There must be played with the values. Some clever guys did this in for other phones before.
My phone before was the LG 2x and in that forum they raised quality above 200% of the original one.
I attache the file to work with. Maybe here are some insiders too.
...the only problem is that the camera does not focus when the flash comes in darkness. Or it focuses too early or too late. When you turn on the flashlight on the phone permanently and take a photo, everything is fine. The problem is in CM 10.1 and 10.2.
Isn´t here somebody who knows a trick?
franky_z said:
...the only problem is that the camera does not focus when the flash comes in darkness. Or it focuses too early or too late. When you turn on the flashlight on the phone permanently and take a photo, everything is fine. The problem is in CM 10.1 and 10.2.
Isn´t here somebody who knows a trick?
Click to expand...
Click to collapse
In focal camera you have the option to turn on flash as a torch. I turn it on then take a picture. That fixed for me but I have to agree. The camera quality is bad. Something must be done.
Just use a 3rd party camera app.
MitoTakatori said:
Just use a 3rd party camera app.
Click to expand...
Click to collapse
I tried some 3rd party apps but that didn't solve the problem that the camera doesn't focus when using the flash. This seems not to be an app problem, it's in the files from the rom like I attached above.
Or do you have a suggestion for an app that solves the problem with focus in darkness?
franky_z said:
I tried some 3rd party apps but that didn't solve the problem that the camera doesn't focus when using the flash. This seems not to be an app problem, it's in the files from the rom like I attached above.
Or do you have a suggestion for an app that solves the problem with focus in darkness?
Click to expand...
Click to collapse
Hmmm...as for me I don't have that issue. I am using Epsilon V3 ROM by core720, which is based on stock. For camera app, I use snap camera hdr and the new focal camera.
MitoTakatori said:
Hmmm...as for me I don't have that issue. I am using Epsilon V3 ROM by core720, which is based on stock. For camera app, I use snap camera hdr and the new focal camera.
Click to expand...
Click to collapse
Ok, I tried that rom which is very great, very smooth. Nice. But the camera is still not focussing right with the stock cam or snap camera hdr in darkness at my side. It surely is not an app problem...

CAMERA FIX!! no focus or flash issue what so ever; With this camera apk

HI everybody,
K this camera apk was pulled from the MIUI rom port while doing extensive testing of the rom it's self just to see how the rom did. While doing this I noted with the camera all issues we have on the cm and nexus based roms are non existent on the MIUI camera, but the camera does have issues.
1. It has two issues one when it takes a photo's with the rear facing camera it saves it upside down for some reason
2. second issue i found is when you go to the front facing camera it glitches in the transition and you half to close it out and restart and then it'll be on the front facing camera and you half to do the same to get back to the rear facing camera NOTE: the front facing camera does not flip the image
Now initially I thought this might of been the miui rom its self so I grabbed the camera apk and jumped to the Nexus rom and IT WORKS. I currently use this camera as my daily driver despite its issues and even though I have purchased the Snap Camera, I just prefer the MIUI camera...
I would note I ran a search on the camera apk files name and found this http://forum.xda-developers.com/find-7/development/mod-oppocamera-settings-timer-scene-t3003030 I tried the zips they have and they don't seem to work on our phone.
Also I did not know who to credit for this. I'm sorry for that; if some one know's who pm me or comment. Thanks
personally i find 'BlueCam' delivers better photos than the MIUI, the only features that don't work is manual focus but the auto focus does a fine job and it has torch mode to take care of night photos which gets over the flash problem, its also free on the app store.
romario3600 said:
personally i find 'Blue Camera' delivers better photos than the MIUI, the only features that don't work is manual focus but the auto focus does a fine job and it has torch mode to take care of night photos which gets over the flash problem, its also free on the app store.
Click to expand...
Click to collapse
Now we just waith the solution for QR Bacorade problem. With this, we have the best rom, whatever CM or Nexus version...
Sent from my SD4930UR using XDA Free mobile app
geografias2 said:
Now we just waith the solution for QR Bacorade problem. With this, we have the best rom, whatever CM or Nexus version...
Sent from my SD4930UR using XDA Free mobile app
Click to expand...
Click to collapse
true that, I'm thinking it should be very possible for an app to utilize an existing camera app to take the picture and then parse it, if background elements are an issue a crop tool can be built it. I'll look into it after this coming week and see if i can come up with something. Won't be perfect but it'll be better than nothing
romario3600 said:
true that, I'm thinking it should be very possible for an app to utilize an existing camera app to take the picture and then parse it, if background elements are an issue a crop tool can be built it. I'll look into it after this coming week and see if i can come up with something. Won't be perfect but it'll be better than nothing
Click to expand...
Click to collapse
Regarding barcode scanning... it is not as seemless as barcode scanner or google goggles, but I had good success with QR droid which can use an existing picture to read a barcode.
lanAKAIan said:
Regarding barcode scanning... it is not as seemless as barcode scanner or google goggles, but I had good success with QR droid which can use an existing picture to read a barcode.
Click to expand...
Click to collapse
That's what I'm getting at, if its possible to read from an image then it should be possible to have your camera take a snap shot, save it has an ordinary image and then have an app interpret it. At least in theory, I don't know how feasable it is yet
I use this camera app from f-droid app store its free and open source and also works well with flash
https://f-droid.org/repository/browse/?fdfilter=camera&fdid=com.simplemobiletools.camera
Tried it with latest lineage os by ggow. Focus is fast and pictures are coming up great. There is no manual controls but this app is better than stock or Google camera app in my opinion anyway. Camera button also works to activate this app and to take snaps with. Developer also has gallery app in f-droid if you want to give it a spin.
maly82 said:
I use this camera app from f-droid app store its free and open source and also works well with flash
Click to expand...
Click to collapse
The camera from F-droid is very limited and it does not work with flash. It works in a sense that flash can be permanently turned on and used as a light. The oppo camera however seems to work correctly. The only problem I encountered is switching between front and rear camera. Seems like usable camera to use when you need flash support. Otherwise open camera app is good and full featured app.
xwin01 said:
. The only problem I encountered is switching between front and rear camera. Seems like usable camera to use when you need flash support. Otherwise open camera app is good and full featured app.
Click to expand...
Click to collapse
I find oppo camera good but pictures for not known reason turn out upside down - I really don't fancy switching them back manually.
Another good app is camera HDR. As mentioned in CyanogenMod description it just work well.
thanks. really nice. flash light photos works fine.

HOW TO: FIX the G5 Plus Camera (mods, tools, guides)

UPDATE: Used hide tags to organize this post better and make information easier to find.
Alright, so you've got a shiny new Moto G5 plus, which supposedly has a similar Sony imx sensor as the one found on flagships like the Galaxy S7 and Pixel2. Yet, you are somehow disappointed by the camera's quality.
YOU ARE NOT ALONE!
Turns out the camera sensor on this thing is actually pretty darned good, and the f/1.7 lens is no slouch, however it is being held back by poorly designed software from Moto/Lenovo.
Before I got into the solutions, let me specifically point out the problems I found with the camera so we're on the same page (click to reveal content, or just skip the fixes below):
1) Overzealous Sharpening and aggressive Noise Reduction are the biggest culprits. It almost looks like a bad filter is being applied to your images, turning fine details into mush and contrasty lines like text into something bizarre and artificial looking. The camera is doing this as part of the internal capture process, so this happens no matter what application it is taken in.
2) Highlights clipping earlier than it should. I'd say this might be a function of the camera's sensor more than the hardware, but analyzing RAW data from the sensor (more on that later) in my admittedly unscientific half-hazard naked eye, I'd go out on a limb and say it seems like we're not being shown all the DR the camera is able to see. To the layman: this means brights turn completely white effectively overexposing parts of the image that should otherwise still look OK.
3) The preview/viewfinder mode is even worse at #1 than the captured image is. That is, the preview mode (the video feed you see before you capture the full resolution image) is still applying the sharpening and NR at the same level as the captured image, however since the resolution is lower for the preview, it looks more exaggerated and ugly. This means two things: A) Its hard to tell what the image you take will look like, as the preview is ugly (and you have to hope the final will look better), and B) some apps use the preview feed as their capture method. For example, snapchat and augmented reality apps like Pokemon Go. It just looks terrible.
The good news is that there is a lot that can be done to improve and fix the camera.
The bad news is that almost all of it requires modifying system files. That means those with locked bootloaders (Amazon ad users or those who are afraid of voiding their warranties) might be out of luck.
You don't necessarily need root access, although some of this can be more easily performed with root. I needed to unlock my bootloader and performed most of this within TWRP, but chose to keep my phone otherwise unrooted. I'm going to split this into sections, fixing and improving.
A) FIXING THE IMAGE PROCESSING ISSUES
If you want to remove/circumvent the aggressive sharpening and NR issues (so that apps like snapchat or other camera applications don't look over-processed, including the stock Moto cam), try the following:
1) Chromatix mod. Shout out to @defcomg for finding and adjusting the values that control sharpening and NR in the system libs. See thread here:
https://forum.xda-developers.com/g5-plus/themes/modcamera-aggressive-sharpening-noise-t3604458
There are two sets of files to replace in your system. Chromatix and LIBMM. NOTE: I don't recommend the LIBMM / binning part. Binning is combining pixels together into an averaged single pixel value, effectively reducing resolution to combat noise on the sensor. In other words, instead of having a large possibly noisy image, you get a smaller less noisy picture. But you can always choose to resize the image in post after you take it with the same resulting effect, so I don't see why this would be desirable to do. I recommend just applying the chromatix mod to remove the sharpening and NR. If you're comfortable using TWRP, there's actually a flashable zip in post #9, which is what I personally did (again, remember I'm not rooted, so I needed to flash/overwrite/etc within TWRP).
After applying this mod, even the stock camera app looks better, and apps that use the live preview (Snapchat, Pokemons AR view, etc) don't have the shadow ghosting from excessive sharpening anymore either. You might want to apply some sharpening and NR in post yourself if the image requires it, but thats always something you can choose but at least you have control over it and even without doing that it looks far better and more natural than stock to me.
2) Enable camera2 API. This doesn't have a direct effect on quality, but will allow other apps to have more direct access to the camera. If you want to improve beyond the results of #1 above, you'll need this.
The stock rom, surprisingly, has Camera2 API included, however it is disabled by the build.prop file. Again, no idea why Moto/Lenovo chose to do this, but the good news is you can enable it again easily. To do this, you need to add the following line to the build.prop
persist.camera.HAL3.enabled=1
Or if rooted, via terminal / shell:
su persist.camera.HAL3.enabled 1
Once this is enabled, you can use apps such as the modified freedcam to shoot RAW, as found here: https://forum.xda-developers.com/g5-plus/how-to/how-to-enable-camera2-shoot-raw-root-t3582392
I found RAW from this app particularly difficult to work with, so I'm keeping it for experimentation purposes but for practical real-world usage, I'd recommend the next item below.
B) IMPROVING YOUR PHOTOS (or, how to install Google Camera!)
Section A was all about how to avoid the crummy filters that get automatically applied to the camera. But your device is capable of even BETTER photos by using Google's magic HDR+ algorithm (the special sauce that makes the Pixel phones so awesome). Here's how to do that:
1) If you haven't already enabled the Camera2 API, you need to do that first (info in section A above).
2) Get a working version of Google Camera with HDR+ for your phone. The last available 32-bit version with HDR+ is Gcam 4.2, so if you're on the stock ROM like I am, you're stuck with only the 32-bit versions (all the new versions with the bells and whistles are 64-bit only). The image quality is remarkably better, both in sharpness and dynamic range in almost any light. I have to admit, I'm in love with the images from this, and have even printed some for my wall.
You can get the APK ported from the Nexus 5x version here:
https://forum.xda-developers.com/showpost.php?p=74081041&postcount=3
UPDATE: New version from Savitar on post #44!
https://forum.xda-developers.com/showpost.php?p=75483974&postcount=44
Problem is, our cameras use a different focus system than phones like the Nexus and Pixel. So, in photo mode, it doesn't really work correctly. Switching over to video mode, however, DOES work (likely using contrast detection focus, which is slower but more universal, especially for video focus). So the workaround is to swipe over to video mode, focus, swipe back to photos and press-and-hold to lock focus. It's annoying, but HDR+ is that good that I still try to work with it much of the time.
For times that it would be frustrating or not necessary, I'll just resort to the stock camera app or Footej camera, since the chromatix mod makes them mostly usable now. Just not ZOMG AMAZING like the Google HDR+ does.
OPTIONAL #3) Install a 64-bit custom Rom and use the latest Google Camera HDR+ app floating around (v4.4). The recent versions B-S-G released based on the Pixel camera has options to change camera modes in settings, some combination of which supposedly focus properly. You will likely get a more stable camera app experience with this as it requires less modification to work, but you'll have to be committed enough to go off stock.
Check out the app and suggested settings to try here:
https://forum.xda-developers.com/showpost.php?p=74999182&postcount=19
Thanks @shanks125 for the info!
Update 1/3/18: I just heard there is a port of the new portrait mode feature from the Pixel2 that is sort of working on 64-bit roms, but I think some modifications will need to be made to avoid focus drift like previous modded gcam versions.
There is also a 32-bit version of the new v4.4 that @Aby lad came up with in this thread:
https://forum.xda-developers.com/android/apps-games/google-camera-4-4-arm-device-t3666090
In order to make it more compatible with other devices, it looks like he has disabled the Hexagon DSP, which I think is what makes HDR+ work, so while we can now change settings and focus, HDR+ isn't working. The app still has some Google goodies like Sphere and Blur mode, but without HDR+ the real benefit of Google camera is lost anyway. Might as well use stock with chromatix mod at that point.
Hope some of you find this helpful/useful!
UPDATE 12/28/17: New GCam with 6P features on post #14.
There actually may be some alternate versions of the gcam apk with benefits the one originally linked above doesn't have. I will try to update when if/when I find them.
Dishe said:
There actually may be some alternate versions of the gcam apk with benefits the one originally linked above doesn't have. I will try to update when if/when I find them.
Click to expand...
Click to collapse
That would be useful!
So if I apply the chromatic mode, do I still have to enable the Camera2 API?
It's my bad. I would like to know if there is a way to disable Camera2 api. I am on Linage 14.1 and I edited my prop.build (yeah, I know). I switched back to the original line of code, but camera app still crashing. How to revert without reflashing the rom? Thanks.
edit. reflashed.
iBART said:
It's my bad. I would like to know if there is a way to disable Camera2 api. I am on Linage 14.1 and I edited my prop.build (yeah, I know). I switched back to the original line of code, but camera app still crashing. How to revert without reflashing the rom? Thanks.
edit. reflashed.
Click to expand...
Click to collapse
Did you try clearing data+cache for the camera app?
iamsonal said:
So if I apply the chromatic mode, do I still have to enable the Camera2 API?
Click to expand...
Click to collapse
Nope, but it doesn't hurt to so why not? Some apps will have more options in camera2 if enabled.
iBART said:
It's my bad. I would like to know if there is a way to disable Camera2 api. I am on Linage 14.1 and I edited my prop.build (yeah, I know). I switched back to the original line of code, but camera app still crashing. How to revert without reflashing the rom? Thanks.
edit. reflashed.
Click to expand...
Click to collapse
There is another way to enable camera2 api if you're using a custom ROM. You need to flash a magisk module.
https://forum.xda-developers.com/showpost.php?p=74081041&postcount=3
Which Google camera works in a complete stock g5? I keep getting a praising error with every one I try.
eemgee said:
Which Google camera works in a complete stock g5? I keep getting a praising error with every one I try.
Click to expand...
Click to collapse
Parsing error means you are probably trying to use a 64-bit or one made for a different version of Android (7.1 instead of 7.0). The one linked above will work.
However, all recent versions of Google's Camera require the camera2 api to work. That's one of the primary reasons to enable the Camera2 api in my opinion. It comes in the stock rom, but it is disabled for some inexplicable reason (G5S model has it enabled, so some people are hoping that we'll get it enabled with an update or at least when Oreo rolls around). The good news is that it only takes one line of text in the build.prop file to enable it on the G5+. However, the bad news is that build.prop is part of the protected system partition, so editing it requires root-level file access. Doesn't seem to be any way to do that without unlocking the bootloader, so either way you won't be able to do it on a 100% stock g5+ as things are right now.
Thanks i managed to get 2.7 working.
I will unlock the bootloader at some point in the next few weeks....
There is also a Magisk module in post #54 on that Chromatix thread. Really helpful!
Hi, so in search for better images from my g5+ camera I stumbled upon this place and rooted my phone to add the chromatix mods and edit the build.prop file .
I downloaded the google camera port v4.2 for the hdr+ but have been unable to install it as I get the error that package may be corrupted.
So could someone please link me to one which is good or upload it.
And BIG thanks to this community.
New gcam from savitar
UPDATE: Better gcam version from Savitar/Defcomg
http://s000.tinyupload.com/?file_id=00826724446841525700
Features:
Burst Mode (hold shutter button)
Focus doesn't drift when switching from video mode (this is a huge fix IMO- old app would drift after setting focus in video mode).
Selfie cam now has HDR as well (with caveats)
RAW image capture with each photo!
Instructions for use are largely the same as the old app, but it works better / more reliably now:
WHEN USING APP FOR THE FIRST TIME, GO INTO SETTINGS AND CHANGE VIDEO TO 4K. This will prevent FCs.
To take a picture:
1) Swipe left to switch to video mode, tap to focus
2) Once focus is achieved, swipe right to return to photo mode. (Focus should not drift in this version)
3) Tap the area again in photo mode, and hit the shutter button.
NOTES:
It appears that you no longer need to press-and-hold to lock focus in photo mode before shooting. I believe this is because the focus system doesn't adjust anymore in photo mode (I'm guessing Savitar/Defcomg removed it to combat that focus drifting problem). It is already locked at wherever you put it in video mode. You DO however need to still tap the screen as if you are focusing. I think this is because the camera needs to think it is focusing, but it is anyway helpful to tap somewhere for metering / exposure reading purposes. Skipping the press-and-hold to lock focus makes it a lot more manageable.
This version of the app is setup to shoot RAW+Jpeg, so you will find your camera roll will have both a jpeg and DNG file of the shot. Be aware that the RAW DNG files are multiple times larger than the jpeg, so you may want to keep an eye on storage if you shoot a lot of them. They're really useful if you want to adjust WB and exposure afterwards, quality is astoundingly good.
Selfie Mode was broken in HDR+ on earlier builds because for some reason the front camera on our phone doesn't return an ISO value to the app (says iso is zero). The HDR+ algorithm would fail. Savitar/defcomg fixed it by setting it always return a value (he picked 100, otherwise it would overexpose in daylight). The catch is that in lower lighting, the selfie HDR+ comes out darker than expected. Thankfully you can take the RAW file and adjust the exposure in post if needed (snapseed, Lightroom mobile, etc). But there might be times it is just too dark to be useful. The difference when it works is big enough that I recommend it trying it at least once to compare.
ENJOY!
Big shout out to @defcomg for this and all his awesome mods!
Landscape gcam 6p
A modified version of the APK above is available which starts the camera off focused at infinity.
http://s000.tinyupload.com/?file_id=31694573387513766779
This was made for people who want to shoot landscapes and/or things far enough away that they don't want to deal with focusing (swipe to video mode, etc). See a beautiful sunset for example, open this app, tap the sky and hit the shutter. Its already focused in the right position.
Otherwise identical to previous post's apk. Can be installed side-by-side, as each app has its own ID.
can't use gcam because it crashes at first run
marcol87 said:
can't use gcam because it crashes at first run
Click to expand...
Click to collapse
Do u have camera2 API enabled?
Dishe said:
UPDATE: Better gcam version from Savitar/Defcomg
Click to expand...
Click to collapse
Thank you for sharing this.
Add this, BSG GCam MOD with working HDR+ and Touch to Focus for 64bit roms. Settings as per attachment! https://androidfilehost.com/?fid=889964283620770378
Dishe said:
Do u have camera2 API enabled?
Click to expand...
Click to collapse
yes, I added persist.camera.HAL3.enabled=1 to build.prop and rebooted
Dishe said:
persist.camera.HAL3.enabled=1or
Click to expand...
Click to collapse
ps: the string persist.camera.HAL3.enabled=1 is wrong in the OP

[Magisk][Polaris] ANXCamera - Mimojis

MIUI10 Camera Port for Custom Pie ROMs (AOSP/LOS) for Xiaomi devices.
This thread specifically designed for Polaris, therefore bug reports, comments and questions must only refer to this device.
Original thread: https://forum.xda-developers.com/poco-f1/themes/port-t3879357
Instructions for Use:
Download according to your preferences (builds from AEonAX or Luffitys) from https://camera.aeonax.com/#predownloads only if they are tagged as "Device: All Devices".
Install the Unity Zip via Magisk if you have it, Install via TWRP only if you don't have Magisk
Keep a note of the release you will be using, for issue discussion etc.
Enjoy
IMPORTANT NOTE
There are currently two DEVs making builds: @AEonAX and Luffitys.
AEonAX - Owns a POCO, Makes builds with Lots of features and Bugs
Luffitys - Owns a MI8, Makes Debloated Version, with Lots of features removed and Less bugs due to feature removal. He is not on XDA
Choose a version as per your liking, try both.
Featureset:
960fps Works
240fps Works. You might need to use GPhotos to visualize, depending on your Gallery app
Photo Works
Square Works
Panorama Works
Manual Mode Works
Portrait Mode
Night Mode
4K EIS
Dynamics Shots
Studio Lighting
MiMoji Mode
AntiFeatureset:
Portrait Mode (works for some)
120fps
AI Mode (works for me/Depending on the scene)
960FPS doesn't record in left Landscape, try right landscape
PE CAF buggy, therefore not supported, Don't contact ROM Dev, Don't contact me too
Donation link to the original developer: https://www.paypal.me/XEonAX
Special Thanks to @CodeElixir for his work with lib modding and fixes shutter button bug
LogCat are required to help, Solutions will also be very much appreciated.
Make sure to join the Telegram Group Chat for this Project for updates and issue resolution. Updates on XDA maybe delayed.
People asking about EIS:
It is only available at 30fps, please don't ask about 1k60fps or 4k60fps, currently it won't be possible.
Regarding bug fixes:
Below you can find bug reports regarding all supported devices, besides our device (polaris):
https://github.com/XEonAX/ANXCamera10/issues
Please do check there before reporting any possible duplicated bug.
Bug resolutions are also very welcomed.
There is an abandoned alpha release for Oreo at https://github.com/XEonAX/ANXMiuiCamera9/tree/master/out
If anyone interested to bring it to working condition please contact @AEonAX
Some extra useful information by AEonAX:
To Learn How to Port MiuiCamera join this https://t.me/ANXCameraLivePort
and watch this porting videos recorded livestream at https://mega.nz/#F!sGx0US5B!hXy30KunCOjmVmZ7kUMW3g
or https://www.youtube.com/playlist?list=PLKwynvsh3Ed3zMZHwJCiaP8n-gHzhXUCA
My involvement was an initial stages of the project to bring the compatibility to Polaris device, but credits go to AEonAX, Luffitys and all involved collaborators that supported this project to evolve and keep updated constantly
XDA:DevDB Information
ANXCamera - Mimojis [12th July 2019], Device Specific App for the Xiaomi Mi Mix 2S
Contributors
mustang_ssc, AEonAX, pi4a7a, Luffitys, abhishek987, amog787, psygarden
Source Code: https://github.com/XEonAX/ANXCamera/tree/cepheus9.6.27
Version Information
Status: Beta
Beta Release Date: 2019-01-25
Created 2019-01-18
Last Updated 2019-08-20
Reserved1
Do you have any sample photos?
In theory, this let us use aosp roms but still enjoy xiaomi images processing ie same quality photos as stock?
Thkans a lot! I've flashed it on Pixel Experience rom and everything went fine. Appart from a few freezes in portrait mode, I had no bugs so far. :good:
Works perfect on lineage-16.0-20190109 with MiPa Kernel [19.01.19] - no freezes here
DessertDevice said:
Do you have any sample photos?
Click to expand...
Click to collapse
A bit late bit here it is (attached)
Shot with night mode.
SWEUP said:
In theory, this let us use aosp roms but still enjoy xiaomi images processing ie same quality photos as stock?
Click to expand...
Click to collapse
Not as easy unfortunately. The camera HAL, which in stock ROMs use to be always better, normally decreases quality on photos for custom ROMs not based on stock.
Also the custom camera blobs used on custom ROMs use to have less quality.
In any case not sure how much this facts still apply since Treble integration.
To summary: i didn't do a comparison between stock and custom ROMs using miuicam but i did with both using gcam, same conditions and parameters, results were the same/very similar.
mustang_ssc said:
A bit late bit here it is (attached)
Shot with night mode.
Not as easy unfortunately. The camera HAL, which in stock ROMs use to be always better, normally decreases quality on photos for custom ROMs not based on stock.
Also the custom camera blobs used on custom ROMs use to have less quality.
In any case not sure how much this facts still apply since Treble integration.
To summary: i didn't do a comparison between stock and custom ROMs using miuicam but i did with both using gcam, same conditions and parameters, results were the same/very similar.
Click to expand...
Click to collapse
Thanks, do you experience that cameras are "snappy"? Are they crashing under some circumstances or are there lots of features that doesn't work?
Crashes when I try to take a picture or video on Pixel Experience GSI Rom.
Does it benefit from using dual camera? Is there 2x optical zoom option using second camera?
Everything work perfect in Pixel Experience. Bye gcam
I used it with LineageOS. It worked fine, but my QR scanner doesn't find the camera as it tries to open the original Snap camera app, which isn't able to connect to the camera anymore.
evolucja said:
Does it benefit from using dual camera? Is there 2x optical zoom option using second camera?
Click to expand...
Click to collapse
Yes. It utilizes both camera's. 2x optical zoom works. And portrait mode also works.
I did have a bit of a bug with the second camera freezing, causing the app to crash when 2x optical or portrait was selected. But that was fixed after a reboot of my phone.
I am running Pixel Experience.
M1chiel said:
I used it with LineageOS. It worked fine, but my QR scanner doesn't find the camera as it tries to open the original Snap camera app, which isn't able to connect to the camera anymore.
Click to expand...
Click to collapse
I got this solved with the help of the developer in the Telegram group. This is how: I opened the file ANXCameraMagisk_5.OldShamefulAnt.zip and deleted the lib folder in /system in the zip on my PC (it didn't work on my phone), reflashed it in Magisk and now the stock camera works again and so does the external QR code reader. Also the Miui Camera kept working after a short glitch when I tried the first time.
M1chiel said:
I got this solved with the help of the developer in the Telegram group. This is how: I opened the file ANXCameraMagisk_5.OldShamefulAnt.zip and deleted the lib folder in /system in the zip on my PC (it didn't work on my phone), reflashed it in Magisk and now the stock camera works again and so does the external QR code reader. Also the Miui Camera kept working after a short glitch when I tried the first time.
Click to expand...
Click to collapse
I found that portrait mode doesn't work anymore after that mod. Did you try that as well?
taw62 said:
I found that portrait mode doesn't work anymore after that mod. Did you try that as well?
Click to expand...
Click to collapse
Same here. So I use Gcam for pics and the miui ported cam for video.
Anyone got it working on a GSI rom?
I can make short videos. And change all settings. But as soon as I try to take a picture, the app crashes to homescreen.
Adding a logcat: Logcat of error on Pixel Experience GSI
Rom in question
Do continuous shootings work? One thing wich is holding me back from switching to AOSP Roms. Every Mod i tried so far can just make a picture for each press of the button but not shoot until i release the button
EnormoDerClown said:
Do continuous shootings work? One thing wich is holding me back from switching to AOSP Roms. Every Mod i tried so far can just make a picture for each press of the button but not shoot until i release the button
Click to expand...
Click to collapse
I just tried and can confirm burst shoot works.
Thanks!
Just switched to AOSP. Anyone else having problems taking photos within WhatsApp? Just took one and WhatsApp is really laggy after that

Face unlock failed / Camera is in use

Hello there,
Recently after updating my OnePlus 7t to open beta 3 I've noticed a strange issue with the cameras. About 2 hours after every reboot camera related features start malfunctioning. I can't use face unlock, because "camera is being used by other apps", I can neither use the stock camera app because I get a toast notification saying "the camera is in use". The main back and front camera seems to be working in every other app like snapchat, gcam (although telephoto and ultrawide don't work on gcam). After reboot everything goes back to normal for some time.
I tried:
- cleaning data of all camera services and the camera app itself and face unlock app
- re-adding my face model
- uninstalling AUX camera magisk fix (which enables telephoto and ultrawide to work in gcam)
Is anyone else having this issue? Iwould love to solve this problem without reverting back to open beta 2, as it lacks some features I like in OB3. Thanks in advance for help!
klmyko said:
Hello there,
Recently after updating my OnePlus 7t to open beta 3 I've noticed a strange issue with the cameras. About 2 hours after every reboot camera related features start malfunctioning. I can't use face unlock, because "camera is being used by other apps", I can neither use the stock camera app because I get a toast notification saying "the camera is in use". The main back and front camera seems to be working in every other app like snapchat, gcam (although telephoto and ultrawide don't work on gcam). After reboot everything goes back to normal for some time.
I tried:
- cleaning data of all camera services and the camera app itself and face unlock app
- re-adding my face model
- uninstalling AUX camera magisk fix (which enables telephoto and ultrawide to work in gcam)
Is anyone else having this issue? Iwould love to solve this problem without reverting back to open beta 2, as it lacks some features I like in OB3. Thanks in advance for help!
Click to expand...
Click to collapse
I am facing the same issue with the latest beta update? Got any fix for this?
Are you sure you dont have some app spying on you. Probably using the camera thats why its being reported in use
It's caused by GCam. Not sure about stock OOS cam.
v.konvict said:
Are you sure you dont have some app spying on you. Probably using the camera thats why its being reported in use
Click to expand...
Click to collapse
I doubt it, as the issue is only in stock Oxygen OS apps (camera, face unlock). My theory is that they use some camera service made by Oneplus which has broke in my phone. Other apps, such as Snapchat or Gcam do not utilise such service, and the main cameras work just fine in those apps (telephoto and ultrawide don't work, because they propably must be accesed via this service). But it's just my theory

Categories

Resources