Fastboot boot image.img - Xiaomi Mi A3 Questions & Answers

I've just stumbled upon information, that Mi A3 doesn't support using the usual hotboot command "fastboot boot image.img". Is it true? No more hotbooting of TWRP for occasional usage or quick testing of different boot images?

Related

[RN3P Kenzo] Bootloader unlocked but unable to get into TWRP

RN3P Kenzo, ROM is Global Dev 6.8.18.
I unlocked the bootloader officially (using the code and the MiFlashUnlock tool). I then used ADB to flash Cofface TWRP which did not work. These are the steps I used:
First I booted into fastboot.
Then I did this in Minimal ADB 'fastboot flash recovery twrp.img'.
The message was
sending 'recovery'
OKAY
writing 'recovery'
OKAY
finished.
Next I did 'fastboot reboot'.
Then I tried to get into TWRP recovery using the MIUI update app. Didn't work. Any help? Thanks in advance.
monsieurazizx said:
RN3P Kenzo, ROM is Global Dev 6.8.18.
I unlocked the bootloader officially (using the code and the MiFlashUnlock tool). I then used ADB to flash Cofface TWRP which did not work. These are the steps I used:
First I booted into fastboot.
Then I did this in Minimal ADB 'fastboot flash recovery twrp.img'.
The message was
sending 'recovery'
OKAY
writing 'recovery'
OKAY
finished.
Next I did 'fastboot reboot'.
Then I tried to get into TWRP recovery using the MIUI update app. Didn't work. Any help? Thanks in advance.
Click to expand...
Click to collapse
Try this, "fastboot boot twrp.img" NOT fastboot flash boot, just "fastboot boot twrp.img"
andersonaragao said:
Try this, "fastboot boot twrp.img" NOT fastboot flash boot, just "fastboot boot twrp.img"
Click to expand...
Click to collapse
OK. It boots into TWRP. But my question is, will I have to use "fastboot boot twrp.img" every time to boot into TWRP? That would be a hassle, but if that's the only way, I'll just deal with it.
Thanks though, it was nice to know the recovery image was working.
monsieurazizx said:
OK. It boots into TWRP. But my question is, will I have to use "fastboot boot twrp.img" every time to boot into TWRP? That would be a hassle, but if that's the only way, I'll just deal with it.
Thanks though, it was nice to know the recovery image was working.
Click to expand...
Click to collapse
No. You dont need to fastboot everytime. As you once booted into TWRP from "fastboot boot twrp.img" your recovery is perminantly TWRP. You can boot into by pressing the key combination or from the updater app..
Happy Flashing
Try fastboot reboot recovery but if not boot into recovery don't boot into system and reboot recovery via key combination. If you reboot system stock recovery erase twrp.
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
https://twrp.me/devices/xiaomiredminote3.html
"fastboot reboot" hold volume up until you see mi logo
Wipe:
/data
Then flash:
http://forum.xda-developers.com/redmi-note-3/how-to/modified-twrp-deleting-emmcappsboot-t3371667
@Up disables dm-verity and encryption on /data partition[that's why we wipe it inorder to format it].
By SharkcpN(Newbie Guide)
B) Prevent TWRP From Getting Over-written
After the TWRP gets flashed, disconnect the cable from the phone.
Hold power button + volume up buttons till phone gets restarted.
When the Mi Logo shows up, release the power button & keep holding the volume up button.
Release the Volume Up button after TWRP logo shows up.
If the language is in Chinese, select the right box, & select English.
Check the box & swipe to allow modifications.
it worked for me

Soft brick while trying to flash TWRP

