Powered By Blogger

Sonntag, 28. Juli 2013

Rom Porting,the easy and lazy Way!!!!!

Have tested many times and it have ever worked,but its recomned to read and follow the Guide.
-----------------------------------------------------------------------------------------------------------
 Things Needed-Winrar/7zip,Notepad++,a Base Rom and the Rom you will Port
----------------------------------
The best is to use Roms from same Manufacturer with same screen resolution and You can use this Method to port roms From armv6 to armv7 devices but I dont know about the method used to port roms from armv7 to armv6 devices..

What is base Rom:
The ROM which is Developed For your Mobile..
What is Port Rom:
The Rom Which you want to port to your Device.
STEP1;
Take any clean CM9, AOSP, CM7, CM10 ROM which is running on your device as Base ROM.

STEP2:
Extract it Using Winrar.

STEP3:
Take the ROM you want to port. This Port ROM. Extract it also using Winrar.

STEP4:
Delete app, Framework, Fonts and Media folder in System Folder of Base ROM.

STEP5:
Now copy app, Framework, Fonts and Media folder in System Folder from Port rom to base rom system folder.

STEP6:
Now open etc folder in both the ROMs folder.

STEP7:
In etc folder of base ROM open permissions folder and copy all the permissions files in Port rom to your base ROM folder except platform and handheld_hardware .And Then open init.d Folder in Base ROM and Delete Every thing except banner and then copy all the files inside init.d folder of port ROM to Base ROM.

STEP8:
Now open buid.prop file using Notepad++ and make changes to these of Base Rom as you wish.

ro.build.id=
ro.build.display.id=
ro.build.date=
ro.modversion=

STEP9:
In build.prop file change these to same as Port Rom build.prop values.
ro.config.ringtone=
ro.config.notification_sound=
ro.config.alarm_alert=

Also Copy anything you Find Extra in ADDITIONAL BUILD PROPERTIES related to theme..

STEP10:
COPY THE set_perm Lines in META-INF/com/google/android/updater-script From Port to Base ROM After Deleting set_perm lines in Base ROM's Updater-Script.

STEP11:
If You find any extra file or folder in system folder of PORT rom than copy them to your base rom system folder.

STEP12:
Last Step to ZIP THE FOLDERS IN ONE..
SELECT META-INF, system, boot.img(if it is having), data(if it is having).
Right Click and Select Add to Archive..
Select Zip..
Type the Name.
Click OK..

IF YOU ARE HAVING BOOTLOOP THEN COPY THESE LIB FILES TO BASE ROM FROM PORT ROM:
libandroid_runtime.so
libandroid_servers.so
libmedia_jni.so
IF YOUR BASE ROM HAS ISSUES LIKE CAMERA ISSUE THAN YOUR PORTED ROM TOO WILL HAVE ISSUES.

NOW ZIP YOUR ROM AND POST IT BUT DON'T FORGET TO GIVE CREDITS TO THE DEVELOPER OF PORT ROM..
------------------------------------------------------------------------------------------------------------

Keine Kommentare:

Kommentar veröffentlichen