Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

ATV9-MOD-(P212)AMPERE-V3

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

    ATV9-MOD-(P212)AMPERE-V3

    P212(AMPERE) build for all standard S905X devices with Ampak WiFi chips (other WiFi chips on request, I need volunteer testers for this, to create the logs (only via PM))
    Based on "IMG DEBUG V3" from superceleron (thanks for your fantastic work and permission to modify)

    Changes:
    - Bootloader has been recompiled and replaced. You can find the source code here (thanks to the @khadas team)
    - Devices with DDR3-1600/2133(CL11-13); DDR4-1866/2400(CL16-18) RAM-memory are supported.
    - DDR-timing by default - DDR3 = 792Mhz; DDR4 = 912Mhz
    Note: Devices with 512MB and devices with CL9 RAM (clk. Rate = 667Mhz) are not supported! If you are not sure which RAM type your device is equipped with, please refrain from installing this FW or ask for advice in the forum.

    - The following ir-codes are supported to wake up from deep sleep: 1A; 45; 4A; 10; 51

    Attention: No support for newer Nand-storage such as SpecTek MLC Nand L95B

    - Added SSH-server support (dropbear), connection is via Public-Key method.
    - Multi-support Ampak WiFi
    - Full root access

    If the function of your WiFi is unstable or other problems occur, try patching the FW-configuration:
    AP6330/AP6335 patch is installed by default (my test device)

    # Available patches
    config_6356.txt (empty) for AP6356S
    config_43458.txt for ??
    config_4358.txt for BCM4358
    config_62x2.txt (empty) for AP62X2
    config_6335.txt for AP6335
    config_6354.txt for AP6354
    config_6255.txt (empty) for AP6255/AP6256

    # patch via SSH
    1. Install PuTTY SSH Client on your computer.
    2. Extract SSH-Key-bundle.zip to the .ssh directory on your computer.
    3. Start PuTTY SSH Client and make the following settings: set-ssh-01.png set-ssh-02.png set-ssh-03.png
    4. click "Open"
    # now you have to get the following window
    (passphrase = ampere)
    Code:
    Using username "root".
    #################################
    * * * * * * * * * * * * * * * * *
    * Welcome to ampere SSH-server! *
    *                               *
    * * * * * * * * * * * * * * * * *
    #################################
    Authenticating with public key "/home/bumerc/.ssh/id_rsa" from agent
    :/vendor/etc/dropbear #
    # execute these commands
    Code:
    cd /vendor/etc/wifi/buildin
    mount -o rw,remount /vendor
    cp -a config_<your-chip>.txt config.txt
    # e.g patch for AP6356S
    cp -a config_6356.txt config.txt
    # reboot your device via UI

    # patch via ADB
    1. Open "ADB over Ethernet" app on your device and press "START"
    2. On your computer:
    Code:
    adb connect <your.box.ip.addr>:5555
    adb shell mount -o rw,remount /vendor
    adb shell cp -a /vendor/etc/wifi/buildin/config_<your-chip>.txt /vendor/etc/wifi/buildin/config.txt
    # e.g patch for AP6356S
    adb shell cp -a /vendor/etc/wifi/buildin/config_6356.txt /vendor/etc/wifi/buildin/config.txt
    # reboot your device via UI

    Installation:
    AML-Burning-Tool
    sdc_burn

    Update - 04/21/2020
    - add 0x1c (powerr-off code, u-boot) for ir-remote with df00 custom_code
    - add 3g RAM support
    - add init.d support from @anpaza (thanks for that)
    - other small bugfix

    Download: ATV9-IMG-DEBUG-AMPERE-V3

    Update - 04/28/2020
    A new build for AP6330 devices, WiFi problem (2.4Ghz and 5Ghz) has been finally fixed!
    - kernel + dtb + modules + vendor.img have been revised and recompiled from the source code (no copy and paste build)
    - Many thanks to hannah for the logs and extensive tests

    Update 05/24/2020
    Vendor partition update
    Kernel update
    - kernel config fix
    - device tree source fix
    - Stabilization of WiFi reception
    - fixed WiFi disconnect error after reboot and switch off via hdmi-cec in sleep mode
    - Display Settings fix
    - Fixed problem with USB OTG
    (please make sure that your USB controller supports OTG mode)
    - Added support for the most popular X96 remote
    Many thanks to the tireless testers dsm150 @hannah

    Download: ATV9-IMG-DEBUG-AMPERE-AP6330-V3.01-02

    - QCA9377 build is also finished (untested)
    Download: ATV9-IMG-DEBUG-AMPERE-QCA9377-V3

    Update 05/17/2020
    Attention: Only for devices that support USB-OTG mode
    - Realtek WiFi support
    - Realtek USB-Bluetooth support
    Note: RTK-SDIO Bluetooth (internal chip) is not currently working, there seems to be a general problem with new pie builds with RTK chips, for this reason I added the rtk_btusb driver to cover the support of external USB Bluetooth devices
    - USB-OTG port trouble have been fixed
    - Bootloader fix for X96 devices (booting problem)
    - X96 remote control support by default

    Download: ATV9-IMG-DEBUG-AMPERE-RTK-V3.tar.xz
    Last edited by bumerc; 05-24-2020, 20:56.

    #2
    Nice work mate

    Comment


    • trebor
      trebor commented
      Editing a comment
      Good to see you work doing some good

    #3
    Hello!
    try this rom on nexbox a95x 2/16
    installed OK, bluetooth working, wifi not working out of the box.
    google assistant searching only in Youtube, in google assistant preferences, "search in apps" list is blank (((
    if remove Google updates, in preferences "google" "search in apps" list, have apps, but voice not working\recognise
    same problems in X96_Khadas_Vim3_Pie ROM
    On nexbox atv 7.1 roms, all work perfectly, but I would like to atv 8 or 9 ))))

    Comment


      #4
      dsm150
      what wifi chipset does your box have?

      Comment


        #5
        Originally posted by bumerc View Post
        dsm150
        what wifi chipset does your box have?
        there 2 versions can be BCM6255_6330 or qca9377

        Comment


          #6
          The board is named A7_S905X_v2.0, and includes two SKhynix H5TQ4G63CFR DDR3 SDRAM (1GB), a 16GB Samsung KLMAG2WEPD-B031 eMMC 5.0 flash, Ampak AP6330 module for dual band WiFi and Bluetooth 4.0, as well as H1102NL Fast Ethernet magnetics (The Ethernet transceiver is built-in S905X processor). There’s also a smaller “DID2133 16-12 F1” IC close the AV jack that should be an amplifier. The serial console should be accessible via the four pins close to the two USB ports.

          Comment


            #7
            But the most interesting is working voice search ...

            tomorrow I will take a photo of my board

            Comment


              #8
              connect via ssh and show the output of these commands
              Code:
              dmesg | grep wifi
              and
              Code:
              dmesg | grep chip

              Comment


                #9
                I'm doing something wrong ((

                Code:
                Using username "root".
                Pre-authentication banner message from server:
                | #################################
                | * * * * * * * * * * * * * * * * *
                | * Welcome to ampere SSH-server! *
                | *                               *
                | * * * * * * * * * * * * * * * * *
                | #################################
                End of banner message from server
                Authenticating with public key "imported-openssh-key"
                Passphrase for key "imported-openssh-key":
                Click image for larger version

Name:	2020-04-21_09-56-49.png
Views:	1696
Size:	29.6 KB
ID:	802971
                Click image for larger version

Name:	2020-04-21_09-55-43.png
Views:	1690
Size:	28.4 KB
ID:	802972Click image for larger version

Name:	2020-04-21_09-56-19.png
Views:	1690
Size:	24.2 KB
ID:	802973
                Attached Files

                Comment


                  #10
                  Hi,

                  I have problem with this rom on my MX95Pro 4k alias TX5PRO, wifi is working, but bluetooth doesn´t turn on, my remote won´t work, i tried copy remote.conf into /system/etc but don´t work. I wanted to change this rom i must short pins.. Can you help me with this problems? Thanks.

                  Board is named CS_905X_TX_V1.1 and wifi chip is Fn-Link 8223A-SR F10019 1643

                  In photo is my box and my remote.
                  Attached Files

                  Comment


                    #11
                    Originally posted by bumerc View Post
                    connect via ssh and show the output of these commands
                    Code:
                    dmesg | grep wifi
                    and
                    Code:
                    dmesg | grep chip
                    You just add wifi drivers to vendor more.There will be more likelihood that wifi will work.

                    Comment


                      #12
                      Originally posted by bumerc View Post
                      connect via ssh and show the output of these commands
                      Code:
                      Using username "root".
                      Pre-authentication banner message from server:
                      | #################################
                      | * * * * * * * * * * * * * * * * *
                      | * Welcome to ampere SSH-server! *
                      | *                               *
                      | * * * * * * * * * * * * * * * * *
                      | #################################
                      End of banner message from server
                      Authenticating with public key "imported-openssh-key"
                      Passphrase for key "imported-openssh-key":
                      Can't connect (((

                      Comment


                        #13
                        dsm150
                        passphrase = ampere

                        look at the first post, there is an update
                        Voice-Search works out of the box, check the configuration of your bt remote control, unpair and pair it again

                        Comment


                          #14
                          Originally posted by sagert View Post

                          You just add wifi drivers to vendor more.There will be more likelihood that wifi will work.
                          The problem was with FW and the order of loading the wifi driver, a simple copy will not solve this problem. In this firmware, by default, all WiFi drivers are in the vendor partition.

                          Comment


                            #15
                            Originally posted by freakbox View Post
                            Hi,

                            I have problem with this rom on my MX95Pro 4k alias TX5PRO, wifi is working, but bluetooth doesn´t turn on, my remote won´t work, i tried copy remote.conf into /system/etc but don´t work. I wanted to change this rom i must short pins.. Can you help me with this problems? Thanks.

                            Board is named CS_905X_TX_V1.1 and wifi chip is Fn-Link 8223A-SR F10019 1643

                            In photo is my box and my remote.
                            /vendor/etc/remote.cfg

                            Always do this via SSH or ADB with compliance with all file permissions

                            e.g
                            Code:
                            mount -o rw,remount /vendor
                            cp /sdcard/remote.conf /vendor/etc/remote.cfg
                            reboot via UI
                            Last edited by bumerc; 04-22-2020, 11:17.

                            Comment

                            Working...
                            X