MT6582 (3.4.67 to 3.10.54 Kernel) Porting Guide for 5.1.1/CM12.1

Hello Guys,
Today i am going to teach you how to simply port 5.1.1/CM12.1 (3.4.67) roms to your lollipop 3.10.54 kernel MT6582 device.

1st of all make 2 separate folders as PORT & BASE for easy understanding ....... & put rom to port in PORT folder & ur device any 3.10.54 kernel 5.1.1/CM12.1 rom in BASE folder. extract (unzip) them.

Note - Use previous stable 3.10.54 kernel CM12.1 or 5.1.1 rom as a BASE ROM

Steps -
1. Open BASE/system/ & delete app, fonts, framework, media, priv-app, build.prop
Open PORT/system/ & copy app, fonts, framework, media, priv-app, build.prop
Paste them in BASE/system/

2. Open BASE/system/lib/ & copy all the lib files except
          libandroid_runtime.so
          libandroid_servers.so
          libandroidfw.so
          libjava (all files starting from libjava)
          libweb (all files starting from libweb)
 Paste them in the PORT/system/lib/ (replace them).

3. Open PORT/system/lib/ & copy all the lib files & paste them in BASE/system/lib (replace them).

4.  Open BASE/system/bin/ & copy all the files inside bin folder 
Paste them in PORT/system/bin/ (replace them).

5. Open PORT/system/bin/ & copy all the files inside bin folder
Paste them in the BASE/system/bin/ (replace them).

6. Open BASE/system & open build.prop with notepad++
Search for this 2 lines -
ro.sf.lcd_density=
ro.sf.hwrotation=
change values as it has in ur BASE buid.prop file (for example - ro.sf.lcd_density=220 & ro.sf.hwrotation=0)............... if ro.sf.hwrotation=0 line is not present then add it in the build.prop
You can also change device name in the build.prop file

7. Done.................... make a zip of the BASE rom & flash through recovery..................... enjoy..................


 Other Guides -
How to make SD Default Patch - Coming Soon
How to fix invert lock screen - Coming Soon
How to fix Camera - Coming Soon
How to fix Bluetooth - Coming Soon
How to fix WiFi issues - Coming Soon
How to Make FM Radio Patch - Coming Soon
How to add tweaks in Build.prop - Coming Soon
How to fix Sensors - Coming Soon
How to make Mass storage work in CM roms - Coming Soon
How to fix network drop - Coming Soon
How to fix data issue - Coming Soon
How to edit Script file & change Mount points - Coming Soon


If you guys have any queries .......... feel free to ask below in comment section
Keep visiting for daily new posts