yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend Mate 2] Kostyan_nsk:
This guide will help you to convert your device to OEM totally and permanently. After this procedure you will be able to flash firmware and recieve OTA updates for non CC devices.

Don't be afraid to brick your phone, if something will go wrong, you'll be able to revert back changes without any consequences.

Follow these steps exactly, one after other:

Make backup of all your personal data because they all will be erased. But do not use twrp for backup!

Download full B148 firmware. You can get it from here: https://drive.google.com/folderview?...00&usp=sharing

Extract package with firmware to your sdcard. You should get dload\UPDATE.APP in root directory of your sdcard. If there was update to Lolipop previously, delete it first!

Copy this repacked TWRP in your adb/fastboot directory https://yadi.sk/d/xWXOpG_3hf4iu

Copy this zip-archive to your sdcard https://yadi.sk/d/gw45fwwfhfKU2

Open command shell in your adb/fastboot directory and execute:

adb reboot-bootloader

your device will reboot in fastboot mode.

Flash TWRP that you downloaded in step #4:

fastboot flash recovery twrp.img

Disconnect device from PC and power it off by holding power button untill screen off.

Boot into TWRP: press and hold vol+ and power buttons simultaneously untill you'll see boot logo.

In TWRP make backup of oeminfo partition - press "Backup" and mark "OEMinfo". Save backup to sdcard.

Return to main menu, press "Install" and select OEM.zip which was copied to your sdcard in step #5. Swipe to confirm to install package.

This package will patch your oeminfo partition and flash stock recovery. Don't press "Reboot" button after completion.

Disconnect your device from PC or charger if it was connected, power off device by pressing and holding power button untill screen off.

Power on device by three buttons method: press and hold power, vol+, vol- simultaneously untill you'll see boot logo.

Update process should be start.

After successful update to B148 you are good to go to Lollipop. :)

How to revert back in case if update to B148 will fail:

Switch your device in fastboot mode: power off device, then press and hold vol- and connect device to PC.

Flash repacked TWRP as was mentioned in step #7.

Boot into TWRP, press "Restore" and restore your backup of oeminfo partition made in step #10.

Reboot in system.

If you are brave and desperate enough, you can go much shorter way:

Install TWRP if you had not yet.

Install OEM.zip from step #5.

Update to Lollipop.

Note that in this way you will not have backup and ability to revert back changes and it's not a fact that Lolliip update will proceed, it was not tested, but I presume it will.

I'm not taking any responsibility if you brick your phone, all you will do with your device is on your own risk. :p

Requirements:

Unlocked bootloader.

I want say thanks to:

@ArkAngel06 for testing, providing me oeminfo and his patience.

@xordos for providing me his oeminfo.

@tdamocles for testing and his responsiveness.

P.S. Sorry for my poor english, it's not my native language.
[Huawei Ascend Mate 2] medwatt:
I have successfully installed Lollipop, the new TWRP and rerooted. A huge thanks to Kostyan_nsk for making this possible for us, CC users and to SHM for providing TWRP for Lollipop. You guys are awesome !! We couldn't thank you enough !

Edit:

I forgot to thank xordos too . . . who has always been a huge help to HAM2 users !
[Huawei Ascend Mate 2] xordos:
Great, finally, this is another milestone. Dont know how to say in words. and Lollipop... ** Cheeeeeers **

Man, now I am thinking to get a backup phone, after one year, I still not find any other phone at this price level. I mean battery and screen size.

Hat off and Thanks all the hard work.
[Huawei Ascend Mate 2] tdamocles:
This is all a little off track, but..

Yeah, I bought mine(CC) off ebay-used-$150/ no charger. Not in bad shape with a small nick on one corner.

This phone runs tons better than my wifes Galaxy s4 with the SD600 on lollipop. The s4 lags like hell. I tried using the s4 with the touchsquid remote app and it was unusable/laggy. The Huawei works great with touchsquid remote app.
[Huawei Ascend Mate 2] xordos:
where is all CC users? :confused:
[Huawei Ascend Mate 2] jscrimshaw:
Anyone think that this will also work for the Wind Mobile version?
[Huawei Ascend Mate 2] mousamsh:
Yes it works, I did it with my WIND Mobile HAM 2
[Huawei Ascend Mate 2] johndubs:
Each time I try to flash the oem.zip file in TWRP I get:

E: Unable to open zip file

Error flashing zip 'sdcard/OEM.zip'

Updating partition details...

Any ideas please?
[Huawei Ascend Mate 2] medwatt:
Trying to open your zip file on your PC to make sure it's not corrupt.
[Huawei Ascend Mate 2] johndubs:
Thanks Medwatt. I tried thatand all seems to be fine. Is it possible to upload each file individually and flash each of the files in turn?
[Huawei Ascend Mate 2] Kostyan_nsk:
Check file permissions and make sure zip file signature verification disabled.
[Huawei Ascend Mate 2] Harris.S.Newman:
Thanks! This works!

Worked the first time. I have a stock "CC" Ascend mate running L now! Thanks again!
[Huawei Ascend Mate 2] xordos:
in es file explorer (or you can use other tools in pc), select oem.zip, property, and calc the md5 checksum, it should be

27fed6aca60059671a0208e6f190d3cb

also, you can try different sdcard
[Huawei Ascend Mate 2] johndubs:
Thanks for your help. MD5 checksum revealed faulty SD card!
[Huawei Ascend Mate 2] GadgetStrutter:
when i try to fastboot flash recovery twrp.img I get an error: cannot open 'twrp.img' .... what can be the problem? I downloaded the one in the guide and moved it to my ADB folder and overwrited my old one that was there.

Nevermind, I got it to work on my MT2-L03 SAMPLE. I ended up following the shortcut at the bottom of the guide and used my old TWRP to flash. Thanks for the help dude you're awesome! :D
[Huawei Ascend Mate 2] ArkAngel06:
Sounds like your typing the name of the file wrong....Download again, before moving it into your ADB folder rename it twrp2.img, then move it, then

fastboot flash recovery twrp2.img[/img]
[Huawei Ascend Mate 2] Aus A:
For those new to convertion (just did it today),

1. Remember to enable USB debugging in Settings

2. Install Adb installer (to use with adb and fastboot commands)
[Huawei Ascend Mate 2] OptimusPrimous:
Worked perfectly on my HAM2 and my wife's. Thanks for all your work on this!!!
[Huawei Ascend Mate 2] xordos:
Thats all [MENTION=6152035]Kostyan_nsk[/MENTION] great work that successfully patched CC to OEM, every CC user should press the thanks button in the 1st post if not done that yet. ;)
[Huawei Ascend Mate 2] resansid:
Went about installing adb and fastboot. Successfully boot unlocked and now when I am trying to flash the update package for B148 the update seems to be going no where.

It did change my CC logos to Huawei one so OEM partitions may have been correctly flashed.

The screen is now stuck at usb update starting...

What can be wrong? Is it safe to reboot at this screen. I suspect the update didnt initialize properly.

I have the update.app copied to the root folder of my microsd and thats what i selected.

Please help. Thanks

Never mind folks, rookie mistake i didnt have the update.app in a dload folder just copied the file itself.

The update is now in progress.
[Huawei Ascend Mate 2] standardtoasters:
I was confused after step 7 ("Flash TWRP that you downloaded") so I hope this clarifies things for others. I was converting a WIND Mobile MT2-L03 device.

Step 8 ("Disconnect device from PC and power it off by holding power button untill screen off") and 9 (Boot into TWRP: press and hold vol+ and power buttons simultaneously untill you'll see boot logo) actually takes you into the stock Huawei recovery. This can be confusing if you're expecting to see the TWRP recovery.

In a nutshell, for steps 8 through 11, you want TWRP to boot so you can 1) perform a backup and 2) apply a patch or install/flash OEM.zip file (resizes partitions so your phone passes system checks during the firmware update for B322).

I couldn't get my Mate2 to boot this repacked version of TWRP (https://yadi.sk/d/xWXOpG_3hf4iu), even after successfully flashing the recovery partition and replacing stock recovery the supplied TWRP.img, so I used my computer and command line prompt to get me to TWRP (e.g. fastboot boot twrp.img).

Essentially, step 12 and onward is what any unlocked Huawei Mate2 owner would do to update their devices to Lollipop (i.e. flashing B322). The device to read the dload/ folder in your SD card and automatically perform the update to Lollipop.
[Huawei Ascend Mate 2] cwl111286:
still works with CC?

I wanted to make sure if i do this to update to Lollipop will my CC sim card still function normal, 4g and all?

Also in following these steps i assume i loose everything on my phone?
[Huawei Ascend Mate 2] Moody66:
Yes everything still works. It just takes cc lines out. You will lose your apps u installed. Just redownload from play store.
[Huawei Ascend Mate 2] cwl111286:
Lollipop update?

Hey i just finished all the instructions and am now running a stock 148 rom. How do i go about starting the Lollipop update?
[Huawei Ascend Mate 2] freddingo33:
And here is where you learn (like I just did) that this is not yet possible. The installation to lollipop will hang at 0% forever!

Something to do with the partitions of CC vs OEM being different, and thus, not enough space for the lollipop upgrade to work, even when your device says it is OEM.
[Huawei Ascend Mate 2] cwl111286:
Others on this thread seem to have gotten it to work... Do we download it from Huawei's site and just follow their instructions?
[Huawei Ascend Mate 2] freddingo33:
From what I can tell, would be more then happy to hear that the update.app for lollipop actually should work. Here is what I recently did:

* Unlocked the bootloader (email to Huawei)

* Installed TWRP

* Updated to 148 OEM

* Downloaded lollipop over on the Huawei site and got it to load up - but it stays at 0% on 'updating, do not unplug or push any buttons'

Tried a few restarts and that didn't get me past the 0%, but I am pretty happy I am on OEM 4.3 rather then the 4.2.2 consumer cellular version I was on.

EDIT:

* Update - I was able to get my phone to update (Consumer Cellular version) by using a different SD card. I was leveraging a 32gb card( been using it with my phone for the last 6 months) but it would appear it fails for updates? Either way, I am going to guess that the OS, when running, can access all 32gb, but the Fastboot can not. 8gb sdcard appears to be working now.
[Huawei Ascend Mate 2] resansid:
I've had to download B309.zip several times before getting the full archive successfully. The huawei server traffic is too much so my archive was incomplete/corrupted a few downloads. Please check to see if it is full over 1GB size. And when you perform the update make sure the entire dload folder is present not just the files individually. Also you need to update by booting up with Vol + and Vol- together with power on until you see the logo. After that the EMUI circle will start indicating the progress in percentage. Hope you get it right. Good Luck.
[Huawei Ascend Mate 2] cwl111286:
I was able to get it working fine! Woohoo no more ugly orange CC startup and battery actually got better than already great.
[Huawei Ascend Mate 2] medwatt:
Don't forget to press the THANKS button.
[Huawei Ascend Mate 2] freddingo33:
Also was able to get my update from CC to Lollipop to work, note my edit above. Thanks (and pressed thanks)!

Additional things for others who read this, as I did not find these minute, but important details:

* When Installing TWRP as well as OEM.zip, those could just be in the 'root' of the SDcard.

* Installing 148 (oem build of 4.3 android) as well as 5.1 both required the files to be in a folder in the root called 'dload'

