5,595,196 Members 45,208 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
jcase
Old
(Last edited by jcase; 26th March 2011 at 05:07 PM.)
#1  
jcase's Avatar
Forum Moderator / Senior Recognized Developer - Taco Vendor - OP
Thanks Meter 5426
Posts: 3,065
Join Date: Feb 2010
Location: Sequim WA

 
DONATE TO ME
Default [DEV][TOOL]Splitting Signed Boot Images - Script

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, 362 views)
Do NOT email me asking for help rooting your device.

Something important?
Email: jcase@cunninglogic.com

Like Android security topics? Join our G+ community -> https://plus.google.com/communities/...07618051049043
My Bitcoin address : 1Newifz6yETTmbziCsZZstmHHPH6ejNr75
The Following 3 Users Say Thank You to jcase For This Useful Post: [ Click to Expand ]
 
Jaywan
Old
#2  
Jaywan's Avatar
Senior Member
Thanks Meter 515
Posts: 900
Join Date: Dec 2010
Location: Newark

 
DONATE TO ME
Nice Job thanks 4 this!

Sent from my ADR6400L using XDA Premium App
*~THE ANDR!OD DOCTOR~*
 
jamezelle
Old
#3  
jamezelle's Avatar
Retired Forum Moderator / Recognized Developer
Thanks Meter 101
Posts: 1,705
Join Date: Nov 2007
Location: Ohio

 
DONATE TO ME
tanks d000d
------------------------------------------------------
Devices:
Samsung Galaxy Nexus VZW LTE: latest AOKP
HTC Thunderbolt: ROOTED S-OFF: Retired
Samsung Fascinate: ROOTED: My MIUI Port with Voodoo
Motorola Droid: ROOTED: My MIUI Port
HTC Droid ERIS: ROOTED: !CRACKED SCREEN! :sad-face: still half-way works My Sense-able 3.1
XV6900: (RIP)
T-mobile wing: Retired(lost)
------------------------------------------------------

follow me on twitter

www.jamezelle.com Work in progress...
Like what I do? Feel free to

 
roland boyd
Old
#4  
Member
Thanks Meter 0
Posts: 43
Join Date: Dec 2009
Location: Kanab , Utah
Thank you jcase

Sent from my ADR6400L using XDA Premium App
 
darkengine
Old
#5  
Junior Member
Thanks Meter 8
Posts: 11
Join Date: Mar 2009
sadly, this script can not work on galaxy note GT-N7000
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes