Huawei Mediapad T1 8.0 Pro (huawei-t18p0)

Contributors

 * Roboe: collecting scarce available information and sources before trying to port pmOS. Currently brute-forcing the bootloader unlock.

Models
There seems to be three different models: one wifi-only with 1 GB of RAM, and two others with a LTE modem and 1 GB/2 GB of RAM.

Anyway, I (Roboe) have the wifi-only model and its stock Android's  is   and its   is.

How to enter flash mode
Using ADB from stock Android:


 * Recovery:
 * Fastboot:
 * EDL:  (works with a locked bootloader)

With hardware buttons:


 * Recovery: Power on the device with both  and   buttons.
 * Fastboot: With the device off, hold  button while connecting a micro USB cable.

Unlock bootloader
Unfortunately, official unlock method was shut down by Huawei on May 24th, 2018. See also Bootloader.

Fortunately, the open source community is awesome and there are a number of brute-force alternatives:


 * https://github.com/B83C/huawei_bootloader_unlocker (testing for some hours... nothing yet)
 * https://github.com/haexhub/huaweiBootloaderHack
 * etc.

Stock images
Huawei seems to have removed any references to these tablets from their websites, but diving into the Spanish Support page or the German Support page, you can still get your hands in the T1-821W's firmware for Spain and the T1-821L's firmware for Germany:


 * T1 WIFI_Open Market_Spain_B003
 * Huawei T1 WIFI Firmware(T1-821W, Android 4.4, EMUI 2.3, V100R001C232B003CUSTC100D001, Spain).zip|December 29, 2015|1G


 * Huawei MediaPad T1 8.0 LTE Firmware (T1-821L, Android 4.4, EMUI 2.3, V100R001C278B003CUSTC278D001, Germany, Telefonica)
 * Huawei_MediaPad T1 8.0 LTE_Firmware_T1-821L_Android 4.4_EMUI 2.3_V100R001C278B003CUSTC278D001_Germany_Telefonica.zip|March 29, 2016|1013M

These contain a PDF file with instructions (in English) to sideload the update from the SD card using the stock recovery, and the  file containing the actual OS. There's a number of projects to extract flashable images from :
 * rogarb/huextract: written in Rust, you need to compile it with Cargo before running it. Tested: extracting images works fine.
 * chinaykl/HuaweiUnpack: written in Java, there's a precompiled  file in the   folder. You need to run it in a terminal with  . Tested: CLI is a little weird, but extracting works fine.
 * etc.

Hidden fastboot OEM commands
Analyzing the extracted  brings some hidden fastboot OEM commands:

$ strings huawei-t18p0_ABOOT.img | grep "^oem " oem get-psid oem enable-charger-screen oem disable-charger-screen oem emmc_diag oem dump oem emmc-dump oem select-display-panel oem getversion oem log-ctr oem get-product-model oem get-build-number oem battery_present_check
 * 1) apt install binutils #or apk add binutils

Particularly interesting are the  and the   commands.

Hidden manufacturer menu
There's a hidden menu in the stock OS with useful information. Open it like this:


 * 1) Open the Calculator app in landscape mode
 * 2) Type in order:
 * 3) A menu should appear listing three options (beware the third option!):
 * : seems like a common diagnostic tool called MMI Test or HwMMITest, depending on the device.
 * : this will bring you to another menu with multiple options. Caution with them, since they can e.g. reset your tablet entirely. Beware the 7th option,, it seem to be the same as the next top-menu option.
 * : beware that clicking this option will set the tablet's brightness and volume to their full and start vibrating while reproducing a Chinese video, in order to test the battery duration.

There are a number of interesting options behind the  option:


 * ->  will let you change USB mode. As far as I've read on the internet, the proprietary DC Unlocker program requires this to be changed to   in order to give you Huawei devices' bootloader unlock code. In case you change it, it defaults to , at least on my (Roboe) Spanish T1-821W.
 * ->  will let you check some logs, apparently. Needs further investigation.
 * ->  will list software and hardware version, like AMSS, OEMSXL, EFS, APPSBOOT, baseline or CUST version numbers. My (Roboe) T1-821W seems to correspond to the hardware version number   (pun not intended).
 * ->  gives a quite interesting hardware overview, read below.

According to the, my (Roboe) T1-821W seems to have this hardware:

Installation
Not yet.