Some chassis it is possible to easily replace the panel and remote control (in fact, not only them, but it is most interesting when transferring firmware). To do this, the necessary files are recorded on the USB flash drive, the USB flash drive is stuck in the TV, the TV turns on and changes the files of the remote control or panel itself. Tested on the popular CV338H-T42 mine, thanks.Perhaps this method is applicable to other chassis, but you need to look.
Before any manipulations with the firmware, I strongly recommend that you dump the native firmware! Instructions are in the topic header.
Panel Replacement
To replace the panel, take a USB flash drive, format it in FAT32 and create the CTV_USB_EU folder in the root. We need to put the Customer_1.ini files and the panel ini file referenced by Customer_1.ini there. Where to get these files?
1. We take the file Customer_1.ini from the firmware that we are going to install . Unpack it, and from the tvconfig section we get the file /config/model/Customer_1.ini . Copy it to the CTV_USB_EU folder on the USB flash drive and open it with a text editor.
We see something like the following:
The name we need is highlighted in red. Remember it.
2. From the native firmware we get the ini-file of the panel. To do this, unpack the dump, find in tvconfig the same Customer_1.ini and the name of the panel ini-file in it - everything is exactly the same as in item 1. Next, go to / config / panel / , take the desired file and copy it to a USB flash drive in the CTV_USB_EU folder . Now we recall the name of the ini-file from item 1 and call our native ini in the same way. If we rename the file, then inside it we also edit the name to a new one:
3. Now we have a CTV_USB_EU folder on the USB flash drive with two files:
Customer_1.ini
FullHD_CMO216_H1L01.ini (the name of the panel ini-file may be different)
We take this USB flash drive, insert it into the switched off TV, turn it on, wait until the telly sets everything up and after rebooting we have a TV with a modified ini-file of the panel. Profit!
Remote control replacement
To replace the remote control, we take a USB flash drive, format it in FAT32 and create a CustomerConfigFile folder in the root , in which we create another IR folder . We will put all the necessary files into it.
1. Unpack the native dump.
2. Take the tvconfig section , find the /config/PM.bin file there and copy it to the USB flash drive.
3. We take the system section , from the / lib / modules / folder, copy two files to the USB flash drive:
mdrv-ir.ko
rc-keymap-tv.ko
4. Copy the irconfig.ini file (75 bytes) to the USB flash drive
and open it in a text editor .
We see the following:
These are the remote control codes that are used when turning on the TV, we need to replace them with ours.
5. Open the MPOOL.bin file in a hex editor, go to the offset 0x1E0000 from the beginning of the file. There are environment variables, these are text parameters, we are interested in three of them:
ir_header_code0 = 0x XX
ir_header_code1 = 0x YY
power_key = 0x ZZ
The found values need to be inserted in the appropriate places in config.ini
6. Now we have the CustomerConfigFile / OR folder on the USB flash drive / with four files:
config.ini
mdrv-ir.ko
PM.bin
rc-keymap-tv.ko
We take this USB flash drive, insert it into the switched off the TV, turn it on, wait until the telly sets everything up and after the reboot we have a TV with a working native remote control. Profit!
After changing the remote control, disconnect the TV from the network to update the codes in the bootloader.
Posted in world of electronics group