[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/controller/chat.php on line 220: Trying to access array offset on value of type bool
atvXperience : The Forum • X96 Mini remote.conf
Page 1 of 2

X96 Mini remote.conf

Posted: Thu Dec 06, 2018 3:54 pm
by AxEgo
I have the following remote for my X96 Mini:
KodiRemote.jpg
Not all the buttons worked with ATVXperience, so I edited the remote.conf file to try and get all the buttons working. I eventually got every button working except for the "APP" button - no matter what I tried I could not get it to open the App Tray. I tried to get the button to open Netflix but that didn't work either.

Here is the remote.conf which goes in /system/etc :

Code: Select all

#*********************************************************************************************************
#this file is configuration for each factory remote device
#   work_mode   0 :software mode  1 :hardware mode
# repeat_enable   0 :disable repeat 1 :enable repeat
#
# factory_code      each device has it's unique factory code.
#       pattern:custom_code(16bit)+index_code(16bit)
#       examble: 0xff000001 = 0xff00(custom cod)  0001 (index)
#
# release_delay   unit:ms.release will report from kernel to user layer after this period of time
#       from press or repeat triggered.
#
# debug_enable      0 :debug disable  1 :debug disable
#
# SW MODE:
# bit_count   how many bits in each frame
# tw_leader_act   time window for leader active
# tw_bit0     time window for bit0 time.
# tw_bit1     time window for bit1 time
# tw_repeat_leader  time window for repeat leader
# REG
# reg_base_gen    set value for PREG_IR_DEC_BASE_GEN
# reg_control   set value for PREG_IR_DEC_CONTROL
# reg_leader_act    set value for PREG_IR_DEC_LEADER_ACTIVE
# reg_leader_idle   set value for PREG_IR_DEC_LEADER_IDLE
# reg_repeat_leader set value for PREG_IR_DEC_REPEAT_IDLE
# reg_bit0_time   set value for PREG_IR_DEC_BIT0_TIME
#*************************************************************************************************************
#Amlogic NEC remote: X96 MINI
work_mode     = 0
repeat_enable = 1
repeat_delay = 130
repeat_peroid = 120
release_delay   =       20
debug_enable  = 1

fn_key_scancode    = 0x47
left_key_scancode  = 0x10
right_key_scancode = 0x11
up_key_scancode    = 0x0b
down_key_scancode  = 0x0e
ok_key_scancode    = 0x0d

custom_begin
factory_infcode = 0
factory_code  = 0x40400001

mouse_begin
    0 0x10
    1 0x11
    2 0x0b
    3 0x0e
mouse_end

key_begin
    0x4d 116 #POWER
#MEDIA CENTRE KEYS HANDLED BY REMOTE 2 - BOTTOM OF FILE    
    0x54 150 #SETUP
    0x5c 153 #ALLAPP Can't get this working on 153 or 215
    0x18 115 #VOL+
    0x17 114 #VOL-

    0x1a 102 #HOME
    0x42 1   #BACK/EXIT
    
    0x10 105 #LEFT
    0x0b 103 #UP
    0x0e 108 #DOWN
    0x11 106 #RIGHT
    0x0d 97  #ENTER/OK
    0x13 97  #DPAD_CENTER

    0x45 125 #MENU
    
    0x01 2   #No.1 
    0x02 3   #No.2
    0x03 4   #No.3
    0x04 5   #No.4
    0x05 6   #No.5
    0x06 7   #No.6
    0x07 8   #No.7
    0x08 9   #No.8
    0x09 10  #No.9
    0x00 11  #N0.0
    0x43 113 #MUTE
    0x0c 14  #DEL
    
#THESE KEYS ARE NOT USED BY X96 MINI, BUT LEFT IN FOR COMPATIBILITY:
    0x44 52  #PERIOD (.)
    0x1e 123 #MEDIA_NEXT
    0x1f 122 #MEDIA_PREVIOUS
    0xf1 140 #F10/factory_test
    0x57 151 #PROG_YELLOW/EXPLORER
    0x5b 152 #PROG_BLUE/MUSIC
    0x5d 154 #MEDIAPLAY
    0x66 217 #SEARCHSEARCH
key_end
repeat_key_begin
    0x4d 116 #POWER
    0x5c 153 #ALLAPP Can't get this working on 153 or 215
#MEDIA CENTRE KEYS HANDLED BY REMOTE 2    
    0x18 115 #VOL+
    0x17 114 #VOL-

    0x1a 102 #HOME
    0x42 1   #BACK/EXIT
    
    0x10 105 #LEFT
    0x0b 103 #UP
    0x0e 108 #DOWN
    0x11 106 #RIGHT
    0x0d 97  #ENTER/OK
    0x13 97  #DPAD_CENTER

    0x0c 14  #DEL
repeat_key_end
custom_end

#MEDIA CENTRE KEYS
custom_begin
factory_infcode = 1
factory_code  = 0xfe010001
key_begin
    0x55 121 #REWIND
    0x5a 119 #PLAY_PAUSE
    0x52 128 #STOP
    0x54 120 #FAST_FORWARD
    0x44 159 #KODI
key_end
repeat_key_begin
    0x55 121 #REWIND
    0x54 120 #FAST_FORWARD
repeat_key_end
custom_end

X96 Mini remote.conf

Posted: Thu Dec 06, 2018 6:35 pm
by Nayam
AxEgo wrote: Thu Dec 06, 2018 3:54 pm I have the following remote for my X96 Mini:
KodiRemote.jpg
Not all the buttons worked with ATVXperience, so I edited the remote.conf file to try and get all the buttons working. I eventually got every button working except for the "APP" button - no matter what I tried I could not get it to open the App Tray. I tried to get the button to open Netflix but that didn't work either.

Here is the remote.conf which goes in /system/etc :

Code: Select all

#*********************************************************************************************************
#this file is configuration for each factory remote device
#   work_mode   0 :software mode  1 :hardware mode
# repeat_enable   0 :disable repeat 1 :enable repeat
#
# factory_code      each device has it's unique factory code.
#       pattern:custom_code(16bit)+index_code(16bit)
#       examble: 0xff000001 = 0xff00(custom cod)  0001 (index)
#
# release_delay   unit:ms.release will report from kernel to user layer after this period of time
#       from press or repeat triggered.
#
# debug_enable      0 :debug disable  1 :debug disable
#
# SW MODE:
# bit_count   how many bits in each frame
# tw_leader_act   time window for leader active
# tw_bit0     time window for bit0 time.
# tw_bit1     time window for bit1 time
# tw_repeat_leader  time window for repeat leader
# REG
# reg_base_gen    set value for PREG_IR_DEC_BASE_GEN
# reg_control   set value for PREG_IR_DEC_CONTROL
# reg_leader_act    set value for PREG_IR_DEC_LEADER_ACTIVE
# reg_leader_idle   set value for PREG_IR_DEC_LEADER_IDLE
# reg_repeat_leader set value for PREG_IR_DEC_REPEAT_IDLE
# reg_bit0_time   set value for PREG_IR_DEC_BIT0_TIME
#*************************************************************************************************************
#Amlogic NEC remote: X96 MINI
work_mode     = 0
repeat_enable = 1
repeat_delay = 130
repeat_peroid = 120
release_delay   =       20
debug_enable  = 1

fn_key_scancode    = 0x47
left_key_scancode  = 0x10
right_key_scancode = 0x11
up_key_scancode    = 0x0b
down_key_scancode  = 0x0e
ok_key_scancode    = 0x0d

custom_begin
factory_infcode = 0
factory_code  = 0x40400001

mouse_begin
    0 0x10
    1 0x11
    2 0x0b
    3 0x0e
mouse_end

key_begin
    0x4d 116 #POWER
#MEDIA CENTRE KEYS HANDLED BY REMOTE 2 - BOTTOM OF FILE    
    0x54 150 #SETUP
    0x5c 153 #ALLAPP Can't get this working on 153 or 215
    0x18 115 #VOL+
    0x17 114 #VOL-

    0x1a 102 #HOME
    0x42 1   #BACK/EXIT
    
    0x10 105 #LEFT
    0x0b 103 #UP
    0x0e 108 #DOWN
    0x11 106 #RIGHT
    0x0d 97  #ENTER/OK
    0x13 97  #DPAD_CENTER

    0x45 125 #MENU
    
    0x01 2   #No.1 
    0x02 3   #No.2
    0x03 4   #No.3
    0x04 5   #No.4
    0x05 6   #No.5
    0x06 7   #No.6
    0x07 8   #No.7
    0x08 9   #No.8
    0x09 10  #No.9
    0x00 11  #N0.0
    0x43 113 #MUTE
    0x0c 14  #DEL
    
#THESE KEYS ARE NOT USED BY X96 MINI, BUT LEFT IN FOR COMPATIBILITY:
    0x44 52  #PERIOD (.)
    0x1e 123 #MEDIA_NEXT
    0x1f 122 #MEDIA_PREVIOUS
    0xf1 140 #F10/factory_test
    0x57 151 #PROG_YELLOW/EXPLORER
    0x5b 152 #PROG_BLUE/MUSIC
    0x5d 154 #MEDIAPLAY
    0x66 217 #SEARCHSEARCH
key_end
repeat_key_begin
    0x4d 116 #POWER
    0x5c 153 #ALLAPP Can't get this working on 153 or 215
#MEDIA CENTRE KEYS HANDLED BY REMOTE 2    
    0x18 115 #VOL+
    0x17 114 #VOL-

    0x1a 102 #HOME
    0x42 1   #BACK/EXIT
    
    0x10 105 #LEFT
    0x0b 103 #UP
    0x0e 108 #DOWN
    0x11 106 #RIGHT
    0x0d 97  #ENTER/OK
    0x13 97  #DPAD_CENTER

    0x0c 14  #DEL
repeat_key_end
custom_end

#MEDIA CENTRE KEYS
custom_begin
factory_infcode = 1
factory_code  = 0xfe010001
key_begin
    0x55 121 #REWIND
    0x5a 119 #PLAY_PAUSE
    0x52 128 #STOP
    0x54 120 #FAST_FORWARD
    0x44 159 #KODI
key_end
repeat_key_begin
    0x55 121 #REWIND
    0x54 120 #FAST_FORWARD
repeat_key_end
custom_end
Use this:
https://m.apkpure.com/multilanguage-key ... predefiner

X96 Mini remote.conf

Posted: Sun Aug 04, 2019 3:22 pm
by shujabutt
@AxEgo how to flash this file?

X96 Mini remote.conf

Posted: Sun Aug 04, 2019 3:32 pm
by ricklar
shujabutt wrote: Sun Aug 04, 2019 3:22 pm @AxEgo how to flash this file?
Just edit the file with copy/paste with Root Explorer or FileManager.

Directory Location: /system/etc/

Filename: remote.conf

X96 Mini remote.conf

Posted: Mon Aug 05, 2019 5:09 am
by shujabutt
Thanks Bro :grinning: ,My Buttons are working but mouse is not moving constantly through remote :unamused:

X96 Mini remote.conf

Posted: Mon Aug 05, 2019 5:39 am
by ricklar
IR function of mouse is not the best, and faults may just be with the IR hardware transceiver or reciever; is why I always buy air-mouse '"gyroscopic" remotes. Even an my old cheap wireless mouse for a pc/laptop works better than any IR remote.

X96 Mini remote.conf

Posted: Mon Aug 05, 2019 6:01 am
by AxEgo
shujabutt wrote: Sun Aug 04, 2019 3:22 pm @AxEgo how to flash this file?
You can also use adb to push the file to /system/etc

X96 Mini remote.conf

Posted: Mon Aug 05, 2019 6:05 am
by shujabutt
If i copy paste the original x96 mini stock firmware remote.conf file will this work? I am currently using v2ff

X96 Mini remote.conf

Posted: Mon Aug 05, 2019 6:09 am
by AxEgo
shujabutt wrote: Mon Aug 05, 2019 6:05 amIf i copy paste the original x96 mini stock firmware remote.conf file will this work? I am currently using v2ff
You can try, but if I recall correctly it doesn't work. Just make sure you back up the original first so that you can put it back.

PS. If I recall, the stock remote.conf will work if you change the factory code to the one in the atvX remote.conf, however a lot of the buttons will still not work.

X96 Mini remote.conf

Posted: Fri Aug 09, 2019 8:35 pm
by shujabutt
Your File is working perfectly alright No Issue 100% ;) But it takes time to react as normal :')
THANKS V MUCH :heart_eyes: