Hi dtech, I'd like to thank you for the work you have done here, and to report that your S805 HD18Q build works really well on my HTV3 Android box. It's almost perfect, and I have figured out how to fix some of the issues I encountered. I will list the issues I ran into, what I was able to fix, and some other notes in case anyone else with this box ends up reading this post.
1. This is the remote.conf that works for my box, maybe you can add it to the list of supported remotes:
htv3-remote.conf
#*********************************************************************************************************
#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 code) 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 enable
#
# 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
#*************************************************************************************************************
# sowell NEC remote * MBX H.TV 3
#
factory_code = 0xff800001
work_mode = 0
repeat_enable = 1
repeat_delay = 130
repeat_peroid = 120
release_delay = 20
debug_enable = 1
reg_control = 0xfbe40
#
fn_key_scancode = 0x40
left_key_scancode = 0x03
right_key_scancode = 0x02
up_key_scancode = 0x00
down_key_scancode = 0x01
ok_key_scancode = 0x1f
#
pageup_key_scancode = 0x5a # 0x04
pagedown_key_scancode = 0x5f # 0x1b
#
mouse_begin
0 0x03
1 0x02
2 0x00
3 0x01
mouse_end
#
key_begin
0x0a 116 # POWER
0x0d 113 # MUTE
0X51 240 # GOTO
0x5d 114 # VOL -
0x58 115 # VOL +
#
0x1f 28 # DPAD_CENTER
0x00 103 # DPAD_UP
0x01 108 # DPAD_DOWN
0x03 105 # DPAD_LEFT
0x02 106 # DPAD_RIGHT
#
0x11 2 # 1
0x12 3 # 2
0x13 4 # 3
0x14 5 # 4
0x15 6 # 5
0x16 7 # 6
0x17 8 # 7
0x18 9 # 8
0x19 10 # 9
0x10 11 # 0
0x5b 52 # DOT
0x08 14 # DEL
#
0x1a 46 # MENU
0x1c 158 # EXIT
0x1b 172 # HOME
0x04 23 # INFO
#
0x5a 109 # P-
0x5f 104 # P+
#
0x05 164 # RED - Play/Pause
0x09 18 # GREEN - EPG
0x42 24 # YELLOW - Codec info
0x43 20 # BLUE - Subtitle
key_end
#
repeat_key_begin
0x5d 114 # VOL -
0x58 115 # VOL +
0x00 103 # DPAD_UP
0x01 108 # DPAD_DOWN
0x03 105 # DPAD_LEFT
0x02 106 # DPAD_RIGHT
0x08 14 # DEL
repeat_key_end
Display More
2. I had to enable "force suspend instead of poweroff" in the system settings, otherwise the remote control would not turn the box on. I know it's explained on your opening post, but I figured I'd mention it here in case someone with the same box reads it.
3. This box has a led on the front. On Android, the LED turns blue when powered on, and red when powered off. On LibreElec it was just always blue. I noticed it worked on Lakka 2.x, so I looked for differences between LibreElec and Lakka S805 config, and I noticed Lakka had this led on /sys/class/leds/m201_costdown::front/.
I set CONFIG_LEDS_M201_COSTDOWN=y and built the HD18Q image using your source code and it is now working as intended. https://github.com/dtechsrv/Libre….arm.conf#L3201
Would you consider enabling this for S805 on the master branch?
4. This box has a breathing light on top of the box. On Android, it's red when the internet is disconnected, and blue when it is connected, and it's turned off when the box is powered off. There's also an option on the settings page to turn on the "breathing light" mode, which puts it to fade in and out while cycling through the colors.
On LibreElec, it's purple on boot, and cyan once it's booted. When M201_COSTDOWN led is enabled (see point 3 above), then it's green when the power is on and cyan when the power is off. This is the only issue I have not yet been able to solve on my own. I'd like to have the same behavior as on Android, but I can't figure out how to control it. On Android there's nothing listed under /sys/class/leds/, and I have not found any clues inspecting the motherboard. I am a newbie when it comes to this, so it's very possible I may have missed it. Any pointers on how to dig deeper into this breathing light issue would be greatly appreciated.
5. I installed the zach-morris addon repository from the LibreElec Alpha repository, and then tried to install the IAGL program addon, but it failed saying it requires python 3. As it turns out, plugin.program.iagl-2.1.8.zip is the last version that works with python 2, but it's not available on the repository. I had to install it from zip, but then it worked fine.
6. The addon libretro MESEN for NES crashes when opened. QuickNES is sluggish and has the wrong colors. Nestopia works very well on the games I tested.
7. PCSX ReARMed was a bit sluggish on the default settings, but it runs pretty smoothly with PSX cpu clock set to 63 instead of the default of 57.
8. The box has a reset button on the bottom of the board instead of the AV port, but it does not always work to bring up the boot loader. However, pressing the MENU button on the remote repeatedly during boot works pretty consistently.
I am attaching some images of the box here:
Pictures of the box, board, and remote