yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend Mate 2] kimtyson:
Yes, because you changed your DPI based on gaining root. What Modding.mymind is saying is that we would need to go back to stock to accept the OTA update, which is true. What I was suggesting is that eventually someone will provide a zipped backup that we could simply apply using TWRP. No need for us to go back to stock. His suggestion could happen as soon as the update is released. Mine would mean waiting for an unknown amount of time for someone to provide it for us.

As far as forgetting how you installed TWRP, well that doesn't matter. You would need to go back to stock, and that is not dependent on knowing how you got TWRP installed. When you return to stock the TWRP partition is replaced with the stock recovery.

EDIT: Sorry Modding, we were both typing at the same time.
[Huawei Ascend Mate 2] Alucai Vivorvel:
I mentioned the TWRP part because they said it was the same to return to stock as it was to install TWRP. So, yes, it does matter. However, they put the command down, so it's all good.

Let's make it a little bit more visible:

fastboot flash recovery stockrecovery.IMG
[Huawei Ascend Mate 2] kimtyson:
What you should have said was "I forgot what command is used to install TWRP". There are several ways to install TWRP, including using an app. That's why I said it didn't matter how you installed it. Glad we all got it clear now. ;) :D
[Huawei Ascend Mate 2] Alucai Vivorvel:
Fair enough lol
[Huawei Ascend Mate 2] :
Can also write to the recovery partition from within the terminal.

dd if=/sdcard/stockrecovery.img of=/dev/block/mmcblk0p19

My prefered method as it saves me the hassle of needing a computer and I can do it from the phone while on the go :) - requires root

Edit: For the sake of other viewers, "/dev/block/mmcblk0p19" is the recovery partition for the MT2-L03. It will not always be the same with other devices so take note of that.
[Huawei Ascend Mate 2] kimtyson:
:good::D:D:D:D:D

---------- Post added at 01:42 PM ---------- Previous post was at 01:41 PM ----------

That can get scary, though. Might be too much for some newbies.
[Huawei Ascend Mate 2] :
Agreed lol. Though, once you go "commando" you never look back on a gui application. :P
[Huawei Ascend Mate 2] Alucai Vivorvel:
Eh, I dunno. I'm familiar with a Linux Terminal, and for certain things, it's definitely faster. But I still prefer a GUI for some things.
[Huawei Ascend Mate 2] :
In rare cases for me I will use them, but it isn't often.

For example, I just partitioned my ext_sd and I used, aparted, from the play store to do it, so that I could partition a gig of it as swap. As for determining if my device supported swap and locating the swap partition, then applying the swap for virtual memory I used the command-line straight on my phone lol.
[Huawei Ascend Mate 2] sakui23:
Has anyone rooted the mt2-l03 b322 5.1?
[Huawei Ascend Mate 2] Moody66:
Its posted in three threads... and several posts in those threads.
[Huawei Ascend Mate 2] RickMontoya:
Not quite there,..

[MENTION=3266877]xordos[/MENTION] I have the Chinese software installed and all is as you say it is with one exception, I am not getting a gotcha code to the right of the entry field, just a blank entry field then empty space, and then the characters to reload another gotcha code but even when I click on it nothing appears. Please advise,..anybody?
[Huawei Ascend Mate 2] xordos:
This method is not working anymore if you read through all posts here. Check a few threads beside this one, a video made by superbass, try that one.
[Huawei Ascend Mate 2] jonnybb1:
So when I do this procedure I get a text file without the unlock code. I have connection thru ADB and the program does echo back the serial number from the battery case. What do I do next?

M2Tl03 - American Ascend Mate 2 with 5.1 Lollipop

????:??????

MEID/IMEI:XNXNXNXNXNX (I changed the actual number...)

??????:<html>

<head><title>301 Moved Permanently</title></head>

<body bgcolor="white">

<center><h1>301 Moved Permanently</h1></center>

<hr><center>nginx/1.5.7</center>

</body>

</html>

????????????!
[Huawei Ascend Mate 2] Moody66:
That doesn't work anymore. As stated in the post above yours.
[Huawei Ascend Mate 2] syrupinmycup:
I KNOW THIS IS A VERY OLD THREAD BUT HOW did you get the questions marks to change??
[Huawei Ascend Mate 2] volcolm:
How to root on 5.1 in easy steps:

Grab the latest version of Minimal ADB and Fastboot and install it if you don't have ADB already or don't need the SDK install bloat.

Download twrp-3.0.2-0-mt2l03.img from here and put it into an easy place to find later. You can rename it to twrp.img for easy access.

Put your phone in developer mode, plug it into your computer. Click "trust this computer".

Navigate to the adb program and type: fastboot flash recovery twrp.img (remember to include the path to the image)

then: fastboot reboot

The phone may not boot into TWRP, if not/once it reboots, hold down the vol+ and power to get into TWRP.

Backup your data just in case.

Hit reboot (then System), it will ask you if you want to root, slide to indicate "yes", phone will do its thing and reboot.

Once it reboots, it will prompt you to install SuperSU, click "Play". Install from Google Play, and open SuperSU.

Click Normal. It should complete without problems, click the Reboot dialogue.

Boom. You should have full root.

Note: I ran HiSuite initially so it would recognize the phone driver.
[Huawei Ascend Mate 2] Mirror-Mirror:
Thanks for posting and sharing this info. I didn't get any answer on this question myself but found this reply of yours that addresses it perfectly since i'm getting ready to Mod yet another MT2-L03 again and things have changed since last time.

http://xdaforums.com/showpost.php?p=68074849&postcount=49
[Huawei Ascend Mate 2] JeepRat2001:
Unlock code too long?

Everything goes great until step #4:

C:\Users\Steve>fastboot oem unlock 2397618422319224 1551152474614114 1521702022167105 3015698312343122

error: Command length (78) exceeds maximum size (64)

This is the unlock code I received from IMEI unlocker.

This seems to be an ADB error, right?
[Huawei Ascend Mate 2] kgonepostl:
So let me get this straight. If I have the latest stock rom I install twrp as a recovery, and install supersu via twrp? This is so confusing. I've never rooted a phone before, and the OP's original post is very outdated.
[Huawei Ascend Mate 2] that1guyyep101:
I have found on the Huawei website a form you can fill out to get your password to do the bootloader unlock...

You will need the model number, serial number, IMEI or MEID, product id (which you get by entering: *#*#1357946#*#*)

Before you can get to the form though you need to make an account.

So FIRST go to: https://emui.huawei.com/en/plugin/unlock/detail

Then click " Don't have a Huawei ID? Register for Free >> "

Then you should be automatically logged in, no need to open your email to verify the email you used is yours, etc.

You will then be taken to the online form that I mentioned in the beginning of this reply.

Just remember the serial number should be 16 digits/letters long.

After you have entered all the info along with the verification code click the "commit" button.

A box will show up below where you entered the verification code. It will say "your unlocking password is : passwordhere"

Hope this helps someone. I just found it a little bit ago! :)
[Huawei Ascend Mate 2] Rommul:
I had the same problem.

