yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend Mate 2] :
Try one more time. I edited the post and repasted the links again. Problem should be fixed now.
[Huawei Ascend Mate 2] Kostyan_nsk:
Guys, I'm just curios why are you searching for a way to flash 5.1 on CC variants using TWRP but not for a way to completely convert CC to OEM? :)
[Huawei Ascend Mate 2] :
To be honest, they probably don't know where to start (no pun intended). If I had it in my hands I would tackle it already.
[Huawei Ascend Mate 2] ArkAngel06:
I wish.
[Huawei Ascend Mate 2] resansid:
The consumer variant was successfully converted to OEM stock version before. So I am sure there will be a flashable Lollypop version available for CC variant, no doubt about it. I am sure there will be developers working on it within no time. We just need to be patient.
[Huawei Ascend Mate 2] Kostyan_nsk:
You mean flasing TWRP backup from OEM device? It's not a solution, device still stays CC.
[Huawei Ascend Mate 2] xordos:
I think so far we are all trying safer ways to flash CC phones. hack/mod UPDATE.APP or hack phone ID somewhere to allow dload flash all leads to flash many dangrous partitions, or repackage a legit UPDATE.APP to exclude those partitions, these all need many work and testing.

Yes, theoratically since the identical hardware, we can flash all B148 partitions to convert, but thats too risky.

Also, since the leak, many things/thought are rushed out, lets wait and see.
[Huawei Ascend Mate 2] Moody66:
If what everyone has said is true it won't be long when its ota. Then Tom can make CM rom for you guys. That will make a CC phone the same as stock. If any of you have an HP touchpad running Android you know partitions had to be resized for L and KitKat to work. Matter of time as I know he still has interest in making L for the mate 2. Personally that is what I wanted when I got the mate 2 to start with. Stock Android.
[Huawei Ascend Mate 2] ScoobSTi:
Would it be possible to have both the new Huawei ROM and CM (if/once we get It) on our phone, as in dual boot? Don't know how that works.
[Huawei Ascend Mate 2] :
Totally possible, I made this thread a while back for another device. Adapt its concept to this device and you will get what you want ;)

http://xdaforums.com/showthread.php?t=2681364

---------- Post added at 09:01 PM ---------- Previous post was at 08:45 PM ----------

TWRP bumped to 2.8.7.1-L and device tree reuploaded with the changes.

Click here for post #303 and see attachments
[Huawei Ascend Mate 2] Moody66:
Yep. I used an E970 att for a while. There was dual boot for it. As well as my old galaxy nexus. At my age I get bored alot. Lol. I doubt Tom would be up for helping with that as it is time consuming. However, never know who might put the time in when we have a good github to work with.
[Huawei Ascend Mate 2] ScoobSTi:
Cool. Yeah, I know it's too much to ask for, especially when I can't do anything to help and this device isn't even remotely popular. I just wanted to know.
[Huawei Ascend Mate 2] :
Are you the original Dev for RainDroid?
[Huawei Ascend Mate 2] ScoobSTi:
Yes, but I wouldn't say "dev". It's much more simple than real coding lol.
[Huawei Ascend Mate 2] :
It's a start! :) We all begin somewhere bro. Good job on that project though.
[Huawei Ascend Mate 2] MikeyLee:
Has anyone running the Beta re rooted?
[Huawei Ascend Mate 2] MikeyLee:
So I have an issue with this. After flashing the latest Beta L Rom, when you boot into recovery (stock) it has an option to update but all it looks for is an OTA update pkg. How are we supposed to flash TWRP now?
[Huawei Ascend Mate 2] tdamocles:
Don't you flash through bootloader .. fastboot flash....
[Huawei Ascend Mate 2] :
fastboot flash recovery TWRP_2.8.7.1-L_Recovery.img

If that still isn't enough for you to understand then Google is your friend. This has been explained and covered for years and many tutorials are available.
[Huawei Ascend Mate 2] ArkAngel06:
Just so happens someone else asked me for help, so I have this handy....Won't be so lucky next time!

TWRP for Mate2

Basically that is a zip file with everything that you need to install TWRP on the Mate2. It has:

SHM's latest version of TWRP(v2.8.7.1).

Huawei drivers

