yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend XT Guides, News, & Discussion] madvane20:
restoring a b160 backup should fix their issue the data thing just sounds like they didnt format it and its still encrypted so it wont mount xd.

---------- Post added at 02:47 AM ---------- Previous post was at 02:37 AM ----------

also btw the phone will still download the ota even if ur rooted but will fail no matter if u did the phone dailer update or just trying it with being on b150 cause no ota will work cause after the bootloader is unlocked doesnt seem to be a way to fix it but u already stated before u did phone dailer and updated to b160 but wifi etc was not working the fix for that would of been to restore a boot image from one of the b160 backups or to make it simple restore the whole b160 backup or one of clsa debloated 160 roms and it would be just fine. i even been trying to find a bypass method to get the phone to do a ota but so far no success but doesnt matter atm since theres already roms u can flash after doing firmware updates. now if a custom rom is not done and b170 comes out and noone has a phone that has never been unlocked to do a backup then unless a dev or i or someone figure out how to get a updated system files and boot image without that b160 will be as far as we can get. that said all the info is in the posts as u need to do is read im going to do a short video guide on at least just how u would flash the firmware update then how to successfully flash a backup someone uploaded or install a cleaned up rom. so i hope once i make that theres no more of these posts with the problems being people will see what needs done and shouldnt miss anything.
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
[MENTION=7934375]madvane20[/MENTION],

[MENTION=6822212]dabadguycr[/MENTION] posted that they were able to OTA update with bootloader unlocked before phone had been rooted. So rooting is what breaks OTA, not unlocking the bootloader if I understood correctly.
[Huawei Ascend XT Guides, News, & Discussion] Paisley Pirate:
You mean like printing it off and using it as a checklist? Because that's what I did last night. Did it exactly that way the first 3 times - and then attempted to let the phone update itself via OTA - by the way, the files are exactly the same size... so something in the phone doesn't think it's updated, but if it were already updated, then the b150 os would cause the wifi to not work - which is what happened when I first tried to change it last week - and eventually used the B150 update.app to get it back to 150 - which means I may have just answered my own question about being able to roll it back, because at the end of the day last week, that's what I *did* do. With (apparently) some rather crappy unintended consequences.

Thing is almost acting like a Honeywell FSG - you can tweak it about 4 or 5 times on power on - and then it locks itself up, never to be changed again... joyful...

Anyway, so yeah, if / when I get back to this again, I'll probably roll video on it just so you all know what/why/how this thing is making me so nuts.

Thanks again for all the suggestions and letting me bounce it off ya'll.

---------- Post added at 09:19 PM ---------- Previous post was at 09:15 PM ----------

To answer succinctly - it fails on Update.app loading. it goes to approximately 20% and then gives an exclamation point with "Update Failed... " as I stated in another post.

Since it doesn't update that, attempting to load B160 after that causes the wifi to fail. Loading a B150 build still has everything working.
[Huawei Ascend XT Guides, News, & Discussion] madvane20:
in that aspect then restore the boot image which is really the only thing that gets tampered with other then adding the files into the data. since its systemless . thats all root does is patch bootimage which it changes stuff in those files after it make s a backup it also patches the boot image i do believe by hexediting it but it doesnt no touch the other partition other than system by adding super su files. if ur booted in ur phone and have a root explore file browser if u goto the root "/" u will see a folder called su the files are there which if im not mistaken is actually put into the boot image not data but etiher way it edits boot image. so if u replace it with a stock boot image its the same as if u didnt root in first place.im gonna look at recovery erecovery boot images see what it does to them i will report back with what it exactly does. actually for those who want exacts of what it does extract super user zip and explore the files inside open them with notpad ++
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
[MENTION=7934375]madvane20[/MENTION],

My phone was rooted with Xposed on B150. I only restored back to stock recovery, then installed the B150-B160 UPDATE.APP, then rebooted the phone without restoring the B160 files yet. Since the phone didn't boot, I restored the B160 cust using TWRP and the phone still didn't boot until after I restored the B160 system partition. So I never did anything with the boot partition and still got updated to unrooted B160 successfully. I was surprised I didn't have to restore the boot partition. I did have to format the data partition after B160 update so TWRP could access/mount data partition, but I was able to restore my B150 data partition after that and didn't lose anything.

