[Huawei MediaPad M5  Guides, News, & Discussion] bear_alex:
Hello friends,

I bought a Huawei M5 8.4 inch tablet with LTE in China (SHT-AL09C00), but I am fed up with using the Chinese ROM in the UK, it has very little Google integration and replaced many google services such as voice search with their own implementations that are of little use outside of China.

I have rebranded another Huawei device before and it involved getting an oeminfo file from device of the same model preloaded with oversea firmware. But after many months of waiting nobody has uploaded any usable oeminfo file for M5 8.4 LTE sold ouside of China.

After searching around, I combined the steps described in these two particular posts to rebrand my Chinese Huawei M5 8.4 LTE (SHT-AL09C00) to the the European Retail version (SHT-AL09C432):

https://xdaforums.com/huawei-p20-pro/how-to/guide-how-to-root-debrand-remove-retail-t3788326

https://xdaforums.com/honor-10/how-to/successfully-rebranding-chinese-col-t3823782

Here is a summary of the steps:

1.Unlock your Bootloader (I did it with dc-unlocker)

2.Root the device by patching ramdisk using Magisk following the Root Guide in this thread (https://xdaforums.com/mediapad-m5/how-to/root-root-guide-huawei-mediapad-m5-t3786157)

3.Get the Stock Firmware Files you want to use from FirmwareFinder and rename the files:

update_data_full_public.zip -> update_data_public.zip

update.zip -> update.zip

update_full_SHT-AL09_hw_eu.zip -> update_all_hw.zip

I downloaded C432B185 because I was on C00B185 before rebranding, I tried to match the versions but I don't know if this is important.

4.Copy them via MTP to your internal memory (the files should be in path /sdcard/)

5.Boot into fastboot mode and flash no check recovery from [MENTION=4081738]Atarii[/MENTION] / [MENTION=1097168]mankindtw[/MENTION] (https://xdaforums.com/honor-view-10/development/recovery-bkl-nocheck-recovery-flash-t3778085)

fastboot flash recovery_ramdisk recovery_ramdisk_BKL-L04_nocheck.img

6.Make sure Magisk Manager is installed if you have not done so during the rooting step.

7.Download oeminfo binary file (this is not the oeminfo file but an executable to modify the oeminfo file) (https://mega.nz/#!X0AjASKS!KvXMfbtd8S3kPNZZO1Lm6bKHDyXGqXlBi0SDZdzJwfo) copy it to internal memory

8.Boot into Android System enable adb debbuging in developer settings.

10.adb shell

11.su

12.accept the prompt on your device to elevate the adb shell to root privilege (Good idea to back up your oeminfo file at this point, it is located at /dev/block/platform/hi_mci.0/by-name/oeminfo)

13.mkdir /data/local/tmp

14.mv /sdcard/oeminfo /data/local/tmp

15.cd /data/local/tmp

16.chmod +x oeminfo

17. ./oeminfo SHT-AL09 C432 hw/eu

18. mkdir /data/update/HWOTA

cd /sdcard/

19.mv *.zip /data/update/HWOTA

20.Paste recovery command:

echo "--update_package=/data/update/HWOTA/update.zip" > /cache/recovery/command

echo "--update_package=/data/update/HWOTA/update_data_public.zip" >> /cache/recovery/command

echo "--update_package=/data/update/HWOTA/update_all_hw.zip" >> /cache/recovery/command

exit

21.adb reboot recovery

22.The device was rebooted and an EMUI update screen was shown and updates were installed, I was able to boot into the system after that but it was not functional, I could see navigation keys and system shortcuts but not any desktop icons. At this point my the bootloader was still unlocked.

23.I flashed in TWRP for Huawei P10 as file transfer in TWRP for M5 is not working (https://xdaforums.com/p10/development/recovery-twrp-3-2-1-0-emui-8-0-4-04-2018-t3773449) and used HuRUpdater 0.4 (https://xdaforums.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279) to flash in the previously downloaded C432B185 firmware.

24.The device was able to boot into a perfectly rebranded C432B185 system and it received an OTA update to B186 and successfully updated.

For all the above steps I am wondering if I could skip the failed EMUI update but just ran HuRUpdater after changing the oeminfo.

This method should work to change region for any M5 as long as it is running OREO and I hope this report will help with rebranding your device.