Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
BastelPichi committed Nov 30, 2024
1 parent 22aee26 commit 74635a6
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 25 deletions.
13 changes: 7 additions & 6 deletions 4pro2nd.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 4 Pro 2nd gen Tuning
This guide has been created by ScooterTeam.

## Disclaimer
Take special note of each point before proceeding:
Expand All @@ -21,7 +22,7 @@ The following UART adapters are known to work:
Not tested: CP2102

Recommendation: Buy an adapter with a cable attached to it, like shown in the image below. It will make your life a bit easier, since you won't have to buy additional DuPont wires to bridge pins.
![image](resources/usb_uart_cable.png)
![image](res/usb_uart_cable.png)

#### Dashboard cable
To connect the USB adapter with the scooter a risk-free method is to use a replacement dashboard cable (female Julet type connector). You can buy a ready-to-use dashboard breakout cable with pin headers here: [eBay](https://www.ebay.de/itm/356316680470). This cable is guaranteed to fit, but you can look for other options as well.
Expand All @@ -30,7 +31,7 @@ Remark: Due to the tight pin spacing and small size of the dashboard connector,

#### DuPont wires (optional)
If you have an UART adapter without an attached cable, you'll need a set of female-to-female DuPont wires. The wires should have 80-100cm length to reach the adapter end without tension. If you can't find female-to-female wires in that length, simply extend the wires with sets of male-to-female wires.
![image](resources/dupont_collection.png)
![image](res/dupont_collection.png)

### Software
Download the BwFlasher standalone executable here: [BwFlasher](https://github.com/scooterteam/bw-flasher/releases/latest)
Expand All @@ -53,10 +54,10 @@ Black | /
Note: The wire colors for the UART adapter can vary. Check back with the supplier which color is which.

##### A) UART adapter with attached cable
![image](resources/uart_connection_direct.png)
![image](res/uart_connection_direct.png)

##### B) UART adapter + DuPont wires
![image](resources/uart_connection_dupont.png)
![image](res/uart_connection_dupont.png)

### Step 2. Prepare patched firmware
1. Visit this site: [mi-fw-info](https://mi-fw-info.streamlit.app)
Expand Down Expand Up @@ -92,10 +93,10 @@ In BwFlasher, you should now see the progress bar advancing and updates appearin

### Finding out the COM port number
On Windows: Open the Device Manager and look for "Ports (COM & LPT)". The UART adapter should show up there together with the COM port.
![image](resources/bwflasher_port_2.png)
![image](res/bwflasher_port_2.png)

### Dashboard cable pinout
![image](resources/dash_cable_pinout.png)
![image](res/dash_cable_pinout.png)

### Alternate methods to connect the UART adapter
Warning: Requires controller removal!
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# SHU/SHFW Compatibility

<div id="web-spoiler">
<h1>PLEASE VIEW THIS PAGE FROM: <a href="https://compatibility.bastelpichi.de/">https://compatibility.bastelpichi.de/</a></h1>
</div>

SHU stands for Scooterhacking Utility. SHU Support means you can use the app, and allows things like changing Serial/Regen. **but doesnt necessarily mean you can tune the scooter.**
SHFW stands for Scooterhacking Firmware. It means you can unlock the full potential of your scooter, with the ability of e.g. custom profile triggers, field weakening etc.

Expand All @@ -21,11 +25,11 @@ If the scooter isn't on the list, its not supported.
| Xiaomi Eletric Scooter M365 ||||| Ninebot | Flash M365-ProBLE.zip to use SHFW. Alternatively replace the dashboard with a non 4-dot one (pro/pro2 dashboard). |
| Ninebot G2 ||||| Ninebot | |
| Ninebot F65 |||| | Ninebot | |
| Ninebot F2, F2 Plus, F2 Pro | (✅) |||| Ninebot | [F2 Pro can run G2 SHFW.](/f2.md) |
| Ninebot F2, F2 Plus, F2 Pro | (✅) |||| Ninebot | [F2 Pro can run G2 SHFW.](/f2) |
| Ninebot GT1, GT2 |||| | Ninebot | Change SN for higher speed. Guide [here](https://rollerplausch.com/threads/ninebot-gt1d-serial-unlock-60km-h-tuning-via-st-link.10790/). |
| Ninebot G65 |||| | Ninebot | |
| Xiaomi Eletric Scooter 3 Lite, 4, 4 Lite, 4 Ultra ||||| Brightway | No SHFW Support planned. Check [this](https://github.com/dnandha/stlink-lks32/) for basic CFW, [this](https://github.com/scooterteam/bw-patcher) for more patches. |
| Xiaomi Eletric Scooter 4 Pro 2nd gen |||| | Brightway | [4 Pro 2nd gen Tuning](/4pro2nd.md) |
| Xiaomi Eletric Scooter 4 Pro 2nd gen |||| | Brightway | [4 Pro 2nd gen Tuning](/4pro2nd) |
| Xiaomi Eletric Scooter 4 Lite 2nd gen |||| | LEQI | No SHFW Support planned. |
| Xiaomi Eletric Scooter 4 Pro, 4 Pro Max, 4 Pro Plus |||| | Ninebot | Check [NGFW](https://nextgenfw.pythonanywhere.com/) for CFW Patcher. Base DRV [here](https://mi-fw-info.streamlit.app/). |
| Ninebot E2 |||| | Ninebot | |
Expand Down
4 changes: 4 additions & 0 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ body {
margin: 0;
}

#web-spoiler {
display: none;
}

@media (prefers-color-scheme: light) {
body {
/*
Expand Down
6 changes: 3 additions & 3 deletions f2.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ You need to do this as a first step.

Required:
- ST Link V2, color doesnt matter
![image](https://github.com/user-attachments/assets/c7391e62-5ef1-4ed7-a84d-80a3cd2f649a)
![image](res/stlink.png)

- Male-Female dupont wires
![image](https://github.com/user-attachments/assets/7a489cf0-e409-46b7-96f8-ce24deed626d)
![image](res/dupont_collection.png)

- Controller removed from your scooter with removed heatsink:
[![Controller dissasembly](https://img.youtube.com/vi/an38pgR__TI/0.jpg)](https://www.youtube.com/watch?v=an38pgR__TI)
Expand All @@ -18,7 +18,7 @@ Required:

1) Open the [Webflasher](https://flash.bastelpichi.de) in an chromium based webbrowser (Chrome, Edge, Opera, Chromium, etc.). Select F2 as Scooter, enter odometer value and SN.
3) Connect your STLink with the jumpers according to the diagram, found by clicking on "Images" next to the scooter you selected. You will need to remove the heatsink from the board. Use the wires to match up the pins, so connect SWCLK to SWCLK, SWDIO to SWDIO, and so on. The names might be slightly different on the ST-Link (e.g. DIO instead of SWDIO, 3V3 instead of 3.3V). That doesnt matter. Its enough to hold the pins, no need to solder.
![image](https://github.com/user-attachments/assets/82cfb679-433f-4a3e-9e84-78f823c47663)
![image](https://flash.bastelpichi.de/images/G2-F2-DRV.jpg)
4) Click "Start Flashing". If you are only holding the pins, you can press the "Start Countdown" button which will start the flashing 15 seconds after clicking on the button.
5) If the ST-Link doesn't show up, follow the steps from the Help page, linked in the bottom.
6) Watch the Segway Video in reverse. Congrats, your Scooter is now unrestricted, meaning you can flash any firmware you like via Bluetooth.
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added res/stlink.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
7 changes: 0 additions & 7 deletions resources/.comments/IMG20241129110156.jpg.xml

This file was deleted.

7 changes: 0 additions & 7 deletions resources/.comments/IMG20241129110931.jpg.xml

This file was deleted.

Binary file removed resources/dash_cable_pinout.xcf
Binary file not shown.

0 comments on commit 74635a6

Please sign in to comment.