summaryrefslogtreecommitdiff
path: root/utils/nwztools (follow)
Commit message (Collapse)AuthorAge
* nwztools: fix MakefileAmaury Pouly2019-04-22
| | | | | | | | | Seems like newer versions of mingw will sponteanously add a .exe suffix to the output path if it doesn't have one, for example mingw-gcc -o scsitool bla will actually create scsitool.exe and of course this breaks my release script. Fix this by explicitely adding the .exe to avoid any problem Change-Id: Ic8019b968b532b2ca612ba0c03977a96c22cee01
* nwztools: add DMP-Z1 to the databaseAmaury Pouly2019-04-22
| | | | | | | This is one of those fancy gold-plated devices. Of course it breaks my scripts that were nicely expecting every device to start with NW. Change-Id: I161320f620f65f4f92c2650d192b26a9831eeb9d
* Fix host build of mkimxboot, mknwzboot, nwztools, and rbutil with crypto++Solomon Peachy2019-01-25
| | | | | | Necessary to get working builds on my Fedora 29 system. Change-Id: Ia6232427c959629ade9a85fc412738f688facedb
* sonynwz: add NW-ZX300G nvp infoAmaury Pouly2018-11-30
| | | | | | | | | | | | There is something weird going on: the Sony website has two different entries: - NW-ZX300/NW-ZX300A/NW-A45/NW-A47/NW-A45HN/NW-A46HN - NW-ZX300,NW-ZX300A update(20181004)/NW-ZX300G with slightly different nvp entries, but it is impossible to tell whether an NW-ZX300(A) belong to one or the other. Since the diff is very small, I am adding this as nw-zx300g but treat all devices as nz-zx300 since the destination node is the same and that is the main usage of the tool anyway. Change-Id: I3dc2fdec52650f938d568bed578184f6bc43d130
* sonynwz: add NW-A57 and NW-ZX300G to the databaseAmaury Pouly2018-11-30
| | | | Change-Id: I9bbfa56c5b2d79568de5443f1098d724c4beda6a
* nwzstools/scsitool: try to guess series if possibleAmaury Pouly2018-11-30
| | | | | | | | | If the model is not known (ie model ID in the database) but another device from the same series is known, then the database information probably applies and one can use the "force" option -s to tell the tool to ignore the model ID. Automatically print such advice when the series can be guessed. Change-Id: I6bcc7aa29693df8c3d7d8e709ece7cea650be717
* nwztools/scsitool: add experimental command to list Sony devicesAmaury Pouly2018-11-30
| | | | Change-Id: Ic4f382667c5c84514be661d36032c47fb8f92e75
* Indentation fixAmaury Pouly2018-11-30
| | | | Change-Id: Ia0f96dd27c520cf2bfec4765619f53eaffee3e20
* Add the NWZ-A844 to the databaseAmaury Pouly2018-11-30
| | | | | | For some reason even Sony didn't have it in its list... Change-Id: I26de6071e5887cc7c6ebb695ea333c7b3d1b50db
* sonynwz: add nvp map for NW-A50 seriesAmaury Pouly2018-10-29
| | | | Change-Id: I49f3399552721e515cc01021c2e0aa28c781ec28
* sonynwz: add NW-A55 to databaseAmaury Pouly2018-10-29
| | | | Change-Id: I59861119c59490f586b3c6ed32a1c41df8b3d365
* nwztools/scsitool: fix completely stupid codeAmaury Pouly2018-01-13
| | | | Change-Id: I3771388d24fe5fa249dcb40b231d7a4e06d3c3c8
* nwztools/scsitool: print clearer message when nvp info is incompleteAmaury Pouly2018-01-13
| | | | Change-Id: I13b20b88b35e825da929a31e71ff42d68a79f131
* Add information for NWZ-S630 and NWZ-S730Amaury Pouly2018-01-13
| | | | Change-Id: I4c48c9a8d862eaf67ec27c1c13b9b7f1fb204fc0
* sonynwz: Add NVP information for NWZ-A810Amaury Pouly2018-01-07
| | | | Change-Id: I37671ddf15ee1a4b469f97fe06ec86249ff9ce60
* nwztools/scsitools: print device list when listing seriesAmaury Pouly2017-11-01
| | | | Change-Id: Ic46c724c5d89a775dc20853410c8fe6f0ff9a4c8
* nwztools: add NW-A46 to the databaseAmaury Pouly2017-11-01
| | | | Change-Id: I85dc2080e0be07ff689384c0445f4f1595baf4ac
* nwztools: add NW-A45Amaury Pouly2017-10-24
| | | | Change-Id: I75a7723498564ee73c3682391582e354ad672fd7
* nwztools: add NW-ZX300AAmaury Pouly2017-10-24
| | | | Change-Id: I8b311ed6b48b92b9ecf4fb25c19119cfb2d5beb1
* nwztools/upgtools: make the tool print the whole kas, not just 16 bytesAmaury Pouly2017-10-22
| | | | Change-Id: I9daca9148b7aaea905a765dfeb95faf6fb7198b1
* nwztools: add KAS for NW-A40 seriesAmaury Pouly2017-10-20
| | | | Change-Id: I6e22ba0a58eb62dcc9f2025ee7233f5afae1bbec
* nwztools/scsitools: don't try to get nodes when we don't know about the deviceAmaury Pouly2017-10-17
| | | | Change-Id: Id35671f1e039a94e2b319262e4faa51d73f12afd
* nwztools/scsitool: slightly rework of help_us and helpAmaury Pouly2017-10-17
| | | | | | | | | Now print list of devices immediately even if the rest of the command line is empty (ie 'scsitool -s ?' works, whereas before one would need an actual device to even get a list). Add more information in the help_us command: print kas, lyr and fpi. Change-Id: Icfeeaeebe28c774a74ca54661357fafa25c3d114
* sonynwz: add NW-A47 to the database and regenerate nwz_db.{c,h}Amaury Pouly2017-10-17
| | | | Change-Id: I6331a48a4d336348e90a32cf151427b29eeedb2b
* nwztools: add NW-ZX300 KAS, extracted from a deviceAmaury Pouly2017-10-07
| | | | | | Now this is very weird, is it yet another format/encryption? Change-Id: I119dec1e6d636a99508fb1394de27237ca3ab814
* nwztools/scsitools: fix databaseAmaury Pouly2017-10-07
| | | | | | I forgot to add the NW-ZX300 to its series Change-Id: I78fd9440492e1868b887f6a2e137d4d0c2ff199a
* Add Sony NW-ZX300 model id to databaseAmaury Pouly2017-10-07
| | | | Change-Id: I8e7a14b86408c52cbd4a059e2db6a9c9d0966fc6
* fix typoAmaury Pouly2017-10-06
| | | | Change-Id: Ic357f82d61cc0004ac6193fa9dbbc90976042574
* nwztools/scsitool: various improvementsAmaury Pouly2017-10-06
| | | | | | | | The tool now provides more useful information for developers when the device is not supported. Is also has a new verb "help_us" that also prints all this information (notably the device info and model ID). Change-Id: I04baec8fff23eb83a0408add6296b5d42e9aa8e7
* sonynwz: add nvp nodes for NW-A40/ZX300, various fixes for toolsAmaury Pouly2017-10-06
| | | | | | | We still miss the model IDS for those device so scsitool won't be able to recognize them automatically. Change-Id: I17ae0f0d95c011cea8e289def63c7673b6c4b667
* nwztools/scsitools: make do_fw_upgrade output less confusingAmaury Pouly2017-09-19
| | | | Change-Id: If616e646aeddf20aa3cee79a821a420d9102c708
* upgtools: fix bug in brute force searchAmaury Pouly2017-09-19
| | | | | | | | DES ignores the parity bit of each byte (making the 64-bit key really 56-bit), but the current code skipped the parity bit of each half-byte, thus missing some keys. Change-Id: Ia523ebb944e458905b7de1742df151df22166150
* Add support for the NWZ-E350Amaury Pouly2017-09-17
| | | | | | | | 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
* Initial commit for the Sony NWZ linux portAmaury Pouly2017-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SUPPORTED SERIES: - NWZ-E450 - NWZ-E460 - NWZ-E470 - NWZ-E580 - NWZ-A10 NOTES: - bootloader makefile convert an extra font to be installed alongside the bootloader since sysfont is way too small - the toolsicon bitmap comes from the Oxygen iconset - touchscreen driver is untested TODO: - implement audio routing driver (pcm is handled by pcm-alsa) - fix playback: it crashes on illegal instruction in DEBUG builds - find out why the browser starts at / instead of /contents - implement radio support - implement return to OF for usb handling - calibrate battery curve (NB: of can report a battery level on a 0-5 scale but probabl don't want to use that ?) - implement simulator build (we need a nice image of the player) - figure out if we can detect jack removal POTENTIAL TODOS: - try to build a usb serial gadget and gdbserver Change-Id: Ic77d71e0651355d47cc4e423a40fb64a60c69a80
* nwztools/scsitool: add a command to query multiple nvp nodes at onceAmaury Pouly2017-06-18
| | | | Change-Id: I89fed904b282a202bc845b08f4c8d1200a49636d
* nwztools/scsitool: fix devinfo, add dhpAmaury Pouly2017-06-18
| | | | | | | | | | | The devinfo request returned the raw data, now the tool prints the various fields. Also add support for the dhp (destination/headphones/color ...): this one is untested because it's only supported starting from A10 or A20. There is still a problem with the dpcc prop: although it should work for DEVINFO, it does not, despite the fact that the get_dev_info command works and is internally (on the Sony) translated into a dpcc request. I keep the code just in case. Change-Id: I5aa8ef4afb0b11d3c0ddfa3d38f3e737ee1aff66
* nwztools/scsitool: print error on check senseAmaury Pouly2017-06-18
| | | | | | | The detailled error message is only printed if -d switch is on command line, otherwise there is no error message which is wrong so fix that. Change-Id: I397541c467940e9b290ee8d4ae704368b1ce132b
* nwztools: add KAS for NW-S10 (brute-forced using upgtool)Amaury Pouly2017-06-13
| | | | Change-Id: Ia37818faee29130ffe3690c83f85a39bd35637e0
* nwztools: add nvp description for NW-S10 seriesAmaury Pouly2017-06-13
| | | | Change-Id: Id6a6e51288f4ff24c0063b6c16b74109211e63c0
* Add NW-A36 and NW-A37 model IDs, based on the A30 service manual.Amaury Pouly2017-06-05
| | | | | | | | I am unsure about the names of the player, the manual says A36HN and A37HN but at the same time there is a A35 and A35HN with the same ID, and Sony does not usually put the "HN" in its device list. Change-Id: Idbf32970aa334b30f1b8947a78b8eebd524b193b
* nwztools/database: misc improvementsIgor Skochinsky2017-04-25
| | | | | | | | | | | | | | | | | | | | | | | | * make gen_db.py work on Windows/Python 2 - use hashlib module instead of md5sum, also don't rely on / for file path matching - don't use 'file' for a variable name * fix parse_nvp_header.sh for older kernels pre-emmc kernel sources use a slightly different #define format; adjust regexp to catch it. * add nwz-x1000 series NVP layout (from icx1087_nvp.h) some new tags have no description, alas the driver doesn't have them :/ * minor fixes to nvp/README fixed typos/wording Change-Id: I77d8c2704be2f2316e32aadcfd362df7102360d4
* nwztools/upgtools: misc fixesIgor Skochinsky2017-04-25
| | | | | | | | * added KAS for nwz-x1000 (extracted from an NWZ-X1060 via "get_dnk_nvp kas") * hint that -o is needed when extracting Change-Id: Ic91c448aa058a22c8ddcae54726f628f7cf60f6b
* nwztools/upgtools: add key for NWZ-A840Amaury Pouly2017-04-25
| | | | Change-Id: I0a191db1970e64b5ced518c68861392ba342404f
* nwztools: small cleanupsAmaury Pouly2017-04-25
| | | | Change-Id: I4fde020ca0556a84d051f9b5e46f49ee1241266e
* nwztools/script: fix dump_rootfs.sh to handle ext4Amaury Pouly2017-02-04
| | | | Change-Id: I04bd7599a58669df96dfd018a2ab0e3d53e06694
* nwztools/upgtools: add real KAS for NW-ZX100 and fix typoAmaury Pouly2017-01-14
| | | | Change-Id: I4e4679d6e92c1c0fc8a03db5201aee39d82b24b2
* nwztools: add a "reset all settings" message in dest_toolAmaury Pouly2017-01-09
| | | | | | Users can't read the wiki instructions, hopefully they can read this... Change-Id: I3840879fdc663fb6e7f9234f352eea04a556256a
* nwztools: fix typo (nwz-zx100 -> nw-zx100)Amaury Pouly2017-01-09
| | | | | | Also now gen_db.py can check for such mismatch Change-Id: I4d91aae0dde08c866eda2ed5da3c11431c46e06a
* nwztools: add various info about S740, S750, S640, E050Amaury Pouly2017-01-08
| | | | Change-Id: I2cc887ce2824a2d0b9aeb2a89df662c621c28750
* nwztools: forgot fileAmaury Pouly2017-01-08
| | | | Change-Id: I4341f2af71675cb795987ecc5ce12104445a9d97