Required:
-
Controller removed from your scooter with removed heatsink:
⚠️ Unplug the battery wire first (big red and black cable with yellow connector). Then Press the dashboard button a few times.
After removing the black mosfet clamp, you can use a clamp to carefully push out the PCB from the heatsink. Alternatively, you can 3D-print and use the ST-Link clip or you can slide piece of metal between the heatsink and the PCB, then drill a hole above the ST-Link pins - your PCB should be protected by the piece of metal you slid in. After you've drilled the hole, slide the metal out, and you should have access to the Pins.
-
Download this file.
-
Go to NGFW.
-
Select some Patches. The following work:
- Remove Model Check
- DPC
- No KERS or Custom KERS
- Region-Free
- Speed Limit
-
Select the .bin file downloaded in the first step. Click on the "Bin" button.
-
A file should download. rename this file to "g2_DRV.bin" (without the quotes)
-
Download and install Scooterhacking Reflasher. You might need to download .NET manually.
-
Download and install Zadig. Select your ST-Link and install WinUSB.
-
Navigate to
C:\Program Files (x86)\ScooterHacking ReFlasher\binaries\firmware
in explorer. Replace the g2_DRV.bin with the one you made. -
Open ReFlasher. Select Ninebot Max G2, DRV. Enter your serial number and kmh. Click Settings -> Show Console.
-
Connect your STLink with the jumpers according to the diagram. You will need to remove the heatsink from the board. Use the wires to match up the pins, so connect SWCLK and SWCLK, SWDIO and SWDIO, GND and GND and 3.3V and 3.3V. 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.
-
Click "Start" in Reflasher. Make sure you dont get any errors in your console.
-
Watch the Segway Video in reverse and have fun with your scooter!