Hello to all !
In order to install Lineage OS on my Xiaomi Redmi Note 5, I was trying to flash TWRP as recovery. I was able to run successfully command 'fastboot flash antirbpass dummy.img' to skirt anti rollback, then i execute successfully 'fastboot flash recovery recovery.img' command to flash TWRP, but no way to boot on TWRP.
I tried also to run command 'fastboot boot recovery.img' but while booting it stays stucked on MI logo.
While searching for a solution I inconveniently run command 'fastboot flash boot recovery.img', so now I'm in a bootloop on fastboot mode if I press volume down and power button, or MI logo if I start in normal mode.
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
And I can not stop my phone, does it exist a command which allows to do this in fastboot or I have to wait for my phone to be without battery ?
Thanks in advance for your help !
Ivanov93 said:
Hello to all !
In order to install Lineage OS on my Xiaomi Redmi Note 5, I was trying to flash TWRP as recovery. I was able to run successfully command 'fastboot flash antirbpass dummy.img' to skirt anti rollback, then i execute successfully 'fastboot flash recovery recovery.img' command to flash TWRP, but no way to boot on TWRP.
I tried also to run command 'fastboot boot recovery.img' but while booting it stays stucked on MI logo.
While searching for a solution I inconveniently run command 'fastboot flash boot recovery.img', so now I'm in a bootloop on fastboot mode if I press volume down and power button, or MI logo if I start in normal mode.
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
And I can not stop my phone, does it exist a command which allows to do this in fastboot or I have to wait for my phone to be without battery ?
Thanks in advance for your help !
Click to expand...
Click to collapse
I guess you have Redmi note 5 - codename: Whyred (Snapdragon 636 and with dual rear camera) so Redmi 5 plus doesn´t have ARB.
If the next recommendation doesn´t work you will find better guidance in the thread for your specific device https://forum.xda-developers.com/redmi-note-5-pro so is slightly different.
Flash again your stock boot image , reboot and check that USB debugging is enabled and start again the process:
Put TWRP in your sdcard and a copy with this name in your adb folder into pc, reboot to fastboot and first just boot to TWRP, don´t flash it in fastboot, use code
Code:
fastboot boot TWRP.img
then in TWRP flash TWRP file and flash dummy.img ARB. In the case that your counter is up to 4 here you will find the file to enable again fastboot mode https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
Ivanov93 said:
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
Click to expand...
Click to collapse
I will assume that you have the correct TWRP build for your device (do you have vince, or whyred?).
If you have the correct TWRP, then did you flash magisk or lazyflasher after installing TWRP?
MAAAN
Do like this: once you flashed type
Fastboot boot recoveryname.img

Mi A3 Fastboot Loop

