george-hopkins / codeplug Goto Github PK
View Code? Open in Web Editor NEWcodeplug decoder and builder for Motorola radios
License: MIT License
codeplug decoder and builder for Motorola radios
License: MIT License
Hi,
when I read my SL4010e EMEA, decode the codeplug and encode it again, I get an error 1214 that features are not purchased that I wanted to write. The radio has a few paid features (RX gain leveling, TTS. AES) legally activated. FW 2.80, CPS 15.5. I can send the codeplug privately if of any help, just do not want to share it in the public.
BTW, the same procedure with the DP4801e EMEA, same FW and CPS and paid features, works without any issues.
With best regards
Ralph.
When I am trying to decode a new R16 / V14 EMEA CP I get these errors:
Traceback (most recent call last):
File "codeplug.py", line 166, in
File "codeplug.py", line 162, in main
File "codeplug.py", line 121, in _decode_cmd
File "src\lxml\etree.pyx", line 3230, in lxml.etree.fromstring (src\lxml\etree.c:81056)
File "src\lxml\parser.pxi", line 1871, in lxml.etree._parseMemoryDocument (src\lxml\etree.c:121236)
File "src\lxml\parser.pxi", line 1759, in lxml.etree._parseDoc (src\lxml\etree.c:119912)
File "src\lxml\parser.pxi", line 1125, in lxml.etree._BaseParser._parseDoc (src\lxml\etree.c:114159)
File "src\lxml\parser.pxi", line 598, in lxml.etree._ParserContext._handleParseResultDoc (src\lxml\etree.c:107724)
File "src\lxml\parser.pxi", line 709, in lxml.etree._handleParseResult (src\lxml\etree.c:109433)
File "src\lxml\parser.pxi", line 638, in lxml.etree._raiseParseError (src\lxml\etree.c:108287)
File "", line 1
lxml.etree.XMLSyntaxError: xmlParseCharRef: invalid xmlChar value 65535, line 1, column 101402
[11032] Failed to execute script codeplug
The decryption key appears to be the same, possible just some structure changes...
Found a new archive format that appears to only be used fro 800/900mhz TRBO radios.
I've attached a codeplug for you to review.
The link is good for 30 days of this posting.
Hi George,
I was wondering if you could provide any insight as to how you figured out the codeplug format? I am interested in creating something similar for APX and XTL/XTS Radios. Thanks!
Não estou conseguido rodar o programa no sistema operacional de 64 bits, como posso resolver esse problema?
desculpas!! estou iniciando na área de programação, posso ate esta fazendo uma pergunta besta
While I'm easily able to decode a version 12 code plug I've been getting an error while trying this with a version 13 code plug.
Archive type is Matrix
Q:\codeplug-prepare>codeplug decode kk.ctb
Traceback (most recent call last):
File "c:\users\kr0siv\appdata\local\programs\python\python36\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\users\kr0siv\appdata\local\programs\python\python36\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\KR0SIV\AppData\Local\Programs\Python\Python36\Scripts\codeplug.exe_main.py", line 9, in
File "c:\users\kr0siv\appdata\local\programs\python\python36\lib\site-packages\codeplug.py", line 164, in main
return args.func(args)
File "c:\users\kr0siv\appdata\local\programs\python\python36\lib\site-packages\codeplug.py", line 121, in _decode_cmd
result = decode(data, base64.b64decode(config['key']), base64.b64decode(config['iv']))
File "c:\users\kr0siv\appdata\local\programs\python\python36\lib\site-packages\codeplug.py", line 41, in decode
doc = etree.fromstring(data)
File "src\lxml\lxml.etree.pyx", line 3213, in lxml.etree.fromstring (src\lxml\lxml.etree.c:78994)
File "src\lxml\parser.pxi", line 1848, in lxml.etree._parseMemoryDocument (src\lxml\lxml.etree.c:118325)
File "src\lxml\parser.pxi", line 1736, in lxml.etree._parseDoc (src\lxml\lxml.etree.c:117005)
File "src\lxml\parser.pxi", line 1102, in lxml.etree._BaseParser._parseDoc (src\lxml\lxml.etree.c:111249)
File "src\lxml\parser.pxi", line 595, in lxml.etree._ParserContext._handleParseResultDoc (src\lxml\lxml.etree.c:105093)
File "src\lxml\parser.pxi", line 706, in lxml.etree._handleParseResult (src\lxml\lxml.etree.c:106801)
File "src\lxml\parser.pxi", line 635, in lxml.etree._raiseParseError (src\lxml\lxml.etree.c:105655)
File "", line 2
lxml.etree.XMLSyntaxError: xmlParseCharRef: invalid xmlChar value 19, line 2, column 35
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.