tuya-cloudcutter / bk7231tools

This is a collection of tools to interact with and analyze artifacts for BK7231 MCUs
MIT License
38 stars 6 forks source link

Can you comment out your ssid and key from the dump or does that invalidate the dump checksums #12

Closed Deep-Six closed 9 months ago

Deep-Six commented 1 year ago

Hello, Finally had time to dump the firmware from the Globe 4" downlight, forgot to reset it prior to doing so, thus I can see my ssid and pw in the dump. Can I simply just modify that, or will that invalidate the checksum of the file?

kuba2k2 commented 1 year ago

You can modify that, as long as you maintain the character count of the SSID and password. But be aware, that your WiFi credentials are also stored in the encrypted data block, by the end of the dump. That is pretty much impossible to modify by hand, and removing that block will make for an incomplete tuya-cloudcutter profile. If you want, you can just create the profile yourself, and make a PR to tuya-cloudcutter.github.io to add that profile.

Deep-Six commented 1 year ago

I'll see if I can erase the unit while I still have the pins all soldered up.

Deep-Six commented 1 year ago

Its' still there I guess I'll have to do the profile, can you point me to the docs for creating a profile? Also the tuya-cloudcutter.github.io page doesn't resolve. :(

kuba2k2 commented 1 year ago

https://github.com/tuya-cloudcutter/tuya-cloudcutter/tree/main/profile-building