[HowTo] Install Fastboot image


Hello, I have tried to do everything it says and I have been able to understand, and I have everything it asks for, but for example, the latest version of v.15 is Windows 10 and I have 11, the latest ac update of another program is from 2020, the most modern ones are sdk and mi unlocked, in addition to the certificates. The folders I have done well, but when running on my Xiaomi book s in Windows 11, neither yes nor no appears, nor do numbers appear when putting fastboot devices, despite having unlocked the fastboot.I ask for help and if not, I'll wait for it to come out in the form of an ota or recovery, since I have never done this and I have no knowledge in fastboot. I await your response, if someone had the same situation I ask you to please help me, thanks and regards.
 
Hey, I tried to install 22-12-26-27-28.67758 weekly on my Mi 11 ultra which also has weekly installed.
Everytime I enter the command windows_fastboot_update_rom.bat it stuck at:
"Sending sparse 'super' 1/7 (777724 KB) FAILED (Error reading sparse file)
fastboot: error: Command failed
Rebooting
"
It does not reboot and I have to reboot device to fastboot myself to be able to try it again but it still does not work. Also I checked all things you mentioned in your post.
Found the solution: Had to use a USB 2.0 port not 3.0
 
Last edited:
  • Like
Reactions: katerpanne
My Mi8 can not show any number, my laptop only has usb 3.0 ports

Screenshot 2023-04-17 013956.png
 
Same here with regards to fastboot.exe - I have a new laptop now running Windows 11 and fastboot does not detect any devices on any of my USB ports. This is strange because I never had any issues on my old laptop running Windows 10. I tried all my USB ports and also an external USB 2.0 hub connected to the laptop's USB 3.0 port. I will have to TWRP install the latest stable on my POCO F3 instead of using the fastboot method.

@katerpanne , have you heard of this before? Any help would be appreciated.
 
Solution: This was my fault. I was too excited about my new laptop so I forgot to install Windows 11 USB drivers for Android devices. I checked my Windows Update and found an optional update from Google for USB android devices and installed it. No reboot required - it worked right away and "fastboot devices" showed my phone connected.

I hope this reminds everyone who reads this to install android usb drivers when they upgrade to a new computer. I also hope Microsoft starts to include this driver as part of its native set of USB drivers automatically.
 
  • Haha
Reactions: katerpanne
Solution: This was my fault. I was too excited about my new laptop so I forgot to install Windows 11 USB drivers for Android devices. I checked my Windows Update and found an optional update from Google for USB android devices and installed it. No reboot required - it worked right away and "fastboot devices" showed my phone connected.

I hope this reminds everyone who reads this to install android usb drivers when they upgrade to a new computer. I also hope Microsoft starts to include this driver as part of its native set of USB drivers automatically.
can you please tell me where and how you got it running... i tried everything on my new laptop... fastboot is running great but no usb... tried alot off android usb drivers.. none off them work... simply no portable device or else... i got a device thats calles Lemobile android device. doesnt matter if i connect my 10 pro or mi 13..the attached file is from running old laptop... there its working
 

Attachments

  • afbeelding_2023-12-16_162428294.png
    afbeelding_2023-12-16_162428294.png
    268.2 KB · Views: 143
How to install a xiaomi.eu fastboot image

- Perhaps you have an update info on your phone
-> Its only an info that an update is available
- Update is only possible with fastboot / PC and not with TWRP

and here we go ....

- you need to unlock bootloader
-> a small [howto] to unlock bootloader

Install Tools and Drivers
- install USB drivers & adb and fastboot tools (Windows 10)
- install SDK Platform Tools (Windows 10 & 11 / Mac / Linux)
- install xiaomi drivers (sometimes necessary)
-> a small [howto] if you have driver issues

- create a directory "c:\test"
- download fastboot image for your phone to PC
-> choose stable or weekly like you want or need
- extract the fastboot image into this folder c:\test

- open "cmd.exe" on your PC
- change to directory were you have installed adb & fastboot
-> eg "cd c:\adb" hit RETURN and type "dir"
- there should be this files:
1641463695627.png


- connect PC and phone with USB cable
- put phone in fastboot (reboot phone and then holding "Volume -" and "Power on" buttons simultaneously)
- you should see a bunny picture and an info "fastboot" on the phone
-> on some devices you will see orange info "FASTBOOT" (new fastboot logo)
1641373752213.png


please do this step to prevent from black window
- type in "cmd window": "fastboot devices" and hit RETURN
- check if you see a number (sometimes with characters)
-> then all is fine
1641373554513.png

- if you dont see a number:
change USB port / change USB cable / use USB 2.0 / use an USB Hub / check driver installation

do this only if "fastboot devices" shows a number / characters
- the "cmd window" should be open on PC
- change to "c:\test"
-> eg "cd c:\test" hit RETURN and type "dir" hit RETURN
- you should see the scripts with ".bat" at the end of filename

- start the appropriate bat-file
-> dont click it in explorer with mouse pointer
-> start the bat-file from command-line
-> then its possible to see errors

-> type in the "cmd window" windows_fastboot... and hit RETURN

Which is the appropriate *.bat file you have to execute

- if you install the xiaomi.eu rom for the first time
- if you change from weekly to stable (recommended)
- if you change from stable to weekly (recommended)
-
you will loose your data -> make a backup

windows_fastboot_first_install_with_data_format.bat

- if you update from weekly to weekly
- if you update from stable to stable

- you will not loose your data
windows_fastboot_update_rom.bat

PS: There are *.sh files for MAC & Linux as well
Linux HowTo

Thats all ... voilla .....


Here are some hints and solutions for issues:

Change between stable and weekly or vice versa
-> recommended choose the bat file with format in the filename

You can check if your device is unlocked
fastboot oem device-info
-> there is a line "Device unlocked = true or false"
--------------------------------------------------
If you dont see "Mi Unlock Status" in developer options
-> your device is also unlocked

Telegram, WhatsApp, Gmail, MI Backup issues
--------------------------------------------------
Settings> about phone> factory settings> erase everything

Permission app issues - clear data & cache
-> Settings > apps > manage apps > click "show all apps" from top right menu
-> Search for permissions
--------------------------------------------------
Fix it with giving that app all permission in first turn on

This info you can ignore while flashing
Sending 'storsecbak' (20 KB) OKAY [ 0.002s]
Writing 'storsecbak' FAILED (remote: '(storsecbak) No such partition')
fastboot: error: Command failed

Disable green icon until reboot (mic & camera security)
adb shell cmd device_config put privacy camera_mic_icons_enabled false default

How to install Magisk without TWRP


Thx for some tips:
@geoorg / @h.gobbah / @LOLO9393 / @JiaiJ

# fastboot, install A12, OTA, update info, black window, driver usb, adb,
Does flashing the ROM via the batch file mean I wont get TWRP installed?
Will it then just be the default Xiaomi Recovery?

Thanks!