Good luck!
[Huawei Ascend Mate 2] tdamocles:
Sure
[Huawei Ascend Mate 2] cwl111286:
I was able to follow the directions on the Huawei site for updating to lollipop and with a 32GB card (maybe the class/speed of card plays a part). Anyway its working great and will be doing my wife's phone this weekend.
[Huawei Ascend Mate 2] freddingo33:
Throws my theory out the window ;) Well, I guess the best answer is 'try multiple cards if your install fails' to rule out the card as being the issue.
[Huawei Ascend Mate 2] Ap42015:
Upgraded to lollipop without any problem. No more CC logo. Thank you for your great work.
[Huawei Ascend Mate 2] :
SDCard will be an issue. On Lollipop, should the sdcard work, but is weak, the device will prompt you with a notification stating that your sdcard, in lamen terms, sucks, lol.
[Huawei Ascend Mate 2] ham2owner:
Newb question. Just want to confirm when it says sdcard , is this referring to the actual physical removable sdcard in the phone? Or the internal sdcard?
[Huawei Ascend Mate 2] medwatt:
External.
[Huawei Ascend Mate 2] cwl111286:
So after I got mine updated and had read about all the cool features of Lollipop I notice missing features of Lollipop on this phone. Pinning apps and the such. Anyone else notice anything they left out.
[Huawei Ascend Mate 2] kimtyson:
The Lollipop that was released is still a Preview. It is not a final product. That has been posted (although not really as clearly as it could have been). So, to answer your question, yes. There is an Issue Tracker and they are still refining the build. Plenty is still left out.
[Huawei Ascend Mate 2] ArkAngel06:
Bacially none of the neat things lollipop added were incorporated by Huawei.

Lollipop lockscreen has actionable notifications, ours does not.

Lollipop added a card system for recent apps, ours is OK, but the cards are much nicer.

Lollipop added a nice interruptions/quiet hours system. Huawei has it, but its done lazily and if you want to activate it for an hour or something for a quick nap, you have to go to the settings and mess with it.

I'm sure there's more, but these are the ones I'm most angry about.

These won't be added in either, I'm sure, because they are there, just done poorly.

They will add things like a startup manager, permissions manager, etc. Those of which are also currently missing.
[Huawei Ascend Mate 2] ham2owner:
Successfully converted my CC to Stock using this guide. Then followed lollipop update instructions on huawei site to get upto lollipop. Can confirm, this works! Thanks!
[Huawei Ascend Mate 2] a_ahmed:
I succeeded updating from the canadian 128 to the US 148 and used your OEM.zip

However, when i place the lolipop 309.zip extracted dload stuff on the SD

I get the error:

Check SD Update pkg is exist...

update from external card!

checking sd update pk...

file://sdcard/dload/update_vendor.app,size=1953642288

image id:0x00000000

current image size (15559308060) too large!

current partition size: 1073741824

Error: update.app is invalid package

Error: SD card update failure, SD card update abort!

---------- Post added at 09:31 PM ---------- Previous post was at 09:16 PM ----------

Okay I was trying to update from going to system update local update... i did the hold +- volume and power, then letting go of power and now it's in progress woohoo! Waiting for completion, hopefully my mistakes help others :)
[Huawei Ascend Mate 2] Moody66:
Good luck!
[Huawei Ascend Mate 2] a_ahmed:
Now the only problem I'm experiencing is rooting!

I tried KingRoot 4.0 it didn't work... trying KingRoot 4.1 and it didn't work it says 14330 request received research is accelerating for you LOL

Earlier when I did the TWRP it asked me to do SU and I did it but when i tried to use some root apps including busybox it doesn't quite function :( Same with xposed
[Huawei Ascend Mate 2] Moody66:
Thats been answered in the same post. Boot twrp. Flash su. Twrp. Xposed will not work with this version of android.

---------- Post added at 10:03 PM ---------- Previous post was at 09:59 PM ----------

http://xdaforums.com/ascend-mate2/general/index-huawei-ascend-mate-2-updated-2015-t3149530
[Huawei Ascend Mate 2] a_ahmed:
Got it, I did a backup of the emui 3.1 recovery by doing this:

