yashsingh1/xdaforums huggingface dataset:
[Honor 5X Guides, News, & Discussion] Zacki06:
Perhaps I missed something, but it's not working for me. I rooted my H5X with systemless root as required via a booted TWRP, so the stock recovery was still on the device. Then I selected the update.zip in Flashify and selected CWM recovery as stated. Then my phone boots into the stock recovery and waits until I do something. This is the point where I think that it is waiting for an "update.app" file, but this zip file does only contain 5 folders (cust, firmware, META-INF, patch, system) an files and an update_erec.app file.

So nothing happens and I manually reboot the phone.

Where is the (my?) mistake?
[Honor 5X Guides, News, & Discussion] clsA:
Flash TWRP / Flash superSU

Install update.zip from flashify

Also systemless root has nothing to do with stock recovery and is not necessary
[Honor 5X Guides, News, & Discussion] Zacki06:
Did as you proposed, phone rebooted to TWRP, looked like flashing something and then rebooted again after not even one second. :(
[Honor 5X Guides, News, & Discussion] clsA:
Flash it manually what's the error in TWRP?

Is it mounting system or error
[Honor 5X Guides, News, & Discussion] Zacki06:
This is the error I got.
[Honor 5X Guides, News, & Discussion] clsA:
Go to mount in TWRP and uncheck all the partitions that failed and try again
[Honor 5X Guides, News, & Discussion] Zacki06:
"mount system partition as read-only" was checked, I would guess that this should be unchecked, right?

Update:

now it failed to mount /cache, /system, /cust, /data and exited with the same error message.
[Honor 5X Guides, News, & Discussion] Zacki06:
Looks like I made a mistake, I tried to flash the full rom as a zip file instead of the OTA version of the zip file.

With the OTA things work better but I still can't fully update. The stock recovery recognizes the file and updates, but fails at around 83% and then I have to restore the system via TWRP or the force install.

Flashing it with TWRP does kind of pass, it exits with an error but after reboot it does show B360 in the system settings.

The error is:

error:oemsbl version write error!
check_write_data_to_partition,write data error
[COLOR="Red"]E:unknown command [errno]
E:unknown command [errno][/COLOR]
update_huawai_pkg_from_ota_zip: update package from zip failed
[COLOR="Red"]Updater process ended with ERROR: 7
Error installing zip file '/external_sd/dload/update.zip'[/COLOR]

Did the update still succeed? What does this error mean?

And one more strange thing, when booting into the bootloader, since trying to upgrade to B360 it shows "FRP unlock" again. Last time I saw this was when I got my phone and upgraded from 5.1.1 to 6.0.1 and it was gone all the time until now.

Edit:

Seems like Wifi is not working with upgrading to B360 this.
[Honor 5X Guides, News, & Discussion] clsA:
Seems the zip you flashed was looking for another zip file called "update_huawai_pkg_from_ota_zip"

most likely this file will contain what you need to get Wifi / Bluetooth working

Its the same way on the Honor 8 you have to flash update.zip and update_data_full_hw_usa.zip for the phone to work correctly
[Honor 5X Guides, News, & Discussion] Zacki06:
So I would guess, it's better to stay on B350 for the moment until B360 is released in my area or someone found this other zip.
[Honor 5X Guides, News, & Discussion] clsA:
you can get the other zip by using url of the update.zip

it's just a matter of changing the file names around

EDIT: after checking your filelist.xml

thiers is no other files but something called an "precheck-script" I'm not sure what this does but you need it to update.
[Honor 5X Guides, News, & Discussion] Zacki06:
So the URL I managed to pack together is http:// update.hicloud.com:8180/TDS/data/files/p3/s15/G79/g0/v72726/f1/full/hw/eu/update_huawai_pkg_from_ota.zip

but it's not working. I'm not sure what region code to use, as I'm not aware of the region it is released in. And I have no real Idea of how they look. Btw, what does the "hw" stand for?
[Honor 5X Guides, News, & Discussion] pork666:
stock recovery?

Hello!

I have a question.

I have a h5 kiwi-l21 with mm b350 on it. Is the stock recovery for that ver b330?

Regards
[Honor 5X Guides, News, & Discussion] ShadySquirrel:
[MENTION=3238655]Zacki06[/MENTION] don't bother to search for that file, you won't find it, looks like that is an error message from update-binary and file with that name is not mentioned anywhere in updater-script - if I remember correctly, recovery is flashing only stuff found in that one... Your (and probably mine) error is this one:

<code>error:oemsbl version write error!</code>

I wasn't lazy and I've inspected updater-script and checked what's going on around 80% mark; from my understanding of that process, it looks like updater is failing to patch some of the files - since you too have a crash at ~80% mark, it's probably some stuff from /system/app, which is patched around that mark (check updater-script). Can't tell anything about update-binary because it's just a bunch of random bits and strings.

It would be nice if we could somehow grab logs from stock recovery...

Has anyone on KIW-L21 C432 managed to install that update, and which base have you used?
[Honor 5X Guides, News, & Discussion] NAROUTO:
REQUEST

[MENTION=2895182]clsA[/MENTION]

Hello sir can you please port emui4 camera and music player and video player too for android 7 roms. Plzzzz

I can't find any kind of this apps in CM ROMS.

if you have good apps like this please share with us :angel:
[Honor 5X Guides, News, & Discussion] clsA:
I use Shuttle as my music app and MX player for video. VLC is also nice
[Honor 5X Guides, News, & Discussion] NAROUTO:
Okay thank you very much :)

Will give them try
[Honor 5X Guides, News, & Discussion] Leo_Star1982:
Still using this middle east firmware.. If you have any updated firmware for middle east so let me know. I like to update my cell.. But update should be via dload folder bcoz i don't want to root my phone bcoz I'm not a technical guy.. Thnx
[Honor 5X Guides, News, & Discussion] clsA:
Try this KIW-L21C185B321CUSTC185D001

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G79/g0/v73022/f1/full/update.zip
[Honor 5X Guides, News, & Discussion] Leo_Star1982:
How to flash this file? I put this zip file to dload folder in sd card & open hidden menu using these codes *#*#2846579#*#* upgrade menu show there is no update file in sd card.. Plz help
[Honor 5X Guides, News, & Discussion] Ubaid laghari:
I update my phone and its not working correctly I think I update currept file and now I want to downgrade my huawei gr3 tag L21 plz help me
[Honor 5X Guides, News, & Discussion] Zacki06:
It is a little bit surprising to me, even though I saw it in the past already, that when going back from the not properly working B360 to B350 via nandroid backup, the phone still thinks (and displays) that I am on B360.

Would be interresting to know where the phone is storing this information, because I it is a complete backup (everything that TWRP offered me to backup).

On the first post you will find a section that says "L21", and the depending on your CUSTom code, you can find the downloads there. If you can tell us if you have a C432 or a C185 as an example, it is easier to point to a specific file.

Other than that, check that you download a zip that contains an "update.app" only, the others are probably not suitable for "recovering" your device.

Put that file (the update.app, not the zip!) on your SD-Card in a folder called "dload". If you can still start the phone, use the code *#*# 2846579 #*#* in your dialer and select "software upgrade", and then "SDCard upgrade". Then it will flash the update and you should be fine.

If your phone does not start into the OS, then follow the same steps with putting the file on the SD card and then when the phone is off, hold Vol-Up + Vol-Down + Power and release the Power button after a few seconds again.

Then the update should be going the same way from there.

If you need any more help, just ask and we will try to help you.
[Honor 5X Guides, News, & Discussion] clsA:
The info is stored in local.prop in the /cust partition. Most nandroid do not back this up
[Honor 5X Guides, News, & Discussion] Splitbreed:
My device is GR5 KII L21. Software is cyanogenmod. I want to go back to the stock rom and stock recovery. How do I get back?

Please help me, and sorry for my bad english.
[Honor 5X Guides, News, & Discussion] shashank1320:
Have you taken backup of stock rom before flashing the custom rom? If yes, just restore and then flash stock recovery.

If not then copy the respective firmware for your phone. Install stock recovery and then use the dload method to boot up to stock rom.
[Honor 5X Guides, News, & Discussion] Splitbreed:
Thanks,

I have backup (Stock). But then I deleted it later.

I will try method 2, but,

I will install MMarshmallow ROM. Does the recovery mode version notice?

Example: MM ROM / b130 Recovery

Is it working or is it brick?
[Honor 5X Guides, News, & Discussion] shashank1320:
It works well. Or you can try getting a twrp backup for your model in the OP. See if somehas uploaded the backup for your model. You can restore the same.
[Honor 5X Guides, News, & Discussion] Leo_Star1982:
Need help guys I flashed 100mb update.app picup in forum nothing happend but wifi is gone it is not turning on & now dload update option is not working & fastboot shows attatched devices but error cannot load maybe some problem in kernels .

Bootloader is locked & stock marshmallow with stock recovery KIW-L21C185B310CUSTC185D006
[Honor 5X Guides, News, & Discussion] adriansticoid:
Below the attached devices there should be an ID. A mix of letters and numbers and it is device specific. In your screenshot, it's blank. So your phone is not recognized.

---------- Post added at 11:44 AM ---------- Previous post was at 11:44 AM ----------

Also, update.app is not just 100mb. It must be at least 1GB or more.
[Honor 5X Guides, News, & Discussion] Leo_Star1982:
Plz give me any link how to properly attach my device to pc with adb.fastboot ??

& when i put my device to fastboot mode it shows locked? maybe this is the reason ?? Guide plz
[Honor 5X Guides, News, & Discussion] adriansticoid:
Please refer to the bootloader unlocking thread in the guides and discussion subforum.
[Honor 5X Guides, News, & Discussion] Leo_Star1982:
I attached 5x successfully fastboot reboot works well & it send every command but finish unsuccessfull with this msg ( command promote not allowed)

Do you have any idea why is it happening?

View attachment 4036545
[Honor 5X Guides, News, & Discussion] shashank1320:
You got your Honor 8...wow.congo bro
[Honor 5X Guides, News, & Discussion] adriansticoid:
ADB is still not detecting your device. Try to install HiSuite first.

Thanks bro. :)
[Honor 5X Guides, News, & Discussion] clsA:
I'll post the update and the system dump to my AFH later today

[MENTION=4648515]AL_IRAQI[/MENTION] The update is up ...TWRP backup done also
[Honor 5X Guides, News, & Discussion] wickedesires:
Has anyone found a changelog or know if there is any major differences or if it's just monthly security patches? I would think if it just patches it would be much smaller. [MENTION=2895182]clsA[/MENTION] can you link to your twrp backup please so I don't have to go back to stock to update.

Edit: nvm just found a list of changes and gonna stick with b140 for now
[Honor 5X Guides, News, & Discussion] clsA:
all the links are on the first page
[Honor 5X Guides, News, & Discussion] AL_IRAQI:
Thanks :)

I flashed it on my KIW-L21 and everything seems to be working fine

Only model number i couldn't change it to KIW-L24

Screenshot:
[Honor 5X Guides, News, & Discussion] Caltinpla:
I'm a new here, can someone guide me how to flash/install this update. My phone is US-KIW L24 current B140 rooted and unlocked bootloader.

Thank you
[Honor 5X Guides, News, & Discussion] clsA:
The update comes with instructions

You will have to return to stock system and stock recovery. You can use my back to stock guide to return to stock with TWRP
[Honor 5X Guides, News, & Discussion] Caltinpla:
Thank you for your quick response. I tried your back stock guide but it did not work for me. Is it possible to make it a flashable zip through TWRP.

Thanks
[Honor 5X Guides, News, & Discussion] clsA:
Sure here you go >> KIW-L24.B151.Stock.Rom.zip
[Honor 5X Guides, News, & Discussion] Caltinpla:
blob:https%3A//mail.google.com/8e35e248-abe6-452c-b11e-a55d8b06cbdc

Thank you so much. I flashed it and everything went well, the only thing I had to do was to reflash supersu to get root back.

Quick question: how come the build number is still B140, and the kernel is also the same? The only different is the Android security patch level is: March 1, 2016

Thanks again
[Honor 5X Guides, News, & Discussion] AL_IRAQI:
Because software Info's are in /cust
[Honor 5X Guides, News, & Discussion] clsA:
I'm uploading the KIW-L24-B151-Stock.Rooted.DeOdexed.zip now

it includes the /cust and some /data
[Honor 5X Guides, News, & Discussion] Caltinpla:
You're the man...can't wait to try it out. Thank you!!!
[Honor 5X Guides, News, & Discussion] clsA:
4-9-16 first post is updated

added KIW-L24-B151-Stock.Rooted.DeOdexed.zip

and KIW-L24-B151-Stock.Rooted.DeOdexed.Xposed.zip
[Honor 5X Guides, News, & Discussion] gado45:
How come I can't update with the OTA zip? Im on b130 and I tried to update with the b140 ota zip, put in "dload" folder but updater doesn't recognices. Also is there a b151 ota zip ?
[Honor 5X Guides, News, & Discussion] clsA:
Did you extract the update.app and put it in the dload folder?
[Honor 5X Guides, News, & Discussion] gado45:
I did! update was found and I proceed and everything was so fast and rebooted then, on settings it still says Im on B130
[Honor 5X Guides, News, & Discussion] subodhverma21:
Hi clsA,

Thanks for your File Depo.

I want to return to Stock on my L-22, Only thing I do not have is stock Recovery for L-22.

Any Idea how to get back to L-22 Stock Recovery?
[Honor 5X Guides, News, & Discussion] stef9998:
Is there a difference between the xposed files uploaded here and them uploaded at //dl-xda.xposed.info/framework/sdk22/arm64/ ??
[Honor 5X Guides, News, & Discussion] clsA:
no anything including / after xposed-v82-sdk22-arm64 should work on the 5X without problems
[Honor 5X Guides, News, & Discussion] clsA:
Guys Android M is coming and we need to have TWRP Backups of the latest Software on the L21 and L22 and the GR5

Their is a new version of TWRP >> https://www.androidfilehost.com/?fid=24549084345925660

and we need the following backed up

boot

custom

eRecovery

oeminfo

(stock) recovery

system

These backups are going to be invaluable in the future for returning to stock

or for returning to Lollipop from MM.

The way I create my backups is to restore the phone to stock with the stock recovery / dload/update.app

then Boot TWRP

fastboot boot kiwi_twrp_5-14_recovery.img

leave system read only

choose backup and use the list above

then copy this to your PC and zip it up and upload it... it's that simple

I'll post your links or mirror the files on my AFH account for all to use

Thanks
[Honor 5X Guides, News, & Discussion] GenoStelar:
link dead

TWRP Backups KIW-L21 / L22

KIW-L22 B340 Thanks go to [MENTION=6714681]shashank1320[/MENTION]

the link is dead
[Honor 5X Guides, News, & Discussion] shashank1320:
Here is the link for MM full B340 zip (boot+System) https://drive.google.com/open?id=0B42SZzKuosucYWVYc2paNnAxelU

this is B340 OTA- https://www.androidfilehost.com/?fid=24588232905722144/ https://drive.google.com/open?id=0B42SZzKuosucZ0g3cmZkc2ptMTA

This is B350 OTA- https://drive.google.com/open?id=0B42SZzKuosucZmQ0ODladGFTZEk
[Honor 5X Guides, News, & Discussion] JaridF:
NEED HELP

