Can't boot into recovery or fastboot and not going to EDL completely (Redmi Note 4)


Question


Please read the full text and help me if anything can solve my problem. Also I can't go to Mi help center due to this lockdown, so can you suggest ways the help center person would do to fix this issue?




I have Redmi Note 4 (SD).
I flashed MIUI 11.0.6.0 port for mido (ROM discussed in this video.)
It had many bugs so I was trying to flash back to stock ROM using Mi Flash Tool (old version).



I was using linux for fastboot and adb commands and for Mi Flash Tool i was using win 7 in virtual box



I selected clean_all&lock.bat
But after systerm image processing it gave me error




error message said something about partition not been empty(sorry cant remember the exact error and log file also doesn't exist anymore)




Now my phone was on fastboot mode for atleast 5 hours so I used



fastboot reboot


via linux terminal.



But phone didn't boot and gave me black (empty screen)



I thought might be battery is low but when I connected it to charger nothing happened.



I couldn't boot to recovery or fastboot mode (and can't do it now too).



I searched on internet more for help and found about EDL mode.
I tried that but Virtual Machine wasn't loading the Qualcomm driver so I installed windows 10 .



ALSO
I searched about the error on internet and found the solution to use latest mi flash tool.



So I tried with that. BUT I AM NOT SURE IF IT IS CONNECTED BY PROPER EDL MODE BECAUSE MI FLASH TOOL INSTEAD OF SHOWING COMX AS DEVICE NAME, IT IS SHOWING MY INCOMPLETE FASTBOOT DEVICE NAME .



I clicked to flash by selecting clean all&lock but it gave me this error




The volume does not contain a recognized file system.Please make sure that all required file system drivers are loaded and that the volume is not corrupted.




ALSO THE DEVICE IS SHOWN IN LATEST VERSION BUT NOT IN OLDER VERSION IN EDL MODE



Then after many attempts to flash



Now it shows this




$fastboot -s 34564c88 getvar product 2>&1 | findstr /r /c:"^product: *MSM8953" || fastboot -s 34564c88 getvar product 2>&1 | findstr /r /c:"^product: *mido" || echo Missmatching image and device




It was stuck at this for like 1000+ seconds.



I searched about it and tried this solution. In this it tell to delete line 10 and 11 but in mine file it was present at 4 places so i deleted them all.



But then it got stuck at next command in clean_all&lock.bat file




[9:39:38 PM 34564c88]:start process id 8956 name cmd
[9:39:38 PM 34564c88]:info1:$rem fastboot -s 34564c88 erase bk12 2>&1
[9:39:38 PM 34564c88]:info1:$if not 0 == 0 exit /B 1
[9:39:38 PM 34564c88]:info1:$fastboot -s 34564c88 oem device-info 2>&1 | findstr /r /c:"Device unlocked: true" || echo Device oem locked




To give a try I deleted this line too but then it got stuck at next line.






ALSO TO ACCESS EDL WE NEED TO SHORT JTAG PINS BUT MY LAPTOP (WITH WIN 10) ACCEPTS IT WITHOUT DOING THAT


Answer


Alecxs helped me with the solution so I am posting the solution that worked for me.





  1. Install MIUI 9.6.8.0 fastboot ROM (it works with this only) and extract it to C drive.


  2. Run MI flash tool and select the extracted folder.


  3. Now boot the phone to EDL Mode and immediately click refresh and then click flash.
    Because if you are even 2-3 seconds late then process fails.


  4. Wait for flashing to complete and then the phone will reboot.
    If it doesn't reboot then just check (press them a little bit) all the connectors on motherboards of phone (display, fingerprint and battery) and then connect to charger. Battery icon will appear and now you can power ON the phone.




BOOTING TO EDL MODE




Don't remove battery. Not required.




To boot to EDL we need to short JTAG pins that are present on right side of fingerprint connector. (And not the 1st and 4th test points shown in many videos on internet).
And while shorting it insert the usb cable immediately.
You will see red led light blinking.
Phone will be shown as COM4 (probably).




For more information search google with test points for Redmi Note 4



You will be forced to update to MIUI 11.0.2.0 because you will face
various bugs like




  • mi cloud won't sync


  • fingerprint won't work





OTHER THINGS TO KEEP IN MIND




  1. If you decide to update to MIUI 11.0.2.0 then don't install RedWolf or ** OrangeFox** recovery because when you enable OTA updates in them and flash MIUI 11 rom you will get *ERROR 7 * message and and when you reboot you phone will stuck on MI logo.


  2. When stuck on MI logo then don't try flashing rom again using Mi Flash Tool by booting to Fastboot mode (if you can boot to it) because you will get System flashing error.




FIX FOR STUCK ON MI LOGO




Requirements




  • unlocked bootloader


  • adb and fastboot tools


  • fastboot extracted rom (can be MIUI 11)





If you are stuck there then don't worry. Try if you can boot to Fastboot Mode (Vol - with power key). If not then try recovery mode or repeat EDL method. If yes then read ahead.



If you can then install adb and fastboot tools in your PC. And paste all images folder files of MIUI 11 fastboot rom to adb folder.
Now type the following:



Check if phone is accepted by



fastboot devices


Now flash system.img by



fastboot flash system system.img


After completion flash boot.img by



fastboot flash boot boot.img


After completion flash recovery.img



fastboot flash recovery recovery.img


After completion flash cache.img



fastboot flash cache cache.img



If you want to completely erase user data and make the device a newly
bought then type



fastboot erase userdata


After completion type



fastboot flash userdata userdata.img



Flashing is completed



Now just type fastboot reboot. Phone will boot properly now.




If you are using MIUI 9 or 10 rom to fix stuck on mi logo then when
the flashing is done you will face numerous bugs in rom like




  • mi cloud won't sync


  • fingerprint won't work properly




Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes