Post Reply

[DEV][TOOL]Splitting Signed Boot Images - Script

26th March 2011, 12:51 AM   |  #1  
jcase's Avatar
OP Forum Moderator / Senior Recognized Developer - Taco Vendor
Flag Sequim WA
Thanks Meter: 7,849
 
3,816 posts
Join Date:Joined: Feb 2010
Donate to Me
More
Quick and dirty modified split_bootimg.pl for splitting our signed boot images.

This will strip the first 256bytes (the signature) from the image.

Advice, this will ruin unsigned boot images, if you are not a competent developer leave th alone, if you are competent
make backups before using.


#!/usr/bin/perl
################################################## ####################
#
# File : split_bootimg.pl
# Author(s) : William Enck <enck@cse.psu.edu>
# Description : Split appart an Android boot image created
# with mkbootimg. The format can be found in
# android-src/system/core/mkbootimg/bootimg.h
#
# Thanks to alansj on xda-developers.com for
# identifying the format in bootimg.h and
# describing initial instructions for splitting
# the boot.img file.
#
# Last Modified : Tue Dec 2 23:36:25 EST 2008
# By : William Enck <enck@cse.psu.edu>
#
# Copyright (c) 2008 The Pennsylvania State University
# Systems and Internet Infrastructure Security Laboratory
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################## ####################
#
# Modified for signed boot images, no longer compatible with
# unsigned images. ~jcase
#
# Modded by a friend of AndIRC
#
################################################## ####################
Attached Files
File Type: zip split_signed_bootimg.pl.zip - [Click for QR Code] (2.2 KB, 406 views)
Last edited by jcase; 26th March 2011 at 05:07 PM.
The Following 3 Users Say Thank You to jcase For This Useful Post: [ View ]
26th March 2011, 01:18 AM   |  #2  
Jaywan's Avatar
Senior Member
Flag Newark
Thanks Meter: 515
 
900 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Nice Job thanks 4 this!

Sent from my ADR6400L using XDA Premium App
26th March 2011, 01:43 AM   |  #3  
jamezelle's Avatar
Retired Forum Moderator / Retired Recognized Developer
Flag Ohio
Thanks Meter: 101
 
1,705 posts
Join Date:Joined: Nov 2007
Donate to Me
More
tanks d000d
26th March 2011, 07:52 AM   |  #4  
Member
Flag Kanab , Utah
Thanks Meter: 0
 
43 posts
Join Date:Joined: Dec 2009
More
Thank you jcase

Sent from my ADR6400L using XDA Premium App
7th April 2013, 07:47 AM   |  #5  
Junior Member
Thanks Meter: 8
 
11 posts
Join Date:Joined: Mar 2009
sadly, this script can not work on galaxy note GT-N7000
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes