Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

ATV9-MOD-(P212)AMPERE-V3

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

    #61
    Originally posted by bumerc View Post
    show HQ photo of RAM
    Here are a few pics, not sure what the ram chips are. Still no luck resetting, no connection to Usb Burning Tool. Board does have 8189. I will keep trying all pins. Thanks for the help.
    You may only view thumbnails in this gallery. This gallery has 2 photos.

    Comment


      #62
      to the right of the heat sink is the RAM chip, and please also photograph the back of the circuit board

      Comment


        #63
        Originally posted by minonano View Post
        Would it be ok for T95M S905X RTL8723 2+8gb, or I'm guess RTL is not ampak? Thanks
        no rtl wifi support

        Comment


          #64
          Hello bumerc
          Thank you for making an ATV 9 rom for s905x and wifi AP6330.
          This is my TV Box: Nexbox A95X 2GB/16GB S905X WIFI AP6330

          pcbboard picture: https://ibb.co/2N4sPT4

          I have installed your rom.
          Working: LAN, BT, 1st USB Port (and not the 2nd USB Port)
          Not Working: Wifi, Remote. (I have applied your wifi fix via ssh)

          Following is the work done via ssh.

          ```
          :/vendor/etc/dropbear #
          cd /vendor/etc/wifi/buildin
          mount -o rw,remount /vendor
          cp -a config_6330.txt config.txt
          reboot
          ```
          I note the the following: (file size is 0 byte)
          ```
          :/vendor/etc/wifi/buildin # ls -l
          -rw-r--r-- 1 root root 0 2020-04-23 21:17 config_6330.txt
          ```

          Diagnostic output of these two commands:

          ```
          dmesg | grep chip
          dmesg | grep wifi

          130|:/vendor/etc/wifi/buildin # dmesg | grep chip
          [ 0.229092] Meson chip version = RevB (21:B - 82:0)
          [ 1.114130] hdmitx: system: hdmitx_device.chip_type : 3
          [ 1.311043] chip type:0x21
          [ 9.526795] The chip is not support hevc encoder
          [ 12.145603] F1 signature OK, socitype:0x1 chip:0x4330 rev:0x4 pkg:0x0
          [ 12.160616] dhd_conf_set_chiprev: chip=0x4330, chiprev=4
          [ 24.130867] F1 signature OK, socitype:0x1 chip:0x4330 rev:0x4 pkg:0x0

          1|:/vendor/etc/wifi/buildin # dmesg | grep wifi
          [ 0.000000] Kernel command line: init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 otg_device=1 reboot_mode_android=normal androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,1080p60hz maxcpus=4 vout=1080p60hz,enable hdmimode=1080p60hz frac_rate_policy=1 cvbsmode=576cvbs hdmitx=,444,8bit cvbsdrv=0 irq_check_en=0 androidboot.firstboot=0 jtag=apao androidboot.veritymode=enforcing androidboot.hardware=amlogic page_trace=on androidboot.rpmb_state=0 androidboot.serialno=1234567890 androidboot.wificountrycode=US ro rootwait skip_initramfs androidboot.dtbo_idx=0 vmalloc=512m --cmdline root=/dev/mmcblk0p18 buildvariant=userdebug
          [ 1.551588] wifi: power_on_pin_OD = 0;
          [ 1.553995] aml_wifi wifi: [wifi_dev_probe] no power_on_pin2
          [ 1.559943] aml_wifi wifi: [pwm_double_channel_conf_dt] wifi pwm dt ok
          [ 1.566577] aml_wifi wifi: [pwm_double_channel_conf] wifi pwm conf ok
          [ 1.573240] aml_wifi wifi: [wifi_dev_probe] dhd_static_buf setup
          [ 1.593470] aml_wifi wifi: [wifi_dev_probe] interrupt_pin=487
          [ 1.599375] aml_wifi wifi: [wifi_dev_probe] irq_num=0, irq_trigger_type=1
          [ 1.606402] aml_wifi wifi: [wifi_dev_probe] power_on_pin=486
          [ 1.612236] aml_wifi wifi: [wifi_dev_probe] clock_32k_pin=0
          [ 1.618268] aml_wifi wifi: [wifi_setup_dt] wifi_setup_dt
          [ 1.623703] aml_wifi wifi: [wifi_setup_dt] irq num is69)
          [ 1.629216] aml_wifi wifi: [wifi_setup_dt] interrupt_pin(487)
          [ 1.635181] aml_wifi wifi: [wifi_setup_dt] power_on_pin(486)
          [ 11.095015] dhd_wifi_platform_load: Enter
          [ 11.106263] wifi_platform_set_power = 1
          [ 11.121724] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
          [ 11.338372] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
          [ 11.848538] wifi_platform_bus_enumerate device present 1
          [ 12.406456] wifi_platform_set_power = 0
          [ 23.073801] wl_android_wifi_on in 1
          [ 23.078417] wl_android_wifi_on in 2: g_wifi_on=0
          [ 23.083081] wifi_platform_set_power = 1
          [ 23.092594] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
          [ 23.324458] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
          [ 24.145729] dhd_conf_read_config: Ignore config file /vendor/etc/wifi/buildin/config.txt
          [ 24.148455] Final fw_path=/vendor/etc/wifi/buildin/fw_bcm40183b2.bin
          [ 24.158094] Final nv_path=/vendor/etc/wifi/buildin/
          [ 24.160125] Final clm_path=/vendor/etc/wifi/buildin/clm.blob
          [ 24.166547] Final conf_path=/vendor/etc/wifi/buildin/config.txt
          [ 24.176067] dhd_os_open_image1: /vendor/etc/wifi/buildin/fw_bcm40183b2.bin (239507 bytes) open success
          [ 24.318333] dhd_os_open_image1: /vendor/etc/wifi/buildin/ is not regular file
          [ 24.320016] dhdsdio_download_nvram: Open nvram file failed /vendor/etc/wifi/buildin/
          [ 24.362685] wifi_platform_set_power = 0
          [ 24.370452] wl_android_wifi_on: Failed
          [ 24.374316] dhd_open : wl_android_wifi_on failed (-35)
          [ 24.385213] wl_android_wifi_off in 1
          [ 24.389470] wl_android_wifi_off in 2: g_wifi_on=0, on_failure=1
          [ 24.408377] wifi_platform_set_power = 0
          [ 24.420056] wl_android_wifi_off out
          [ 1914.689716] wl_android_wifi_on in 1
          [ 1914.689718] wl_android_wifi_on in 2: g_wifi_on=0
          [ 1914.689722] wifi_platform_set_power = 1
          [ 1914.689758] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
          [ 1914.889810] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
          [ 1915.535905] dhd_conf_read_config: Ignore config file /vendor/etc/wifi/buildin/config.txt
          [ 1915.543429] Final fw_path=/vendor/etc/wifi/buildin/fw_bcm40183b2.bin
          [ 1915.549793] Final nv_path=/vendor/etc/wifi/buildin/
          [ 1915.554778] Final clm_path=/vendor/etc/wifi/buildin/clm.blob
          [ 1915.560611] Final conf_path=/vendor/etc/wifi/buildin/config.txt
          [ 1915.567451] dhd_os_open_image1: /vendor/etc/wifi/buildin/fw_bcm40183b2.bin (239507 bytes) open success
          [ 1915.615445] dhd_os_open_image1: /vendor/etc/wifi/buildin/ is not regular file
          [ 1915.617278] dhdsdio_download_nvram: Open nvram file failed /vendor/etc/wifi/buildin/
          [ 1915.653663] wifi_platform_set_power = 0
          [ 1915.662586] wl_android_wifi_on: Failed
          [ 1915.666574] dhd_open : wl_android_wifi_on failed (-35)
          [ 1915.678978] wl_android_wifi_off in 1
          [ 1915.682786] wl_android_wifi_off in 2: g_wifi_on=0, on_failure=1
          [ 1915.698613] wifi_platform_set_power = 0
          [ 1915.707628] wl_android_wifi_off out
          :/vendor/etc/wifi/buildin #
          ```

          Please help me to have a working Wifi.

          Thank you
          Hannah

          Image nexbox-pcb hosted in ImgBB
          Last edited by hannah; 04-24-2020, 12:41.

          Comment


            #65
            Hello bumerc

            I now have rectified my mistake and copied the correct file. And wifi is NOT working

            ```
            :/vendor/etc/dropbear #
            cd /vendor/etc/wifi/buildin
            mount -o rw,remount /vendor
            cp -a config_6335.txt config.txt
            reboot
            ```

            corresponding dmesg output:

            ```
            :/vendor/etc/dropbear # dmesg | grep chip
            [ 0.229499] Meson chip version = RevB (21:B - 82:0)
            [ 1.119001] hdmitx: system: hdmitx_device.chip_type : 3
            [ 1.315935] chip type:0x21
            [ 8.031783] The chip is not support hevc encoder
            [ 10.696865] F1 signature OK, socitype:0x1 chip:0x4330 rev:0x4 pkg:0x0
            [ 10.711865] dhd_conf_set_chiprev: chip=0x4330, chiprev=4
            [ 22.352764] F1 signature OK, socitype:0x1 chip:0x4330 rev:0x4 pkg:0x0
            [ 63.392345] F1 signature OK, socitype:0x1 chip:0x4330 rev:0x4 pkg:0x0
            :/vendor/etc/dropbear # dmesg | grep wifi
            [ 0.000000] Kernel command line: init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 otg_device=1 reboot_mode_android=normal androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,1080p60hz maxcpus=4 vout=1080p60hz,enable hdmimode=1080p60hz frac_rate_policy=1 cvbsmode=576cvbs hdmitx=,444,8bit cvbsdrv=0 irq_check_en=0 androidboot.firstboot=0 jtag=apao androidboot.veritymode=enforcing androidboot.hardware=amlogic page_trace=on androidboot.rpmb_state=0 androidboot.serialno=1234567890 androidboot.wificountrycode=US ro rootwait skip_initramfs androidboot.dtbo_idx=0 vmalloc=512m --cmdline root=/dev/mmcblk0p18 buildvariant=userdebug
            [ 1.556607] wifi: power_on_pin_OD = 0;
            [ 1.559003] aml_wifi wifi: [wifi_dev_probe] no power_on_pin2
            [ 1.564954] aml_wifi wifi: [pwm_double_channel_conf_dt] wifi pwm dt ok
            [ 1.571591] aml_wifi wifi: [pwm_double_channel_conf] wifi pwm conf ok
            [ 1.578232] aml_wifi wifi: [wifi_dev_probe] dhd_static_buf setup
            [ 1.598470] aml_wifi wifi: [wifi_dev_probe] interrupt_pin=487
            [ 1.604394] aml_wifi wifi: [wifi_dev_probe] irq_num=0, irq_trigger_type=1
            [ 1.611384] aml_wifi wifi: [wifi_dev_probe] power_on_pin=486
            [ 1.617276] aml_wifi wifi: [wifi_dev_probe] clock_32k_pin=0
            [ 1.623280] aml_wifi wifi: [wifi_setup_dt] wifi_setup_dt
            [ 1.628674] aml_wifi wifi: [wifi_setup_dt] irq num is69)
            [ 1.634280] aml_wifi wifi: [wifi_setup_dt] interrupt_pin(487)
            [ 1.640197] aml_wifi wifi: [wifi_setup_dt] power_on_pin(486)
            [ 9.700867] dhd_wifi_platform_load: Enter
            [ 9.709944] wifi_platform_set_power = 1
            [ 9.719185] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
            [ 9.927824] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
            [ 10.441619] wifi_platform_bus_enumerate device present 1
            [ 10.952548] wifi_platform_set_power = 0
            [ 21.399190] wl_android_wifi_on in 1
            [ 21.402945] wl_android_wifi_on in 2: g_wifi_on=0
            [ 21.407621] wifi_platform_set_power = 1
            [ 21.416909] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
            [ 21.636701] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
            [ 22.368021] dhd_os_open_image1: /vendor/etc/wifi/buildin/config.txt (47 bytes) open success
            [ 22.400056] Final fw_path=/vendor/etc/wifi/buildin/fw_bcm40183b2.bin
            [ 22.401028] Final nv_path=/vendor/etc/wifi/buildin/
            [ 22.406066] Final clm_path=/vendor/etc/wifi/buildin/clm.blob
            [ 22.413272] Final conf_path=/vendor/etc/wifi/buildin/config.txt
            [ 22.423649] dhd_os_open_image1: /vendor/etc/wifi/buildin/fw_bcm40183b2.bin (239507 bytes) open success
            [ 22.566834] dhd_os_open_image1: /vendor/etc/wifi/buildin/ is not regular file
            [ 22.568538] dhdsdio_download_nvram: Open nvram file failed /vendor/etc/wifi/buildin/
            [ 22.606024] wifi_platform_set_power = 0
            [ 22.614048] wl_android_wifi_on: Failed
            [ 22.617923] dhd_open : wl_android_wifi_on failed (-35)
            [ 22.630510] wl_android_wifi_off in 1
            [ 22.634135] wl_android_wifi_off in 2: g_wifi_on=0, on_failure=1
            [ 22.650001] wifi_platform_set_power = 0
            [ 22.659016] wl_android_wifi_off out
            [ 62.190715] wl_android_wifi_on in 1
            [ 62.194781] wl_android_wifi_on in 2: g_wifi_on=0
            [ 62.201102] wifi_platform_set_power = 1
            [ 62.209324] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
            [ 62.495221] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
            [ 63.506758] dhd_os_open_image1: /vendor/etc/wifi/buildin/config.txt (47 bytes) open success
            [ 63.506815] Final fw_path=/vendor/etc/wifi/buildin/fw_bcm40183b2.bin
            [ 63.506817] Final nv_path=/vendor/etc/wifi/buildin/
            [ 63.506818] Final clm_path=/vendor/etc/wifi/buildin/clm.blob
            [ 63.506820] Final conf_path=/vendor/etc/wifi/buildin/config.txt
            [ 63.508153] dhd_os_open_image1: /vendor/etc/wifi/buildin/fw_bcm40183b2.bin (239507 bytes) open success
            [ 63.673381] dhd_os_open_image1: /vendor/etc/wifi/buildin/ is not regular file
            [ 63.673386] dhdsdio_download_nvram: Open nvram file failed /vendor/etc/wifi/buildin/
            [ 63.673659] wifi_platform_set_power = 0
            [ 63.673664] wl_android_wifi_on: Failed
            [ 63.673668] dhd_open : wl_android_wifi_on failed (-35)
            [ 63.673679] wl_android_wifi_off in 1
            [ 63.673681] wl_android_wifi_off in 2: g_wifi_on=0, on_failure=1
            [ 63.673798] wifi_platform_set_power = 0
            [ 63.673802] wl_android_wifi_off out
            :/vendor/etc/dropbear #
            ```

            Thank you in advance.
            Hannah


            Comment


              #66
              delete
              Last edited by alex161rus; 04-24-2020, 18:16.

              Comment


                #67
                Originally posted by hannah View Post
                Not Working:Remote.
                replace file for nexbox s95x
                /vendor/etc
                Attached Files

                Comment


                  #68
                  Originally posted by alex161rus View Post
                  replace file for nexbox s95x
                  /vendor/etc
                  --------------------------------------

                  ```
                  hannah@DESKTOP-00V2F0C:/mnt/c/opt/rom/ATV9-IMG-DEBUG-AMPERE-V3$ scp -i id_rsa remote_ir_nexbox_a95x_s905x/remote1.tab [email protected]:/vendor/etc
                  #################################
                  * * * * * * * * * * * * * * * * *
                  * Welcome to ampere SSH-server! *
                  * *
                  * * * * * * * * * * * * * * * * *
                  #################################
                  sh: scp: not found
                  lost connection
                  ````

                  scp is failing to copy as it does not exist in the tvbox. Perhaps I need to push it via adb.
                  Shall try later.

                  Wifi is NOT working.

                  Thanks
                  Hannah
                  Last edited by hannah; 04-24-2020, 09:41.

                  Comment


                    #69
                    You have to remount the vendor partition with rw, write access:
                    Code:
                    mount -o rw,remount /vendor

                    Comment


                      #70
                      As for ap6330, it was not buildin wifi and was optionally added. The nvram file is not loading at the moment, I have to find out why

                      EDIT: I found the bug, but this requires full recompilation of the kernel and wifi drivers. If I find time, I try to fix this
                      Last edited by bumerc; 04-24-2020, 09:39.

                      Comment


                        #71
                        Originally posted by bumerc View Post
                        As for ap6330, it was not buildin wifi and was optionally added. The nvram file is not loading at the moment, I have to find out why
                        Okay thanks. I appreciate your effort and patiently waiting.

                        Comment


                          #72
                          At this stage only Wifi NOT working.

                          Originally posted by alex161rus View Post
                          replace file for nexbox s95x
                          /vendor/etc
                          Your remote1.tab file is pushed via adb and the remote is working now. Thank you.

                          Here are the commands run via adb:

                          Code:
                          C:\opt\adb>adb connect 192.168.0.101:5555
                          C:\opt\adb>adb root <------------- must start adb as root otherwise all below commands will fail
                          C:\opt\adb>adb shell mount -o rw,remount /vendor
                          C:\opt\adb>adb push remote1.tab /vendor/etc
                          remote1.tab: 1 file pushed. 0.1 MB/s (2143 bytes in 0.033s)
                          Last edited by hannah; 04-24-2020, 11:42.

                          Comment


                            #73
                            Originally posted by bumerc View Post
                            As for ap6330, it was not buildin wifi and was optionally added. The nvram file is not loading at the moment, I have to find out why

                            EDIT: I found the bug, but this requires full recompilation of the kernel and wifi drivers. If I find time, I try to fix this
                            can add qc9733 to the kernel? then all s905x boards will be supported. It will be great.

                            Comment


                              #74
                              Originally posted by alex161rus View Post

                              can add qc9733 to the kernel? then all s905x boards will be supported. It will be great.
                              Please add ? and repair my Bluetooth please ? i will test it when you make it

                              Comment


                                #75
                                Originally posted by bumerc View Post
                                EDIT: I found the bug, but this requires full recompilation of the kernel and wifi drivers. If I find time, I try to fix this
                                We are gratefully waiting for the updated firmware

                                Comment

                                Working...
                                X