yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend Mate 2] :
That is good that the two devices are on the same SoC however I have a relatively important question to ask. Do both the L05 and C00 models contain the same partition layouts? For example, lets say, hypothetically speaking, that the boot partition for device one was mmcblk0p20, then would device two be equal to that and following through with the other partitions as well? Most newer model phones these days will use the "by name" scheme which is in lamen terms just a mere variable that directs to the actual value stored to that variable in which always points to the correct location as it should. So my next question would be, does the device tree include these "by names" variables?

Merely asking this so as to clear the air with less in experience users as to prevent any future complications as well as a better understanding.
[Huawei Ascend Mate 2] Kostyan_nsk:
Yes, partitions are mounted via "by-name".
[Huawei Ascend Mate 2] :
Outstanding! One more question. Are the partition sizes for both devices identical? If not, then it would not be safe to use this TWRP build for both devices but presumably only for the C00 model given that it was initially built based on it's structure. Appreciate your timely response :)
[Huawei Ascend Mate 2] 4L0M:
I can confirm that the this recovery works perfectly on MT2-L05.

I have used it to back up and restore system, boot and data partitions and it's worked flawlessly every time.
[Huawei Ascend Mate 2] Kostyan_nsk:
The only place where size of partitions is defined is BoardConfig.mk, owners of L05 can compare them with their own.

But I didn't notice that these variables somehow related to TWRP. For example, there is not defined size of 'cust' partition, but TWRP makes backup of it or some other partition placed in twrp.fstab successfully.

TWRP has its own methods of determinig size of partitions, so do you have any proves that it could be unsafe to use for L05 if partition's sizes are not identical?

I'm just curios what your suggestions are based on? ;)
[Huawei Ascend Mate 2] :
I'm sure it does and I appreciate the reply back. Glad to here it actually. I merely asked because in any given device tree used to build from source, twrp in this case, you must determine the used partitions and their sizes and allocate that information towards the boardconfig.mk file. I own a K2_CL as well and there are also three other models to that variant. All of which are on the same SoC, but not only are their partition layouts different but so are their partition sizes. Having said that, it could cause problems should the improper TWRP be used in this case. For example, if you were to use TWRP to say, wipe your data partition and reformat it, but the sizes for the data partition were different from each other then you would literally be resizing your partition where it be smaller or larger than before. Even more so, say it were to enlarge it, then by doing so, it could presumably crash the phone since any given device is given but only so much space unless it were to be intentionally manipulated which is far outside of this discussion. :)
[Huawei Ascend Mate 2] Kostyan_nsk:
Take a look at TWPartition::Wipe_EXT4() function ;)
[Huawei Ascend Mate 2] :
Just got off of work. Decided to take a look at partitions.cpp and I am seeingng what you are pointing out. Will take a closer look at.

Meanwhile, decided to to look elsewhere and realized in some ways I should correct myself. Ultimately depends if the devices kernel supports "by-names" or not, which the K2 variants unfortunately do not. Though can easily be added.

In addition, the sizes in BoardConfig.mk are used by the compiler to ensure that the boot.img, recovery.img, etc that it produces are not too large for the partition on your device.

Been a fun learning and refreshing discussion :). Enjoyed it lol.
[Huawei Ascend Mate 2] mawais15:
didn't work on my phone

well, i tried this recovery on my device. Its MTL2-L05 and it didn't work. Tried to reboot into recovery but the phone just restarted after an attempt to boot into recovery.
[Huawei Ascend Mate 2] 4L0M:
The reason being, you haven't unlocked your bootloader I reckon. The recovery works perfectly on MT2-L05, on firmware b606 4.4.2
[Huawei Ascend Mate 2] mawais15:
My Android version is also 4.2.2. So this makes sense why it's not working. Is there a way to upgrade my o's to 4.4.2?
[Huawei Ascend Mate 2] 4L0M:
What is the exact wording on your phone in Settings-About Phone-Build Number?
[Huawei Ascend Mate 2] Kostyan_nsk:
Read requirments carefully in the first post.

Won't work on 4.2.2
[Huawei Ascend Mate 2] mawais15:
Screenshot attached plz
[Huawei Ascend Mate 2] mawais15:
is there any way i can upgrade it to 4.2.2 or any other method to root my version??
[Huawei Ascend Mate 2] :
You mean downgrade TWRP? As to allow it to work while on 4.2.2? Assuming the partition layout isn't different from the android OS's on your device then you can literally just unpack your stock recovery image "take note of the configurations used to rebuild it" then unpack this TWRP build and swap out the kernel binary from the TWRP build with the one from your stock recovery image. Then using the build configurations you should have taken note of, simply rebuild the custom recovery image and flash it to your recovery partition. This will resolve your issues as an unethical but temporary solution.
[Huawei Ascend Mate 2] mawais15:
I wish i were that good at development stuff to understand your post :eek: but sure thanks for trying to help :cowboy:

The problem is i don't know where to get my stock recovery image first. which is the first step in your suggestions..
[Huawei Ascend Mate 2] 4L0M:
Click on the link I provide below. Download the rom, extract the folder called "dload" and copy it to external memory card. Turn off your phone.

Hold in volume up, volume down and power button and keep them held in. After about 10 seconds your phone will boot up and flash the rom that you have downloaded. This may take around 10-15 mins.

When it has finished the phone should reboot.

Let it reboot. Leave it for 5 minutes and you should receive a message on your phone saying an update is available. Click download on your phone and then another rom will auto flash without you having to do anything.

If you do not receive the message, go in to settings and click update-over the Internet.

When this has done you will be on 4.4.2. b408

There will be another OTA update to b603 after this and then another smaller one to take you to b606.

You will then be on the latest firmware for MT2-L05.

http://download-c.huawei.com/download/downloadCenter?downloadId=22582&version=39886&siteCode=cn
[Huawei Ascend Mate 2] mawais15:
thanks for such detailed reply but will it work after my failed attempts to flash the TWRP recovery?? I am unable to do a factory reset now . Also it says there is an update available to EmotionUI but when i download it and try to install it, it fails again.
[Huawei Ascend Mate 2] 4L0M:
The update you are trying to install is just that, a system update and nothing more, its an OTA update and not a full rom.

The link that I have provided to you is a full ROM image. I flashed a full ROM image over the top of twrp and everything was fine.

Be warned, the full image I linked to is about 938mb and the download server is in China. I am in UK on Fibre Optic broadband, and it still took ages to download for me.

If you manage to successfully get your mate 2 onto the latest firmware, you do realise that you are still going to have to get your boot loader unlock code from Huawei if you want to get root access and install this custom recovery?
[Huawei Ascend Mate 2] mawais15:
So you also had a failed flashing of TWRP?? and still managed to install the rom over it?

I'm downloading the rom image and i think it will take an hour depending upon the speed i'm getting.

About that unlock code, so far i'm unlucky because it's been 4 days and got no reply from Huawei. Hope that i will get it some day :(
[Huawei Ascend Mate 2] Kostyan_nsk:
4L0M, first he needs to flash stock recovery to be able to update firmware.

http://xdaforums.com/member.php?u=4235172
[Huawei Ascend Mate 2] mawais15:
where can i get the stock recovery ??
[Huawei Ascend Mate 2] mawais15:
i'm unable to flash the rom , may because my stock recovery is not there anymore.. any idea where to get stock recovery from?
[Huawei Ascend Mate 2] 4L0M:
I will try and upload stock recovery for your firmware later.
[Huawei Ascend Mate 2] mawais15:
thanks a lot :angel::angel:

i'm waiting
[Huawei Ascend Mate 2] 4L0M:
http://www.mediafire.com/download/isd7529jljezq19/RECOVERY.img

Recovery Image for MT2-L05 4.2.2 C17B111 Firmware ONLY ! !
[Huawei Ascend Mate 2] mawais15:
Thanks a lot :) i will try this now and get back here

---------- Post added at 10:00 PM ---------- Previous post was at 09:44 PM ----------

woww.. It worked, now flashing the rom to upgrade to 4.4

---------- Post added at 10:17 PM ---------- Previous post was at 10:00 PM ----------

The phone is stuck in recovery while flashing the update. The message is something like that

Huawei_sd_usb_update enter...

USB Update Enter ...

This phone is secureboot phone.

its stuck at this. what am i supposed to do???
[Huawei Ascend Mate 2] 4L0M:
OK, first off, can you start a new thread and we will go from there.

Save spamming this thread totally off topic.
[Huawei Ascend Mate 2] mawais15:
i have started new thread

http://xdaforums.com/ascend-mate2/development/huawei-ascend-mate-2-mt2-l05-update-to-t3023503
[Huawei Ascend Mate 2] :
Hey, don't know if this TWRP build includes LED support. If it doesn't then you can check out this commit and see about adding it.

https://github.com/ModdingMyMind/an...mmit/ec15c0a9272c5ffee2167357dd675d6dee122758
[Huawei Ascend Mate 2] Kostyan_nsk:
It supports LEDs and offline charging. ;)
[Huawei Ascend Mate 2] :
Yea, I noticed when looking at the image. Looks like surdu_petru's source. That guy is pretty good. I'm curious about offmode charging though.

You have a github? Is your device tree public at all?
[Huawei Ascend Mate 2] Kostyan_nsk:
Yes, based on Surdu's tree. Thanks alot him! :)

I didn't upload it to github.
[Huawei Ascend Mate 2] :
Well should you make it public down the road let me know. Would like to look at how you added offmode charging. I have implemented offmode charging to many devices in the past but Huawei made it a challenge. Doesn't help that my bootloader is still locked also since I prefer to run tests on my end. Helps to speed up everything as I develop. Also want to work on a custom Rom but again, there is testing issues due to a locked bootloader :-p.
[Huawei Ascend Mate 2] j03x2:
Is anybody interested in updating this for the latest LL 5.1.1 update for the Mt2-L05 ?? :)
[Huawei Ascend Mate 2] Kostyan_nsk:
It's working with 5.1.1 withour any issues.

Update will be with next TWRP version bump up.
[Huawei Ascend Mate 2] j03x2:
Confirmed! It works :)
[Huawei Ascend Mate 2] Kostyan_nsk:
Updated version in first post. :)
[Huawei Ascend Mate 2] sakui23:
TWRP installs great but it can't install CM13 because it says something to the effect, bootloader unknown and bails out.
[Huawei Ascend Mate 2] Kostyan_nsk:
And where did you get CM13 for Mate 2 with Kirin910 SoC :confused:
[Huawei Ascend Mate 2] jplayer01:
TWRP3 works fine, but for some reason it takes 2-3 minutes for it to start. Anybody else have this issue?
[Huawei Ascend Mate 2] senur3:
It did not work for me, it got me into bootloader and got stuck in their. i'm not sure what is the problem.

5.1 Stuck rom with TWRP 2.8.7.0-L.
[Huawei Ascend Mate 2] divineBliss:
Will the OP posted version of TWRP not work on a MT-L03 version of the HAM2? I ask since the thread title, MT2-L01-L02-L05-C00, does not include L03.
[Huawei Ascend Mate 2] Kostyan_nsk:
It's not for MT2-L03, read thread title attentively!

MT2-L03 has official TWRP support. What's the problem to get it from here: https://dl.twrp.me/mt2l03/ :confused:
[Huawei Ascend Mate 2] divineBliss:
Thanks ...... Suggest you put that in the in the OP :)
[Huawei Ascend Mate 2] senur3:
sorry i feel stupid. i really did not notice. Thank you for clearing this out
[Huawei Ascend Mate 2] o759:
How to Unlocked bootloader?
[Moto G Q&A, Help & Troubleshooting] TDroidd:
My moto g when catches stays motorola logo: c not on the botanimation in the newly logi when you turn on

Now you reinstall the firmware several times even try ton others (Gpe, retailUS) and stayed the same

Someone must know that ?? and that I can do?
[Verizon Galaxy Note 4 General] XPLAYMAKAX:
Just got my first cycle out the way and wow its just the best extended battery out period. Let my pics talk the talk lol...
[Verizon Galaxy Note 4 General] waco2hot33:
Is this for the note 4 if so do you have a link of where you purchased it.. ?

---------- Post added at 07:34 AM ---------- Previous post was at 07:28 AM ----------

I found it on Amazon but it's unavailable right now http://www.amazon.com/gp/product/B00Q7C6FTA
[Verizon Galaxy Note 4 General] DarkMenace:
It doesn't even have a review. The 1 review left was for a Note 2 it looks like.
[Verizon Galaxy Note 4 General] nh97103:
I'd almost want to buy one, but I hate that they didn't bother to put a hole for the speaker. I watch a ton of stuff on my my phone and listen to a lot of music; too much to have no speaker hole. :/
[Verizon Galaxy Note 4 General] patt2k:
why would people make their phone this huge lol..
[Verizon Galaxy Note 4 General] eskomo:
This has got to only be useful for those going on massively long trips with no power to charge the phone with. I could see this being used for mountain climbing Mt. Everest so you can play movies while waiting for the 3 week long blizzard to end.
[Verizon Galaxy Note 4 General] nh97103:
Not only, though. Think charging your phone once a week.
[Verizon Galaxy Note 4 General] nlanter95:
That screen time is absolutely insane! Too bad it looks like a mini brick haha
[Verizon Galaxy Note 4 General] oSNooZEo:
I had the same thing for my note 3, was great for when I was in Disney taken pictures and wifi... But that big bulky case sucks! Like having a brick in your pocket
[Verizon Galaxy Note 4 General] XPLAYMAKAX:
This is awesome for heavy users like me that can't put our note 4 down and on them 24/7... I pre ordered it of Amazon I'm not sure if they still have some available... The bulk of the phone is a small price to pay for 16 plus hours of screen time...
[Verizon Galaxy Note 4 General] XPLAYMAKAX:
The battery itself has a cut out that re routes the sound to the bottom of the phone which is nice...
[Verizon Galaxy Note 4 General] mzahiri:
I had this for my note 3. The battery life fell off a cliff after 4 months of use and customer service refused to acknowledge their use of poor quality cells. Not worth the size or price. For the money, I bought 3 spare batteries plus charger and official Samsung case for less than the price of this POS. Never again will I buy from ZeroLemon. I got a lemon from ZeroLemon! ROFL.
[Verizon Galaxy Note 4 General] manbat:
==========

There is a channel in the battery that directs the sound to the bottom of phone (like the Tab tablets). ..sound is better with case on than when off.

Sent from my SM-N910V / VZW Note 4 DE / Factory Bootloader Unlocked / Rooted / StarKissed / TWRP 2.8.1.1 trltevzw
[Verizon Galaxy Note 4 General] eskomo:
I highly doubt it sounds better with something covering the speaker than not. That makes no sense. But maybe the speaker is to loud for some.

---------- Post added at 12:40 AM ---------- Previous post was at 12:35 AM ----------

I'd rather charge my phone once a day at night when i'm not using it anyways than have a brick for a phone. I'd rather not look like the worlds biggest nerd.
[Verizon Galaxy Note 4 General] JOSHSKORN:
Found an Amazon link. Not available yet, though. I wonder how this fares with drops, though. But hey, if this product from ZeroLemon turns out to be A LEMON, like someone else indicated (for the record, I take no credit for that "joke"), I won't be buying it. Besides, I still love my UAG case.
[Verizon Galaxy Note 4 General] eskomo:
Not sure if they usually make "lemons" but I bought the tempered glass screen protector from them and I will say, I was expecting better. :(
[Verizon Galaxy Note 4 General] Kevins89notch:
I honestly can't comprehend why almost anyone would want/need this. I recently spent 2 months backpacking Europe and Africa too. On the average day I would kill my Note 3's battery and slap in a backup after dinner. While sleeping, my Note 3 was stored in a locker, while the dead battery was charging at a wall outlet. On a long travel day, aka train or plane, I might kill the battery earlier. Sometime in the evening I would simply plug my phone into the wall to help charge the 2nd battery, and then overnight charge the battery I killed earlier that day.

My only thought would be someone on a week long hike. However, serious hikers always take light weight items. They wouldn't lug around a 1990 Zack Morris sized cell phone.
[Verizon Galaxy Note 4 General] Martinjv71:
Accessory forum
[Verizon Galaxy Note 4 General] SquireSCA:
If you are on your phone so much that you need a car battery attached to it, you have bigger problems... like not having friends, a girl friend, a social life, etc...

If you are on a long trip, it's easier to just bring a recharge pack or spare battery...
[Verizon Galaxy Note 4 General] eskomo:
Especially this ^^ Don't wear your phone on your belt and attempt to find a girlfriend. This will reduce the need to play video games on your phone and lookup useless information that keeps you from interacting with other humans. Set a goal of touching a boob next year. Its worth it.
[Verizon Galaxy Note 4 General] manbat:
Father, Grandfather, working 70hrs a week, own a house, three cars....I have two phones with Zerolemon batteries. But then again...I can afford them....lol.

Sent from my SM-N910V / VZW Note 4 DE / Factory Bootloader Unlocked / Rooted / StarKissed / TWRP 2.8.3.0 trltevzw
[Verizon Galaxy Note 4 General] SquireSCA:
We can all afford them, that's not the problem.

They are huge, heavy, ugly and totally unnecessary unless you just sit with your face glued to your phone all day...
[Verizon Galaxy Note 4 General] manbat:
Nope....just don't charge them but about every three days or so....with heavy business use....when being available makes you money and the phones may be needed at any time for a hot spot, etc.....but every uses their phone differently. The phones fit very nicely in my suit jacket inside pockets....and do not even get in the way of my holster and Springfield XD40...lol.

Sent from my SM-N910V / VZW Note 4 DE / Factory Bootloader Unlocked / Rooted / StarKissed / TWRP 2.8.3.0 trltevzw
[Verizon Galaxy Note 4 General] SquireSCA:
Yeah, but do you really go 3 days without being in a car or in a building or home, even a hotel room without electricity? LOL I use my phone a lot for business as well, and it is very rare that I go to bed at night with less than 50% battery life left...

And mine is still slim and fits in a pants pocket and still allows me to carry a CRKT Hissatsu and a CZ75 Compact.

Be safe. :)
[Verizon Galaxy Note 4 General] manbat:
Everybody has their preferences....I hate the fragile feel the big thin phones, but I like the big screens. The battery makes the phone feel more solid for me. So...If you don't like the Zerolemon....don't buy one. On that....the Note 4 is a great phone...everybody enjoy them the way you want to !!

Sent from my SM-N910V / VZW Note 4 DE / Factory Bootloader Unlocked / Rooted / StarKissed / TWRP 2.8.3.0 trltevzw
[Verizon Galaxy Note 4 General] mlin:
Well stated. Unfortunately I've noticed some people can't comprehend the idea that different people have different preferences. Simple as that.
[Verizon Galaxy Note 4 General] LunaticWolf:
Did you have a phone pre-Smart phone era?

You could go days without using a charger.

Why should you have to remember to plug all your **** in every night? Just because you can, does not mean it is a good design.
[Verizon Galaxy Note 4 General] aclays:
I remember the only thing I could do on my old nokia was talk, text and play snake. Couldn't play a 3D game, watch a movie, or tell it to find me the closest chinese restaurant and navigate me there!
[Verizon Galaxy Note 4 General] Kevins89notch:
Yup, an old school, nokia, and 3 different model of flip phones before a BB 8330, and then finally into Android with the first HTC Incredible.

I'm not saying anyone is an idiot for using a zerolemon, I'm just personally saying I don't see the point, and you backed me up on that. You easily could last on a normal battery, but you don't want to spend 3 seconds plugging in your phone before bed. That's fine. That's your call. It's like my friend who drives a lot, and using google maps for navigation. He uses the excuse that he doesn't like the way the cord hangs when his phone is mounted to the windshield. Then we go out on a friday night for drinks, and his battery is dead. Does he plug it in while showering after work? Nope. Does he plug it in while driving to a bar? Nope. He has plenty of chances to prevent his dead battery but ignores them. If your solution is a 2lb battery, that's cool. I'm just saying I don't see the point when there are easier options.
[Verizon Galaxy Note 4 General] XPLAYMAKAX:
I love zerolemon batteries had it for my S5 and now my note 4... For someone that uses Hotspot 24/7 for business, watches movies and plays games you need one of these bad boys... I wasn't even getting half a day with the original battery and now my phone last me up to 3 days 18+ screen time hours... Love this battery don't mind the bulk and ppl might hate but this is my personal preference...
[Verizon Galaxy Note 4 General] streetpounder:
I'm all about capability. Sure I can plug in and charge the normal battery in normal cases, but every now and then the need arises to be unfettered with heavy usage. GPS apps out on a multiday backpacking adventure, Tethering, running external attachments for various purposes in the field, video streaming occasional hd content over lte at an all day event, power outages during an ice storm, etc. If l go on a date with my wife I toss the normal case on, otherwise I geek out knowing I have reserves on the go.
[Verizon Galaxy Note 4 General] LunaticWolf:
But it is not easier. Charging your device every night, worrying about if a charge will make it the rest of the day. Nerfing the capabilities of your phone for power savings. It doesn't even make it that heavy or thick. It looks worse than it is.
[Verizon Galaxy Note 4 General] SquireSCA:
I don't know how many of us do that. Mine lasts a whole day of prolonged use all the time. And we are never really far from a charger anyway.

Also consider that while you might go longer between charges, you have to charge it for a lot longer when you do, so you are not really saving yourself any time. I mean, when you are driving somewhere, how hard is it to plug it in?

I will take the 1-2 seconds of "inconvenience" over the burden of having to lug a car battery around in my pocket. It makes the phone large, heavy and ugly, and that's not what I paid for when I bought this.
[Verizon Galaxy Note 4 General] LunaticWolf:
Please, keep over-exaggerating how large and heavy extended batteries are.

Car chargers wreak havoc on your battery. It is almost not worth using a point on your insertion quota for how slowly they charge. How often are you driving 1+hours to give yourself a full charge?

Constantly plugging in a battery just because you are near a charger will destroy your battery in a year. These batteries are meant to be cycled completely (100-5%), and getting an extra 10% on the way to the store isn't worth it in the long run.