hi I'm 13 years old. I have a Huawei GR5 kll-l22 and its hard bricked it wont go to the bootloader. What can you suggest that I can do about it ? and what rom should I use? Thank you!
[Honor 5X Guides, News, & Discussion] clsA:
Did you try this >> sorry wrong version
[Honor 5X Guides, News, & Discussion] vishal.ekka:
Does the twrp backup for l22 b340 have the stock recovery or twrp?
[Honor 5X Guides, News, & Discussion] IMISSMYNEXUS:
I tried searching but I don't think I'm understanding all of this. My GF's 5x has a custom ROM but her phone calls keep getting static or the other person can't hear them. Can I flash just the modem or radio over her custom ROM? And would they be in one of these files?
[Honor 5X Guides, News, & Discussion] jdki666:
Hi sir first thank you for collecting all these frimwares in one place.. I have gr5 I tried the backup in this thread everything works fine but there isn't any opinions for the fingerprint in the settings could you please help me...thank you in advance

---------- Post added at 09:02 AM ---------- Previous post was at 08:59 AM ----------

Sorry I forgot to mentione that my device in kii-l21 and I tried

The C185b130 backup thanks
[Honor 5X Guides, News, & Discussion] BKNinja:
Can I use the KIW-L22 backups for KII-L22?? :)

Im using Huawei GR5 (Philippines)
[Honor 5X Guides, News, & Discussion] clsA:
No I don't think it will work
[Honor 5X Guides, News, & Discussion] birsifironde:
Can I flash different region's KII-L21 lollipop rom to my KII-L21 without flashing cust partition etc? I will just flash bootloader and system.img does it work?
[Honor 5X Guides, News, & Discussion] MadCow809:
Hi, my device is a Honor X5 KIW CL-00, and I've been desperately trying to figure out how to fix the bootloop issue. It doesn't matter which ROM that I flash, be it CM13/RR/LineageOS, it just goes into an endless bootloop. I believe that I've installed the correct version of TWRP (twrp-3.0.2-0-kiwi), but I just can't get any ROMs to work.

Please help. Do I need to tinker around with the firmware or what? Please advise. Thanks
[Honor 5X Guides, News, & Discussion] clsA:
Restore your stock backup
[Honor 5X Guides, News, & Discussion] MadCow809:
Unfortunately that option isn't available for me, as I'm now stuck with a new issue. After I tried flashing one of the roms (either CM12 or CM13), the touch screen function no longer works, which leaves me in the initial page of TWRP, where I need to swipe to access the TWRP menu. I tried using Huawei's update extractor and extracted the .img files from the Update.app file, and then used adb to flash it, but I'm still stuck with the same problem.

So now the situation is pretty critical, since the phone is almost as good as a brick. I don't have the touch screen function to access TWRP, therefore I cannot flash any rom, or wipe the cache/data/dalvik/system, or restore the factory default rom. The only thing that is still working is runnign adb from my computer, while connecting it via an usb cable under bootloader mode.

What I've done:

Tried various different versions of TWRP (twrp-3.0.2-0-kiwi & twrp-3.1.0-0-kiwi)

Tried flashing various third party roms (RR-N-v5.8.0-20170115-kiwi-Unofficial & ResurrectionRemix-M-v5.7.4-20161220-kiwi & miui_6.12.12_kiwi_10-02-2017 & cm-13.0-20160717-UNOFFICIAL-kiwi & lineage-14.1-20170419-nightly-kiwi-signed)

Performed full format and data/cache/dalvik wipe every time I tried to flash a ROM file.

Regardless of which ROM file that I've tried, the phone will always get stuck in an endless bootloop.

While flashing one of the ROM files (either CM12 or CM13), the phone lost it's touch screen functionality, making it impossible for me to enter the TWRP menu page.

Tried placing the Update.app file under a "dload" folder in the SD card, and booting the phone with all the buttons pressed. The EMUI recovery function gave me a result of "software install failed" Shutdown system now.

Tried using Huawei's update extractor to extract the boot.img, recovery.img, cust.img, system.img, and flashing them to the phone with adb (As per DigiGoon's instruction). But the phone is still stuck in a boot loop.
[Honor 5X Guides, News, & Discussion] clsA:
it seems you covered most everything

did you try and flash aboot or sbl1 ?

more roms here >> https://easy-firmware.com/index.php?a=browse&b=category&id=17761

you can try this recovery I think it will work without touch screen >> https://xdaforums.com/devdb/project/?id=16112#downloads
[Honor 5X Guides, News, & Discussion] smilezply:
off topic...

does any one have the boot loader unlock and correct programs to root the 5x like the download link that is direct. I keep hoping to come acrossed it without luck. url

k help. also a good rom that has awesome themes.like 4 females...please...

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

thank u
[Honor 5X Guides, News, & Discussion] MadCow809:
Thanks for the suggestion. I'm gonna try and tinker around for a bit more and see if I can revive this phone.

Much appreciated. I will keep updating on the latest progress.
[Honor 5X Guides, News, & Discussion] MadCow809:
Okay, so I've managed to get the phone to work again. Here are some feedbacks to what exactly went down, even though I'm still a bit baffled by how it all worked out.

So, currently the phone is running EMUI 4.0 B422, which I found on a Chinese forum called club Huawei

The guide suggested that I should just let the phone bootloop endlessly, until the battery runs out of juice and switches off. After the phone switches off, charge it with just enough power to boot into TWRP

Somehow this fixed the touch function for TWRP, thus allowing me to wipe all the data and format the phone.

After formatting the phone, I downloaded and flashed the EMUI 4.0 B422 Rom file from the forum, which supposedly works with all versions of the Honor X5

The phone finally booted into the familiar EMUI 4.0 OS, even though the rom is littered with localised Chinese apps and bloatware.

I then went back into TWRP and did a quick wipe, and installed open_gapps-arm64-6.0-pico-20170425

So finally, the phone is working now, with Google frameworks installed.

I still kinda of want to tinker around with custom roms, especially Nougat based rom like LineageOS. But first I would like to understand the nature of the problem as to why the phone will go into an endless bootloop every time I install a third party rom like CM/LineageOS/RR etc.

Can someone enlighten me on this matter please? Thanks
[Honor 5X Guides, News, & Discussion] clsA:
That makes sense because you have the Chinese version.

The lineage and CM ROMs are developed on an L21 or L24 your phone is just not the same
[Honor 5X Guides, News, & Discussion] MadCow809:
So is it not possible to install any custom roms for the Honor 5X CL-00 variant?? :(
[Honor 5X Guides, News, & Discussion] MadCow809:
Phew, finally all sorted out.

So I managed to find a patch file on the Chinese site (http://club.huawei.com), and basically that sorted out the bootloop issue. Then it's just a simple process of wipe dalvik/cache/data, install LineageOS 14.1, install patch, install opengapp, root and viola! Everything is running smoothly.
[Honor 5X Guides, News, & Discussion] clsA:
That's nice of you to report that you fixed it.

But you should list the actual file you used not some vague link to a huge website.

If you have the file and instructions post them here.
[Honor 5X Guides, News, & Discussion] MadCow809:
The patch file can be found from this link "422 BA Patch.zip" filesize: 14.7MB

It is slightly hard to navigate through the cloud storage, but basically just try and match the file size, since there is only one patch that fits the description.

The instruction is as follows

Unlock Bootloader

Download TWRP (dl.twrp.me/kiwi)

Use Minimal Adb & Fastboot to install TWRP 3.1.0.0

Download LineageOS 14.1 (download.lineageos.org/kiwi)

[Optional]Download root add-on for LineageOS 14.1 (Lineage-14.1-addonsu-arm64-signed)

Download B422 KIW-CL00.zip

Download B422 BA Patch.zip

[Optional]Download Opengapp Android 7.1 Arm64, nano is recommended

Enter TWRP by pressing volume up & power button

Flash B422 KIW-CL00.zip

Wipe Dalvik/Cache/Data

Flash LineageOS 14.1

Flash B422 BA Patch.zip

[Optional]Flash root add-on for LineageOS 14.1

[Optional]Flash opengapp

Wipe Dalvik/Cache/Data

Viola! Everything should be working 100%