[Galaxy S 5 Android Development (Snapdragon)] K4P1:
I wanted to share my experience on how to update Good Lock to latest version. It might also work as replacing current 'non-Good Lock' system to 'Good Lock enabled' system but the PROBLEM with fingerprint scan unlock screen STILL REMAINS.

EDIT ADDED: This is done to prevent SystemUI rollback because after plain SystemUI installing the file at SystemUI folder will remain same and it might cause problems for example after wiping cache

I am not sure if this works "downgrading" Good Lock back to "normal system" - You can try but you can't blame me for any problems.

DO THIS AT YOUR OWN RISK. THIS CAN BRICK YOUR DEVICE.

You need rooted device, TWRP recovery (I prefer twrp-3.0.0-0-klte) AND filemanager that supports root rights for mounting system partition as R/W.

Steps for installing newest version of SystemUI (with Good Lock)

Steps 1 to 6 are executed while phone running normally by browser or filemanager.

1) Download Good Lock app (actually .apk) (size is 19.78 MB - 20,743,737 bytes) from

http://www.apkmirror.com/apk/samsun...lease/good-lock-24-0-15-android-apk-download/ (look for the latest version - currently it is 24.0.15)

Downloaded file name is com.android.systemui_24.0.15-240015_minAPI23_maxAPI23(nodpi)_apkmirror.com.apk - at least for now

2) After downloading rename the file to for example SystemUI.apknew (just for making file name shorter and easier to rename it in recovery). NOTE: DO NOT rename it to SystemUI.apk because later you need to copy renamed file and then it would overwrite already existing file.

3) Copy downloaded and now renamed file (SystemUI.apknew) to /system/priv-app/SystemUI/ (DO NOT move, because you need original, downloaded file later). In this step you need to remount system as R/W to be enable to copy file to system partition. Remember to mount system as R/O after copying.

EDIT ADDED:

3.5) Change files permissions to 0644

4) Now you should have both SystemUI.apk (older version) and SystemUI.apknew (newer version, downloaded in step 1 and renamed in step 2) in /system/priv-app/SystemUI/ AND you also should also have downloaded and renamed file /storage/emulated/0/Download/SystemUI.apknew (location may vary depending your configuration). Both SystemUI.apknew files are identical. First file is used while in recovery, second is used for installing SystemUI.

All things you have done so far have not changed system in any way - if you reboot, no changes are made to system.

Now it is time to update SystemUI

5) First rename downloaded (originally downloaded in step 1 and renamed in step 2) file SystemUI.apknew to SystemUI.apk (IN DOWNLOADED files location - DON'T rename files in /system/priv-app/SystemUI/ ). This step done just to be able to install downloaded file.

6) Install the SystemUI.apk file (mentioned in step 5 ) located in downloaded files location (yes, install it) by clicking it in filemanager. NOTE: install newer/newest verson of this file. At this point there is one SystemUI.apk in download location (new version) and another SystemUI.apk in /system/priv-app/SystemUI/ (old version)

After installation there should be confirmation dialog for rebooting phone. Click OK to reboot.

Step 7 is done just after phone restarts.

7) When phone have shut down to reboot, press VOLUME UP + HOME + POWER to boot to run recovery.

I assume you have TWRP.

Steps 8 - 13 are executed in TWRP recovery.

8) Click Mount and check System as partition to be mounted - it is not mounted by default. NOTE if checked, uncheck option "Mount system partition read-only" because you need to rename files in system partition.

9) Go one step back in TWRP and press Advanced button and then File Manager button.

You should see root of your phones filesystem.

10) Navigate (press) system -> priv-app -> SystemUI directory/folder. There should be 2 files: SystemUI.apk (original ROM file) and SystemUI.apknew (downloaded, renamed file)

11) Press SystemUI.apk and select Rename file. Rename it to for example to SystemUI.apkold

12) Similarly rename SystemUI.apknew to SystemUI.apk

After there modifications you should have 2 files in /system/priv-app/SystemUI/:

SystemUI.apk (Newest SystemUI/Good Lock version) and

SystemUI.apkold (old ROMs "original" version).

13) reboot and now you should have newest Good Lock installed.

Fingerprint unlock problem still remains but this way you can upgrade Good Lock without waiting new ROM.

Hope this helps.

NOTE!!!!!

Do this as your own risk. Don't blame me for bricking your phone, crashing our car, winning in lottery (in which case you can donate at least half of it to me) etc......

ps. If you notice any mistakes/typos etc., please notify me