Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

How

to
port
Made By :Spacecaker

ROMS
First go to the place where you have stored your boot.img

to
Galax
y Ace

Ive put it in C:\cygwin\home\RoBiN-bArRy\kernel

Ok

Now open cygwin


Type that to go to the place where the kernel modding begins

:D

Then

It will look like this

Then type * ./split_bootimg.pl boot.img *

To unpack kernel

It will look like this


Then type *

mkdir ramdisk

cd ramdisk

gzip -dc ../boot.img-ramdisk.gz | cpio -i

cd .. *

Now uhave unpacked the Ramdisk

Now go to the ramdisk


This is just stock cm7 kernel

Now to get the bootpath

Open init.rc with notepad++


Now go to export BOOTCLASSPATH and copy everything after it
By me the bootpath was *
/system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framew
ork/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.ja
r:/system/framework/services.jar:/system/framework/core-junit.jar *

If u are porting a rom from other phone u need to copy paste this to notepad

To remember it

U need to remove the stuff you have unpacked

And do

The first steps to unpack kernel again

Then after u have changed the bootpath to the corresponding rom

U need to do this * ./mkbootfs ./ramdisk | gzip > ramdisk-new.gz *


Then type *

./mkbootimg --base 0x13600000 --pagesize 4096 --kernel boot.img-kernel


--ramdisk ramdisk-new.gz -o boot-new.img *

Now you have made a new boot.img * called boot-new.img


This is the boot img you have made :D

With the new bootpath

Then just copy paste these to the rom u wanna port

* u need to have a cm7 or stock rom first to copy these from *

/lib/libril.so
/lib/libsecril-client.so
/lib/libsec-ril.so
/lib/libdiag.so

/system/hw
/system/modules

/system/etc/firmware , ppp, security, wifi, permission vold.stab

/system/user/keychars, keylayout

Then u can zip pit with winrar :D

You might also like