ADB/Fastboot

Newest version of SuperSu(v2.46)

stock 5.1 recovery(just incase)

!Readme file with step by step.
[Huawei Ascend Mate 2] MikeyLee:
Thanks for the info. I'm used to Samsung and the easy one click root and ODIN. This was helpful and it worked well.
[Huawei Ascend Mate 2] Iguanadon:
Search BETA-SuperSU-v2.49.zip that is what I use

Sent from my MT2L03
[Huawei Ascend Mate 2] ScoobSTi:
So... tomorrow marks the end of the first half of 2015. Is this update going to be released on time?
[Huawei Ascend Mate 2] LeeMartinC:
I saw somewhere on the Huawei forums that they consider August in the first half too. So idk
[Huawei Ascend Mate 2] tomlogan1:
Yes
[Huawei Ascend Mate 2] kimtyson:
It doesn't look like it. But they are so close!
[Huawei Ascend Mate 2] ScoobSTi:
Ok, so I guess maybe they are going by the lunar calendar? Understandable, but absolutely terrible way to communicate with us westerners lol.

I used this website to convert between our calendars. If it's accurate, the 1st day of the 6th month of this year is equal to July 16th.
[Huawei Ascend Mate 2] :
Well, at least you guys/gals can modify your device lol. I want to do so much to it right now but can't :-p because it happens to be one of those "samples". In my opinion, every one of you are far ahead of me hahaha.
[Huawei Ascend Mate 2] p51d007:
See my post on the Chinese calendar, which would mean August also, since the Chinese new year this year, was February 19th.
[Huawei Ascend Mate 2] ScoobSTi:
I see [MENTION=6795207]LeeMartinC[/MENTION] already asked them this question!

Tomorrow, the 30th of June, if you have any social media account, you shall all bug them asking where the update is! :p
[Huawei Ascend Mate 2] yslshannon:
I believe it was a joke. No one in China would use traditional calendar for business purpose.
[Huawei Ascend Mate 2] LeeMartinC:
By traditional calendar, do you mean the one used in the USA?
[Huawei Ascend Mate 2] kimtyson:
When communicating with the US consumers they should be using the US calendar. The idea that they are using the Chinese calendar, if true, is just totally ridiculous. And, it just proves that Huawei is not ready to be successful in the US market. A lot of folks are already pissed at them. This is only adding gasoline to the fire.
[Huawei Ascend Mate 2] xordos:
I think he means some one joke around 'lunar calendar'. Right, first half of lunar calender is a joke. In china, we don't use lunar in business.

Delay is a delay, but be patient and good release is coming out. :)
[Huawei Ascend Mate 2] MikeyLee:
I'm sure that they are very very close. I have the latest beta running and I have no issues at all other than the lock screen taking a few swipes to unlock at times and some weird thing with Poweramp stopping then re starting on it's own. Other than that it's smooth as silk
[Huawei Ascend Mate 2] ArkAngel06:
You can probably freeze the huawei lock screen and get the stock Android one. At least I hope so, cause that's what I plan on doing. It works on jellybean.
[Huawei Ascend Mate 2] rekamyenom:
The HAM2-L Update is here and officially public CLICK HERE
[Huawei Ascend Mate 2] ScoobSTi:
FINALLY. Backing things up and going to install!

Edit: Do I need a stock system or can I just flash it?
[Huawei Ascend Mate 2] medwatt:
Can someone answer me how is the CC HAM2 different from the stock HAM2. They even have identical partition maps. Where is the difference?
[Huawei Ascend Mate 2] rekamyenom:
No, you can just Flash it.
[Huawei Ascend Mate 2] Moody66:
Its just naming issues. So people dont flash wrong file to phone.

---------- Post added at 02:29 PM ---------- Previous post was at 02:29 PM ----------

Stock recovery.
[Huawei Ascend Mate 2] pucherto123:
Flash it via twrp?
[Huawei Ascend Mate 2] Delta65:
I checked my build number on my HAM2, and its number MT2-L03V100R001C421B147. Is there anyway to change it? I've been waiting for this update.
[Huawei Ascend Mate 2] ScoobSTi:
Do you have the L03?

