yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend XT Questions & Answers] RN_ReFlux:
have you tried just using the unroot option in the SuperSU app? Then can just flash the stock recovery from fastboot. Or you could just flash the stock recovery from fastboot then use the system restore from stock recovery.
[Huawei Ascend XT Questions & Answers] dabadguycr:
I tried unrooting with supersu but says it can't find stock boot.

I gave up for now until someone find out if 1.50 works with root.
[Huawei Ascend XT Questions & Answers] divineBliss:
In order to unroot:

1. Restore Boot partition and System partition to stock using TWRP or "fastboot flash" if you have the img files.

2. Delete the /data/su.img file if it's still there. See https://xdaforums.com/showpost.php?p=63816659&postcount=2769
[Huawei Ascend XT Questions & Answers] dabadguycr:
I've tried.

I get stuck on the device is booting screen.

Is the 30min wait on that screen? I believe you said it was on the at&t logo screen.
[Huawei Ascend XT Questions & Answers] divineBliss:
I've not tried unrooting and in my experiences the long max 30 minutes wait was at the AT&T logo bootup animation screen.

Can you post the contents of the .md5 files from your TWRP back folder for the system and boot files? I want to compare to mine and see if they are the same. Just post the ones from what you think might be stock/before root.
[Huawei Ascend XT Questions & Answers] guest_2011:
Is Lineage possible for this phone?
[Huawei Ascend XT Questions & Answers] jg1210:
I had the exact same issue you're having. The only stock, unrooted backup that booted up completely was madvane20's backup. I also tried to delete the /su files but they would always reappear. Even after being unrooted, when it was time to install the update, it wouldn't install. The installation would always be "interrupted" and fail to install. I pretty much gave up on trying to update. My phone is still unrooted and I'm waiting for the update to download and install itself.
[Huawei Ascend XT Questions & Answers] divineBliss:
How many days have you been waiting for the B150 update to download/install? Are you going to try to root after that?

What happens if you check the current software version through settings? Does it say up to date or try to download the update?

---------- Post added at 11:32 AM ---------- Previous post was at 11:22 AM ----------

My understanding is that the systemless root process modifies boot.img, so restoring the stock Boot partition and deleting /data/su.img should be enough to go back to stock unless the Cust and Boot partitions were also monkeyd with during debloating. Also stock recovery has to be installed for OTA updates to work.
[Huawei Ascend XT Questions & Answers] jg1210:
I've been waiting for about four days now and keep checking for new updates everyday since. It always says no update is available and I'm up to date. I'm actually on b130 trying to update to b140, then b150. Yes, I wanted to attempt to root b150. The only way I got the update to download was by changing the date settings after it told me to wait 24 hours.

Yea I'm pretty sure I'm stock everything, boot, recovery, etc. I didn't really debloat when I was rooted. I only went into the cust folder once and deleted a few things didn't go too crazy lol. I think I deleted the swype for Huawei apk file. I usually backup everything I delete on my sd card, so I can restore it later. Don't remember if I did or didn't this time though. The only other changes I did, were to the build prop. I changed the dpi and disabled the navigation bar. I always restore or reverse the changes I made before resetting the phone or restoring a backup. Maybe I did delete something else by mistake that I didn't backup. I doubted though, never messed with the cust folder on previous phones, I'm sure I was careful when I was messing with it. Oh well, maybe someone else will have success. I'll keep trying.
[Huawei Ascend XT Questions & Answers] jg1210:
After checking all the files on my sd card, I found a direct tv folder with the apk in it. So it looks like I never placed it back into the cust folder. Maybe this is what was preventing the update.
[Huawei Ascend XT Questions & Answers] divineBliss:
What carrier is you XT on? I believe it has to be on AT&T or an AT&T MVNO to the OTA based on my experience.
[Huawei Ascend XT Questions & Answers] jg1210:
Yea AT&T.
[Huawei Ascend XT Questions & Answers] dabadguycr:
Yeah I can. What's a good place to upload to for free and Winrar or WinZip?

I can do it in a few hours.

BTW I did name the files right I just moved my rooted to my SD card when I thought I was in my unrooted folder. The unrooted files are the ones I am having no luck with. Could it be because I deleted almost everything from the cust apps besides visual voicemail?
[Huawei Ascend XT Questions & Answers] divineBliss:
If you look at the contents of each .md5 file, it's just one line of text, so if you can just copy/paste that line into a post. Just put a description that means something to your before each set of .md5 contents. I just care about the boot and system md5sums for now.

Something like:

before rooting:

<md5 sum from filename1.md5> <filename1>

<md5 sum from filename2.md5> <filename2>

after rooting:

<md5 sum from filename1.md5> <filename1>

<md5 sum from filename2.md5> <filename2>

Hopefully that makes sense :) . You can just PM this to me if you like.

No, I would not think a half blown away cust would cause your TWRP backup which you restored to make the phone not boot.
[Huawei Ascend XT Questions & Answers] dabadguycr:
Before Flashing Recovery

Didn't make a system backup just Boot and Recovery.

18aa8031466832d3872c5e1780c02280 boot.emmc.win

Before Root.

86dd72ae6f9c952dd404b6c864aee182 system.ext4.win000

1e52696bb53ea821177855016fd7bcba system.ext4.win001

18aa8031466832d3872c5e1780c02280 boot.emmc.win

After Root

86dd72ae6f9c952dd404b6c864aee182 system.ext4.win000

1e52696bb53ea821177855016fd7bcba system.ext4.win001

c4c1abc59da8f175d7eeaff64938f3fd boot.emmc.win
[Huawei Ascend XT Questions & Answers] divineBliss:
Those match mine, so we have the same backup images :) .
[Huawei Ascend XT Questions & Answers] dabadguycr:
Uhm I wonder what is going on then.
[Huawei Ascend XT Questions & Answers] clsA:
I have a request, can someone upload the Launcher.apk from this phone for me. I would like to port it to the H5x (has no app drawer)
[Huawei Ascend XT Questions & Answers] divineBliss:
Have you considered using Nova Launcher?
[Huawei Ascend XT Questions & Answers] divineBliss:
XT Launcher apk attached...
[Huawei Ascend XT Questions & Answers] madvane20:
dont download yet seems file wouldnt flash working on fixing it. anyone have the complete original data partition backup need it and i think i can update. i need the one before formatting it ty version b130
[Huawei Ascend XT Questions & Answers] clsA:
I'm wondering now if this is not just a version of google launcher ? you can't remove the google search bar at the top

---------- Post added at 09:48 AM ---------- Previous post was at 09:46 AM ----------

I uploaded my backup of B130 to AFH Here >> https://www.androidfilehost.com/?fid=673368273298928681
[Huawei Ascend XT Questions & Answers] divineBliss:
Dunno. I use Nova Launcher and it has an app drawer and much better than any stock launcher I ever used.
[Huawei Ascend XT Questions & Answers] clsA:
Yeah I agree, but i was looking for something for the Honor 5x that looked more stock

this launcher is allot like the one in EMUI 5
[Huawei Ascend XT Questions & Answers] divineBliss:
Just wondering why you are trying to keep the stock look?

Have you tried other higher end Huawei phone stock launchers?

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

Indeed a mystery. I've never tried restoring to stock.
[Huawei Ascend XT Questions & Answers] clsA:
OK I did the dd backup

now whats the code to restore it back to the phone ?

---------- Post added at 01:02 PM ---------- Previous post was at 12:56 PM ----------

Yes I have the Honor 8 and the H5x see the links in my Sig ;)

point is the h5x is not going to get Nougat or the launcher with the app drawer

while the Ascend XT is on EMUI 4.1 with the app drawer.

Returning to stock with the stock recovery and boot.img and system will not boot, why is this ?

has anyone posted the dload/update.app Full updates for B130 - 140 and B150 ? if so where ?
[Huawei Ascend XT Questions & Answers] divineBliss:
[MENTION=2895182]clsA[/MENTION],

I updated the original post with how to restore cust from .img file.
[Huawei Ascend XT Questions & Answers] dabadguycr:
I guess testing 1.50B and root will have to wait. Hopefully someone will put out a 1.50b flash

---------- Post added at 03:19 PM ---------- Previous post was at 03:01 PM ----------

I guess testing 1.50B and root will have to wait. Hopefully someone will put out a 1.50b flash
[Huawei Ascend XT Questions & Answers] madvane20:
updated my stock backup post feel free to give feedback. if i need to fix anything or if the guide looks good ty.https://xdaforums.com/android/development/-t3545720
[Huawei Ascend XT Questions & Answers] clsA:
Interesting, you can't fastboot flash cust on the Honor 5x or the Honor 8
[Huawei Ascend XT Questions & Answers] divineBliss:
Statement or question? Have you tried it? I have not, but it should work, I would think.
[Huawei Ascend XT Questions & Answers] madvane20:
if it does not flash there is another way to restore files to the partition im going to write up a guide once i feel better this flu is kicking my butt still
[Huawei Ascend XT Questions & Answers] clsA:
Statement.. flashing cust on those devices is not possible with Fastboot. TWRP can restore cust from the install image feature or from nandroid

The version of TWRP for this device is missing many features available in TWRP for the h5x. Like backing up cust and image flashing cust.img and system.img

---------- Post added at 06:08 PM ---------- Previous post was at 05:33 PM ----------

Any idea why restoring the stock backup will not boot after being rooted?

Also where are the full firmware updates from Huawei?

Is this device not able to flash full firmware updates from dload on the ext_sdcard?
[Huawei Ascend XT Questions & Answers] xx_iamxanderman_xx:
LinageOS

I have gotten LinageOS to boot. Working out the bugs now.
[Huawei Ascend XT Questions & Answers] divineBliss:
Using dd to flash the cust image should work, I hope.

I have not tried going back to stock or updating from /dload. I don't know why it's not working. Did you try un-rooting and going back to stock to see if it works for you?

How would you update from /dload - do you have instructions?
[Huawei Ascend XT Questions & Answers] madvane20:
i've tried it with complete stock wonder if our unlocked bootloader is causing it to fail?
[Huawei Ascend XT Questions & Answers] clsA:
yes I tried

I booted TWRP > backed up boot/recovery/system and did your dd of the cust partition and saved everything to ext_sdcard

I then continued to format data and root the phone

everything worked fine as expected

I installed a couple apps busybox / TB / Simple Reboot

backed up some of the AT&T bloatware I planned to remove

booted to recovery made a backup of the stock rooted rom

everything still working fine as expected

At this point I decided to test the backups before going any further

I rebooted recovery and restore the first backup

B130 Stock recovery.boot.system when it finished I did Wipe factory reset

the reboot / system

and from this point on the phone hangs on the screen saying the phone is now booting

waited over 30 min at one point and it never boots up

fastboot boot back to TWRP and this time I restore the 2nd backup

this included all the partitions listed in the backup options

Same thing phone will not boot

fastboot booted TWRP again flashed SuperSU and the phone works again

=============================================================================================

How to update a phone with the dload/Update.app

I tried the above dialer code and it works fine on this phone
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
Would you be willing to share the current working version? I'm willing to attempt to smash bugs as well and since I'm new to android development having something that has to be fixed I think is a great place to start learning more. If not I'd understand. Thanks in advance and thank you for your work so far! ?
[Huawei Ascend XT Questions & Answers] clsA:
yeah just as I thought

Fastboot won't flash /cust

it's the same on most all Huawei / Honor devices

The dd restore works fine in TWRP / adb shell
[Huawei Ascend XT Questions & Answers] madvane20:
had a pm lol
[Huawei Ascend XT Questions & Answers] clsA:
yes I had to flash SuperSU again after restoring the nandroid (backup) to get it to boot
[Huawei Ascend XT Questions & Answers] 9000RPM:
Anyone able to get Link2SD to work?

I tried to create the 2 partitions with MiniTool and phone says the card is damaged every time I insert it.

Tried on TWRP and the phone says the SD card is unsupported after creating the 2 partitions.
[Huawei Ascend XT Questions & Answers] clsA:
posted my TWRP flashable MOD for disabling SWAP (zram)

https://xdaforums.com/android/development/mod-disable-zram-marshmallow-t3550940

enjoy!
[Huawei Ascend XT Questions & Answers] divineBliss:
How can I tell if ZRAM is enabled/disabled on my phone before I do this mod?

What's the advantage to disabling ZRAM based on your experience?
[Huawei Ascend XT Questions & Answers] clsA:
I use Ram Truth in the play store to check it

check the thread I posted theirs much discussion on why you want it disabled

[MENTION=5399951]redbeard1083[/MENTION] explains it pretty well here
[Huawei Ascend XT Questions & Answers] divineBliss:
So if I understand correctly, you also were not able to use TWRP and dd (for cust) to restore back to stock. What version are you on now? Rooted B130?
[Huawei Ascend XT Questions & Answers] clsA:
yes rooted B130. i have software updates disabled now

