Search Archive

AVIC-MRZ99 Custom Firmware / Testmode

By crankz · Oct 09, 2014in Hacks/Mods💬 972 posts👁️ 566,761 views
Page 7 of 39
Posted Apr 02, 2017 · 21:12 UTC#151

DZO hello, please do from the txt file to the LNG format.

This is the updated Russian language on MRZ 0047.

Here it is:

 

mrz0047_ru.zip

 

If changing the font doesn't work (did it display at all?) then it's not going to be easy to fix the spacing problem, I guess they hardcoded a fixed spacing for chars above 255 to display Japanese correctly. This is most likely in the platform rather than the apps code, your only choice may be to convert the text to non Cyrillic chars. 

Posted Apr 02, 2017 · 22:08 UTC#152

Hey does anyone know how to do this custom firmware stuff on an avic hvr011 or avic vh99 ??????? is it possible to do something similar on these devices just like you guys do for the avic mrz99. THANK YOU

Posted Apr 03, 2017 · 01:43 UTC#153

Hey guys, Just bought a Nissan with the MRZ02 unit. Has anyone tried this method on this version of the unit? Or the MRZ04, or MRZ06 models? Just want to know if the platform version is the same and if its compatible before I try anything.

Posted Apr 03, 2017 · 02:16 UTC#154

Hey guys, Just bought a Nissan with the MRZ02 unit. Has anyone tried this method on this version of the unit? Or the MRZ04, or MRZ06 models? Just want to know if the platform version is the same and if its compatible before I try anything.

 

The mrz02 is from 2013 so you'd expect it to be a much newer platform than mrz99 but it does look very similar in the screenshots.

 

The best thing to do is try to dump the firmware and post some of the files here.

 

Try to get into testmode using the key combination or the testmode key in post #90. If these don't work then it's probably a different platform.

 

If you can get into testmode, copy all of /USER to an sd card then post /USER/PRG1/APL/MENU/Image.img and everything in /USER/PRG1/APL/LANGDATA/ here. 

Posted Apr 03, 2017 · 07:01 UTC#155

Here it is:

 

mrz0047_ru.zip

 

If changing the font doesn't work (did it display at all?) then it's not going to be easy to fix the spacing problem, I guess they hardcoded a fixed spacing for chars above 255 to display Japanese correctly. This is most likely in the platform rather than the apps code, your only choice may be to convert the text to non Cyrillic chars.

DZO ÑпаÑибо
Posted Apr 03, 2017 · 10:31 UTC#156

DZO можешь иÑправить ошибку, когда нажимаеш кнопку наÑтройки времени и даты магнитолла перезагружаетÑÑ.

Posted Apr 05, 2017 · 14:20 UTC#157

OK, I've updated the code so it'll accept utf8 chars. To do a translation into a new language, fork my github project and edit the "translated.txt" file to create a new one (translated_ru.txt perhaps).

Some rules:

 

No double quotes (") allowed anywhere except the start and end of a string (some are on multiple lines).

Don't change anything that has a % followed by some characters (google translate will mess these up so you will have to fix them by hand).

Don't add lots of new text, the final langdata file must be less than 128K and it's quite close to that.

 

I'm happy to create the langdata file for you when the strings are translated but make sure you follow the rules above or it won't work. 

Hi Dzo

thank you for you great work, as I was desperate to ever be able to easily use the MRZ77 that is fitted in my Nissan March. I have not yet tested your language files as I am not home currently but I will surely.

My question is : where can we find the updated code you are talking about in the quoted post above ? I have a link to a V2.1 release (https://github.com/dzo/mrz99/releases) but it was released on 7 feb and your post is dated 23-march.

Thanks again

Fabrice

Posted Apr 06, 2017 · 03:53 UTC#158

Hi Dzo

thank you for you great work, as I was desperate to ever be able to easily use the MRZ77 that is fitted in my Nissan March. I have not yet tested your language files as I am not home currently but I will surely.

My question is : where can we find the updated code you are talking about in the quoted post above ? I have a link to a V2.1 release (https://github.com/dzo/mrz99/releases) but it was released on 7 feb and your post is dated 23-march.

Thanks again

Fabrice

 

That's the release which is a zip built from my code, but it's only english so it hasn't changed.

The code is here:

 

https://github.com/dzo/mrz99

Posted Apr 06, 2017 · 09:11 UTC#159

Ok I have downloaded the code, now how to use the programs ? what tool do you use to edit the strings ? with notepad++ I cannot see the japanese strings file correctly as it doesnt detect the right encoding characterset.

I have an mrz77 unit and I want to make sure that all japanese strings for this unit are translated but I read in one of the posts in this thread that mrz77 has more strings than the mrz99 for which you provide the translated LNG file so I would like to be able to translate these additional strings unless there is a language file already complete for mrz77 ?

Edited Apr 06, 2017 by fplatel
Posted Apr 06, 2017 · 11:19 UTC#160

Ok I have downloaded the code, now how to use the programs ? what tool do you use to edit the strings ? with notepad++ I cannot see the japanese strings file correctly as it doesnt detect the right encoding characterset.

I have an mrz77 unit and I want to make sure that all japanese strings for this unit are translated but I read in one of the posts in this thread that mrz77 has more strings than the mrz99 for which you provide the translated LNG file so I would like to be able to translate these additional strings unless there is a language file already complete for mrz77 ?

 

decode generates utf16 strings so you need to convert them to utf8, I use iconv for this, most editors can handle utf8.

I just checked and mrz77 only has one extra string which is already translated so you should be able to use the latest mrz99  PF090JPJPN.LNG file. Don't install the image file from mrz99, use the one from post #67.

Posted Apr 06, 2017 · 16:37 UTC#161

DZO hello, but could you release a testmode to go to windows?

Posted Apr 07, 2017 · 03:45 UTC#162

DZO hello, are interested in the question and is it possible to run on our device another navigation, such as Igo in Navitel? Because the F900W guys were able to install other navigation

Posted Apr 07, 2017 · 23:49 UTC#163

Hi DZO.

I was wondering if there's a step by step guide anywhere showing how to edit these .LNG files / translate them to English, because I'd really like to learn how it works.

I understood how to access, backup and replace the files, but I just can't get the decoding and stuff to work. I've seen your post on github but I'm not sure how to use the scripts.. 

 

If a guide doesn't exist and you prefer to not make one, which I understand, do you still take requests?

Thanks for reading!

Posted Apr 08, 2017 · 14:44 UTC#164

The mrz02 is from 2013 so you'd expect it to be a much newer platform than mrz99 but it does look very similar in the screenshots.

 

The best thing to do is try to dump the firmware and post some of the files here.

 

Try to get into testmode using the key combination or the testmode key in post #90. If these don't work then it's probably a different platform.

 

If you can get into testmode, copy all of /USER to an sd card then post /USER/PRG1/APL/MENU/Image.img and everything in /USER/PRG1/APL/LANGDATA/ here. 

Thanks for the speedy response! The car was out of town so I couldn't pull the files until today. I've attached them as requested. FYI the button combination worked fine on the unit, there was no need for the testmode key file. Hope that means good things.

 

Link: https://mega.nz/#!N1wyFCZa!7FPQRHklxRglhJMqP5goW1CZ-she9gIElC6Zk0TKzCs

(I had to use mega because I couldn't attach the file here, some error about no file was selected whenever I tried)

 

Also, since you are familiar with the file structure, what the purpose of the PRG0 folder? its almost identical to the PRG1 folder. Is it for some alternate mode? or language?

Posted Apr 10, 2017 · 04:15 UTC#165

Thanks for the speedy response! The car was out of town so I couldn't pull the files until today. I've attached them as requested. FYI the button combination worked fine on the unit, there was no need for the testmode key file. Hope that means good things.

 

Link: https://mega.nz/#!N1wyFCZa!7FPQRHklxRglhJMqP5goW1CZ-she9gIElC6Zk0TKzCs

(I had to use mega because I couldn't attach the file here, some error about no file was selected whenever I tried)

 

Also, since you are familiar with the file structure, what the purpose of the PRG0 folder? its almost identical to the PRG1 folder. Is it for some alternate mode? or language?

 

Thanks, it's very similar to mrz09 but with a few more strings and slightly different images.

 

Here is an update that might work:

 

https://github.com/dzo/mrz99/releases/download/v2.1/mrz02_update.zip

 

extract it to a usb stick, plug it in and wait.

 

If the images don't work, replace the Image.img file with your original and try again.

 

PRG0 and PRG1 are used for updates, when the system is updated it copies the new files to the unused directory and then adds or removes a PRG.FLG to say which one is now in use. no PRG.FLG means use PRG0, PRG.FLG means use PRG1.

Posted Apr 10, 2017 · 23:36 UTC#166

Thanks, it's very similar to mrz09 but with a few more strings and slightly different images.

 

Here is an update that might work:

 

https://github.com/dzo/mrz99/releases/download/v2.1/mrz02_update.zip

 

extract it to a usb stick, plug it in and wait.

 

If the images don't work, replace the Image.img file with your original and try again.

 

PRG0 and PRG1 are used for updates, when the system is updated it copies the new files to the unused directory and then adds or removes a PRG.FLG to say which one is now in use. no PRG.FLG means use PRG0, PRG.FLG means use PRG1.

 

Thanks! sadly the car is out of town again, so I might not be able to report back until this weekend, unless I convince the person driving it to try out your stuff.

Posted Apr 11, 2017 · 23:43 UTC#167

Hi DZO.

I was wondering if there's a step by step guide anywhere showing how to edit these .LNG files / translate them to English, because I'd really like to learn how it works.

I understood how to access, backup and replace the files, but I just can't get the decoding and stuff to work. I've seen your post on github but I'm not sure how to use the scripts.. 

 

If a guide doesn't exist and you prefer to not make one, which I understand, do you still take requests?

Thanks for reading!

 

The source on github are small C programs. To run them you need a compiler, it's possible on windows but much easier on a linux box.

 

For a debian based distribution you need unicode libs so do:

 

apt install libunistring-dev

git clone https://github.com/dzo/mrz99.git

cd mrz99

make

 

to extract strings from a .LNG file do:

 

./decode PF090JPJPN.LNG | iconv -f utf16 > untranslated_090.txt

 

to create a new .LNG file do:

 

./recode translated.txt PF090JPJPN_new.LNG

 

where translated.txt is the translated text.

 

To extract the images from an Image.img file do

 

mkdir bmp

./extractbmp

cp -r bmp bmp_d

cd bmp_d

for i in *.gz; do gzip -d $i; done

 

to make a new Image.img file put your new images in the updated directory (must be 16 bit rgb565) and do:

 

cp -r bmp bmp1

cd updated

sh ./update.sh

cd ..

./extractbmp encode

 

I do have a way to change the splash screen on the mrz99 but it's a little fiddly so I'll only make it available if there is lots of demand.

Posted Apr 12, 2017 · 15:04 UTC#168

Hi DZO

 

Thank you for your work here. I have a question if you don't mind. I've installed the translation on my MRZ77, all is fine and the question is, i have spotted other LNG files in LANGDATA folder of my device like PF090JPENG.LNG, do you know, if  these files contain translations or what are they used for?

Posted Apr 13, 2017 · 11:54 UTC#169

Hi DZO

 

Thank you for your work here. I have a question if you don't mind. I've installed the translation on my MRZ77, all is fine and the question is, i have spotted other LNG files in LANGDATA folder of my device like PF090JPENG.LNG, do you know, if  these files contain translations or what are they used for?

 

They are language files with slight changes, it looks like they are mostly for different car companies, e.g. NA090JPMZD.LNG for Mazda.

There is a PF090JPENG.LNG but it only has a few English strings. 

Posted Apr 15, 2017 · 14:27 UTC#170

Do you know where is boot image stored in mrz77?

Posted Apr 15, 2017 · 21:04 UTC#171

Do you know where is boot image stored in mrz77?

If you mean the splash screen, it's stored on a separate partition, not accessible from the file manager. It is possible to change it from testmode but not easily.

Posted Apr 16, 2017 · 07:49 UTC#172

yes, i meant splash screen. Is there some instruction how to do it?

Posted Apr 21, 2017 · 03:29 UTC#173

Добрый день!

Очень заинтереÑовала Ваша работа.

У Ð¼ÐµÐ½Ñ Ð¼Ð°Ð³Ð½Ð¸Ñ‚Ð¾Ð»Ð° pioneer carrozzeria avic-mrz99. ВерÑÐ¸Ñ Ð¿Ñ€Ð¾ÑˆÐ¸Ð²ÐºÐ¸ 3.000000 

Скачал разные варианты файлов уÑтановки английÑкого Ñзыка.

При включении магнитолы запуÑкаетÑÑ Ð¿Ñ€Ð¾Ñ†ÐµÑÑ ÑƒÑтановки, поÑле чего магнитола перезагружаетÑÑ, однако Ñзык оÑтаетÑÑ ÑпонÑкий.

Ð’ чем может быть проблема? 

Posted Apr 21, 2017 · 04:24 UTC#174

MaximusMax. Попробуй вручную заменить файлы Langdata в prg1 и prg0 . У Ð¼ÐµÐ½Ñ Ð²ÐµÑ€ÑÐ¸Ñ Ð¿Ñ€Ð¾ÑˆÐ¸Ð²ÐºÐ¸ 1.002000. Ркак ее можно повыÑить?

Posted Apr 23, 2017 · 15:48 UTC#175

Bro can you tell me plz how to back up /USER

Page 7 of 39