[GUIDE] How to unlock bootloader without erasing data - Xiaomi Mi A2 Lite Guides, News, & Discussion

For those, who don't know, there's how to unlock/lock bootloader without erasing data:
1. Turn off the phone
2.Hold power & volume down, keep the volume down button pressed!
3.Connect phone to PC, on PC fastboot type:
Code:
fastboot oem unlock
still keep the volume down pressed
4.Type:
Code:
fastboot reboot
when phone starts to reboot, release volume down(when black screen appear), for me, when it starts to reboot, I disconnect the phone too
5. Now phone should be unlocked without deleting data partition.
Tested, for me worked 100%, but you need to be careful, or you will lose data!
I hope it helps.

ondraczsk said:
For those, who don't know, there's how to unlock/lock bootloader without erasing data:
1. Turn off the phone
2.Hold power & volume down, keep the volume down button pressed!
3.On PC fastboot type:
Code:
fastboot oem unlock
still keep the volume down pressed
4.Type:
Code:
fastboot reboot
when phone starts to reboot, release volume down(when black screen appear).
5. Now phone should be unlocked without deleting data partition.
Tested, for me worked 100%, but you need to be careful, or you will lose data!
I hope it helps.
Click to expand...
Click to collapse
it worked for me.thank you very much.

you don't need to hold the vol down button all the time, you just need to hold it right after you enter the unlock/lock code ,then the phone will boot into fastboot again instead of erase menu

worked

Thanks for this! Now, is there a way to install TWRP without losing data?

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
im stuck here

cadenarcher said:
im stuck here
Click to expand...
Click to collapse
Check if you are on device in fastboot mode and if is your device properly connected.

elvinguitar said:
Thanks for this! Now, is there a way to install TWRP without losing data?
Click to expand...
Click to collapse
I don't know, I haven't tried it, but you can temporarily boot TWRP via fastboot.

elvinguitar said:
Thanks for this! Now, is there a way to install TWRP without losing data?
Click to expand...
Click to collapse
Yes, after unlocking the bootloader turn off the phone and reboot in fastboot mode.
On windows command type "fastboot boot twrp.img", where twrp.img is the name on recovery, and when the phone rebooting into TWRP in provvisoring mode, flash the zip file of the TWRP: in there mode the TWRP are permanent and your data are save.
Sorry for my poor english and hope that all are clar.

liboriof said:
Yes, after unlocking the bootloader turn off the phone and reboot in fastboot mode.
On windows command type "fastboot boot twrp.img", where twrp.img is the name on recovery, and when the phone rebooting into TWRP in provvisoring mode, flash the zip file of the TWRP: in there mode the TWRP are permanent and your data are save.
Sorry for my poor english and hope that all are clar.
Click to expand...
Click to collapse
yep

Good tutorial, fully worked

This method worked for me, but when I entered the recovery, I was reset to factory settings.

liboriof said:
Yes, after unlocking the bootloader turn off the phone and reboot in fastboot mode.
On windows command type "fastboot boot twrp.img", where twrp.img is the name on recovery, and when the phone rebooting into TWRP in provvisoring mode, flash the zip file of the TWRP: in there mode the TWRP are permanent and your data are save.
Sorry for my poor english and hope that all are clar.
Click to expand...
Click to collapse
Can you (or somebody else) tell me which twrp.img and which twrp.zip?

chillout23 said:
Can you (or somebody else) tell me which twrp.img and which twrp.zip?
Click to expand...
Click to collapse
Yes with pleasure https://dl.twrp.me/daisy/, here you will find all the files.

Thank you very much will try in next few days..

ondraczsk said:
For those, who don't know, there's how to unlock/lock bootloader without erasing data:
1. Turn off the phone
2.Hold power & volume down, keep the volume down button pressed!
3.Connect phone to PC, on PC fastboot type:
Code:
fastboot oem unlock
still keep the volume down pressed
4.Type:
Code:
fastboot reboot
when phone starts to reboot, release volume down(when black screen appear), for me, when it starts to reboot, I disconnect the phone too
5. Now phone should be unlocked without deleting data partition.
Tested, for me worked 100%, but you need to be careful, or you will lose data!
I hope it helps.
Click to expand...
Click to collapse
Thanks, yes it worked, but in Android 9 you need to grant/tick <OEM unlock> in settings/system/Advanced/developer options first.

Can anyone confirm that this works with Nexus 6P? (Sorry I know this is the Xiaomi area...)

Wait... need to hold just volume down or power and volume together?

ondraczsk said:
For those, who don't know, there's how to unlock/lock bootloader without erasing data:
1. Turn off the phone
2.Hold power & volume down, keep the volume down button pressed!
3.Connect phone to PC, on PC fastboot type:
Code:
fastboot oem unlock
still keep the volume down pressed
4.Type:
Code:
fastboot reboot
when phone starts to reboot, release volume down(when black screen appear), for me, when it starts to reboot, I disconnect the phone too
5. Now phone should be unlocked without deleting data partition.
Tested, for me worked 100%, but you need to be careful, or you will lose data!
I hope it helps.
Click to expand...
Click to collapse
Does this work on Mac os?

Will the phone factory reset if you shut it down, or restart it anytime after doing this? Or will you be safe?
Sent from my Xiaomi Mi A2 Lite using XDA Labs

Related

Volume down button broken, so there is no fastboot

Hi, my volume down button is broken, and I'm just wondering if there are any way to get into fastboot without hardware buttons... I was flashing through fastboot and I made some mistakes in the process, so basicly I have no S. O.
When I turn on the phone, it goes straight to recovery mode, but I'm not able to choose any other option, because my volume button is broken
Is there any solution or workaround to get into fastboot? Is to hard to repair the volume buttons? Thanks in advance...
TWRP custom recovery has a Reboot option, which includes 'Reboot to Bootloader.'
lost101 said:
TWRP custom recovery has a Reboot option, which includes 'Reboot to Bootloader.'
Click to expand...
Click to collapse
But I'm not able to get into fastboot (bootloader) , I can't flash anything
I'm stuck with stock recovery... And without volume down button
abeloman said:
But I'm not able to get into fastboot (bootloader) , I can't flash anything
I'm stuck with stock recovery... And without volume down button
Click to expand...
Click to collapse
Setup a PC / Laptop for ADB. There is a command: adb reboot-bootloader
If ADB in recovery mode does not work with Windows, use Linux (an Ubuntu Live CD is enough) - install fastboot and use the command: sudo adb reboot-bootloader
lost101 said:
Setup a PC / Laptop for ADB. There is a command: adb reboot-bootloader
If ADB in recovery mode does not work with Windows, use Linux (an Ubuntu Live CD is enough) - install fastboot and use the command: sudo adb reboot-bootloader
Click to expand...
Click to collapse
I've just installed adb and fastboot on a live CD... And it's the same, it says "error: device not found"... I just wanna get into fastboot, that's all :'(
abeloman said:
I've just installed adb and fastboot on a live CD... And it's the same, it says "error: device not found"... I just wanna get into fastboot, that's all :'(
Click to expand...
Click to collapse
Recovery mode adb should be working - even with stock recovery.
lost101 said:
Recovery mode adb should be working - even with stock recovery.
Click to expand...
Click to collapse
But I can't activate adb in the recovery (I think)... I'm stuck here and nothing happens (on Windows and Ubuntu):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Any ideas? Thank you very much for your time
abeloman said:
But I can't activate adb in the recovery (I think)... I'm stuck here and nothing happens (on Windows and Ubuntu):
Any ideas? Thank you very much for your time
Click to expand...
Click to collapse
I see. Can you use volume up to highlight adb? Then power button to enable?
lost101 said:
I see. Can you use volume up to highlight adb? Then power button to enable?
Click to expand...
Click to collapse
Nope, I can't scroll up neither down, and "volume up" does nothing... My father has another moto g; if I borrow his volume rocker, could I be able to replace it and get into fastboot?
abeloman said:
Nope, I can't scroll up neither down, and "volume up" does nothing... My father has another moto g; if I borrow his volume rocker, could I be able to replace it and get into fastboot?
Click to expand...
Click to collapse
Possibly, but without a working volume rocker I see no way out of your situation.

Unable to get into recovery (twrp) (LineageOS 14.1)

I bought a used OPO which already had an unlocked bootloader and lineageOS 14.1 installed, my goal is to root and to do so I need to activate the option with twrp (the SuperSU already is on the LineageOS 14.1, but needs to be activated with twrp)
unfortunately, when I flash twrp, I am unable to get it to boot into recovery I have tried various key combinations, volUP+power gets me into fastboot (how i flashed it), volDOWN+power seems to power down before anything happens.
this is how i flashed twrp
Turn the phone off. Then boot it into fastboot mode by holding volume up + power.
Rename the recovery file that you downloaded above to recovery.img. *Make sure that you rename it to recovery.img NOT recovery.img.img* Remember that this file should be placed in the platform-tools folder inside of the android-sdk-windows folder on your desktop.
Open a new command prompt and run the following commands:
Code:
cd Desktop/android-sdk-windows/platform-tools
Code:
fastboot flash recovery recovery.img
Once the flash has completed, Don't use the "Fastboot Reboot" Command Instead Unplug Your phone then Manually turn it off by pressing and holding power button until it switches off. Now to enter your newly installed custom recovery, hold volume down + power. The phone should boot into recovery mode. Now that you have a custom recovery, you may continue to the final step.
Close the command prompt window.
Turn off the phone completely. Then press and hold volume down and power. Release when the first screen comes on.
Alternatively enable Developer options (Settings - About phone - press Build Number several times to enable) then enable Advanced Restart in Developer options and when you press Power button and Restart you then get the option for Restart, Soft Restart, Recovery and Bootloader.
the only options in advanced restart are power off restart airplane mode my gmail account and create new user, this might be because i am using lineageOS and not the stock OS.
when i do the volDOWN+power, the one plus logo appears, the screen closes, then the logo reappears then It is as if i had oppened the phone normaly.
Should i just give up and put the phone back to 100% stock? That ought to work but i<m hoping its not necessary.
aajjeee said:
the only options in advanced restart are power off restart airplane mode my gmail account and create new user, this might be because i am using lineageOS and not the stock OS.
when i do the volDOWN+power, the one plus logo appears, the screen closes, then the logo reappears then It is as if i had oppened the phone normaly.
Click to expand...
Click to collapse
Nah,that option is there on Los14,but I doubt you're using it.
Can you post a screenshot of about phone?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
There, the option is active and this is the choices upon holing the button for a second.
aajjeee said:
View attachment 4283268
View attachment 4283257
View attachment 4283258
There, the option is active and this is the choices upon holing the button for a second.
Click to expand...
Click to collapse
You need to click restart,lol.
Mr.Ak said:
You need to click restart,lol.
Click to expand...
Click to collapse
restart dosent do anything in particular, I end up the same as if I had manually closed and booted back up
I had assumed there were supposed to be another button
aajjeee said:
restart dosent do anything in particular, I end up the same as if I had manually closed and booted back up
I had assumed there were supposed to be another button
Click to expand...
Click to collapse
After you hit restart,I'll show you the option to reboot into recovery.
Mr.Ak said:
After you hit restart,I'll show you the option to reboot into recovery.
Click to expand...
Click to collapse
apparently I had to unlock the screen before the option was avalible. :facepalm:
but still, the option is there, when i click it, it reboots twice then lets me in as though I had just rebooted...
I still cant get in TWRP
Maybe I should try flashing some other recovery, any ideas?
aajjeee said:
apparently I had to unlock the screen before the option was avalible. :facepalm:
but still, the option is there, when i click it, it reboots twice then lets me in as though I had just rebooted...
I still cant get in TWRP
Click to expand...
Click to collapse
Which twrp you flashed?
(double post)
I cant remember, but i had it working with philz advanced cwm, i installed the root, but it was not booting up at all, i think i wiped the os after that...
now I can go on fastboot and costom recovery, I assume I should be able to do what I need from here
I will be on this tomorrow, I have all day so if you have instructions (or a specific guide you would like to link) ill read it tomorrow

stuck on boot loader - no fastboot - linux

Hi,
following the corresponding lineageos guide i executed from my linux machine
Code:
fastboot flash boot twrp.img
.
rebooting got me to the boot loader. i cannot get into fastboot. (nor anywhere else.)
neither via adb reboot fastboot nor volume down + power.
I cannot recall having experienced this before.
Any help to how I can get into fastboot?
Cheers!
inli said:
Hi,
following the corresponding lineageos guide i executed from my linux machine
Code:
fastboot flash boot twrp.img
.
rebooting got me to the boot loader. i cannot get into fastboot. (nor anywhere else.)
neither via adb reboot fastboot nor volume down + power.
I cannot recall having experienced this before.
Any help to how I can get into fastboot?
Cheers!
Click to expand...
Click to collapse
Fastboot boot TWRP.img
AndroidRooterKev said:
Fastboot boot TWRP.img
Click to expand...
Click to collapse
thanks, but unfortunately, I am not in fastboot mode - that's the problem.
inli said:
Hi,
following the corresponding lineageos guide i executed from my linux machine
Code:
fastboot flash boot twrp.img
.
rebooting got me to the boot loader. i cannot get into fastboot. (nor anywhere else.)
neither via adb reboot fastboot nor volume down + power.
I cannot recall having experienced this before.
Any help to how I can get into fastboot?
Cheers!
Click to expand...
Click to collapse
EDL way work try it.
inli said:
unfortunately, I am not in fastboot mode - that's the problem.
Click to expand...
Click to collapse
Bootloader = fastboot. Run fastboot devices. If you're device shows up, run the command I sent previously.
AndroidRooterKev said:
Bootloader = fastboot. Run fastboot devices. If you're device shows up, run the command I sent previously.
Click to expand...
Click to collapse
hm, ok. but. but
Code:
fastboot devices
(with sudo before) does not give me any device list. (as it should be doing)
superac11 said:
EDL way work try it.
Click to expand...
Click to collapse
On EDL I find eg https://forum.xda-developers.com/oneplus-7-pro/how-to/op7pro-collection-unbrick-tools-t3956595
but the solution there presumes windows. I am on a linux machine.
AndroidRooterKev said:
Bootloader = fastboot. Run fastboot devices. If you're device shows up, run the command I sent previously.
Click to expand...
Click to collapse
the screen I get is the one saying "The boot loader is unlocked"...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
inli said:
the screen I get is the one saying "The boot loader is unlocked"...
Click to expand...
Click to collapse
Ohhh! That's what you meant by "stuck in boot loader". Yeah fastboot won't work there. And you've tried vol down + power multiple times to get to the actual bootloader screen (where you can fastboot)?
Try forcing a shut down (vol up + power) and retry a few times. What were you doing before it got stuck on the boot loader is unlocked screen? You might just need to flash the stock boot.img but you need to try to get to the bootloader screen to run the fastboot command.
If all else fails, you'll have to use the MSM tool (which will wipe everything).
EDIT: Yeah MSM tool requires a windows machine. Not sure how to run it via Linux. Maybe there's a windows emulator out there that can run windows .exe files?
AndroidRooterKev said:
Ohhh! That's what you meant by "stuck in boot loader". Yeah fastboot won't work there. And you've tried vol down + power multiple times to get to the actual bootloader screen (where you can fastboot)?
Click to expand...
Click to collapse
yes, tried multiple times - and, no did not get to the actual bootloader.
AndroidRooterKev said:
What were you doing before it got stuck on the boot loader is unlocked screen? You might just need to flash the stock boot.img but you need to try to get to the bootloader screen to run the fastboot command.
Click to expand...
Click to collapse
i simply executed
Code:
sudo fastboot flash boot 'twrp-3.4.0-0-guacamole.img'
AndroidRooterKev said:
If all else fails, you'll have to use the MSM tool (which will wipe everything).
Click to expand...
Click to collapse
according to https://forum.xda-developers.com/on...to-restore-t4078827/post82210187#post82210187 it seems I need to find a window computer to run this.
inli said:
yes, tried multiple times - and, no did not get to the actual bootloader.
i simply executed
Code:
sudo fastboot flash boot 'twrp-3.4.0-0-guacamole.img'
.
Click to expand...
Click to collapse
That shouldn't have broken the ability to get into the bootloader. Did you have TWRP installed before or was this your first time? Most of the hardware button combos should work regardless of any system/software issues. So vol down + power isn't working, have you tried vol up + power to force a shutdown and retry?
AndroidRooterKev said:
That shouldn't have broken the ability to get into the bootloader. Did you have TWRP installed before or was this your first time? Most of the hardware button combos should work regardless of any system/software issues. So vol down + power isn't working, have you tried vol up + power to force a shutdown and retry?
Click to expand...
Click to collapse
funny, I have been trying now for about 1:30-2h to get into fastboot mode. and 10 sec ago, I got into it. strange. no idea how.
ok, now trying to somehow get into twrp to then perform backup (as originally intended)
oh, no - and now:
I executed
Code:
sudo fastboot boot 'twrp-3.4.0-0-guacamole.img'
Downloading 'boot.img' OKAY [ 0.799s]
booting OKAY [ 0.105s]
Finished. Total time: 0.962s
and then the device rebooted showing me the +1 logo and "fastboot mode". but my computer cannot find it anymore in fasboot mode
inli said:
oh, no - and now:
I executed
Code:
sudo fastboot boot 'twrp-3.4.0-0-guacamole.img'
Downloading 'boot.img' OKAY [ 0.799s]
booting OKAY [ 0.105s]
Finished. Total time: 0.962s
and then the device rebooted showing me the +1 logo and "fastboot mode". but my computer cannot find it anymore in fasboot mode
Click to expand...
Click to collapse
What exact device and software are you running? Have you tried toggling it to "reboot to recovery" on the phone itself? The fastboot command seems to have been successfu so no need to run anymore fastboot commands. Now it's just a matter of getting the phone into recovery. You can even just hold the vol down + power to try and get there.
AndroidRooterKev said:
What exact device and software are you running? Have you tried toggling it to "reboot to recovery" on the phone itself? The fastboot command seems to have been successfu so no need to run anymore fastboot commands. Now it's just a matter of getting the phone into recovery. You can even just hold the vol down + power to try and get there.
Click to expand...
Click to collapse
interesting: when I fastboot boot recovery.img I then get the +1 logo and nothijg works anymore.
if I am in fastboot mode and select "restart bootloader" I get well into fastboot mode. if I select "restart into recovery" I get the "bootloader is unlocked screen".
inli said:
interesting: when I fastboot boot recovery.img I then get the +1 logo and nothijg works anymore.
if I am in fastboot mode and select "restart bootloader" I get well into fastboot mode. if I select "restart into recovery" I get the "bootloader is unlocked screen".
Click to expand...
Click to collapse
Flash the stock boot.img for whatever software you were running.
AndroidRooterKev said:
Flash the stock boot.img for whatever software you were running.
Click to expand...
Click to collapse
yeah, trying this right now. interestingly am now waiting for a few minutes in which lineageos is trying to start - without much success as of yet... i will wait for 10 minutes and then try to reset the whole phone... will keep this thread informed
thank you so far - helped me a lot to note that I am not insane...
aaaah, I figured out
sudo fastboot boot 'twrp-3.3.1-4-guacamole.img' works
hi,
if I may, a brief maybe stupid question: i want to restore
https://oxygenos.oneplus.net/OnePlus7ProOxygen_21.E.26_OTA_026_all_2005192135_8474bf58a0ec4716.zip
websites suggest to run flash all.bat. well, I do not find it anywhere. Do you have an idea where to find it?
inli said:
hi,
if I may, a brief maybe stupid question: i want to restore
https://oxygenos.oneplus.net/OnePlus7ProOxygen_21.E.26_OTA_026_all_2005192135_8474bf58a0ec4716.zip
websites suggest to run flash all.bat. well, I do not find it anywhere. Do you have an idea where to find it?
Click to expand...
Click to collapse
I've never heard of that. But do your research and confirm it works before you do it.
---------- Post added at 01:26 AM ---------- Previous post was at 01:23 AM ----------
inli said:
aaaah, I figured out
sudo fastboot boot 'twrp-3.3.1-4-guacamole.img' works
Click to expand...
Click to collapse
That most likely worked because you're on A9. A10 will not accept that twrp img since it's incompatible.
This is why it's good to mention device/software details of the phone during the creation of an xda post. But glad you got it.

[RECOVERY][UNOFFICIAL] TWRP 3.6.1 for UMIDIGI F1 and F1 Play [11/04/2022]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is an UNOFFICIAL TWRP recovery for the UMIDIGI F1 and F1 Play
Builded from scratch
Whats Working :
- Decryption
- Backup / Restore
- ADB
- MTP
- OTG
- Flash System Image and Vendor Image also
Known Bugs :
- I think none
Instructions :
Using SP Flash tool
- Open flash_tool.exe from sp flash tool folder ( you can download it from here)
- Choose MT6771_Android_scatter.txt from UMIDIGI Stock Firmware
- Tap on Recovery and Choose TWRP-3.6.1-XX.img
- Click on Download and Reboot your Phone and plug your usb cable and press in Volume up button
-Wait to finish and enjoy
Using Fastboot ( you need Fastboot to do that)
- Power off
- Press on Power+Volume up button to boot up to Fastboot
- Execute "fastboot flash recovery TWRP-3.6.1-XX.img"
- Wait to Finish And Execute "fastboot reboot recovery"
- Enjoy
Using Another Recovery
- Copy TWRP-3.6.1-XX.imgto SD Card
- Press Install and Choose TWRP-3.6.1-XX.img and Choose Recovery
- Wait to Finish And Reboot to Recovery
- Enjoy
Downloads :
F1 : https://www.mediafire.com/file/91k98oii8ab7j1l/TWRP_3.6.1-F1.img/file
F1 Play : https://www.mediafire.com/file/dn8mzk8bpulvqig/TWRP_3.6.1-F1_Play.img/file
Device Tree : https://github.com/shadowofleaf96/android_device_umidgi_f1/tree/TWRP9.0
Credits :
- PeterCxy
- UMIDIGI
if you consider Donating
Thanks​
@Shadow Of Leaf, Thanks for your work.
I tried to flash the .img file today using fastboot command and for some reasons my F1 reboots to system, not recovery.
The fastboot flash command completed OK for both Sending and Writing but when I tried
fastboot reboot recovery
the phone reboots to the system.
I also tried
fastboot boot TWRP-3.5.2-F1.img
but get the same result.
Any idea what went wrong and how to fix it? TIA.
nnSlick said:
@Shadow Of Leaf, Thanks for your work.
I tried to flash the .img file today using fastboot command and for some reasons my F1 reboots to system, not recovery.
The fastboot flash command completed OK for both Sending and Writing but when I tried
fastboot reboot recovery
the phone reboots to the system.
I also tried
fastboot boot TWRP-3.5.2-F1.img
but get the same result.
Any idea what went wrong and how to fix it? TIA.
Click to expand...
Click to collapse
it is not fastboot flash boot
it is fastboot flash recovery TWRP-3.5.2-F1.img
when it finished tap fastboot reboot when phone is rebooting click on volume down until the bootlogo come out then it will go to recovery
Shadow Of Leaf said:
it is not fastboot flash boot
it is fastboot flash recovery TWRP-3.5.2-F1.img
when it finished tap fastboot reboot when phone is rebooting click on volume down until the bootlogo come out then it will go to recovery
Click to expand...
Click to collapse
@Shadow Of Leaf
Thanks for the prompt response, appreciate it.
I was not clear in my previous post, what I meant was I tried 2 ways
1. flash using fastboot flash command, and
2. boot directly using fastboot boot command
and both times I could not get TWRP to run.
Here is the output of the first method:
When I click on Vol- while the device was rebooting, I saw the boot logo andn then a screen with Chinese menus on the left top of the screen. Weird!
May be the file was not written properly? I tried to redownload the file twice but same thing happens.
nnSlick said:
@Shadow Of Leaf
Thanks for the prompt response, appreciate it.
I was not clear in my previous post, what I meant was I tried 2 ways
1. flash using fastboot flash command, and
2. boot directly using fastboot boot command
and both times I could not get TWRP to run.
Here is the output of the first method:
View attachment 5380507
When I click on Vol- while the device was rebooting, I saw the boot logo andn then a screen with Chinese menus on the left top of the screen. Weird!
May be the file was not written properly? I tried to redownload the file twice but same thing happens.
Click to expand...
Click to collapse
did you unlock your bootloader ???
if yes when flash try the power and volume down combination to go recovery
if not try this
Unlock the bootloader (will result in a factory data reset and a warning message on the boot screen) YOU LOSE YOUR WARRANTY BY DOING THIS!!!
a) Enable Developer options
b) Enable OEM unlock and USB debugging. (Install ADB drivers on your computer)
c) Connect your phone to USB and in a command window type adb reboot bootloader
d) Type fastboot flashing unlock
e) Confirm your decision on the phone (You can re-lock the bootloader with fastboot flashing lock)
Shadow Of Leaf said:
did you unlock your bootloader ???
if yes when flash try the power and volume down combination to go recovery
if not try this
Unlock the bootloader (will result in a factory data reset and a warning message on the boot screen) YOU LOSE YOUR WARRANTY BY DOING THIS!!!
a) Enable Developer options
b) Enable OEM unlock and USB debugging. (Install ADB drivers on your computer)
c) Connect your phone to USB and in a command window type adb reboot bootloader
d) Type fastboot flashing unlock
e) Confirm your decision on the phone (You can re-lock the bootloader with fastboot flashing lock)
Click to expand...
Click to collapse
I did unlock the bootloader, and every time the phone reboot I see a warning that the device is unsafe.
It appears that flashing went OK, as reported by the 'fastboot flast recovery...' command. But when I try to go to recovery with Power+VolDown combination the phone just could not run TWRP!
I am not sure if it is related but after power off, when I try to reboot with Power+Vol Down (or Up) combination the boot logo appears then disappears (looping?) and I do not see a boot menu (as shown in a YouTube video). When I reboot from fastboot it seems to go to some boot program with a Chinese menu.
nnSlick said:
I did unlock the bootloader, and every time the phone reboot I see a warning that the device is unsafe.
It appears that flashing went OK, as reported by the 'fastboot flast recovery...' command. But when I try to go to recovery with Power+VolDown combination the phone just could not run TWRP!
I am not sure if it is related but after power off, when I try to reboot with Power+Vol Down (or Up) combination the boot logo appears then disappears (looping?) and I do not see a boot menu (as shown in a YouTube video). When I reboot from fastboot it seems to go to some boot program with a Chinese menu.
Click to expand...
Click to collapse
ok another solution
try to reboot your phone to the system and enable adb (android debug shell) and type adb reboot recovery
it will reboot to recovery
Shadow Of Leaf said:
ok another solution
try to reboot your phone to the system and enable adb (android debug shell) and type adb reboot recovery
it will reboot to recovery
Click to expand...
Click to collapse
@Shadow Of Leaf
Appreciate you prompt help!
Not sure what happened but I retried one more time and guess what it works this time . Thank you so much!
I notice that it takes long time to show the menu and it looks like TWRP tries to decrypt data, even though I already did a factory reset.
Now I can root and install custom ROMs. Thanks again!
nnSlick said:
@Shadow Of Leaf
Appreciate you prompt help!
Not sure what happened but I retried one more time and guess what it works this time . Thank you so much!
I notice that it takes long time to show the menu and it looks like TWRP tries to decrypt data, even though I already did a factory reset.
Now I can root and install custom ROMs. Thanks again!
Click to expand...
Click to collapse
you welcome anytime
Hi thank you so much for your work.
But when I try to flash recovery and suddenly, when I type fastboot reboot recovery , it says something like can't get recovery partition unable, and then when I go manually into recovery I get stock one.
Of course the flashing of twrp recovery goes all well, so it's a strange issue. Just one time after the flash I successfully got twrp but lost after reboot and I didn't have internal memory mounted.
Can you help me?
Thanks
kayuz said:
Hi thank you so much for your work.
But when I try to flash recovery and suddenly, when I type fastboot reboot recovery , it says something like can't get recovery partition unable, and then when I go manually into recovery I get stock one.
Of course the flashing of twrp recovery goes all well, so it's a strange issue. Just one time after the flash I successfully got twrp but lost after reboot and I didn't have internal memory mounted.
Can you help me?
Thanks
Click to expand...
Click to collapse
yes for sure
first use this recovery https://forum.xda-developers.com/t/...icial-twrp-3-3-1-for-umidigi-f1-play.4007315/ for now
data exryption work
flash this recovery in fastboot(fastboot flash recovery 'recovery file') and type fastboot reboot
when reboot a long click on volume up button until seeing umidigi logo it will work
Shadow Of Leaf said:
yes for sure
first use this recovery https://forum.xda-developers.com/t/...icial-twrp-3-3-1-for-umidigi-f1-play.4007315/ for now
data exryption work
flash this recovery in fastboot(fastboot flash recovery 'recovery file') and type fastboot reboot
when reboot a long click on volume up button until seeing umidigi logo it will work
Click to expand...
Click to collapse
that's the error:
fastboot: usage: unknown reboot target recovery
I tried but can't access recovery, I need to plug out the cable before pressing vol up?
kayuz said:
that's the error:
fastboot: usage: unknown reboot target recovery
I tried but can't access recovery, I need to plug out the cable before pressing vol up?
Click to expand...
Click to collapse
just go to stockrom and type adb reboot recovery
I solved flashing the twrp by another person, currently on phone so can't see who was.
Anyway it appears that was an issue with decryption, because that twrp can see internal storage. Flashed all and will send feedback in appropriate thread ;-)
Shadow Of Leaf said:
just go to stockrom and type adb reboot recovery
Click to expand...
Click to collapse
TWRP 3.6.1 stable new version at last
i think it is bugless but try it out and report
Shadow Of Leaf said:
TWRP 3.6.1 stable new version at last
i think it is bugless but try it out and report
Click to expand...
Click to collapse
hello friend, could you tell me what process you did to compile a twrp for your umidigi, I wanted to make one for my umidigi a9 pro 2021, it has the same processor as your device.
Isaac™ said:
hello friend, could you tell me what process you did to compile a twrp for your umidigi, I wanted to make one for my umidigi a9 pro 2021, it has the same processor as your device.
Click to expand...
Click to collapse
you can use this guide to build twrp for your device and use this device tree thats is compatible with your device and has a newer vendor (mine is comptable with old pie vendor that will have issues with data encryption)
link of the guide : https://github.com/ADeadTrousers/twrp_device_Unihertz_Atom_LXL/blob/master/docs/HOW-TO-BUILD.md
links of device tree : https://github.com/ADeadTrousers/twrp_device_Unihertz_Atom_XL_EEA
Common device treehttps://github.com/ADeadTrousers/twrp_device_Unihertz_Atom_LXL
you have to change the common device tree and the device tree to your device