adb reboot bootloader

fastboot boot /path/to/TWRP.img

Then went in to backup and picked only recovery it was 64MB took 4 seconds. Then rebooted and downloaded recovery.emmc.win and renamed to recovery.img

Tested with fastboot boot /path/to/recovery.img

Booted emui 3.1

Now I have a backup.

I am just posting this in here so others see the info too. Would have made it simpler for me if someone else did.

now will do the TWRP and SU process

Will get the TWRP 2.8.7.3-Unified_Recovery.img and do whatever it takes..

---------- Post added 13th July 2015 at 12:01 AM ---------- Previous post was 12th July 2015 at 11:33 PM ----------

That worked thank you.

Trying to figure out how to get nova launcher to stick as default, ugly and annoying huawei launcher that clutters everything together keeps coming back.
[Huawei Ascend Mate 2] Moody66:
Already answered too.....
[Huawei Ascend Mate 2] ArkAngel06:
Check out the "lets mod the new 5.1 update" thread for a lot of tips and fixes for various faults with 5.1

http://xdaforums.com/ascend-mate2/general/mod-5-1-update-t3149523
[Huawei Ascend Mate 2] Aus A:
revert to Huawei rom

Can someone post instructions on how to go back to 4.3/4.4? I'm having terrible signal (bar drop by 1, no LTE/4g in locations that i know there should be) with L and want to check if going back solves it. I'm on metropcs.
[Huawei Ascend Mate 2] xordos:
Have you set your apn correctly?

for downgrade, click download now beside B148 in this page

http://consumer.huawei.com/us/support/downloads/index.htm

I think instruction is inside above package, and you need flash 2 UPDATE.APP in order.
[Huawei Ascend Mate 2] TheIgster:
Finally got my unlock code from Huawei and I'm going to be giving this a try this coming weekend, but the above part confuses me a bit. Can someone point me to a thread of provide instructions for adb/fastboot? Working with other phones, I've never done anything with this. Reading through the instructions provided in this great thread, this is the part I don't know about. Thanks.

Edit: Oh and as well, when I click the download for this section:

There are 5 files there. Not quite sure which one to download? Or do I download them all?
[Huawei Ascend Mate 2] medwatt:
You need to have two things.

1. Download Minimal ADB and Fastboot. This will give you the necessary adb and fastboot command you need.

2. Install the phone drivers. You can get the installation files when you connect the phone to the computer.

3. Start running the commands. Make sure to allow USB debugging in developer mode if you plan to be running the commands with the phone on.

Download the file that ends with 148.
[Huawei Ascend Mate 2] TheIgster:
Thanks Medwatt. Appreciate the help. I've been reading that L isn't all it's cracked up to be yet on our HAM's. Thinking about converting and then registering my phone with Huawei to get OEM updates and wait for the official update maybe. I'm assuming once I do all of this, the phone will stay or be back at 4.3? Correct?
[Huawei Ascend Mate 2] medwatt:
Why should the phone go back to 4.3 when its on Lollipop ? If you regularly listen to songs on your phone, I suggest you hang around 4.3 because there's a serious audio playback bug on Lollipop. The EMUI 3.1 does make the phone look modern though !

