FORUMS
Remove All Ads from XDA

Compiled mkbootimg for x86 linux?

487 posts
Thanks Meter: 8
 
Post Reply Email Thread
Can anybody compile mkbootimg for linux x86? Since the one's I found in other threads dosen't have --base support. And I don't understand how you compile the mkbootimg.h :/
 
 
21st September 2009, 12:27 AM |#2  
Lox_Dev's Avatar
Senior Member
Flag Kanaky-New-Caledonia
Thanks Meter: 30
 
Donate to Me
More
Here you go.

Simple advice: do an android generic build so you'll get lots of usefull tools compiled.

Reagards
Attached Files
File Type: zip mkboot.zip - [Click for QR Code] (21.3 KB, 8495 views)
21st September 2009, 08:50 AM |#3  
behnaam's Avatar
OP Retired Recognized Developer
Flag Stockholm
Thanks Meter: 8
 
Donate to Me
More
Quote:
Originally Posted by gecka

Here you go.

Simple advice: do an android generic build so you'll get lots of usefull tools compiled.

Reagards

Thx, I want to do that but don't know how, new to linux and android development
21st September 2009, 05:14 PM |#5  
behnaam's Avatar
OP Retired Recognized Developer
Flag Stockholm
Thanks Meter: 8
 
Donate to Me
More
Quote:
Originally Posted by gecka

Everything explained here:

http://source.android.com/download

Thx, I know that one, but not how to compile the code :/
21st September 2009, 11:28 PM |#6  
Lox_Dev's Avatar
Senior Member
Flag Kanaky-New-Caledonia
Thanks Meter: 30
 
Donate to Me
More
Quote:
Originally Posted by behnaam

Thx, I know that one, but not how to compile the code :/

Well it is explained....

Quote:

Building the code
To build the files, run make from within your working directory:
$ cd ~/mydroid
$ make

Just start following the steps and tell me if you have a problem.
12th July 2011, 06:39 PM |#7  
Member
Thanks Meter: 3
 
More
How could i compile mkbootimg?
12th January 2012, 07:59 PM |#8  
Senior Member
Thanks Meter: 19
 
More
Download AOSP

. build/env_setup.sh (Make sure your SHELL is bash(Or at least not zsh)

make mkbootimg

Or

make mkbootimg mkbootfs fastboot adb

(If you have to do a full build you can but for few tools might as well not).
16th September 2012, 09:57 AM |#9  
Miche1asso's Avatar
Senior Member
Flag Treviso
Thanks Meter: 501
 
More
I now this thread is a bit old, but there may be some people able to solve my problem here..

Quote:
Originally Posted by unrandomsam

Download AOSP

. build/env_setup.sh (Make sure your SHELL is bash(Or at least not zsh)

make mkbootimg

Or

make mkbootimg mkbootfs fastboot adb

(If you have to do a full build you can but for few tools might as well not).

That works indeed! And I am on OS X with MacPorts. Thanks guys!

Now… I needed to compile a different mkbootimg, the one that makes use of md5, for the bcm21553 CPU family. I had the full directory with the Android.mk and the .c file. I solved removing the mkbooting directory from the AOSP and putting this new one instead.

Isn't there any other way? I hoped it was just a matter of writing make in the new module/tool directory after setting the environment but such isn't the case.

And another thing: what the heck are the .mk files?? Are they specific to the Android SDK? I can't find anything in Internet.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes