[Huawei Mate 10  Guides, News, & Discussion] ChriKn:
Introduction

This is aimed to be a complete but simple guide for users which want to know what works in the Treble-World on the Mate 10 Pro and 'how to get there', based on other guides and my own findings

Disclaimer: I am not responsible for what you do with your device, you are free, probably old enough to know what you are doing and intelligent enough to read this through.

For the moment I will only speak about my own tests on a BLA L29 as I don't have the possibility to test everything.

Feel free to share your own discoveries via PM (just reuse the same formatting to make things easy)

Requirement

1. PC/Laptop running Windows 10 with adb and fastboot drivers installed

2. Original Huawei USB Type-C Cable

3. Being able to read and use search when a question arises

Summary

0. General Information

I. Unlock the Bootloader

II. Choose your ROM (a.k.a "What works on what")

III. Install your ROM

IV. Miscellaneous / Secondary stuff

V. Bonus : What to do if I am stuck / Bootlooping

0. General Information

To make things easier for everybody, here are some basic informations about your device and some common knowledge :

How do I get in Download / Bootloader / Fastboot Mode ?

Shut down your device, insert your USB cable. Keep the Volume DOWN button pressed and press the Power button, wait.

PRO TIPP : You may also get there from within android, first enable ADB debugging in developer options, then, on your PC open a command prompt and type "adb reboot-bootloader"

How do I get in Recovery Mode ?

While in Download / Bootloader / Fastboot Mode, take the USB cable out, keep the Volume UP button pressed and press the Power button until the phone reboots.

I. Unlock the Bootloader

We allready have a thread by [MENTION=4066277]otonieru[/MENTION] perfectly discussing this point, don't forget the Windows 10 fix :

https://xdaforums.com/mate-10/how-to/how-to-huawei-mate-10-pro-standard-t3709535

II. Choose your ROM (a.k.a "What works on what")

This section isn't complete and should be detailed with time. None of these ROMs is specific for the Mate 10 Pro, but thanks to Treble, most images will work. Device-specific modifications are still needed in future, ask your local dev ;)

1. Generic AOSP (Android 8.0 and 8.1) by Phhusson

Link : https://xdaforums.com/project-trebl...-development/experimental-phh-treble-t3709659

Description : Really basic ROM (basically pure AOSP) which serves as a basis for most of the other ROMs.

What's working : Everything basic

What's not working : VoLTE, SuperSU and Magisk, Signal strength is reported incorrectly, error message at each start, Play Store tends to hang (solution : wipe the Play Store from recents or force close it)

Actual status : Barebones, can be customized in some ways with overlays.

2. LineageOS 15.1 (Android 8.1) by LuK1337

Link : https://xdaforums.com/honor-view-10/development/rom-lineageos-15-1-t3753000

Description : If you don't know LineageOS, you should have heard about CyanogenMod (CM). This is a super clean, customizable version of Android, based on AOSP

What's working : Everything basic

What's not working : VoLTE, SuperSU and Magisk (system crashes), Signal strength is reported incorrectly,

root works thanks to addon-su (see Miscellaneous)

Actual status : Working as a daily driver (at least in my case) if you can live with some very small drawbacks.

III. Install your ROM

Once you have unlocked your Bootloader and chosen the ROM your heart desires follow these steps :

1. BACK UP YOUR DATA ! -> You will certainly have to do a factory reset and backing up data should be something natural when flashing something on your phone, even before updates.

2. Download the ROM (latest is probably best, but it's best to read what is said in the respective threads before jumping in the hole.

3. Reboot to the Download / Bootloader / Fastboot Mode (see above)

4. Flash the ROM by opening a command prompt and typing :

fastboot flash system system.img

where "system.img" is the filename of the ROM you downloaded

5. Reboot the phone by typing :

fastboot reboot

6. The phone will probably get in a bootloop. Don't panic. This should be normal.

After 4-5 reboot the phone will go in Recovery mode. Make a Factory Reset

7. Reboot

8. Profit

IV. Miscellaneous / Device-Specific stuff

This is probably the more interesting part as it is quite hard to find the correct information for our device concerning these points.

Root

ROMs as Lineage don't come prerooted. To root your phone the only viable solution seems to be addon-su for the moment.

To install you will need to install TWRP (follow the instructions in this link by [MENTION=912474]Dees_Troy[/MENTION] : https://xdaforums.com/mate-10/development/recovery-twrp-3-2-1-0-touch-recovery-t3752399 ), boot to TWRP (same as booting to Recovery, as TWRP is the new Recovery). go to advanced -> adb sideload. Connect your phone to your PC and flash the file using

adb sideload addonsu-15.1-arm64.zip

finally reboot, go to 'developer options' and chose the desired option under 'root options'. Done.

Camera

When flashing a ROM it will probably come with the stock AOSP or Lineage camera which, just say it, sucks on our device form a quality point of view. Here are the answers found to this problem for the moment. Sadly, there isn't one solution which works for everything and everyone.

Google Camera - GCam

Photos work - Gallery works - Videos don't work

Right now his is probably the best compromise if you want something that works, easy to install, while not wanting every little gimmick (in that case you should probably stay on EMUI - The definition of gimmick). Simply install the apk.

Note : there are probably other versions of GCam that work or will work in future, feel free to inform me / us about better working versions.

Link : https://drive.google.com/file/d/1Rw2lXtSHvOUalpA8YKg_kW2Xj_Gu746M/view

More information / discussion :

https://xdaforums.com/mate-10/help/gcam-mod-mate-10-t3729078

Camera Port from the Mate 9 - needs root

Photos work - Videos don't work - Gallery doesn't work - Most filters and gimmicks work

A bit more complicated to install. The easiest way found for now is to root first using addon-su and then copy the system folder inside this zip into the respective folders using a root enables explorer like solid explorer

Link : https://mega.nz/#!7hQDhQAK!p2s7jQp9-nhp2-O1U2s2GrBB9UVBhgKDtFfHTq_CHvI

More information / discussion : https://xdaforums.com/project-trebl...huawei-stock-camera-app-treble-roms-t3735169/

V. Bonus : What to do if I am stuck / Bootlooping

Remember when I said to back up ? Well I hope you did, because if you are really bootlooped and a reflash of the system image hasn't helped. you will have to reflash the whole device, which isn't quick.

Gladly [MENTION=677290]mankind[/MENTION]tv has got you covered with his great guide : https://xdaforums.com/mate-10/how-to/guide-mate-10-flash-oreo-update-package-t3716814

I hope I could help a bit. Feel free to add your own findings, simply PM me.

Credits -

[MENTION=4066277]otonieru[/MENTION] for the great Bootloader unlocking thread

[MENTION=1915408]phhusson[/MENTION] for his many efforts to make Treble awesome

[MENTION=5075128]LuK1337[/MENTION] for his many efforts to get things working on the Lineage side as well as for addon-su

[MENTION=912474]Dees_Troy[/MENTION] for his awesome work on TWRP

[MENTION=1097168]mankindtw[/MENTION] for his great guide on recovering from the loops of boots