Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

How to change Splash Screen (NOT BOOTANIMATION) in 900Supersport ROM U30GTH ??

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

    How to change Splash Screen (NOT BOOTANIMATION) in 900Supersport ROM U30GTH ??

    Hi my friends !

    I have installed this rom "Cube U30GT H 1.11 900 supersport". It's perfect, but (sorry 900 supersport), I don't like the Splash Screen on boot. That image with green "dragons".
    NOT BOOT ANIMATION. This is simple to change --> bootanimation.zip

    The splash screen, I think, is in kernel.img, but I don't know how to change it.

    Please, help me ..

    Thanks !!

    #2
    I'm guessing you mean cubes 'double peas'.

    The kitchen I have published has a kernel menu with a brand option. If you have a suitable graphic prepared you can then brand the kernel.

    I'll see about digging out the detail on preparing the image.
    900Supersport

    900supersports FreakTab rkROMkitchen

    900supersports guide to working-RK-ROMs

    Under Construction 900supersports guide to working MediaTek ROMS

    Struggling for time at the moment, but will try and drop by when I can.

    If you would like to support my ROM development then please visit my Google site donate page where you can make a paypal donation

    freaktab developer

    Proof that you're never to old to learn. Sometimes too old to remember though.

    Comment


      #3
      Graphic preparation

      Graphic preparation, you need to know the size of the kernel image, it's often the same as the display resolution. Once you know that prepare a png of the image you want then follow these instructions from Finless

      First this is a handy tool to have. It converts a PNG to CLUT data.
      This will work in windows as it uses CGI-Win dll's. But the scripts inhere should also work in Linux.

      https://docs.google.com/file/d/0B9BF...RNb3BDaGM/edit

      What you do is drag and drop your PNG onto the .bat file and it will convert the PNG to many files.
      Of these files we only need:
      logo_clut
      logo_data

      My kitchen is currently in a test state, I'll shortly be publishing a release version and will post some tutorials when I do.

      Code:
      [FONT=courier new]======================================================================[/FONT]
      [FONT=courier new]| FreakTab RK ROM Kitchen by 900supersport v2.0.0                    |[/FONT]
      [FONT=courier new]| Brian Mahoney                                                      |[/FONT]
      [FONT=courier new]| 19 Oct 2013                                                        |[/FONT]
      [FONT=courier new]======================================================================[/FONT]
      [FONT=courier new]| Current ROM U30GT2V2.06_20131017                                   |[/FONT]
      [FONT=courier new]| CWD /home/brian/Desktop/ROMS/cube/u30gt2/2.06                      |[/FONT]
      [FONT=courier new]| Kernel image size:1920:1200                                        |[/FONT]
      [FONT=courier new]======================================================================[/FONT]
      [FONT=courier new]| a Get Kernel image info                                            |[/FONT]
      [FONT=courier new]| b Brand Kernel                                                     |[/FONT]
      [FONT=courier new]======================================================================[/FONT]
      [FONT=courier new]| m main menu                                                        |[/FONT]
      [FONT=courier new]======================================================================[/FONT]
      [FONT=courier new]Enter selection :[/FONT]
      900Supersport

      900supersports FreakTab rkROMkitchen

      900supersports guide to working-RK-ROMs

      Under Construction 900supersports guide to working MediaTek ROMS

      Struggling for time at the moment, but will try and drop by when I can.

      If you would like to support my ROM development then please visit my Google site donate page where you can make a paypal donation

      freaktab developer

      Proof that you're never to old to learn. Sometimes too old to remember though.

      Comment


        #4
        Thanks Supersport ...

        But, now I have two files : "logo_clut" and "logo_data"

        How can I put inside kernel ?
        Can I do it in windows OS ?

        Comment


          #5
          My kitchen is written in python, the branding of the kernel would probably work in windows, but the kernel needs to be signed with rkcrc.
          900Supersport

          900supersports FreakTab rkROMkitchen

          900supersports guide to working-RK-ROMs

          Under Construction 900supersports guide to working MediaTek ROMS

          Struggling for time at the moment, but will try and drop by when I can.

          If you would like to support my ROM development then please visit my Google site donate page where you can make a paypal donation

          freaktab developer

          Proof that you're never to old to learn. Sometimes too old to remember though.

          Comment


            #6
            i have rkcrc compiled for use in windows.
            i can share if you want.
            Everything is possible if we work together!
            ApkFreak

            Comment


              #7
              oh yes ... lewy !!

              Please, can you share it ?
              Do you want my email (in PV message), or you post here ??

              Thanks !!

              Comment


                #8
                I think this may run stand alone on windows

                I have a working python script, by no means the finished product but it does a job. Use a follows
                in a folder working ensure you have kernel.img, logo_clut and logo_data.
                from the folder containing working (on up) execute the python script.
                sign kernelout.img

                Code:
                rkcrc -k working/kernelout.img kernel.img
                Code:
                #!/usr/bin/python
                
                
                #globals
                cluto = 0   # clut offset
                pl = 0      # palette length
                datao = 0   # data offset
                w = 0       # kernel data image width
                h = 0       # kernel data image height
                ds = 0      # kernel data image size
                    
                def findstring(f, s):
                    '''find the first occurance of the string s in the file f
                
                
                    '''
                    l = len(s) 
                    o = 0
                    f.seek(o)
                    while f.read(l) != s:
                        o = o + 1
                        f.seek(o)
                    return o + l
                    
                def printkerneldata():
                    '''get kernel data '''
                    global cluto    # clut offset
                    global pl       # palette length
                    global datao    # data offset
                    global w        # kernel data image width
                    global h        # kernel data image height
                    global ds       # kernel data image size
                    
                    
                    with open('working/kernel.img', 'r') as fr:
                        o = findstring(fr,'ppllogo_RKlogo_clut') 
                        fr.seek(o)
                        
                        cluto = o
                        pl = int(fr.read(1).encode('hex'),16)
                        print '=================================================='
                        print 'ppllogo_RKlogo_clut offset:', 
                        print "{0:x}".format(cluto)
                        print 'Palette length:', pl
                        print '=================================================='
                        
                        o = findstring(fr,'logo_RKlogo_data') 
                        fr.seek(o)
                        
                        datao = o
                        
                        w=int(fr.read(2).encode('hex'),16)
                        h=int( fr.read(2).encode('hex'),16)
                        ds = w * h + 4
                        
                        print 'logo_RKlogo_data offset:',
                        print "{0:x}".format(datao)
                        print 'resolution: ',
                        print w,':',h 
                        print 'data size: ',
                        print ds
                        
                        print '=================================================='
                
                
                def brandkernel():   
                    global cluto    # clut offset
                    global pl       # palette length
                    global datao    # data offset
                    global w        # kernel data image width
                    global h        # kernel data image height
                    global ds       # kernel data image size
                    
                    with open('working/kernel.img', 'r') as fr:
                        #fr.seek(8)
                        with open('working/kerneltmp.img', 'w') as fw:
                            fw.write(fr.read(cluto))
                            with open('working/logo_clut') as ft:
                                for c in iter(lambda: ft.read(1),""): 
                                    fw.write(c)
                                    fr.read(1)
                            
                            for c in iter(lambda: fr.read(1),""): 
                                    fw.write(c)
                                    
                    #print datao        
                    with open('working/kerneltmp.img', 'r') as fr:
                        fr.seek(8)
                        with open('working/kernelout.img', 'w') as fw:
                            fw.write(fr.read(datao-8))
                            with open('working/logo_data') as ft:
                                for c in iter(lambda: ft.read(1),""): 
                                    fw.write(c)
                                    fr.read(1)
                            
                            for c in iter(lambda: fr.read(1),""): 
                                    fw.write(c)           
                                     
                            
                printkerneldata()
                
                
                brandkernel()
                I'll do some tidying of the code but it works as is, my u30gt2 is now branded,

                This was the test code I developed prior to integrating into my kitchen.
                900Supersport

                900supersports FreakTab rkROMkitchen

                900supersports guide to working-RK-ROMs

                Under Construction 900supersports guide to working MediaTek ROMS

                Struggling for time at the moment, but will try and drop by when I can.

                If you would like to support my ROM development then please visit my Google site donate page where you can make a paypal donation

                freaktab developer

                Proof that you're never to old to learn. Sometimes too old to remember though.

                Comment


                  #9
                  anyway if anyone need it you can get it here
                  Attached Files
                  Everything is possible if we work together!
                  ApkFreak

                  Comment


                    #10
                    It doesn't work on Windows OS or I don't know how it works.

                    I tried with :

                    rkcrc -k working/kernelout.img kernel.img

                    Comment


                      #11
                      Originally posted by blueangel666 View Post
                      It doesn't work on Windows OS or I don't know how it works.

                      I tried with :

                      rkcrc -k working/kernelout.img kernel.img

                      did you "cd" to your working directory?
                      or tr to put whole path for kernel in and out.
                      also you may try cygwin if nothing work
                      in cygwin you need to use something like

                      cd pathtodirectory
                      ./rkcrc -k working/kernelout.img kernel.img
                      Everything is possible if we work together!
                      ApkFreak

                      Comment


                        #12
                        did the python run and create a new file?
                        900Supersport

                        900supersports FreakTab rkROMkitchen

                        900supersports guide to working-RK-ROMs

                        Under Construction 900supersports guide to working MediaTek ROMS

                        Struggling for time at the moment, but will try and drop by when I can.

                        If you would like to support my ROM development then please visit my Google site donate page where you can make a paypal donation

                        freaktab developer

                        Proof that you're never to old to learn. Sometimes too old to remember though.

                        Comment


                          #13
                          Yes,
                          rkcrc create a new kernel.img file.
                          I flashed it on my Cube with ROM Flash Tool (kernel and recovery selected), but after flash, my tablet didn't boot anymore.

                          Comment


                            #14
                            Originally posted by blueangel666 View Post
                            Yes,
                            rkcrc create a new kernel.img file.
                            I flashed it on my Cube with ROM Flash Tool (kernel and recovery selected), but after flash, my tablet didn't boot anymore.

                            Flash your original kernel back. When flashing a kernel you only need to flash the kernel. If you upload the kernel and the two files I'll see if I can brand and sign it for you.

                            Brian
                            900Supersport

                            900supersports FreakTab rkROMkitchen

                            900supersports guide to working-RK-ROMs

                            Under Construction 900supersports guide to working MediaTek ROMS

                            Struggling for time at the moment, but will try and drop by when I can.

                            If you would like to support my ROM development then please visit my Google site donate page where you can make a paypal donation

                            freaktab developer

                            Proof that you're never to old to learn. Sometimes too old to remember though.

                            Comment


                              #15
                              You are very kind, Brian, but I like to learn.
                              I will try linux, maybe your script will work.
                              Can you post everything I need for this job ? Or your script renamed "rkcrc" is enough ?

                              Thanks, Brian!

                              Comment

                              Working...
                              X