Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Binary patched kernels for Pipo models

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by stevejc View Post
    Can we mode the GPU as Randy asks ?

    I don't know what values to set.
    The GPU mod in terms of Voltage / freq in the kernel is not a right way to proceed because:
    - the changes in voltages are totally ignored by the tablet (if you set on table 7 all frequency at 800mV everything will work perfectly)
    - the only increase in freq can be made changing the 600Mhz value to 768Mhz and at stock voltage it is really really difficult to have a stable GPU. For M6pro I decided to not touch the table 7 of the GPU. You can try, but you will easily see artifacts on 3D tests...

    The most important thing is that about the kitkat kernel for the M8HD we can now summarize these information (virtually applicable for all RK3188 tablets):
    1 - the RAM table is 8 ONLY (because, reading on the RK3188 specification, the RAM can have frequency of multiple of 24Hz only, for this reason stock table 9 seems not to be relevant to RAM settings because there aren't multiple of 24).
    2 - about the DDR part of the script (example):
    [1250000, 528256],

    the number
    528256 must be read "528" "256" where 528 = frequency in Mhz (MUST BE a multiple of 24 to be acceptable) and 256 = table parameter associated to "DDR_normal" operation (for m6pro the parameter is 001, and i think that 1 => "1 DDR_FREQ_SUSPEND" is WRONG, it should be as per parameter 256: 1 => "1 DDR_FREQ_NORMAL"). Both numbers are necessary in the script to be correctly used by the tablet.
    if you appreciate my efforts this is the link for any donation:
    https://www.paypal.com/cgi-bin/websc...NonHostedGuest

    Comment


      Originally posted by giouncino View Post
      The GPU mod in terms of Voltage / freq in the kernel is not a right way to proceed because:
      - the changes in voltages are totally ignored by the tablet (if you set on table 7 all frequency at 800mV everything will work perfectly)
      - the only increase in freq can be made changing the 600Mhz value to 768Mhz and at stock voltage it is really really difficult to have a stable GPU. For M6pro I decided to not touch the table 7 of the GPU. You can try, but you will easily see artifacts on 3D tests...

      The most important thing is that about the kitkat kernel for the M8HD we can now summarize these information (virtually applicable for all RK3188 tablets):
      1 - the RAM table is 8 ONLY (because, reading on the RK3188 specification, the RAM can have frequency of multiple of 24Hz only, for this reason stock table 9 seems not to be relevant to RAM settings because there aren't multiple of 24).
      2 - about the DDR part of the script (example):
      [1250000, 528256],

      the number
      528256 must be read "528" "256" where 528 = frequency in Mhz (MUST BE a multiple of 24 to be acceptable) and 256 = table parameter associated to "DDR_normal" operation (for m6pro the parameter is 001, and i think that 1 => "1 DDR_FREQ_SUSPEND" is WRONG, it should be as per parameter 256: 1 => "1 DDR_FREQ_NORMAL"). Both numbers are necessary in the script to be correctly used by the tablet.
      Thanks for you explanations.

      As D33 said, table 9 is only used by RK3188-T (lower frequency), that are found in TV Stick.
      for us (tablet users) table 8 is the one.

      Comment


        Hello, stevejc.

        Could you post your kernel version which has 20500 in antutu?

        Comment


          Re: Binary patched kernels for Pipo models

          Using low v2

          Sent from my M6Pro using Tapatalk

          Comment


            Originally posted by krolmo View Post
            Hello, stevejc.

            Could you post your kernel version which has 20500 in antutu?
            Yes, of couse, but you can try my script and adapt voltage

            My kernel :kernel_cpu1704h_gpu600_ddr667.img DDR voltage : 1250 mV (stock Volt)

            If you have a lucky cpu you can try :

            kernel_cpu1704h_gpu600_ddr720 : DDR voltage : 1300 mV

            or maybe

            kernel_cpu1704h_gpu600_ddr720stockvolt DDR voltage : 1250 mV (stock volt)

            and for very Lucky CPU

            kernel_cpu1704hmin_gpu600_ddr720stockvolt with minimum voltage for CPU

            Comment


              Originally posted by giouncino View Post
              The GPU mod in terms of Voltage / freq in the kernel is not a right way to proceed because:
              - the changes in voltages are totally ignored by the tablet (if you set on table 7 all frequency at 800mV everything will work perfectly)
              - the only increase in freq can be made changing the 600Mhz value to 768Mhz and at stock voltage it is really really difficult to have a stable GPU. For M6pro I decided to not touch the table 7 of the GPU. You can try, but you will easily see artifacts on 3D tests...
              Hi,

              As I read TV stick forum, I look at boot.img.

              In the file init.rk30board.rc, I noticed these following values have been set when loading GPU (mali driver) during boot

              insmod /system/lib/modules/mali.ko mali_dvfs=50,100,133,160,200,266,400 mali_init_clock=50

              I have changed to as D33 suggest.

              insmod /system/lib/modules/mali.ko mali_dvfs=133,200,266,300,400,600 mali_init_clock=133

              and even

              insmod /system/lib/modules/mali.ko

              I didn't really see any change

              How can we monitor the frequency really used by GPU ?

              Comment


                Originally posted by stevejc View Post
                Hi,

                As I read TV stick forum, I look at boot.img.

                In the file init.rk30board.rc, I noticed these following values have been set when loading GPU (mali driver) during boot

                insmod /system/lib/modules/mali.ko mali_dvfs=50,100,133,160,200,266,400 mali_init_clock=50

                I have changed to as D33 suggest.

                insmod /system/lib/modules/mali.ko mali_dvfs=133,200,266,300,400,600 mali_init_clock=133

                and even

                insmod /system/lib/modules/mali.ko

                I didn't really see any change

                How can we monitor the frequency really used by GPU ?
                unfortunately there isn't anything to monitor the GPU frequency as far as I know.
                Pay attention that on RK3188 tablet the mali is already set at its performance limit... so there isn't much room for improvement...
                What I want to tell you is that Iexploring overclock of mali is a waste of time in terms of performance gain in my opinion, the only thing that could be useful is try lowering the voltage (if there was a way to do that!) to improve battery duration....
                if you appreciate my efforts this is the link for any donation:
                https://www.paypal.com/cgi-bin/websc...NonHostedGuest

                Comment


                  Originally posted by stevejc View Post
                  Hi,

                  As I read TV stick forum, I look at boot.img.

                  In the file init.rk30board.rc, I noticed these following values have been set when loading GPU (mali driver) during boot

                  insmod /system/lib/modules/mali.ko mali_dvfs=50,100,133,160,200,266,400 mali_init_clock=50

                  I have changed to as D33 suggest.

                  insmod /system/lib/modules/mali.ko mali_dvfs=133,200,266,300,400,600 mali_init_clock=133

                  and even

                  insmod /system/lib/modules/mali.ko

                  I didn't really see any change

                  How can we monitor the frequency really used by GPU ?
                  cat /sys/dvfs/dvfs_tree
                  dmesg

                  Comment


                    Originally posted by maakie View Post
                    cat /sys/dvfs/dvfs_tree
                    dmesg
                    Unfortunately this command doesn't give you any info about the current frequency used by the gpu, but give you only a feedback of the freq/volt programmed in the kernel...
                    if you appreciate my efforts this is the link for any donation:
                    https://www.paypal.com/cgi-bin/websc...NonHostedGuest

                    Comment


                      Re: Binary patched kernels for Pipo models

                      Originally posted by giouncino View Post
                      Unfortunately this command doesn't give you any info about the current frequency used by the gpu, but give you only a feedback of the freq/volt programmed in the kernel...
                      You can get current GPU freq with
                      cat /proc/freqs |grep gpu
                      (not quite sure about /proc/freqs don't have a device in hands)

                      Sorry,/proc/clocks instead of freqs

                      Отправлено с моего ZTE V975 через Tapatalk
                      https://www.paypal.com/en_US/i/btn/x-click-but11.gif

                      Comment


                        Originally posted by giouncino View Post
                        Unfortunately this command doesn't give you any info about the current frequency used by the gpu, but give you only a feedback of the freq/volt programmed in the kernel...
                        It shows the current rate as well:

                        <4>[74368.314833] | | |- clock: gpu current: rate 594000, volt = 1250000, enable_dvfs = ENABLE
                        <4>[74368.314905] | | |- clk limit:[133000000, 600000000]; last set rate = 594000000

                        Anyway, dnkn's suggestion gives a more readable output.

                        Comment


                          QUOTE=dnkn;161164]You can get current GPU freq with
                          cat /proc/freqs |grep gpu
                          (not quite sure about /proc/freqs don't have a device in hands)

                          Sorry,/proc/clocks instead of freqs

                          Отправлено с моего ZTE V975 через Tapatalk[/QUOTE]

                          Using that command the results are:
                          Sh: gpu: not found
                          Sh: cat: <stdio> broken pipe

                          What am I doing wrong?
                          if you appreciate my efforts this is the link for any donation:
                          https://www.paypal.com/cgi-bin/websc...NonHostedGuest

                          Comment


                            M6pro Kernels for KITKAT 1.8 generated from new sources

                            Here in the following are new kernels for PIPO M6pro and RileyROM 1.8 (or Kitkat stock ROM dated february 13rd or february 20) generated from new source files (many thanks to user maakie), that slightly improve GPS functionality.
                            The user maakie added also the Hotplug governor (that can be set with setcpu or other SW), this interesting governor dinamically uses the necessary cores of the CPU and can set them "offline" independently to save battery.
                            He also added a new beautiful splash screen.

                            This time I decided to prepare more kernels based on the assumption that not all tablet are stable with ram set to 720Mhz only.

                            Here are the files:






















                            HOW TO INSTALL KERNEL:

                            1 - Extract the kernel...img you want to flash from the zip file
                            2 - connect the tablet (In OFF state, NOT STAND-BY) to the PC via USB cable
                            3 - Open riley Flash tool
                            4 - DESELECT all settings EXCEPT KERNEL.IMG
                            5 - Click on the column "..." of the flash tool at the height of the kernel.img, browse and select the correct kernel...img file extracted from the zip
                            6 - Press simultaneously power AND volume + of the tablet until the flash tool detects your tablet
                            7 - Press "Flash Rom" (DO NOT ERASE IDB)

                            The process is really fast, when it's complete the tablet automatically reboots. Now you can disconnect the tablet from USB and enjoy better performace and longer battery duration!

                            NOTE: if the kernel is not stable for your tablet you can try another one. Pay attention that the general rule for stability is:

                            ABOUT CPU:

                            CPU STOCK (STABLE FOR EVERY TABLET)
                            cpu1704h_1325mV (GENERALLY STABLE)
                            cpu1704h_target_2.1 (STABLE FOR SOME TABLETS)
                            cpu1704h_825_users (STABLE FOR SOME TABLETS)
                            cpu1704h_VERY_LOW (STABLE FOR FEW AND LUCKY OWNERS)

                            ABOUT RAM:
                            ddr648 (MOST STABLE)
                            ddr672 (GENERALLY STABLE)
                            ddr720 (GENERALLY STABLE)
                            ddr768 (STABLE FOR SOME TABLETS)

                            ABOUT Battery duration:
                            cpu1704h_825_users or cpu1704h_VERY_LOW and RAM ddr648, ddr672 or ddr720 will give you the best ombinations for battery saving.
                            Last edited by giouncino; 09 April 2014, 18:41.
                            if you appreciate my efforts this is the link for any donation:
                            https://www.paypal.com/cgi-bin/websc...NonHostedGuest

                            Comment


                              whats the difference between these and old stock one.i couldnt get the old ones to work.should i just flash the new stock one over the old one.

                              Comment


                                Originally posted by jaykay View Post
                                whats the difference between these and old stock one.i couldnt get the old ones to work.should i just flash the new stock one over the old one.
                                Yes, you can try...
                                if you appreciate my efforts this is the link for any donation:
                                https://www.paypal.com/cgi-bin/websc...NonHostedGuest

                                Comment

                                Working...
                                X