[Huawei MediaPad X2] audioralf:
THE REST BELOW THIS LINE HERE IS ONLY FOR HISTORICAL INTEREST or for people who have already updated to 5.11

################################################################################

Update 2016- 04 -05

See short way with B112 on http://xdaforums.com/showpost.php?p=66156287&postcount=215

Hint: This seem not a 100% convesion to 5.1.1 because storage handling did not change.

Advantage: You may goback to B003 with a nandroid.

Unverified: If it can still charge on such a rollback

----------------

Meanwhile we have figured out how to flash a new ROM even on GEM 701 L.

Thanksgiving to all who have participated in this. Especially to ajsmsg78, eennap, ZeuseZ, and Ante666

I you have a 703 Model, you can simply upgrade via OTA and then go to one of the threads ajsmsg78 made and choose which ROM you like.

If you have Model 701 oder Model 702 you can use this thread, if you already have at least firmware B003 on your device.

Current situation in Jan 2016:

If you have a firmware B001, or B002, then zip your folder "/cust" and send it to ajsmsg78.

Then he would integrate it into the "universal cust". Please wait until he did this.

The "Universal Cust B112" hast the filename variant "UNIVERSAL-CUST-B112.zip"

Later if you install the SIMPLY_GOOGLE ROM Version a variation of this "cust" will be automatically installed then it is called "Simply Google B111 Cust".

If you install a B111KangVip or the NearStockB111 the "universal cust" also is integrated

Don't worry about the names, it is used to display the correct Roms name.

If you have 701 or 702 model, you may have heard, that Huawei published firmware only for the 703 model.

So we have to convert our device into a 703 model, by keeping it's hardware based additional LTE bands.

If you have converted by doing the following steps to B015,

you will be able to upgrade Android 5.0 to Android 5.1.1 on the follwing steps for D106

---------------------------

Update 2016-28-02

It seems possible directly install the B112. So much easier now. Just flash 4 B015 files, install the "universal cust B112" and then do "dload" procedure for B112.

Then you are on stock B112 can can flash the stabile "Near Stock B111". I have edited the new way in the post below

------------------------------------------------------------------------------

After that you will be able to install updated directly from Huawei via the OTA (Over the air) method, if you have a stabile WLAN connection.

This does not give you a direct jump from B106 to B111 (or B112) , so don't try this on the "dload" method.

My experience was that some components are not updated if you skip a version. Evidence see here

Alternatively you will also be able to do manual "dload" processes.

This both methods lead you up to version B112

After this you can install one on ajsmsg78 ROMS.

They differ in the composition of removing and adding components.

So look which version is the best for you and check, if it is up to date or maybe discontinued.

This are the steps to flash from 701L (B003) to custom firmware

Be aware: Don't try to return to B015 or B003 (Android 5.0), after you have once installed Andoid 5.1.

You will loose the ability to charge the phone in this case.

But it is possible temporary go back. For this you will find the guide in post 2 of this thread

If you have a lower version like B001 or B002 you MUST save your folder /cust to a zip fle and send it to ajsmsg78 and ask for advice!

Don't start flashing in this case!

If you already have a higher version than B003 you can skip the steps which lead to your version.

If you have B006, it seems that you can not upgrade. You must first downgrade to B003. Please report if you find a way.

Maybe you can do the dload for B112. Try this and report!

In case if you want to return to B003 there is a possibilty - > this is documented at post 2

----- To those who have already installed: Please check if there is missing something or wrong and leave a comment. ---

Steps are numbered to be compatible to then numbering of eennaps guide. (Some steps differ, because of newer cognitions.

- First of all: Be sure you have enabled USB debugging on your device. Otherwise you can not go into "manufacture mode" for DC - unlocker

To enable this you have to select "about phone" and tap 7 times on the "build number". After that you will find "developer options" in main menu.

- install ADB or got to ADB XDA Forum

- if you are on Win 10, then install Hisuite (for DC - unlocker manufactur mode drivers)

- Unlock Bootloader via DC-Unlockerr (see [https://drive.google.com/file/d/0By1mhgPLc1LqUzV0QVVRWmpBWlE/view?usp=sharing] reduced eennaps document just for the unlock chapture [/URL] for these steps )

If you get you code from Huawei, just open cmd window on PC and type

fastboot oem xxx

and replace xxx with the bootloader code you got from Huawei or DC-Unlocker software

If you have an unlocked phone you can start with these steps

Step 1

1.1 a - Download 2 TWRP versions

To download the files from Google drive klick on the little download icon. NOT ON THE FOLDER

5.0: https://drive.google.com/file/d/0By1mhgPLc1LqSlRTRVhmbjhTcjg/view?usp=sharing

5.1.1 https://drive.google.com/file/d/0B5I_q70mNuR4QkFzM2xOWVlvRkk/view

and put both files into your ADB folder on Windows PC.

1.1 b

- Download 4 Files from Firmware B015 which I have extracted via Huawei Update extactor

BOOT.img, https://drive.google.com/file/d/0By1mhgPLc1LqeGNLc0VKRVRNR2s/view?usp=sharing

RECOVERY.img, https://drive.google.com/file/d/0By1mhgPLc1LqTVd0c3FYVWJrVlU/view?usp=sharing

SYSTEM.img https://drive.google.com/file/d/0By1mhgPLc1LqZWY2SHJuaXB4YUk/view?usp=sharing

USERDATA.img. https://drive.google.com/file/d/0By1mhgPLc1LqeTJITEhGRk9ZNGs/view?usp=sharing

You can check the MD5.

1.1 c Copy these 4files into your ADB Folder on PC

1.1 d : insert a at least 32 GByte Class 10 SD Card. (better 64 GByte)

B: Copy all your content from the internal drive to the external SD card in a folder (for example name it "int_SD_Backup")

1.1 e: download ajsmsg78's "universal cust" and put it to the external SDCard.

1.1 d: Download at least the first 2 files (if you later want to go via OTA ) or all 4 Firmware versions, if you prefer the offline "dload" method for all files.

edit: It seems it is sufficient only download the B112 stockhttps://www.androidfilehost.com/?fid=24385226645962831

optional: B015

and also optional: B106,

optional: B109, and B111 if you prefer the dload method for these versions, too. For this download them from here

Step 1g-unzip these files to your PC and copy later step by step the unzipped folder "dload" of version B112 to your ext SD-Card (root directory not in subfolder)

I used a external USB SD Card Reader, this is faster than to copy via USB. But both works.

1.1 h: I recommend fist do download a near stock Variant NearStockB111 [/B] an put it on your external SD Card.

But you can also download B111KANGVIP or the much more dbloated "Google" ROM SimplyGoogle and put the zip file on the external SD-Card. Be aware: these 2 last variants do not include the Huawai Backup appliation to restore your saved configuraton. And the SimplyGoolge Variant is not stabile at this point of time.

After 4 weeks testing the Kangvip V2 and Simply Google (made in Feb 2016) I return today to "Near Stock", because KangVipV2 has white icons on white background on navigation bar when you hold in landscape mode. SimplyGoogle has not the full features of boot menu and a

advanced settings and you can not install XPOSED on it. So I recommend the "Near Stock". I saw no added features between 111 and 112.

I believe it is just to skip B109. This makes things easier. I update the guide for this today (2016-02-24)

1.1 i On Phone: Start the Huawei Backup App (Icon "Backup" or german: "Datensicherung")

and do 2 Backups on SD Card (one for account and settings and one for your apps)

1.1 j: Restart Phone in BootloaderMode (Vol - and Power Key while USB Cable is connected)

1.2.a On Windows PC: Do a Shift-Key-right-click on the ADB folder and select "open command here" .

Then type in the cmd window the following command to Flash X2_TWRP_CN_5.0 (not yet version 5.1 because it does not start on a 5.0 System)

fastboot flash recovery TWRP-ENG-5.0.img

(this takes 2-3 seconds)

1.2.b Remove USB cable and press Power Key until screen is dark

then press Vol + and PowerKey and hold until something comes on screen

then release PowerKey and hold Vol+ Key until TWRP starts.

1.2c Make a "NANDROID" of your current ROM

press "Backup" Button.

press the last line "storage:" and select external_sd

swype for backup and wait (about 4 -10 minutes until message [Backup Completed ....])

- press home key (bottom left)

1.2d WIPE CACHE and DALVIC

from main menu select "Wipe" and then "Advanced Wipe"

check "Dalvic Cache" and "Cache"

swipe to wipe

press home key (bottom left)

1.2e press Install and select UNIVERSAL-CUST-B112 (this is the universal cust) and swpe to install (maybe change "storage" to find it)

Step 2a) boot into fastboot (Vol - and power key)

- on windows in command window go to the ADB folder and type the following commands.

I highly recommend to copy the black lines from here an paste in the adb window to prevent typos.

Step 2b

If you come from B003 you can directly flash thes 4 files from the B015 version

fastboot flash boot BOOT.img

fastboot flash system SYSTEM.img

flashing system takes some minutes and does several actions. Wait until all are finished

fastboot flash userdata USERDATA.img

fastboot flash recovery RECOVERY.img

fastboot reboot

New: --> Try to skip step 3 and directly go to step 4a to "dload" the B112 stock

3a reboot system and do minimal setup and select "Settings" and scroll down for the "Backup and reset" menu.

3b select "Factory data reset" and check "format internal SD" (Remember : you had copied everything to SD Card and made a backup with the Huawai Backup Application. So you can do this risk free)

EDIT: (see post 3 and 4 normal recovery is necessary to do the factory reset)

3c after system reboots, shut down by pressing powerkey to be able to install the "universal cust"

- boot into fastboot mode and flash vom ADB window:

fastboot flash recovery TWRP-ENG-5.0.img

then and boot into TWRP and

3d press "Install" ,select KANGVIP-B111-CUST-MOD.zip and swype to flash. (you have to disable the MD5 verification checkbox.)

3f - boot into fastboot mode and flash the B015 recovery.img again which you had uploaded on step 1.1.b , because system needs it for the dload process in step 4.

fastboot flash recovery RECOVERY.img

Update 2016-28-02

4. a then reboot the machine and select from "options" -> "Update" and press menu icon for "manual firmware update" and select update from ext SD Card. This flashes all components of GEM-703L official stock ROM B112 via the dload folder.

--> Now go to Step 6

4. b If you come from B006 and and you run into error, you could try to dload the B106 update.app on this step. If this fails you have to install the B003 first and then flash the B015 and go on.

If you come form B006 and decide to stop the whole process you can restore your backup and then install B006 recovery

If you come from B006 the latest tests show that you first have to install the B003 and then start from the beginning of this thread

If you do the "dload" for B106 then it might might fail at 98%, because you have not installed a full B015. But don't worry, you can go on in the next steps without any errors. We have tested, if this can be prevented via dload B015 first. Some people reported it worked, but I seems not to be neccessary, so I removed this point in the guide

THIS is the point where you change from Android 5.0 to Android 5.1

5 g Reboot Phone, do a minimal configuration and select "Settings" and scroll down for the "Backup and reset" menu.

5 h select "Factory data reset" and check "format internal SD" This is important because now you are on Android 5.1.1 and the internal SC Card handling has changed.

5 i wait until reset is finished and the system starts again: Do again minimal configuration

5 j Then go to the firmware update menu and check if there is a OTA update available

5 k Select firmware update B106-> B112 (this comes via OTA)

6 If you have installed the B112 reboot the system and do a minimal configuration[/B]

7-9 dropped, because we don't need to install B109 and B111 stock anymore

Don't worry about the the info in "about phone" that internal Memory is only 1 GByte and you were on Android 4.1.1

This is, because the 703 firmware is running on a 701 or 702 model.

This is only a display issue. This will be fixed via the "universal cust", which will be automatically again installed later.

10 reboot into fastboot to flash the new TWRP

11 fastboot flash recovery TWRP-ENG-5.1.1.img[/B]

12 reboot into TWRP and make a backup of this clean stock B112, to be able to do a upgrade to Android 6.0 in future.

The next step will install the first custom ROM on your device wich will fix the problem with the wrong display of memory and Andriod Verision

13. Press "Wipe" and do a factory reset within TWRP

14 Press "Install" and install NearStockB111 from your external SD Card.

15. select Press Button "WIPE" and "Avanced" and check boxes to wipe cache and dalvic and Data and reboot into system.

16 go for coffee and after about 5 minutes later you are in B111 KangVip. :)

Now check in the "about phone info" if, Version = Android 5.1.1 and your Memory is correct.

This version is made from B111. I tested KangViPB112 and found no advantage in it. It was not stabile with KANGVIP V2. It has ab bug on the navigaton bar in landscape mode. On some apps you will have white icons on white background. So I advice to stay on B111 KangVipV1 near Stock. It is stabile and has the most feature. And you can install Xposted via the playstore Xposed installer, too.

17. do a full configuration. Maybe your 5 MHz WLAN will not be displayed. Then turn WLAN off an on or do a reboot to fix that.

18. Go into Advanced Settings in Settings and uncheck Lunar Calendar and Desktop Weather Lunar (if you see chinese letters somewhere)

19 Start Huawai Backup application and select your backupfiles to restore (first the accounts then apps)

If you can't find Huawei Backup look inside app folder of this link on phone and click on HWALLBackup and "install"

20 If you don't like gmail, install "myMail" app from playstore.

20 If you don't see SuperSu, you can alternatively use "Kingroot" and do start konfiguration inside to get the full control which apps will be allowed to have root access

You have alternatives which custom ROM you could flash via TWRP later:

NearStockB111: You have already installed this, if you followed this guide.

I advise to use this version. It is stabile.

It does not contain Supersu, but it uses KingRoot. (You can change to SuperSu)

This means you will be rooted and have control via the Purify app on the root authorization and autostart via this alternative

you will not have the whitescreen bug which has something to do with conflicts between SuperSu and KANGVIP Tools V2.

This version is almost like the stock B111, rooted but without chinese bloat ware: NearStock B111

You will find all Huawei system apps and the Backup.app where you can recover all your saved data

The other 2 versions do not include the Backup app. You can install them later.

KangVipSlim : Version with reduced system apps and "old" KangVipTools V1" very less Google staff go here

21. Goto http://xdaforums.com/mediapad-x2/development/rom-kangvip-5-1-1-b108-t3215851

SimplyGoogle with KangVipTools V2 (And Supersu) and integrated Xposted SimplyGoogle

and read whats new on the release and don't forget to press thankyou button for asjmsg78

Be aware on SimplyGoogle: On the first boot, there may be a window form Superuser (SuperSu), which asks for permisson to "KangVipTools"

You must give permanent access, otherwise you will get a white sceen and you would not be able to use the Rom.

This is currently a known problem and might be solved later.

There are some unsolved problems with "Xposed" on this version.

If you ever want to start the whole process again from B106 then

download the 5.1.1 recovery from B106

--- reserved ----

01-15 installing the recovery is nevertheless necessary to do a factory reset on step 3 b

01-16 reduced the word document to just the steps for DC-unlocker

inserting installing universal cust on start

and wipe dalivic/cache

and skipping flashing normal cust (ajsmsg78 says this will work)

01-17 changing the link for the cust to the "universal cust", because of the includes ROM name. This may be confusing on this process.

01-18 inserting a format of internal SD card. Someone reported it was not correct after the whole process.

inserting wipe also data to prevent the while screen bug on the first start of SIMPLY GOOGLE

replacing SimplyGoogle with the NearCustB111 variant as first Custom Rom, because it includes the Backup.App from Huawei.

01-19 the error free dload on the B015 is confirmed. This is because we inserted to flash the universal cust before and skipped to install the cust.img

added reset and format internal sd directly after first android 5.1.1 installation

If you use the NearStock Rom you have to launch kingroot an do start konfiguration inside.

01-24 Moved the steps for returning back to Android 5 to this post 1, because it is a fact, that the phone will not continue charging, even if you have installed the "dload" of B003.

02-28 Seems that dload B112 stock on a patched B112 (via fasboot flash) gives you the full upgade (B016 and B0109 only were "delta" upgrades)

03-28 TheNearStock B111 link has been lost: I uploaded my copy from Jan18 here

Return to B003

If you have not updated to B105 and you are still on a Android 5.0 system you can install the B003 software again via "dload"

B003: Here you get the original B003 firmware which we could download directly from Huawei. Meanwhile it not available anymore, so we were lucky to save a copy.

It will work to do a manual firmware upgrade ( "dload") this, if you are still on a Android 5.0 version up to B015.

If you are on a Andriod 5.1.1, this may work also. But don't try this for fun.

You will loose the abilty to charge the battery.

This is because the method of charging the phone has changed in Android 5.1.

This specific charging method for Android 5.0 is not included in a Nandroid backup or any update.app (dload) files Huawei published.

So you could go back , but only do this with a full charged phone. Then you would be able to restore the NANDROID you have made as the first step before flashing the update. You will be able to look into some data, which you may forgot to save or for any reason else. But don't wait so long until your battery is empty. To return to Android 5.1.1 simply flash the boot.img, userdata.img and cust.img and system.img then do a "dload" to B105 (Andoid 5.1) Then you will be able to restore a 5.1.1. NANDROID of your last running system.

But in case of emergency and after you have tried everything else.

1 a install TWRP (if possible)

if not possible go to step f

b Wipe -> factory reset then

c boot into fastboot mode:

d to Step 2

f only if the above steps didn't work do this:

boot into fastboot and paste the follwing commands into your ADB windows (on PC) and press Return

fastboot erase userdata

fastboot erase boot

fastboot erase cache

fastboot erase recovery

fastboot erase system

2

Install on your PC the Huawei Update extractor

3 Extract the files boot.img , recovery.img, userdata.img, cust.img, system.img, cache.img

4 Flash boot, userdata and cust files: from your PC ADB window:

fastboot flash boot BOOT.img

fastboot flash userdata USERDATA.img

fastboot flash cust CUST.img

fastboot flash cache CACHE.img

then boot into TWRP and do a recovery of your last Andriod 5.0 NANDROID

5 Then you would be able start the system and do minimal configuration

6 then do a factory reset from the system.

7 a after reboot you can flash the rest via initiating update via running system

or via a manual "dload" :

- putting the folder "dload" with the B003 update.app into the root directory of a SD card.

- put the SD card into the phone and press Vol+ and Vol- and Power at the same time.

If something comes visible on screen, then release the power key and hold both knobs until the dload starts.

Maybe you have to connect the phone via USB to the PC, or flash the 5.0 recovery before you try this.

Please report if you came in this situation and tried this.

Please keep in mind: If you have came to this point, you will not be able to charge the battery anymore.