Skip to content

How to extract locomotion firmware of Cyberdog

Ashlee edited this page Mar 25, 2022 · 3 revisions
  1. 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

  2. cp p2151_update-4.1.2_0071.img fw.bin

  3. openssl smime -decrypt -in fw.bin -binary -inform DEM -inkey publickey.pem -out fw.zip

  4. unzip -P cMPXOzSlYQlJI8RkrW1ddkyw6hfRUFYPCNOtUJTAqAwYHdAphg fw.zip -d fw/

  5. openssl dgst -sha256 -verify OTA_Key_pub.pem -signature fw/firmware.signature fw/update.img

  6. ./afptool -unpack fw/update.img update/

Clone this wiki locally