Face Unlock for Mate 9 Oreo
(Honor 8 Pro EMUI8 is confirmed too)
Download and flash in TWRP: https://mega.nz/#!FfxihZqD!vjF2rz0elfiay_ZYeQWwLfVG9lNI7FYAyi2vaohaiEs
Magisk module: https://mega.nz/#!1Xp0DbaC!fJvieuQWjbAauylqCvngHoM3wLPChTTCgPdO0yy0UC8
If anyone good at making modules looks at it, please find a proper way of doing it. Right now I only symlink files to /product and /odm. The symlinks in /odm stays after uninstall. Best would be to actually auto mount (like /system and /vendor is) it but I think magisk needs to be edited for that (?)
Also, check if you have /odm available in your TWRP version, else install this one:
TWRP 3.2.1: https://mega.nz/#!AP5DRA4Q!i02i8cCi_UWoF2XZl5gjLb5ESpeilpR_OD0MHSh6Ezg
To "enrol" (lol) face after installing, go to Settings -> Security & Privacy -> Face unlock
Face unlock is actually available already in Mate 9 from the start, it just needs to be enabled.
And a few files are missing which I took from Honor V10 firmware.
If you want to revert, just check the zip for what files to remove and remove
ro.config.face_detect=1
ro.config.face_recognition=true
from /product/etc/prop/local.prop
Thanks to @LastStandingDroid for testing and pointing out where prop was located.
Update 2: as a "side-effect", face recognition enables the Smart Rotate option in Settings -> Display (at the bottom). Thanks to @LastStandingDroid for pointing this out
Update: I've tested it on C432B363 now, and it doesn't work.
It's supposed to say "Settings -> Security & Privacy -> Face unlock" . But in this firmware it says "Face recognition".
I'm not sure what changed, maybe Settings.apk.
It definetly works on B365 but safetynet is not passing on this one yet.
(Honor 8 Pro EMUI8 is confirmed too)
Download and flash in TWRP: https://mega.nz/#!FfxihZqD!vjF2rz0elfiay_ZYeQWwLfVG9lNI7FYAyi2vaohaiEs
Magisk module: https://mega.nz/#!1Xp0DbaC!fJvieuQWjbAauylqCvngHoM3wLPChTTCgPdO0yy0UC8
If anyone good at making modules looks at it, please find a proper way of doing it. Right now I only symlink files to /product and /odm. The symlinks in /odm stays after uninstall. Best would be to actually auto mount (like /system and /vendor is) it but I think magisk needs to be edited for that (?)
Also, check if you have /odm available in your TWRP version, else install this one:
TWRP 3.2.1: https://mega.nz/#!AP5DRA4Q!i02i8cCi_UWoF2XZl5gjLb5ESpeilpR_OD0MHSh6Ezg
To "enrol" (lol) face after installing, go to Settings -> Security & Privacy -> Face unlock
Face unlock is actually available already in Mate 9 from the start, it just needs to be enabled.
And a few files are missing which I took from Honor V10 firmware.
If you want to revert, just check the zip for what files to remove and remove
ro.config.face_detect=1
ro.config.face_recognition=true
from /product/etc/prop/local.prop
Thanks to @LastStandingDroid for testing and pointing out where prop was located.
Update 2: as a "side-effect", face recognition enables the Smart Rotate option in Settings -> Display (at the bottom). Thanks to @LastStandingDroid for pointing this out
Update: I've tested it on C432B363 now, and it doesn't work.
It's supposed to say "Settings -> Security & Privacy -> Face unlock" . But in this firmware it says "Face recognition".
I'm not sure what changed, maybe Settings.apk.
It definetly works on B365 but safetynet is not passing on this one yet.
Last edited: