Code Monkey home page Code Monkey logo

ubantu-tool-bootimg's Introduction

Ubantu Boot Tool

it is a ubantu system tool for unpacking and repacking Boot.img files for Qualcomm devices

How To Download

► Choose your Local Directory

  $ cd /home/$user$/Workspace

► Open terminal on this Directory

► Type Those command for Download it

  $ git clone https://github.com/Kukun7610/ubantu-tool-bootimg.git

How to Unpack bootimg

► Copy the boot.img file into ubantu-tool-bootimg folder

► Open terminal on same folder

► Run script

  $ ./boot-tool boot.img boot

► on there

► boot.img is origenal bootimg file

► boot folder is after extraction of boot.img file

► Example

$ ./boot-tool boot.img boot
Unpack & decompress boot.img to boot
  kernel         : /home/$USER$/workspace/ubantu-tool-bootimg/boot/zImage
  ramdisk        : /home/$USER$/workspace/ubantu-tool-bootimg/boot/ramdisk.gz
  page_size      : 2048
  base_addr      : 0x00000000
  kernel size    : 4146912
  kernel_addr    : 0x00008000
  ramdisk_size   : 89
  ramdisk_addr   : 0x01000000
  second_size    : 0
  second_addr    : 0x00f00000
  dtb_size       : 419840
  dtb_img        : /home/$USER$/workspace/ubantu-tool-bootimg/boot/dt.img
  tags_addr      : 0x00000100
  cmdline        : console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 utags.blkdev=/dev/block/platform/msm_sdcc.1/by-name/utags vmalloc=400M

How to Repack bootimg

► After Modify boot folder

► Open terminal on same folder

► run script

  $ ./boot-tool boot newboot.img

► on there

► boot.img is origenal bootimg file

► boot folder is after extraction of boot.img file

► Example

 $ ./boot-tool boot newboot.img
mkbootimg from boot/img_info.
  kernel         : /home/$USER$/workspace/ubantu-tool-bootimg/boot/zImage
  ramdisk        : /home/$USER$/workspace/ubantu-tool-bootimg/boot/new_ramdisk.gz
  page_size      : 2048
  base_addr      : 0x00000000
  kernel size    : 4146912
  kernel_addr    : 0x00008000
  ramdisk_size   : 89
  ramdisk_addr   : 0x01000000
  dtb_size       : 419840
  dtb_img        : dt.img
  tags_addr      : 0x00000100
  cmdline        : console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 utags.blkdev=/dev/block/platform/msm_sdcc.1/by-name/utags vmalloc=400M
Kernel size: 4146912, new ramdisk size: 87, newboot.img: 4571136.
newboot.img has been created.

History

No DATA

ubantu-tool-bootimg's People

Watchers

 avatar

ubantu-tool-bootimg's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.