[Nokia X] tech virus:
hi everyone one.....here's the way to port roms :)

here's the link for setting up android kitchen...

http://xdaforums.com/showthread.php?t=633246

pls go through this link carefully and setup android kitchen

open cygwin bashshel from desktop shortcut and type "cd kitchen"

and then type " ./menu "

congrats, you've successfully setup android kitchen :)

here you go, the steps for porting rom :

Whats needed:

1. A Pc/Laptop

2. Java and all other android related things

installed i.e. ADB ,etc

3. XDA kitchen

4. Cygwin

5. A Base rom( Which you have as stock or

which is currently running smoothly) - Your

stock rom

6. A Port rom (which you wanna port) - A rom

which is not meant for your device but have

same specs and you want to port it to your

phone.

7. A Mind (MOST IMPORTANT) if not. Please

Leave. ;)

after opening up cygwin bash shel and type following commands said above.

Okay Lets Go,

Now i will directly guide you how i port roms

and skip anything else:

Just enter "00" hit enter, and then "28" and hit

enter

Now you will see a window asking two options,

Type "a" and hit enter.

now go to C:\cygwin\home\ username \kitchen

\original_update

and place the two roms 1)Stock or currently

working rom 2) Port Rom

-Now Go back to the kitchen menu and hit enter.

Now it will ask you to choose the stock rom.

Choose the rom which is currently working for

you and hit enter.

-Now it will ask you to choose the rom you

wanna port. Choose it and hit enter.

-READ EVERYTHING CAREFULLY AND PRESS

ENTER. Let it port the boot.imgs for you.

Have patience it will take some time.

It will extract kernels, decompile it, port it,

recompile it,etc. So let it work and have a cup

of coffee in meanwhile. :)

-Now it will end and it will get back you to the

porting menu. (CONSIDER THAT DONE AND EXIT)

-Now Go to the C:\cygwin\home\ username

\kitchen\ and you will see a working folder.

-Go to it. And now just copy the modified

boot.img from that folder and copy it to the

orginal ported rom you downloaded earlier from

my previous posts or any other original ported

rom you wanna port for your device.

-Open the rom zip file with Winrar and replace

the boot.img

-Now just put it in root of SD CARD and flash it

with your suitable recovery. If the specs of the

port rom is same you will run the newly cooked

rom without any errors XD

And if you hit an error let me know ill show you

how to Solve that.

Thanks readers. Have fun Porting.

Patch Solutions:

Copy "Stock Rom" to "Port Rom" (if not

worked) :-

\system\etc\firmware\modem.img - SIM1/ 2

not working

\system\lib\module\mtk_stp_wmt - Wi-Fi/

Bluetooth can't switch on

\system\usr\keylayout\Generic.kl - Home key

doesn't work

For CAMERA - "can't connect to Camera or

force closed":-

Just copy below listed file from "Stock ROM"

to "Port ROM" :-

For android 4.0 (ICS) & 4.1 (J￼.

\system\lib\hw\camera.default.so

\system\lib\libcamera_client.so

\system\lib\libcameracustom.so

\system\lib\libcameraprofile.so

\system\lib\libcameraservice.so

\system\lib\libmhal.so

\system\lib\libmhalcontent.so

\system\lib\libmhaldrv.so

\system\lib\libmhalmdp.so

\system\lib\libmhalpipe.so

\system\lib\libmhalscenario.so

\system\lib\libmhalutility.so

\system\etc\permission

\android.hardware.camera.front.xml

\system\etc\permission

\android.hardware.camera.xml

For FM Radio :- "FM Radio not working.":-

Just copy below listed file "Stock Rom" to

"Port Rom" :-

\system\etc\firmware

\mt6620_patch_e3_hdr.bin

\system\etc\firmware

\mt6620_patch_e6_hdr.bin

\system\etc\firmware\WMT.CFG

\system\lib\modules\mtk_fm_drv.ko

\system\lib\libfmcust.so

For Sdcard not mounted correctly :-

Just copy below listed file "Stock Rom" to

"Port Rom" :-

\system\etc\vold.fstab

\system\etc\vold.fstab.nand

For WiFi not working correctly :-

Just copy below listed file "Stock Rom" to

"Port Rom" :-

\system\lib\modules\mtk_stp_wmt.ko

\system\lib\modules\mtk_wmt_wifi.ko

For Bluetooth not working :-

Just copy below listed file "Stock Rom" to

"Port Rom" :-

\system\lib\libbluetooth_mtk.so

\system\lib\libbluetoothem_mtk.so

For GPS not working :-

Just copy below listed file "Stock Rom" to

"Port Rom" :-

\system\xbin\libmnlp

hit thanks if this helped :D

thank you for your patience :)