FORUMS
Remove All Ads from XDA

[Guide] [Mate 10 Pro] Treble-Compatible ROM installation and Compatibility list

567 posts
Thanks Meter: 276
 
By ChriKn, Senior Member on 11th March 2018, 08:37 PM
Post Reply Email Thread
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 @otonieru perfectly discussing this point, don't forget the Windows 10 fix :
https://forum.xda-developers.com/mat...ndard-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://forum.xda-developers.com/pro...reble-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://forum.xda-developers.com/hon...-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 :
Code:
fastboot flash system system.img
where "system.img" is the filename of the ROM you downloaded
5. Reboot the phone by typing :
Code:
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 @Dees_Troy : https://forum.xda-developers.com/mat...overy-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
Code:
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/1Rw2...Xj_Gu746M/view
More information / discussion :
https://forum.xda-developers.com/mat...te-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-...gKDtFfHTq_CHvI
More information / discussion : https://forum.xda-developers.com/pro...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 @mankindtv has got you covered with his great guide : https://forum.xda-developers.com/mat...ckage-t3716814


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


Credits -
@otonieru for the great Bootloader unlocking thread
@phhusson for his many efforts to make Treble awesome
@LuK1337 for his many efforts to get things working on the Lineage side as well as for addon-su
@Dees_Troy for his awesome work on TWRP
@mankindtw for his great guide on recovering from the loops of boots
The Following 18 Users Say Thank You to ChriKn For This Useful Post: [ View ] Gift ChriKn Ad-Free
 
 
11th March 2018, 08:43 PM |#2  
ChriKn's Avatar
OP Senior Member
France / Germany
Thanks Meter: 276
 
More
reserved
11th March 2018, 09:56 PM |#3  
Member
Thanks Meter: 10
 
More
It's gonna be one of the most helpful threads for the novices.

---------- Post added at 02:41 AM ---------- Previous post was at 02:39 AM ----------

If possible, please add how to go back to stock rom in simplified form.
11th March 2018, 09:56 PM |#4  
ChriKn's Avatar
OP Senior Member
France / Germany
Thanks Meter: 276
 
More
Quote:
Originally Posted by mdjishadk

It's gonna be one of the most helpful threads for the novices.

I have lost three days to get out of bootloops and gather the info... I hope nobody else will have to live the same thing (and maybe this can become a dedicated thread to fix the last missing blocks to have a complete experience)
The Following 2 Users Say Thank You to ChriKn For This Useful Post: [ View ] Gift ChriKn Ad-Free
12th March 2018, 03:17 AM |#5  
Member
Thanks Meter: 5
 
More
good job
12th March 2018, 08:09 AM |#6  
Member
Thanks Meter: 15
 
More
You can also root Lineageos with magisk. I did it and it works.

https://forum.xda-developers.com/mat...-twrp-t3753956
The Following 2 Users Say Thank You to Gryphie For This Useful Post: [ View ] Gift Gryphie Ad-Free
12th March 2018, 04:29 PM |#7  
ngoralph's Avatar
Senior Member
Thanks Meter: 1,324
 
More
good job on this one OP btw, video on mate 9 camera port is only broken on 8.1, on 8.0 all camera features work fine except opening of the picture from the camera app itself
12th March 2018, 09:51 PM |#8  
abrahamjones's Avatar
Senior Member
Thanks Meter: 34
 
More
Good job man!
12th March 2018, 11:49 PM |#9  
Senior Member
Flag Stockholm
Thanks Meter: 1,447
 
Donate to Me
More
Quote:
Originally Posted by Gryphie

You can also root Lineageos with magisk. I did it and it works.

https://forum.xda-developers.com/mat...-twrp-t3753956

It might be android 8.1. It worked fine for me when using 20180225 version, didn't test later ones.

What version are you on?
13th March 2018, 08:16 AM |#10  
ChriKn's Avatar
OP Senior Member
France / Germany
Thanks Meter: 276
 
More
Quote:
Originally Posted by Gryphie

You can also root Lineageos with magisk. I did it and it works.

https://forum.xda-developers.com/mat...-twrp-t3753956

It crashed everything on my 8.1 build (and the developer himself recommended me addon-su) maybe a tad harder to use, but at least you learn something at the same time
13th March 2018, 10:18 PM |#11  
Member
Flag Halle
Thanks Meter: 9
 
More
You should add that the stereo speakers don't work.
Post Reply Subscribe to Thread

Tags
guide, mate 10 pro, rom, treble

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes