yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend XT Questions & Answers] divineBliss:
That's too funny :) . I'll confirm later when I try to unlock my second XT.
[Huawei Ascend XT Questions & Answers] powerserge1:
Yes use a different browser. Go to the same link, it will bring you to EMUI 5.0 page, towards the top click on "download" then on the following page under the search bar click on "unlock bootloader" and it will bring you to the unlocking page. Just confirmed working

---------- Post added at 11:25 AM ---------- Previous post was at 10:59 AM ----------

So is this latest TWRP the one to use on our XT over the old one? If so I will need to update the guide
[Huawei Ascend XT Questions & Answers] clsA:
Yes it's much better
[Huawei Ascend XT Questions & Answers] powerserge1:
What's better? Just want to make sure everyone can root if I update the guide. Is it making back ups correctly now and are we able to restore properly without/or with less issues?
[Huawei Ascend XT Questions & Answers] divineBliss:
Yeah, what's much better? You've got two of us wondering what you are referring to :confused: .
[Huawei Ascend XT Questions & Answers] powerserge1:
Yuweng was nice enough to release a new version of TWRP, it's at the bottom of the post. But before I add it to the guide, I want to confirm. Thanks to yuweng for his work, let's confirm it's working and having less issues than the original TWRP for the XT

https://xdaforums.com/showpost.php?p=71184622&postcount=1426
[Huawei Ascend XT Questions & Answers] divineBliss:
Well that slipped right under my radar :) . Yeah, would be good to get know how it's different from the original and get feedback on how well it works.

Are backups from our current TWRP fully compatible with this new beta version?
[Huawei Ascend XT Questions & Answers] clsA:
It's backs up /cust and can make System.img backup.

That alone is all you should need to know
[Huawei Ascend XT Questions & Answers] madvane20:
twrp more backup options

messed up something fix it later in the thread
[Huawei Ascend XT Questions & Answers] clsA:
Your fixing stuff that's not Broken

I posted the info in your thread on why you need system image / cust image and the others

In the mean time [MENTION=4110791]powerserge1[/MENTION] stick with [MENTION=4478781]yuweng[/MENTION] version I have tested it and it's working fine

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

When you get the new phone can you do system image / boot.img / cust image backup of B140

using the new TWRP posted by yuweng the one's we have are incomplete

I have the System image and cust image and boot for B130 here so no need to back them up again
[Huawei Ascend XT Questions & Answers] madvane20:
no his when i did a backup had two system partition i look into the fstab and he did add an extra system so yes it was broken. as well mine works fine. dont believe me check for yourself
[Huawei Ascend XT Questions & Answers] clsA:
Show me where you see 2 system backups
[Huawei Ascend XT Questions & Answers] madvane20:
unless he changed his version he posted the time he posted it i made a backup it backed system up twice one as system the other as system image i will show u in a video i will download his file open it extract boot image and show u the fstab if u really want me too
[Huawei Ascend XT Questions & Answers] clsA:
You need to be able to backup Both system and system image

I posted why you need Both in your other thread
[Huawei Ascend XT Questions & Answers] madvane20:
of the stock b130 or?
[Huawei Ascend XT Questions & Answers] divineBliss:
I expect the phone will want to OTA to B150, so that's what I'm planning to let it do before rooting it or unlocking the bootloader. I want a clean B150 backup and don't want to screw around with manually getting there when an OTA will get me there faster.

I don't recall now, but won't unlocking the bootloader prevent it from OTAing - I want multiple people to respond to this question, please - and may still not unlock it until it OTAs to B150 anyway.

---------- Post added at 04:17 PM ---------- Previous post was at 04:15 PM ----------

@clsA ,

Didn't you just buy a second XT just now?
[Huawei Ascend XT Questions & Answers] clsA:
Yes I have 2 ..I'm leaving the new one on B130 for now

but I need to update the back to stock and how to take OTA guides now that we have a version of twrp that works correctly
[Huawei Ascend XT Questions & Answers] divineBliss:
[MENTION=7934375]madvane20[/MENTION],

Is yuweng's and your TWRP source code/project shared somewhere that people can access it if that want to take a look?

---------- Post added at 04:21 PM ---------- Previous post was at 04:21 PM ----------

What would you want to stay on B130? :confused:
[Huawei Ascend XT Questions & Answers] clsA:
we are still trying to figure out why a B130 rooted phone cannot return to stock and take OTA update .. remember

or did you already fix it and I missed it
[Huawei Ascend XT Questions & Answers] powerserge1:
Ok, I am going to wait before updating the guide. Let's test TWRP first before I update the guide... Yuweng has a lot of experience but he does not own the phone. To be safe and so we do not mislead the newbies let's test this latest version of TWRP.

As of now the old TWRP gives us root and that's what many people want while remaining on stock
[Huawei Ascend XT Questions & Answers] clsA:
That's a mistake

everyone needs the new version and needs to backup system image and cust image before rooting their phones

The old TWRP is Broken and no one who used it can take an OTA update because of it

I'm working on a fix for that now

I have a pure B130 system image now thanks to the New Twrp

I'll post it again From the TWRP.me FAQ
[Huawei Ascend XT Questions & Answers] madvane20:
eh no need i saw a error i made but i readded his edit back fixed it all
[Huawei Ascend XT Questions & Answers] powerserge1:
Well you and madvane try and get together instead of what appears to be duking it out a tad. One person says one thing, the other something else so that's why I am waiting. If you are fixing OTA, great, we appreciate it. If madvane found a bug and wants to fix it, great, we appreciate it.

We are making progress and that's what matters, let's try and work together.
[Huawei Ascend XT Questions & Answers] clsA:
well everyday someone flashes the old TWRP is another day we go backwards

I understand this is just a $50 phone and if you can't updated it after flashing a broken version of TWRP so what

But what if it was a $700 Pixel phone ...wouldn't you want to know how to make a working backup and not Break OTA updates
[Huawei Ascend XT Questions & Answers] madvane20:
i fixed it his edits are added is back on there as well as my adds and fixes so far i edited my post that said eh i made an error
[Huawei Ascend XT Questions & Answers] powerserge1:
And If I update the guide and for some reason I see a few people posting that they bricked their phone (because I posted something untested) then I would feel awful.

If you can confirm with a phone that is bone stock as if fresh out of the package (B130 stock untouched) and you successfully rooted with this latest TWRP then I can go ahead and update the guide. Until it is confirmed 100% I will hold back on updating the guide.

Once OTA is available then I will need to update it again.
[Huawei Ascend XT Questions & Answers] madvane20:
im gonna go ahead and test his factory stock doesnt hurt theres always fastboot
[Huawei Ascend XT Questions & Answers] clsA:
Thanks, I appreciate your Work man

and [MENTION=4110791]powerserge1[/MENTION] we have been working together

sorry if it sounded like a bout for supremacy

Just post the new TWRP it's way overdue
[Huawei Ascend XT Questions & Answers] madvane20:
btw u dont need source code to edit it its just twrp.fstab inside etc folder of ramdisk. u can use osmosis or one of the android kitchens on windows or linux to extract recovery etc

---------- Post added at 11:24 PM ---------- Previous post was at 11:22 PM ----------

we all make mistakes i posted mine in that post as well as the thread i started tested and works. where did u post ur factory stock at? i cant seem to find it. the one with the new backup from his twrp
[Huawei Ascend XT Questions & Answers] clsA:
Great, now lets get these OTA updates working again like they should
[Huawei Ascend XT Questions & Answers] powerserge1:
You tested stock b130 and added root through the latest TWRP and it works? Kindly confirm.

Also if you or clsA can upload the latest TWRP to a reliable download site while renaming it to TWRP.img then I can go ahead and update the guide, while removing the extra step of new users needing to download and rename it. No need to rename, just flash. One step less would be great!
[Huawei Ascend XT Questions & Answers] madvane20:
was the files u sent me from his twrp or old one

---------- Post added at 11:36 PM ---------- Previous post was at 11:34 PM ----------

google drive is reliable but if he wants to use mine and rename and upload he can its not hard to rightclick rename then flash it u dont even need to rename it honestly it still flashes fine. as long as u do fastboot flash recovery then the file name. or in twrp select install select image select recovery. waiting on someone to post there factory image if it fixes ota i will be happy if they dont care i can update my post if not i can link my thread to thiers i guess dont know how to delete it. i cant seem to get bbqlinux to install and boot up boots fine from flash drive or disk but not after i install anyone know? its custom built pc so theres no secure stuff in the bios to block it
[Huawei Ascend XT Questions & Answers] clsA:
The B130.zip is all done with the new TWRP by yuweng

and the System was kept read only during every step

it includes Stock Data / Recovery / Cust / aboot / eRecovery / boot and System Image
[Huawei Ascend XT Questions & Answers] madvane20:
his twrp doesnt have aboot or erecovery did he post a new version than what i have downloaded or did u mean the twrp i edited?

# Android fstab file.

# The filesystem that contains the filesystem checker binary (typically /system) cannot

# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/system ext4 /dev/block/bootdevice/by-name/system

/cache ext4 /dev/block/bootdevice/by-name/cache

/data ext4 /dev/block/bootdevice/by-name/userdata length=-16384

/boot emmc /dev/block/bootdevice/by-name/boot

/recovery emmc /dev/block/bootdevice/by-name/recovery flags=backup=1

/misc emmc /dev/block/bootdevice/by-name/misc

/cust ext4 /dev/block/bootdevice/by-name/cust

/efs1 emmc /dev/block/bootdevice/by-name/modemst1 flags=backup=1;display=EFS

/efs2 emmc /dev/block/bootdevice/by-name/modemst2 flags=backup=1;subpartitionof=/efs1

/tz_image	emmc	/dev/block/bootdevice/by-name/tz	flags=flashimg=1;backup=1

/modem_image	emmc	/dev/block/bootdevice/by-name/modem	flags=flashimg=1;backup=1

/cust_image	emmc	/dev/block/bootdevice/by-name/cust	flags=flashimg=1;backup=1

/system_image	emmc	/dev/block/bootdevice/by-name/system

/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="Micro SDcard";storage;wipeingui;removable

/usb-otg vfat /dev/block/sda1 /dev/block/sda flags=removable;storage;display=USB-OTG

is what i got from the twrp i downloaded that he posted the first post thats the fstab info
[Huawei Ascend XT Questions & Answers] clsA:
no I dd if dumped those, don't you remember ?
[Huawei Ascend XT Questions & Answers] madvane20:
oh well u also sent me some twrp backup files 2 will the dd files work or do i need to wait for ur backup. nvm on the linux fixed it now i can actually work on the lineage
[Huawei Ascend XT Questions & Answers] clsA:
yes the System image and all the stuff i just listed is what I sent you
[Huawei Ascend XT Questions & Answers] divineBliss:
Seriously, dude! Don't expect me to read your mind! Things change from day to day around here.
[Huawei Ascend XT Questions & Answers] powerserge1:
My apologies, both seem the same.

Renamed Yuweng's recovery to TWRP and uploaded to google drive. Let me know if everything is correct.

https://drive.google.com/file/d/0B6BmerE0MoCOdlU4RHRYT1pmeUE/view

Updated guide:

https://xdaforums.com/android/development/huawei-ascend-xt-h1611-feb27-2017-t3564389
[Huawei Ascend XT Questions & Answers] divineBliss:
I would like to be able to compile TWRP from source code - are you able to help me? So far I've gotten road-blocked every time I ask people :) .

---------- Post added at 05:54 PM ---------- Previous post was at 05:53 PM ----------

Stuff like that is one reason why I'd like to be able to compile/build TWRP myself :) .
[Huawei Ascend XT Questions & Answers] madvane20:
there a auto compiler that u will need to edit the files at the end i do believe to make sure it works or u wanting to build it complete yourself? not really a how to guide but has some infohttps://xdaforums.com/showthread.php?t=1943625btw we just extracted recovery image with osmosis which seperates and uncompresses ramdisk which has etc folder with twrp.fstab where u can list what ever partition to backup etc
[Huawei Ascend XT Questions & Answers] divineBliss:
Are you intending to come across as controlling and dictatorial and tell me what I should and should not know? :confused: I'm here to learn as much as possible. It's now been posted yuweng's TWRP does more than what you stated below :confused: .

---------- Post added at 06:01 PM ---------- Previous post was at 05:58 PM ----------

Thanks! By extracting recovery are you referring to the stock recovery or the original XT TWRP.img . Did both you and yuweng follow this method below and not build the new TWRP from full source code?
[Huawei Ascend XT Questions & Answers] madvane20:
oh well i havent gotten his new version that he released my does more as well also here is another post to read https://xdaforums.com/showthread.php?t=2073775

---------- Post added at 12:02 AM ---------- Previous post was at 12:01 AM ----------

oh sorry any of the twrp recover backups we have in the forums. i just have yuwens orignal twrp he posted awhile back did he update or repost a new one? as well u can extract / unpack his look at fstab and do the same for my recovery in the twrp.fstab i mentioned see the difference u can also the oldest twrp as well xd
[Huawei Ascend XT Questions & Answers] clsA:
why is it so confusing yuweng posted a New version of TWRP, just one New version

