Jump to content


Photo

[TOOL] Edit boot.img


  • Please log in to reply
6 replies to this topic

#1
TigTex

TigTex

    Enthusiast

  • Members
  • PipPipPip
  • 177 posts
  • Gender:Male
  • Location:Lisbon, Portugal
  • Devices:ZTE Racer and ZTE Blade
Hey. I've modded the old kitchen that rickywyatt posted here before (thank you). This one works and doesn't require any external program.

Install instructions:
All you need is to unzip the file to a folder and you are ready to go!

How to use:
* Place your boot.img in the same folder as you extracted the kitchen (windows or linux folder)
* Open "start" or run "start.sh" and it should start the program.

Just follow what you see on screen:
Windows:
Run "start.bat"
* Press 1 to decompile the boot.img
* replace the ramdisk.gz (if you want)
* replace the kernel (if you want)
* Press 2 and it will compile the boot.img again!

Linux:
open your terminal and do ./start.sh
* Press 1 to decompile the boot.img
* Press 2 to compile the ramdisk from the ramdisk folder or ramdisk.gz
* Press 3 to create an update.zip with the boot.img
you can press ctrl+c everytime to stop the script

Download:
Version 2.0 Size: 1,71 MB | md5:e1ae1f5f80a16ec5d71b56f598f9ee3b

ChangeLog
v2.0 (31/05/2011)
-Added 32bit linux support
-Removed possibility to edit ramdisk on windows
v1.1 (29/05/2011)
-Replaced 7z with cpio
-It's now 32 and 64bit compatible
v1 (27/05/2011)
-Initial version

Screenshot attached.

Enjoy :D

Attached Files


Edited by TigTex, 31 May 2011 - 06:08 PM.

  • 0
.::. TigTex .::.

#2
isziraki

isziraki

    Newbie

  • Members
  • Pip
  • 26 posts
  • Devices:ZTE Racer
When I ran first it was good.
After I unpack & repack without change anything & old &new image are not same.
Same as Ricky kitchen.
Before every running I delete all files & folder.
Why???

Thank's

Edited by isziraki, 30 May 2011 - 05:03 PM.

  • 0

#3
TigTex

TigTex

    Enthusiast

  • Members
  • PipPipPip
  • 177 posts
  • Gender:Male
  • Location:Lisbon, Portugal
  • Devices:ZTE Racer and ZTE Blade
I tried with 4 different boot.img's and the created boot.img is exactly the same size and content has the original... I can't reproduce your problem

are you using windows vista/7 and running this as admin? Maybe you have some security software that is deleting a file that he thinks it's malware... i don't know...

edit: you can't edit the ramdisk on windows. If you do that you currupt one system link (windows doesn't support that). i've edited the 1st post.

Edited by TigTex, 31 May 2011 - 06:09 PM.

  • 0
.::. TigTex .::.

#4
TigTex

TigTex

    Enthusiast

  • Members
  • PipPipPip
  • 177 posts
  • Gender:Male
  • Location:Lisbon, Portugal
  • Devices:ZTE Racer and ZTE Blade
Updated the program. You can't edit ramdisk on windows... you can only list his content because windows doesn't suport systemlinks.
Also added a linux version. Enjoy

  • 0

#5
isziraki

isziraki

    Newbie

  • Members
  • Pip
  • 26 posts
  • Devices:ZTE Racer
Thank you I tried it on windows.
At weekend I am triing it.

  • 0

#6
xdual

xdual

    Newbie

  • Members
  • Pip
  • 2 posts
Super thanks! With your tool I finally changed my logo.bmp directly on the boot image. But on my Ubuntu 10.10, it's doesn't function. I did unpack and used manually. (Sorry by my english, I'm brazillian). One more time, thanks!

  • 0

#7
cesarbric

cesarbric

    Newbie

  • Members
  • Pip
  • 1 posts
excellent work, just one question: Does this works on mac? thanks

  • 1




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users