mirror of
https://github.com/lekrsu/shfw-walkthrough.git
synced 2024-11-27 16:00:52 +01:00
Fixing mobile layout
Images are now scaled properly on all screen sizes.
This commit is contained in:
parent
e3c0ab5312
commit
78dff5f7ec
@ -1,11 +1,17 @@
|
|||||||
# Xiaomi BLE Reflashing Guide
|
# Xiaomi BLE Reflashing Guide
|
||||||
|
|
||||||
|
<p align="left">
|
||||||
|
<a href="https://discord.gg/https://discord.gg/scooterhacking" target="_blank">
|
||||||
|
<img src="https://dcbadge.limes.pink/api/server/https://discord.gg/scooterhacking"/>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
This guide will walk you through the process of reflashing the BLE module on your Xiaomi device. Please follow the instructions carefully and refer to the images provided for clarity.
|
This guide will walk you through the process of reflashing the BLE module on your Xiaomi device. Please follow the instructions carefully and refer to the images provided for clarity.
|
||||||
|
|
||||||
## Required Tools
|
## Required Tools
|
||||||
- **ST-Link V2**
|
- **ST-Link V2**
|
||||||
- **male to female Dupont cables**
|
- **Male to female Dupont cables**
|
||||||
- Knife or a similar tool for scraping
|
- Knife or a similar tool for scraping
|
||||||
- Windows PC for running Reflasher
|
- Windows PC for running Reflasher
|
||||||
|
|
||||||
@ -13,27 +19,27 @@ This guide will walk you through the process of reflashing the BLE module on you
|
|||||||
|
|
||||||
### 1. Preparation
|
### 1. Preparation
|
||||||
1. **Remove the dash cover**: Begin by taking off the dash cover to access the dash.
|
1. **Remove the dash cover**: Begin by taking off the dash cover to access the dash.
|
||||||
|
|
||||||
<img src="xiaomi-cover.png" alt="Xiaomi Dash Cover" height="500"/>
|
<img src="xiaomi-cover.png" alt="Xiaomi Dash Cover" style="width: 500px; max-width: 100%; height: auto;"/>
|
||||||
|
|
||||||
2. **Gather all required tools**: Ensure you have an ST-Link V2, **male to female Dupont cables** (it'll be more conveninent with)
|
2. **Gather all required tools**: Ensure you have an ST-Link V2, male to female Dupont cables, and a Windows PC.
|
||||||
, and a Windows PC.
|
|
||||||
|
<img src="stlink.jpg" alt="ST-Link V2" style="width: 500px; max-width: 100%; height: auto;"/>
|
||||||
<img src="stlink.jpg" alt="ST-Link V2" height="500"/>
|
|
||||||
|
|
||||||
<img src="dupont.png" alt="Dupont Cables" height="500"/>
|
<img src="dupont.png" alt="Dupont Cables" style="width: 500px; max-width: 100%; height: auto;"/>
|
||||||
|
|
||||||
3. **Download the reflasher tool**: [Download the reflasher tool from ScooterHacking](https://www.scooterhacking.org/forum/viewtopic.php?t=676).
|
3. **Download the reflasher tool**: [Download the reflasher tool from ScooterHacking](https://www.scooterhacking.org/forum/viewtopic.php?t=676).
|
||||||
|
|
||||||
Also, make sure to install the drivers needed:
|
Also, make sure to install the drivers needed:
|
||||||
- [ST-Link usb drivers](https://zadig.akeo.ie), select the ST-Link and install WinUSB.
|
- [ST-Link USB drivers](https://zadig.akeo.ie), select the ST-Link and install WinUSB.
|
||||||
- [NET Core v3.1 for Reflasher](https://cloud.cfw.sh/index.php/s/ZnpgikJLGM8q3Gt)
|
- [NET Core v3.1 for Reflasher](https://cloud.cfw.sh/index.php/s/ZnpgikJLGM8q3Gt)
|
||||||
|
|
||||||
### 2. Connecting the Hardware
|
### 2. Connecting the Hardware
|
||||||
1. **Scrape the coating on the BLE debug pads**: The BLE module has a slight coating on its debug pads. Use a knife or anything else and gently scrape away the coating to ensure a good contact.
|
1. **Scrape the coating on the BLE debug pads**: The BLE module has a slight coating on its debug pads. Use a knife or anything else and gently scrape away the coating to ensure a good contact.
|
||||||
|
|
||||||
<img src="LITE_1S_MI3_PRO2-BLE.png" alt="BLE Module" height="600"/>
|
<img src="LITE_1S_MI3_PRO2-BLE.png" alt="BLE Module" style="width: 500px; max-width: 100%; height: auto;"/>
|
||||||
<img src="PRO-BLE.jpg" alt="BLE Module Connection" height="600"/>
|
|
||||||
|
<img src="PRO-BLE.jpg" alt="BLE Module Connection" style="width: 500px; max-width: 100%; height: auto;"/>
|
||||||
|
|
||||||
2. **Attach Dupont cables to the BLE module**: Bend the pins inward so that they can physically touch the pads. Secure the connection by taping the ends together side by side and hold the pins in place when flashing.
|
2. **Attach Dupont cables to the BLE module**: Bend the pins inward so that they can physically touch the pads. Secure the connection by taping the ends together side by side and hold the pins in place when flashing.
|
||||||
3. **Turn on the dash**: When ready to flash, ensure the dash is turned on. If the dash does not turn on, remove it completely and supply 5V as shown in the images.
|
3. **Turn on the dash**: When ready to flash, ensure the dash is turned on. If the dash does not turn on, remove it completely and supply 5V as shown in the images.
|
||||||
@ -42,8 +48,8 @@ Also, make sure to install the drivers needed:
|
|||||||
1. **Run the reflasher tool**: Open the reflasher tool on your Windows PC. Ensure the console is visible so you can monitor the process.
|
1. **Run the reflasher tool**: Open the reflasher tool on your Windows PC. Ensure the console is visible so you can monitor the process.
|
||||||
2. **Start the flashing process**: Hold the three pins in place on the BLE module and press the start button in the reflasher tool. It may take a few tries to get it right.
|
2. **Start the flashing process**: Hold the three pins in place on the BLE module and press the start button in the reflasher tool. It may take a few tries to get it right.
|
||||||
3. **Monitor the reflasher console**: Watch the console output. It will indicate when the process is complete with a message saying "All done".
|
3. **Monitor the reflasher console**: Watch the console output. It will indicate when the process is complete with a message saying "All done".
|
||||||
|
|
||||||
<img src="Reflasher.png" alt="Reflasher Tool Output" width="600"/>
|
<img src="Reflasher.png" alt="Reflasher Tool Output" style="width: 500px; max-width: 100%; height: auto;"/>
|
||||||
|
|
||||||
### 4. Troubleshooting
|
### 4. Troubleshooting
|
||||||
- **If the dash does not turn on**: Ensure the BLE module is properly connected and the debug pads are making contact. Try supplying 5V directly if necessary.
|
- **If the dash does not turn on**: Ensure the BLE module is properly connected and the debug pads are making contact. Try supplying 5V directly if necessary.
|
||||||
|
Loading…
Reference in New Issue
Block a user