going back to stock - Xiaomi Redmi Note 4 Questions & Answers

I wanted to go back to stock (again).
But I'm not.able to flash the rom using mi flash tool.last time i somehow did find the fastboot codes.now I'm not able to find it again.
Would be great if someone say in what order should the files be flashed

Just use fastboot mode, extract the zip, find flash_all.bat run when your phone is connect on fastboot mode

adekboreanaz said:
Just use fastboot mode, extract the zip, find flash_all.bat run when your phone is connect on fastboot mode
Click to expand...
Click to collapse
It didn't work.
To get it work you need to move the files to the folder which mi flash tool is installed

just extract the all data files in same folder and double click on flash all script. thats it.

Related

Phone stuck in boot loops/slash screen.

I was flashing a ROM yesterday on my micromax a90s, while flashing the phone went off automatically. Now my phone isn't booting, neither normally and nor in recovery mode. The phone turns on shows SUperfone | Pixel logo and then reboots. This goes on and on and on.
Please help guys.
also Is there any way I can flash stock rom without going into recovery or turning the phone on?
1st of all Does your phone has a fastboot mode? if it does you gonna need the boot.img file of your rom. ( If you are using the stock rom the you need to extract the RUU of whatever rom file u are using and take out the boot.img file from it.)
Then you gotta take your phone to download mode or fastboot mode. if you can take it to the fastboot mode its very simple to solve this problem. If not you gonna need to search for the downloader programs like odin etc. to flash a boot file.
I assume that you got in to the fastboot mode and keeping up the reply.
You gonna need the Android SDK Tools to continue.
Extract the adb tool to a folder and go to that folder by using the CMD ( like c:\android or sth. else)
then you need to copy the boot.img file to the same folder. And write this command to the line while your phone is in fastboot mode.
fastboot flash boot boot.img
the it should say that the boot has been flashed succesfully.
Done your bootloop problem has been solved.
PS: If you are using a JellyBean rom dont flash anyother boot.img file use the JellyBean boot.img file for this operation.
MasterKoala said:
1st of all Does your phone has a fastboot mode? if it does you gonna need the boot.img file of your rom. ( If you are using the stock rom the you need to extract the RUU of whatever rom file u are using and take out the boot.img file from it.)
Then you gotta take your phone to download mode or fastboot mode. if you can take it to the fastboot mode its very simple to solve this problem. If not you gonna need to search for the downloader programs like odin etc. to flash a boot file.
I assume that you got in to the fastboot mode and keeping up the reply.
You gonna need the Android SDK Tools to continue.
Extract the adb tool to a folder and go to that folder by using the CMD ( like c:\android or sth. else)
then you need to copy the boot.img file to the same folder. And write this command to the line while your phone is in fastboot mode.
fastboot flash boot boot.img
the it should say that the boot has been flashed succesfully.
Done your bootloop problem has been solved.
PS: If you are using a JellyBean rom dont flash anyother boot.img file use the JellyBean boot.img file for this operation.
Click to expand...
Click to collapse
I can't get in fastboot mode
Can't you get in any mode like Vol- and power button or some combination like this?
Nope
MasterKoala said:
Can't you get in any mode like Vol- and power button or some combination like this?
Click to expand...
Click to collapse
BTW thanks guys
i sent my phone to service centre and they have fixed it for me!

[Q] Xperia U not turning on please help! Flashing went wrong!!