Later I re-rooted and reinstalled Magisk/Xposed, which of course modifies the boot partition.
[Huawei Ascend XT Guides, News, & Discussion] madvane20:
ok
[Huawei Ascend XT Guides, News, & Discussion] clsA:
The firmware includes boot.img and recovery.img
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
That great to know. Was wondering how it worked.
[Huawei Ascend XT Guides, News, & Discussion] clsA:
you can use Huawei Update Extractor to see and use all the files in the update.app
[Huawei Ascend XT Guides, News, & Discussion] clsA:
I now have a All In One solution -> flash one Rom and your on B160 from B150

just waiting on the testers to confirm and I'll post it
[Huawei Ascend XT Guides, News, & Discussion] MT2-User:
All four images: boot, recovery, system and cust?
[Huawei Ascend XT Guides, News, & Discussion] clsA:
Yep [MENTION=6893467]MT2-User[/MENTION] and all the firmware all in one
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
Other than the fact that TWRP can't access/mount the data partition, is there some command or app that can confirm if the data partition is encrypted or not?

Does manually updating the XT software is this thread guide always change the data partition encryption to encrypted? No problems here after updating to B160, just trying to understand the details. :)

My data partition did become encrypted after updating to B160, but I just restored my B150 TWRP data partition backup. I'm wondering whether this applies to everyone who updates or if I have a phone setting causing this.
[Huawei Ascend XT Guides, News, & Discussion] clsA:
The dload flash with stock recovery I think is what does it
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
You'll be like the Maytag man if this works ;)
[Huawei Ascend XT Guides, News, & Discussion] madvane20:
me and clsa have been trying to make things simple for stock im hopen to have rr working then i dont think people will worry bout stock after that
[Huawei Ascend XT Guides, News, & Discussion] clsA:
[MENTION=4112353]Paisley Pirate[/MENTION] and divineBliss if you downloaded that B160_Full_Update.zip file today DELETE it !

it will not work ( But I have the one now that will :) See below

Post 2 updated to the NEW All in One >> https://xdaforums.com/showpost.php?p=70997363&postcount=2
[Huawei Ascend XT Guides, News, & Discussion] MT2-User:
So we could also downgrade to B150 from B160?
[Huawei Ascend XT Guides, News, & Discussion] clsA:
Yes you can go up or down
[Huawei Ascend XT Guides, News, & Discussion] MT2-User:
Nice. May try to downgrade to B150 and then see whether it could upgrade to B160 through AT&T update.
[Huawei Ascend XT Guides, News, & Discussion] madvane20:
ota didnt work for me with his full b150
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
Which partitions from the OP TWRP backups did you restore other than recovery, boot, system, and maybe data?
[Huawei Ascend XT Guides, News, & Discussion] clsA:
you didn't dd flash the custPartitionB140.img is why the version number is wrong and your wifi is broken

you can't skip steps and expect it to work

the errors about /data are completely normal ... their is no /data till you reboot
[Huawei Ascend XT Guides, News, & Discussion] madvane20:
im not being rude to others but alot of times i wonder if they even read our guides lol
[Huawei Ascend XT Guides, News, & Discussion] clsA:
yeah it's nice they take time to criticize, but they don't take time to read and do all the steps.

...it's not rocket science it's only 4 or 5 steps
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
[MENTION=2895182]clsA[/MENTION],

Having the wrong version of cust partition will cause the incorrect version number to be displayed and WiFi to break? Do you have any idea why this is? Does it cause the firmware upgrade to not complete or is the WiFi code in cust or what? I'm just trying to get a better understanding of what code is where and I do know a lot of the AT&T crapware is in cust.

:good: I was finally able to upgrade from B140 to B150 using your OP instructions, so thanked in OP for that. :highfive:

I didn't flash the cust partition to B150 until today, but did the firmware part of the upgrade yesterday, so I believe I was running with B150 everything except cust was B140 and things worked fine. As I said, today I did update cust to the B150 version from OP image.

One thing I don't understand and would love someone to enlighten me on is why can't we remain unrooted stock? As you said in the OP, if we don't reroot with SuperSU after upgrading from say B140 to stock B150, the phone won't boot - so if anyone knows the answer, I'd love to know the technical reason why it's necessary to reSuperSU and thus, can't remain stock. :confused:

The awesome-est part for me was that I didn't have to reinstall any apps (other than SuperSU) or reinstall Magisk or Xposed or nothing. :cool: I kept my same original B140 data partition I'd been using.

I didn't follow the OP to the letter as I had tried to upgrade from B140 to B150 before you completed the last part, but again, happy to report I was able to get it done with your OP instructions and files. :cool:
[Huawei Ascend XT Guides, News, & Discussion] clsA:
the /cust changed quite a bit from B130 to B140 while b140 and b150 seems more alike

I assume that's why you didn't have the WiFi issue.

As far as returning to Stock not working I personally be leave it's because of the version of TWRP we are stuck with right now.

it's ether not backing up correctly or it's not restoring correctly take your pick.
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
[MENTION=2895182]clsA[/MENTION],

From what I can tell about cust versions and differences based on the OP cust images:

1. One irrelevant file, att/us/etc/manufacture/cust_mmi.xml was present in cust B130 and B140 and was removed in B150.

2. The OP B140 cust was debloated, so it's not pure stock. It is missing:

preinstalled/public/app:

AmazonKindle

ATTFamilyMap

ATTLocker

ATTSmartLimits

ATTSmartWIFI

ATTVisualVoiceMail

DirectTV

MyATT

Uber

YPMobile

which I consider bloat, but I believe some use ATT Visual Voice Mail, and maybe some others??

3. Other than 1, the cust partition file contents between cust B130 and B150 are identical, other than file dates being different. And I imagine cust B130 and B140 are identical also (other than the missing files in #2), other than the file dates being different between each version.

As a test, I installed the B130 cust onto my phone which has B150 and WiFi still works and the phone still rings when I call it.

As far as TWRP being the cause of us being unable to go back to stock, I had previously considered that, but restoring TWRP partitions from rooted backups I've made seems to work just fine, so that's a puzzling conflict in my mind.
[Huawei Ascend XT Guides, News, & Discussion] clsA:
In deed if you have the Stock /cust for B140 I would like to have it for the guide.
[Huawei Ascend XT Guides, News, & Discussion] mi7chy:
No, my WIFI was broken after going from fully untouched unrooted stock B130 and using B130_B140.zip unzipped to dload on SD card to update via *#*#2846579#*#*. Figured I would update from B130 > B140 then B150 before flashing TWRP and root. Thought it was pretty clear that this is a Huawei update glitch.

While attempting to recover I did flash TWRP but restore of 2017-01-26-H1611.B130.stock.complete.7z starts but ends with errors selecting either system/data or full restore. Wiping data/cache also gets errors. Pretty sure I also tried formatting data/cache if it was an encrypted partition issue. Hope it doesn't require equivalent to ODIN and PIT to recover.
[Huawei Ascend XT Guides, News, & Discussion] clsA:
Well that's the problem their is no Odin or anything similar for this phone

theirs only dload/update.app

If your phone was Stock why didn't you just take the OTA updates to B140 and B150 ?

This thread was written for those on B130 and Rooted

The errors you describe in TWRP can normally be avoided by simply rebooting recovery or mounting the partitions ahead of restoring the backup

I posted a B150 rom that will most likely get your phone to boot up. but if you don't read the flash instructions your on your own
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
What's your current phone status? Did you make any TWRP backups of your stock phone before starting the update process?
[Huawei Ascend XT Guides, News, & Discussion] wangcliff:
After update B130_B140.zip, my phone cannot boot now. It stuck on (1) Press Power key to continue. (2) Your device will continue to boot 5 second later if there is no operation. Your device is booting now....

Any idea how to fix?

Edit:

I forgot to update B140 recovery partition, that's why it couldn't boot. However, there are to problems. The build is showing 130 and I cannot enable Wi-Fi now. Any idea.
[Huawei Ascend XT Guides, News, & Discussion] clsA:
No wifi means you did not extract update.app and flash in dload

If you read and follow the instructions it works just fine
[Huawei Ascend XT Guides, News, & Discussion] wangcliff:
I check dload folder and that includes all files from B130_B140.zip. I think that might be something else caused the problem. Now is more weird. The phone cannot boot and stuck on "Your device is booting now..."

Here are the steps which from the OP:

Restore 2017-01-26-H1611.B130.stock.complete

dd if=/external_sd/custPartition.img of=/dev/block/mmcblk0p23

reboot

Dial *#*#2846579#*#*

Select Software Upgrade / SDCard Upgrade

Restore B140.Stock.system.recovery.boot without recovery partition

dd if=/external_sd/custPartitionB140.img of=/dev/block/mmcblk0p23
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
If you didn't install SuperSU, the phone won't boot like you said.
[Huawei Ascend XT Guides, News, & Discussion] wangcliff:
Thanks. I forgot the last step. Now works.
[Huawei Ascend XT Guides, News, & Discussion] sweetboy02125:
Does update from 140 to 150 will completely wipe the phone? I have it setup already and don't want to setup everything again. Thanks
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
Is your phone rooted so that you can make a full TWRP backup? When I updated from rooted B140 to B150 following the OP (with some deviations), I kept my original B140 data partition intact and did not have to wipe the phone. All my apps and settings stayed.
[Huawei Ascend XT Guides, News, & Discussion] sweetboy02125:
Yes, rooted and full back up. Instructions or quick step by step?
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
That's what post #1 is about.
[Huawei Ascend XT Guides, News, & Discussion] MT2-User:
Good to know. Thanks.
[Huawei Ascend XT Guides, News, & Discussion] madvane20:
yea i saw u post bout it since i had the files downloaded and been helping test etc the stock stuff figured id try it
[Huawei Ascend XT Guides, News, & Discussion] clsA:
Nothing we have tried will allow a True OTA to flash ...I think OTA requires a relocked bootloader but that hasn't been proven
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
dabadguycr posted previously that they were able to OTA with the bootloader unlocked but prior to rooting. Would be good to get more data points on this.

Can anyone here confirm they did actually lock the bootloader?
[Huawei Ascend XT Guides, News, & Discussion] clsA:
I think what he meant to say was he updated then unlocked and rooted, which is no help in this situation
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
Below is what he said ....... and if I understood correctly then it was an OTA update with the bootloader unlocked prior to rooting.
[Huawei Ascend XT Guides, News, & Discussion] clsA:
Yeah I read it but we both Know that's not possible so he must have meant that he updated before unlocking
[Huawei Ascend XT Guides, News, & Discussion] madvane20:
yea i would need a a video of the ota update process cause i havent seen any proof of anyone showing how they did it
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
You mean with unlocked bootloader. I agree - more data needed.
[Huawei Ascend XT Guides, News, & Discussion] divhandyman:
Thank You sir for your work and Thank You for your reply:good:
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
[MENTION=2895182]clsA[/MENTION],

Gonna update the thread title from "[Guide]Huawei Ascend XT - How to update from B130 to B140 and B150 after being rooted" to include B160? :)
[Huawei Ascend XT Guides, News, & Discussion] clsA:
lol yeah i suppose so ..with 12,000 views and only 8 thanks I guess it couldn't hurt
[Huawei Ascend XT Guides, News, & Discussion] jilebi:
Great job on this one step solution, [MENTION=2895182]clsA[/MENTION]! Excellent work. I have voted a thanks on both posts in this thread for [MENTION=2895182]clsA[/MENTION]. Would highly encourage everybody who reads this thread to do the same! 8 thanks just does not cut it!

Now I just wish we could help out [MENTION=7934375]madvane20[/MENTION] on his porting efforts. Is there a list of issues somewhere, on which he needs help?
[Huawei Ascend XT Guides, News, & Discussion] divhandyman:
I always seem to get stuck at this point when using fastboot usally a miss named file or in wrong folder or somthing:confused: My bootloader is unlocked now. I have placed the H1611.TWRP.New.img in adb folder with fastboot. my device is recognized with fastboot devices. I keep getting "No such file or directory" Any ideas where I screwed up? Thanks
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
What do you get if you do the following command

"dir H1611.TWRP.New.img" ?

Are you using a Windows PC? Case matters with Linux.
[Huawei Ascend XT Guides, News, & Discussion] divhandyman:
Im using windows 10. Its says "file not found" Do I need to move my adb folder?
[Huawei Ascend XT Guides, News, & Discussion] divineBliss:
You need to type that command from the folder/directory with adb, fastboot, and the TWRP file all in it.

Move the TWRP file into the adb folder if it's not in there already.
[Huawei Ascend XT Guides, News, & Discussion] clsA:
The trick i use is to type "fastboot boot "(< and a space) then drag the TWRP.img file into the command window

hit enter and it boots TWRP
[Huawei Ascend XT Guides, News, & Discussion] Mike64b:
I'm confused, is it possible to go from b130 to b160 directly or must I individually flash 140 reboot, flash 150 reboot, etc?
[Huawei Ascend XT Guides, News, & Discussion] clsA:
you can go directly to B160 or any of them you choose
[Huawei Ascend XT Guides, News, & Discussion] divhandyman:
That works so nice. I got it to work Thanks:good:
[Huawei Ascend XT Guides, News, & Discussion] Paisley Pirate:
YOU SIR ARE A GENIUS!

I now have B160 working and everything seems to be working so far... the wifi issue is fixed!

THANK YOU!
[Huawei Ascend XT Guides, News, & Discussion] bibinini:
I held off on updating my phone due to the convoluted instructions, but then checked this thread a month after my first attempt and was able to update to the latest firmware in under 20 minutes. Thank you so much:good::good::good::good::good::D:D
[Huawei Ascend XT Guides, News, & Discussion] clsA:
I'm glad to here everyone is getting their phones updated

use the thanks button that's what it's for :victory:
[Huawei Ascend XT Guides, News, & Discussion] tonline:
Thank you for everything you have done for this phone so far.

But I am having an issue updating my phone using your B160_Full_Update.v2.zip file.

After I updating with B160_Full_Update.v2.zip, the phone will stuck on booting now screen.

Tried to install SU V2.79 on TWRP(H1611.TWRP.New.img) like you suggested, but it fails.

If I try to install SU right after flashing to B160_Full_Update.v2.zip without rebooting the system, the phone crashes and start rebooting and it stucks at the rebooting now screen.

If I reboot the phone to TWRP after flashing to B160_Full_Update.v2.zip, TWRP can't mount System anymore and I have to wipe the system to do anything.

My phone was updated to 150B using your old methods before this, now it seems the only way I can bring my phone back is restoring my original backup files(140B) with TWRP and insall SU. I cannot even follow your old methods to back to 150B anymore, it will stuck on rebooting now screen....

I am missing something here?

If you have any suggestions what I should try, please let me know.

Thank you.
[Huawei Ascend XT Guides, News, & Discussion] clsA:
your system is read only

you need to choose Mount / and check system and cust and data

and below is a choice to mount system as read only .. be sure it's unchecked

Then install the B160_Full

when it's done Reboot - don't flash anything else yet

the rom will overwrite recovery you have to boot to twrp if you want to root

let the rom boot one time before flashing anything else
[Huawei Ascend XT Guides, News, & Discussion] tonline:
I believe that was I have been doing but I just tried again to make sure.

I did:

Boot in to Fastboot by holding volume - and power button.

ADB command "fastboot boot H1611.TWRP.New.img"

In TWRP, choose Mount and make sure all of the check boxes are selected including system, cust and data. And "mount system as read only" box is unchecked.

Choose Install and select B160_Full_Update.v2.zip and swipe to install.

Once it's done, press restart system.

Phone reboots and stuck at Your devices is booting now.... screen again.

After this I need to do "fastboot boot H1611.TWRP.New.img" to go back to TWRP.

But in here I can not mound system unless I wipe the system.

You mentioned in the 2nd post of this thread:

"Also some roms may need to have SuperSU flashed after the Rom or the phone may not boot the first time after the upgrade."

How do you flash SuperSU when you cannot boot at the first time right after the update AND when I go to TWRP the system is un-mountable.
[Huawei Ascend XT Guides, News, & Discussion] clsA:
post a screenshot of the TWRP screen after the rom flash is their any errors ?

no one else has had a problem with the phone booting after the install

is your file download ok ? did you check it's MD5 ?
[Huawei Ascend XT Guides, News, & Discussion] tonline:
the downloaded file had correct MD5.

But I checked one on the sdcard and it had wrong MD5 value. So something must have happened from my PC to sdcard.

I retried the file with correct MD5 with high hope.

But the same issue again!

Stuck on the rebooting message...

I don't think I see any errors in the TWRP after the flash of the update file, but I'll post the screenshot once I am done finishing restoring my phone with my backup.

*Screenshots added.
[Huawei Ascend XT Guides, News, & Discussion] clsA:
try flashing this one > https://www.androidfilehost.com/?fid=529152257862718404