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

    #16
    Now that is an good answer :-)

    Take a look at http://www.freaktab.com/showthread.p...or-RK-ROM-Devs
    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


      #17
      I'll try and let you know. thank you very much !!!

      Comment


        #18
        I'm going crazy, Brian !!

        Is it so difficult to put a BLACK SCREEN up to bootanimation ? I don't want "double peas" or other images till bootanimation. SIMPLE !

        - I tried linux with your kitchen but at the kernel menĂ¹ there isn't "b" (even if I press "?" button)
        - RKCRC doen't work in linux
        - RKCRC in windows creates a fake kernel.img

        I don't know what else to do.
        Could I get a step by step guide ??

        Thanks guys !!

        Comment


          #19
          Originally posted by blueangel666 View Post
          I'm going crazy, Brian !!

          Is it so difficult to put a BLACK SCREEN up to bootanimation ? I don't want "double peas" or other images till bootanimation. SIMPLE !

          - I tried linux with your kitchen but at the kernel menĂ¹ there isn't "b" (even if I press "?" button)
          - RKCRC doen't work in linux
          - RKCRC in windows creates a fake kernel.img

          I don't know what else to do.
          Could I get a step by step guide ??

          Thanks guys !!
          from my kitchen at the kernel menu press a, this will look through the kernel and find the graphic information. when the menu refreshes you should see the size of the kernel graphic is displayed and also the b menu option should be present.
          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


            #20
            I give up!
            it is very difficult for me

            Comment


              #21
              I'd be happy to take a look at doing this for you. I'd need a PNG of the image you want and a copy of the kernel. if you can upload them and pm me the link I'll take a look tomorrow evening.
              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


                #22
                It's simple (for you) ...., my friend

                I need a BLACK SCREEN till boot animation. I don't want to see "dragons" or "double peas" or other chinese things. Only Boot Animation.

                Kernel is in this ROM "Cube U30GT H 1.11 900 supersport" - Tablet resolution : 1280x800

                Thanks Brian !!

                Comment


                  #23
                  You have a PM, Brian

                  Comment


                    #24
                    Originally posted by 900supersport View Post
                    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.
                    Hi All,

                    900supersport, lewy20041 very nice work.

                    I found a mistake in, for windows should be:
                    Code:
                    rkcrc -k kernel.img working/kernelout.img
                    A little summary, unpack and keep all the files in one folder:
                    1. From 900supersport link
                    2. From lewy20041 link
                    3. Your kernel.img file
                    4. Your new logo.png file (must be png file, rename to logo.png if nessesary)
                    5. From myself: logo-change-script.zip

                    Script itself:
                    Code:
                    @echo off
                    call png2clut224.bat logo.png
                    rkcrc -k kernel.img working/kernelout.img
                    echo. & echo.
                    echo All done.
                    pause > nul

                    Comment


                      #25
                      Error code

                      In my case

                      I do in ubuntu and while trying to write the logo_clut and logo_data got this exception

                      Traceback (most recent call last):
                      File "./FreakTabKitchen.py", line 104, in <module>
                      StartKitchen()
                      File "./FreakTabKitchen.py", line 93, in StartKitchen
                      logerror('FreakTabKitchen::StartKitchen ',e,1)
                      File "/home/jokobuntu/POP/rkKitchen-master/utils.py", line 245, in logerror
                      raise myerror
                      ValueError: invalid literal for int() with base 16: '8L'



                      I almost there I believe

                      Please help

                      Comment


                        #26
                        where is the file?

                        @900supersport
                        where is this tool? i want to download it , it says " Sorry, the file you have requested does not exist."
                        Last edited by tiku; 11-03-2014, 12:49.

                        Comment


                          #27
                          I think that was a tool posted by another user. I'll see if I still have a copy of it.
                          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


                            #28
                            Originally posted by 900supersport View Post
                            I think that was a tool posted by another user. I'll see if I still have a copy of it.
                            Thanks Brian , please upload it urgently i need it, on the first page you have given a link so i thought you are the one who has posted this tool.

                            Comment

                            Working...
                            X