The TYT MD380 / Retevis RT3 Compiling MD380 firmware under windows DISCLAIMER: I'm not responsible…
Last week, I got an email from a fellow ham who encountered a weird problem with his TYT / Tytera MD-380G DMR radio (the new one with GPS).
He tried to flash his codeplug for the first time but something went wrong and the CPS prompted for programming password.
A small peek on the md380tools github page gave me the information I needed.
I’ve Ubuntu 14.04 running on VirtualBox so downloaded it and tried but it failed, probably due to incompatibility of md380tools with Ubuntu 14.
So I had to upgrade to 16.04 but a small popup message informed me that I don’t have enough space. 🙄
After struggling with converting a fixed size VDI to dynamic and partitioning it all over (because of SWAP) I finally got it to work.
But, I couldn’t login. AGAIN?
In the end, I had to delete a file and install some stuff to get to the desktop.
I installed all the required packages as stated in the github page then I entered the md380tools directory in the terminal.
I found this: http://www.iz2uuf.net/wp/index.php/2016/06/12/md-380-how-to-reset-the-pc-programming-password/ but it didn’t work for me due to permission error on the DD command, I didn’t have time to check why, so I did it like this:
Some working Linux dist, take a look on the github page and install the tools. You’ll also need a second radio to read the firmware from it.
./md380-dfu read file.img
./md380-dfu write file.img
73!