summaryrefslogtreecommitdiffstats
path: root/tools/scramble.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-09-17 22:32:13 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-09-17 23:47:49 +0200
commit127e6bbfddab60039085d4ad74a8baae18372717 (patch)
treec6545a1d988d0b4f6c141202889013fa4ac54844 /tools/scramble.c
parentaedf4d2a578141e50c4a868d6d24b4e5a97755c7 (diff)
downloadrockbox-127e6bbfddab60039085d4ad74a8baae18372717.tar.gz
rockbox-127e6bbfddab60039085d4ad74a8baae18372717.zip
Add support for the NWZ-E350bootloader_nwze350_v1
Strangely it has the SAME encryption key as the E450. Either they didn't bother changing it or more likely they have exactly the same internals and a slightly different case. Change-Id: I39ab88845b3e40db34160c2e61dde421f391df44
Diffstat (limited to 'tools/scramble.c')
-rw-r--r--tools/scramble.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/scramble.c b/tools/scramble.c
index 81a796479b..14be30de69 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -130,7 +130,7 @@ void usage(void)
"\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30,\n"
"\t ip6g, rk27, clzp, zxf2, zxf3, fuz+, e370, e360,\n"
"\t zxfi, zmoz, zen, zenv, ypz5, zxfs, e450, e460,\n"
- "\t e470,e580,a10,a20,a860,s750)\n");
+ "\t e470,e580,a10,a20,a860,s750,e350)\n");
printf("\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -399,6 +399,8 @@ int main (int argc, char** argv)
modelnum = 107;
else if (!strcmp(&argv[1][5], "s750")) /* Sony NWZ-S750 series */
modelnum = 108;
+ else if (!strcmp(&argv[1][5], "e350")) /* Sony NWZ-E350 series */
+ modelnum = 109;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;