-
Notifications
You must be signed in to change notification settings - Fork 8
How to extract locomotion firmware of Cyberdog
Ashlee edited this page Mar 25, 2022
·
3 revisions
-
Copy the following files to a aarch64 host (afptool aarch64 only)
-
[MR813]/usr/bin/afptool
-
[MR813]/etc/publickey.pem
-
[MR813]/etc/OTA_Key_pub.pem
-
[NX]/etc/ota_server/download/p2151_update-4.1.2_0071.img
-
-
cp p2151_update-4.1.2_0071.img fw.bin
-
openssl smime -decrypt -in fw.bin -binary -inform DEM -inkey publickey.pem -out fw.zip
-
unzip -P cMPXOzSlYQlJI8RkrW1ddkyw6hfRUFYPCNOtUJTAqAwYHdAphg fw.zip -d fw/
-
openssl dgst -sha256 -verify OTA_Key_pub.pem -signature fw/firmware.signature fw/update.img
-
./afptool -unpack fw/update.img update/