Thanks.
[Huawei Ascend Mate 2] ScoobSTi:
Man, now my phone has just as much functionality as it did before root. :( Hope this can be fixed.

Do you have Xposed?
[Huawei Ascend Mate 2] rjan22:
Someone make a video so people that are new don't brick their HAM2

Guys and anyone make a video of the whole process to help those people who are really new @ this so they don't brick their HAM2, I can do it but need to access my PC and I will be home till next FRIDAY, share the love guys.

By the way we are donating to who??? Give love guys. It's just like treating the guy who made this happen one burger @ Burger King or a Coffee @ Starbucks please donate to him.
[Huawei Ascend Mate 2] the.tall.man:
Towelroot worked a treat!

Couldn't get adb to see the device until I installed, http://www.huawei.com/minisite/HiSuite_en/.

Are we donating to dbmj? Can we get a paypal address sorted out?
[Huawei Ascend Mate 2] rekamyenom:
what do you mean, now your phone has just as much functionality as it did before root? Yes I have Xposed.
[Huawei Ascend Mate 2] ScoobSTi:
I could do it if school wouldn't get in the way! :p

And as for who we're donating to, I guess dbmj?

Ok I was exaggerating lol but I can't use 75% of my Xposed modules, because apparently Huawei's ROMs and Xposed can conflict. It's in that link TheGeekRedneck posted. Xposed is fully functional for you?
[Huawei Ascend Mate 2] zzEvilGeniuszz:
I think downgrading to 2.6 xposed is needed, my 2.7 isn't working.
[Huawei Ascend Mate 2] rekamyenom:
I suck at making videos, but I will give it a go unless somebody beats me to it. I'll post on youtube.
[Huawei Ascend Mate 2] zzEvilGeniuszz:
I was the one who rooted first.... how quickly we all forget.

o_O

ha ha

No but seriously we need to find a way to make xposed work
[Huawei Ascend Mate 2] ScoobSTi:
Just tried it, same results. :( I guess we need custom ROMs in order for it to work.

Viper4Android doesn't work either! Basically I've rooted for no reason. I wanted root for Xposed and the V4A equalizer, and now none of them work. :crying:
[Huawei Ascend Mate 2] zzEvilGeniuszz:
In 2.6....

Solution:

As a workaround, you can simply disable the resources API in the Xposed Installer settings. Some modules won't work anymore, but most should still work.

Mid-term, I hope that I can build a solution that works with such ROMs as well, however it will take some time.
[Huawei Ascend Mate 2] Dorlerolyat:
Woot, woot, we got root! Used towelroot and installed supersu with no problems. Big thanks to scoob for getting this ball rolling and everyone who put time in on finishing this.

I was able to get my bootloader unlocked via email from Huawei a couple days ago, but I couldn't post in the dev thread due to lack of posts lol.
[Huawei Ascend Mate 2] ScoobSTi:
Yes, I have 2.6 installed and I enabled that option. Some modules work and some don't, but the most important one for me, GravityBox, doesn't work. The rest of the modules I could live without.
[Huawei Ascend Mate 2] rjan22:
Keep posting on other thread so you can link it, the faster the better this will take off.
[Huawei Ascend Mate 2] :
Congrats guys/gals. Welcome to the "dark side" LOL.
[Huawei Ascend Mate 2] iammudd:
Have you try backing up? I can restore fine but I'm having the dreaded "Insufficient Free Storage Space" error when attempting to backup.

I've tried without luck:

changing the backup folder to /sdcard, /storage/sdcard0, and /storage/sdcard1 (64GB FAT32 and a smaller 2GB SD)

updating system/etc/permissions/platform.xml (manually as well as using NextApp SDFix)

overwriting /system/xbin/su (125420 bytes) with CWM's su (311872 bytes)

On other phones, some people were successful using /storage/legacy... but the MT2-L03 doesn't have that.
[Huawei Ascend Mate 2] rjan22:
Anyone made a step by step video yet???

Just an update if anyone made a step by step video yet so we can help new Android user to not brick their phone, the more people can actually do this will benefit dev and us too, we need a video to help new users not to brick their HAM2.

Like I said I will be home this friday so hope someone can beat me to it and please make it a complete guide thanks. Happy weekend.
[Huawei Ascend Mate 2] iammudd:
I have had success with Installer 2.5.1 http://dl-count.xposed.info/modules/de.robv.android.xposed.installer_v29_665be7.apk which can be installed WITH the hooks enabled.

I'm happy with that since all I wanted was a version of App Settings which will run.

App Settings 1.8 is the latest version which does NOT need the new installer. http://dl-count.xposed.info/modules/de.robv.android.xposed.mods.appsettings_v26_9a0c47.apk

Gmail doesn't look too bad in tablet mode with 190 DPI, Font Scale 120 and screen DPI 1000x1600.
[Huawei Ascend Mate 2] zzEvilGeniuszz:
I am extremely disappointed the one module in Xposed that I wanted (Google API) does not work.

DAMNIT!!!!

---------- Post added at 07:16 PM ---------- Previous post was at 07:02 PM ----------

There was a brand new stable GB release today for Xposed. (JB version)
[Huawei Ascend Mate 2] iammudd:
GravityBox seems to be working with Installer 2.5.1. (See my other post. ) I can add battery percent, etc to status bar.

Some tweaks are not available as they conflict with stock options. (e.g. QuickSettings Tiles, Power Button reboot options not available...but CAN add screenshot soft button.)
[Huawei Ascend Mate 2] gale2000:
I hate to be greedy....but does anyone know when we will have a recovery?
[Huawei Ascend Mate 2] zzEvilGeniuszz:
I have tried several xposed versions and I still cannot get my programs to show up in my Google Search API list...

This is crucial if you wanna get Google Now to perform executing Tasker task which is what I am trying to accomplish.
[Huawei Ascend Mate 2] ScoobSTi:
Thanks, I will try 2.5.1 and report back.

I have no clue, but there is a user trying to learn how to port CWM!

Try Commandr, works very well for what I need.
[Huawei Ascend Mate 2] zzEvilGeniuszz:
I have found a solution and this may work for you as well. Update to experimental version of Xposed. Reboot the phone. Then uninstall your module, reinstall and reboot.
[Huawei Ascend Mate 2] ScoobSTi:
Tried this instead, sadly GravityBox still doesn't work. I guess I can try to find alternatives. GB is supposed to work with ROMs that are close to AOSP anyway.

Edit: Here is the link to Commandr.
[Huawei Ascend Mate 2] p51d007:
Congrats!

Hopefully one of you guru's can make an easier app to unlock the boatloader a tad bit easier, or port the

program to English.

Root isn't that "important" to me, but it would be a nice thing to have, in case needed.
[Huawei Ascend Mate 2] ScoobSTi:
Xordos labeled everything in English for us here. Pretty simple, just type in everything and you get a TXT file with the unlock code.

I believe someone is making a video on the entire process?
[Huawei Ascend Mate 2] Dvalin21:
WiFi Hotspot

Ok guys, I notice that when i put in my sim card, and check the APN. It automatically had one setup for the wifi hotspot which of course tells T-mobile what your doing. HOWEVER, can anyone find a way we can delete it? Before it was grayed out on the phone.
[Huawei Ascend Mate 2] :
This will help to give an idea for setting up your device tree. Need it in order to build a custom recovery. My device tree for my device is set around for building TWRP. It's really easy. Just need to get the right info and files based on your device.

https://github.com/ModdingMyMind/android_device_htc_k2_cl_recovery

Hope it helps :)
[Huawei Ascend Mate 2] xordos:
[MENTION=5537766]Modding.MyMind[/MENTION], can you take a look my other thread in General section about request recovery?

Thanks.
[Huawei Ascend Mate 2] aragon257:
To get the newest version of exposed working you need a build.prop editor.

look for ro.config.hwtheme=2 change the 2 to 0 and reboot.

Tonight I would like to make a proper root guide so users won't have to dig through posts if that's okay with everyone.
[Huawei Ascend Mate 2] ScoobSTi:
I'm not sure I understand this? I thought the APN settings affected network (cell) settings, not WiFi.

For some reason, I'm scared to try this lol. What would this do?

And an organized post would be great! Just link back to the guys who found the methods I guess.
[Huawei Ascend Mate 2] aragon257:
Dont worry it should be safe, just used build.prop editor from the play store. It disables Huawei themes I think. There was a problem with Emotition UI and xposed. You can always undo the change.
[Huawei Ascend Mate 2] ScoobSTi:
This worked! Thanks a lot! :D
[Huawei Ascend Mate 2] Dvalin21:
There is a separate APN for the Wifi Hotspot, so that the carrier can block users who dont subscribe. Another thing I found out about it is that it will just from metropcs to tmobile and vice versa depending on whats being currently used. My Carrier is T-mobile. The problem is in the following path data\data\com.android.providers.telephony\databases\telephony.db. Every time I delete it, and restart it always comes back. I'm wondering if the sim card holds the information. Either way, would anyone know how i would get around this? Also, I notice, i did the normal root, however I can't access my internal or external sd cards
[Huawei Ascend Mate 2] Bobvark:
ok, so what did you all do to backup your phone? I'm trying Helium but can't get past the waiting for desktop app to enable backup. The desktop app says it's connected and ready....

I usually use Titanium but no root, went back to Helium since I don't have root (yet).... So what did you all do to backup your phone?
[Huawei Ascend Mate 2] ScoobSTi:
I just risked it and went without backup. Not ideal, yes.

I think somewhere in the Settings you can find a backup option, but I don't know what it backs up.
[Huawei Ascend Mate 2] Bobvark:
I'm not worried about the nandroid backup, I'm guessing we can't do that... but would love to not have to reinstall all my apps and settings! So just wondered what everyone else did to back those up.
[Huawei Ascend Mate 2] :
You can dump your partitions to your sdcard then store them on your computer for safe keeping.

Not sure if your phone will allow you to write back the image to the proper partition though. I imagine since the bootloader is unlocked then it will allow it.

To confirm you could try with your cache partition.

dd if=/path/to/cache_partition of=/sdcard/cache.img

Then, with root privileges, simply reverse it for a quick test.

dd if=/sdcard/cache.img of=/path/to/cache_partition

Worse case, dd reports that it failed and cannot write to it.

Also, you may need to mount your system as RW as well.

If it works, then that would be your best bet to backing up your device.

However, it will only go so far. If you soft brick your device then you won't actually be able to write back those images using dd.

A custom recovery would be the ultimate answer. With that, a soft brick is easily fixable.

A hard brick of course would mean your device is paperweight period, but it's REALLY hard to hard brick an android device.

I wouldn't start doing any heavy modding to your device until a custom recovery is made available.
[Huawei Ascend Mate 2] rekamyenom:
Anyone know where the "page transitions" (or whatever they are called) are kept on the Huawei Ascend Mate phones? The Mate 1 has a few page transitions that I like better than on the Mate 2, I want to copy them from the Mate 1 to the Mate 2.
[Huawei Ascend Mate 2] ScoobSTi:
Do you mean on the home screen? I think you tap and hold a blank spot on the home screen and there will be customization options there.
[Huawei Ascend Mate 2] rekamyenom:
Correct, yes. I want to import the transitions from the Mate 1 to the Mate 2. There is one on the Mate 1 that I love, that is NOT on the Mate 2.

I was able to do it with all the themes, and found the Chinese site that had 100's of themes for the Mate as well, I downloaded over 100 and put them on my mate 2.
[Huawei Ascend Mate 2] ScoobSTi:
Oh I see. I have no clue then. Nova launcher has a number of transitions, if you want to switch/try it.
[Huawei Ascend Mate 2] rekamyenom:
Here is all the themes if you want them

http://www.emui.com/plugin.php?id=themezone&zone=theme&mod=list&model=P6&version=EMUI2.0

Download them. and put the in the folder "HWThemes" on your EXTERNAL SD Card.

FYI, it doesn't matter what version of Emotion you have, all the themes work with any version, cross platform

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

I prefer the native UI over a launcher.
[Huawei Ascend Mate 2] ScoobSTi:
Hmm, I've been getting System UI crashes ever since I messed with build.prop to fully allow Xposed to work. I think I should disable some of it, but I don't want to revert back to stock UI! :(
[Huawei Ascend Mate 2] iammudd:
I haven't experienced crashes with 2.6.1 but I'm still having problems writing to /storage. Titanium Backup CAN create new folders under sdcard0 and sdcard1. I think it must have write access without root. But when it tries to do a backup, it must "su" first to backup system data, etc. ...

And when I "su", I find that the sdcards are not mounted. Does anyone know how to mount them permanently for root? The missing mounts are below:

/dev/block/vold/179:25 /storage/sdcard0 vfat rw,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:65 /storage/sdcard1 vfat rw,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:65 /mnt/secure/asec vfat rw,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /storage/sdcard1/.android_secure tmpfs ro,seclabel,relatime,size=0k,mode=000 0 0

Update:

Mounting the above manually didn't help. When I selected items individually, I discovered that TB will backup VIRTUAL items properly. So there are other file permission issues. Moving the issue to a thread started by another person with same problems:

http://xdaforums.com/ascend-mate2/general/titanium-backup-t2872914
[Huawei Ascend Mate 2] tomlemange:
What root app is everyone using? I have an mt2-l05 and I've been rooted for some time using root genius and kinguser. Curious what you mt2-l03 people are using. Anytime I tried to use supersu or superuser and uninstall kinguser it would just mess up my root to the point that I couldn't unroot or reroot and I would have to do a factory reset.
[Huawei Ascend Mate 2] D33PTHAWTE:
I downloaded the 7zip file in op, but when I scanned it with anti-virus software it was found to be infected with virus. Deleted and tried downloading a second time, same thing. Anyone know where I can get a clean version of the unlock code generator?
[Huawei Ascend Mate 2] xordos:
try towelroot. I feel the same kinguser is not supersu friendly.

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

maybe av is too sensitive or indeed there is virus/trojan. More likely it is prior, but its you call. Some risk is worth taken. :)
[Huawei Ascend Mate 2] :
Most keygens are usually flagged. Has been that way since as far as I can remember.
[Huawei Ascend Mate 2] BBCHAMPs:
I can confirm that I have root. The Chinese program provided works as advertised. Just follow the instructions and all should be good. I have a couple pics to provide. I used towelroot.apk
[Huawei Ascend Mate 2] Bobvark:
ok anyone know how to relock the bootloader?

---------- Post added at 02:48 AM ---------- Previous post was at 02:41 AM ----------

never mind. Turns out the new Amazon app if F'n up phones.... got in long enough to delete that and all is well.
[Huawei Ascend Mate 2] synle:
I have a lot of problems with exchange in huawei default email and calendar app. I removed hw exchange and email and replace it with ASOP email and exchange services and it works like a charm. You can download it here

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

Also for Xpose I used 2.6 and gravity box version works. With it you can pretty much get everything that custom rom offers.
[Huawei Ascend Mate 2] T i h o r:
ADB HELP!

I can't seem to get ADB to fire up for the life of me. Is it an app run on my device, or so I run it on win7? Can't I just reboot using volume/power buttons into fastboot?

So frustrating..
[Huawei Ascend Mate 2] zzEvilGeniuszz:
Do you have the Android SDK installed?