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

[ROM DEVELOPING]Porting made so easy, You can do most of it on your phone!!

$
0
0
Hi XDA! I am a mtk6592 developer, and a key developer of the Micromax canvas gold A300 & Canvas knight A350. People have often asked me for the method i use to port roms. So, I've finally decided to share my method. It is so easy, U can port roms using your phone!



PROS:
1. Works for most devices with any mediatek chipset (may also work for qcomm i don't know)
2. Can be used to port firmwares of same SDK (eg. porting 4.4.4 to 4.4.2)
3. Every feature of port rom is present
4. Takes no more than 5 mins to port
CONS:
1. Ported rom usually has several bugs
2. Problems related to boot.img need a computer
3. Ported rom size may be much larger if you are running a non-aosp based rom (sense, touchwiz etc.)


So lets begin!!
1. Download and extract the rom to be ported.
2. (Assuming you are using your phone\tab) Go to /system/bin and copy everything. Paste it in the port rom's /system/bin BUT DON'T OVERWRITE ANYTHING!
3. Repeat step 2 for /system/lib
4. Now copy file "vold" from /system/bin to /system/bin of port rom folder. Overwrite.
5. Do the same for libMali.so from /system/lib.
6. Form /system/etc/permissions, copy handheld_core_hardware.xml and platform.xml to port rom's /system/etc/permissions. Overwrite.
7. Do the same for everything in /system/etc/firmware and /system/usr/keylayout/generic.kl
8. You can keep build.prop of port rom as it is, or edit according to your convinience. (dosen't matter much)
9. Get your device's mount points from any other rom made for your device. Replace these in port's updater-script.
10. Replace port's boot.img with your stock boot.img.
11. Zip and Flash!!
12. If there is a bootloop, you have to unpack boot.img and make necessary changes. Please follow other guides on XDA for that.
13. For bug fixes, refer to Different guides present .

Please hit the THANKS button if I helped you!!
I have ported over 10 roms using this method for my device alone.

Viewing all articles
Browse latest Browse all 3614

Trending Articles



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