danielskowronski / flipperzero-unleashed-DumpKeystore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flipperzero-unleashed-DumpKeystore

prerequisites

Works only with custom builds of unleashed-firmware!

preparation

Take https://github.com/DarkFlippers/unleashed-firmware and clone this repo into applications_user there.

Then run this to export internal symbols:

gsed -i 's/\,-\,subghz_keystore_alloc/\,+\,subghz_keystore_alloc/g' firmware/targets/f7/api_symbols.csv
gsed -i 's/\,-\,subghz_keystore_load/\,+\,subghz_keystore_load/g' firmware/targets/f7/api_symbols.csv
gsed -i 's/\,-\,subghz_keystore_get_data/\,+\,subghz_keystore_get_data/g' firmware/targets/f7/api_symbols.csv

Finally, rebuild and reflash firmware (first execution of ./fbt may take some time to download toolchain and then to compile everything):

./fbt COMPACT=1 DEBUG=0 VERBOSE=1 updater_package copro_dist 
./fbt COMPACT=1 DEBUG=0 VERBOSE=1 FORCE=1 flash_usb 

build & run

./fbt COMPACT=1 DEBUG=0 VERBOSE=1 icons resources fap_DumpKeystore

./fbt COMPACT=1 DEBUG=0 VERBOSE=1 launch_app APPSRC=applications_user/dump_keystore
# or upload manuall it from ./assets/resources/apps/DumpKeystore.fap

Look around for dumped keystore in the same place as original file.

take care

disclaimer

This repo does not store any propertiarty data. If you happen to own such propertiarty data, even in encrypted form you should do so legally :)

licence

Parts of code used under GPG licence from unleashed-firmware.

About

License:GNU General Public License v3.0


Languages

Language:C 100.0%