blob: 666ade5e3a855782ddc7969059a1162423114293 [file] [log] [blame]
Ethan Yonker846f8d12018-02-19 22:26:43 -06001---
2layout: device
3title: "Huawei Mate 10 Pro"
4codename: blanc
5downloadfolder: blanc
6supportstatus: Current
7maintainer: Dees_Troy
8oem: Huawei
9devicetree: https://github.com/TeamWin/android_device_huawei_blanc
10xdathread: "https://forum.xda-developers.com/mate-10/development/recovery-twrp-3-2-1-0-touch-recovery-t3752399"
11---
12
13{% include disclaimer.html %}
14
15{% include supportstatus.html %}
16Note: Data cannot be decrypted in TWRP at this time. MTP also does not work, but you can still use adb to push and pull files.
17
18{% include appinstall.html %}
19
20{% include download.html %}
21
22{% include twrpinstall.html %}
23
24<div class='page-heading' id='fastboot-install'>Fastboot Install Method (No Root Required):</div>
25<a id='fastboot'></a>
26<hr />
27<p class="text"><a href="http://developer.android.com/sdk/index.html#linux-bundle-size">You will need the platform-tools from the Android SDK on your computer.</a> Find the Android command line tools section on the page linked and install the SDK tools package. From the SDK Manager, download only the platform-tools to get adb and fastboot binaries.</p>
28<p class="text">Windows users will need proper drivers installed on their computer. You can try the <a href="https://forum.xda-developers.com/android/software-hacking/live-iso-adb-fastboot-driver-issues-t3526755" target=_blank>simple FWUL adb/fastboot ISO</a> or the <a href="http://www.xda-developers.com/universal-naked-driver-solves-your-adb-driver-problems-on-windows/">Naked ADB drivers</a> or the <a href="https://adb.clockworkmod.com/">Universal ADB drivers</a> if you don't already have a working driver installed</p>
29<p class="text">On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:</p>
30<p class="code">adb reboot bootloader</p>
31<p class="text">You should now be in fastboot mode.</p>
32{% if page.fastbootunlock %}
33<p class="text">Your device needs to be unlocked before it can flash custom images. To unlock your device type:</p>
34<p class="code">{{ fastboot }} oem unlock</p>
35{% endif %}
36<p class="text">Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:</p>
37<p class="code">{{ fastboot }} flash recovery_ramdisk twrp.img</p>
38<p class="code">{{ fastboot }} reboot</p>
39<p class="text">Note many devices will replace your custom recovery automatically during first boot. To prevent this, use <a href="http://www.google.com">Google</a> to find the proper key combo to enter recovery. After typing <span class="code">{{ fastboot }} reboot</span>, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.</p>