I wanted to unlock my bootloader and install a custom rom but my windows won't recognise the fastboot mode so I started up with linux
I saw tutorials of recoveryX.exe and flashtool which only works for windows so I was searching for a manual way so that I could do it in the terminal ..
so I found some tutorial online which told me to flash some file something like
fastboot flash boot xyz.inf I don't remember the extension perfectly but it wasn't a zip or an img ..
and after that my phone turned off, I can still go for fastboot mode but I don't see anything on the screen please help me
I do not have windows so I cannot use flashtool or recoveryX.exe
awaisthebest said:
I wanted to unlock my bootloader and install a custom rom but my windows won't recognise the fastboot mode so I started up with linux
I saw tutorials of recoveryX.exe and flashtool which only works for windows so I was searching for a manual way so that I could do it in the terminal ..
so I found some tutorial online which told me to flash some file something like
fastboot flash boot xyz.inf I don't remember the extension perfectly but it wasn't a zip or an img ..
and after that my phone turned off, I can still go for fastboot mode but I don't see anything on the screen please help me
I do not have windows so I cannot use flashtool or recoveryX.exe
Click to expand...
Click to collapse
using flash tool flash the boot.img present in the rom zip
and install the rom
awaisthebest said:
I wanted to unlock my bootloader and install a custom rom but my windows won't recognise the fastboot mode so I started up with linux
I saw tutorials of recoveryX.exe and flashtool which only works for windows so I was searching for a manual way so that I could do it in the terminal ..
so I found some tutorial online which told me to flash some file something like
fastboot flash boot xyz.inf I don't remember the extension perfectly but it wasn't a zip or an img ..
and after that my phone turned off, I can still go for fastboot mode but I don't see anything on the screen please help me
I do not have windows so I cannot use flashtool or recoveryX.exe
Click to expand...
Click to collapse
Congrats for the brick.
Can you still get into fastboot/flash mode?
I've yet to hear about someone who used rexoveryx and it worked, forget all about it.
There is flashtool for linux, you can use it.
BTW, the only files you flash with fastboot, are with img, elf or sin extention.
ChikeD said:
Congrats for the brick.
Can you still get into fastboot/flash mode?
I've yet to hear about someone who used rexoveryx and it worked, forget all about it.
There is flashtool for linux, you can use it.
BTW, the only files you flash with fastboot, are with img, elf or sin extention.
Click to expand...
Click to collapse
yes yes I can still get into the fastboot and flash mode both!
and yes the file was elf format I remember now.
P.S : I'm downloading the flashtool for linux right now, I just hope it works, its of my friends' and I took it with a guarantee that I'll give you with a better firmware :/ He's been calling me since morning lol .. I'm doomed :/
guys? is there any hope?
bharathbondfire said:
using flash tool flash the boot.img present in the rom zip
and install the rom
Click to expand...
Click to collapse
Thank you for your reply
I'm downloading flast tool for linux right now and I'll then flash the boot.img present in the rom itself..
anything else that I can try if this doesn't work?
can anybody give me a link to CWM recovery's file and a way to flash it :/
P.P.S : I'm really really sorry for being sucha noob/dumbas* :/ but I just finished downloading flashtool and I cannot seem to install it I mean gosh! Linux is soo complicated.
I have downloaded a 7z file .. in which there's a file of tar extension which after I double click directs me to a folder named Flash Tools in which there are multiple forlder that include custom, deviced, drivers, firmwares etc
awaisthebest said:
Thank you for your reply
I'm downloading flast tool for linux right now and I'll then flash the boot.img present in the rom itself..
anything else that I can try if this doesn't work?
can anybody give me a link to CWM recovery's file and a way to flash it :/
if u have downloaded the flash tool copy boot.img to flash tool folder
enter fast boot press ok press on select a kernel to flash
and choose the kernel
and press enter.
Click to expand...
Click to collapse
bharathbondfire said:
awaisthebest said:
Thank you for your reply
I'm downloading flast tool for linux right now and I'll then flash the boot.img present in the rom itself..
anything else that I can try if this doesn't work?
can anybody give me a link to CWM recovery's file and a way to flash it :/
if u have downloaded the flash tool copy boot.img to flash tool folder
enter fast boot press ok press on select a kernel to flash
and choose the kernel
and press enter.
Click to expand...
Click to collapse
I have downloaded flash tool for linux but I cannot get it work .. I cannot get it to install or anything
isn't there a way to do all this manually through Terminal Fastboot commands?
That's the only thing that I can manage to work.
Edit : I have flashed the boot.img file from the downloaded ROM I did it this way (fastboot flash boot boot.img)
and now fortunately the phone starts and also now can be charged but the OS doesn't start .. I think this can be because I haven't flashed the OS but only the boot img?
what can I do now?
P.S : I cannot use the Flashtool or RecoveryX :/ so if there's a way to do it via fastboot or something it will really be appreciated
Click to expand...
Click to collapse
awaisthebest said:
bharathbondfire said:
I have downloaded flash tool for linux but I cannot get it work .. I cannot get it to install or anything
isn't there a way to do all this manually through Terminal Fastboot commands?
That's the only thing that I can manage to work.
Edit : I have flashed the boot.img file from the downloaded ROM I did it this way (fastboot flash boot boot.img)
and now fortunately the phone starts and also now can be charged but the OS doesn't start .. I think this can be because I haven't flashed the OS but only the boot img?
what can I do now?
P.S : I cannot use the Flashtool or RecoveryX :/ so if there's a way to do it via fastboot or something it will really be appreciated
Click to expand...
Click to collapse
if u have rom in the sd
flash boot.img and flash rom
remember to wipe full system
Click to expand...
Click to collapse
bharathbondfire said:
awaisthebest said:
if u have rom in the sd
flash boot.img and flash rom
remember to wipe full system
Click to expand...
Click to collapse
I finally flashed the CM9 4.0.4 rom thankyou for all of your help I appreciate everything
P.S : The led bottom light still doesn't work I don't know why, but the phone and the OS is working perfectly fine! Thank you again
Click to expand...
Click to collapse