if you want to know what it does download it and boot or flash it.
[Huawei Ascend XT Questions & Answers] divineBliss:
Maybe it would be helpful now or later when you are done to describe how your version differs from yuwengs, you know what I mean, vs just saying go try it and figure out what's different by trial and error, as some propose.

I will try what you suggested maybe tomorrow and may have more questions for you. Thanks :) .
[Huawei Ascend XT Questions & Answers] madvane20:
i will i think also i found a way to update the phone with twrp half way im on b140 and ur b140 boot image that was broke for you boots for me. i need a stock b150 boot file none rooted. i can make a guide for people to get up to 1.40 but thats it unless someone has stock boot image of b150 [MENTION=459159]devine[/MENTION]Bliss your welcome did u hit the ty button
[Huawei Ascend XT Questions & Answers] yuweng:
WoW, so many new post & two pm, i'm actually at the other side of the globe hence the late response... :o Not me added that feature, its Dees_Troy TWRP Lead Developer... :cool:

For those who wants to know more...

One of the reason i don't like to communication thru pm is eventually i have to repeat myself all over again when others ask that same question again so for anyone interested to build TWRP from source, this is the Official Support Thread, ask your question there & as said at that OP, you'll get faster response here. This is the gerrit of merged commits & this is WIP. For device tree reference, the honor 5x & others here. Did share a script that is suppose to be able to build TWRP for any Android device, the OP there suppose to pick-up & continue development but he doesn't so that script might not work well now. Before you can start building TWRP or any custom ROMs, you'll need linux & i strongly recommends BBQLinux :good:

As for unpack/ repack, what i did is already mentioned here & here. It was a suggestion to use TWRP to backup to whole Factory ROM, for normal backups, you don't need all that & this is what Teamwin has to say, more info here. For typical Huawei devices, you'll need the additional cust to be able to go back to Stock while for TZ & modem is mainly for custom ROMs.

Last but not least, make sure you test 100% before sharing or your followers will be swearing at you for bricking their brand new toy ! :laugh: Luckily, most Huawei devices are unbrickable, have fun ! :cool:
[Huawei Ascend XT Questions & Answers] madvane20:
figured it out for now were using urs til i fix where i screwed up on my with the names. urs u posted was fine i misread info in fstab lol but then went to add partitions etc and well gotta fix that
[Huawei Ascend XT Questions & Answers] divineBliss:
[MENTION=4478781]yuweng[/MENTION] and [MENTION=7934375]madvane20[/MENTION],

I used yuweng's TWRP to backup cust and don't understand something.

Two different backups cust_image.emmc.win.md5s of my phone and two different checksums:

7532219897e72f3be56523fa03f024ea cust_image.emmc.win

5cb02ebbb7014de19505ac0ac2f49594 cust_image.emmc.win

The cust.img I created with dd twice has the same checksum both times:

4b28cd0cfb1fbac1d632e120b52ab3ce cust.img

4b28cd0cfb1fbac1d632e120b52ab3ce cust2.img

Any ideas why the cust_image.emmc.win checksums don't match each other and don't match the cust.img? All 4 files are 536870912 bytes long. I did not modify cust on my phone between collecting these 4 sets of cust images.

[MENTION=7934375]madvane20[/MENTION],

can you try a similar test on your phone and let me know what you get. I have not tried your TWRP yet since you're still cooking it.
[Huawei Ascend XT Questions & Answers] madvane20:
the new cust is a backup of the actual emmc instead of ext file system backup
[Huawei Ascend XT Questions & Answers] divineBliss:
I don't understand that. Also it does not make sense that two cust TWRP backups of the same unmodified cust partition would have two different checksums.

I guess I'll have to try more cust backups and see what happens to the checksum.
[Huawei Ascend XT Questions & Answers] madvane20:
hope yuwen can explain better gotten shut down my pc bad storm here alot of lightning
[Huawei Ascend XT Questions & Answers] divineBliss:
[MENTION=4478781]yuweng[/MENTION] and [MENTION=7934375]madvane20[/MENTION],

Okay, I figured out the problem. If you don't mount cust in TWRP, it's still lets you make the backup for cust without any warnings or errors, but of course you have an invalid backup of who knows what random data. Is there a way to fix this so you get red errors? If you mount cust, then the backup is correct :) .

I have not tried restoring anything other than system and recovery with yuweng built TWRP

so far.
[Huawei Ascend XT Questions & Answers] yuweng:
Though i didn't spend much time on stock emui FWIR Official TWRP for honor 5x cust partition backup/ restore doesn't work properly on stock emui hence added the image backup. Go ahead & format/ wipe cust then reboot & see if it boots, if not then restore it using either one & see if it works... :fingers-crossed:
[Huawei Ascend XT Questions & Answers] clsA:
I have done full backup and restore with yuweng TWRP and it works perfectly

use cust image for that backup.

This phone still requires you manually mount cust and system before flashing Roms, no Idea why as the roms flash script mounts the partitions as needed within the script

cust doesn't really matter that much, I have 2 debloated ROMs that have almost everything in /cust deleted and the phone still boots fine

backing it up with cust image is still the safest bet although the file size is bigger because the backup is a bit-perfect backup that, when restored, will not break dm-verity. The System image is the most important one but I will keep backing up cust as an image from now on just in case.
[Huawei Ascend XT Questions & Answers] dabadguycr:
I've been busy the past few weeks, have I missed anything important like has anyone figured out how to go back to full stock without root? Has anyone got any of the custom Roms working?
[Huawei Ascend XT Questions & Answers] clsA:
We have a new TWRP that backs up cust and System image that's important
[Huawei Ascend XT Questions & Answers] divineBliss:
No and no. We have a new TWRP that can backup/restore multiple new partitions including cust. You can update from B130 or B140 to B150 using clsA guide in another thread. But that's all rooted.
[Huawei Ascend XT Questions & Answers] madvane20:
im working on a none rooted update not ota but using twrp. will post guide later that describes what i am actually doing. i had my phone upgraded to 140 but didnt make backup and tried to update to 150 lol so went back to 130 but my method wouldnt work will post guide or let u know when i can
[Huawei Ascend XT Questions & Answers] divineBliss:
There's probably much more demand for having a custom ROM and since clsA has a guide for people to go up to B150, I'm not sure how much use being unrooted would be. Are you wanting to be unrooted more than you want LineageOS? Were you not able to get to B150 rooted with clsA guide or what? I'm just trying to understand, that's all. :)
[Huawei Ascend XT Questions & Answers] madvane20:
im doing both compiling takes awhile xd. btw my way once i fix where things changed will allow stock upgrades no root but using twrp from fastboot not flashed on device
[Huawei Ascend XT Questions & Answers] divineBliss:
Very good - parallel processing :good: :)
[Huawei Ascend XT Questions & Answers] madvane20:
its also my birthday today which i should just be chilling etc but im doing this lol
[Huawei Ascend XT Questions & Answers] divineBliss:
Well here's wishing Happy Birthday to madvane20. :) :)

It's your day, so be sure to do something that makes you feel good. :) I might have to make a drink later to celebrate your birthday :lol: .
[Huawei Ascend XT Questions & Answers] madvane20:
lol well i cant drink with my meds so just gonna eat some buffalo wings or pizza or something havent decided lol
[Huawei Ascend XT Questions & Answers] linden9003:
Where to find the usb driver? I have tried google and no Ascend XT usb driver anywhere.
[Huawei Ascend XT Questions & Answers] clsA:
https://freeandroidroot.com/download-huawei-usb-drivers/

about any of those will work
[Huawei Ascend XT Questions & Answers] madvane20:
took a break from lineage hell working on resurrection remix have it boot radio works bluetooth works dunno bout camera yet gotta fix wifi and check camera its android 6.0.1 though fixed speaker phone or loud speaker at bottom it works now to fix wifi then camera
[Huawei Ascend XT Questions & Answers] divineBliss:
I have a brand new unrooted and still bootloader locked XT that I OTA updated from B140 out of the box to B150.

Just posting this in case anyone has any questions about this configuration. I can't dump any partitions, of course, since it's bootloader locked/unrooted.

I may leave it unrooted and locked for a while .... have not decided yet.
[Huawei Ascend XT Questions & Answers] guest_2011:
I opened mine, removed att sim, tried to update. No updates available. Did you do it with att sim or without?
[Huawei Ascend XT Questions & Answers] divineBliss:
I knew this from my first XT .......... you must have an active AT&T or AT&T MVNO SIM in it to OTA update, so I put one in before I even tried and it immediately detected that an OTA update was available and downloaded it basically first time I connected it to the internet with cell signal available.
[Huawei Ascend XT Questions & Answers] guest_2011:
Activate sim first or did you already have an active sim from another phone? Will i be able to unlock after i active the sim?
[Huawei Ascend XT Questions & Answers] divineBliss:
I waited until I got my network/SIM unlock code from AT&T to try anything. You can use any already activated AT&T/AT&T MVNO SIM from any phone - even borrow one from a friend :) just to do the OTA.