[HowTo] solve power on u-boot bug in NEXBOX MXQ PRO (s905)

  • Oh, *****, okay. I have the Nexbox MXQ Pro 4K
    and I thought that uboot fix is for both boxes,
    because the thread opener was talking about
    a Nexbox MXQ Pro, too.

    If you past me remote control power button ir code - I recompile uBoot with MXQ Pro power button remote code.

    And yet, on your current firmware, the indicator LEDs work correctly (Blue - on, red - off)?

    You can flash my uBoot or firmware as a test. Should work, but I'm not sure about the power button MXQ Pro, if I throw here the code of the power button on the MXQ Pro, then I'll add it to uBoot.

    Edited once, last by djspawn (May 22, 2017 at 8:03 PM).

  • Hello everybody! I'm glad to inform, I fixed uBoot:

    1. Turns on and off from the home remote with the native "Power" button (Android / AlexELEC / LibreELEC)
    2. The LEDs-indicators (were "confused" in places) are fixed: the blue LED is on, the red LED is off.

    Firmware(NEXBOX-A95X 8189etv 8g1g 160812 with uboot fix) and uBoot separately can be taken here: MEGA

    Add a link to the topic header

    This is great. Thanks. I originally used elbuit solution and flashed your firmware as a replacement.

    I have a Nexbox A95X S905 1G

    I'm not sure why but on my box after the Nexbox logo it doesn't actually load Android but hangs on a black screen. However I tend to replace Android with Libreelec and by using the toothpick method I can first boot to SD and then used the installtointernal to copy Libreelec to Nand. Libreelec is working as an internal installation, I can use the remote to power up the box and the LED colours are correct.

  • This is great. Thanks. I originally used elbuit solution and flashed your firmware as a replacement.

    I have a Nexbox A95X S905 1G

    I'm not sure why but on my box after the Nexbox logo it doesn't actually load Android but hangs on a black screen. However I tend to replace Android with Libreelec and by using the toothpick method I can first boot to SD and then used the installtointernal to copy Libreelec to Nand. Libreelec is working as an internal installation, I can use the remote to power up the box and the LED colours are correct.

    What file and how you flash?

    I flash with USB Burning tool and file NEXBOX-A95X_8189etv_8g1g_160812_uBootFix.img All was excellent, the android was loaded without problems.

  • What file and how you flash?

    I flash with USB Burning tool and file NEXBOX-A95X_8189etv_8g1g_160812_uBootFix.img All was excellent, the android was loaded without problems.

    Hi. Thanks for your work.

    At first I tried Burn Card Maker v2.0.2 and wrote to a microSD card leaving the options at default; erase bootloader (yes), erase flash (yes - erase in normal), reboot (yes). Using the toothpick method I tried to load from the microSD but something went wrong and my box would only show a black screen, it wouldn't even boot to the splash screen Nexbox.

    I then connected my box to my computer with a male-male USB cable and used the USB burning tool v2.0.5.15-build7 along with the file you uploaded, NEXBOX-A95X_8189etv_8g1g_160812_uBootFix.img. This unbricked my box and showed the Nexbox splash screen but wouldn't load Android. This was enough for me to use the toothpick method to load Libreelec from an SD card and then install onto Nand.

    I guess the failure to load Android is unique to me because of the failed initial installation. My advice for anyone else having trouble is to use the USB burning tool to install the firmware upgrade.

    Thanks again djspawn. I appreciate what you've done.

  • Hi djspawn,

    I've tried with my Nexbox A95 (without X) S905Box. Your version didn't work for it:

    - toothpick mothod is not working (box always boot into andriod)

    - remote control is not compatible

    This means for me: there is really a difference between A95 and A95X (both S905 version).

    So I stay on elbuit's version. The only minor thing here is the reverted LED.

  • Hi

    I have A95x 1/8G S905 (without X). Guess this fix is just for this model. GREAT!

    Im using LibreElec in Nand.

    I'm about change firmware but have questions - just like before - Is it possible to just exchange the uboot without the need of a new installation LE?

    If not possible - how to make complete copy/backup of LE with outside path (not enought place in nand to save backup) and then after changing firmware (new with uboot fix) how to restore it to have just exactly the same LE configured just like before?

  • I add samba folder. When making backup I can choose it but when I clik ok nothing happened. Backup isn't making.

    It works only when choosing internal storage.

  • I add samba folder. When making backup I can choose it but when I clik ok nothing happened. Backup isn't making.

    It works only when choosing internal storage.

    Mate just insert a USB Stick and back up to that.

    Do whatever and once you're back to a fresh install LE just restore from previous backup with the USB Stick inserted.

    This thread is not meant for back up issues.

  • Is it possible to only flash the uboot?

    I have a box here ready, only the power on bug is a real pitty.

    I would like to flash only the uboot and keep the Libreelec install on the nand intact.

    Edited once, last by darkside40 (August 11, 2017 at 1:32 PM).

  • I'm tring to flash the u-boot for my device using linux.

    I have downloaded the last firmware and extracted it using this guide

    now I have

    now I need to "dd" one file to /dev/something.

    But...

    • Wich file I need to flash uboot aml_sdc_burn.UBOOT ? boot.PARTITION? bootloader.PARTITION?
  • If you past me remote control power button ir code - I recompile uBoot with MXQ Pro power button remote code.

    And yet, on your current firmware, the indicator LEDs work correctly (Blue - on, red - off)?

    You can flash my uBoot or firmware as a test. Should work, but I'm not sure about the power button MXQ Pro, if I throw here the code of the power button on the MXQ Pro, then I'll add it to uBoot.

    I have probably another box coz it's name is only MXQ PRO, and I have Android firmware with proper uboot - power button is ok but if I boot Libreelec from SD my remote is not working and I'm not able to power-on the box.

    I was redirected here from another topic and would like to understand is it possible to fix problem with LibreELEC on SD by replacing uboot on internal storage?

  • hi thx to elbuit for the power on fix. i add boot logo and elbuit power on fix to this rom

    MEGA

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

  • hello, can anyone compile uboot for another s905? i can´t power on my box. Thanks for your help.

    this is my 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 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

    #factory_code = 0xfb040001 #amlogic rel

    factory_code = 0xff000001 #video striong

    work_mode = 0

    repeat_enable = 0

    repeat_delay = 40

    repeat_peroid = 39

    release_delay = 121

    debug_enable = 1

    fn_key_scancode = 0x12

    left_key_scancode = 0x5a

    right_key_scancode = 0x1b

    up_key_scancode = 0x06

    down_key_scancode = 0x16

    ok_key_scancode = 0x1a

    pageup_key_scancode = 0x55

    pagedown_key_scancode = 0x15


    mouse_begin

    0 0x5a

    1 0x1b

    2 0x06

    3 0x16

    mouse_end

    key_begin

    #video strong

    0x59 116 #power

    0x19 113 #mute

    0x0e 130 #info

    0x0d 102 #home

    0x51 14 #del

    0x12 134 #mouse

    0x4d 137 #epg //没找到

    0x11 237 #dtv

    0x45 125 #menu

    0x05 1 #exit

    0x06 103 #up

    0x5a 105 #left

    0x1a 97 #enter

    0x1b 106 #right

    0x16 108 #down

    0x55 104 #page+

    0x15 109 #page-

    0x52 2 #1

    0x50 3 #2 //没着到匹配的

    0x10 4 #3

    0x13 115 #vol+

    0x56 5 #4 //没着到匹配的

    0x54 6 #5

    0x14 7 #6

    0x17 114 #vol- //没着到匹配的

    0x4e 8 #7 //没着到匹配的

    0x4c 9 #8

    0x0c 10 #9

    0x0f 11 #0

    0x4a 121 #fr //没着到匹配的

    0x48 120 #ff

    0x08 122 #prev

    0x0b 123 #next

    0x46 119 #play/pause //没着到匹配的

    0x44 128 #stop

    0x04 56 #pvr

    0x07 132 #repeat

    0x42 134 #red

    0x40 133 #green //没着到匹配的

    0x00 131 #yellow //没着到匹配的

    0x03 140 #blue //没着到匹配的

    0x1f 212 #fav

    0x58 261 #app

    0x18 70 #browser //没着到匹配的

    0x0e 136 #audio //没着到匹配的

    0x09 135 #subtitle

    0x02 130 #info

    0x01 136 #audio //没着到匹配的

    0x21 52 #.

    0x22 127 #search

    key_end

    repeat_key_begin

    0x47 11

    0x13 2

    0x10 3

    0x11 4

    0x0F 5

    0x0C 6

    0x0D 7

    0x0B 8

    0x08 9

    0x09 10

    0x5C 97

    0x51 65

    0x49 14

    0x06 130

    0x14 131

    0x44 103

    0x1D 108

    0x1C 105

    0x48 106

    0x53 125

    0x45 104

    0x19 109

    0x16 102

    0x52 119

    0x05 122

    0x59 123

    0x1b 120

    0x04 121

    0x1A 116

    0x0A 15

    0x0e 113

    0x15 63

    0x1F 102

    0x1e 132

    0x07 133

    0x12 134

    0x54 135

    0x02 136

    0x4f 30

    0x42 48

    0x5d 46

    0x4c 32

    0x58 137

    0x55 140

    0x21 52

    0x22 127 #search

    repeat_key_end