Introduce samsungtools to decrypt samsung firmware
commitd66c16749a5c07aadcd0eb97b9340d7fa5ea26b0
authorAmaury Pouly <amaury.pouly@gmail.com>
Thu, 29 Nov 2012 16:29:13 +0000 (29 17:29 +0100)
committerAmaury Pouly <amaury.pouly@gmail.com>
Thu, 29 Nov 2012 16:30:54 +0000 (29 17:30 +0100)
tree4c1b30ca5073cf2f6f7a227715fca557fbf39999
parentee36a396cd1619585a83803630db2d79b6cbefbd
Introduce samsungtools to decrypt samsung firmware

Samsung provides many firmware upgrade in the format of a .dat
file, at least for nearly all YP's (checked for Q2, R0, T10, Z5).
This is a simple cyclic xor which a fixed key, a md5 sum and a
header specifying the model/version/region.

Change-Id: Ib0461a74196383189fd2d8162da444a85a229c60
utils/samsungtools/Makefile [new file with mode: 0644]
utils/samsungtools/fwdecrypt.c [new file with mode: 0644]
utils/samsungtools/samsung.c [new file with mode: 0644]
utils/samsungtools/samsung.h [new file with mode: 0644]