Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

flashing finless rom mk808b from ubuntu

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

    flashing finless rom mk808b from ubuntu

    Hi there,
    I just go my mk808b today and tried to flash the finless rom from ubuntu. For that I used the rkflashtool (the original one did not support the mk808b so I used this one https://github.com/gefire/mk808-tools).
    I compiled it backuped the original images and ran the following commands
    Code:
    sudo ./rkflashtool w 0x00100000 0x0041A000<FinlessROM/system.img
    sudo ./rkflashtool w 0x00008000 0x00010000<FinlessROM/recovery.img
    sudo ./rkflashtool w 0x00008000 0x00008000<FinlessROM/boot1080.img
    sudo ./rkflashtool w 0x00004000 0x00004000<FinlessROM/kernel.img
    sudo ./rkflashtool w 0x00002000 0x00002000<FinlessROM/misc.img
    to find the addresses I ran
    Code:
     sudo ./rkflashtool r 0x0000 0x2000 >first_block
    and
    Code:
    less first_block
    returned
    Code:
    FIRMWARE_VER:4.0.4
    MACHINE_MODEL:MK808B
    MACHINE_ID:007
    MANUFACTURER:RK30SDK
    MAGIC: 0x5041524B
    ATAG: 0x60000800
    MACHINE: 3066
    CHECK_MASK: 0x80
    KERNEL_IMG: 0x60408000
    #RECOVER_KEY: 1,1,0,20,0
    CMDLINE: console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00004000@0x00004000(kernel),0x00008000@0x00008000(boot),0x00008000@0x00010000(recovery),0x000C0000@0x00018000(backup),0x00040000@0x000D8000(cache),0x00300000@0x00118000(userdata),0x00002000@0x00418000(kpanic),0x00100000@0x0041A000(system),-@0x0053A000(user)
    but when i tried to start nothing happened (blue led off, no picture)
    so I wrote the original images back to the device. did not work the first try (I was so scared that I bricked it first day i have it :P) but on the second try and after waiting quite a while it started with a fresh install

    so any ideas what I forgot when writing the images? I saw that there is also the parameter file and the RK30xxLoader(L)_V1.16.bin but I did not know what do do with them. Are they important :P well I guess they are but what to do with them?

    #2
    Ok so I continued reading and I saw on a screenshot of the windows rk flash tool that it also writes RK30xxLoader(L)_V1.16.bin and parameter files. Now my question is how to write these with the linux rkflashtool or similar (like these ones here https://github.com/naobsd/rkutils).

    I also recognized that there is no backup.img in the FinlessROM. I guess this is not needed?

    Comment


      #3
      Originally posted by select View Post
      Ok so I continued reading and I saw on a screenshot of the windows rk flash tool that it also writes RK30xxLoader(L)_V1.16.bin and parameter files. Now my question is how to write these with the linux rkflashtool or similar (like these ones here https://github.com/naobsd/rkutils).

      I also recognized that there is no backup.img in the FinlessROM. I guess this is not needed?
      I wish I could help, see my posts here: http://www.freaktab.com/showthread.p...ll=1#post52269

      and here http://www.freaktab.com/showthread.p...ll=1#post51361

      as I mention in the first one, best info I found was from: http://valentijn.sessink.nl/?p=382

      Definitely post up if you figure it out - I had the same problem as you - write didn't seem to work. ( although in my case, the write didn't seem to actually write at all, as my MK808 was basicially unchanged afterwards )

      There's another linux thread around here too, but I didn't find it and last I checked it didn't have any solutions.

      Comment


        #4
        So what about these CWM tools. Is it possible to install other android dists from within android with http://www.clockworkmod.com/ ROM manager??

        Comment


          #5
          Originally posted by select View Post
          So what about these CWM tools. Is it possible to install other android dists from within android with http://www.clockworkmod.com/ ROM manager??
          Yes, I think that's an option - you can install CWM recovery using the windows flash tools, then once you have that, you should be able to flash roms using CWM. ( my understanding, which could be wrong, was that you can't install the CWM recovery any other way - you have to use the windows flash tool at least once )

          I looked at the instructions, and decided it was too complex and dangerous. Since I'm not flashing every day, I'll just stick to booting a windoz box when I need to flash.

          Comment


            #6
            So in this thread here http://www.freaktab.com/showthread.p...ery-for-MK808B there are instructions on how to install this rom and they do not contain any hints that you need to use windows at all ?? so my guess would be that installing the rom manger should be enough.

            Comment


              #7
              Originally posted by select View Post
              So in this thread here http://www.freaktab.com/showthread.p...ery-for-MK808B there are instructions on how to install this rom and they do not contain any hints that you need to use windows at all ?? so my guess would be that installing the rom manger should be enough.
              oh, that looks awesome ... try it out and let me know how it goes!

              Again, I was nervous about using CWM because it seemed like you had to do some things to the zips that Finless Bob provides - as CWM expects certain formats vs. the windows rk tools. But I wasn't sure about all that ... so again, go for it and be the guinea pig!

              Comment


                #8
                Marvelous Brickage

                tried ....
                Code:
                #!/bin/bash -xsudo rkflashtool w 0x00100000 0x0041A000<FinlessROM/system.img
                sudo rkflashtool w 0x00008000 0x00010000<FinlessROM/recovery.img
                sudo rkflashtool w 0x00008000 0x00008000<FinlessROM/boot1080.img
                sudo rkflashtool w 0x00004000 0x00004000<FinlessROM/kernel.img
                sudo rkflashtool w 0x00002000 0x00002000<FinlessROM/misc.img
                sudo rkflashtool w x0051C000 0x00150000<FinlessROM/RK30xxLoader\(L\)_V1.22.bin
                .... ended up with a beautiful little brick

                Comment

                Working...
                X