Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

MK808B KitKat kernel [Working WiFi & BT]

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

    MK808B KitKat kernel [Working WiFi & BT]

    I've just finished compiling a KitKat kernel for MK808B.
    WiFi and Bluetooth work great

    Thanks to mo123 for his defconfig file and mawkish for his RK903 patch.

    Download kernel image from here (2016-01-18):
    mk808b_rk903_wifi_fix_kk.zip
    mk808b_rk903_wifi_fix_720p.zip


    Supported ROMs:Non-supported ROMs:Known issues:
    • None (wifi bug is fixed)
    Build instructions:

    git clone https://github.com/BalintBanyasz/kernel_rockchip.git --branch rockchip-3.0-rbox-kk --single-branch rockchip-3.0-rbox-kk

    cd rockchip-3.0-rbox-kk

    ./build_mk808b
    Last edited by BalintBanyasz; 18 January 2016, 22:00.
    iMito QX1 KitKat 4.4.2 ROM
    MK808B (RK903) KitKat kernel builds

    MK808B (RK903) KitKat kernel sources

    #2
    Originally posted by BalintBanyasz View Post
    I've just finished compiling a KitKat kernel for MK808B.
    WiFi and Bluetooth work great

    Use it with an existing RK3066 KitKat rom (e.g. U2.442.000.11.140327) or wait for mo123's rom.

    Thanks to mo123 for his defconfig file and mawkish for his RK903 patch.

    [ATTACH]7487[/ATTACH]

    Nice i will try on my non b tonight.
    Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

    Comment


      #3
      Interesting. Thank you for sharing.

      Comment


        #4
        Thank you

        Hi,

        thanks for the work and sharing the results.

        Comment


          #5
          Only two penguins

          Hi,

          I own a MK808B with RK903 wifi chip. Today I tried to run:

          - mo123's kitkat rom --> two penguins
          - mo123's kitkat rom + your kernel --> two penguins

          (I included the newer bootloader that mo123 posted on his webpage)

          Before that I tried the kitkat roms that have been around for the ugoos sticks (from allminipc forum) --> two penguins

          With the imito kitkat rom from http://www.freaktab.com/showthread.p...from-RIKOMAGIC the I get past the kernel start and into recovery, but it stops at "Formatting /data" and does nothing (waited *very* long).

          With Android 4.2 roms this has never been an issue - roms for clones (like with AP6210 or MTK chips) would still work (but without wifi or bluetooth, of course). As I use ethernet and a wireless keyboard+mouse, that would not be a problem).

          Flashing the kitkat roms always worked without any errors. Any ideas what I should try?

          Comment


            #6
            Hello,

            I've tested this kernel with three KitKat ROMs mentioned in the op. Each one of them booted just fine with both the included and my MK808B kernel.

            I haven't tested mo123's ROM yet.

            Since I have Windows 8.1 which isn't supported by the Rockchip tools, I use Ubuntu to flash the ROMs/kernels:

            First, I use Linux Upgrade Tool v1.16 to install the complete ROM
            • sudo ./upgrade_tool ef update.img (EraseFlash)
            • sudo ./upgrade_tool uf update.img (UpgradeFirmware)

            Then I flash the kernel using the RkFlashKit utility
            • Backup Partition (optional)
            • Erase Partition
            • Flash Image
            • Reboot
            Using these steps I've never faced the problem that you've described. If you have a Linux machine at hand, I suggest you follow these steps for a clean install.

            Originally posted by rk903 View Post
            Hi,

            I own a MK808B with RK903 wifi chip. Today I tried to run:

            - mo123's kitkat rom --> two penguins
            - mo123's kitkat rom + your kernel --> two penguins

            (I included the newer bootloader that mo123 posted on his webpage)

            Before that I tried the kitkat roms that have been around for the ugoos sticks (from allminipc forum) --> two penguins

            With the imito kitkat rom from http://www.freaktab.com/showthread.p...from-RIKOMAGIC the I get past the kernel start and into recovery, but it stops at "Formatting /data" and does nothing (waited *very* long).

            With Android 4.2 roms this has never been an issue - roms for clones (like with AP6210 or MTK chips) would still work (but without wifi or bluetooth, of course). As I use ethernet and a wireless keyboard+mouse, that would not be a problem).

            Flashing the kitkat roms always worked without any errors. Any ideas what I should try?
            iMito QX1 KitKat 4.4.2 ROM
            MK808B (RK903) KitKat kernel builds

            MK808B (RK903) KitKat kernel sources

            Comment


              #7
              It is interesting that you can use the images with both the supplied and your kernel. I must be doing something wrong or my board/flash is somehow different.

              Sadly I only have Linux inside VMware.

              Comment


                #8
                Originally posted by BalintBanyasz View Post

                Known limitations:
                • Significantly lower performance when WiFi is turned on
                  • 10-15000 -> 4500 points in AnTuTu



                Hi,
                First of all, thank you !
                I must be missing something here. Is Antutu score drops to 4500 points when the WiFi is on or is it dropping by 4500 points ?
                Is the performance (with WiFi On) better than Android 4.1 ?

                Thank you!

                Comment


                  #9
                  Originally posted by mowgli View Post
                  Hi,
                  First of all, thank you !
                  I must be missing something here. Is Antutu score drops to 4500 points when the WiFi is on or is it dropping by 4500 points ?
                  Is the performance (with WiFi On) better than Android 4.1 ?

                  Thank you!
                  When WiFi is disabled the KitKat ROMs are just as smooth, if not even smoother than 4.1 and 4.2 ROMs.
                  When WiFi is on, Antutu score drops to 4500-5300 points and the system becomes a bit sluggish.

                  I don't know what causes this. I've only added a few lines to initialize the WiFi/BT module but I haven't touched any other kernel part or driver.

                  So for now, KitKat ROMs on MK808B are best used with an external USB LAN adapter until someone comes up with a proper WiFi fix.
                  iMito QX1 KitKat 4.4.2 ROM
                  MK808B (RK903) KitKat kernel builds

                  MK808B (RK903) KitKat kernel sources

                  Comment


                    #10
                    Originally posted by BalintBanyasz View Post
                    When WiFi is disabled the KitKat ROMs are just as smooth, if not even smoother than 4.1 and 4.2 ROMs.
                    When WiFi is on, Antutu score drops to 4500-5300 points and the system becomes a bit sluggish.

                    I don't know what causes this. I've only added a few lines to initialize the WiFi/BT module but I haven't touched any other kernel part or driver.

                    So for now, KitKat ROMs on MK808B are best used with an external USB LAN adapter until someone comes up with a proper WiFi fix.
                    Thank you for a quick response!

                    Comment


                      #11
                      Any progress on the low performance with wifi turned on?

                      Comment


                        #12
                        I've test your kernel with the U2 stock rom (rooted). I didn't check WiFi. The stick boot several times and then it was done. Stuck on android logo. Did that happen on your device as well?

                        If KitKat is up and running the rom is smooth so far. But scrolling within the stock browser is very bad.

                        Your kernel is 1080. Did you test a 720p as well and what rom do you prefer?

                        Comment


                          #13
                          Originally posted by tecfan69 View Post
                          I've test your kernel with the U2 stock rom (rooted). I didn't check WiFi. The stick boot several times and then it was done. Stuck on android logo. Did that happen on your device as well?

                          If KitKat is up and running the rom is smooth so far. But scrolling within the stock browser is very bad.

                          Your kernel is 1080. Did you test a 720p as well and what rom do you prefer?
                          No, I haven't had that problem. I'm currently using Dumonde's MK808 ROM.
                          I've uploaded the 720p kernel as well but there isn't much improvement over the previous one.
                          You can use this command to check the actual framebuffer resolution:
                          Code:
                          cat /sys/devices/platform/rk-fb/graphics/fb0/disp_info
                          As prahjister pointed out in his post, the performance drop is most likely caused by the Broadcom WiFi drivers. There is a process named dhd_dpc that is eating up about 30% of the CPU when WiFi is enabled.
                          iMito QX1 KitKat 4.4.2 ROM
                          MK808B (RK903) KitKat kernel builds

                          MK808B (RK903) KitKat kernel sources

                          Comment


                            #14
                            Originally posted by BalintBanyasz View Post
                            No, I haven't had that problem. I'm currently using Dumonde's MK808 ROM.
                            I've uploaded the 720p kernel as well but there isn't much improvement over the previous one.
                            You can use this command to check the actual framebuffer resolution:
                            Code:
                            cat /sys/devices/platform/rk-fb/graphics/fb0/disp_info
                            As prahjister pointed out in his post, the performance drop is most likely caused by the Broadcom WiFi drivers. There is a process named dhd_dpc that is eating up about 30% of the CPU when WiFi is enabled.

                            might want to compare init.rc from a working one and mabe even go as far as doing a compare on binary.....beyond compare is a great tool for this.
                            Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

                            Comment


                              #15
                              Minor update - Enabled power indicator LED

                              Here is an updated kernel with the power indicator LED enabled:

                              kernel_mk808b_kk_1080p_20140830.zip

                              The wifi bug is still present
                              iMito QX1 KitKat 4.4.2 ROM
                              MK808B (RK903) KitKat kernel builds

                              MK808B (RK903) KitKat kernel sources

                              Comment

                              Working...
                              X