Hello I'm stuck at fastboot loop with my Mi A3 after flashing TWRP
Here is what I did:
1. unlocked bootloader
2. downloaded TWRP from here: dl. twrp. me/ laurel_sprout/twrp-3.3.1-0-laurel_sprout.img.html (cant post links, sorry)
3. installed it with fastboot flash boot twrp-3.3.1-0-laurel_sprout.img
After that the reboot is always goes into fastboot
I found the advice to change the partition - it was B and I set it to A and it could load the stock recovery, so I tried to flash TWRP again and it went to Fastboot loop again, on both partitions. No I don't know what to do.
command 'fastboot devices' - shows the device.
but I cannot boot into recovery, I tried holding power and volume up buttons many times, it always boots into Fastboot (screen with bunny and robot)
Please help!
Vsider said:
Hello I'm stuck at fastboot loop with my Mi A3 after flashing TWRP
Here is what I did:
1. unlocked bootloader
2. downloaded TWRP from here: dl. twrp. me/ laurel_sprout/twrp-3.3.1-0-laurel_sprout.img.html (cant post links, sorry)
3. installed it with fastboot flash boot twrp-3.3.1-0-laurel_sprout.img
After that the reboot is always goes into fastboot
I found the advice to change the partition - it was B and I set it to A and it could load the stock recovery, so I tried to flash TWRP again and it went to Fastboot loop again, on both partitions. No I don't know what to do.
command 'fastboot devices' - shows the device.
but I cannot boot into recovery, I tried holding power and volume up buttons many times, it always boots into Fastboot (screen with bunny and robot)
Please help!
Click to expand...
Click to collapse
Flash the boot.img of your current firmware version in twrp to both slots and flash twrp installer.zip afterwards then reboot. Now you will be able to boot as normal and have twrp installed also
Vsider said:
Hello I'm stuck at fastboot loop with my Mi A3 after flashing TWRP
Here is what I did:
1. unlocked bootloader
2. downloaded TWRP from here: dl. twrp. me/ laurel_sprout/twrp-3.3.1-0-laurel_sprout.img.html (cant post links, sorry)
3. installed it with fastboot flash boot twrp-3.3.1-0-laurel_sprout.img
After that the reboot is always goes into fastboot
I found the advice to change the partition - it was B and I set it to A and it could load the stock recovery, so I tried to flash TWRP again and it went to Fastboot loop again, on both partitions. No I don't know what to do.
command 'fastboot devices' - shows the device.
but I cannot boot into recovery, I tried holding power and volume up buttons many times, it always boots into Fastboot (screen with bunny and robot)
Please help!
Click to expand...
Click to collapse
Don't use twrp
It'll break userdata partition
Use shrp recovery
For Android 9
https://sourceforge.net/projects/mi...RP_P-v2.2-laurel_sprout-official.img/download
For Android 10
https://sourceforge.net/projects/mi...HR_Q-v2.2-laurel_sprout-official.img/download
Shrp installer Flashable zip after flashing ROM
https://sourceforge.net/projects/mi...ller-v2.2-laurel_sprout-official.zip/download
Rajendran Rasa said:
Don't use twrp
It'll break userdata partition
Use shrp recovery
For Android 9
https://sourceforge.net/projects/mi...RP_P-v2.2-laurel_sprout-official.img/download
For Android 10
https://sourceforge.net/projects/mi...HR_Q-v2.2-laurel_sprout-official.img/download
Shrp installer Flashable zip after flashing ROM
https://sourceforge.net/projects/mi...ller-v2.2-laurel_sprout-official.zip/download
Click to expand...
Click to collapse
TWRP breaks down? ? Man!! Everyone using it.
All the youtubers.
There is a stable twrp for a3

