Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

mk808 cm10.1 pre alpha- updated 28-01-2014

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

    mk808 cm10.1 pre alpha- updated 28-01-2014

    hello
    i present you pre alpha mk808 cm10.1.3

    Download rk30_mk808.7z and unzip it and flash recovery.img and boot.img and use misc.img to boot to recovery
    and put cm-10.1-20140125-UNOFFICIAL-rk30sdk.zip in sdcard
    before you install it wipe data ,cache and dalvik cache
    then install cm-10.1-20140125-UNOFFICIAL-rk30sdk.zip
    then remove sdcard
    then reboot system

    use it own your risk

    photos attatched
    Download
    MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.


    please ignore boot & recovery in rk30_mk808.7z
    and use new boot and recovery
    MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.


    Click image for larger version

Name:	20140125045839210.png
Views:	1
Size:	59.8 KB
ID:	438861Click image for larger version

Name:	20140125045631782.jpg
Views:	1
Size:	56.0 KB
ID:	438862Click image for larger version

Name:	20140125050443206.png
Views:	1
Size:	90.4 KB
ID:	438863Click image for larger version

Name:	20140125045709365.png
Views:	1
Size:	77.6 KB
ID:	438864Click image for larger version

Name:	20140125045652923.png
Views:	1
Size:	107.9 KB
ID:	438865
    Last edited by mazen; 28 January 2014, 22:41. Reason: update

    #2
    Originally posted by mazen View Post
    hello
    i present you pre alpha mk808 cm10.1.3

    Download package and unzip it and flash kernel.img and recovery.img and boot.img and use misc.img to boot to recovery
    and put cm_rk30sdk.zip in sdcard
    and flash the rom
    and delete & wipe

    then reboot system

    wifi dosen't work

    use it own your risk


    package

    MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.


    Rom

    http://www.mediafire.com/download/gr...cm_rk30sdk.zip
    On what is this rom based?
    On this

    or http://crewrktablets.arctablet.com/?p=1913 or is it a new rom?
    When I flashed the above CM10 roms to my MK808B either the display wasn't fullscreen or the display was stretched off the screen.

    Comment


      #3
      it is new compiled rom
      you must flash 4.2.2 rom first
      Download package and unzip it and flash kernel.img and recovery.img and boot.img and use misc.img
      use ROM_Flash_Tool to flash
      then put cm_rk30sdk.zip in sdcard
      and flash it by recovery and wipe

      Comment


        #4
        Hi mazen

        To fix wifi problem maybe try replacing these files with stock/Finless 2.1 rom for MK808.
        /system/lib/libhardware_legacy.so
        /system/lib/modules/wlan.ko,rkwifi.ko & other .ko files your wifi is using eg realtek or mediatek
        /system/etc/firmware/WIFI_RAM_CODE
        /system/etc/wifi/wpa_supplicant.conf
        / System / bin / Netd
        / System / bin / wpa_supplicant
        / System / bin / wpa_cli
        And the kernel


        Replacing the libhardware legacy.so file and the kernel can sometimes result in the display only showing 1/3 on the screen or being overstretched. This can be fixed with compiling your own kernel and changing stuff in graphics or framebuffer not sure what exactly.

        If anyone can compile me a MK808B(RK903 wifi) 3.0.36 kernel I would be most grateful(or share their kernel source and config file used for compiling). I've used this before https://github.com/mazen912/rk30_r-box_kernel.git with Omegamoon's MK808 config file but couldn't get the kernel to boot, always says no signal or there is no display.
        Is it perhaps also possible to get the latest mali drivers in the rom, MiniX Neo X5 Nov rom has the latest 161KB mali.ko and libmali.so 950KB files?

        Any Antutu score perhaps for this rom?

        Comment


          #5
          thanks for your feedback
          about kernel i use rk30_hotdog_defconfig ( from my github 3.0.36) as a base and i changed the wifi driver to 901
          with toolchain included with omegamoon 3.0.72 kernel

          Any Antutu score perhaps for this rom?
          no sorry

          Comment


            #6
            Hi mazen

            Can you give detailed instructions to get the rom installed/working?
            I flashed the rom but get no signal on screen after instal cm_rk30sdk.zip and reboot in CWM.
            What rom did you use before flashing this, Finless 2.1?
            There is also no misc.img inside the package.zip.
            If I only flash the 3 files inside the package.zip, the blue light of the MK808B doesn't light up, only after Erase IDB and then flash.

            To compile a kernel did you use this https://github.com/mazen912/rk30_r-box_kernel?
            If I compile kernel from above I also have to remove stuff for VPU in RK-30 Makefile and Kconfig otherwise kernel doesn't compile. Also use rk30_hotdog_defconfig but change wifi to RK903.

            Comment


              #7
              Originally posted by mo123 View Post
              Hi mazen

              Can you give detailed instructions to get the rom installed/working?
              I flashed the rom but get no signal on screen after instal cm_rk30sdk.zip and reboot in CWM.
              What rom did you use before flashing this, Finless 2.1?
              There is also no misc.img inside the package.zip.
              If I only flash the 3 files inside the package.zip, the blue light of the MK808B doesn't light up, only after Erase IDB and then flash.

              To compile a kernel did you use this https://github.com/mazen912/rk30_r-box_kernel?
              If I compile kernel from above I also have to remove stuff for VPU in RK-30 Makefile and Kconfig otherwise kernel doesn't compile. Also use rk30_hotdog_defconfig but change wifi to RK903.
              i flashed Finless 2.1 first( let it to boot ) then i flash package.zip (unzip it) and use misc.img from Finless
              2.1 and you will boot your device to recovery mod and install cm_rk30sdk.zip then wipe data and cache
              and reboot system.
              yes i use https://github.com/mazen912/rk30_r-box_kernel ( it is my github) to compile the kernel
              and yes you have to to put #VPU in RK-30 Makefile

              i will try to compile kernel for RK903

              try the kernel attached
              Attached Files

              Comment


                #8
                Redone all the steps to flash the rom and still no signal on screen.
                Flashed Finless 2.1
                Let it boot then flashed the files in package.zip(also tried the RK903 kernel) and misc.img from Finless 2.1.
                It then boots to CWM.
                Flash the cm_rk30sdk.zip and factory reset and wipe cache
                Then reboot
                and then nothing, no signal on screen.

                The RK903 kernel works correctly on other Android 4.2 roms, so it can't be the kernel or is it?

                Comment


                  #9
                  Originally posted by mo123 View Post
                  Redone all the steps to flash the rom and still no signal on screen.
                  Flashed Finless 2.1
                  Let it boot then flashed the files in package.zip(also tried the RK903 kernel) and misc.img from Finless 2.1.
                  It then boots to CWM.
                  Flash the cm_rk30sdk.zip and factory reset and wipe cache
                  Then reboot
                  and then nothing, no signal on screen.

                  The RK903 kernel works correctly on other Android 4.2 roms, so it can't be the kernel or is it?
                  ignore cm10.1 now
                  i am going to rework the rom

                  Comment


                    #10
                    updated

                    Comment


                      #11
                      Hi mazen

                      Can you build a new Mk808B kernel with included fixes from here?
                      For official kernel patch: https://patchwork.kernel.org/patch/1102172/ For more info: http://http://hwswbits.blogspot.com/2013/03/bugfix-for-wrong-monitor-resolution-in.html

                      sram_gpio_init is called from mach-rk30/board-pmu-tps65910.c with PMU_POWER_SLEEP (RK30_PIN6_PB1) as first argument. The return is -EINVAL even though it's a valid pin. This is caused, in rk30...


                      /arch/arm/mach-rk30/board-rk30-sdk-sdmmc.c line 435 change this:

                      #define WIFI_HOST_WAKE RK30_PIN3_PD2
                      should be updated to:
                      #ifdef CONFIG_RK903
                      #define WIFI_HOST_WAKE RK30_PIN6_PA7
                      #else
                      #define WIFI_HOST_WAKE RK30_PIN3_PD2
                      #endif

                      so if RK903 is selected under drivers>network>wireless, the correct GPIO will be used

                      Also change line 133 to have the correct wake pin
                      define WIFI_HOST_WAKE RK30_PIN6_PA7

                      Don't know if these pins should also be changed somewhere for MK808B


                      Your old MK808B kernel works great but wifi is not working, don't know if above fixes might solve it.

                      Will try out the new rom.
                      Do you perhaps know if back button on Mele F10 Flymouse works in this rom or do you have to click every time on the back button on the status bar. If it's not working, is there a solution perhaps?

                      Thanks
                      mo123

                      Comment


                        #12
                        Originally posted by mo123 View Post
                        Hi mazen

                        Can you build a new Mk808B kernel with included fixes from here?
                        For official kernel patch: https://patchwork.kernel.org/patch/1102172/ For more info: http://http://hwswbits.blogspot.com/2013/03/bugfix-for-wrong-monitor-resolution-in.html

                        sram_gpio_init is called from mach-rk30/board-pmu-tps65910.c with PMU_POWER_SLEEP (RK30_PIN6_PB1) as first argument. The return is -EINVAL even though it's a valid pin. This is caused, in rk30...


                        /arch/arm/mach-rk30/board-rk30-sdk-sdmmc.c line 435 change this:

                        #define WIFI_HOST_WAKE RK30_PIN3_PD2
                        should be updated to:
                        #ifdef CONFIG_RK903
                        #define WIFI_HOST_WAKE RK30_PIN6_PA7
                        #else
                        #define WIFI_HOST_WAKE RK30_PIN3_PD2
                        #endif

                        so if RK903 is selected under drivers>network>wireless, the correct GPIO will be used

                        Also change line 133 to have the correct wake pin
                        define WIFI_HOST_WAKE RK30_PIN6_PA7

                        Don't know if these pins should also be changed somewhere for MK808B


                        Your old MK808B kernel works great but wifi is not working, don't know if above fixes might solve it.

                        Will try out the new rom.
                        Do you perhaps know if back button on Mele F10 Flymouse works in this rom or do you have to click every time on the back button on the status bar. If it's not working, is there a solution perhaps?

                        Thanks
                        mo123
                        i will try to compile new kernel but give me some time .

                        the back button dosen't work , but in next compiling i will try to fix it

                        Comment


                          #13
                          Just saw this in mk808b config 3.0.72 file that Omegamoon sent me


                          #
                          # RFKILL_RK POWERON GPIO
                          #
                          CONFIG_RFKILL_RK_POWERON_ENABLE=y
                          CONFIG_RFKILL_RK_POWERON_GPIO=279
                          CONFIG_RFKILL_RK_POWERON_IOMUX=0x3c70

                          #
                          # RFKILL_RK RESET GPIO
                          #
                          CONFIG_RFKILL_RK_RESET_ENABLE=y
                          CONFIG_RFKILL_RK_RESET_GPIO=281
                          CONFIG_RFKILL_RK_RESET_IOMUX=0x3d10

                          #
                          # RFKILL_RK WAKE GPIO
                          #
                          CONFIG_RFKILL_RK_WAKE_ENABLE=y
                          CONFIG_RFKILL_RK_WAKE_GPIO=278
                          CONFIG_RFKILL_RK_WAKE_IOMUX=0x3c60

                          #
                          # RFKILL_RK WAKE HOST GPIO
                          #
                          CONFIG_RFKILL_RK_WAKEHOST_ENABLE=y
                          CONFIG_RFKILL_RK_WAKEHOST_GPIO=282
                          CONFIG_RFKILL_RK_WAKEHOST_IOMUX=0x3d20

                          #
                          # RFKILL_RK UART_RTS GPIO
                          #
                          CONFIG_RFKILL_RK_RTS_ENABLE=y
                          CONFIG_RFKILL_RK_RTS_GPIO=195
                          CONFIG_RFKILL_RK_RTS_IOMUX=0x1a30
                          # CONFIG_VSYNCFIX_SAM321 is not set
                          # CONFIG_VSYNCFIX_PHJA is not set
                          CONFIG_RK_LCDC0_AS_PRIMARY=y
                          # CONFIG_RK_LCDC1_AS_PRIMARY is not set

                          These are the same pin numbers as in the spreadsheet listed above, but how to enable for 3.0.36 kernel, can it just be added to the rk30_hotdog_defconfig file? Will you also take these changes into consideration when compiling the kernel for MK808B?

                          Unfortunately I couldn't build a bootable 3.0.72 kernel with the above config file, that's why I'm asking for help to get at least a 3.0.36 Mk808B kernel working with wifi.

                          Thanks
                          mo123

                          Comment


                            #14
                            updated

                            Comment

                            Working...
                            X