Camera2Api broke Face Unlock - Xiaomi Mi 8 Lite Questions & Answers

Hi!
I just unlocked my bootloader and enabled camera2api in build.prop, but now face unlock wont work.
Also, any gcam build i try, the front facing camera isn't working, only in miui camera it works.
BTW, night sight wont work in any build i tried.
Any idea what it could be?

Hi laurorua,
I have MI 8 Lite, How did you enable camera2api please guide me to the way?

https://telegra.ph/How-to-install-GCAM---Mi-8-Lite-01-06

https://forum.xda-developers.com/mi-8-Lite/themes/mod-cam-raw-fix-gcam-t3879623

laurorual said:
Hi!
I just unlocked my bootloader and enabled camera2api in build.prop, but now face unlock wont work.
Also, any gcam build i try, the front facing camera isn't working, only in miui camera it works.
BTW, night sight wont work in any build i tried.
Any idea what it could be?
Click to expand...
Click to collapse
How you got Face unlock? I'm in region Croatia and its not available....

Mekret said:
https://telegra.ph/How-to-install-GCAM---Mi-8-Lite-01-06
Click to expand...
Click to collapse
Thanks for the tutorial! But my main problem is the face unlock, will this fix face unlock?
Danchibald said:
How you got Face unlock? I'm in region Croatia and its not available....
Click to expand...
Click to collapse
I had to change region to Hong Kong, then the option was available

My face unlock works fine.

laurorual said:
Thanks for the tutorial! But my main problem is the face unlock, will this fix face unlock?
I had to change region to Hong Kong, then the option was available
Click to expand...
Click to collapse
Yes, put the frontal correction to the gcam that the frontal will work in all the rest also (except the native camera frontal) the face id will go back to work (excuse my bad English, us google translator)

Related

Fix Goodix scanner for any custom firmware.

Use.
Installation using TWRP
Thank you say the creator, I have only a little to fix it.
alex9yust
https://forum.xda-developers.com/member.php?u=4206648
Anyone tested and can confirm it works?
Doman said:
Anyone tested and can confirm it works?
Click to expand...
Click to collapse
It works, tested in rr [2017/01/18], and blissmallow[land][19.01.2017].
Doman said:
Anyone tested and can confirm it works?
Click to expand...
Click to collapse
it's work for L.os but i don't change by finger printer guesue
**** YEAH!!!!
Working super fine, thx thx thx
Tested on RR hridayhs and BlissPop
Perfectly working on lineage os by zwliew ?
Just flash it with twrp?
forever4fter said:
Just flash it with twrp?
Click to expand...
Click to collapse
Yes.
Thanks for sharing. Can I share it to Chinese MIUI forum with original post link and credits?
Yappuccino said:
Thanks for sharing. Can I share it to Chinese MIUI forum with original post link and credits?
Click to expand...
Click to collapse
No problems.
works on cm, with unofficial source also. nice work.
DENWER9008 said:
Yes.
Click to expand...
Click to collapse
Thanks a lot!
how to know of my redmi 3s prime supports goodix fingerprint?
Subhampaul12 said:
how to know of my redmi 3s prime supports goodix fingerprint?
Click to expand...
Click to collapse
If the fingerprint doesn't work and there is no option in Settings to configure it then it is Goodix If so apply the fix via TWRP.
I could finally move from MIUI Much appreciate. Works perfectly on ResurrectionRemix-M-v5.7.4-20170118-land.
DENWER9008 said:
Use.
Installation using TWRP
Thank you say the creator, I have only a little to fix it.
alex9yust
https://forum.xda-developers.com/member.php?u=4206648
Click to expand...
Click to collapse
It's not working for me - flashed the fix directly after installing cm13. Got the option to register fingerprint but right before I can scan my finger it stops the process with: (roughly translated from german) "Registration not completed. Error on fingerprint registration, try again or try another finger". This is without touching the sensor at all.
Any ideas?
It worked for me. I installed it along with the latest RR build and worked normally. I have 2 fingers registered.
Sorry my bad english
I had a quick look at the zip and it essentially "patches" the system to deal with Goodix. You will need kernel support as well though, and that's likely the cause why it's not working for everyone
Work for me.
Well done, great job for this.. i flashed in lineageos and worked.. i just need a more battery life with other rom.
Thanks a lot dude..
How exactly should FP sensor work? It works for unlocking fine, but on my device it also works a little bit like a trackpad. When I touch it (on main screen), it select an app, when I touch it again, it launches that app. In app, it execute various functions ("new post" in email, it select an option in menu, switches radio button, ...). Is it correct, or is it a bug? Is this really intended feature, which I just didn't understand? Because it's annoying more then others . Thx for answer in advance.
edit: So, that was it. Flashed fix and no more odd behaving. But it doesn't work at all. Neither for unlocking. "Registration was not complete..."
Trust me, it works :fingers-crossed:

[Mi 8]Google Camera Mod(STABLE)

Under the great efforts of developers like B-S-G, Arnova8G2, cstark27, xtrme and so on, our device xiaomi mi8 is able to acquire excellent pictures as what pixel 3 & 3XL can do. Let me make some conclusions on this thread.
The most flawless versions are from B-S-G, which are named like "MGC_6.1.021_MI8_V2b.apk", many developers use B-S-G versions as a base and add more features or compabilities. B-S-G versions can accessed in a telegram channel.
GC(Mi8) by B-S-G
Here you can find port GCam specially for Xiaomi Mi 8.
https://t.me/gcammi8mi
Download telegram and join the channel above, you can find latest version and instructions.
The other versions are not intended to work on mi8, but you can also try it by yourself. In my experience, some of them DO NOT WORK on MIUI roms.
You can download them by the link: [url]https://www.celsoazevedo.com/files/android/google-camera/[/URL]
For the fresh users of google camera, here are some settings recommended by B-S-G. They are just an basic instructions, if you have higher demands it is better to change the settings by yourself.
OP6 don't use the same IMX363 Exmor RS lens. So tweaks are probably needed for sure.
Anyone developing this? Or has any developer got any hand on mi8 yet?
pntba said:
Anyone developing this? Or has any developer got any hand on mi8 yet?
Click to expand...
Click to collapse
I'm sorry to tell you that recently I've been following developers' work in oneplus 6. Here's the link: https://forum.xda-developers.com/oneplus-6/themes/oneplus-6-google-camera-port-t3797544/page39 . And I didn't receive any new about mi 8.
I got my Mi 8 Global version from Hong Kong and unlocking my bootloader. I have to wait 15 days to complete the bootloader unlock. I will try to install latest Arnova Gcam when it is ready.
Ryan_OY said:
As far as i know, xiaomi mi 8 has tha same hardware as xiaomi mix 2s.
https://forum.xda-developers.com/xiaomi-mi-mix-2s/themes/google-camera-mod-t3792143
But mix 2s users reported lots of bugs, they are using the mod modified for OnePlus6, which used sdm845 as CPU.
https://www.celsoazevedo.com/files/android/google-camera/
I tried many versions, the only one available is OP6v0.1_MGC_5.1.018_FINAL_3.4A.apk, but severe bug still occured.
The black level of hdr+ image look like purple, i can't change tint using Manual fixed black level offset.
Hoping developers can fix that for us, thanks a lot.
Click to expand...
Click to collapse
What method did you use to enable the camera2api ?
moarfish said:
I got my Mi 8 Global version from Hong Kong and unlocking my bootloader. I have to wait 15 days to complete the bootloader unlock. I will try to install latest Arnova Gcam when it is ready.
Click to expand...
Click to collapse
are you sure global version?
The Mi8 is available in Honkong and it has global ROM!
https://www.mi.com/hk/mi8/
unfortunately there is no download available yet
Suryadixl92 said:
are you sure global version?
Click to expand...
Click to collapse
Yes, sure. I live in Hong Kong.
moarfish said:
Yes, sure. I live in Hong Kong.
Click to expand...
Click to collapse
can u upload the global rom?
Suryadixl92 said:
can u upload the global rom?
Click to expand...
Click to collapse
I don't know how to do it. Extract it from my phone?
I think I need to have my bootloader unlocked to do so?
moarfish said:
I don't know how to do it. Extract it from my phone?
I think I need to have my bootloader unlocked to do so?
Click to expand...
Click to collapse
after unlocking ubl, you just have to install twrp, and backup from there....
moarfish said:
What method did you use to enable the camera2api ?
Click to expand...
Click to collapse
My Mi 8 is the Mainland China version, so I borrowed my friend's account to unlock the bootloader without waiting for 15 days. I can do that because his MIUI account has been used for one year longer, there is not such limit. Then I can edit my build.prop file to enable the camera2 API.
Suryadixl92 said:
after unlocking ubl, you just have to install twrp, and backup from there....
Click to expand...
Click to collapse
Ok, so I have wait 15 days after I can extract the ROM. I need to wait for permission to unlock bootloader.
moarfish said:
Ok, so I have wait 15 days after I can extract the ROM. I need to wait for permission to unlock bootloader.
Click to expand...
Click to collapse
thanks.... i'll wait....
@moarfish What's your current version?
g104 said:
@moarfish What's your current version?
Click to expand...
Click to collapse
MIUI 9.5.9 Stable
moarfish said:
MIUI 9.5.9 Stable
Click to expand...
Click to collapse
how you know its global? i got my mi8 today and it has 9.5.11 stable.. and that was china version
Vihru said:
how you know its global? i got my mi8 today and it has 9.5.11 stable.. and that was china version
Click to expand...
Click to collapse
Yeah, global isn't released.
So far I've tested with several versions built by Arnova6G2 in OP6 forum. Thought it were not meant to be running in Mi 8. I found it that the OP6 versions provided best compatibility.
OP6v0.7.1test_GoogleCamera-Pixel2Mod-Arnova8G2-V8
This version is the best choice for now.
Present bugs: washed out color, incorrect color in some light condition, view finder lags after stayed on view finder for a while, portrait not work.
Here's some photos captured by this version
GCam_5.3.015-Pixel3Mod-Arnova8G2-v4Beta2
This latest version crashes in Mi8.
It says: this camera device encountered a fatal error.

