Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Hex editing boot image

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

    Hex editing boot image

    Hello all, very nice forum indeed and I've been reading a lot and trying to figure out how to change a boot screen !

    I can change bootanimation and also initlogo no problem but I'm trying to figure out how to change the boot screen on a custom rom to my own liking, a picture of our dog no less

    I have been informed that it may be in the boot.img or kernel, and that I would need to hex edit (patch) the image in but am unsure of how to do this, I have opened the kernel in a hex editor but theres no indication of any images.

    Has anyone successfully managed this ?

    Thank you in advance

    #2
    my kitchen supports this on most of the current kernels. I'll see about posting some instructions for preparing the graphics files.
    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
      Originally posted by Jakemate View Post
      Hello all, very nice forum indeed and I've been reading a lot and trying to figure out how to change a boot screen !

      I can change bootanimation and also initlogo no problem but I'm trying to figure out how to change the boot screen on a custom rom to my own liking, a picture of our dog no less

      I have been informed that it may be in the boot.img or kernel, and that I would need to hex edit (patch) the image in but am unsure of how to do this, I have opened the kernel in a hex editor but theres no indication of any images.

      Has anyone successfully managed this ?

      Thank you in advance
      You should try this Factory Firmware Tool. This one is easy for window users.

      Comment


        #4
        Originally posted by 900supersport View Post
        my kitchen supports this on most of the current kernels. I'll see about posting some instructions for preparing the graphics files.
        Wow, thats a quick reply
        Thanks, that would be ace.... I see it's for linux !
        I have ubuntu installed, use it for creating images for my satellite receiver so I'm ok with linux but if it's for windows thats not really an issue.
        I look forward to having a play

        Originally posted by SpicySaturdayBoy View Post
        You should try this Factory Firmware Tool. This one is easy for window users.
        http://www.freaktab.com/showthread.p...ool-for-Window
        Awesome, I'll have a look now, thanks guys

        Comment


          #5
          Originally posted by SpicySaturdayBoy View Post
          You should try this Factory Firmware Tool. This one is easy for window users.
          http://www.freaktab.com/showthread.p...ool-for-Window

          Just had a look bud but I'm looking to mod boot screen that is found in the kernel and not the initlogo in boot.img.

          Thanks anyway, the software does work for the images you mention in the post so I'll keep a copy of it alongside all the other programs

          Comment


            #6
            Ok I've got the kitchen all setup and working
            Just need some guidance on the image types and files and where I need to put them in order for the kitchen to patch the kernel

            Lovely piece of software !

            Comment


              #7
              Ok if the kitchen tells you the size of the image you should be good to go

              Preparing the image file.
              Once you know the image size you require, create an appropriate png and then in the words of Finless Bob

              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
              Just a quick note of thanks to Finless who gave me the information required to script this.

              drop the two files into local deploy and from the kernel menu select brand
              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


                #8
                Ok I tried branding the kernel but I'm running around in circles now.

                My image is the exoon power pro that is originally by lewis I beleive.

                The two images I am trying to change are the two boot screens when booting into 1080p and 720p mode.

                There are four .img files whithin system/preinstall that I think may be the files in question.

                1080p.img 720p.img

                b1080p.img b720p.img

                I think it may be b1080p and b720p but then again I might be completely wrong.

                This forum has taught me so much up to now, I'm getting even more eager to learn more but sometimes reading for hours on the net can confuse me from conflicting advice.

                Thank you for your help so far

                Comment


                  #9
                  Just to be clear about boot images, we have the following that display in this order
                  1. there is an image within the kernel, the brand option of my kitchen will replace this if you put the prepared image files into the localdeploy folder.
                  2. there is an image (initlogo.rle) within boot.img, my kitchen will unpack, allow changes including replacing initlogo.rle, and re-pack boot.img
                  3. There is a boot animation in system.img, see system/media/bootanimation.zip. On some ROMs I've seen bootanimation_0.zip and bootanimation_1.zip. To get around this I place my animation in bootanimation.zip and create symlinks to it called bootanimation_0.zip and bootanimation_1.zip.

                  Hope this helps
                  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


                    #10
                    Yes I sort of understand that but this image seems to work differently somehow.

                    On first boot I get the image that I have replaced in initboot.rle in the boot.img

                    I then get the bootanimation that I have replaced on system/media

                    In the system settings I can switch resolution to 1080p or 720p, on selecting one of these the box reboots into 720p or 1020p respectivly.

                    Problem is the boot screen then displays an image with booting into 720p or an image saying booting into 1020p

                    I dont know where these are kept or how to modify them, I have tried numerous times to try to identify images with a hex editor, I have rebranded the kernel.img with your kitchen to no avail so I'm wondering where these other 2 boot images are kept ?

                    Sorry for the confusion

                    Comment


                      #11
                      what ROM is it you are looking at, you could try asking the dev
                      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


                        #12
                        It's the exoon power pro rom that Walter adapted from Lewis custom rom for the kr-42

                        I have asked but I don't like hassling individuals which is why I've posted in the open forum so it might help other members also.

                        Comment


                          #13
                          HI there
                          For me ,it is difficult for me to edit or moderate image files without an
                          image tool
                          So i just want to know that if there is any fine
                          image SDK which supports to do that
                          directly.I know there are many kinds of tool for image processing .But i want to get a free trail
                          Thanks for any suggestions.

                          Comment

                          Working...
                          X