and yes thanks the adb shell dd restored the cust
[Huawei Ascend XT Questions & Answers] divineBliss:
There's a shared version of update.app (B140 I think) in this thread somewhere. Did you try it with your update method to see if it gets you to B140? Glad to get verification that the "dd" for cust .img restore works as I expected. :)

---------- Post added at 11:12 PM ---------- Previous post was at 11:09 PM ----------

When I'm using my phones, which is most of the time, I don't see any sigs :) .

Do you really prefer the stock XT launcher over Nova Launcher?
[Huawei Ascend XT Questions & Answers] clsA:
yes the dialer method will flash the B140 update.app

but it's not the same as flashing the FULL B140 firmware

the small 200mb update is mostly just the modem and a few other files
[Huawei Ascend XT Questions & Answers] divineBliss:
You could try locking the bootloader to rule that out since you already have the unlock code to unlock it again.
[Huawei Ascend XT Questions & Answers] dabadguycr:
Dude that's amazing!!!

I can not wait for you to get it working perfect. How does it run? Notice any speed difference or battery life?

---------- Post added at 01:52 AM ---------- Previous post was at 01:45 AM ----------

I wonder what would happen if we tried to flash the newest TWRP now since we do have recovery? Would it even work?

I couldn't flash my stock unrooted backup ether.
[Huawei Ascend XT Questions & Answers] clsA:
Alright this is for anyone that debloated their /cust partition and need to return it to stock B130 > H1611.B130.Stock.cust.flashable.zip

If you would like one for B140 or B150 let me know and I'll see what i can do...

After looking at all the file's in the cust partition it's possible nothing is changed between b130 and b140

if you want to try it on b140 let me know the results (Backup your stock b140 /cust before testing it!)
[Huawei Ascend XT Questions & Answers] divineBliss:
Would you please make a custStockB130.img if possible.

B140 and B150 would be great too could somehow. Thanks! :)
[Huawei Ascend XT Questions & Answers] clsA:
it's uploading now

I'll post the link here >> https://www.androidfilehost.com/?fid=529152257862700785
[Huawei Ascend XT Questions & Answers] madvane20:
i added your backup and my backup to my stock thread im gonna try again to see if i can get my phone to update
[Huawei Ascend XT Questions & Answers] dabadguycr:
Were you able to get unrooted?
[Huawei Ascend XT Questions & Answers] madvane20:
my stock backup in the thread is stock its not rooted more info on the thread, link is in my sig
[Huawei Ascend XT Questions & Answers] divineBliss:
Do you mean unrooted or back to full stock by restoring backup?
[Huawei Ascend XT Questions & Answers] madvane20:
yea did u want to remove root or install stock backup like they said u didnt specify

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

For anyone who is not receiving the ota. goto ur apn settings make sure in apn type that it has fota included if not add it
[Huawei Ascend XT Questions & Answers] ensol52:
You get same performance, but more battery life and less heat due to the cpu not having to do proccess to compress the apps. I tried it and apps perform even faster and don't redraw which is weird lol
[Huawei Ascend XT Questions & Answers] madvane20:
im gonna have to disable that on mine lol although my battery life is really good should make it superb lol
[Huawei Ascend XT Questions & Answers] ensol52:
Bro that's totally amazing. If there is no bugs related to wifi and bt and radio bands i want that rom. If you need testers tell me and i will do the tests.
[Huawei Ascend XT Questions & Answers] divineBliss:
Makes me wonder why companies even provide ZRAM. I had it disabled weeks ago, then re-enabled it because I didn't feel like the phone was better.
[Huawei Ascend XT Questions & Answers] madvane20:
they do it on mainly on phones that have 1gb of ram or less but i think its a pain too lol
[Huawei Ascend XT Questions & Answers] dabadguycr:
I tried it just gets stuck in boot. Never goes to AT&T logo.

---------- Post added at 12:59 PM ---------- Previous post was at 12:56 PM ----------

I tried both with no go.

Stock is what I'm trying to get at so I can update.

I want to flash the system before recovery just Incase system fails and I need to flash again with recovery. Is it even possible to flash recovery whenever the system won't load?
[Huawei Ascend XT Questions & Answers] divineBliss:
My B130 to B140 update was done over WiFi without mobile data on, so that setting is not necessary as I do not have it.

---------- Post added at 02:05 PM ---------- Previous post was at 02:01 PM ----------