not installing Google camera

I can't use Google camera on oppo realme
It is installing but not running
For running Gcam, the camera2api must be enabled. To do that, you need a rooted device. To root your device, you have to have your bootloader unlocked.
Right now, there's no support from Oppo/Realme regarding unlocking of bootloader.
cptain3105 said:
I can't use Google camera on oppo realme
It is installing but not running
Click to expand...
Click to collapse
You have to root
Or
Install Older Variant of Google camera
Biswarup801bk17 said:
You have to root
Or
Install Older Variant of Google camera
Click to expand...
Click to collapse
I'm using Google camera in my Realme 1. It works very well.
kalyanabcd said:
I'm using Google camera in my Realme 1. It works very well.
Click to expand...
Click to collapse
Can you post the link here.
yupp working for me too here is the link
https://google-camera.en.uptodown.com/android

Gcam mod

I have a Mi 8 Lite global version for a month and since i recived it im loking for the mod of Google camera to this divice, but i didnt find it yet.
Does someone know where i can find it??
Here are what i use: https://yadi.sk/d/K97naZ2Zg5xwUw
Gcam, magisk modules (enabe c2api, and front camea fix), and my config.
kennethstarr said:
Here are what i use: https://yadi.sk/d/K97naZ2Zg5xwUw
Gcam, magisk modules (enabe c2api, and front camea fix), and my config.
Click to expand...
Click to collapse
How to fix frontal camera green? Thanks
Sent from my MI 8 Lite using XDA-Developers Legacy app
halleybr said:
How to fix frontal camera green? Thanks
Sent from my MI 8 Lite using XDA-Developers Legacy app
Click to expand...
Click to collapse
Need to import the config file. Here is how to: https://www.celsoazevedo.com/files/android/google-camera/f/settings09/
after installing camera it is crashes.
zmali1 said:
after installing camera it is crashes.
Click to expand...
Click to collapse
c2api is not enabled on your phone.
This two magisk modules are only for MIUI.
If the modules don't work via Magisk maganer, try to flash them via TWRP.
Did face unlock still work?
mada.brm said:
Did face unlock still work?
Click to expand...
Click to collapse
Yes, it works, and the stock camera app as well. I use the latest weekly EU rom.
kennethstarr said:
Here are what i use: https://yadi.sk/d/K97naZ2Zg5xwUw
Gcam, magisk modules (enabe c2api, and front camea fix), and my config.
Click to expand...
Click to collapse
Does this fix the front stock camera or just gcam
ki11aprime said:
Does this fix the front stock camera or just gcam
Click to expand...
Click to collapse
It's just for gcam, but i dont have any problem with the stock camera. Both camera modules are working well with both software.
So camera2 api is not enabled yet even after the Pie update?! There were many posts talking about it...
fattox said:
So camera2 api is not enabled yet even after the Pie update?! There were many posts talking about it...
Click to expand...
Click to collapse
No, not working.. need to editing build.prop
use this app
https://play.google.com/store/apps/details?id=me.okitastudio.camera2apienabler
kennethstarr said:
Yes, it works, and the stock camera app as well. I use the latest weekly EU rom.
Click to expand...
Click to collapse
Hi , i found that eu rom is the best and i want to install it with the gcam ,cause i don't really like the stock camera , i'm pretty new with rooting , twrp or magisk , can i ask you some good guides to install them all ,possibly in english , i searched some but couldn't find a good one.
if i use a custom rom such havoc/ aosp can i use the same gcam like u?
I have try this step and its works perfect.
Enable Camera2API and install GCam by santiagog242 | Xiaomi Mi 8 Lite
https://forum.xda-developers.com/mi-8-Lite/how-to/how-to-enable-camera2api-install-gcam-t3919290/
And this is link gcam arnova new
https://f.celsoazevedo.com/file/gcamera/GCam_6.1.021_Advanced_V1.5.190418.1850.apk
Help me
I've tried several times Fix Front camera and always fail
I've followed the steps in the XDA forum but fail too
Please help the Masters
Power using a Device mi 8 lite
kennethstarr said:
Here are what i use:
Gcam, magisk modules (enabe c2api, and front camea fix), and my config.
Click to expand...
Click to collapse
THANK you so much :laugh::laugh::laugh:

