CFW Bin Format: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
The '''bin''' format is simply the unencrypted firmware update package that overwrites the area after the bootloader on the STM32/STM8 MCU's.
The '''bin''' format is simply the unencrypted firmware update package that overwrites the area after the bootloader on the STM32/STM8 MCU's.


After Ninebot began encrypting firmware updates with TEA (Tiny Encryption Algorithm), apps like XiaoTea and others allowed legacy bin files to be converted to .enc.bin files.
After Ninebot began encrypting firmware updates with [https://en.wikipedia.org/wiki/Tiny_Encryption_Algorithm TEA (Tiny Encryption Algorithm)], apps like XiaoTea and others allowed legacy bin files to be converted to .enc.bin files.


This format was known as [[CFW Encoded Bin Format]].
This format was known as [[CFW Encoded Bin Format]].
Line 12: Line 12:


This was the Zip V1 format.
This was the Zip V1 format.
==Creating==
Nothing special is needed to create these bin files, they are simply the raw firmware that's executed on the chip.
If you have a zip file, you can extract it to see FIRM.bin.
==Flashing==
Files in this format are incomplete, they are missing the bootloader.
You can flash by encoding/making it into a zip and using [[ScooterHacking Utility]] or another 3rd party flashing app.
STLinking this file format will likely brick your vehicle.


[[Category: Scooters]]
[[Category: Scooters]]
Administrators, Swags, Bureaucrats, Administrators
2,822

edits