AOSP lockscreen on hikey960

Not even sure if this is hikey related or if it is a AOSP thing.

When building and AOSP I can only choose SWIPE or None as lockscreen not pattern or password is this something which is configured in any of the hikey / Android.mk files?

Other lockscreen options that you may be familiar with are elements of google’s proprietary blobs that are added to most production devices. As a consequence, they will not be included in pure AOSP builds.

I don’t know what the quality of this resource is, but it may be a helpful starting point for you to build your own custom lockscreen to implement the features you require: https://progur.com/2017/12/create-custom-lock-screen-android.html

1 Like

I have been digging deeper into this and it looks like code for PIN and PATTERN is included in AOSP source but it depends on keyguard - which should store keys in trustzone