Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Decompile and compile boot.Img to modify ramdisk

OP RomWiz

14th July 2012, 08:12 AM   |  #1  
RomWiz's Avatar
OP Recognized Themer
Flag Helsingborg
Thanks Meter: 1,194
 
2,739 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Hello folks.
Does anyone know how to decompile and compile a kernel?
That is the only thing that stops me from developing on my port right know.
What i need to do is to edit some files in ramdisk / init.rc
Thanks in advance.
Last edited by RomWiz; 18th July 2012 at 02:36 PM.
14th July 2012, 09:55 PM   |  #2  
Senior Member
Flag Paris
Thanks Meter: 66
 
204 posts
Join Date:Joined: May 2012
More
I used Kernel Kitchen once, and it worked great !

http://forum.xda-developers.com/show....php?t=1659584

Hope it helps
14th July 2012, 10:01 PM   |  #3  
gabwerkz's Avatar
Recognized Contributor
Flag Three Stars and a Sun
Thanks Meter: 1,545
 
1,511 posts
Join Date:Joined: Aug 2011
More
Quote:
Originally Posted by RomWiz

Hello folks.
Does anyone know how to decompile and compile a kernel?
That is the only thing that stops me from developing on my port right know.
Thanks in advance.

When you say decompile, you can only modify the ramdisk. There are two things inside a boot.img, zImage and ramdisk. zImage is compiled via source, where you modify, insert Governers and Schedulers and a lot more. If that's the route you ought to take, you must have Linux, toolchain, source code etc. Ramdisk on the other hand contains few to many things like init.rc where you insert for example g-recovery etc.

Up to you what you wanna do and your definition of "develop".
Last edited by gabwerkz; 14th July 2012 at 10:03 PM.
14th July 2012, 10:26 PM   |  #4  
RomWiz's Avatar
OP Recognized Themer
Flag Helsingborg
Thanks Meter: 1,194
 
2,739 posts
Join Date:Joined: Jan 2012
Donate to Me
More
I need to modify some things in the init.rc

Sent from my phone via tapatalk
16th July 2012, 10:18 PM   |  #5  
RomWiz's Avatar
OP Recognized Themer
Flag Helsingborg
Thanks Meter: 1,194
 
2,739 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Quote:
Originally Posted by Vinzgore

I used Kernel Kitchen once, and it worked great !

http://forum.xda-developers.com/show....php?t=1659584

Hope it helps

There is no download link :what:

Edit: found it :P
Last edited by RomWiz; 16th July 2012 at 10:23 PM.
The Following User Says Thank You to RomWiz For This Useful Post: [ View ]
17th July 2012, 01:32 PM   |  #6  
N00BY0815's Avatar
Recognized Contributor
Thanks Meter: 1,885
 
2,440 posts
Join Date:Joined: Nov 2011
Donate to Me
Just use dsixda's Android kitchen: http://forum.xda-developers.com/showthread.php?t=633246
There is an option to decompile the kernel.
The Following 2 Users Say Thank You to N00BY0815 For This Useful Post: [ View ]
20th July 2012, 01:21 PM   |  #7  
RomWiz's Avatar
OP Recognized Themer
Flag Helsingborg
Thanks Meter: 1,194
 
2,739 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Quote:
Originally Posted by N00BY0815

Just use dsixda's Android kitchen: http://forum.xda-developers.com/showthread.php?t=633246
There is an option to decompile the kernel.

finally got it working
Thanks
1st August 2012, 07:33 AM   |  #8  
theROMinator's Avatar
Senior Member
Flag California
Thanks Meter: 287
 
1,096 posts
Join Date:Joined: Nov 2010
More
Quote:
Originally Posted by RomWiz

finally got it working
Thanks

Is it just me or do I not see an option to repack it?
1st August 2012, 07:59 AM   |  #9  
RomWiz's Avatar
OP Recognized Themer
Flag Helsingborg
Thanks Meter: 1,194
 
2,739 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Quote:
Originally Posted by theROMinator

Is it just me or do I not see an option to repack it?

There should be an option to compile it again.
The Following User Says Thank You to RomWiz For This Useful Post: [ View ]
1st August 2012, 04:15 PM   |  #10  
theROMinator's Avatar
Senior Member
Flag California
Thanks Meter: 287
 
1,096 posts
Join Date:Joined: Nov 2010
More
Quote:
Originally Posted by RomWiz

There should be an option to compile it again.

It may be because I'm using an older version, I'll download the latest .

Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes