Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[GUIDE] Port Different KitKat Roms to Your Device (Simplest and Quickest Way)

$
0
0
Many users have had trouble porting KitKat (Android 4.4) Roms due to Googles new file System optimizations and Setup. Here I will show you how:highfive:

Your base Rom MUST Be CM11, You can NOT Port different android versions!!! Also, Devices need to be the same resolution! Also You can NOT port CM Based roms with AOSP as a base!
Before we get Started, you need:
  • Winrar - For extracting and building zips
  • Notepad ++ - For editing scripts
  • Tiny bit of experience with the Android File System
  • 20 minutes of your Life
  • A Desktop (Windows/Linux/Mac - Works on all!)
  • A Brain:p

Lets Clear Up Some Fog:

Q. What Is Base Rom?
A. The Rom which Is developed and working for YOUR Device.

Q. What is Port Rom?
A. The Rom that you want to port to your Device.

Q. What Roms Can I port?
A. Any Cyanogenmod Based Roms, You cannot port AOSP to CM Based roms with this guide. For AOSP you can only port AOSP based roms.

Q. What about Hybrid Roms? Can I port those?
A.Yes and No. Before you port Hybrid Roms, read the threads carefully. Hybrid Roms are based on one Rom with "cherrypicks" of others. Find out what it is based on. If it is based on CM with cherrypick from aosp, slimrom,etc. than YES. If it is based on AOSP with cherrypicks of CM than NO.



Instructions
Quote:

STEP1:

Quote:

Take any clean CM11 ROM which is running on your device as Base ROM.

Quote:

STEP2:

Quote:

Make a New Folder on your desktop, name it "Project - (Name of Your Device)". This is our Working Folder.

Quote:

SETP3:

Quote:

Inside that folder, Create 2 more folders. One Named "BASE" and one Named "PORT"

Quote:

STEP4:

Quote:

Extract Your Base Rom to the "BASE" folder using Winrar.

Quote:

STEP5:

Quote:

Extract Your Port Rom to the "PORT" folder using Winrar.

Quote:

STEP6:

Quote:

Delete addon.d, app, Framework, Fonts, Media and priv-app folder inside System Folder of Base ROM.

Quote:

STEP7:

Quote:

Now copy the addon.d, app, Framework, Fonts, Media and priv-app folders inside System Folder of Port rom to the Base rom System folder.

Quote:

STEP8:

Quote:

Now Go back to Base Rom folder. Navigate to etc folder (BASE/System/etc) and open init.d folder.

Quote:

STEP9:

Quote:

Open init.d Folder in Base ROM and Delete everything except 00banner.

Quote:

STEP10:

Quote:

Navigate to init.d folder in Port Rom (PORT/System/etc/init.d). Copy all the files inside of init.d folder of Port Rom to Base Rom. Don't Copy the 00Banner!

Quote:

STEP11:

Quote:

Open permissions folder of Base Rom (BASE/System/etc/permissions). Do the same in the Port Rom.

Quote:

STEP12:

Quote:

Pay Close Attention!!! Open permissions folder of Port Rom (PORT/System/etc/permissions). Copy all the permission files to Base Rom's permission folder except for :
Quote:

handheld_core_hardware
org.cyanogenmod.hardware
platform


Quote:

STEP13:

Quote:

Now open build.prop file using Notepad++ and make changes to these of Base Rom that you want.
Quote:

ro.build.id=
ro.build.display.id=
ro.build.date=
ro.build.date.utc=
ro.build.user=


Quote:

Change ro.product.locale.language and ro.product.locale.region if you need different language.

Quote:

STEP14:

Quote:

In build.prop file change these to same as Port Rom build.prop values:
Quote:

ro.config.ringtone=
ro.config.notification_sound=
ro.config.alarm_alert=


Quote:

STEP15:
Quote:

You've done it! Now all we have to do is to make it into a flashable ZIP. Pay close Attention!

SELECT META-INF, system,file_contexts(if it is one) boot.img, data(if it is one).
Right Click and Select Add to Archive..
Select the Zip button.
Type the Name (Don't delete ".zip" at the end).
Click OK when ready..


Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>