[Q] compile mkbootimg and unpackbootimg - Android Software/Hacking General [Developers Only]

Hi,
I hope I'm posting this in the right section. Sorry if I'm wrong.
I've been banging my head against the wall for a couple of days now.
I need to compile these mkbootimg and unpackbootimg:
github.com/jin-eld/rk3066-mkbootimg
Can someone please help with some pointers on how do I do it?
I've downloaded Ubuntu 12.10 and tried to run 'make' and 'autoconf' but that didn't work. (after installing build-essential package)
I'm not all that familiar with Linux, so be gentle.
If anybody can compile it and post it here I would greatly appreciate it.
Thanks.

Related

need mkbooting

Hi, I'm trying to port to magic cyanogen 3.9.7 rom (like old roms for personal use). I get a error when I unpack the boot.img.
Code:
./unpack-bootimg.pl boot.img
Found a secondary file after the ramdisk image. According to the spec (mkbootimg.h) this file can exist, but this script is not designed to deal with this scenario.
I think the problem is mkbootimg version. I've one for cupcake and I think I have to use one for donut.
Someone could help?
Thanks.
BR.
I had this same problem when unpacking a boot.img
The problem isnt with mkbootimg, mkbootimg just build yaffs2 image files from a given directory. What you're doing is unpacking. Try with split_bootimg perl script (http://android-dls.com/files/linux/split_bootimg.zip)
It worked for me
same problem, same fix as above, working great now
Porting for? 32A?
Cuz I like to learn how to do that, can you point me in a direction?
Is it the boot.img that I have to edit?
ChrisB said:
Porting for? 32A?
Cuz I like to learn how to do that, can you point me in a direction?
Is it the boot.img that I have to edit?
Click to expand...
Click to collapse
Check this out.
http://forum.xda-developers.com/showpost.php?p=4040214&postcount=23

[Q] Guys help to compile fastboot for windows

I know there is compiled binaries but i need my own code to be there.
Please help someone.
I know it's cygwin thinga, but how?

[Q] What tools linux, mac, windows for extracting android img files?

I want to learn a little bit about android and want to ask what tools do you guys use to extract and repack img files. I've been messing around with unyaffs in linux.
Thanks
http://androidforums.com/behold-2-all-things-root/56517-extracting-img-files.html
http://androidforums.com/behold-2-all-things-root/54424-creating-custom-roms-backups-odin.html
Wondering this as well, still digging
phfaty said:
I want to learn a little bit about android and want to ask what tools do you guys use to extract and repack img files. I've been messing around with unyaffs in linux.
Thanks
Click to expand...
Click to collapse
I'm on ubuntu 10.04 and use unyaffs to unpack and mkfs.yaffs2 to repack.
prscott1 said:
I'm on ubuntu 10.04 and use unyaffs to unpack and mkfs.yaffs2 to repack.
Click to expand...
Click to collapse
Thanks that is what I'm also using. I'm wondering if there are other similar tools on Windows 7 and OS X.
I'm an Ubuntu user as well, so I'm not certain - if you can't find anything native, you could run a Linux VM to get around this (or maybe even something like cygwin, if you are fairly technical).
phfaty said:
Thanks that is what I'm also using. I'm wondering if there are other similar tools on Windows 7 and OS X.
Click to expand...
Click to collapse
both Windows and OS X have versions of those tools....
Some tools can also be found here - http://jiggawatt.org/badc0de/android/index.html

[Q] How to make my own script run at boot time in android-x86

Hi,
I developed a script init.myown.rc, How to make it run along with init.rc? What are the files I need to modify (like AndroidBoard.mk etc)?
I want to run this after init.rc, so my changes should also reflect in the android image.
Thanks,
Ravi
Hi Ravi,
I would like to do the same. Did you figure that out? Any help would be appreciated.
Thanks,
Krishnan.
a little bit late, but this may help someone that has the same question:
http://android.stackexchange.com/questions/6558/how-can-i-run-a-script-on-boot

[Q] zImage Editor..?

Hi all!
Does anyone have something editor program which can edit zImage easily?
In Linux Ubuntu or In Windows 7 ...?
plz... I need something easy program to edit zImage because I don't know how to use c+, c++ ...?
If anyone have any good zImage editor then can you tell me the program name?
Thanks
Hey man, you can't edit a zImage and you don't need to know about c+ or c#. If you have linux installed you can easily download the kernel source for your mobile phone and re-compile it for your needs.
OK thanks, but zImage can be edited in JetDroid..
maybe on some phones cant..?

Categories

Resources