Guys, after flashing ZCX TWRP and Santhosh's CM14, my phone is working fine except it won't charge anymore.
I would like to take it to a service centre as I think it is probably the USB port or the PCB board.
But, before taking it there, I would like to flash stock recovery back. I already flashed stock MIUI (MM beta), but I can't use Mi Flash Tool to flash recovery as the USB port is not working and my PC won't recognize it (it shows an error "Power Surge On Hub Port: A USB device has exceeded the power limits of its hub port"). Is there a way to flash stock recovery from ZCX TWRP? I mean, any .zip/.img available that I can use to flash and go back to recovery?
Thanks
just extract the mm beta fastboot rom..u will find recovery.img there...copy that in your sdcard or internal storage ..then go to ur current recovery means zcx twrp and then select install and there u will find install image...select that and then flash the copied recovery
Related
i have REDMI NOTE 3 KENZO SNAPDRAGON VERSION 3GB
RUNNING ON latest global stable miui 8.1.1.0, android 6.0.1
i have zc -x recovery ( unlocked officially and rooted)
now
Q1) if i want to backup my rom which partitions should i select, in case of if i made any mistake and want to restore?
like if i flashed some wrong zip, and now facing bootloop
To get rid of bootloop, i can use twrp backup?
Q2) in case if i dont have twrp backup, and want to flash fastboot rom but dont want to lose internal storage? what should i do, there is no option for clean_all_except_storage.bat? in mi flash tool latest one
i do not to erase my internal everytime i flash with mi flash tool
Q3) if i can access twrp and want to copy backup from computer or otg how can i do it?
because if i attach phone in recovery mode, it is not showing my device internal storage in my pc! just showing phone is attached under adb interface
thank you
use adb commands to store backup in device during recovery
---------- Post added at 09:25 AM ---------- Previous post was at 09:22 AM ----------
Follow this tutorial http://forum.xda-developers.com/showthread.php?t=3520926 you need to use adb commands to copy to/from pc and device
first of all, I recommend alka twrp. with zcx, once I flashed cm13 and twrp was gone, phone got encrypted.. had to flash miui rom with miflash to recover the phone
here are the answers:
1. if u want to backup your current system, select all the partitions. basically System+Data+Cache+Boot should do the work, but no need to take risk. so, select all
2. in case if u don't have twrp backup, no need to flash fastboot rom via pc as long as u can access twrp recovery. download miui recovery zip file, wipe system+cache+dalvik+data and flash the zip file. done!
(internal storage will not be erased)
3. if u have the backup files on pc, simply copy them in a otg drive. connect the otg drive, mount it on twrp, then u can access the otg and restore the backup files
@Simoom Sadik okay , i got it
but if i want to flash fastboot rom ,with mi flash tool v 2016.08.30
there is only clean all , clean all except data , clean all and lock
but i dont want to erase my internal storage ? how can i do that ?
clean all except data should do
Nope bro, it didn't
i'm in trouble. i'm running an old cm13 build on my oneplus x.
i wanted to clean install lineageos14, so i tried to flash the newest twrp recovery which didn't work (i have the old bootloader). so now i have no recovery on my device, cm13 is still booting fine.
when i try to flash twrp trough fastboot it tells me my device is not unlocked. when i try to oem unlock it reboots directly into cm13, not into recovery as i dont have one on my device. oem unlock is checked in developer settings.
i don't know how i can get a working recovery, i tried to flash old twrp (2.8.7) and the stock recovery trough fastboot, but no luck. how can i flash the stock oxygen rom without recovery?
maybe someone can help me. thanks in advance.
This guide will help https://forum.xda-developers.com/oneplus-x/general/guide-mega-unbrick-guide-hard-bricked-t3272108/
Latest stock oxygen will be flashed by recovery tool. But before it you should backup all needed data from internal memory.
With this modded version of TWRP you can now install A1 roms into the 5X.
How to install A1 roms using this TWRP:
https://forum.xda-developers.com/mi-5x/how-to/guide-how-to-install-a1-rom-5x-t3777139
Oreo Modded TWRP 3.2.1-0 Download:
Google Drive
Nougat Modded TWRP 3.2.1-0 Download:
Google Drive
How to install:
- Unlock bootloader
- Enter in Fastboot Mode (Power Button + Vol Down)
- Flash using "fastboot flash recovery twrp.img"
- Enter in Recovery Mode (Power Button + Vol Up)
Which one should I download?
You should install the correspondent version according to your currently installed Android version. If your current system is Nougat, you should flash Nougat TWRP. Same for Oreo. It doesn't matter which version of Android are you going to install, but the one that you already have installed. If you are in Nougat and want to flash Oreo rom, after flashing it, be sure to flash Oreo TWRP. If you dont do it, recovery may not work.
How can I use the port feature?
First, download an A1 fastboot ROM. You can do so here. Then, flash system and boot partitions using fastboot.
After you flashed it, go to "Advanced" then tap on "Terminal". Write "a1to5x" and press Enter. Wait until it finishes. Make proper wipes and reboot.
Are there any other features?
I have enabled system.img and modem.img flashing, so people without a pc can flash A1 fastboot roms. But be careful, system.img can't be a sparse image (this are the images included on the a1 official fastboot rom), it should be a raw ext4 image. You can use simg2img to convert them. Modem.img can't neither be flashed directly from the downloaded fastboot rom. It should be a modem.img extracted with dd, you will need to ask some who flashed it with fastboot to extract it for you. I know it is not a very easy process, but at least people without pc now have a chance to update their phones.
In what roms does it works?
I have only tested it with official Android One Oreo rom, however, it should work with Nougat Android One and with custom roms. Try it and let me know in what roms does it work.
How do you port A1 roms to the 5X?
I have been asked this question a lot of times. I can't give a step by step guide since I don't have enough spare time to make a decent guide. If you are interested on the porting process, take a look at /sbin/a1to5x (inside twrp ramdisk), it is the script which takes cares of the automatic porting process. Inside it you will find how the ports are made.
Where is the changelog?
You can check it here
Donations:
If you like my work and want to contribute, you can donate via paypal.me/aex12
Device Tree: https://github.com/Aex12/android_device_xiaomi_tiffany
Manifest used: https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni
XDA:DevDB Information
Modded TWRP 3.2.1, Tool/Utility for the Xiaomi Mi 5X
Contributors
Aex12
Source Code: https://github.com/omnirom/android_bootable_recovery/
Version Information
Status: Stable
Current Stable Version: 3.2.1
Created 2018-03-07
Last Updated 2018-03-08
Reserved
Love Man... You Are Love Brother
is it normal that the external memory is not shown?
@Aex12
Thanks for your great work. I have some question.
Should we install an whole A1 fastboot rom or only install system.img and boot.img like the old one?
vangame said:
@Aex12
Thanks for your great work. I have some question.
Should we install an whole A1 fastboot rom or only install system.img and boot.img like the old one?
Click to expand...
Click to collapse
Forgot to mention it on the thread. Thanks for reminding, I am updating it right now. You should only flash system and boot. Modem and other firmware partitions can be flashed too, but they are not mandatory.
And have someone test LineageOS 15.1 for Mi A1 with this recovery?
Awesome work @Aex12. Thanks a lot
Hello can I use it at tissot bootloader?
eurekaseven said:
is it normal that the external memory is not shown?
Click to expand...
Click to collapse
That was somthing I also have noticed.. without sd memory being shown I can't do a backup to SD Card.
Instead I'll have to do a local backup and connect to PC and copy files over, Early stages I guess we are lucky we can even see the Internal Memory right?
Alright so I was curious and thought I'd see what happens if I flash recovery Nougat Modded TWRP 3.2.1-0 ( While currently running Oreo )
I booted into recovery and instantly discovered that you no longer even have access to internal memory 0b shown.. Don't waste your time !
I flashed recovery Oreo Modded TWRP 3.2.1-0 using fast boot as you won't be able to flash a recovery rom using TWRP in this state..
https://www.xda-developers.com/how-to-install-twrp/
Shows an easy guide if you aren't sure howto do this
Can not get back to MIUI Nougat or even get old recovery to work
When i try to install back xiaomi.eu's miui rom after installing zip and do all the proper wipes, it reboot to system but says that encryption was interrupted and can't complete. So I tried to install back the nougat 3.2.1 recovery and try again, with the same result. again i tried to install the rom again with 3.1.1 recovery and same happens. With nougat recovery it can't mount any partition, so it can not opperate properly, only the oreo recovery works. the only rom that works and gets installed good is the oreo one that you submitted so what can i do to get back to my normal twrp recovery (no oreo) and to a miui rom? thanks
P.D: I also tried to flash with fastboot a a1 nougat rom and with the 3.1.1 twrp port it but no succes as it can no longer mount anything, only oreo twrp is working but still not get to work properly any other rom, via fastboot or via recovery. Bootloader is unlocked.
What phone and model is this 4? It states nothing
hi,
i tried to flash system.img from official MiA1 fastboot ROMs today but i got these message " target reported max download size of 536870912 bytes, is this a normal message? will the flash resume?
vangame said:
And have someone test LineageOS 15.1 for Mi A1 with this recovery?
Click to expand...
Click to collapse
I want to know this too!
Aex12 said:
Aex12, Brother Please Fix SD issue... Cant flash files from my SD Card.
Click to expand...
Click to collapse
Comparing fstab with stock recovery / sd supported recovery might fix this issue...
This recovery doesn't read my SD card. Only the internal storage.
>Modem.img can't neither be flashed directly from the downloaded fastboot rom. It should be a modem.img extracted with dd, you will need to ask some who flashed it with fastboot to extract it for you
Yeah, anyone willing to do it for me?
udaan said:
>Modem.img can't neither be flashed directly from the downloaded fastboot rom. It should be a modem.img extracted with dd, you will need to ask some who flashed it with fastboot to extract it for you
Yeah, anyone willing to do it for me?
Click to expand...
Click to collapse
Make sure to make a backup of your current modem, just in case.
It's from v9.5.9.0: https://mega.nz/#!UAhwAQLY!-8np_yuZnJscEUFh9bJuCkkqDkPuZrr8Aa6o0kkBq5Q
My 5x does not go to recovery mode. My ROM is AOSPE. I am using OREO twrp. The device is not ROOTED
I can boot twrp using
Code:
fastboot boot twrp.img
but after using
Code:
fastboot flash recovery twrp.img
the phone does not go to recovery using Volume up + Power
tuhi009 said:
My 5x does not go to recovery mode. My ROM is AOSPE. I am using OREO twrp. The device is not ROOTED
I can boot twrp using
Code:
fastboot boot twrp.img
but after using
Code:
fastboot flash recovery twrp.img
the phone does not go to recovery using Volume up + Power
Click to expand...
Click to collapse
I think you need to fastboot flash boot image first, then go to twrp and flash it again from it.
---------- Post added at 08:14 AM ---------- Previous post was at 08:06 AM ----------
@Aex12 please update TWRP. I can't format /data /system etc from twrp made for MiA1(MohanCM's) but I cannot do it with yours. I have mi5x and it is ****ing stuck on boot. If I flash MiA1's fastboot rom I can get to fastboot and flash TWRP (since the bootloader is locked) but I can't do anything with your TWRP. But I can also flash MohanCM's twrp and I can do all that stuffs except for installing ROms and booting to it. im ****ing confused myself.
For whatever reason I can't budge the tool to flash the latest fastboot ROM on my Xiaomi Mi 8 Lite that I plan to sell since my new phone arrived today. A custom ROM from the last year is currently installed on the device.
I installed the latest Universal ADB drivers, installed the latest Mi Flash tool (2020.3.14.0), put the phone in fastboot mode, connected to PC via USB 2.0 port and tried to flash the latest fastboot stable ROM via the tool with "clean all" option and most of the time what happens when I hit the flash button, the fastboot logo on the phone disappears and in the left top corner a small white text "hit any button to restart" or something like that appears. Only once a progress bar appeared with $fastboot bla bla bla II echo missmatching image and device" and that was it... no progress, again the white text prompting me to hit any button to restart appeared on the screen.
Any ideas what I am doing wrong? cmonBruh
Phone: Xiaomi Mi 8 Lite 64/4 Global (platina with custom ROM installed) Windows 10 Pro 1909, MSI B350M Bazooka with AMD Ryzen 5 2600.
Hello.. I will try to help you.. And tell me if you fixed that..
Can you install a custom recovery? Twrp?
Id you can do that fallow my steps..
First download the fallowing twrp from here :
https://drive.google.com/file/d/14cRc4UG4hzL45cDhdFZ7odr5Kb8LSai0/view
It can support ota update and your phone will boot I used it to flash my mi 8 lite without pc. And works!
Download and flash that twrp using mi flash tool. I hope your bootloader is unlocked if you already have other twrp installed simply flash the twrp zip file. And update your recovery. If you don't have any twrp installed simply rename. Zip file into .img file and flash it with flash tool. If you can't flash it using flash tool try to install any other twrp and then install the zip and update the twrp
After you installed twrp go and download recovery Rom from here :
https://mirom.ezbox.idv.tw/en/phone/platina/
Download the first rom called : V11.0.2.0.QDTMIXM (1.8GB zip file)
( Recovery
miui_MI8LiteGlobal_V11.0.2.0.QDTMIXM_5574e03233_10.0.zip
Filesize
1.8G
MD5
5574e032330450c44c34d7f054de477b
Link
Download (Download to Mi Router)
Press download. Not download to mi router and don't forget.. Download the recovery zip file not the fast boot update!
After you downloaded boot in to twrp which I gave you above, wipe system / data / vendor / cache/dalvik and flash the zip file.
You can flash it with and without to wipe anything. But it is recommended to wipe. Pls go try and install it without to wipe anything, if it works ( for me works!) after flash done boot the phone and see if there is any problem. If u got any bugs or problems perform a clean flash wipe all and then flash!
Id you want root.. Fallow this :
You can root your phone with latest magisc manager using the same twrp. After you flash the boot.img with twrp press restart phone. If it won't restart go again to recovery and format only your data. And your will phone will boot again and you will get root acces. It's the only way to root android 10.
Please let me know if you fixed that problem.. And you flashed successfully the Rom..
DON'T FLASH THE ROM USING ANOTHER TWRP! ONLY THAT RECOVERY I GIVE SUPPORT OTA UPDATE AND CAN BYPASS THE XIAOMI Verification FOR THE STOCK ROM.. IF YOU USE ANY OTHER TWRP YOUR PHONE WILL BE STUCK IN Boot! Orange fox or any other twrp won't work!
I used this method and works like a charm
my redmi note 4 mido is bricked and i don't know how, i left my phone for a month because i travelled away and when i came back the phone was stuck on mi logo i tried to fix it by this methods but nothing worked:
-i tried to flash stock firmware via mi flash tool and it failed so many times (i used an old version which stated that the installation succeed but the phone was still stuck in bootloop)
- i tried edl version and it didn't work
- i tried to install via adb and it didn't work also
- i tried to open recovery (volume + and power) it got me to twrp 3.2.3.0 but it's alway stuck on twrp logo and nothing happens
it only happened 2 times when twrp worked and asked me for decryption password, i wrote my phone pin but said wrong password (tried also password and default_password) then i bypassed the password section and got into twrp but i couldn't mount or format storage (it appears that internal storage and sd card is 0 gb) i tried to format it fails,
tried also to change storage to ext2 it got stuck and i couldn't open the twrp again.
any stock firmware flashed on my mido doesn't work and it still stuck on mi logo ( no android loading logo), and it still has twrp
(i tried to flash another twrp or orangefox it just doesn't flash even if it's successful flash on adb)
i tried also to boot the recovery image it also get stuck on the logo and doesn't open the recovery
please help me to know what the hell is wrong with this phone and how i can fix it
help pleassseeeeeeee
Install magisk if you are stuck in boot loop it fixes the problem otherwise download a recovery rom and change your twrp version to 3.1.0.0 because the decryption password in the new versions of twrp doesn't seem to work on rn4. Now wipe system,vendor,data. import recovery rom from your computer and install it. It will install the rom then flash Magisk otherwise your phone will be stuck in bootloop. Wait for a while and bam your system is back!
i can't install anything or even boot into twrp 3.1.0.0 even if i tried
Can you boot into fastboot atleast? If yes then type fastboot reboot recovery and as you said you have twrp installed then it surely means that your bootloader is unlocked. Do you know the name of your custom rom or are you using stock rom? If yes whichever rom you are using just download the recovery rom of that and extract the boot.img in your adb and fastboot folder and flash it via fastboot by typing fastboot flash boot boot.img . And also when booting in twrp which buttons are you using? This happened to me when I myself bricked my device. I thought I can't boot in twrp but the point was I was using volume up+ power but the actual key to boot to twrp is volume up+volume down+power key
You can flash your Xiaomi Redmi Note 4 [MIDO] using Mi Flash. I have an article that discusses how to flash Xiaomi Redmi Note 4 [MIDO / Snapdragon] that might help you: How to Flash Redmi Note 4 / 4x Snapdragon [Mido] with MiFlash
NOTE: Few problematic tool links in this article. Please search on Google | This website was translated using Google Translate [Indonesian -> English]
pandmc said:
You can flash your Xiaomi Redmi Note 4 [MIDO] using Mi Flash. I have an article that discusses how to flash Xiaomi Redmi Note 4 [MIDO / Snapdragon] that might help you: How to Flash Redmi Note 4 / 4x Snapdragon [Mido] with MiFlash
NOTE: Few problematic tool links in this article. Please search on Google | This website was translated using Google Translate [Indonesian -> English]
Click to expand...
Click to collapse
I think flashing the stock rom should be the last step before which everything possible should be tried
JustExperimentingRedmi said:
I think flashing the stock rom should be the last step before which everything possible should be tried
Click to expand...
Click to collapse
Yes, Flashing Stock ROM should be the last step before he tries to fix. But mostly if the smartphone is bootlooped or bricked there is no other step besides Erase All Data / Format Data or Flashing Stock ROM.
pandmc said:
Yes, Flashing Stock ROM should be the last step before he tries to fix. But mostly if the smartphone is bootlooped or bricked there is no other step besides Erase All Data / Format Data or Flashing Stock ROM.
Click to expand...
Click to collapse
You can flash orignal boot.img which most times fixes the problem and if it didnt work flash system.img it almost always works and the last option is flashing magisk. Then only i will recommend to flash stock rom.
JustExperimentingRedmi said:
Can you boot into fastboot atleast? If yes then type fastboot reboot recovery and as you said you have twrp installed then it surely means that your bootloader is unlocked. Do you know the name of your custom rom or are you using stock rom? If yes whichever rom you are using just download the recovery rom of that and extract the boot.img in your adb and fastboot folder and flash it via fastboot by typing fastboot flash boot boot.img . And also when booting in twrp which buttons are you using? This happened to me when I myself bricked my device. I thought I can't boot in twrp but the point was I was using volume up+ power but the actual key to boot to twrp is volume up+volume down+power key
Click to expand...
Click to collapse
the rom i was using before the phone got bricked is crdroid 10, i downloaded it again as you said and tried to flash boot img then i rebooted into recovery but i got stuck at twrp logo as usual and even if twrp worked it will as for a password i tried all pins i have used on my phone and tried default_password didn't work either, i can't even mount data or storage or anything and it shows everything with 0mb storage (external or internal storage).
i can't even format data to remove encryption it just freezes whenever i do that
pandmc said:
You can flash your Xiaomi Redmi Note 4 [MIDO] using Mi Flash. I have an article that discusses how to flash Xiaomi Redmi Note 4 [MIDO / Snapdragon] that might help you: How to Flash Redmi Note 4 / 4x Snapdragon [Mido] with MiFlash
NOTE: Few problematic tool links in this article. Please search on Google | This website was translated using Google Translate [Indonesian -> English]
Click to expand...
Click to collapse
i tried that before it's always shows me ( mi flash tool could not find a part of the path) error, there's a one time i tried an older version of mi flash tool and the flash succeeded but when phone rebooted it stayed at the bootloop
i checked the recovery and sadly it was still the same twrp recovery
i don't really know if my phone can be fixed or this an emmc problem
So it means you have your stock rom right? Extract boot.img and flash it with
fastboot flash boot boot.img
make sure to put it in adb folder
You can find boot.img in images folder
If it does not work get the system.img and flash it with
fastboot flash system system.img
i flash the whole stock rom via fastboot (adb) and it also didn't work.
sorry if this seems disappointing
Try orangefox recovery then, not sure why is this happening to you
If still not working type
fastboot oem edl
Then flash via mi flash it should work as far as I know. If not then go to mi service centre it's the last thing you can do