[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: SuperSU-v2.82-SR5, Link & Attribution - Face Unlock

I don't doubt your good intentions but I think it's wrong to just attach a dev's work to a post without attribution. In fact it's better to just link to the post or the thread where you got it from because:

You can Thanks :good: the dev's post or thread for his work & show your appreciation.

The dev can see how many times his work was downloaded.

Maybe there are some updates.

The dev maybe included a changelog, some installation instructions & tips.

The dev may list compatible devices or exceptions.

The original thread may be searched or read for more details, reports & troubleshooting tips by other users.

You can post questions or reports in the thread.

Probably other good reasons that I am not thinking of @ the present.

The original thread where this {SR5-SuperSU-v2.82-SR5-20171001224502.zip attachment} came from is [BETA][2017.10.01] SuperSU v2.82 SR5 By Chainfire.

Edit: While you can remove SuperSU using the SuperSU app it installs there is also this flashable script found in that thread which includes some important notes: unSU Script zip -- Unroot with ease! by [MENTION=4544860]osm0sis[/MENTION].

Linking to the original thread would have maybe avoided this post:

As the thread shows it's by Chainfire himself so this is correct (Thanks :good:):

BTW I saw many "shady company" comments but have yet to see any proof of that.

Of note all download links except for the app on Play Store are broken @ the present on this official SuperSU Download page and the app if it works probably downloads the official version & not Chainfire's SR5 beta: https://play.google.com/store/apps/details?id=eu.chainfire.supersu

Did you try one of the suhide https://xdaforums.com/apps/supersu and does it pass the SafetyNet Test like it does on my S5 SM-G900M (klteub) running haggertk's beta unofficial LineageOS 16.0 klte build 2018-11-21 @ the present + Open GApps Pico 9.0 + Magisk v17.3 (you must manually install Magisk Manager .apk from that page) and TWRP 3.2.3-0 without doing any tweaking?

***

Trusted Face & Face Unlock

First I think that Face Unlock is a battery eater & I don't use it for that reason.

You did not describe your setup, mentioned the build date & if you installed any Open GApps or not. :eek:

Looking at the Open GApps Package Comparison page you need to install the Nano or larger packages to get the Face Detect Library (FaceDetect) and Trusted Face (FaceUnlock).

If you already have Pico installed you can just dirty flash Nano or larger.

If you don't have any Open GApps installed, you need to dirty flash both current firmware + Open GApps one after the other without rebooting in between so the system includes the proper hooks & other stuff then reboot to System.

For Face Unlock to work you need to first enable a Screen lock then check the settings in Smart Lock and/or Face Unlock.

I did that on a S3 14.1 official LineageOS for testing but not on the current haggertk's beta unofficial LineageOS 16.0 klte build 2018-11-21 so please report back if it works or not. :cool:

Personally I prefer the smaller Open GApps Pico.

***

Edit: [MENTION=798672]ahmedara[/MENTION] - I downloaded the huge Open GApps Stock variant (for testing stuff that will be posted later) but installed only a few apps using gapps-config.txt (attached, right-click save as) and the "include" method as described in the Advanced Features and Options Open GApps wiki. You just copy that file to the same folder as the flashable Open GApps...zip to control what it will do.

I installed all the apps included in Pico plus the following. All apps preceded by a # or not listed even if they are in the Stock package will not be installed:

include

# Pico+

CalSync # Install Google Calendar Sync (if Google Calendar is being installed)

DialerFramework # Install Dialer Framework (Android 6.0+)

GoogleTTS # Install Google Text-to-Speech Engine

PackageInstallerGoogle # Install Package Installer (Android 6.0 only & Android 8.0+)

# Nano+

BatteryUsage # Install Device Health Services (Android 7.1+) <<< Not sure it works, more in a later post.

FaceDetect # Install Face Detect Library

FaceUnlock # Install Trusted Face

#Markup # Install Markup (ARM64 + Android 9.0+)

#Search # Install Google App (excluding excludes #GoogleNow/PixelLauncher)

#Speech # Install Offline Speech Files

#Wellbeing # Install Digital Wellbeing (Android 9.0+)

As seen in the attachments in the Smart Lock panel Trusted face was added which I did not have with Pico. It's important after capturing your face once to add a few more with different lighting & distances to make it better.

The second screenshots shows the face icon on the lock screen & the lock unlocked after it recognize you after a second +/-. Then you need to swipe to get to the desktop.

That's slow because using a fingerprint instead it's faster to unlock & goes directly to the desktop without the need to swipe.

***