Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Interesting stuff! sys config file

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

    #16
    Originally posted by Finless View Post
    So one thing I hated with this box is no ADB. While we do have a OTG for flashing ROM's I could not get it to turn on ADB debugging.

    Well I am going to play with this!

    As you see none of the ports are configured as OTG.

    Bob
    :
    I don't think / not sure if this could be enough/helps because I'm also missing
    'Settings -> [DEVICE] USB -> Enable Connect to PC'
    RK3288 Devices
    - Overview BOX (LINK !)
    - Overview STICK (Dongle) (LINK !)

    MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
    UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
    Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
    Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

    RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
    Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

    Comment


      #17
      ADB

      We talk about at another thread but can't remember where

      FYI
      NO need for any apk, because the service is running and listening at port 5555 (at stock rom)
      getprop => [service.adb.tcp.port]: [5555]

      So a cmd/shell-script with
      Code:
      adb kill-server
      adb connect [I]<box-ip>[/I]:5555
      and, but I don't checked the MAC if it is static or not, DHCP could help a lot
      because 'Settings -> [SYSTEM] -> { } Developer options -> USB debugging' is checked at default
      RK3288 Devices
      - Overview BOX (LINK !)
      - Overview STICK (Dongle) (LINK !)

      MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
      UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
      Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
      Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

      RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
      Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

      Comment


        #18
        USB port as OTG

        Well I tried like hell all morning to modify the config.fex and get one of the USB ports to act like a OTG port and thus get ADB as well.

        NO GO! No matter what I set any of the USB ports for in config.fex (and yes I am compiling that) they do not change. So it appears either it wont enable in the SDK or is hard coded in the kernel

        Bob
        "Pzebacz im, bo nie wiedzą, co czynią"
        "Прости им, они не ведают, что творят"
        "Perdona loro perché non sanno quello che fanno"
        "Vergib ihnen, denn sie wissen nicht, was sie tun"
        "Vergeef hen want ze weten niet wat ze doen"
        "Pardonne-leur car ils ne savent pas ce qu'ils font"
        "Perdónalos porque no saben que lo que hacen"
        "Oprosti im, jer ne znaju što čine"
        "Forgive them as they know not what they do"





        Comment


          #19
          So it appears to get USB0 as an OTG I must have opther ports assigned. Here is a A10 for instance

          usb_used = 1
          691 usb_port_type = 2
          692 usb_detect_type = 1
          693 usb_id_gpio = port:PH04<0><1><default><default>
          694 usb_det_vbus_gpio = port:PH05<0><0><default><default>
          695 usb_drv_vbus_gpio = port:PB09<1><0><default><0>
          696 usb_host_init_state = 0


          As you see the ID, DET ports have an address. So Detect and ID probably need to be assigned. Our A80 does not have those port assignments and I have no clue what they should be either!

          More "in the dark" to learn I guess

          Bob
          "Pzebacz im, bo nie wiedzą, co czynią"
          "Прости им, они не ведают, что творят"
          "Perdona loro perché non sanno quello che fanno"
          "Vergib ihnen, denn sie wissen nicht, was sie tun"
          "Vergeef hen want ze weten niet wat ze doen"
          "Pardonne-leur car ils ne savent pas ce qu'ils font"
          "Perdónalos porque no saben que lo que hacen"
          "Oprosti im, jer ne znaju što čine"
          "Forgive them as they know not what they do"





          Comment


            #20
            Bob,

            You are spot on, and I'm surprised nobody bothered to test.

            After looking at the below and this thread, I decided to test it.






            Code:
            [dram_para]
            dram_clk        = [B]672[/B]
            dram_type       = 3
            dram_zq         = [B]0x003F3FDD[/B]
            Code:
            [dram_scene_table]
            LV_count = 4
            
            LV1_scene = 1
            LV1_freq  = [B]672000000[/B]
            
            LV2_scene = 2
            LV2_freq  = [B]672000000[/B]
            
            LV3_scene = 3
            LV3_freq  = 168000000
            
            LV4_scene = 4
            LV4_freq  = [B]672000000[/B]

            Code:
            [dvfs_table]
            vf_table_count = 3
            
            [vf_table0]
            ;little
            L_max_freq = 1200000000
            L_min_freq = 480000000
            
            L_LV_count = 8
            
            L_LV1_freq = 1200000000
            L_LV1_volt = 1020
            
            L_LV2_freq = 1104000000
            L_LV2_volt = 960
            
            L_LV3_freq = 1008000000
            L_LV3_volt = 900
            
            L_LV4_freq = 816000000
            L_LV4_volt = 840
            
            L_LV5_freq = 0
            L_LV5_volt = 840
            
            L_LV6_freq = 0
            L_LV6_volt = 840
            
            L_LV7_freq = 0
            L_LV7_volt = 840
            
            L_LV8_freq = 0
            L_LV8_volt = 840
            
            ;big
            B_max_freq = 1800000000
            B_min_freq = 600000000
            
            B_LV_count = 8
            
            B_LV1_freq = 2016000000
            B_LV1_volt = 1200
            
            B_LV2_freq = 1800000000
            B_LV2_volt = 1100
            
            B_LV3_freq = 1608000000
            B_LV3_volt = 1000
            
            B_LV4_freq = 1200000000
            B_LV4_volt = 900
            
            B_LV5_freq = 0
            B_LV5_volt = 900
            
            B_LV6_freq = 0
            B_LV6_volt = 900
            
            B_LV7_freq = 0
            B_LV7_volt = 900
            
            B_LV8_freq = 0
            B_LV8_volt = 900
            
            [vf_table1]
            ;little
            L_max_freq = 1200000000
            L_min_freq = 480000000
            
            L_LV_count = 8
            
            L_LV1_freq = 1200000000
            L_LV1_volt = 1060
            
            L_LV2_freq = 1008000000
            L_LV2_volt = 960
            
            L_LV3_freq = 912000000
            L_LV3_volt = 900
            
            L_LV4_freq = 720000000
            L_LV4_volt = 840
            
            L_LV5_freq = 0
            L_LV5_volt = 840
            
            L_LV6_freq = 0
            L_LV6_volt = 840
            
            L_LV7_freq = 0
            L_LV7_volt = 840
            
            L_LV8_freq = 0
            L_LV8_volt = 840
            
            ;big
            B_max_freq = 1800000000
            B_min_freq = 600000000
            
            B_LV_count = 8
            
            B_LV1_freq = [B]2016000000[/B]
            B_LV1_volt = [B]1200[/B]
            
            B_LV2_freq = [B]1800000000[/B]
            B_LV2_volt = [B]1100[/B]
            
            B_LV3_freq = [B]1608000000[/B]
            B_LV3_volt = [B]1000[/B]
            
            B_LV4_freq = [B]1200000000[/B]
            B_LV4_volt = [B]900[/B]
            
            B_LV5_freq = [B]0[/B]
            B_LV5_volt = [B]900[/B]
            
            B_LV6_freq = [B]0[/B]
            B_LV6_volt = [B]900[/B]
            
            B_LV7_freq = [B]0[/B]
            B_LV7_volt = [B]900[/B]
            
            B_LV8_freq = [B]0[/B]
            B_LV8_volt = [B]900[/B]
            
            [vf_table2]
            ;little
            L_max_freq = 1200000000
            L_min_freq = 480000000
            
            L_LV_count = 8
            
            L_LV1_freq = 1200000000
            L_LV1_volt = 1020
            
            L_LV2_freq = 1104000000
            L_LV2_volt = 960
            
            L_LV3_freq = 1008000000
            L_LV3_volt = 900
            
            L_LV4_freq = 816000000
            L_LV4_volt = 840
            
            L_LV5_freq = 0
            L_LV5_volt = 840
            
            L_LV6_freq = 0
            L_LV6_volt = 840
            
            L_LV7_freq = 0
            L_LV7_volt = 840
            
            L_LV8_freq = 0
            L_LV8_volt = 840
            
            ;big
            B_max_freq = 1800000000
            B_min_freq = 600000000
            
            B_LV_count = 8
            
            B_LV1_freq = 2016000000
            B_LV1_volt = 1200
            
            B_LV2_freq = 1800000000
            B_LV2_volt = 1100
            
            B_LV3_freq = 1608000000
            B_LV3_volt = 1000
            
            B_LV4_freq = 1200000000
            B_LV4_volt = 900
            
            B_LV5_freq = 0
            B_LV5_volt = 900
            
            B_LV6_freq = 0
            B_LV6_volt = 900
            
            B_LV7_freq = 0
            B_LV7_volt = 900
            
            B_LV8_freq = 0
            B_LV8_volt = 900

            I edited "Finless ROM 1.1 - BETA2" with DragonFace and the above settings.
            The device runs fine, no crash yet, and seems overall much snappier.


            Lastly, I'm not sure if the below build.props edits are efficient:




            Code:
            #dalvik.vm.execution-mode=int:jit
            #debug.sf.hw=1
            #debug.egl.hw=1
            #debug.composition.type=gpu
            #debug.gr.numframebuffers=3
            #video.accelerate.hw=1
            #debug.performance.tuning=1
            #windowsmgr.max_events_per_sec=90
            
            ro.config.nocheckin=1
            profiler.force_disable_err_rpt=1
            profiler.force_disable_ulog=1
            ro.kernel.android.checkjni=0
            
            debug.sf.nobootanimation=1
            
            media.stagefright.enable-meta=true
            media.stagefright.enable-player=true
            media.stagefright.enable-scan=true
            media.stagefright.enable-http=true
            media.stagefright.enable-record=false
            
            net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
            net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960

            Also the boxes could fake a "nexus player", for apps that only offer "pinch-to-zoom & un-zoom", that we cannot replicate with remote control, not sure if this works...:

            Code:
            ro.product.model=Nexus Player
            ro.product.brand=google
            ro.product.manufacturer=Asus

            Comment


              #21
              I did not want to push the box to 672 dram timing for my 1.1 ROM. I was worried about stability. While I myself have done it and not had a problem I did not want to do it for others yet.... Next ROM I think I will offer both.

              Bob
              "Pzebacz im, bo nie wiedzą, co czynią"
              "Прости им, они не ведают, что творят"
              "Perdona loro perché non sanno quello che fanno"
              "Vergib ihnen, denn sie wissen nicht, was sie tun"
              "Vergeef hen want ze weten niet wat ze doen"
              "Pardonne-leur car ils ne savent pas ce qu'ils font"
              "Perdónalos porque no saben que lo que hacen"
              "Oprosti im, jer ne znaju što čine"
              "Forgive them as they know not what they do"





              Comment


                #22
                This also allows the CPU to reach 1800 MHZ.

                Comment


                  #23
                  Originally posted by GJayJayG View Post
                  This also allows the CPU to reach 1800 MHZ.
                  Yes, after 1800 though, the kernel is locked and wont allow higher

                  Bob
                  "Pzebacz im, bo nie wiedzą, co czynią"
                  "Прости им, они не ведают, что творят"
                  "Perdona loro perché non sanno quello che fanno"
                  "Vergib ihnen, denn sie wissen nicht, was sie tun"
                  "Vergeef hen want ze weten niet wat ze doen"
                  "Pardonne-leur car ils ne savent pas ce qu'ils font"
                  "Perdónalos porque no saben que lo que hacen"
                  "Oprosti im, jer ne znaju što čine"
                  "Forgive them as they know not what they do"





                  Comment

                  Working...
                  X