Question 9R china flash Oxygen OS proximity sensors error

I have 1+9R China version , after flash Oxygen DA MSMtool everythings good but proximity sensors is not working
I updated to the latest version 11.2.2.1 and 11.2.3.3 but it's not fixed
I have the same issue
But I don’t know if it was originally good, because I flashed the phone as soon as I got the phone
samlee1008 said:
I have the same issue
But I don’t know if it was originally good, because I flashed the phone as soon as I got the phone
Click to expand...
Click to collapse
Proximity sensor on coloros working fine
empty.cad said:
I have 1+9R China version , after flash Oxygen DA MSMtool everythings good but proximity sensors is not working
I updated to the latest version 11.2.2.1 and 11.2.3.3 but it's not fixed
Click to expand...
Click to collapse
You need to go to the Engineering menu *#808#, find Device debugging, proximity sensor test. And in the second point, you can calibrate the sensor.
Barmenchik said:
You need to go to the Engineering menu *#808#, find Device debugging, proximity sensor test. And in the second point, you can calibrate the sensor.
Click to expand...
Click to collapse
Thanks it worked like a charm.
empty.cad said:
I have 1+9R China version , after flash Oxygen DA MSMtool everythings good but proximity sensors is not working
I updated to the latest version 11.2.2.1 and 11.2.3.3 but it's not fixed
Click to expand...
Click to collapse
Barmenchik said:
You need to go to the Engineering menu *#808#, find Device debugging, proximity sensor test. And in the second point, you can calibrate the sensor.
Click to expand...
Click to collapse
kolpomanob said:
Thanks it worked like a charm.
Click to expand...
Click to collapse
@empty.cad Did that solution work for you too ?
Anyone have other problems beside the Proximity sensor ? I am super close to buyingthe 9R for use in USA and there is no way I would use ColorOS.
noxlord said:
@empty.cad Did that solution work for you too ?
Anyone have other problems beside the Proximity sensor ? I am super close to buyingthe 9R for use in USA and there is no way I would use ColorOS.
Click to expand...
Click to collapse
Mine was flashed by seller whith OxigenOS, and except for this problem with proximity sensor solved with a recalibration, no other problem at all.

Categories

Resources