Fatsboot boot bug (phone doesn't boot)

Hello!
Now I have a trouble with my Nokia 7.1.
When I try to boot twrp or another kernel (boot.img) it stuck. I do '"fastboot boot twrp.img" or "fastboot boot boot.img" and my phone frozes on Android One logo.
And if problem with twrp can be solved (first enter "fastboot flash recovery twrp.img" and only than "fastboot boot twrp.img"), problem with boot.img is still relevant.
I noticed, that after "fastboot boot ..." phone restarts into download mode.
My phone is unlocked.
Thank
Hi, before any boot command, you'll need to do that flash recovery counterpart. You can do it on a standard boot image as well, not just TWRP. There's no recovery partition, so, nothing gets flashed. But it somehow allows us to boot our bootable img files.
So,
Code:
fastboot flash recovery boot.img
fastboot boot boot.img
singhnsk said:
Hi, before any boot command, you'll need to do that flash recovery counterpart. You can do it on a standard boot image as well, not just TWRP. There's no recovery partition, so, nothing gets flashed. But it somehow allows us to boot our bootable img files.
So,
Code:
fastboot flash recovery boot.img
fastboot boot boot.img
Click to expand...
Click to collapse
Yes! Thank you.
I recently came to this conclusion, but what is it?
Does it bootloader bug or anything else?
i have similar problems and just started a new request

General [SHARED][RECOVERY][UNOFFICIAL][fleur] TWRP-3.7.0 ONLY FOR A11

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 a lot of our own features. It's a fully touch driven user interface , no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Changelog:
• Updated sources to latest
• Almost Everything working fine.
Only for MIUI 13 Android 11
Creator: @Aghora7
Download
Installation instructions
whats is with data encrypten? is it working or problems with: "cant decrypt fbev2 partition"?
lurchiii said:
whats is with data encrypten? is it working or problems with: "cant decrypt fbev2 partition"?
Click to expand...
Click to collapse
I can't answer to this question, because it depends on you made any mistakes during the installation or not
Its support for A12 miui 13.0.4
Does it support A12 eea europe rom ?
xristos1925 said:
Does it support A12 eea europe rom ?
Click to expand...
Click to collapse
it supports a11
It seems Poco M4 Pro is not supported by TWRP and OrangeFox and that this unofficial TWRP is only for Android 11..
In my case I rooted (with magisk) from the latest ROM with Android 12..
And then installed LineageOS (Android 13). Everything works fine..
But I want to have a custom recovery for installing e.g. Gapps...
How can I do that?
Or do I need to rollback to previous ROM, install this TWRP then root with magisk and then go and install Lineage OS (and in that case I will still have TWRP and rooted)?
Thanks for any details..
sanjibukai said:
It seems Poco M4 Pro is not supported by TWRP and OrangeFox and that this unofficial TWRP is only for Android 11..
In my case I rooted (with magisk) from the latest ROM with Android 12..
And then installed LineageOS (Android 13). Everything works fine..
But I want to have a custom recovery for installing e.g. Gapps...
How can I do that?
Or do I need to rollback to previous ROM, install this TWRP then root with magisk and then go and install Lineage OS (and in that case I will still have TWRP and rooted)?
Thanks for any details..
Click to expand...
Click to collapse
Once you have lineageos installed, you must to flash twrp via fastboot and then flash Gapps
1. Flash system ( when it's done, don't reboot phone, just flash twrp
2. If you already are on twrp flash your Google apps
3. When you're done with flashing gapps, restart phone to system (twrp will be gone after reboot)
4. You have installed Gapps
i don't know how to flash twrp permanently, if you want further informations about this recovery, then join fleur telegram development channel
BloxetPL said:
1. Flash system ( when it's done, don't reboot phone, just flash twrp
Click to expand...
Click to collapse
Hello and thanks for the reply..
Currently when I'm installing LineageOS I do the following:
Code:
# SMINORI SCRIPT
fastboot flash system system.img
fastboot reboot fastboot
fastboot getvar is-userspace
fastboot erase system
fastboot delete-logical-partition product_a
fastboot flash system system.img
# <- here?
fastboot reboot recovery
Do you mean that after installing LineageOS above, I need to run:
Code:
fastboot flash boot twrp.img
fastboot boot twrp.img
# Booting in TWRP despite the error
adb sideload gapps_file.zip
And then just install Gapps using the TWRP GUI?
sanjibukai said:
Hello and thanks for the reply..
Currently when I'm installing LineageOS I do the following:
Code:
# SMINORI SCRIPT
fastboot flash system system.img
fastboot reboot fastboot
fastboot getvar is-userspace
fastboot erase system
fastboot delete-logical-partition product_a
fastboot flash system system.img
# <- here?
fastboot reboot recovery
Do you mean that after installing LineageOS above, I need to run:
Code:
fastboot flash boot twrp.img
fastboot boot twrp.img
# Booting in TWRP despite the error
adb sideload gapps_file.zip
And then just install Gapps using the TWRP GUI?
Click to expand...
Click to collapse
Remove "fastboot reboot recovery" from SMINORI tool and instead of this type "fastboot flash boot twrp.img
fastboot boot twrp.img"
I currently have MIUI13 and Android 11.
Tried to install TWRP with the instructions given but my phone will keep on bootloop.
TWRP interface shows for a few seconds but it shuts down after.
Im looking everywhere for answers but couldnt find any
globalfandemic said:
I currently have MIUI13 and Android 11.
Tried to install TWRP with the instructions given but my phone will keep on bootloop.
TWRP interface shows for a few seconds but it shuts down after.
Im looking everywhere for answers but couldnt find any
Click to expand...
Click to collapse
I saw that your question on telegram, as they said do "fastboot reboot recovery" no "fastboot boot twrp.img"
BloxetPL said:
I saw that your question on telegram, as they said do "fastboot reboot recovery" no "fastboot boot twrp.img"
Click to expand...
Click to collapse
Already tried, still same issue.
Tried using a couple new commands too with no result:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash boot_a twrp.img
fastboot flash boot_b twrp.img
fastboot reboot recovery
Also tried using only the commands you gave:
fastboot flash boot twrp.img
fastboot reboot recovery

Categories

Resources