yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend Mate 2] TheGeekRedneck:
Awesome!

Unlocked the bootloader on my HAM2, used Kingo, and within about 2 minutes my phone was rooted and SuperSU was installed.

Installing Xposed Framework now... hoping it will let me change the god awful gray background on the navbar!
[Huawei Ascend Mate 2] ScoobSTi:
Let us know how Xposed goes! I keep having issues with it. Some modules work, and some don't?
[Huawei Ascend Mate 2] TheGeekRedneck:
Yeah, unfortunately I'm having zero luck even getting the framework installed.

The installer goes through the motions, but then after rebooting it says the framework isn't installed.

Checked permissions in SuperSU and the Xposed installer definitely has root access.... so I'm stumped.
[Huawei Ascend Mate 2] ScoobSTi:
Made a post here in Xposed support, hope I get a response soon!
[Huawei Ascend Mate 2] TheGeekRedneck:
Saw this when researching the problem:

http://xdaforums.com/showpost.php?p=52801382&postcount=8
[Huawei Ascend Mate 2] rekamyenom:
I would use towelroot after unlocking the bootloader

https://towelroot.com/
[Huawei Ascend Mate 2] garrydell:
Yes I got the unlock code, but the screen was saying "waiting for device".
[Huawei Ascend Mate 2] arcadesdude:
Did you enable developer mode on the phone?
[Huawei Ascend Mate 2] zombunny:
I'm trying this, but having issues. Last terminal line is

C:\Program Files <86>\Minimal ADB and Fastboot>adb.exe wait-for-device

That is what comes up every time I put in the first code. My android shows at the top

Bootloader lock state: LOCKED

Press and hold power key for 10s or more to forcibly re-boot

I'm assuming all this is the correct manner, but I cannot input the second code. Terminal still has flashing cursor, and I can scroll up and down with arrow keys, but otherwise acts frozen. Cannot paste anything else to it beyond this point, and cannot manually type in second code. What am I doing incorrectly?

Edit: If anyone asks, I do have usb debugging enabled
[Huawei Ascend Mate 2] garrydell:
Yes i had it on

---------- Post added at 08:45 PM ---------- Previous post was at 08:40 PM ----------

hi, I'm having the same problem.
[Huawei Ascend Mate 2] j_r17ca:
Download 15sec adb. This is the way i did it.

http://xdaforums.com/showthread.php?t=2588979
[Huawei Ascend Mate 2] zombunny:
Alright, so MAYBE I've fixed the problem. The unlock code I was getting using from the Chinese Huawei software was giving me Chinese characters. I figured that was correct though. Now, I sent an email to mobile@huawei.com saying

"I purchased a huawei Ascend Mate 2 MT2-L03 and would like a bootloader unlock code

S/N: (seriel number)

IMEI: (Imei number)

Thank you."

Within that same day, they emailed back

"Dear customer

Thank you for supporting Huawei device.

My working number is ****.

Your bootloader unlock code: ****************.

Please keep your unlock code properly. Thank you!"

And the code was all normal english numerical.

I'll report back if it works or doesn't

---------- Post added at 01:48 PM ---------- Previous post was at 01:30 PM ----------

Still the same result. Terminal still won't allow pasting after C:\Program Files <86>\Minimal ADB and Fastboot>adb.exe wait-for-device

EDIT: OH LOL, boy am I stupid. Can someone get me coffee???

You can't copy-paste the code, you must manually type each line of the code yourself.

My phone has booted and was factory reset. Successfully followed up with KingoRoot.... MY HUAWEI IS ROOTED! Woohoo!!
[Huawei Ascend Mate 2] garrydell:
hi again, i got a 16 number unlock codes. still trying over and over and not work.
[Huawei Ascend Mate 2] lowao:
Thanks all, just got my unlock code after about an hour wait on the reply from mobile@huawei.com sent at 10EST. My phone is currently unlocked, TWRP2.0 installed, and used TowelRoot from the individual with the provided link below. Also, I am on AT&T and I had to manual cut down my sim card to MicroSim.

Cheers everyone!

http://xdaforums.com/showpost.php?p=59003484&postcount=376
[Huawei Ascend Mate 2] zombunny:
Ok, try it the way I did if you haven't already. First, MANUALLY type in (don't copy paste):

adb.exe wait-for-device

Then hit enter, and type in the next line:

adb.exe reboot bootloader

Now your phone should have been rebooted into fastboot mode. There will be a note LOCKED on the top of the screen. Then use fastboost and your unlock code to unlock your phone

Same as before, type each one individually:

fastboot.exe devices

fastboot.exe oem unlock YOUR_UNLOCK_CODE
[Huawei Ascend Mate 2] :
To piggy back off of this; should you be using linux then leave out the exe extension since exe is an executable for windows. Cheers.

---------- Post added at 07:07 PM ---------- Previous post was at 07:05 PM ----------

Can someone try out this other found method using my information above and let me know if anything good comes out of it. I currently cannot do it myself since this method requires a Windows operating system and I currently use Linux.

Copy paste again all the URLs:

http://mate7.net/ascend-mate7-bootloader-unlock

http://mate7.net/wp-content/uploads/2014/11/Huawei_Product_ID_Generator.zip

http://en.club.vmall.com/emotiondownload.php?mod=unlock&action=pre
[Huawei Ascend Mate 2] lowao:
>Modding.MyMind

I have not tried unlocking phones on Linux. But do you not have a VM available to you? VirtualBox is free and you can pass along USB connections through the host to the guest.

Tapatalk を使用して私の MT2L03 から送信
[Huawei Ascend Mate 2] :
I could do that but that would require for me to allocate some space on my linux distro in order to run windows which I can't do because my linux distro needs as much space as possible since I develop using it. Things such as building recoveries, roms, compiling extensive projects for usage on androids etc etc. I do have my mac computer being sent to me but no telling when I will get my hands on it. When it arrives I plan to wipe out the mac os and install linux on it. Then I can take my current laptop and reinstall windows since my mac computer is much more powerful then the computer I am currently using. But as I said, there is no exact time frame as to when I will get my mac computer back. Could be anywhere from a week to a couple of months due to personal reasons.
[Huawei Ascend Mate 2] lowao:
>Modding.MyMind

There has to be a way to run abd on Linux. Another user said not to use the exe extension under Linux which tells me that it should be possible to run it.

Tapatalk を使用して私の MT2L03 から送信
[Huawei Ascend Mate 2] :
Running adb isn't the problem. The program(s) used for obtaining a fake product ID and so forth are built to be ran on windows only and not linux.

Edit: this is why I requested for someone else to do it because so far it seems the majority who have this device use windows. With that said, I will repost the link to my previous post so people who have time can check it out and report back.

http://xdaforums.com/showpost.php?p=59124091&postcount=390
[Huawei Ascend Mate 2] lowao:
Modding.MyMind,

Ah, I see. I misunderstood you. Sorry for that. Go ahead and contact mobile@huawei with your S/N and IMEI on the back of the phone under the cap. Do not use the software's S/N and IMEI. If you e-mail Huawei now. You should get a reply within the hour. You may want to e-mail them again on Monday's night if you do not receive any reply. The software to get your unlock code hasn't worked for a while.
[Huawei Ascend Mate 2] j_r17ca:
and also the software doesn't work on our device. I emailed them and got a reply after 5mins
[Huawei Ascend Mate 2] :
You guys have been fortunate. Been emailing them since like September of last year lol. Oh well. Is what it is.
[Huawei Ascend Mate 2] foltz61:
Maybe the app will run in BartPE from a usb drive?
[Huawei Ascend Mate 2] lowao:
Modding.MyMind

You have to send the message late like 10EST on a Monday or Tuesday. This is during their business hours in China.
[Huawei Ascend Mate 2] :
I'm aware of this but as I already stated, no response. Even before and after their recent holiday.
[Huawei Ascend Mate 2] arcadesdude:
Try from a different email address? I think a member with a hotmail address had issues not receiving his code.
[Huawei Ascend Mate 2] lowao:
To piggy back off the other member, I sent mine from gmail if that helps. I even used the provided script just because I was too lazy to write out my own e-mail body.
[Huawei Ascend Mate 2] :
I've used gmail and yahoo
[Huawei Ascend Mate 2] superbass311:
I unlocked 8 phones now from Gmail using the same account. has to be operator error somewhere
[Huawei Ascend Mate 2] Sandro8771:
It's good to see you guys unlocking your devices with so much ease. An I'm envious.

Not so much luck for me though.

The Unlocking process is the same for all Huawei devices and I've got my unlock code more than 3 week's ago and still unable to do it.

Hisuite recognizes my device but when in fastboot mode it's unknown device.
[Huawei Ascend Mate 2] garrydell:
hi again, i have tried it by copying and pasting, and also typing it in manually still not working.
[Huawei Ascend Mate 2] leo221:
Your phone isn't coomunicating with you computer. Make sure

1. It is in fastboot mode

2. Physically plugged to compter via USB

3. Correct driver installed

Also, read instructions. You don't use adb command to unlock. Used fastboot command in fastboot mode
[Huawei Ascend Mate 2] garrydell:
When i use it this way i see communication, look at this.
[Huawei Ascend Mate 2] j_r17ca:
That means your not on fastboot mode.

Watch this video. It will help you.

http://youtu.be/jsRElLozUh4
[Huawei Ascend Mate 2] xordos:
In this state, you can use following adb cmd to enter fastboot mode:

Update: ah, now I saw you previous post that you already run this command, then after run above cmd, is your phone in fastboot mode?

also, before you run unlock, you can use following to list device as well in fastboot mode:

fastboot devices
[Huawei Ascend Mate 2] Iguanadon:
What I did at waiting for device prompt was to then hold power and volume rocker "down" (Fast boot?) and wait. Device was found and unlocked.

Sorry for not remembering correct key combo lol
[Huawei Ascend Mate 2] garrydell:
Hi,

the adb reboot bootloader, reboots the phone to the points where its tells you that bootloader is Locked. Then when i try fastboot devices, nothing happens. so i think im having problem with fastboot!?
[Huawei Ascend Mate 2] leo221:
shutdown phone, press hold vol down, then power on till you get into fastboot, plug in usb and try again.
[Huawei Ascend Mate 2] garrydell:
did this over and over, no luck
[Huawei Ascend Mate 2] sha91:
Yeah, I know the feeling. I've been at it for more then a month now.

adb. exe device recognized

fastboot. exe device sometimes recognizes device as MT6592 (Honor 3x Pro) but once in bootloader mode Unknown device.

Tried so many drivers, even PdaNetA4170 and a host of others.

Damn, HiSuite recognizes my make and model but still in fastboot mode the same results: Unknown device!!!

Even cleaned out pc and with different USBcables tried 10s of times, no luck.
[Huawei Ascend Mate 2] leo221:
is your mate2 non-branded? consumer? I have consumer, the driver is in the phone's partition. use that.
[Huawei Ascend Mate 2] Moody66:
Go play store and get an app called quick boot. It will get you into recovery or boot loader with one click. Other than that you can install the drivers off the phone vootibg normally and hook it up as a drive.
[Huawei Ascend Mate 2] garrydell:
hi,

no its not a consumer, i tried the quick boot and it says i have to be rooted or the app just close. what is the name of the driver on the phone, did some search but didn't see anything. thanks man

---------- Post added 11th March 2015 at 12:07 AM ---------- Previous post was 10th March 2015 at 11:43 PM ----------

same here never had so much problem flash a phone.
[Huawei Ascend Mate 2] Alucai Vivorvel:
Xposed screwed up

Hey, so, something updated on Xposed, didn't check what before rebooting, and it obliterated my navigation bar. I restored a backup and now the ugly grey bar is back (as is the huge DPI), but now no Xposed modules are recognizing that they're checked. I have the "disable resource hooks" or whatever it's called but it's still not working.
[Huawei Ascend Mate 2] kimtyson:
If I understand your post you are saying it used to work and now it doesn't? Maybe restore a backup and then figure out from there what you did to break it. Could have been an Xposed update but it could also have been something else.
[Huawei Ascend Mate 2] Alucai Vivorvel:
I did restore a backup, as mentioned in the post.

I think the Xposed framework itself might have been updated, which could have broken it as a whole (though some modules still worked, like the Advanced Power Menu or APM+ and the Xposed Torch). I'll report back if I figure it out. For now I uninstalled the framework and basically returned to stock.
[Huawei Ascend Mate 2] pucherto123:
Which version of xpose do you have? Because remember I had to change something on the built prop in order for it to work

I'm using version 2.6.1 btw
[Huawei Ascend Mate 2] Alucai Vivorvel:
Finally! Got it working!

I'm using 2.6.1 as well, I think. If not then it's the latest experimental.

I'm not certain which step exactly was the key, but I uninstalled Xposed, both the framework and the Installer itself, and downloaded the latest version of the installer from the project website. Then, after reinstalling the app and the framework, I rebooted. Then I made sure that the box for disallowing modules to edit resources was unchecked, because I had already modified that part in the build.prop that partially disables the Huawei theme.

After that I installed the GravityBox module to test, but before I activated it I rebooted. Then I activated it, and rebooted again, and now ALL modules work properly again! :D

Now, to make a backup with TWRP and then I'll readjust the DPI, since restoring the older backup restored the stock DPI.
[Huawei Ascend Mate 2] kimtyson:
Congrats. Sorry I missed that you did backup already.

Thanks for this post. Easy to follow instructions for the next guy to do.
[Huawei Ascend Mate 2] Alucai Vivorvel:
It's fine. And yes, while I hope nobody else has to go through what I did, my instructions will at least be a guideline for them.
[Huawei Ascend Mate 2] kimtyson:
Where is the setting you mentioned, "the box for disallowing modules to edit resources was unchecked"?

Also, I can't seem to get my Advanced Power Menu to show. I tried it in Gravity Box and also tried to APM+ module. Any help? Thanks in advance.
[Huawei Ascend Mate 2] Alucai Vivorvel:
Sorry, I wasn't totally coherent last night I guess. That'd be the "Disabled resource hooks" in Xposed Installer's Settings. Make sure that's unchecked.

I had the same problem with APM+ before I reinstalled Xposed. After ensuring that box is unchecked, and that you made the hwtheme edit in build.prop, go back into APM+. Should have asked, does your APM+ show your menu items? It's just not showing on your power menu? Or are the menu items not showing at all in APM+?
[Huawei Ascend Mate 2] kimtyson:
Thanks for the fast reply.

I thought that you meant "Disabled resource hooks" but your wording didn't match so I wanted to verify.

I figured out the APM+ thing. I removed the stock Reboot and added Reboot in APM+. All is working now. Coolio!
[Huawei Ascend Mate 2] Alucai Vivorvel:
Yup, even checking the "mod for advanced reboot" or whatever it is box in the stock reboot item doesn't work. Have to entirely replace it.

Glad you figured it out!
[Huawei Ascend Mate 2] pckarma112:
no login error

I am using the chinese tool posted here to try to get my unlock code. i have installed the hisuite and adb. followed the directions completely. Yet everytime i click the last button i keep getting a no login error along with my iemi number and some chinese characters. Ive gone back over the directions. I cant find what I may be doing wrong. The error reads like this: MEID/IMEI:*6275402090502*

??????:no_login................................Any ideas what i may be missing? Thanks.
[Huawei Ascend Mate 2] Alucai Vivorvel:
Hey, we've determined in the past that tool no longer works. Hasn't for some time now. It's possible the situation has changed; Huawei might have added this phone to a newer tool. But most, myself included, got their unlock code by emailing Huawei support at mobile@huawei.com. Ask nicely, supply your IMEI, serial number found on the battery, and the type of phone (Huawei Ascend Mate 2) and you should get a reply with the unlock code.

You might get the reply the same day, within a couple of days, or you might have to send a request multiple times, but in the end you should get it.
[Huawei Ascend Mate 2] volcolm:
Email Huawei with this

Send email around 08:00 CDT (01:00 GMT).

__________________________________________

I would like to note that you're better off using TowelRoot then just getting SuperSU. Android complains about the apk trying to run exploits but it's quicker than KingoApp (Android used to complain of Kingo doing the same thing a couple years ago), apparently doesn't require a restart after root (but personally I reflash to be safe anyway).

I would recommend staying away from KingoApp. They aren't hosting the app on their site any longer, instead, are using CNET download.com, which was ran in a sandbox using Avast. The file tries to add a bunch of registry values, throws a bunch of hijacking XML code into IE and Firefox, and tries to do something else (the application errored out when it realized it was in a sandbox). Do not install from CNET download.com. The following were located:

PUP.Optional.Trovi.A

PUP.Optionl.Taplika.A

PUP.Optional.Proinstall

PUP.Optional.DownloadAdmin.C (points to another EXE that shouldn't exist in the original app)

Some are installed in AppData, a bunch of registry edits, and XML injection through temp folders.

Malwarebytes found 27 instances. Once Malwarebytes blocked all of the malware keys in the sandbox, the program errored out with "No proper permissions".

I once downloaded from a sister site accidentally, even having 3 of those Taplika entries (and about 5 registry keys) was bad enough to clean, couldn't imagine what havoc this would wreak with 27 bloody entries.

_____________

Secondly, KingoApp (or, rather its SU binaries) are out of date now. It prompts me to download the KingoSU apk but it won't install. SuperSU works fine but it won't overwrite KingoApps implementation of SU.

______________

Save yourself the headache, TowelRoot and install SuperSU instead.
[Huawei Ascend Mate 2] pckarma112:
Yup

Thanks for informing me. After doing some further reading I saw the note about email. I even copied how to ask from here. Sent email last night. Found the reply this morning waiting for me. I have my code. Now, I just have some learning to do with ADB. Gona work on it and try to get my beloved root. This thread has been very helpful and I will follow it to try to get this done. Again, thanks.
[Huawei Ascend Mate 2] Alucai Vivorvel:
Good luck! And as the user above said, just use Towelroot. Android will likely try to tell you it's dangerous and/or malware, but ignore it until you have run it and have root. Then you can safely delete it.

Here's the link. Go to it after you've entered your unlock code and installed the custom TWRP (a quick search through this thread should bring it up, if not I'll get you a link), tap the lambda, and install the APK. Make sure you have "Unknown sources" checked in your System settings-> Security.
[Huawei Ascend Mate 2] pckarma112:
Thanks again again

Holy smokes! Got it on first try. I am not that familiar with adb. But the directions were perfect. Now off to root. I know of tr and have used it in the past. I hope installing recovery will be as easy as this. Again, I just want to say thanks to you guys for putting in the work and the directions on how to do this. This phone was a good deal to begin with. Now it will become great. My only concern was reading the precautions on Huawei's website about unlocking bl. If they ever do come out with a lp update. I hope unlocking wont spoil it. I know root can. But i know supersu has a little workaround that sometimes works. I guess its the price we pay for wanting full acess to our phones. Il find out in future..:good::good::good:
[Huawei Ascend Mate 2] Alucai Vivorvel:
If necessary, you can unroot. That should do it, but then again, Lollipop might expect stock recovery like other OEM OTAs.

Oh well, I'm sure somebody on here will figure it out, considering how long we've been waiting for Lollipop.

Glad you got it unlocked!
[Huawei Ascend Mate 2] :
Users will in fact be required to use their stock recovery should this device receive an OTA update. Once the update is complete TWRP must be updated by source to accommodate any new changes such as partitions and their sizes should it be applicable and most certainly the kernel. Older TWRP versions may have issues if ran on Lollipop - a hit and miss.
[Huawei Ascend Mate 2] kimtyson:
Once Lollipop is released (IF it's released) for our phone there will be some kind person who will provide us with awesome instructions. And if we are super lucky we will even get a zip that we can just install from TWRP.
[Huawei Ascend Mate 2] Alucai Vivorvel:
That would be ideal I think.
[Huawei Ascend Mate 2] :
When the update comes it is pretty simple to accept the update.

Users must first insure that they restore their system partition should they have deleted or modified ANY system files in the past or else it will cause the update to fail since most updates apply patches which not only makes it easier to update but helps to reduce it's size overall. The patches cannot be applied to any system files that do not exist or have been modified as it could cause some serious instabilities.

Once the user confirms that their system partition is good to go then the next step will be to reinstall your stock recovery. To reinstall your stock recovery is no different then how you went about installing your TWRP recovery. The steps are the same.

Once all of the above is given a thumbs up by the user then accept the update.

If the update still fails then grab a TWRP backup from another xda member. Install TWRP recovery again and restore using that backup. Make sure you reinstall your stock recovery after you are done.

The TWRP backup for your system partition should not be missing any files nor should any files be modified such as the build.prop file for example.

If you have added files to your system such as root then those files will not affect your update because the update shouldn't be checking those added files.

Hope this clears it up some :)

Maybe adding this post to the OP could be useful in the future.
[Huawei Ascend Mate 2] Alucai Vivorvel:
So changing my DPI might break the update?

Also I forgot how I installed TWRP. [emoji52]
[Huawei Ascend Mate 2] :
Yes

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

Also, Lollipop uses a linker file located at /system/bin that prevents non PIE binaries from working by blocking them. If any of your apps are using non PIE binaries when you switch over to Lollipop then expect them to fail unless the developer has added support for Lollipop. This includes something as simple as Busybox. It is possible to hack the linker file and force it to ignore those check so that non PIE binaries will work but I would have to make a full thread/guide on that mess lol. Had to do this to get GraphicsMagick to work on Lollipop since I haven't been able to successfully compile it as PIE yet.

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

fastboot flash recovery stockrecovery.img