Need help flashing my device - General Questions and Answers

I just installed TWRP. I'm trying to flash LineageOS 17.1 on a Mi A2 Lite (4/64). Everytime, i get the error
that i need to reboot the recovery to switch the slot (I have currently deleted the system entirely, so i know it's not accurate enough). I do switch yet i still get the error. This only happens with a custom rom. Anybody have any solutions?

Related

Mi4i Stucked in Bootloop

I attempted to switch custom rom and end up in a brick situation.
What actually happened:
I rooted my device and installed twrp successfully.
Then I found this thread: https://forum.xda-developers.com/mi-4i/development/rom-lineageos-15-0-t3671815
I was really interested in switching to custom rom and downloaded all necessary stuff.
(Here comes my mistake) I boot to twrp and flashed the latest firmware (8.1.5.0), wipe cache, latest rom build (LOS 15.1),wipe cahe,gapps,wipe cache and reboot to system. (all process altogether)
Now device stucked at MI logo and never booted to system again. And unable to boot to twrp mode too.
What i tried to resolve(but failed):
Device was showing lineage battery icon but nothing else was happening. So i decided to return back. I flashed my device with latest stock flashboot rom "ferrari_global_images_V9.2.3.0.LXIMIEK_20180414.0000.00_5.0_global_680c582f20" and successfully flashed it as while charging i got led light back and stock battery icon but issue remain the same. Stucked at boot loop.
I also tried Fastboot Flash Through CMD-Prompt https://in.c.mi.com/thread-334-1-0.html
But still not working. I think it must be due to firmware upgrade to oreo and if downgrade is possible, issue can be resolved but not sure and don't really know how to execute that.
Please help me in solving this issue and whatever suggestion you give please provide proper guidance or link to guidance as I'm still new to all this.
Video showing bootloop on mi4i device : https://drive.google.com/open?id=1ufwk8TNIUmycJUdjTmDBXj38-1cPCrBu

China ROM to Global ROM

Hey all,
So hoping to get some assistance as I am struggling a bit and my struggles have me pondering something as well.
My bootloader is unlocked, I have flashed TWRP, the recovery keeps reverting back to the stock Redmi Recovery so each time I want to use TWRP I need to flash it.
1. I noticed that the /data partition has f2fs as the file system, in TWRP data is not always mountable. From the searching I did it was recommended to try repair it via TWRP (does not work for me) or to format it to a different file system and then back to f2fs (this works for me). Although after trying to flash something else or boot into something else and getting back into TWRP I have the same issue again where data cannot be mounted and it is inconvenient to always format it and lose the files.
What can be done to resolve this issue? Would changing it to a different file system prevent this issue from happening, if so which file system would be recommended then?
2. I have been wanting to get the Global ROM on my phone and managed to eventually get the stock Global ROM flashed (downloaded it from MIUI, specifically for the RN7P obviously).
I had to open the archive and delete the compatability file in order to get it to install, otherwise TWRP would give me a treble error of some sort.
When booting up, it allows me to select the language which I leave as English, then the location only has China available for some reason? After selecting that the phone bombs out, the screen goes black for a bit and when it returns to normal it says "Find Device has crashed unexpectedly" and then crashes again and ends up with a black screen and keeps looping like that.
So I have had to flash back to the China ROM, which is quite disappointing. Has anyone successfully flashed from China ROM to Global (India) ROM?
Am I doing something wrong or forgetting to do something?
Your assistance will be appreciated.
TWRP is not official build yet for our RN7P.. Since the bootloader is already unlock, flash it through mi flash tool.. that's it.. that's what I did..
I got the same problem but for my redmi note 7...
the system has been destroyed
Well i was doing the same but i "brick" my mobile.
It appears the message "the system has been destroyed" when i turn on my mobile.
I had tried to install some twrp, install different ROM´s with mi flash but i can´t repair it... some ideas?
Thanks

Need help recovering my phone from bootloop after trying to update custom rom

Today I tried to finally update to the latest version of crDroid, but ended up having a bunch of issues doing so, and after a lot of troubleshooting and trying to fix it, I ended up putting it into a bootloop of some sort instead.
I'm pretty sure the last thing I tried was installing a different version of TWRP to see if that version would let me properly install the rom, and stop my phone from always rebooting into recovery mode.
Trying to turn it on normally or boot into TWRP leaves it hanging on the "Redmi" boot screen, it can boot into fastboot mode though.
I'm guessing that the only way to recover my phone at this point is to flash the Official MIUI rom back onto the phone, but that also involves wiping Data and losing pretty much everything I've put on the phone.
I was smart enough to make a TWRP of the Data folder, but while making the backup, the console said it doesn't include all personal files or something.
How much of my personal data and files can I rescue from the phone in this state, and how can I do that before it gets wiped when fixing it?
Also, I think I really need some help in actually restoring my phone and flashing the custom rom properly.
No matter how much effort I put into figuring out how to do this stuff, unexpected issues always seem to happen, and turns something that initially seemed so simple into multiple hours of troubleshooting.
The only way I think i've gotten rom flashing to work at all was by wiping everything and installing the official MIUI rom, but I don't want to be losing my data every month when an update comes out.
So, could someone please help me get my phone working again?
Edit: I ended up fixing my own issue by ADB flashing on a different release of TWRP, and then installing fcrypt disabler after the rom but before everything else.
Sanarise said:
Today I tried to finally update to the latest version of crDroid, but ended up having a bunch of issues doing so, and after a lot of troubleshooting and trying to fix it, I ended up putting it into a bootloop of some sort instead.
I'm pretty sure the last thing I tried was installing a different version of TWRP to see if that version would let me properly install the rom, and stop my phone from always rebooting into recovery mode.
Trying to turn it on normally or boot into TWRP leaves it hanging on the "Redmi" boot screen, it can boot into fastboot mode though.
I'm guessing that the only way to recover my phone at this point is to flash the Official MIUI rom back onto the phone, but that also involves wiping Data and losing pretty much everything I've put on the phone.
I was smart enough to make a TWRP of the Data folder, but while making the backup, the console said it doesn't include all personal files or something.
How much of my personal data and files can I rescue from the phone in this state, and how can I do that before it gets wiped when fixing it?
Also, I think I really need some help in actually restoring my phone and flashing the custom rom properly.
No matter how much effort I put into figuring out how to do this stuff, unexpected issues always seem to happen, and turns something that initially seemed so simple into multiple hours of troubleshooting.
The only way I think i've gotten rom flashing to work at all was by wiping everything and installing the official MIUI rom, but I don't want to be losing my data every month when an update comes out.
So, could someone please help me get my phone working again?
Click to expand...
Click to collapse
can u boot into twrp?
if u can boot, while in twrp, connect your phone via usb cable to pc. u can copy everything on pc
Simoom Sadik said:
can u boot into twrp?
if u can boot, while in twrp, connect your phone via usb cable to pc. u can copy everything on pc
Click to expand...
Click to collapse
Unfortunately, I can't.
Trying to boot into TWRP just gets stuck on the 'Redmi' boot logo.
I just remembered that you can install TWRP over ADB, and that Peter's one says it works even when the system partition is empty, so maybe the issue is the TWRP I installed and could possibly undo this part of the issue over ADB.
It won't fix the issue preventing my from updating my rom, but recovery only is still better than a soft brick.
Edit: That worked, i've put Peter's TWRP back on, and it's launching into recovery mode/TWRP again now
twrp not boot after successfully flash in this rom
Sanarise said:
Unfortunately, I can't.
Trying to boot into TWRP just gets stuck on the 'Redmi' boot logo.
I just remembered that you can install TWRP over ADB, and that Peter's one says it works even when the system partition is empty, so maybe the issue is the TWRP I installed and could possibly undo this part of the issue over ADB.
It won't fix the issue preventing my from updating my rom, but recovery only is still better than a soft brick.
Edit: That worked, i've put Peter's TWRP back on, and it's launching into recovery mode/TWRP again now
Click to expand...
Click to collapse
flash latest twrp download from github, install twrpbuilder img twrp ,it boot fine and you will copy your data to pc and then install any other twrp img which u want , dont wipe anything from phone before phone boot.flash only original twrp builder 3.2.3.1 official,it boot only on latest updates.
Why nobody use orangefox?
is your issue solve or not tell,
Simoom Sadik said:
can u boot into twrp?
if u can boot, while in twrp, connect your phone via usb cable to pc. u can copy everything on pc
Click to expand...
Click to collapse
if your problem is not solve then tell me you need to flash a fastboot rom first with save user data.bat file and when it installed then you can install twrp builder 3.2.1. and then boot to twrp this methods working fine,if you recently flashed any android 10 rom then first you need to flash a miui fastboot rom,or flash it via command mode direct only 3 files
first click on extract a fastboot rom and copy boot system and vender file with flash.all bat file and make a new folder then click on flash.bat save user data file to flash these images
or you can do this manually
fastboot flash system system.img
fastboot flash vender vender.img
fastboot flash boot boot.img
then reboot device to fastboot again
now flash latest official twrp builder 3.2.3.1 img twrp and take all your data backup,
in fastboot flash latest miui do not downgrade direct otherwise you lost your data,
after this if you sucess then you can flash your old rom which is running before issue of boot loop of redmi logo
it will deincrypt your data safely and then root device and boot normally, if you lost anything then contact me with mail or whatsapp i will help you,7009197673 india
and this twrp work on all version from chines to global beta stable and indian stable
joke19 said:
Why nobody use orangefox?
Click to expand...
Click to collapse
In the end, I did try orangefox, and it might have been part of why it worked.
However, the crDroid installation instructions specifically mentions using Peter's TWRP, so I initially used that one.
anmoltinder said:
if your problem is not solve then tell me you need to flash a fastboot rom first with save user data.bat file and when it installed then you can install twrp builder 3.2.1. and then boot to twrp this methods working fine,if you recently flashed any android 10 rom then first you need to flash a miui fastboot rom,or flash it via command mode direct only 3 files
Click to expand...
Click to collapse
Thank you for the effort you put into typing up a guide to help me, but I ended up fixing my own problem.
I was able to use fastboot to flash on a better TWRP release, and then get the rom to install properly by installing fcrypt-disabler just after it.
Sanarise said:
Today I tried to finally update to the latest version of crDroid, but ended up having a bunch of issues doing so, and after a lot of troubleshooting and trying to fix it, I ended up putting it into a bootloop of some sort instead.
I'm pretty sure the last thing I tried was installing a different version of TWRP to see if that version would let me properly install the rom, and stop my phone from always rebooting into recovery mode.
Trying to turn it on normally or boot into TWRP leaves it hanging on the "Redmi" boot screen, it can boot into fastboot mode though.
I'm guessing that the only way to recover my phone at this point is to flash the Official MIUI rom back onto the phone, but that also involves wiping Data and losing pretty much everything I've put on the phone.
I was smart enough to make a TWRP of the Data folder, but while making the backup, the console said it doesn't include all personal files or something.
How much of my personal data and files can I rescue from the phone in this state, and how can I do that before it gets wiped when fixing it?
Also, I think I really need some help in actually restoring my phone and flashing the custom rom properly.
No matter how much effort I put into figuring out how to do this stuff, unexpected issues always seem to happen, and turns something that initially seemed so simple into multiple hours of troubleshooting.
The only way I think i've gotten rom flashing to work at all was by wiping everything and installing the official MIUI rom, but I don't want to be losing my data every month when an update comes out.
So, could someone please help me get my phone working again?
Edit: I ended up fixing my own issue by ADB flashing on a different release of TWRP, and then installing fcrypt disabler after the rom but before everything else.
Click to expand...
Click to collapse
help.I woke up yesterday and I turned on my phone and it is stuck on the Mi logo.All i can do is get it to fastboot thing.It seems like you and I have the same problem and I would love to have some help from you
Fcsubxrhi said:
help.I woke up yesterday and I turned on my phone and it is stuck on the Mi logo.All i can do is get it to fastboot thing.It seems like you and I have the same problem and I would love to have some help from you
Click to expand...
Click to collapse
If you can access fastboot, then flash TWRP.... Enter recovery, wipe your system partitions and then flash the Stock MIUI ROM or use the MiFlash tool. Make sure you aren't flashing an older version of the ROM than the onle already installed.
CongestedHangman said:
can u boot into twrp?
if u can boot, while in twrp, connect your phone via usb cable to pc. u can copy everything on pc
Click to expand...
Click to collapse
I have the same problem that stated after installing the update for derpfest and I can boot into twrp. Any solution for me?

Bootloop/Brick (?)

Hey everyone, I'm in a pickle with mi Ultra.
I'll walk you through the key events that led me to where I am now.
Yesterday, I noticed my battery was being used up fairly quickly, the battery settings showed that "other" had drained my battery 16% over the course of a few hours. I decided I wanted more info so I got recommended to try installing Gsam and it's root addon to see if I could get more details.
At this point in time, I was on EU rom with Magisk running smoothly, after installing Gsam and the root addon it wanted me to reboot, and so I did. That was the last time since then that I have been able to get in to my phone.
It started with a bootloop, so I tried unrooting via TWRP, wiping cache, nothing.
After a while i said **** it, if I lose my data so be it. Tried dirty flashing the EU rom again, no luck. And now I couldn't see /data no more in TWRP.
Decided to try a fresh install of EU rom, formatted data via TWRP and installed EU rom again, still no.
So then I tried following the guide I followed orginally to install the EU rom via my PC, nope again.
Maybe the china rom could help here? Tried installing it via fastboot command-line - nope, via sideload - nope, via MiFlash - no.
The loop has during these hours of terror behaved differently, but the farthest I've gotten is being able to type in my wifi Password to start trying to unlock my Mi account, but just after that, the touch becomes unresponsive and "System has stopped responding" and then reboot.
So, I turn to you guys for help, I've followed all guides/forum threads that I could find about bootloops and bricking on the ultra (including the ones here of course) but so far none of those tips have solved my problem.
Does anyone have any more things that I could try?
If need be I can post a video of the problem as it occurs.
Thanks in Advance, Chris
After any branch change flash, did you format? If not, it will boot loop. No good formatting before flashing, it must be done after. I would start again by going to fastboot and install the original stock Chinese ROM. This will replace twrp with stock recovery. Get a fastboot ROM from mifirm.net .
Once done, then check it's working Ok and build on that with flashing twrp from fastboot and then a twrp ROM. BUT after flashing any same branch ROM, you must wipe cache and dalvik. If you change branch like stock to EU or stable to weekly, you must format data as there may be different partition differences. It is very hard to brick an Xiaomi phone as you will always have access to fastboot. Just one word of advice, if you choose the first EU fastboot ROM, you need to swap out the fastboot.exe as it had an issue but other than that slow down take your time and it will work. Good luck.

Question TWRP LOOP stuck Poco x 3 pro

Hello everyone sorry i'm new here and also i don't know much about rooting my device Poco X 3 pro MIUI 13.0.3 Global and Andriod 12 .. sadly i messed up i had my boatloader unlocked fo my Poco x3 pro and i have installed custom recovery TWRP then i tried to install Magisk via the TWRP recovery but it won't work mainly because the data is encrypted and the TWRP can't acess in the internal storage so i used a OTG usb but gets error unable to mount /data/media/fox/.fox note that i tried both Orangefox and twrp still same error i assume its because the device is encrypted . also decrypt doesnt work it ask for password and i even removed all my accounts and disabled all lock screen but still not working at this point i thought that downgrading from MIUI 13 to 12 will fix this since i saw all videos who had it working used MIUI 12 and here where i messed up i used XiaoMiTool V2 then clicked custom ROM and used an offecial ROM from Xiaomi website ( miui_VAYUGlobal_V12.0.6.0.RJUMIXM_eccd7da42b_11.0.zip ) the phone booted into TWRP and started installing but ofcourse got the error first unable to mount /data/media/twrp then the process continued installing all the files then phone rebooted into TWRP LOOP now im stuck into TWRP and the USB debugging is turned off now as the phone appearntly did factory reset so i cant acess XiaoMiTool V2 again and when i try to wipe data from TWRP it says unable to wipe data ... please help im stuck on TWRP loop now
**UPDATE** i tried fastboot ROM using MiFlash tool but i get error since i'm stuck on twrp fastboot menue but after few restart it finally open the normal fastboot menue with the logo of the sitting rabbit which indecade this is miui 12 tried again to fash though Mifash tool and it worked (flashing the same version miui_VAYUGlobal_V12.0.6.0.RJUMIXM_eccd7da42b_11.0.zip but this time the fastboot version not the recovery one took few minutes then got error not catch checkpoint flash is not done then it reboot into the phone menue where i can click wipe data i click that and the phone (thankfully) opened into MIUI 12 LOGO screen
... theres an easier way to actually downgrade your MIUI using a trick through your phone only without root or pc or anything by changing the ROM file name before you click reboot wish i used that since its safer and official
omg finally Magisk installed successfully now didnt need to decrypt anything
now my last question is do i need custom ROM after rooting the device ? or does magisk mean its a custom root ? sorry first time rooting and i dont know if i need to install any apps or apply any setting or should i click update my MIUI now ?
Try the newest Unofficial TWRP from nebrassy (found in his thread here on XDA)
That supports decription.
I recommend arrowOS as custom ROM.
It's one of the oldest and works pretty well.
IMHO Stock ROM from Xiaomi is untrustworthy. Who knows what spyware they included.
Same for me now I have a question first I need a guide link how to install arrowOS or any better ROM also if I do that do I need to flash Magisk again or the device will be keep the Root ?
@Haldi4803 can you post the link of the TWRP as well ? There's many threads by nebrassy and they all seem old mine is the latest official and it doesn't work on miui 13 , I also heard of crdroid and derpfest ROMs for Poco x3 pro but I think they overheat much ? I didn't test so I'm just asking also what's the way to install a new ROM it seem little bit complicated but the ArrowOs thread doesn't explain all the steps in detail because I think it's for pro users I read on Google that there's way more steps to install a ROM
TWRP:
[RECOVERY] [12] [OFFICIAL] TeamWin Recovery Project
Introduction: Team Win Recovery Project or TWRP for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added...
forum.xda-developers.com
Unofficial Builds from pling with Decryption working:
https://www.pling.com/p/1833617/ (just take the newer one)
Installation guide for Arrow OS:
Instructions
FIRST INSTALL?:
Remove any fingerprint, PIN, or password in MIUI
Unlock the bootloader
Transfer ROM to internal storage
Install any suitable recovery
Flash ROM zip file
Do a data wipe in recovery (format data)
Reboot to the system, wait and enjoy
There are decent picture guides here on xda on how to unlock bootloader.
After bootloader is unlocked you can simply install TWRP via fastboot flash recovery recovery.img.
Detailed instructions here: https://twrp.me/xiaomi/xiaomipocox3pro.html
After you have installed a ROM. and gapps you can simply reboot and use the rom.
Whenever you need root you can reboot into recovery and install magisk.

Categories

Resources