UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    extract the content of this file: boot.img-zImage -> kernel code

    Scheduled Pinned Locked Moved Unsolved Support
    10 Posts 3 Posters 1.9k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • G Offline
        geoeducativa
        last edited by

        Someone who can guide me, I try to extract the source code of a kernel, and I try to do it by doing the following: here,
        but I still haven't been able to continue trying to extract the content of this file: boot.img-zImage
        I would appreciate any guidance

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          geoeducativa @geoeducativa
          last edited by geoeducativa

          @geoeducativa ,
          I have a doubt, if someone who really knows can clear it.
          when unpack boot.img
          these files are obtained

          boot.img-base
          boot.img-cmdline
          boot.img-pagesize
          boot.img-ramdisk.gz ----> ramdisk
          boot.img-zImage ----> kernel
          

          the kernel source code is inside that file: boot.img-zImage
          or boot.img-ramdisk.gz
          or even both, but the source code must be extracted from which file

          R D 2 Replies Last reply Reply Quote 0
          • R Offline
            Rondarius @geoeducativa
            last edited by

            @geoeducativa
            Could this be to any help?

            https://support.zte.com.cn/support/news/NewsDetail.aspx?newsId=1004862

            4 Google Pixel 3A
            1 Google Nexus 6P
            2 Google Nexus 5
            2 Pinephones
            2 Sony Xperia X

            G 2 Replies Last reply Reply Quote 1
            • G Offline
              geoeducativa @Rondarius
              last edited by

              @rondarius ,
              Thank you for helping me, I will try to review the site, see what I can use from there

              1 Reply Last reply Reply Quote 0
              • G Offline
                geoeducativa @Rondarius
                last edited by geoeducativa

                @rondarius ,
                I need to create a device tree, a provider and a kernel to create ROMs
                Could you provide me with all the links of the same device.
                thanks in advance

                1 Reply Last reply Reply Quote 0
                • D Offline
                  doniks @geoeducativa
                  last edited by

                  @geoeducativa said in extract the content of this file: boot.img-zImage -> kernel code:

                  the kernel source code is inside that file: boot.img-zImage
                  or boot.img-ramdisk.gz
                  or even both, but the source code must be extracted from which file

                  most definitely not. the source code has been used to generate this binary image. but there is no realistic way of going back to the source from the binary. you have to find the source elsewhere

                  G 1 Reply Last reply Reply Quote 0
                  • G Offline
                    geoeducativa @doniks
                    last edited by

                    @doniks ,
                    the user: rondarius
                    I provide this link: [https://support.zte.com.cn/support/news/NewsDetail.aspx?newsId=1004862](link url)
                    I think I can start from here.

                    R G 2 Replies Last reply Reply Quote 0
                    • R Offline
                      Rondarius @geoeducativa
                      last edited by

                      @geoeducativa
                      I think I have found data boot and recovery. I don't think there is a vendor partition because the phone is to old to have one.

                      4 Google Pixel 3A
                      1 Google Nexus 6P
                      2 Google Nexus 5
                      2 Pinephones
                      2 Sony Xperia X

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        geoeducativa @geoeducativa
                        last edited by geoeducativa

                        @geoeducativa , another candidate kernel,
                        I will try to adapt this kernel to it: z5s_mini_H113

                        G 1 Reply Last reply Reply Quote 0
                        • G Offline
                          geoeducativa @geoeducativa
                          last edited by

                          @geoeducativa ,
                          other : Generic Kernel android-4.4.y

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post