I have found this tutorial for porting rom for Nokia X2. I have tested and it's work when porting CM11 rom based from moto e
What you need:
Code:
Base rom: CM11 Lastest build
Port rom: the rom need to port(from devices have the same chipset and based cm11)
WinRAR
Notepad++
BrainQuote:
STEP1 : Create BASE and PORT folder on your desktop |
Quote:
STEP2 : Extract CM11 rom to BASE folder and port rom to PORT folder using Winrar. |
Quote:
STEP3 : Delete folder : app framework fonts media priv-app in BASE/system |
Quote:
STEP4: Quote: Now copy folder app framework fonts media priv-app from PORT/system to BASE/system |
Quote:
STEP5: Copy without Releapce all files from PORT/system/etc to BASE/system/etc do the same with : PORT/system/bin to BASE/system/bin PORT/system/xbin to BASE/system/xbin PORT/system/vendor to BASE/system/vendor |
Quote:
STEP6: 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= 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.. ![]() |
Quote:
STEP7: COPY The set_perm Lines in META-INF/com/google/android/updater-script from PORT to BASE after deleting set_perm lines in BASE updater-Script. |
Quote:
STEP8: If You find any extra file or folder in system folder of PORT rom than copy them to your BASE rom system folder. |
Quote:
STEP9: 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.. |
Thanks to @rishabh.raj37
The original Tutorial : http://forum.xda-developers.com/show....php?t=1908008



Aucun commentaire:
Enregistrer un commentaire