yesterday i formatted my HONOR 5x via TWRP .
now my device without OS , and every time REBOOT it from recovery mode it says : NO OS , ARE YOU SURE YOU WANT TO REBOOT
guys i need the official ROM for my Phone so i can install it
My phone name : Huawi Honor 5x L-21
Please save me !! :crying::crying:
Trustive said:
yesterday i formatted my HONOR 5x via TWRP .
now my device without OS , and every time REBOOT it from recovery mode it says : NO OS , ARE YOU SURE YOU WANT TO REBOOT
guys i need the official ROM for my Phone so i can install it
My phone name : Huawi Honor 5x L-21
Please save me !! :crying::crying:
Click to expand...
Click to collapse
everything you need is in the Repository in my signature
if you want to reinstall the official rom {emui} you need to also install the stock recovery
Follow these steps to flash Stock ROM:
Download your phone's latest firmware and extract system.img, boot.img, recovery.img, cust.img from UPDATE.APP using Huawei Update Extractor tool.
Boot into bootloader mode by switching off the phone then pressing only the Vol DOWN button, and connecting it to PC simultaneously.
Flash recovery first, using this command.
Code:
fastboot flash recovery recovery.img
Flash all other extracted files similarly firing these commands.
Code:
fastboot flash boot boot.img
fastboot flash cust cust.img
fastboot flash system system.img
After doing this put that very UPDATE.APP from which you extracted the files in dload folder of your external SDCARD.
Switch off your phone, and press Vol UP + Vol DOWN + Power button simultaneously.
Your device will now get to the full stock firmware.
NOTE: If the manual flashing doesn't works or you get any errors, then first try only the force update method, i.e Putting the UPDATE.APP from which you extracted the files in dload folder of your external SDCARD and pressing Vol UP + Vol DOWN + Power button simultaneously after switching off your phone.
i flashed new recovery mode to my Gr5 nd i want to go back to stock recovery to have marshmelo update can any one help me pls
sorry for bad english
:crying:
Abdel_Fattah said:
i flashed new recovery mode to my Gr5 nd i want to go back to stock recovery to have marshmelo update can any one help me pls
sorry for bad english
:crying:
Click to expand...
Click to collapse
Wat is the full model of ur phone? KII-L21?
Go to file depot and get the recovery for ur phone (B130 or B140) or better still get the stock rom from the huawei website of your country and use Huawei Extractor to extract the recovery file. You just have to make sure it tallies with ur software version. B130 or B140 or whatever it is. Copy the recovery file to adb folder and rename to 'recovery.img'
When you get the recovery file, boot into bootloader/fasboot mode using the code below in adb.
"fastboot reboot bootloader"
Then flash it using the code below.
"fastboot flash recovery recovery.img"
This should get you stock recovery.
"fastboot reboot recovery" should get you into recovery. To show it's changed to stock.
Note: If you are not sure of the recovery to get, post a screenshot showing your phone information including the software version. Settings > About phone. That's the one. Cheers
Follow these steps and you are back on stock in no time:
As I don't know if you modified system or not, I'm gonna show you the full method.
Download your phone's latest firmware and extract system.img, boot.img, recovery.img, cust.img from UPDATE.APP using Huawei Update Extractor tool.
Boot into bootloader mode by switching off the phone then pressing only the Vol DOWN button, and connecting it to PC simultaneously.
Flash recovery first, using this command.
Code:
fastboot flash recovery recovery.img
Flash all other extracted files similarly firing these commands.
Code:
fastboot flash boot boot.img
fastboot flash cust cust.img
fastboot flash system system.img
After doing this put that very UPDATE.APP from which you extracted the files in dload folder of your external SDCARD.
Switch off your phone, and press Vol UP + Vol DOWN + Power button simultaneously.
Your device will now get to the full stock firmware.
NOTE: If the manual flashing doesn't works or you get any errors, then first try only the force update method, i.e Putting the UPDATE.APP from which you extracted the files in dload folder of your external SDCARD and pressing Vol UP + Vol DOWN + Power button simultaneously after switching off your phone.
Quick notes:
ALL files/software needed are linked below
Process only confirmed working for this model, A2017U
Desktop PC used is on Windows 10 x64, no 3rd Party Antivirus
I assume you have ADB installed on your computer, but if not here is an easy guide:
https://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Also assumed you have the Axon7 connected to PC via USB cable
Here's the steps I took, with info compiled and reorganized from the two guides linked at bottom of post:
1. The downgrade from B15 Nougat to B29 Marshmallow
(skip to step 2 if you are already on B29)
A- Download the full B29 software package, provided by ZTE on their website. Select the support tab halfway down the page, then select the software updates to download the .ZIP (mirror provided at bottom in case ZTE changes things)
B- Download it, unzip it once, then put the update.zip file on your SD card.
C- Turn on OEM unlocking in the Axon Settings Menu (it is needed to flash from sd card)
You can do this by navigating to Settings -> About phone -> Tap "Build number" 7 times.
Now navigate to Settings -> Advanced settings -> Developer options -> Enable "OEM unlocking".
D- Boot phone to recovery - [Power] + [Volume Up] key combo - Release the keys when you see the ZTE logo.
E- Choose update from sd card, then pick the update.zip from the sdcard
F- The phone will flash the B29 software. It is a bit slow, have patience and let it do what it needs to do.
2. Unlocking Bootloader and installing TWRP
A- Install the Qualcomm QUSB_BULK drivers. You should be able to simply extract them, then right click qcser.inf and press Install.
B- Boot the Axon7 into EDL mode. [Power] + [Volume Up] + [Volume Down]
C- Your device should be recognized in Windows’ Device Manager as a COM port called "Qualcomm HS-USB QDLoader 9008".
D- Download and Unzip the FASTBOOT_UNLOCK EDL file.
E- Install MiFlash on your computer. Open the program.
F- In MiFlash, Select the folder "A2017U_FASTBOOT_UNLOCK_EDL". Use the child folder inside containing fastboot.img and other files. Do not use the parent folder containing the META-INF folder, it caused flashing to fail for me.
G- Now just hit [flash] - watch the progress bars move and wait for the device row to turn green with flash complete!
H- Use [Power] + [Volume Up] key combo to exit EDL mode and enter recovery
I- Open CMD window as admin, and use "fastboot oem unlock" command to unlock (and wipe) your device. When prompted on Axon7, select Yes to unlock bootloader
J- Reboot phone into EDL mode
K- Return to MiFlash, Select the folder "A2017U_B29_TWRP_EDL". Click [refresh] if device row shows anything under status.
L- Now just hit [flash] like before - watch the progress bars move and wait for the device row to turn green with flash complete!
M-Reboot phone to TWRP
If the flash fails or is unable to communicate with the device, use the [Power] + [Volume Up] + [Volume Down] key combo to restart EDL mode.
Release the keys after 5 seconds then wait another 5 seconds before using the [refresh] or [flash] buttons on MiFlash.
3. Installing Lineage OS With Root
A- Using TWRP, Wipe the device (data/cache/dalvik, all that stuff)
B- Install the Universal Bootloader (A2017X_B15_Universal_Bootloader.zip), and modem (A2017U_N_Modem.zip)
C- Install Lineage OS ROM .zip, with root addon (addonsu-arm64-signed.zip)
D- Install Gapps
E- Restart Axon7, enjoy!
Thanks to the reply made by u/tabletalker7 on my last thread, I now have an unlocked bootloader, TWRP, and LineageOS with root. 10/10 !
DOWNLOADS:
Official ZTE B29 Marshmallow Software Package:
ZTE Website
Gdrive Mirror
Qualcomm QUSB_BULK Drivers: (WHQL certified)
Click here to download
FASTBOOT_UNLOCK EDL Package:
Click here to download
TWRP for A2017U EDL Package:
Click here to download
Universal Bootloader and Modem packages for A2017U:
Click here to download
Lineage Official Builds:
Click here to download
Lineage OS root addon:
Click here to download
Open GApps: (arm64) (use 7.1 if using Lineage 14.1)
Click here to download
CREDITS:
[OFFICIAL] LineageOS 14.1 for ZTE Axon 7 by Unjustified Dev:
https://forum.xda-developers.com/axon-7/development/unofficial-lineageos-14-1-zte-axon-7-t3545679
[EDL][A2017/A2017U] Emergency DL Mode TWRP + Unlock + Upgrade By jcadduono:
https://forum.xda-developers.com/axon-7/development/edl-emergency-dl-mode-twrp-unlock-t3553514
Downgrading is not necessary.
Downgrading step is not necessary, upgrading Bootloader and modem neither.
So, is the bootloader unlockable on Nougat? Could someone link me to a guide?
sdaddy said:
So, is the bootloader unlockable on Nougat? Could someone link me to a guide?
Click to expand...
Click to collapse
A-Yes
B- Read from post #1
I am getting an error when I try to flash FASTBOOT_UNLOCK EDL with MiFlash. Error is "can not found file flash_all_except_storage.bat". Anyone else seeing this?
Now make a guide to go back to stock
lafester said:
Downgrading is not necessary.
Click to expand...
Click to collapse
The fewer steps the better, of course.
So if we are on B15, we can just skip section 1 of the guide, and the rest of the steps will work without the downgrade to B29?
Excited to try this, since I've used CM ever since it was the cat's pajamas on the HTC G1/Dream but haven't even rooted the Axon 7 yet.
im getting "cannot read hello packet" and failing write
Unlocking problem
Hi guys
i flashed the "A2017U_FASTBOOT_UNLOCK_EDL" successfully but i could't run the "fastboot oem unlock" in cmd ...Then i flashed the "A2017U_B29_TWRP_EDL"
and now i can't enter to recovey ( neither stock nor twrp)
is there anyone can help me...:crying:
mortkarg5 said:
Hi guys
i flashed the "A2017U_FASTBOOT_UNLOCK_EDL" successfully but i could't run the "fastboot oem unlock" in cmd ...Then i flashed the "A2017U_B29_TWRP_EDL"
and now i can't enter to recovey ( neither stock nor twrp)
is there anyone can help me...:crying:
Click to expand...
Click to collapse
https://forum.xda-developers.com/axon-7/development/edl-emergency-dl-mode-twrp-unlock-t3553514
vinicioh23 said:
Now make a guide to go back to stock
Click to expand...
Click to collapse
Going back to stock is easy peasy.
use the official update from ZTE, place update.zip on sdcard
boot to recovery and wipe (cache/data/system) then flash update.zip
reboot and you're back to stock
want to lock the bootloader too?
boot to fastboot
fastboot oem lock
sauerkraut17 said:
Going back to stock is easy peasy.
use the official update from ZTE, place update.zip on sdcard
boot to recovery and wipe (cache/data/system) then flash update.zip
reboot and you're back to stock
want to lock the bootloader too?
boot to fastboot
fastboot oem lock
Click to expand...
Click to collapse
Thanks!
I can flash the fastbook unlock in MiFlash, but I get stuck trying to actually unlock the bootloader afterwards. ADB recognizes the device when it's turned on, but when it's in recovery, it doesn't recognize it at all. So I am lost as to what to do.
Edit: Alright, I got it to work. I just went into bootloader and unlocked instead of recovery. Maybe I misread the instructions but all of your other instructions were spot on! Thanks
Is there any way to do this on a macbook?
williamthardy said:
https://forum.xda-developers.com/axon-7/development/edl-emergency-dl-mode-twrp-unlock-t3553514
Click to expand...
Click to collapse
I saw it before...
My problem began when i forget to install ADB drivers and flashed twrp before unlock bootloader by cmd
I can not boot into recovery
Neither android stock recovery nor twrp
Is there any way to flash the stock recovery in EDL mode?
I don't know how to delete my comments, but yohobojo helped me figure out my problems. Just chose reboot into bootloader in recovery screen.
mortkarg5 said:
I saw it before...
My problem began when i forget to install ADB drivers and flashed twrp before unlock bootloader by cmd
I can not boot into recovery
Neither android stock recovery nor twrp
Is there any way to flash the stock recovery in EDL mode?
Click to expand...
Click to collapse
Yes, there is a one flash installation fix. Installed B15-NEW_FULL (Nougat) twice to recover from failed LOS installs.
https://forum.xda-developers.com/axon-7/development/edl-emergency-dl-mode-twrp-unlock-t3553514
williamthardy said:
Yes, there is a one flash installation fix. Installed B15-NEW_FULL (Nougat) twice to recover from failed LOS installs.
https://forum.xda-developers.com/axon-7/development/edl-emergency-dl-mode-twrp-unlock-t3553514
Click to expand...
Click to collapse
Thank you bro...
I had flashed it before i send these posts...
But failed
I now need another way
After flashing the Fastboot unlock EDL, I can get into recovery but I get no indication my computer detects my phone when it is in recovery. Halp?
How can I lock the phone back after unlocking bootloader, rooting, installing Xposed?
Wipe installed custom ROM (System+data+cache+dalvik).
**Internal storage optional (You may have to flash TWRP again though).
Install MIUI recovery ROM pack through TWRP. Run MIUI initial setup. Reboot to fastboot and flash stock recovery, you can find stock recovery in MIUI forums. After that check for successful flash and successful system boot. Only then run the fastboot command to lock the bootloader :
fastboot oem lock
**Do not lock with TWRP. You'll hard brick your phone
***After flashing MIUI in TWRP flash lazyflasher or your device will be stuck
If you don't understand the complications in this method please ignore it, am sure there are some easier ways using MiFlash. Check MIUI forum for relocking and recovering to MIUI. If you wanna come back to the world of custom ROMs and Mods XDA is the place.
ArK96 said:
Wipe installed custom ROM (System+data+cache+dalvik).
**Internal storage optional (You may have to flash TWRP again though).
Install MIUI recovery ROM pack through TWRP. Run MIUI initial setup. Reboot to fastboot and flash stock recovery, you can find stock recovery in MIUI forums. After that check for successful flash and successful system boot. Only then run the fastboot command to lock the bootloader :
fastboot oem lock
**Do not lock with TWRP. You'll hard brick your phone.
Click to expand...
Click to collapse
Thank You
BTW If you have the time could you write this more in steps like for a noob. If not it still kicks a$$ and thanks for reply
First you need to get rid of your current ROM and it's data. For that boot into TWRP and select wipe, in the list of partitions displayed select :
•System
•Data
•Cache
•Dalvikand confirm wipe. This step removes the ROM and data associated with it. Now the only thing you can access is TWRP and fastboot.
Also during wipe you can also select to wipe Internal Storage partition but after you do this you may lose TWRP also at the next boot. Now your phone can only boot into fastboot mode. So if you did wipe your internal storage also flash TWRP again from fastboot. If you ask how..:
•Download TWRP recovery from here
•Copy the downloaded file to any folder on your PC.
•Install ADB and fastboot drivers on your PC if you haven't.
•Reboot phone into fastboot mode(Power + Volume down) and connect to PC.
•Go to folder where your placed the TWRP image file.
•Open command prompt in that folder (Shift+right click mouse, open command window here)
•Type the following commands without the quotes :
" fastboot flash recovery twrp-3.2.1-0-mido.IMG "
•Now try rebooting into TWRP (Power + Volume Up). If you followed the steps right you should be able to.Remember this step is only if you decide to wipe internal storage also else it is completely not necessary.
OK now that you are left with a phone that only has TWRP we need a ROM to boot into, in your case you want a MIUI ROM. Download latest stable MIUI recovery ROM pack from MIUI website or just google if your having trouble finding it. For MIUI ROMs to successfully boot on a custom recovery you need to flash an additional zip called lazyflasher else your phone will be stuck at the MI logo. I'll attach the zip below. Okay so now since you have the required files copy them to your phone's internal storage.
Boot into TWRP and install the MIUI ROM zip first and the Lazyflasher zip after that. Reboot into system and phone should enter MIUI initial setup in some minutes(be patient MIUI initial boot can be long). Finish the setup.
Now you need to flash the latest stock recovery of your phone. I don't have it with me now so a simple google search will do the work. The procedure for flashing the recovery is the same as flashing TWRP which I have mentioned above. The only change you have do in the fastboot command line is the file name of your stock recovery.
After flashing check for successful boot, only then proceed with the relocking procedure as follows:
•Boot phone into fastboot mode
•Connect to PC
•Open Command prompt
•Type this fastboot command without the quotes :
" fastboot oem lock"•Once done reboot your phone.
Now you must have a relocked phone.
**Never relock your phone with any custom mods like custom recovery, custom ROM or even a MIUI which is rooted. Also be on 100% stock configuration before relocking device. Failing to do so will result in a hard brick.
***ATTACHED FILES ARE NOT MY WORK. CREDITS GO TO THEIR RESPECTIVE CREATORS.
Hello. In this guide i will show you step by step on how to flash GSI roms on our beloved Mi 9.
I AM NOT RESPONSIBLE FOR BRICKING YOUR DEVICE. PROCEED WITH OWN RISK.
Things you'll need:
- a PC
- a Mi 9 with bootloader unlocked
- MIUI 10 (for android 9 gsi's)/MIUI 12 (for android 10 gsi's) OR MIUI 12.5 (for android 11 and newer gsi's), recomended to download from https://xiaomifirmwareupdater.com/
- TWRP, vbmeta.img and disable-dm-verity.zip (TWRP can be obtained on theirs website, the other files are in this post. NOTE: I AM NOT THE CREATOR OF ANY OF THESE.)
- MiFlash app
- minimal adb and fastboot installed (recomended to use this)
- a A/B GSI of your choice (must be a .img file)
1st STEP - FLASHING STOCK ROM
(if you already have the stock rom then skip this)
1. Extract the archive downloaded earlier (i prefer doing it with 7-zip as its easy)
2. Open MiFlash and select the ROM, then click on "clear all" (to leave the bootloader unlocked).
3. Enter fastboot mode by holding vol down + power button and plug in the phone to your PC.
4. Click "refresh" on MiFlash, make sure your device is detected and click flash!
2nd STEP - PREPARATION
1. Boot into fastboot mode and plug in the phone to your PC.
2. Flash TWRP recovery.
Code:
fastboot flash recovery twrp.img
3. Flash the vbmeta image.
Code:
fastboot flash vbmeta vbmeta.img
4. Reboot into TWRP by holding vol up + power button.
5. In TWRP, wipe system, cache, dalvik cache and data.
LAST STEP - FLASHING
1. Reboot into fastboot from TWRP or by holding vol down + power button.
2. Flash the GSI image.
Code:
fastboot flash system system.img
NOTE: Some GSI'S may not flash as they are bigger than the system partiton. The system partition can be resized but i won't cover it in this tutorial.
3. Reboot into TWRP again.
4. In TWRP, install the disable-dm-verity.zip.
5. To make sure everything will be okay, wipe cache and dalvik cache, then FORMAT (format, not wipe) data.
6. Reboot into system
ENJOY THE GSI!
(sorry if i made any spelling mistakes lol)