amaomjg 发表于 2025-1-9 12:26

晶晨芯片改了不行

kim_1 发表于 2025-5-7 16:47

这篇文章非常好 ,我这里补充一点 , 我的cm311-1a刷的安卓boxtv , 遥控码在:/vendor/etc/

xsy1101 发表于 2025-5-19 18:12

看着不错,但还是不明白

laoguiuncle 发表于 2026-1-6 14:10

本帖最后由 laoguiuncle 于 2026-1-6 15:48 编辑

发一个自己搞好的联通的遥控器码文件,所有按键都好用,包括开关机。机顶盒CPU S905L3B,源系统为联通定制的安卓4.4系统,新系统为安卓9。
修改的文件路径是 /vendor/etc/文件夹下有remote.tab1,代码中的custom_code = 0xc43b 这个码是根据楼主的办法获取后修改的。
修改后的文件放在了D:\Download\remote.tab1,连接好adb后使用以下命令可替换文件。

adb remount
adb push D:\Download\remote.tab1 /vendor/etc/


下方为remote.tab1文件的代码。
#*********************************************************************************************************
#this file is used to store key map table
# custom_name:          name of map table
# custom_code:          custom code for remote device
# release_delay          unit:ms.release will report from kernel to user layer after this period of time
#                        from press or repeat triggered.
###PARAS FOR MOUSE MODE:
# fn_key_scancode: scancode of fn key which used to swith mode
# cursor_left_scancode: scancode of left key
# cursor_right_scancode:scancode of right key
# cursor_up_scancode: scancode of up key
# cursor_down_scancode: scancode of down key
# cursor_ok_scancode: scancode of ok key
#*************************************************************************************************************
custom_name = amlogic-remote-1
custom_code = 0xc43b
release_delay = 80   

key_begin
                0x80 158      ;BACK
                0x81 97            ;DPAD_CENTER
                0x82 607      ;PAGE_UP
                0x83 608      ;PAGE_DOWN
                0x84 105      ;DPAD_LEFT
                0x85 103      ;DPAD_UP
                0x86 106      ;DPAD_RIGHT
                0x87 108      ;DPAD_DOWN
                0x88 11            ;0
                0x89 2      ;1
                0x8a 3      ;2
                0x8b 4      ;3
                0x8c 5      ;4
                0x8d 6      ;5
                0x8e 7      ;6
                0x8f 8      ;7
                0x90 9      ;8
                0x91 10            ;9
                0x92 610      ;POUND #
                0x93 609      ;STAR *
                0x94 14            ;DEL
                0x95 176   ;SETTINGS
                0x96 116      ;POWER      WAKE
                0x97 402      ;CHANNEL_UP
                0x98 403      ;CHANNEL_DOWN
                0x99 115      ;VOLUME_UP
                0x9a 114      ;VOLUME_DOWN
                0x9b 113      ;MUTE
                0x9c 605      ;SOUND_CHANNEL
                0x9d 119      ;MEDIA_PLAY_PAUSE
                0x9e 120      ;MEDIA_FAST_FORWARD
                0x9f 121      ;MEDIA_REWIND
                0xc0 999      ;GO_END
                0xc1 999      ;GO_BEGIN
                0xc2 611      ;INFO
                0xc3 616      ;INTERX
                0xc4 128      ;MEDIA_STOP
                0xc5 620      ;POS
                0xd6 102      ;AVR_POWER
                0xc7 600      ;PROG_RED
                0xc8 601      ;PROG_GREEN
                0xc9 602      ;PROG_YELLOW
                0xca 603      ;PROG_BLUE
                0xcb 125      ;APPLICATION
                0xcc 614      ;SWITCH
                0xcd 122      ;MEDIA_FAVORITES
                0xce 999      ;CHANNEL_POS
                0xcf 621      ;HELP
                0xd0 999      ;EVENT
                0xd1 600      ;PROG_RED
                0xd2 601      ;PROG_GREEN
                0xd3 602      ;PROG_YELLOW
                0xd4 603      ;PROG_BLUE
                0xd5 613      ;SOUND_TRACK
                0xc6 172      ; HOME
key_end



guulii 发表于 2026-1-17 03:21

系统没root操作不了

Kevin_dqyp3 发表于 2026-2-25 17:28

看了 感觉好麻烦啊能否 直接买个 万能遥控器 全网通那种   不知道可行不

natasha_niu 发表于 2026-3-12 13:25

按几个按键后输入dmesg | grep framecode=,什么都不显示是怎么回事啊~~~
页: 1 2 [3]
查看完整版本: 红外遥控器手动修改让电视盒识别,改按键功能,交流汇总