Install AICP/IceColdJelly

I am having a small issue. I understand that the DualRecovery works only with the stock based kernals, so that will not work with me. I am able to get the tablet into flash and fastboot modes. Here is what I am doing, but I know I am doing something wrong. Need some help here please.
I start up the flashboot utility and put the tablet into fastboot mode
I choose the boot.img from the unzipped file and select it as the kernal to hotboot
Same issue if I choost boot.img as "system to flash"
It sucessfully sends the file to the tablet
I tell the program to reboot to fastboot and I push the up rocker
at this point, nothing happens
Is there a way to do this via flashtool?
Thank you for any help.
Nevermind. Got the minimal ADB package and finally able to get everything moved.

Bricked Honor 5X

Hi,
I have bricked my Honor 5x after flashing custom recovery. This these the steps I followed:
1) Unlocked the bootloader
2) Flashed TWRP recovery
3) Flashed root
4) Tried to update OTA
Now the phone is stuck at boot screen. I can enter recovery by pressing volume down and power, but now is stock recovery. And I don't know what to do.
Can someone help me?
OK u can't OTA update with twrp AND U SHOULD try adb flashing twrp through fastboot and maybe restoring a nandroid if u have one if not there's some u can download around here
Hey, my phone is bricked too. How did you manage to flash adb during twrp. How did you restore the backup and where did you get it from?
Or could someone please explain to me how I can get back to stock. I saw one thread with the .app file, but there you had to go the setting or something, which I can't do.
I have twrp installed and I have the L21 version.
Ok, I figured it out. I took the backup and the instructions from this thread: http://forum.xda-developers.com/honor-5x/development/unrooted-stock-rom-t3308902
heinzwilli6 said:
Hey, my phone is bricked too. How did you manage to flash adb during twrp. How did you restore the backup and where did you get it from?
Or could someone please explain to me how I can get back to stock. I saw one thread with the .app file, but there you had to go the setting or something, which I can't do.
I have twrp installed and I have the L21 version.
Click to expand...
Click to collapse
I was able to get my phone back to stock using the update.app file and the Huawei Update Extractor
Download stock firmware and extract the update.app file
http://forum.xda-developers.com/honor-5x/development/repository-honor-5x-file-depot-t3328288​
Download Huawei Update Extractor
http://d-h.st/wwfQ​
Use the Huawei Update Extractor to open the update.app file and extract system.img, Cust.img, boot.img, recovery.img
Copy the extracted files to your adb folder
Connect the phone to the PC in fastboot mode, to do this power off the phone hold Volume down and insert a usb cable connected to the PC
Type these commands on ADB:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cust cust.img
fastboot reboot​
After that you should be back on stock firmware
I tried to do that too. But the problem was that my adb didn't recognize my phone. Of course I had everything installed.
When I unlocked the bootloader earlier, it worked. But there I had to enable USB debugging. When my phone was broke, I couldn't enable it. Maybe that's why?
However, my phone is working right now, so thanks anyway.
fixed
jperez1132 said:
I was able to get my phone back to stock using the update.app file and the Huawei Update Extractor
Download stock firmware and extract the update.app file
http://forum.xda-developers.com/honor-5x/development/repository-honor-5x-file-depot-t3328288​
Download Huawei Update Extractor
http://d-h.st/wwfQ​
Use the Huawei Update Extractor to open the update.app file and extract system.img, Cust.img, boot.img, recovery.img
Copy the extracted files to your adb folder
Connect the phone to the PC in fastboot mode, to do this power off the phone hold Volume down and insert a usb cable connected to the PC
Type these commands on ADB:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cust cust.img
fastboot reboot​
After that you should be back on stock firmware
Click to expand...
Click to collapse
I have a practically dead honor 5x, flashed a L-24 firmware on L-22. TWRP doesnt let me do anything, no touch functions work so i cannot restore my back up.
Fastboot commands on format /data and flash cust cust.img fail with the error "Remote: Command not allowed", bootloader is unlocked, pls help.....I need to flash back the default cust.img to get it back to normal
SOLVED: Downloaded the official firmware, placed the "dload" folder which contains the update.app in the root of the sd card, went into download mode on phone (vol up + vol dow + power) and the system installed the firmware automatically.....booted back into the stock system now, next will reflash TWRP and restore back up
nandakalyan said:
I have a practically dead honor 5x, flashed a L-24 firmware on L-22. TWRP doesnt let me do anything, no touch functions work so i cannot restore my back up.
Fastboot commands on format /data and flash cust cust.img fail with the error "Remote: Command not allowed", bootloader is unlocked, pls help.....I need to flash back the default cust.img to get it back to normal
SOLVED: Downloaded the official firmware, placed the "dload" folder which contains the update.app in the root of the sd card, went into download mode on phone (vol up + vol dow + power) and the system installed the firmware automatically.....booted back into the stock system now, next will reflash TWRP and restore back up
Click to expand...
Click to collapse
WORKED: update.app in dload folder WORKED !!! Thanks a lot
narengowda said:
WORKED: update.app in dload folder WORKED !!! Thanks a lot
Click to expand...
Click to collapse
Glad it worked! did you figure out what caused the issue?
jperez1132 said:
I was able to get my phone back to stock using the update.app file and the Huawei Update Extractor
Download stock firmware and extract the update.app file
http://forum.xda-developers.com/honor-5x/development/repository-honor-5x-file-depot-t3328288​
Download Huawei Update Extractor
http://d-h.st/wwfQ​
Use the Huawei Update Extractor to open the update.app file and extract system.img, Cust.img, boot.img, recovery.img
Copy the extracted files to your adb folder
Connect the phone to the PC in fastboot mode, to do this power off the phone hold Volume down and insert a usb cable connected to the PC
Type these commands on ADB:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cust cust.img
fastboot reboot​
After that you should be back on stock firmware
Click to expand...
Click to collapse
Is your fingerprint ID working good?
---------- Post added at 09:14 AM ---------- Previous post was at 08:46 AM ----------
fastboot flash cust CUST.img
target max-download-size: 254MB
sending 'cust' (196335 KB)...
OKAY [ 6.493s]
writing 'cust'...
FAILED (remote: Command not allowed)
finished. total time: 6.493s
Cant flash cust. How did you do that?
sad1996 said:
Is your fingerprint ID working good?
---------- Post added at 09:14 AM ---------- Previous post was at 08:46 AM ----------
fastboot flash cust CUST.img
target max-download-size: 254MB
sending 'cust' (196335 KB)...
OKAY [ 6.493s]
writing 'cust'...
FAILED (remote: Command not allowed)
finished. total time: 6.493s
Cant flash cust. How did you do that?
Click to expand...
Click to collapse
Yes, it is working perfectly.
Hi, sorry for hijacking a thread but I thought it'd be better than making a new one.
I did pretty much the same as the OP, unlocked the bootloader, flashed TWRP recovery, rooted and then stupidly tried to do an official update on the phone (I believe it was kiw-l21c432b140)
The phone is just now stuck at the boot screen, I can get into fastboot mode but cannot use ADB, says device isn't found no matter what I try. I also tried putting stock firmware on the SD card and going into download mode (EMUI) but it just says software install failed.. Any help appreciated, only got the phone today and have spent longer trying to fix it than I have using it..
Thanks!
tomblast66 said:
Hi, sorry for hijacking a thread but I thought it'd be better than making a new one.
I did pretty much the same as the OP, unlocked the bootloader, flashed TWRP recovery, rooted and then stupidly tried to do an official update on the phone (I believe it was kiw-l21c432b140)
The phone is just now stuck at the boot screen, I can get into fastboot mode but cannot use ADB, says device isn't found no matter what I try. I also tried putting stock firmware on the SD card and going into download mode (EMUI) but it just says software install failed.. Any help appreciated, only got the phone today and have spent longer trying to fix it than I have using it..
Thanks!
Click to expand...
Click to collapse
As long as you are able to boot into fastboot you still have hope
Are you able to get into TWRP? (Power + Vol up) If yes, download the L-21 stock rom in the file repository thread and flash it. In all likelihood, that will solve any corruption of system files. If not, read on.
Did you check if you have installed the ADB drivers? I am assuming it should have been installed considering you flashed TWRP, but better to check and reinstall. Device not found is usually a driver error. Alternatively, you can install HiSync, it refreshes and replaces the drivers needed for Honor 5X. Further to installing that, try adb fastboot commands and flash the stock recovery using the steps in this post:
http://forum.xda-developers.com/showpost.php?p=65659088&postcount=5
nandakalyan said:
As long as you are able to boot into fastboot you still have hope
Are you able to get into TWRP? (Power + Vol up) If yes, download the L-21 stock rom in the file repository thread and flash it. In all likelihood, that will solve any corruption of system files. If not, read on.
Did you check if you have installed the ADB drivers? I am assuming it should have been installed considering you flashed TWRP, but better to check and reinstall. Device not found is usually a driver error. Alternatively, you can install HiSync, it refreshes and replaces the drivers needed for Honor 5X. Further to installing that, try adb fastboot commands and flash the stock recovery using the steps in this post:
http://forum.xda-developers.com/showpost.php?p=65659088&postcount=5
Click to expand...
Click to collapse
When I do power and vol up I get EMUI recovery, not TWRP I put the stock rom on the SD card and tried to install it and it just says "Software install failed" and the only option is to shut the phone down again.
I had all the ADB drivers installed, will reinstall it all and see if it helps. When I run adb now and use the "adb devices" command it just says "List of devices attached" and doesn't show anything..
tomblast66 said:
When I do power and vol up I get EMUI recovery, not TWRP I put the stock rom on the SD card and tried to install it and it just says "Software install failed" and the only option is to shut the phone down again.
I had all the ADB drivers installed, will reinstall it all and see if it helps. When I run adb now and use the "adb devices" command it just says "List of devices attached" and doesn't show anything..
Click to expand...
Click to collapse
Oh then you have stock recovery, are you using the update.app provided by Huawei? Or using any ROMs/images posted here? It is possible that you may have a corrupted download, look up the Huawei site for downloads in the support section for your region and download the official update.app, try with that
nandakalyan said:
Oh then you have stock recovery, are you using the update.app provided by Huawei? Or using any ROMs/images posted here? It is possible that you may have a corrupted download, look up the Huawei site for downloads in the support section for your region and download the official update.app, try with that
Click to expand...
Click to collapse
It wasn't stock recovery before, after the phone updated it went back to stock and wouldn't boot. I downloaded the firmware from http://forum.xda-developers.com/honor-5x/development/stock-kiw-l24-l21-t3312684 and that's what I try to install through recovery and it says there's an error, a load of other texts flashes up before it says error but it's too quick to read. When I have better internet I'll re-download it in case it was corrupt. Thanks for your help, hopefully I can get it fixed as I only just got this to replace my old phone. Would be a shame to spend the money on it and have no use from the device.. Just wish the computer would detect through adb as I can get into fastboot easily enough.
tomblast66 said:
It wasn't stock recovery before, after the phone updated it went back to stock and wouldn't boot. I downloaded the firmware from http://forum.xda-developers.com/honor-5x/development/stock-kiw-l24-l21-t3312684 and that's what I try to install through recovery and it says there's an error, a load of other texts flashes up before it says error but it's too quick to read. When I have better internet I'll re-download it in case it was corrupt. Thanks for your help, hopefully I can get it fixed as I only just got this to replace my old phone. Would be a shame to spend the money on it and have no use from the device.. Just wish the computer would detect through adb as I can get into fastboot easily enough.
Click to expand...
Click to collapse
Sure, we all help each other
BTW, just to be sure, you using the single "Update.app" file, that runs into a couple of gigs or the extracted one? You can't flash extracted Update.app through stock recovery.
HiSync (the official Huawei tool) also provides an option to recover the phone, tried that?
nandakalyan said:
Sure, we all help each other
BTW, just to be sure, you using the single "Update.app" file, that runs into a couple of gigs or the extracted one? You can't flash extracted Update.app through stock recovery.
HiSync (the official Huawei tool) also provides an option to recover the phone, tried that?
Click to expand...
Click to collapse
It's the single one, about 2.66GB I believe, I tried the recovering through the Huawei tool and it says "Your device is not supported for system recovery".
tomblast66 said:
It's the single one, about 2.66GB I believe, I tried the recovering through the Huawei tool and it says "Your device is not supported for system recovery".
Click to expand...
Click to collapse
Oops! I am no techie, so am at the end of my wits, but thing I do suspect is a corrupted download, so if you can try downloading the file again from a stable connection and try is all I can think of. I've had this corrupted file thing quite a few times, so suggesting.

Fastboot command to flash miui fastboot rom via adb(Kenzo)

Because my PC is stayed on WinXp 32-bit, I really want to flash fastboot rom to get “theme mix” back .(since I flashed global developer rom, and it disappear on stock miui forever, the only solution I know is to flash fastboot rom via miflash…)
I have googled but I found several version about fastboot command flashing fastboot rom.
Can anyone give me the whole commands works perfectly flashing the latest fastboot rom(Kenzo),and do a full wipe after that, thanks![emoji106]
Sent from my Redmi Note 3 using XDA-Developers mobile app
Just put all the adb.exe and fastboot.exe and there related files on fastboot rom folder where you can find the script files such as .bat files and connect the device in fastboot mode then just click on the appropriate .bat file thats it.
GNVM said:
Just put all the adb.exe and fastboot.exe and there related files on fastboot rom folder where you can find the script files such as .bat files and connect the device in fastboot mode then just click on the appropriate .bat file thats it.
Click to expand...
Click to collapse
And so does a full wipe?
Sent from my Redmi Note 3 using XDA-Developers mobile app
You have to run the appropriate .bat file for clean all or save data by executing the Flash_all.bat or Flash_exceptdata.bat.Thats All

Categories

Resources