Hello Readers, Welcome to my blog.
I hope you all are well by the grace of Almighty.
So today I am going to share how to custom ROM for MTK chipset 32bit divices.
First of all, remember that it is simple porting method not the cross(X) porting method. So you can port rom from same chipset and same kernel version. But you can't port rom from different kernel or different chipset with this guide.
And formost I am not responsible for any damage to your device.
Let's Begin:
°The following are matter for this guide
•Your Stock ROM(extract it by system.img extractor)
•Your Port ROM(which you want to port to your dwvice)
•Carliv Image kitchen(For extracting boot.img)
•And a little brain :D.
First make two folders on your desktop. Name them Stock ROM and Port ROM. Now put the extracted version of both rom in these folders. First we will port the boot.img. So use the carliv image kitchen to extract the both port and stock ROM's boot.img. Now open both extraced boot folder and browse to kernel. Copy kernel-zImagexx from stock to port folder.
Now repack it via the Carliv Image Kitchen Software. And you have successfully ported boot.img. Next stop system porting. So, for this you will need to copy files from the stock system files to port system files. Go to stock rom/system/lib and copy the following and paste it in same folder of port rom.
°lib/hw(audio.primary.defualt.so, hwcomposer.so, lights.mt65xx.so, sensors.mt65xx.so)
°lib/soundfx(full folder)
°lib/libcameracustom.so
°lib/camalgo.so
Now open system/etc folder on both rom and copy the following from stock to port rom.
°etc/firmware
°etc/mddb(not necessary if it doesn't exist)
°etc/wifi
Vala!You have successfully poeted a custom rom. Now edit the mountpoints in the
Meta-Inf/com/google/android/updater-script. You can use disk info app to know your devices mount points.
Now zip Meta-Inf, system and boot.img. And your rom is redy to flash.
I hope you enjoyed my post. If I have done any mostake please forgive me. And don't forget to follow me.