[PORT]Face Unlock for Mate 9 (OREO EMUI8 ONLY)

L

LastStandingDroid

Guest
edit my bad you did have the line needed

Could you do

getprop | grep ttpic

And see if you get any output?

Sent from my EML-AL00 using Tapatalk
 
Last edited:
L

LastStandingDroid

Guest
In adb shell su? The command is like that? getprop | grep ttpic? It is not running....! If u can explain it better I can do it....
Oh yea
su
getprop | grep ttpic

And hopefully it'll return anything

Sent from my EML-AL00 using Tapatalk
 
L

LastStandingDroid

Guest
bash-4.3$ su
HWMHA:/storage/emulated/0 # getprop | grep ttpic
[ro.camera.ttpic_bg_enable]: [true]
[ro.camera.ttpic_enable]: [1]
HWMHA:/storage/emulated/0 #
I see then it's not that issue. Then I am not sure what could be the issue [emoji848] as it shouldn't be any issue with module.

Sent from my EML-AL00 using Tapatalk
 

shae23

Senior Member
Jun 27, 2015
89
12
8
I see then it's not that issue. Then I am not sure what could be the issue [emoji848] as it shouldn't be any issue with module.

Sent from my EML-AL00 using Tapatalk

So I wanna try manually adding the respective files and lines to their respective folders and props. So could you tell me where everything goes?
 
L

LastStandingDroid

Guest
So I wanna try manually adding the respective files and lines to their respective folders and props. So could you tell me where everything goes?
It's exactly the same place except the ro.
goes into product/etc/prop/local.prop

U might even have that line but it's just # commented out

Sent from my EML-AL00 using Tapatalk
 

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
bash-4.3$ su
HWMHA:/storage/emulated/0 # getprop | grep ttpic
[ro.camera.ttpic_bg_enable]: [true]
[ro.camera.ttpic_enable]: [1]
HWMHA:/storage/emulated/0 #
So I wanna try manually adding the respective files and lines to their respective folders and props. So could you tell me where everything goes?
It's the HwCamera2.apk itself that does it.
I just flashed B364 and it doesn't work. Took /product/app/HwCamera2/HwCamera2.apk from B365 and placed in the same folder on B364 and it now works!
 

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
So I wanna try manually adding the respective files and lines to their respective folders and props. So could you tell me where everything goes?
bash-4.3$ su
HWMHA:/storage/emulated/0 # getprop | grep ttpic
[ro.camera.ttpic_bg_enable]: [true]
[ro.camera.ttpic_enable]: [1]
HWMHA:/storage/emulated/0 #
Try this one:
https://mega.nz/#!lexEVLyS!MuXS2cBgeuRnxZeoTkXmcDg7LhVsb-DGg8RRPZPLI7c

This is for Mate 9 Oreo only! As it uses camera from /product, most other devices seem to have camera in /system. (We do too but that camera apk is not used for anything)

Could you upload the HwCamera2.apk
see this post xD


Edit: a little side-note, AR mode is very girly. xD
 
Last edited:

shae23

Senior Member
Jun 27, 2015
89
12
8

Addymore

Senior Member
Aug 26, 2011
485
109
73
Kigali

xkeyblackx

Senior Member
Apr 20, 2011
127
7
0
Lustenau
Hi
I cant get face unlock work correctly
I have all settings in settings
but on lockscreen
I dont have the option to unlock with face

any solution?
 
Last edited: