Skip to main content

MAKING PORTING ENVIRONMENT

Registering Your Device To Kitchen:-This step will help to write updater script automatically.

  • Open kitchen and select option 0(advance options) and then select option 12(tools for unpack and repack boot.img etc.) and press "a"(Extract kernel+ramdisk from boot.img,recovery.img etc.) and hit enter.
  • Now a folder will be created Under kitcehn directory named like this- bootimg_040714_132352
  • Now copy your CWM recovery.img for your device to this folder and check that the name must be - recovery.img if not then rename it. and hit enter in kitchen terminal.It will extract your recovery in that folder.
  • Open up boot.img-ramdisk folder, and look for /system/etc/recovery.fstab or /etc/recovery.fstab or similar FSTAB file location. Open this file by notepad++ to find the mount points.
  • Download below file and paste it to C:\cygwin\home\username\kitchen\tools\edify_defs .Now rename it to your device code name.Mine is A110Q so i used this file. You can use as your choice also.
  • Then open this file and recovery.fstab with notepad++ and compare and replace mount points and save it.Means copy mount points from recovery.fstab and paste/replace into Your device codenamed file.
  • Now if you done all above steps right then kitchen will make updater script for you.
  • If you porting for Micromax A110Q then just Download the below File and paste it.No need to edit.Just paste it.
  • >>>>>>Micromax A110Q file - http://d-h.st/Qa5
  • >>>>>>IF you have any confusion or you are unable to create this file then PM me your recovery.fstab file and i will make it.

GET BOTH ROMS- STOCK AND PORT

  • STOCK-Your stock rom which was provided by device manufacturer.
  • PORT- The Rom you selected to port after comparing your device to port device.


GETTING STOCK ROM SYSTEM FOLDER

  

IF your Stock ROM is in already in form of CWM flashable zip then create a Stock Folder in any drive of Computer and extract it for further Use.

Basic Strurture od CWM FLASHABLE ZIPs
META-INF
SYSTEM
DATA
boot.img

IF YOUR ROM IS SP_TOOLS FLASHABLE THEN DO THESE TO EXTRACT SYSTEM FOLDER FROM IT:-

Basically IN SP_TOOLS flashable zips the folder structure is-
DATABASE
boot.img
cache.img
EBR1
EBR2
IK.bin
logo.bin
MBR
MT65xx_Android_scatter_emmc.txt
Preloaded_xxxxxx.bin
recovery.img
secro.img
system.mg
userdata.img


[STEPS]
  • Extract system.img from stock rom zip to C;\cygwin\home\username\kitchen\original_update

    *You should add kitchen folder to favorites panel in my computer as you will be using this folder very frequent.
  • Now open cygwin,type "cd kitchen" hit enter,now press- " ./menu " then android kitchen will load with lots of functions numbering from 1 to ...
  • Press 1 to setup working folder now again hit Enter.Now it will ask you to choose an option to select working folder.Select system.img one folder by pressing its value and hitting enter.
  • Now it will ask about changing working folder name,leave it as default and hit enter.So kitchen will now start copying rom to working folder.
  • After Copying files it will auto prompt and open Ext2Explore application.In some cases it will show that error message that "unable to read disk,please make sure you are running appliacation with administrative rights."But don't worry,click ok.
  • Now after Ext2Explore opened,click on "FILE" on upper left corner and click on "OPEN IMAGE".Now browse to kitchen directory and go through newly created working folder and you will find "ext4_system.img" under system folder.Select it.
  • Right click on file selected in Ext2Explore and Click on SAVE,now browse to same folder where "ext4_system.img" was.Means newly created working folder/system under kitchen directory.
  • Then it will extract "ext4_system.img" to same folder.After finishing extraction close the Ext2Explore application.Now hit Enter in kitchen,again it will say "warning,no boot.img found" .Do not worry,HIT ENTER and go with default.
  • It will ask to view Rom info,you can skit this.
  • So finally you got system folder under working folder.So copy that system folder to any drive and rename it to Stock rom folder for further use.

    [TIP:-]
    >>IF your Rom is odexed then you should deodexed it before copying to any other drive for further use.<<


    HOW TO CHECK THE ROM IS ODEXED:-
    • GO TO SYSTEM/APP and SYSTEM/FRAMEWORK folder and see that for every file there is clone file ending with .odex .If there is then your rom is odexed.

    WHAT IS DEMAERIT OF ODEXED ROM FOR DEVELOPERS-
    • You will not able to theme and modify your rom if system and framework is odexed so better deodex the rom.Deodexing will combine file and its clone .odex to one unit.

    DEODEXING:-
    • AFTER SETTING UP WORKING FOLDER AND DOING ALL ABOVE STEPS,now hit 0 in kithcen and select 11 option and hit enter.
    • IT will show number of odex files in your Rom.Now Select "b" option to deodexing all files,it will take some time.
    • After done,it will show that "0" files left odexed in Rom,now exit kitchen and Now you should copy your system folder to any drive for furter use.


GETTING STOCK ROM BOOT.IMG EXTRACTED
[STEPS]
  • Now open Kitchen and select 0(advance options) and Hit enter,now select option 12(tools for unpack and repack boot.img etc.)
  • Under 12th option,press "a"(Extract kernel+ramdisk from boot.img,recovery.img etc.) and hit Enter
  • Now a folder will be created Under kitcehn directory named like this- bootimg_040714_132352 Now copy your boot.img and paste into this folder.
  • Now switch to Kitchen Terminal and press Enter.Then it will do some process and extract your boot.img,Now copy that folder and save it to any drive and Rename it to stock boot for further use.


NOW DOWNLOAD PORT ROM YOU CHOOSED TO PORT 
AND MOVE TO NEXT STEP BELOW.

Comments

Popular posts from this blog

How To Check DoulCi Server Status

Many people already unlocked their iPhone with iCloud  bypassed activation method using  DoulCi service , but a lot of people who are still not able to bypass their iPhone  iCloud Activation  just because of doulCi server status; as the doulCi server is offline now and then so we find something here to  check DoulCi server status  whether the server is online or offline just read this post for more details. Advertisements iCloud lock is very big shield against thieves, but generally the iPhone user forgot their device password or buy such an iPhone which is locked one, so there is no official mean to bypass the this iCloud Activation except few are available in the market such  Chronicunlocks  which is not a free service, as one have to pay about $149 for unlock service, but on the other hand the doulCi is a free service to bypass iCloud Activation lock. See Also: Apple iCloud Activation Lock Bypassed To Unlock Stolen iPhones iCloud Removal Tool Released By ChronicUnlo
dolby digital plus for lava iris x1 * download here   dolby digital plus.zip *flash it from cwm recovery !!! iam not resoponsible for your mobile. take your own risk,

PORTING ROMS FOR MEDIATEK

FEATURE OF THIS GUIDE- NOOB -> EXPERT  I DONT KNOW THE METHOD I USE TO PORT WILL WORK FOR OTHER CHIPSET DEVICES OR NOT AS I ONLY USED MEDIATEK DEVICE. IF YOU ARE IN A HURRY THEN SEE HERE MY 1-MIN PORTING GUIDE. AND YOU CAN FIND HERE MY TRICKY CONCEPT- "X" TO SAVE MONEY,TIME,NET DATA. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- WORK BEGINS -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- THINGS NEEDED (INSTALL BELOW THINGS AS PER YOUR OS BIT VERSION,IF YOU HAVE 32 BIT OS THEN INSTALL 32 BIT STUFFS AND IF YOU HAVE 64 BIT OS THEN CHOOSE 64 BIT STUFFS. WIndows Running PC or Laptop. JAVA -  Download Cygwin -  Download 7zip Compressor- Downl