[MOD]Add Face Unlock to any ANDROID

Search This thread

smart123123

Senior Member
Feb 27, 2016
307
38
ADD FACE UNLOCK TO ANY ANDROID

NOTE:- I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR DEVICE

So finally i have discovered a way to add face unlock to any android by using the Google Smart Lock feature...:D
This feature is available in most of the android devices:good:...

There are two methods of doing THIS
1. Using ROOT2. Without root(using adb)

LETS START

1. USING ROOT

-download gapps compatible with your android(gapps must be nano or above)

-install ''RAR'' to your phone

-extract gapps.zip to your phone[make a separate folder(optional)]

-open the extracted files and open GApps folder

-here you will find 4 files (1.facedetect-lib-arm.tar.lz, 2.faceunlock-all.tar.lz, 3.faceunlock-common.tar.lz, 4.faceunlock-lib-arm.tar.lz)

-open facedetect-lib-armcommonlib and copy libfilterpack_facedetect.so to systemlib and set the permissions

-similarlly copy all the files and if required create new folder with the permissions and paste the files from all the 4 files

-EX:- copy Face Lock folder to system/app and set permissions

-reboot your device

-open settings>security>smart lock... here you will find Trusted Face option

-ADD YOUR FACE ND ENJOY....!!!

NOTE:- Permissions details will be in second post...

2. Without root(using adb)

I will be updating the fourm later with full adb method details...
BUT, if you want to give it a try... then learn some adb commands for pushing files to system folder and setting up the commands...
Your would have to one by push the files and the folders and set the specific permissions...

***In the screenshot section, the first screenshot is of setting permissions for file and the second one is for setting permissions for folder***


NOTE:- I used es file explorer for doing this modification.


NOTE:- I tried this on a700fd on stock touchwiz android 6 rom... and it worked perfectly:laugh::D:cowboy:

***If this helped you, please Press THANKS***
***For any query, REPLY***




XDA:DevDB Information
FACE UNLOCK, Tool/Utility for all devices (see above for details)

Contributors
smart123123

Version Information
Status: Testing

Created 2018-10-23
Last Updated 2018-10-23
 

Attachments

  • b.png
    b.png
    150 KB · Views: 2,919
  • a.png
    a.png
    123.9 KB · Views: 2,933

D2U2

Member
May 12, 2015
12
1
Santiago
Hi, i need install trusted face using adb method in my j701m with android 8.1.0.. you can help me? Thanks
 

Inotalas

New member
Apr 7, 2011
1
0
I have tried root method and is not working for me. I'm on Havoc OS Android AOSP 9.0 on a Xiaomi Mi Max 2 device.

Your guide isn't clear at all but I think that I made all the steps. When I reboot the phone, folder with files added in system/app are missing and of course the face unlock option at Smart Lock menu is not present. Seems that Android erase the files by itself, don't know why.

Thanks anyway.
 

smart123123

Senior Member
Feb 27, 2016
307
38
I have tried root method and is not working for me. I'm on Havoc OS Android AOSP 9.0 on a Xiaomi Mi Max 2 device.

Your guide isn't clear at all but I think that I made all the steps. When I reboot the phone, folder with files added in system/app are missing and of course the face unlock option at Smart Lock menu is not present. Seems that Android erase the files by itself, don't know why.

Thanks anyway.
Have u rooted ur phn with magisk??
 

Tenhow.XDA

Member
Jan 4, 2021
12
0
pixel experience (android Q) has this face lock feature, so I guess maybe we could extract from it
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    ADD FACE UNLOCK TO ANY ANDROID

    NOTE:- I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR DEVICE

    So finally i have discovered a way to add face unlock to any android by using the Google Smart Lock feature...:D
    This feature is available in most of the android devices:good:...

    There are two methods of doing THIS
    1. Using ROOT2. Without root(using adb)

    LETS START

    1. USING ROOT

    -download gapps compatible with your android(gapps must be nano or above)

    -install ''RAR'' to your phone

    -extract gapps.zip to your phone[make a separate folder(optional)]

    -open the extracted files and open GApps folder

    -here you will find 4 files (1.facedetect-lib-arm.tar.lz, 2.faceunlock-all.tar.lz, 3.faceunlock-common.tar.lz, 4.faceunlock-lib-arm.tar.lz)

    -open facedetect-lib-armcommonlib and copy libfilterpack_facedetect.so to systemlib and set the permissions

    -similarlly copy all the files and if required create new folder with the permissions and paste the files from all the 4 files

    -EX:- copy Face Lock folder to system/app and set permissions

    -reboot your device

    -open settings>security>smart lock... here you will find Trusted Face option

    -ADD YOUR FACE ND ENJOY....!!!

    NOTE:- Permissions details will be in second post...

    2. Without root(using adb)

    I will be updating the fourm later with full adb method details...
    BUT, if you want to give it a try... then learn some adb commands for pushing files to system folder and setting up the commands...
    Your would have to one by push the files and the folders and set the specific permissions...

    ***In the screenshot section, the first screenshot is of setting permissions for file and the second one is for setting permissions for folder***


    NOTE:- I used es file explorer for doing this modification.


    NOTE:- I tried this on a700fd on stock touchwiz android 6 rom... and it worked perfectly:laugh::D:cowboy:

    ***If this helped you, please Press THANKS***
    ***For any query, REPLY***




    XDA:DevDB Information
    FACE UNLOCK, Tool/Utility for all devices (see above for details)

    Contributors
    smart123123

    Version Information
    Status: Testing

    Created 2018-10-23
    Last Updated 2018-10-23
    1

    Yes... Post any type is difficulty you aaya facing... I'll surely reply...
    1
    Will this work in android 10