MisterZtr / PixelOS_gsi

Script and patches for building PHH-Treble based PixelOS GSI
90 stars 11 forks source link

Software-based face unlock #19

Closed IverCoder closed 6 months ago

IverCoder commented 7 months ago

I'm not really sure if this would work since I'm new to Android development and I don't have a computer powerful enough to rebuild the ROM and test it myself.

However, it seems like PixelOS' current face unlocking mechanism relies on IR hardware which unfortunately means that face unlocking will not work on phones where the IR sensor does not work on GSIs or the face recognition is purely software-based. This patch comes from Ponces' AOSP builds to try and enable software-based face recognition.

It seems like there should be a manifest and this line should be added to it:

<project name="ponces/packages_apps_ParanoidSense" path="packages/apps/ParanoidSense" remote="github" revision="uvite" />

But I have no idea where the manifest should be placed or how to modify any relevant makefiles to point to that manifest.

MisterZtr commented 7 months ago

I'll check it out when the PixelOS source merge with Android 14 qpr1 is ready

MisterZtr commented 6 months ago

Software-based face unlock is now present in PixelOS source code