CFW Bin Format: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:


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 [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]].
CFW generators like the ones from [https://cfw.sh ScooterHacking] began delivering zip files containing both bin and encoded bin formats.
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