Question X3 Pro only shows FASTBOOT logo, can't turn off

Hi,
I successfully unlocked the bootloader and tried to install "lineage-18.1-20210917-recovery-vayu.img", it seemed to go well but on attempted to reboot to recovery, the default MIUI version was re-installed.
I tried a couple more things, can't really remember exactly but all I get now is the FASTBOOT screen.
If I press the POWER button, I get a vibration, then POCO logo and screen then goes to the FASTBOOT screen,
If I press any combination of Vol+/Vol- + Power, I get the vibration, POCO logo then back to FASTBOOT screen.
If I use ./fastboot devices using ADB, the serial # for the X3 Pro displays correctly.
PS C:\Users\parke\Desktop\platform-tools> ./fastboot flash recovery recovery.img
Sending 'recovery' (61996 KB) OKAY [ 1.403s]
Writing 'recovery' OKAY [ 0.128s]
Finished. Total time: 1.549s
Click to expand...
Click to collapse
I've probably without knowing, have corrupted or damaged the boot to partition.
I'm a newbie with X3 Pro mobile, can anyone please assist me.
Thanking you in anticipation.
Cheerz
i don't know how can i really help you with that, what i do know is that since you can access fastboot mode, MAYBE you can reinstall the stock miui rom by flashing with miflashtool, please follow munchy's video on youtube, he explained it well and I'm sure you can follow it.
van_ said:
i don't know how can i really help you with that, what i do know is that since you can access fastboot mode, MAYBE you can reinstall the stock miui rom by flashing with miflashtool, please follow munchy's video on youtube, he explained it well and I'm sure you can follow it.
Click to expand...
Click to collapse
Thanks van_, followed munchy on youtube as you suggested. and got X3 Pro out of Fastbbot mode.
Do you have a ROM that you recommend, just require it to be light and stable?
Cheerz
KenMar said:
Hi,
I successfully unlocked the bootloader and tried to install "lineage-18.1-20210917-recovery-vayu.img", it seemed to go well but on attempted to reboot to recovery, the default MIUI version was re-installed.
I tried a couple more things, can't really remember exactly but all I get now is the FASTBOOT screen.
If I press the POWER button, I get a vibration, then POCO logo and screen then goes to the FASTBOOT screen,
If I press any combination of Vol+/Vol- + Power, I get the vibration, POCO logo then back to FASTBOOT screen.
If I use ./fastboot devices using ADB, the serial # for the X3 Pro displays correctly.
I've probably without knowing, have corrupted or damaged the boot to partition.
I'm a newbie with X3 Pro mobile, can anyone please assist me.
Thanking you in anticipation.
Cheerz
Click to expand...
Click to collapse
Is your bootloader really unlocked??? Have you seen an unlocked lock while booting earlier or the unlock tool showed "unlocked" when connecting mobile to it?
If yes, then:
- grab a good recovery image file (can be for instance OrangeFox on its official website, for Poco X3 PRO there is a beta available that works fine but for backups) and save it in your PC, on same of fastboot folder
- turn on your mobile on fastboot, plug to PC, wait a few seconds, type the fastboot command to list devices as you wrote....confirm you find mobile.
- now fastboot flash the recovery image to RECOVERY. See if finish with no error.
- now reboot to RECOVERY, not to system (Android, normal boot). Can do this issuing a fastboot command only OR by holding Vol+ and then power (keep Vol+ till recovery screen appears).
After flashing recovery image if you start booting to system the MIUI kills the recovery. Probably that is what happened to you.
Now under recovery format data (the menu you have to type "yes" ) and then you can connect/mount data to PC and transfer LOS zip (and Gapps, Magisk) and flash. Or can use USB OTG. Or can let zip files on SD Card on tray.
The bootloader is unlocked, I see the unlocked symbol at bootup.
Tried TWRP and OrangeFox so revovery seems to be working.
KenMar said:
The bootloader is unlocked, I see the unlocked symbol at bootup.
In recovery, I formated data, typed yes but if I try to boot back into OrangeFox, the stock muiu Fastboot has replaced OrangeFox Recovery.
Click to expand...
Click to collapse
On PC: unzip the OrangeFox zip and get the file recovery.img to the fastboot program folder
On mobile: put in fastboot mode
On PC: open cmd on the fastboot folder and type
fastboot devices
fastboot flash recovery recovery.img
fastboot reboot recovery
On mobile (will be in OrangeFox):
wipe cache
wipe dalvik
format data (typing "yes" )
reboot to RECOVERY
....now will reboot back to OrangeFox
transfer zips by MTP or plug OTG (and mount it!)
flash zips
format data (typing "yes" )
reboot to SYSTEM
One important point: are you flashing LOS 18.1 (Android 11)? If so be sure your current MIUI is v12.5.1 or newer.
Hi,
Thanks for taking the time to write your detailed information, much appreciated.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I was able to install TWRP and ArrowOS and all seems to be running smooth and stable.
Cheerz
wilsonhlacerda said:
On PC: unzip the OrangeFox zip and get the file recovery.img to the fastboot program folder
On mobile: put in fastboot mode
On PC: open cmd on the fastboot folder and type
fastboot devices
fastboot flash recovery recovery.img
fastboot reboot recovery
On mobile (will be in OrangeFox):
wipe cache
wipe dalvik
format data (typing "yes" )
reboot to RECOVERY
....now will reboot back to OrangeFox
transfer zips by MTP or plug OTG (and mount it!)
flash zips
format data (typing "yes" )
reboot to SYSTEM
One important point: are you flashing LOS 18.1 (Android 11)? If so be sure your current MIUI is v12.5.1 or newer.
Click to expand...
Click to collapse

Categories

Resources