Also, it seems we will have even more updates in the future. I don't know if this means updates to Android versions or just EMUI versions, but still good news.
[Huawei Ascend Mate 2] Moody66:
147 is CC phone. You can not update it with this.
[Huawei Ascend Mate 2] ScoobSTi:
So I cleared my SD card and put the "dload" folder onto the root and successfully installed. I followed all the instructions, including wiping the data/factory reset after installation. Now my phone won't do anything but keep rebooting and booting into the new stock recovery. What went wrong?
[Huawei Ascend Mate 2] Moody66:
Rerun the update

---------- Post added at 03:41 PM ---------- Previous post was at 03:40 PM ----------

Also u can reflash twrp and get someone to make a backup for u to flash.
[Huawei Ascend Mate 2] ScoobSTi:
Thanks, that fixed it. Hope Tom can help you guys out soon.
[Huawei Ascend Mate 2] Moody66:
NP. Glad it got you going. IF i hadnt gave mine to my daughter I would. Its just EFS changes. Someone will help them I am sure. Android Kitchen can fix anything. lol
[Huawei Ascend Mate 2] Delta65:
I have L03, and I found a firmware to let me update to 147. However, I need stock recovery, and I have twrp. I cannot find the stock recovery img anywhere. Is there a way to flash the firmware with twrp? or is there a way to download the stock recovery img? will a factory reset get me to the stock recovery?
[Huawei Ascend Mate 2] medwatt:
I can't say how jealous I am. Damn that day I bought the CC HAM2!
[Huawei Ascend Mate 2] kimtyson:
Go to the Blog and download the 309 package. It will work. You don't need to do anything else. You will lose TWRP for now.
[Huawei Ascend Mate 2] Moody66:
147 is CC mate 2.. It can not be updated to L this way.

---------- Post added at 04:12 PM ---------- Previous post was at 04:10 PM ----------

You have a CC Mate 2.You cant update to L Though.
[Huawei Ascend Mate 2] Delta65:
Isn't there a way to switch to a stock mt2l03? i've seen a few threads about that, but I never found any steps to do the process.
[Huawei Ascend Mate 2] kimtyson:
Thanks for the correction, Moody. You are right.
[Huawei Ascend Mate 2] Moody66:
Currently there is no way to put L on a CC phone.

---------- Post added at 05:21 PM ---------- Previous post was at 05:19 PM ----------

Ya I had to think about the model for a second myself kimtyson. One number makes all the difference. Almost said the same thing you did but it dawned on me at the last second. If I can find someone local with a non CC mate I will make a flashable zip that will convert.
[Huawei Ascend Mate 2] foltz61:
Found a file named partlayout4nandroid in /system. Hopefully this can be used to get TWRP kicking again.

dev: size erasesize name

mmcblk0p1: 000200 000000 "sbl1"

mmcblk0p2: 000020 000000 "sdi"

mmcblk0p3: 000020 000000 "DDR"

mmcblk0p4: 0001f4 000000 "rpm"

mmcblk0p5: 0001f4 000000 "tz"

mmcblk0p6: 0015d8 000000 "aboot"

mmcblk0p7: 000400 000000 "pad"

mmcblk0p8: 010000 000000 "oeminfo"

mmcblk0p9: 001000 000000 "modemst1"

mmcblk0p10: 001000 000000 "modemst2"

mmcblk0p11: 018000 000000 "modem"

mmcblk0p12: 001000 000000 "fsg"

mmcblk0p13: 000001 000000 "fsc"

mmcblk0p14: 000008 000000 "ssd"

mmcblk0p15: 008000 000000 "log"

mmcblk0p16: 010000 000000 "bkbootup"

mmcblk0p17: 002000 000000 "persist"

mmcblk0p18: 003000 000000 "boot"

mmcblk0p19: 004000 000000 "recovery"

mmcblk0p20: 040000 000000 "cust"

mmcblk0p21: 030000 000000 "cache"

mmcblk0p22: 001000 000000 "misc"

mmcblk0p23: 100000 000000 "system"

mmcblk0p24: 600000 000000 "userdata"

mmcblk0p25: 6cd7ef 000000 "grow"
[Huawei Ascend Mate 2] robertbarber:
TWRP Still works on B309

I was able to flash the TWRP for L that has been posted here. I used it to root. its the same version that has been posted already. I don't know if its a fluke or not, but that's how I was able to root my phone. Installed SuperuserSU and just installed adaway and it gave me the prompt to grant it superuser permissions so TWRP seems to still work on this update. At least it did for me.
[Huawei Ascend Mate 2] pckarma112:
to be clear

So, your saying we do not have to flash back the stock recovery first? and I know this is problably knowledge to someone. We are gona lose root. So Im guessing will have to flash new twrp l and then find a supersu zip? NM. On second question. Just saw post from robert about supersu. Think I will wait though till twrp gets straight.
[Huawei Ascend Mate 2] :
[MENTION=355351]kimtyson[/MENTION] has sent me a pm stating that TWRP needs an update regarding the official release. Until I look into it do not use the current builds I have made unless you do so at your own risk. I am on my way home from work now.
[Huawei Ascend Mate 2] kimtyson:
I did not lose root. I lost TWRP.
[Huawei Ascend Mate 2] pckarma112:
Clear now

Outstanding! Ty.
[Huawei Ascend Mate 2] foltz61:
Just as an fyi. I had been testing flashing TWRP with Rashr on all of the betas. With todays release it seems to fail. I haven't tried fastboot yet. I'll just wait to see what you find first. Thanks
[Huawei Ascend Mate 2] Moody66:
Tom has two Huawei employees looking into kernel source release.
[Huawei Ascend Mate 2] GadgetStrutter:
So.. I'm trying to update to L.. I followed all instructions carefully but I still get "Software install failed!" with a red exclamation mark in the circle. What am I doing wrong :/ .. My phone is currently B126 and it is rooted. I have an 8GB SD card thats formatted.
[Huawei Ascend Mate 2] ArkAngel06:
ConsumerCellular or Wind device?

Try restoring the build.prop to stock if you modified it.
[Huawei Ascend Mate 2] :
I'm downloading the update for my sample device. Once updated to Lollipop I will check some stuff out on my end and see what the problem is if any at all and will update everyone accordingly.
[Huawei Ascend Mate 2] GadgetStrutter:
Its not a CC. And hmm okay i'll look into that build.prop !! I don't even know how to do it lol but any help would be greatly appreciated :D
[Huawei Ascend Mate 2] Moody66:
126 is old. Did you buy the phone new?

Perhaps it has been flashed over from CC...
[Huawei Ascend Mate 2] pckarma112:
-huh

Now that I think about it for a min. Your saying root didnt get wiped? Did you have SuperSU in survival mode or something? Cause another is saying he rerooted with new twrp. What did you do to keep it? Or did you just never have it?
[Huawei Ascend Mate 2] foltz61:
I didn't lose root either. I accidentally forgot to flash stock recovery back and TWRP successfully installed the update. I did have the L version of TWRP.
[Huawei Ascend Mate 2] Moody66:
Have you tried booting into twrp since Update? I am betting its gone.
[Huawei Ascend Mate 2] foltz61:
Oh yeah. It's gone. I still have root so I'm in no hurry to fastboot it back on.
[Huawei Ascend Mate 2] ScoobSTi:
So after I finally finished getting everything back onto my phone and setting everything up I decided to reboot it. After it booted, Nova was kicked out of being the default launcher and it reverted to the stock one.

This will anger me if it's supposed to do this.
[Huawei Ascend Mate 2] Moody66:
YA. Would me to. go into settings-apps and set as default there.. Maybe it will stick.
[Huawei Ascend Mate 2] foltz61:
This is one of the known outstanding issues.
[Huawei Ascend Mate 2] medwatt:
Since when?
[Huawei Ascend Mate 2] kimtyson:
That is great news! fingers crossed.

I had root, in 308 and all beta test version, using beta supersu 2.49. I still had root after the 309 OTA update. Not survival mode. Again, TWRP does not survive but it's being looked at.

This has been in our tester Issue Tracker from the beginning and is a known issue. It sucks but you can restore the launcher and everything is good again. Nothing so far has made it stick. Not even setting it as the default launcher is Manage Apps.
[Huawei Ascend Mate 2] p51d007:
IF this is a known issue, that it won't "stick" on using a 3rd party launcher, then I will pass until it is fixed.

I don't care for the default launcher.

---------- Post added at 07:35 PM ---------- Previous post was at 07:33 PM ----------

Thanks for the info! Saved me from going through the process of installing. I kind of figured, there would a slight glitch, no biggie.

4.3 with Nova as my default launcher is still top notch. I can wait a day, week, or month til that glitch gets fixed. :)
[Huawei Ascend Mate 2] foltz61:
It only reverts back after a rooboot. And sometimes out of the blue (my guess is in low memory situations) but very infrequently.

---------- Post added at 07:40 PM ---------- Previous post was at 07:36 PM ----------

The issue tracker is open to everyone now https://community.gethuawei.com/mate_2_android_l_fut/i/issue_tracker . Many issues are still not fixed and we never got change logs.
[Huawei Ascend Mate 2] ArkAngel06:
How about if you freeze the stock launcher?
[Huawei Ascend Mate 2] p51d007:
Although it won't stick as the default, could you tell me that if you select the Nova launcher, will it "stick" as the default, unless the device

is either powered off/on, or soft booted? Also, if you hit the power button, or allow it to go to sleep on its own, will it continue to show the

Nova launcher as default until power cycled?

One more check, I heard the default unlocker is the Huawei version, can you pick a different lock (no pun intended :silly: ) and will it stick?
[Huawei Ascend Mate 2] foltz61:
I never tried it.

---------- Post added at 07:44 PM ---------- Previous post was at 07:43 PM ----------

It survives sleep. I've never messed with the lock screen.
[Huawei Ascend Mate 2] Moody66:
https://plus.google.com/+TomMarshall/posts
[Huawei Ascend Mate 2] :
I'm not seeing anything strange. Guys/gals, if you updated to 5.1 using the official release then it will remove TWRP and reinstall an updated stock recovery which comes with this 5.1 update. Please try and fastboot TWRP and confirm if it boots after updating. From what I can see on my end, 2.8.7.1-L should still work.

Edit: if anyone is curious as to why this 5.1 release is capable of updating even when TWRP is still installed, then it is because the update is applied via download mode.
[Huawei Ascend Mate 2] Kostyan_nsk:
About setting default lanchuer: go to Settings -> Manage apps -> Default app settings (in the bottom) -> Launcher
[Huawei Ascend Mate 2] ScoobSTi:
It seems Nova will stick only until I power it off. Turning the screen off will still keep Nova. I haven't tried a new lock screen yet.
[Huawei Ascend Mate 2] dizwikedcbr:
did anyone else lose root after the update?
[Huawei Ascend Mate 2] :
Yes, it is common on many devices for the recovery to go back to stock when updating via download mode. Typically when a big release is handed out it will come with new firmware which includes the recovery. So TWRP is expected to be overwritten. Nobody should freak when it happens lol. Just reinstall TWRP and then boot into TWRP; all should be back to normal again.
[Huawei Ascend Mate 2] pckarma112:
ahh. k So you were already on test l then? cause it is confusing reading. lol I understand now from a pm. What i was thinking is how did you keep root and/or twrp if going from kk?

I was on kk with the kk version of twrp. Unless you were one of the lucky ones that got the test versions of l. Then going from kk to the now official release of l will kill both twrp and root. Either way. Im not gona flash the l twrp till it gets worked out. Can live wo root for a few days, The warnings are enough for me...
[Huawei Ascend Mate 2] foltz61:
Yes I was a tester. :)
[Huawei Ascend Mate 2] tomlogan1:
New Recovery is pretty tight. Have been able to boot TWRP but cannot flash it. It acts if the flash is good, but the stock recovery is what boots. Cannot remember where I got the "L" version. That must be what I am missing.
[Huawei Ascend Mate 2] Moody66:
Not on this phone. It never had KitKat on it.
[Huawei Ascend Mate 2] kimtyson:
This still will not survive after a reboot. Trust me. I tried it on 304, 305, 305-611, 308 and 309.

I did try to reinstall TWRP L version. It acts like it installed but it will not boot to it. It boots to Huawei recovery.
[Huawei Ascend Mate 2] tomlogan1:
+1 on the TWRP-L version. Will not flash but the TWRP manager from the play store seems to think it is installed.
[Huawei Ascend Mate 2] :
Do me a favor and follow these steps.

fastboot flash recovery twrp.img

fastboot reboot

NOTE:
[Huawei Ascend Mate 2] foltz61:
Ok. I got TWRP to stick. My steps

1. Boot to bootloader.

2. Fastboot boot TWRP-L.img

3. Install supersu-2.49.zip (even though I didn't lose root)

4. Reboot back to system.

5. Reboot back to bootloader.

6. fastboot flash recovery TWRP-L.img.

7. fastboot reboot.

8. Boot to recovery and had TWRP
[Huawei Ascend Mate 2] :
For TWRP-L CLICK HERE

Share with others.
[Huawei Ascend Mate 2] kimtyson:
That's what I did hours ago. lol

I'm going to try the foltz61 method. Will report back in a few.
[Huawei Ascend Mate 2] :
His method will work for sure. If the device is already rooted then you can write to the recovery partition within the terminal emulator using dd.
[Huawei Ascend Mate 2] kimtyson:
Did you select Read Only on the opening screen in TWRP?
[Huawei Ascend Mate 2] foltz61:
No. Wasn't prompted. Didn't notice an option either. I wasn't looking for it though.
[Huawei Ascend Mate 2] kimtyson:
Great job. It works. Maybe I lost root earlier. I was checking for it. I don't know. But, the above method seems foolproof. TWRP and root on 309!
[Huawei Ascend Mate 2] :
If you choose not to allow TWRP to mount as read/write, TWRP won’t prompt to install SuperSU and TWRP won’t try to patch the stock ROM to prevent TWRP from being replaced by stock recovery.
[Huawei Ascend Mate 2] spooky_ghosty:
Dang it...I knew it. No news on the other versions of MT2...I have the L02 and I am getting really upset with Huawei.......
[Huawei Ascend Mate 2] xordos:
Are you L02 on kitkat? this is chinese version, 5.1 is planed release 'soon' also.
[Huawei Ascend Mate 2] :
I don't fully understand why it is becoming so difficult to grab this 5.1 Rom and applying it on to these other "MT2-L03". They are identical eternally based on my knowledge - referencing firmware.
[Huawei Ascend Mate 2] Kostyan_nsk:
I've made a small patch to convert CC to OEM. But everybody scared to share their "device specific", "private" information, afraid that it can be leaked lol, so this patch based not on comparison of OEM and CC but just on my assumption.

Now will PM complete guide to ArkAngel06, though it's hard to do for me in english, hope he will understand everything right. And we will see...
[Huawei Ascend Mate 2] Moody66:
Update.app changd partitions. So flashing what is up as a Android backup won't flash because of that. And update.app won't run for obvious reasons.
[Huawei Ascend Mate 2] ScoobSTi:
I already replied to you with this image earlier in this thread. It's in Chinese but it should still apply. July 2015.
[Huawei Ascend Mate 2] tdamocles:
Crossing my fingers here. If you need help with anything guys I have a Consumer Cellular phone that I am NOT using at this moment. I can try some stuff with my limited knowledge.
[Huawei Ascend Mate 2] MikeyLee:
This method worked fine for me. Thanks man
[Huawei Ascend Mate 2] ArkAngel06:
I tried out the first patch, didn't work. Waiting on response.

Might need someone with an OEM phone's oeminfo file for further testing. (if this method will even work)
[Huawei Ascend Mate 2] :
I'm aware of these things. But that is no reason to prevent further progress. A rom.zip could do the trick with some common sense.
[Huawei Ascend Mate 2] ArkAngel06:
I wonder if it could be trimmed down to <1gb if all the unnecessary crap were taken out.

Otherwise stay tuned to xordos' partition thread.
[Huawei Ascend Mate 2] Delta65:
Won't the transition from CC to OEM not work? I believe it's 100% true now, but it's always good to try out new methods to bring the CC version to OEM. can you PM me a guide as well? I would like to try it out! :)

Hopefully with this Lolipop update, more people will begin looking at the phone, and possibly new cutsom ROMS :)
[Huawei Ascend Mate 2] tomlogan1:
Have tried this multiple times, but EMUI continues to survive.