In case anyone has experienced a bootloop in custom ROMS here's a solution that worked for me.
Step 1. Download the stock ROM from Xiaomi's official site here http://en.miui.com/download-353.html
Step 2. Unzip the downloaded file and install Xiaomi's flashing tool that you can find here http://en.miui.com/a-234.html
Step 3. Boot into Fastboot mode in your device and connect it with the PC
Step 4. Open a console and enter . fastboot oem edl .
Step 5. Use the flashing tool to select the folder you extracted and flash the files
Step 6. Boot into fastboot and boot into PitchBlack recovery (recommended) https://forum.xda-developers.com/mi-a2/development/recovery-unofficial-official-pbrb-t3830864 . fastboot boot recovery.img .
Step 7. Flash the files of your favorite ROM as mentioned in https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375
Thats all!
Related
I bought a nexus 6 on google play and I am on verizon. It is currently running 5.0 LNX07M.
Could some nice fellow please tell if if this is correct?
1. download wugfresh
2. download drivers
3. tick usb debug, oem unlock
4. unlock bootloader
5. flash no force encrypt
6. root
7. Trwp
8. Get Chroma/ or any other 5.1.1 rom and flash with gapps?
I'm espeically concerned if it is ok to unlock and root a 5.0 nexus 6 and then use twrp to flash a 5.1.1 rom. Should I first update the phone to 5.1 or something?
1. download and install adb/fastboot
2. boot into the bootloader and plug in via USB to your computer. depending on what your computer is running, it could download and install the driver by itself or you would have to.
3. fastboot OEM unlock unlocks the bootloader.
4. reboot and back into your bootloader.
5. flash twrp recovery
6. flash your custom kernel and SuperSU for root via twrp recovery.
7. only if you want to decrypt, format your storage. if not, just reboot.
simms22 said:
1. download and install adb/fastboot
2. boot into the bootloader and plug in via USB to your computer. depending on what your computer is running, it could download and install the driver by itself or you would have to.
3. fastboot OEM unlock unlocks the bootloader.
4. reboot and back into your bootloader.
5. flash twrp recovery
6. flash your custom kernel and SuperSU for root via twrp recovery.
7. only if you want to decrypt, format your storage. if not, just reboot.
Click to expand...
Click to collapse
Should I update my phone or is 5.0 ok for flashing the latest 5.1.1 rom?
Raymondlikesroot said:
Should I update my phone or is 5.0 ok for flashing the latest 5.1.1 rom?
Click to expand...
Click to collapse
if updating the official way, go to 5.1 then 5.1.1. but if updating via custom ROM, it doesnt matter, you can flash 5.1.1 over 5.0
IMHO,
1) download Android SDK or minimal fastboot and ADB or 15 second ADB and fastboot installer
2) connect to PC and reboot to bootloader
3) from command prompt:
fastboot devices
(Serial number shows up)
4) From command:
fastboot oem unlock
fastboot reboot
5) Download the latest TWRP recovery for shamu
6) Boot back to bootloader and from command (having placed the TWRP image somewhere where fastboot can find it i.e. in platform tools in SDK) also rename it to twrp.img
Issue the command:
fastboot flash recovery twrp.img
(Be careful to not have it list the file ext. twice. Windows names the file ext. by default. Example: twrp.img.img
After recovery flashes, from bootloader, use the volume keys to select recovery mode and press power. Your device will boot to TWRP.
Make a backup!
Next, download SuperSU zip and flash with TWRP.
Congratulations, you are now stock rooted and you can choose any ROM you like and flash with TWRP. Follow the instructions carefully from the ROM OP and profit.
It may look complicated but trust me, it's not. The longest process will be after you unlock the bootloader. Your device will wipe completely so backup anything you'd rather not lose forever.
Remember, a 32gb Nexus will take 10 to 15 minutes to wipe and reboot. A 64gb will take 20 minutes or more.
The benefit of doing it this way is you know exactly what is happening to your device, unlike a toolkit. Also, you just learned something! Plus, if you get stuck somewhere and end up soft bricked, you'll understand what and how when someone here tells you how to fix it.
Thank you guys for your responses ! I think my laziness is going to win me out this round so im going to use the toolkit. But next time, I will do the correct way!
i have a symphony roar a50 (Bangladesh). it was running everything stock and updated with twrp 2.8.7.0 without root. bootloader was unlocked.
i was trying to root the device with the AIO from this thread:
http://forum.xda-developers.com/cro.../android-one-toolkit-unlocks-relocks-t3294448
the phone suddenly rebooted in the middle of the process and was stuck in a bootloop. i tried to factory reset it but it still didn't work. was still on boot loop.
then i tried to flash the appropriate stock firmware but that didn't help it wont boot. stuck on the boot logo for 1.5 hrs. then tried CM13 nightlies and the cyanpop roms. still nothing.
i am currently in a state of shock as this is a fairly a new phone and i am to travel to Chittagong in ~11 hours.
please help
don't you take a backup ?
and don't you wipe every thing before flashing the cm13 ?
mithun mpk said:
don't you take a backup ?
and don't you wipe every thing before flashing the cm13 ?
Click to expand...
Click to collapse
yes i had a nandroid backup. but twrp says it is corrupt or some reason. and yes i wiped everything before cm13
downgrade twrp2.8.7 to 2.8.4.... 2.8.7 has problem with backup and recovery
https://www.androidfilehost.com/?fid=24389512218018336 twrp 2.8.8.x beta 3
btw this thread is wrong section
I too Had the same Problem once as I Tried Rooting My Android One through the same method as u did, So for fixing it I prefer that U FLASH The Stock MM ROM for Ur Device through STOCK Recovery ( Remember to Wipe Cache and Data b4 Flashing ) AND then ur Device mst be Fixed ( This method worked for me ) And Dude if u want to root Ur Device Follow This Method : -
1) FLASH TWRP RECOVERY
2) Reboot into Recovery and FLASH Thunderzap 5.1 Kernel through Recovery
3) Then FLASH SUPERSU ZIP from Recovery
4) Reboot And Done ! Ur Device is Rooted ! ?
@RoxAndroid how did you fallback to stock recovery from twrp? I'm stuck.
Tanzim Abir said:
@RoxAndroid how did you fallback to stock recovery from twrp? I'm stuck.
Click to expand...
Click to collapse
So......to do that Follow these Steps :-
Download Stock Recovery from here http://forum.xda-developers.com/crossdevice-dev/android-one-general/stockrecoveryandroid-one-t2917457
1) Make sure u have Installed ADB drivers ( If Already did, Skip Step 2)
2) To install ADB drivers first Unable USB debugging From the developer Options in the Setting ( If there is No Developer Options Goto-Setting-About Phone-Tap Build Number 7 Times and go back to settings and Open Developer Options and Unable USB debugging) And then Connect Your Phone to PC and Open ADB DRIVER executable File And Install Drivers.
3) Once Drivers are installed Download ADB AND FASTBOOT from here http://drive.google.com/file/d/0B1nu6Ydzrmi-dWdmS00tWjE1WHM
4)Extract the zip and open the folder and then HOLD SHIFT+Right Click and then click on Open Command Window here
5)And then boot your phone to Fastboot Mode, To do that Power Off the Device and HOLD POWER AND VOLUME UP key at the same time and then navigate to the Fastboot Mode by Volume UP button and and Click Volume Down button to select. Once you are in Fastboot Mode connect your Device to PC and go back to PC
6)Once Command Window is opened type following Command :-
Code:
fastboot devices
Code:
fastboot oem unlock
Code:
fastboot format userdata
Code:
fastboot flash recovery <Name of the Recovery in ur PC>
Code:
fastboot boot <Name of the Recovery in ur PC>
6) DONE ! STOCK RECOVERY IS FLASHED and Remember to keep Stock Recovery img file in the ADB AND FASTBOOT FOLDER
Thanks I'll try this asap currently on a train..
Okay.. I've shipped it to the customer care. They said I'll have to wait 3 days for it to get back. I'll report back then.
Thank you everyone for your input.
Closed as this has run its course.
I flashed TWRP but i want go back to Stock Recovery. The XMT2 Xiaomi Flash tool need Stock Recovery . But i dont have a Stock Recovery.zip . I extract some Global Xiaomi Image and found one recovery.img but if i flash this with fastboot my Phone allways boot in fastboot Mode. Can anybody help pls ?
Internet full of guides how to do this and you need to read first 2-3 lines
THE STEPS TO FLASH
Step 1 – On your computer, do these tasks :
1. Extract the ADB Fastboot Files .zip file, and then
2. Extract Mi_Stock_Recovery.tgz file. You’ll have a file namely recovery.img.
Click to expand...
Click to collapse
Just use MI Flash to restore your phone to stock. Then you can start over and flash what you want.
Hi,
after flashing twrp recovery, I made a wipe of everything even deleting os.
Now the phone starts only in fastboot mode, I can't go into recovery mode, I tried to flash flash roms fastboot with mi flash pro, but without success. I tried it also using command -fastboot oem edl, so in edl mode, it seems to start but does't complete flashing.
I'm reading a lot things about same problem, but I'm not able to fix...
What have I to do?
Thanks.
Use XiaomiFlash to flash a Stock Fastboot Rom from miui.com
There is a instructions how to flash it.
First you can try flash twrp:
fastboot flash recovery twrp.img
reboot (press volume up before hit enter and hold to boot twrp)
Don't use xiaomiflash/miflash, it's also bricked my phone yesterday.
Try this. If you want flash stock Download minimal_adb_fastboot_1.4.3_portable (search for link) and fastboot rom from http://en.miui.com/a-234.html
Unpack rom twice (tgz > tar > folder) and unpack fastboot files into folder with unpacked fastboot rom!
Open cmd in this folder and type:
1. flash_all (if you want wipe everything)
2. flash_all_except_storage (if you don't want wipe storage)
3. I do not recommend command flash_all_lock unless you know what you doing.
Wait for flash end and phone reboot.
Wysłane z mojego MI 9 przy użyciu Tapatalka
It was not possibile to start twrp recovery, I tried serveral times, always flashed but never booted into recovery mode.
Anyway I've fixed using an developers global rom. Thanks guys
Hello guys!
I am having a problem updating my current TWRP (version 3.52 came from one youtuber) to TWRP 3.6/OrangeFox.
I carefully follow steps. Even extracting my own rom boot.img just to flash it in accordance to said step. I successfully flash the said recovery but when i reboot to system or power off. It just keeps booting to recovery. Hoping for some enlightenment. Thank you!
1) you did not say what steps you did, or which tutorial you followed
2) what do you need twrp for?
jjsan said:
1) you did not say what steps you did, or which tutorial you followed
2) what do you need twrp for?
Click to expand...
Click to collapse
Reboot your phone into fastboot mode
Download Blank VBmeta and flash it using fastboot flash vbmeta vbmeta.img
Next, download TWRP .IMG file and flash it using fastboot flash boot IMAGE_NAME.img
Reboot into recovery mode (fastboot reboot recovery)
When booted into recovery, reflash stock boot.img (Install -> Install Image -> Select stock boot.img -> “Flash to: Boot”)
Next, go in Advanced -> Flash current TWRP and swipe to flash TWRP.
Reboot and enjoy!
That's the instruction given in a thread. I followed it but no luck. Keeps rebooting to recovery.
cant say if it works or not.
for rooting its better patch img and flash.
read this. there is also solution for bootloop
How To root Redmi Note 10S without TWRP (Text Guide in English)
By Following this guide, you will lose your warranty so keep that in mind before you begin. (Although you have probably already lost your warranty by unlocking the bootloader) So, if like me, you ended up buying the Redmi Note 10S because it was...
forum.xda-developers.com
jjsan said:
cant say if it works or not.
for rooting its better patch img and flash.
read this. there is also solution for bootloop
How To root Redmi Note 10S without TWRP (Text Guide in English)
By Following this guide, you will lose your warranty so keep that in mind before you begin. (Although you have probably already lost your warranty by unlocking the bootloader) So, if like me, you ended up buying the Redmi Note 10S because it was...
forum.xda-developers.com
Click to expand...
Click to collapse
I already root my device . Just confused why the posted updated TWRP and Orangefox (both by Woomy) doesn't let me boot to system.
pumpkin072618 said:
Reboot your phone into fastboot mode
Download Blank VBmeta and flash it using fastboot flash vbmeta vbmeta.img
Next, download TWRP .IMG file and flash it using fastboot flash boot IMAGE_NAME.img
Reboot into recovery mode (fastboot reboot recovery)
When booted into recovery, reflash stock boot.img (Install -> Install Image -> Select stock boot.img -> “Flash to: Boot”)
Next, go in Advanced -> Flash current TWRP and swipe to flash TWRP.
Reboot and enjoy!
That's the instruction given in a thread. I followed it but no luck. Keeps rebooting to recovery.
Click to expand...
Click to collapse
hmm, you sure you actually installed the stock rom kernel?
J6idot said:
hmm, you sure you actually installed the stock rom kernel?
Click to expand...
Click to collapse
I used the extracted boot.img pulled using adb. Am i doing it right?
pumpkin072618 said:
I used the extracted boot.img pulled using adb. Am i doing it right?
Click to expand...
Click to collapse
You can download the original ROM package and extract the boot.img from it, see if it works
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com