yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend Mate 2] superbass311:
you need to follow the steps below. This is the only time you will need to do this. Its because your coming from Huaweis Beta L (B309) to the Final Release (B322). the update has other files it updates on your phone other then the ROM. Your phone needs to update some stuff to the "final files". for the future builds you can dirty flash if you like..

1. Download B321 Recovery from:

https://drive.google.com/folderview?...U3TXlMZ0U#list

2. Copy recovery to your adb folder (usually c:\adb)

3. flash recovery using ADB ( I recommend renaming the file to something easier like b321recovery.img so it will be something like "fastboot flash recovery c:\adb\b321recovery.img

4. Download B322 Image from Huawei Site:

5. http://consumer.huawei.com/us/suppor...x.htm?id=52043

6. Unzip and copy dload folder to your SD Card on your phone.

7. Power off phone and do the following.

8. Turn off the phone. Hold vol up+vol down+power until the Huawei logo comes up and then release only the power button. Keep holding the vol up+vol down until it starts upgrading/installing.

10. Once phone boots go to about phone and keep clicking "build number" until you unlock developer options

11. Enable "USB Debugging" in Developer Options under Settings.

12. Download TWRP 2.8.7.0 from:

https://www.androidfilehost.com/?fid=24052804347796529

13. Flash TWRP same you you flashed stock recovery in step 3. (I would rename to twrp.img) (fastboot flash recovery c:\adb\twrp.img)

14 Boot back into TWRP and restore your backup or install new build.
[Huawei Ascend Mate 2] Moody66:
Have to update to 322. Recovery and bootloader are two different things. Flash stock recovery with b322 in dload folder in Root of external SD and boot holding all three buttons. When done you will be on 322 and you can flash twrp and any rom you want. From now on ALL ROMs require 322 bootloader.
[Huawei Ascend Mate 2] superbass311:
I posted the steps above.
[Huawei Ascend Mate 2] Moody66:
Lol there ya go bass beat me to it. Thanks bass. I should have just pasted that in..
[Huawei Ascend Mate 2] superbass311:
haha I have not done anything at work today except play with my phone.. I flashed CM from PAC (creating all the proper TWRP backups) so when the next build comes out I can restore it back then dirty flash the next build and make the next backup file. I'm doing this with CM also so i can jump between both ROMS. Until I find a winner. Waited over a year to get a custom ROM now that its here I get nothing done anymore. hahahaha.
[Huawei Ascend Mate 2] Moody66:
Lol. Everyone is enjoying the new ROMs. We all waited for a long time. I torture them to intentionally try to make them crash. I must say the latest ROMs are damn solid. Battery and performance are great. Can't beat that. I do that as well. Have carbon PAC and cm and swap back and forth. Gonna need a larger SD card. This 16gig one isn't cutting it. Need to research a good FAST SD card. Lol
[Huawei Ascend Mate 2] superbass311:
this is the one I bought with my phone when I ordered it from Amazon on Sept 15, 2014. It has not failed me yet and you know its name brand.

http://www.amazon.com/Samsung-Class...qid=1441904620&sr=1-12&keywords=64+gb+sd+card
[Huawei Ascend Mate 2] Moody66:
Class 10... That should do it. Thanks for the link. Ordering now!
[Huawei Ascend Mate 2] :
Definitely ordering that sdcard. Two of them actually. Thanks for the link.
[Huawei Ascend Mate 2] superbass311:
I have 3 of them all working over a year with no problems ever. I flash a lot my brother is the music king on his sd card and I have one in my surface pro. Never any problems
[Huawei Ascend Mate 2] Moody66:
I will have to get one for the three year olds Asus Transformer. He has about used all his up with apps. Lol thanks again.
[Huawei Ascend Mate 2] :
Wife needs it for her pictures and videos because she will kill if they get deleted lol. Family photos and such. I need it because my phone is PACKED with development sources and projects. Need more space and need a better card that can read quicker.
[Huawei Ascend Mate 2] superbass311:
Sounds like she needs Dropbox
[Huawei Ascend Mate 2] Moody66:
She doesn't use Google drive or photos?
[Huawei Ascend Mate 2] :
She puts them on her pc from time to time when her sdcard complains.
[Huawei Ascend Mate 2] Moody66:
Bad idea. Hard drives die.... Learned that lesson decades ago. Lol.
[Huawei Ascend Mate 2] :
She already knows lol. She uses her Google Drive as a safe measure.

---------- Post added at 06:04 PM ---------- Previous post was at 06:03 PM ----------

Trying to talk her into trying out a Custom Rom but she is satisfied with B322.
[Huawei Ascend Mate 2] Moody66:
Lol same as mine. A day with mine and she would be ready to swap. Lol

She's still on CC stock 4.3....... Horrible.
[Huawei Ascend Mate 2] :
Hahaha, my wife wanted to stay on 4.3. That lasted ten minutes once she realized 4.3 didn't come with all those fancy smiley faces you see in Hangouts like it is in 4.4 and up. She ran to me with a quickness demanding I fix it :-p
[Huawei Ascend Mate 2] Moody66:
And stage fright vulnerability... Can't get that through wife's head.
[Huawei Ascend Mate 2] :
Well, both class 10, 64gb, sdcards will be here tomorrow. Will set it up for multibooting all the Roms until I hopefully get bootstrap working.
[Huawei Ascend Mate 2] Moody66:
Sounds like fun.. Lol not ready to make that leap. Did it on my touchpad to run Ubuntu and android. Sadly it just wasn't very useful while in Ubuntu. Touch was squirrelly and speed was horrid. But it is a rather old tablet. Wish webos hadn't died. I liked it.
[Huawei Ascend Mate 2] :
Ubuntu I could understand, but running Android Roms on the sdcard isn't too bad. Boot up time is way faster than the phone itself. Better the sdcard better the performance needless to say. Can even go as far as swapping some additional space as ram to help it out some if you want to really get creative.
[Huawei Ascend Mate 2] Moody66:
There in lay the problem. No SD card slot. So very limited space as well. Was really just a proof in concept more than anything really. Lol. Hope today is the day to nightlies to start! Another reason for the need for space.
[Huawei Ascend Mate 2] :
Whoa whoa whoa..... Your Mate 2 does not have an sdcard slot?
[Huawei Ascend Mate 2] Harris.S.Newman:
Still not working

I went through the procedure and then am trying to install Tom's cm-12.1-mt2-20150909-ota-tdm.zip

and am getting:

E: Error executing updater binary in zip '/sdcard/Download/cm-12.1-mt2-20150909-ota-tdm.zip'. Error flashing zip

Ideas?

Harris
[Huawei Ascend Mate 2] Moody66:
Oh yea. It does. The touchpad didn't. Sorry. I tied everything together.
[Huawei Ascend Mate 2] :
Ahh lol. Had me for a moment there ha!
[Huawei Ascend Mate 2] Moody66:
Do advanced wipe in twrp. Data... cache.. Dalvik cache... And system.
[Huawei Ascend Mate 2] triplem44:
Really new to this so apologies in advance, but I just got my unlock code and was about to root and install this ROM - however, with the mention of nightly's coming soon I wonder if I should wait for that ROM or will it be the same ROM? I did see the previous posts on the different CM releases, but not sure how it transitions to nightlies.....clearly I'm confused here...
[Huawei Ascend Mate 2] Moody66:
Wait for nightlies. The ROM posted in the OP is outdated. It isn't the newest one that is to me perfect. Wait at least until u-ra gets the downloads updated. Make sure you have installed b322/from Huawei as well. It will not install on anything less than b322 bootloader.
[Huawei Ascend Mate 2] Harris.S.Newman:
Works but...

When I do the advanced wipe I lost everything. Basically start with a fresh system. Is there no way for me to upgrade? I thought CM allowed this?
[Huawei Ascend Mate 2] Moody66:
What were you on? If you have 322 bootloader you can use any ROM. But. If you are running stock ROM you HAVE to wipe. Going from cm to a newer cm then no. You won't have to wipe.
[Huawei Ascend Mate 2] triplem44:
Thanks. I did do the B322 update, so I'll wait a little longer.
[Huawei Ascend Mate 2] Harris.S.Newman:
Upgrading from CM -12.1-20150817-unofficial-mt2

I'm going from CM -12.1-20150817-unofficial-mt2 to cm-12.1-mt2-20150909-ota-tdm.zip.

If I don't wipe everything (cache, dvalac cache, data, and system) it doesn't work, and if I do it does, but everything is back to square one.

HN
[Huawei Ascend Mate 2] Moody66:
Flash new ROM and restore data from your previous backup. Should work.
[Huawei Ascend Mate 2] nrfitchett4:
I think you left out a line. To flash recovery you have to adb reboot bootloader before giving fastboot flash recovery command both before b321 recovery and twrp.

I did it. Biggest problem was having to re-install drivers that I had just installed to flash cm12... Running smooth so far.
[Huawei Ascend Mate 2] Moody66:
Power and volume down.
[Huawei Ascend Mate 2] Harris.S.Newman:
So that worked, will I have to do this every time?
[Huawei Ascend Mate 2] Moody66:
If you are just flashing an newer ROM no. If you swap from say CM to PAC or carbon or the other way around it is recommended. Of you stick with this one just flash newest version. You will be fine.
[Huawei Ascend Mate 2] TheGeekRedneck:
Didn't want to be a stick in the mud, so I decided to install Pac-Rom while I was bored last night. Ended up being quite the procedure since I was still on the B309 bootloader.

It's not nearly as bad as I remember it, but I still don't see why they insist on taking a bunch of random settings that you'd expect to find in certain places in CM and cramming them all into the 'Pac Settings' menu. I guess if they didn't do that it would look too much like plain CM. Still, battery life seems to have been fixed which is huge! The seemingly video related random reboot issue is still there, however - just like the CM12.1 preview build. I'm hoping that's a kernel issue and will work itself out once new builds have come out based on the newly released Lollipop kernel source.
[Huawei Ascend Mate 2] superbass311:
Battle of the ROMs I think all 3 will be solid ROMs once there stable. Your on PAC and I'm back on CM haha
[Huawei Ascend Mate 2] iammudd:
When I upgraded from B148 to B322, my MAC addr remained the same. However, the last 2 octets are changed on both CM12.1 and Pacman (both 20150909). Has anyone else noticed this? Can this change be reversed?
[Huawei Ascend Mate 2] u-ra:
Please PM me the MAC addresses you get on CM and your device serial number.
[Huawei Ascend Mate 2] superbass311:
You want mine also?
[Huawei Ascend Mate 2] superbass311:
Do we have the option for 4 tiles for the Quick Settings
[Huawei Ascend Mate 2] antinerd:
This is so exciting!

http://download.cyanogenmod.org/?type=nightly&device=mt2
[Huawei Ascend Mate 2] TheGeekRedneck:
Oh EM GEEEEEEEEEEEEEE!!!!!!!! :D
[Huawei Ascend Mate 2] MT2-User:
Indeed.
[Huawei Ascend Mate 2] u-ra:
First post updated.
[Huawei Ascend Mate 2] superbass311:
Is there a change log anywhere for each build?
[Huawei Ascend Mate 2] superbass311:
I have to wipe my phone again to get to the next build?
[Huawei Ascend Mate 2] Moody66:
Could be because you are swapping to nightlies. However. Just back up data... Flash new ROM and restore previous data. Done.
[Huawei Ascend Mate 2] MT2-User:
Do I need flash TWRP from OP, then recovery.img and install, from TWRP, nightly-mt2.zip?
[Huawei Ascend Mate 2] superbass311:
Bla FML
[Huawei Ascend Mate 2] Moody66:
By

I could be wrong. Could just be a flaw in script.. Leftover. Or maybe the recovery version has changed. Lol. I am guessing.

Nightly image is different size than the twrp we have been using. Hmmm. We should wait for confirmation from someone.
[Huawei Ascend Mate 2] MT2-User:
Do we need both nightly files (.zip and .img)?
[Huawei Ascend Mate 2] Moody66:
No idea yet. Hoping u-ra or someone will post.
[Huawei Ascend Mate 2] :
I tested the Cyanogen Recovery. Works like it should but it fails to install CM Rom unless you wipe the data partition like you have to do with TWRP.

---------- Post added at 12:48 AM ---------- Previous post was at 12:29 AM ----------

Also found a bug with this TWRP. It fails to move a file to the external sd and aborts but will create that file with 0 bytes which then has to be deleted because its useless. (Building me a personal TWRP because that bug is annoying).
[Huawei Ascend Mate 2] iammudd:
Also, if I recall ... with this version of TWRP, compression and/or encryption causes a tarfork(?) error.
[Huawei Ascend Mate 2] superbass311:
How do I back up my apps with data? I use titanium backup?
[Huawei Ascend Mate 2] :
This is true. Especially with encryption but that isn't the case for this bug. Getting ready to review the log.

---------- Post added at 01:17 AM ---------- Previous post was at 01:11 AM ----------

You can, or you can backup using TWRP
[Huawei Ascend Mate 2] superbass311:
How do I back apps up and settings without backing up the rom in TWRP?
[Huawei Ascend Mate 2] :
Titanium Backup can do this. I don't use it so I cannot give any detail instructions on how to use TB but its purpose is for such cases as what you seek for.
[Huawei Ascend Mate 2] superbass311:
I know how to use that app but can TWRP backup apps and settings without backing up the rom?
[Huawei Ascend Mate 2] Moody66:
Looking at device tree the camera was the last thing added besides bootloader stuff. Maybe some tweaking still needed. Just a quick glance though. May need some editing.
[Huawei Ascend Mate 2] MikeyLee:
Have you guys who have flashed done a clean install (wipe cache, delvik and data along with a factory reset) or are you dirty flashing?
[Huawei Ascend Mate 2] superbass311:
I just updated my TWRP to whatever version on top of form then booted in recovery and hit the whipe button then when that is do e click install button then whip cache (button will pop up at the end) I came from 309 lollipop

---------- Post added at 10:15 PM ---------- Previous post was at 10:14 PM ----------

The only bug I can see is selfie cam not working on cm camera app or any other app
[Huawei Ascend Mate 2] Iguanadon:
Guess I'll try xposed now

installed latest (actually build 20150808) [may update to latest if needed] romracer xposed ...so far so good

optimizing apps
[Huawei Ascend Mate 2] MikeyLee:
Someone please tell me the battery info on here is wrong. 95% and it says aprox. remaining is 10 hrs???
[Huawei Ascend Mate 2] Moody66:
Stock camera app works fine. Hit the three lines which is settings. Right hand rectangle is what swaps front rear camera

---------- Post added at 12:25 AM ---------- Previous post was at 12:19 AM ----------

Loving the stock android. Very smooth. No bugs. This is on a CC converted to stock. Camera works perfect. Even without the HDR. But I never used that anyway. Was laggy under EMUI. Now to do daughters.. Lol

---------- Post added at 12:26 AM ---------- Previous post was at 12:25 AM ----------

Don't pay that any attention. It isn't set up like Huaweis battery monitoring.
[Huawei Ascend Mate 2] MikeyLee:
Just wanted to report that my front camera works fine. I'm not sure what the issue is with others.
[Huawei Ascend Mate 2] Moody66:
Yep mine to. 100%.
[Huawei Ascend Mate 2] Iguanadon:
dang if I can find the switch to active front camera lol

picture please ...duh
[Huawei Ascend Mate 2] Moody66:
Open Google stock camera. On right bottom u will see three dots. Click it. Rectangle looking icon on right side is the swap key.
[Huawei Ascend Mate 2] Iguanadon:
View attachment 3443871

Oh, lol Reading is Fundamental :D

well I thought I had it.

I guess not
[Huawei Ascend Mate 2] synle:
You sir. This is quality work. This is much better than stock rom.
[Huawei Ascend Mate 2] MikeyLee:
This does seem to break Viper unfortunately
[Huawei Ascend Mate 2] Iguanadon:
think thats the enforced selinux that breaks it
[Huawei Ascend Mate 2] MikeyLee:
Hopefully they can find a fix for that
[Huawei Ascend Mate 2] Moody66:
Hmmmm don't see it on yours. Odd. Updated the camera app?
[Huawei Ascend Mate 2] Iguanadon:
clean install with gapps
[Huawei Ascend Mate 2] Moody66:
Odd. Did u change LCD density?
[Huawei Ascend Mate 2] Moody66:
This..

Tried with cyanogen camera. Also supports both cameras. And both are working.
[Huawei Ascend Mate 2] u-ra:
Ugh. You might have a different front cam model. Could you grab the kernel log?

Enable development settings, then enable Root access, then enable Local terminal.

Reboot, then in the terminal type "su -c dmesg > /sdcard/dmesg.log" and attach that file.
[Huawei Ascend Mate 2] MT2-User:
Between different ROMs?
[Huawei Ascend Mate 2] superbass311:
Yes or just the next nightly. I got this error
[Huawei Ascend Mate 2] :
You should backup your data partition using TWRP first. You have to format the data partition. When you install a nightly ROM, system and data need to be wiped. Then you may install the ROM. After the ROM is complete you can restore with your data backup only. Then reboot system.
[Huawei Ascend Mate 2] MT2-User:
CM wiki doesn't mention nightly.img:

https://wiki.cyanogenmod.org/w/Install_CM_for_mt2
[Huawei Ascend Mate 2] Moody66:
Using the updater it will look for the IMG.
[Huawei Ascend Mate 2] :
That nightly image should be a one time deal unless changes are made to the partitions (which I doubt will seriously happen), or if they make minor changes to the recovery itself. The recovery is built when the ROM is built. Whether the recovery includes changes is a different story. One could use the Cyanogen Recovery but using TWRP is fine as well unless later spoken otherwise.
[Huawei Ascend Mate 2] Moody66:
If you flash back and forth between ROMs you will have to use twrp. As SHM said cm recovery will not work with twrp backups. Your choice. LOVE having choices! Like he and I have said. Just make a backup of your data partition. Then when you install a new rom restore that data. Easy.
[Huawei Ascend Mate 2] MT2-User:
Will it look for .img or .zip?
[Huawei Ascend Mate 2] Moody66:
If you look at settings you will see where it asks if you want to update recovery when updating... It will also update the recovery every time you update the rom.
[Huawei Ascend Mate 2] MT2-User:
Thanks. Still waiting for clarification about the recovery before installing CM.
[Huawei Ascend Mate 2] Moody66:
Updater will only work with cm recovery. Same as Twrp not being able to flash OTA updates,
[Huawei Ascend Mate 2] superbass311:
Thanks this worked and I just learned I don't need titanium backup anymore haha

---------- Post added at 11:07 PM ---------- Previous post was at 10:54 PM ----------

You need the .zip and twrp will install it always the .zip
[Huawei Ascend Mate 2] superbass311:
This is what the root of my sdcard looks like
[Huawei Ascend Mate 2] :
No problem, should you restore in the future and run into issues then wiping cache and dalvik should resolve the issue.
[Huawei Ascend Mate 2] superbass311:
I think now that I'm on the "nightly" version from CM site and not Tom's build I should be able to dirty flash from now on.
[Huawei Ascend Mate 2] :
I hope so too, would be much simpler this way. Time will tell.
[Huawei Ascend Mate 2] MT2-User:
You don't have CarbonROM?
[Huawei Ascend Mate 2] superbass311:
No I'm gonna wait to CM hits stable version and then flash Pac and Carbon again to see which is the winner of all 3. New build every day day it seems for CM. New build every week for PAC and IDK about carbon. I'm following the form but I think it's in 3rd place with its new builds. To my understanding all other ROM get its device tree from CM. So I'm hitting the source until like I said stable.
[Huawei Ascend Mate 2] :
They are using the same device tree but the others are making slight modifications to them. For example, Pac Rom is "apparently" using a different kernel than CM is using. Even more so, their sources will vary slightly as well given their differences, so one Rom could have a known bug while on another Rom that same bug is non existent. It's a hit and miss when you see it this way.
[Huawei Ascend Mate 2] superbass311:
I understand. But is the original device tree coming from CM?
[Huawei Ascend Mate 2] :
Yes, and for the other Roms, It's being used as the base for "porting".

---------- Post added at 03:29 AM ---------- Previous post was at 03:26 AM ----------

No different than me using CM's device tree to build OmniRom.
[Huawei Ascend Mate 2] superbass311:
Arnt you making carbon rom?
[Huawei Ascend Mate 2] :
OmniRom. Just haven't decided if I want to release it or not. Mainly because it would be a burden on myself to keep it updated regularly for you guys between taking care of my family and working a lot of hours. Whereas maintaining it for myself is much easier and at my own pace lol. Currently debating it.
[Huawei Ascend Mate 2] superbass311:
I would wait for the stable device tree then first so you don't have to apply the new update every day or week
[Huawei Ascend Mate 2] :
Will consider that option. Not a bad idea honestly.
[Huawei Ascend Mate 2] superbass311:
That's why I'm the Manager ;p

---------- Post added 12th September 2015 at 12:07 AM ---------- Previous post was 11th September 2015 at 11:40 PM ----------

Anyway to get 4 across on my quick toggles in my slider? That feature in Gravity Box isn't working
[Huawei Ascend Mate 2] medwatt:
[MENTION=5863839]superbass311[/MENTION], is the wifi bug that doesn't cause wifi to be disconnected when the phone is in sleep mode still present ? I'm still on Tom's ROM and that's the only problem I notice so far.
[Huawei Ascend Mate 2] TheGeekRedneck:
Full screen video related random reboots still seem to be a problem just like with previous versions. PAC also had them probably because they're all using the same kernel.

Low volume problem seems fixed, in fact it might be too loud now - at full volume you can get some distortion from the HAM2 onboard speaker.

Haven't seen the disappearing SIM bug rear it's ugly head so maybe it's been squashed, definitely a good thing!
[Huawei Ascend Mate 2] robertbarber:
Just thought I would post this here. It deals with cyanogen OS though. http://www.ibtimes.com/cortana-cyanogen-ceo-kirt-mcmaster-building-next-great-smartphone-os-2093032

The interesting thing is near the end of the article

Cyanogen And Cortana

McMaster revealed that Cyanogen is working with Microsoft to deeply integrate Cortana into the next version of Cyanogen OS. Thought it might be interesting news for those who like CyanogenMod.
[Huawei Ascend Mate 2] MT2-User:
New version comes out:

http://download.cyanogenmod.org/?type=snapshot&device=mt2

---------- Post added at 01:54 PM ---------- Previous post was at 01:52 PM ----------

Change log:

http://www.cmxlog.com/12.1/mt2/
[Huawei Ascend Mate 2] superbass311:
[MENTION=5509156]medwatt[/MENTION] yes I just tried it. I waited 45 Seconds and powered the phone on. The WiFi icon never left a d I was already connected to my router.
[Huawei Ascend Mate 2] :
One issue I learned about this ROM today as I was heading to the post office. I always sync my device to my car via Bluetooth so I can play my music and answer phone calls or make calls as needed.

When playing music I use either a button on my steering wheel or the button by my built-in GPS on the dash of my car to change songs. This is very useful to me as it allows me to keep my eyes on the road without having to touch my phone.

However, with this CM Rom, it will not change the songs forcing me to either put up with the current song playing or take my chances playing with the phone while driving to change it to the next song on the shuffle list.

To some, this may be a minor issue, but to me its a huge issue. So I figured I would share my experience with that.
[Huawei Ascend Mate 2] superbass311:
What app are u using? I have this problem with Pandora sometimes on my LG Tones and I have to close the program and re open it. I will try it on my headphones if u tell me which app

---------- Post added at 11:10 AM ---------- Previous post was at 11:09 AM ----------

I don't use Bluetooth in my car radio because I have Android Car radio so all I do is enable hotspot in my phone