[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] person108:
Fingerprint unlock -> homescreen issue still not fixed; full install instructions

Hey guys, just want to report that the issue where unlocking the device with fingerprint often presses the home button accidentally (going to the home screen) is still NOT fixed on the latest firmware 7.8.31 (baseband ver TH20c1.9-0829_1921_7209a81).

Also, I think we need to end this misery of people posting issues with their audio and such bc they haven't scrolled through the posts to figure out to update firmware. Instead of telling everyone "WHY HAVEN'T YOU SEARCHED THE THREAD??" (imo searching this super long thread is very tedious and unclear), why can't we just get some real directions together once and for all? I have put together detailed steps below, hope at least someone is helped by it.

[MENTION=5075128]LuK1337[/MENTION] Can you edit your first post to put a link to this so ppl can see it and stop asking repeatedly?

Everyone else: Let me know if there's anything I missed.

Comprehensive Instructions (including fix for audio issues):

Follow the instructions at https://xdaforums.com/showpost.php?p=72402783&postcount=15 to update firmware. While you're waiting to download the fastboot rom, feel free to move ahead to the steps below. Firmware can be updated at any point in the process.

Download the following zip files:

Latest LOS build (top file at https://download.lineageos.org/capricorn)

Optional, only if you want Google Apps: Open GApps for ARM64 Android 7.1, choose variant based on your liking--I chose stock. (http://opengapps.org/)

Pro tip: If you want to later use B-S-G's google camera mod which I recommend for full functionality with hdr+, you need to instruct Open GApps to NOT install its own version of google camera so that you can later install the modded apk from B-S-G. Essentially you need to just add a text file just with the words CameraGoogle, see https://github.com/opengapps/opengapps/wiki/Advanced-Features-and-Options for more info

Get these zip files onto the phone's internal storage (or a flash drive for USB-OTG). How to transfer to internal storage:

Using adb: adb push filename.zip /sdcard/

You can use any method you are comfortable with. adb is universal across all devices, and works both in Android and recovery mode, provided USB debugging is enabled.

If you aren’t already in recovery, reboot into recovery: Hold Volume Up and Power buttons simultaneously. Continue to hold both buttons until the “MI” logo appears on the screen, then release.

(Optional, but recommended): Select the Backup button to create a backup.

Select Wipe and then Advanced Wipe.

Select Cache, System and Data partitions to be wiped and then Swipe to Wipe.

Go back to return to main menu, then select Install.

Select the lineage-...-nightly-capricorn-signed.zip firmware package and follow the on-screen prompts to install the package.

Repeat the above step optionally with Open GApps.

Wipe the Dalvik & cache

If you still haven't finished updating firmware, go to the main menu of TWRP, tap Reboot, and then Bootloader. Now finish the instructions at https://xdaforums.com/showpost.php?p=72402783&postcount=15

Reboot to system.

Profit.

Additional info for further customization:

Camera:

Basically the Russian user B-S-G is the go-to source on the camera. He posts his latest stuff at the Russian forum 4PDA: https://4pda.ru/forum/index.php?showtopic=782469&view=findpost&p=64264078

And over here on XDA we are basically just talking about his stuff in English: https://xdaforums.com/mi-5s/how-to/mi-5s-camera-thread-t3516277

Credits:

I didn't create any of this stuff myself, just started with the stuff that's on the LOS wiki and added more details. Kudos to the respective devs for their work.