[Xiaomi Mi 8 Pro Guides, News, & Discussion] fanix-uk:
UPDATE 06 OCT 2019: I will be returning to the project next week...

Apologies for my long silence over the past few months. After the initial release of this ROM I started focusing on getting the fingerprint sensor to work, which after some struggle I got it working. I then began spending time on removing non-FLOSS apps, services and providers that comes with lineageOS and replacing them with even better FLOSS alternatives. I made some good progress on this and created an automated build script for this. I also wanted to make the installation of the ROM easier, so I even created a script that automates the entire flashing procedure for you....yip...it's pretty cool :) On the security side I also made some good progress: I've applied several recommended hardening patches to the base system, and also patched the flawed mac-address randomization implementation that still exists in android today.

As I got close to preparing for release, google decided to stop support for maps-api V1 which is used by migrog. This completely broke all map views in apps and even started crashing the mobile browser. Because of the complexity of the android build workflow and tool-chain, I initially thought I screwed something up, but it was only after a couple of days of pulling my hair out people started reporting it on github. I had to wait for the mapbox implementation of microg to be released, and it eventually came a few weeks later.

It was shortly after the release that my personal priorities changed. I've been occupied (visa related) with that ever since but I'm happy to report that I should be able to return back to the project next week. Obviously some time has passed, so I will have to get up to speed with the latest releases of all of the repos and get that merged with my local changes, but that should only take a day. Hopefully there won't be many breaking changes, and if that is the case then I should be in a position to release V2 in about two weeks!

Cheers,

fanix (git-repo here: https://github.com/FaN11X?tab=repositories). Once you see commits you'll know I've started.

New build is available apparently.... don't know if it's the same dev..

UPDATE 08 MAY 2019: I'm in the process of adding support for the in-display fingerprint sensor. Stay tuned.

This is a lineageos 16.0 build from source on 25 April using latest source. The ROM is has been prepatched for system lavel signature spoofing based on the MicroG Android Pie patch (url removed, sigh). I did however change the protection level from "Dangerous" to "Signature|Restricted". This is a more secure way of enable signature patching as it requires the app using signature spoofing to be privaliaged, in other words, it needs to be installed to /system/priv-app in order for it to be granted this permission. This means that you wont be at risk of downloading and installing apps that might abuse signature spoofing.

The ROM also passes FULL SafetyNet with microg installed. It uses a custom build from Nanadroid which contains all the latest code changes which you wont find in there official releases as its not yet been packaged as a release. This solved many issues for me, like safetyNet now passing which allows me to install and run banking applications (like Barclay's Mobile Banking) and also uber seems to work just fine using the UnifiedNLP backend providers.

This custom ROM has NO google related apps or code, and you have the ability to switch on google released integration services through the microg services menu.

WORKING

So far... everything I've tested. (except fingerprint)

NOT WORKING

On-display fingerprint.

Installation steps:

1. Restore to stock firmware. I recommend the following Fastboot ROM as thats the one I used. *url removed* (download file search google "equuleus global images V10.2.2.0.PECMIXM")

2. Put device in fastboot mode (adb reboot bootloader or Power Button + Vol Down)

3. Flash using MiFlash (Find it on google and be sure to select the "FLASH ALL.bat" option at the bottom and NOT the LOCK on, otherwise you will relock your device)

4. After flashing the stock ROM, let it boot up, then enable developer options and USB debugging.

5. Flash TWRP

* adb reboot bootloader

* fastboot erase recovery

* fastboot flash TWRP_equuleus_1102.img

* fastboot boot TWRP_equuleus_1102.img

6. Once in TWRP, goto WIPE and select DATA. Enter the word "yes" and once it is complete, go back to main menu, RESTART=>RECOVERY to reboot and automatically boot back into recovery.

7. Goto WIPE again, but this time WIPE DalvicCache, SYSTEM & Cache by selecting all 3 and wiping them (NO NOT RESTART AFTER THIS STEP

8. Once wipe is complete, push the content from the download folder provided below to the sdcard folder of the phone.

* adb push download_folder_containing_all_the_files /sdcard/

example: adb push /home/fanix/Downloads/lineageosrom /sdcard/

9. Once complete, you are now ready to flash lineage ROM. Select the lineageos zip file and flash it. (filename => lineage-16.0-20190425-UNOFFICIAL-equuleus.zip)

10. Once complete, you can then reboot to system to load lineage. After going through the lineage setup, you can then install microg (if you want)

Optional - Installing microg (from latest nanodroid) FULL SAFETYNET SUPPORTED

* Boot into TWRP (adb reboot recovery)

* Goto INSTALL, and select the following file: (NanoDroid-microG-20.7.92.20190424.zip).

* NOTE: This will install microg, including MsfProxy and UnifiedNLP with 4 backend providers. It will also install Aurora Store & Fake store.

* When install is complete, reboot and once in lineage, you can configure microg. You can log into google store using Aurora, either with your own account or their anonymised account. This allows you to download anything form the google app store, including apps that require verification, like mobile banking apps.

* If you want, you can test your SafetyNET using Magisk. You can find the magisk manager in the download folder. Install that and test SafetyNET. You do NOT need to root your phone to test this, you can simply install the manager. If you want to root your phone, simply boot back into TWRP and select the magisk 19.0 zip file and that will then also root your device.

Enjoy!

DOWNLOAD LINK:

https://drive.google.com/open?id=1aJ...bkaHPw86sgHYMj