Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Jon2555
Old
#1  
Jon2555's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 754
Join Date: Jan 2011
Location: Belgrade
Default Boot.img

Can someone post good guide for editing files in boot.img. I know how to unpackk, repack and compile, but don't know how to edit. In guides that I find they say "edit all you want" or something like that, but don't say HOW.


Sent from my Folio 100 using Tapatalk
ICS AOSP 4.0.1 Port for Folio 100

ICS CM9 4.0.3 Port for ThinkPad Tablet

Toshiba Folio 100 roms:
Often changing but it's usually 'bricked'

Samsung I5700 Galaxy Spica:
CM6.1.1

Huawei Ideos S7:
Stock 2.2 non-rooted rom

Ipad 2:
IOS 4.3.3 Jalibroken

Make A Freshly New DropBox Account And Get 250 MB For Free



Google+ account:
Miki CAR

Skype account:
mikicar81
 
°EraZoR°
Old
#2  
Junior Member
Thanks Meter 3
Posts: 27
Join Date: Mar 2011
?

Just open the files of the unpacked ramdisk (for example init.rc) with the editor you prefer and edit it...

Or replace the kernel file and repack it..
 
Jon2555
Old
#3  
Jon2555's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 754
Join Date: Jan 2011
Location: Belgrade
You don't understand me. How to make or edit files inside kernel?
 
°EraZoR°
Old
#4  
Junior Member
Thanks Meter 3
Posts: 27
Join Date: Mar 2011
You have to recompile it...
There is no other way i know...

Get the source from here
https://github.com/tsh/folio100
Install a cross-compiler (for example CodeSourcery)
start your folio with a kernel you like and get a working config (/proc/config.gz) and copy int into the kernel directory
gunzip it and then
make CROSS_COMPILE=arm-none-linux-eabi- ARCH=arm -j20
I dont know the name of the cross-compiler files.. Maybe they are a little bit different.
-j20 defines how many parallel compiling threads you like to have...
After that you'll have your compiled kernel @ /arch/arm/boot/zImage

And before compiling you are able to make some changes on the kernel..
But not on an compiled kernel..
 
Jon2555
Old
#5  
Jon2555's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 754
Join Date: Jan 2011
Location: Belgrade
Thank's!!!

Sent from my GT-I5700 using Tapatalk
ICS AOSP 4.0.1 Port for Folio 100

ICS CM9 4.0.3 Port for ThinkPad Tablet

Toshiba Folio 100 roms:
Often changing but it's usually 'bricked'

Samsung I5700 Galaxy Spica:
CM6.1.1

Huawei Ideos S7:
Stock 2.2 non-rooted rom

Ipad 2:
IOS 4.3.3 Jalibroken

Make A Freshly New DropBox Account And Get 250 MB For Free



Google+ account:
Miki CAR

Skype account:
mikicar81
 
tobr
Old
#6  
Member
Thanks Meter 11
Posts: 34
Join Date: Dec 2010
Quote:
Originally Posted by Jon2555 View Post
Can someone post good guide for editing files in boot.img. I know how to unpackk, repack and compile, but don't know how to edit. In guides that I find they say "edit all you want" or something like that, but don't say HOW.


Sent from my Folio 100 using Tapatalk
Here is my small Howto - unpack, edit, repack boot.img under Ubuntu with all scripts and compiled tools needed
http://forum.xda-developers.com/showthread.php?t=915808
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Windows-Based Multi-Tool for the Sony Xperia U

If you are a flashaholic and an owner of the Sony Xperia U, you may be interested in the … more

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more