Yes, try the first part of post 1 instructions where you run TWRP using "fastboot boot....." . I posted instructions on how to easily get into fastboot mode in the middle of the thread somewhere - if you search you'll find it.

So yeah, we should always be able to recover unless it's a major screw up :) .

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

So as long as you can get into fastboot, you can flash stock or custom TWRP recovery :) .
[Huawei Ascend XT Questions & Answers] dabadguycr:
But can you get into fastboot when the phone won't pass boot?

I read something earlier saying flashing stock won't boot unless you flash recovery as well any truth to this? I thinking not.
[Huawei Ascend XT Questions & Answers] divineBliss:
Has your phone been in this situation you are asking about? I think you will say yes, and I will ask, how did you recover :) ?

---------- Post added at 02:31 PM ---------- Previous post was at 02:27 PM ----------

If it's enabled on our 2GB phone by default, then I wonder why Huawei did that if it ZRAM eats more battery and CPU? It must be to give the phone the feeling of "more RAM" ?

I personally run many apps at once, so I need all the RAM help I can get, so I think ZRAM is good for my case - each of us has different needs - I realize :) .
[Huawei Ascend XT Questions & Answers] clsA:
You seem to keep forgetting that 2 of us have restored all the stock backup files and the phone refuses to boot until it's been rooted again.

Why do you insist it's easy to return to stock?

You also said more than once you haven't tried it yourself
[Huawei Ascend XT Questions & Answers] divineBliss:
Jumpin' to crazy conclusions .......... You missed my whole point that you can still use fastboot and TWRP to recover the phone when it get stuck.

And I never said that it's easy or possible to go back to stock. I'm just trying to figure out why it's not working :) .
[Huawei Ascend XT Questions & Answers] JamesHasty:
ENVY!

YOU ARE A SAVAGE! Much thanks! I already pushed the button lol
[Huawei Ascend XT Questions & Answers] divineBliss:
Allowing Swipe to Unlock Screen ???

I'm not sure what happened to my phone or when, but if I recall correctly, I was able to choose Swipe to unlock my phone. Now that options is grayed out and I have to choose one of the other options always. Any ideas on what I might have done and how to go back to being able to choose Swipe and no password? Thanks! :) Factory Reset or Restore is not the answer I'm looking for. ;)
[Huawei Ascend XT Questions & Answers] dabadguycr:
I had the same problem. I had to restore to get the option back in developer mode.

---------- Post added at 03:52 PM ---------- Previous post was at 03:49 PM ----------

I never tried flashing the recovery been on TWRP since rooting and yes I've been stuck on booting up screen (the one before at&t logo) Everytime I try to flash stock unrooted system and boot. Only ones that work is rooted backups.
[Huawei Ascend XT Questions & Answers] divineBliss:
You had to restore what and how? :confused: Are you saying you restored one of your rooted TWRP backups completely to get this option back? I wonder what I did that made it force a password?

So if I make a backup or my rooted phone and just restore it, you think that will allow me to select no password again?

---------- Post added at 04:57 PM ---------- Previous post was at 04:55 PM ----------

When it's in this stuck mode, try connecting to PC and see if adb logcat will output anything if adb connects . Not sure if it will connect or not, but worth a try.
[Huawei Ascend XT Questions & Answers] madvane20:
ive tried everything to update restoring my phone to stock everything but fails everytime

---------- Post added at 11:49 PM ---------- Previous post was at 11:47 PM ----------

yea i dont understand that either theres phones with 3gb that they have that enabled

---------- Post added at 11:50 PM ---------- Previous post was at 11:49 PM ----------

ive flash my stock backup and it loads fine i dont have to root it done it already like 10 times to try get phone to update but just fails even with complete stock everything

---------- Post added at 11:52 PM ---------- Previous post was at 11:50 PM ----------

flash my stock backup all partitions then goto format swipe for factory restore try that if not goto format click data then type yes finish format then try flash my stock backup. i mean u can try format all partition as in data system cache. then try load the backup i have formatted all the partitions before worked for me but thats just last resort to try
[Huawei Ascend XT Questions & Answers] dabadguycr:
Tired it gets stuck at device boot screen.

Only able to flash with my rooted backup.

---------- Post added at 05:15 PM ---------- Previous post was at 05:10 PM ----------

I just thought about something I was wrong. All you need to do to stop the password is wipe data. That will allow you to turn off password or even screen lock in developer.