Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Running OPENLEC from EXT media & installation of TWRP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Running OPENLEC from EXT media & installation of TWRP

    This is the process that I completed no doubt there will be other methods to do this, so far OE is not fully working but with a little tweaking / experimenting I am sure it will get there. The guide itself is intended just as a starting point quick reference for Qbox owners and is still a work in progress. This has been tested on the 16gb Version only.


    Stage 1 -Updating to latest QBOX firmware with Google play & Netflix fix & root. (Thanks to Trebor for providing the firmware)

    Download


    Place files on root of sd card insert in box and flash via the reset button which can be found in the av hole at the back of the box. While button pressed insert power cable until flashing process begins and release button.

    Stage 2 -Updating uboot thanks to balbes150.

    Download

    Download both files and place on the root of a fat32 formatted sd card, I renamed the s905_uboot_multi_version_v2.zip
    To just aml_autoscript file extension in my case was needed as windows had correctly identified the file as zip, check this is the case when you are doing it as .zip may need to be added once renamed.
    Insert the sd card in Qbox and navigate to apps and look for update and backup app. Launch this and click select this will start the scanning process to check for available files. Once completed select the aml_autoscript.zip file and then select update. If all goes according to plan the box will just reboot to android and the the only clue that anything has happened is that it takes slightly longer to boot and the Q appears twice on boot.

    Stage 3 (Thanks to Abdul_pt)
    Next process not essential if last process completed OK but if you want TWRP then follow also.

    Download

    Download the file and rename to recovery.img or in my case recovery only as windows had identified file type correctly in first instance and place on root of sd card. Use pin reset method as mentioned in stage 1 and await TWRP booting. Once booted select install & sd card. Once recovery.img located select and then slide to flash. TWRP should now be installed.
    If you were unable to update uboot you will want to redo stage 2 at this point and try to update via TWRP. By slecting install zip in TWRP.
    Stage 4 Installing OE (Thanks to balbes150)
    Windows users will require win32Diskimager to burn OE to either SD Card or USB I have tried both and both work fine, incidentally I have tronsmart s95 and experienced many problems with different types of media with Qbox this has been non- evident all media so far has burned and booted on first occasion. However this is not to say that I have not been lucky with my box, so a word of caution you may need to try some different media.

    Openelec downloads

    Download one of the images made available by balbes15O, I used 6.95.3 and place in a folder extract the zip file until you have OE image. Now use win32diskimager to burn the img file to sd card or usb stick. Open either USB stick or SD Card in windows explorer and I simply swapped the dtb file. The dtb file can be extracted from the latest firmware from stage 1.
    Once burned insert SD or USB in Qbox and reboot and await OE starting.

    A word of thanks to Balbes150, RiscyDude, Abdul_PT & Trebor for files and help.


    update

    OE 7 Working also and Bluetooth and IR.

    To enable IR copy this file via network explorer on windows, locate your OE installation while OE Machine running and copy remote.conf to configfiles directory.

    https://www.dropbox.com/s/0z38j337fk...mote.conf?dl=0
    Last edited by desmondo; 06-17-2016, 12:45.

    #2
    Great! Thanks a lot, does this firm also goes on 2GB/8GB version?

    Comment


      #3
      I can't confirm but reading the post it states works on 2gb/16gb also, so likely yes.

      Comment


        #4
        so far so good!
        You may only view thumbnails in this gallery. This gallery has 1 photos.

        Comment


          #5
          I 've Succeeded to have OpenElec thanks! Only wireless networks are not appearing in OpenElec settings?
          Q-Box firmware neither has Wifi!

          Comment


            #6
            Mines appeared first time, remote now working partially all functions so far except the important OK function

            Comment


              #7
              I will try to reflash with Q-Box firmware for 2GB/8GB, found it here; http://chinagadgetsreviews.blogspot....op-511_14.html, wath do You think is this version reliable?

              Comment


                #8
                Once you burned the sd card to you put in the dtb file for our box, that would explain why this is not working.

                Comment


                  #9
                  Originally posted by Jefken3 View Post
                  I will try to reflash with Q-Box firmware for 2GB/8GB, found it here; http://chinagadgetsreviews.blogspot....op-511_14.html, wath do You think is this version reliable?
                  I would be careful with some of the firmwares are some are awful, kodi audio dropouts etc, no netflix or playstore.

                  Comment


                    #10
                    Originally posted by desmondo View Post
                    Mines appeared first time, remote now working partially all functions so far except the important OK function
                    Show the contents of your remot.conf. Need to replace the code that "OK" (perhaps now 97). For code 28.

                    Comment


                      #11
                      #************************************************* ************************************************** ******
                      #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 = 0xfd880001
                      work_mode = 0
                      repeat_enable = 1
                      repeat_delay = 40
                      repeat_peroid = 39
                      release_delay = 121
                      debug_enable = 1

                      fn_key_scancode = 0x1a
                      left_key_scancode = 0x10
                      right_key_scancode = 0x11
                      up_key_scancode = 0x0b
                      down_key_scancode = 0x0e
                      ok_key_scancode = 0x0d
                      pageup_key_scancode = 0x1f
                      pagedown_key_scancode = 0x1e

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

                      key_begin
                      0x1c 114
                      0x15 115
                      0x10 105
                      0x0b 103
                      0x0e 108
                      0x0d 97
                      0x41 158
                      0x40 102
                      0x0c 125
                      0x52 388
                      0x01 2
                      0x02 3
                      0x03 4
                      0x04 5
                      0x05 6
                      0x06 7
                      0x07 8
                      0x08 9
                      0x09 10
                      0x00 11
                      0x58 389
                      0x44 205
                      0x1e 122
                      0x1f 123
                      0x16 396
                      0x11 106
                      0x19 70
                      0x4e 217
                      0x53 119
                      0x5B 128
                      0x43 130
                      0x12 131
                      0x17 392
                      0x47 393
                      0x54 120
                      0x57 121
                      0x42 204
                      0x1d 14
                      0x0a 116
                      0x18 132
                      0x0f 113
                      0x45 397
                      0x13 201
                      0x1b 202
                      0x14 203
                      0x46 206
                      0x5a 395
                      key_end
                      repeat_key_begin
                      0x1c 114
                      0x15 115
                      0x10 105
                      0x0b 103
                      0x0e 108
                      0x0d 97
                      0x41 158
                      0x40 102
                      0x0c 125
                      0x52 388
                      0x01 2
                      0x02 3
                      0x03 4
                      0x04 5
                      0x05 6
                      0x06 7
                      0x07 8
                      0x08 9
                      0x09 10
                      0x00 11
                      0x58 389
                      0x44 205
                      0x1e 122
                      0x1f 123
                      0x16 396
                      0x11 106
                      0x19 70
                      0x4e 217
                      0x53 119
                      0x5B 128
                      0x43 130
                      0x12 131
                      0x17 392
                      0x47 393
                      0x54 120
                      0x57 121
                      0x42 204
                      0x1d 14
                      0x0a 116
                      0x18 132
                      0x0f 113
                      0x45 397
                      0x13 201
                      0x1b 202
                      0x14 203
                      0x46 206
                      0x5a 395
                      repeat_key_end

                      Comment


                        #12
                        I have rewritten the image to a sandisk ultra plus everything but remote working now. I have even placed the original remote.conf in the root of the configfiles folder in OE but nothing now. I am really puzzled?

                        Comment


                          #13
                          Originally posted by balbes150 View Post

                          Show the contents of your remot.conf. Need to replace the code that "OK" (perhaps now 97). For code 28.
                          You are the man Balbes150 changing the 97 to 28 worked.

                          Comment


                            #14
                            Help! I 've think I have bricked my device, reflashd, but recovery appeard and was gone, now nothing is happening annymore, any advice!

                            Comment


                              #15
                              Try reflashing with the image you used earlier that has its own recovery use the reset button method. I that doesn't work you can use aml bootcard maker to burn a recovery img and use this.

                              Comment

                              Working...
                              X