Since you're somehow hesitant, what you should do is convert your phone to OEM using the methods outlined in the first post. There's really not much benefit in doing so except that when Huawei releases the final version of Lollipop, you can just update like any regular OEM user. Lollipop on CC or other variants is never coming. So, Kostyan_nsk is our saviour !
[Huawei Ascend Mate 2] TheIgster:
LOL...I meant when you convert to OEM, without flashing Lollipop, it would stay at 4.3 right? That was kind of my thought. Convert to OEM, register my phone with Huawei to receive OTA updates and then wait for the official release OTA.
[Huawei Ascend Mate 2] medwatt:
That might or might not work. Its possible that Huawei allows OTA updates for only those phones with IMEI that correspond to the OEM version. That's just speculation. Even though I don't believe it, its a probable possibility. Even if it turns out to be the case, I always prefer to download stuff in excess of 500MB on my computer. You can pause/resume downloads, apply the update as many times as you like . . . etc.
[Huawei Ascend Mate 2] TheIgster:
nm
[Huawei Ascend Mate 2] Alucai Vivorvel:
I put the UPDATE.APP file in the root of the SD card without keeping it in the folder. That's how the OP made it sound so that's what I did! However, after fixing that, I now have a working B148 WIND Mobile device! Thank you, OP and [MENTION=5617980]resansid[/MENTION]!
[Huawei Ascend Mate 2] Callmebaus:
i'm at the last step and it says check sd update pdk is exist....

make sure usb cable has been inserted! (altho op says to disconnect any usb)

then it's stuck at usb update starting....

i've been waiting for 10 min now....(the android guy doesn't even move)
[Huawei Ascend Mate 2] Bill R:
From what I've seen, that can be two issues.

1. When you extracted the files, you put the uodate.apk in the root of the SD or some folder other than "dload".

2. The SD card you are using isn't functioning correctly. I had to go through three of my cards before finding one that worked.
[Huawei Ascend Mate 2] Callmebaus:
for some reason i thot i had to flash my entire system to do the update.....:rolleyes:
[Huawei Ascend Mate 2] Bill R:
If your using TWRP, then yes you have to flash back to factory firmware (Recovery).
[Huawei Ascend Mate 2] satam55:
Does the CC version of the phone need to be unlocked to use with T-Mobile or AT&T?
[Huawei Ascend Mate 2] Bill R:
I believe it has to be carrier unlocked, especially for T-Mobile. I say especially because CC uses AT&T's network for its back end for the Mate 2 so I suppose it might work on AT&T without unlocking but I don't personally know nor think so.
[Huawei Ascend Mate 2] Moody66:
They aren't carrier locked.
[Huawei Ascend Mate 2] Bill R:
Hello Mood66,

I beg to differ. I have the CC variant as well and it was carrier locked. I had to pay a service to unlock it.
[Huawei Ascend Mate 2] Moody66:
I have three CCs. Not one locked. As SHM said never pay for unlocking. All you have to do is add the correct APNs. CC does not lock them. A quick call to customer support and they will tell ya that. The reason some carriers lock them is they bind them to a contract. There are no contracts with CC.
[Huawei Ascend Mate 2] Bill R:
Interesting! May I ask, did you order yours direct from Consumer Cellular's web site or did you buy from a store, ie Sears, Target, etc etc?

I would swear left, right, up and down mine was carrier locked (purchased directly from CC). :confused:
[Huawei Ascend Mate 2] Moody66:
One from CC in mail. 2 from store. One if which I bought used. They purchased it from Sears.
[Huawei Ascend Mate 2] cypriotxx:
Hi There, i have one CC and installed B148 version but cannot install b309 b322 wont install, what can i do ? i would like to install CM12
[Huawei Ascend Mate 2] divineBliss:
Is the bootloader unlocked like it has to be? Did you try this :

http://xdaforums.com/ascend-mate2/general/official-b322-available-public-download-t3193929

Provide some details.
[Huawei Ascend Mate 2] cypriotxx:
Hi Thank you so much for your kind reply,

Bootloader is showing it is unlocked

i have tried with stock recovery to install with DLOAD folder but it is showing 0% and stuck there ...

i can install B148 version using TWRP seems only the version installing ...

i have upload recovery stock EMUI v3 but says cannot find update.zip even tho i have put it in the sdcard root and dload folder

not sure what to try next....
[Huawei Ascend Mate 2] divineBliss:
Sounds like you are not following the Huawei PDF instructions. You don't put zips in DLOAD. Do you have the PDF? Give me a link to what instructions you are using for B322 install.. ;)