snapdragon to mediatek porting guide - Tech18

Breaking

Sunday, February 25, 2018

snapdragon to mediatek porting guide

You can port from

Snapdragon to Mediatek and Mediatek to Snapdragon


For LP :
MSM : Kernel - 3.10.54 to MTK : Kernel - 3.10.65
For MM
MSM : Kernel - 3.10.48 to MTK : Kernel - 3.18.19



First part Boot.Img




1.Replace kernel from stock to port
2.From init.rd all files need compared-named need to be same from stock bootimg and use your brain to change Mount points in init.rc(also init.qcom.rc)
3.Compare all and need to have some knowledge for this.No noobs or beginners.

Second part System

1.Apps.only if is something from mtk or snapdragon replace and delete all which is not for your chipset

2.Bin folder.Delete and replace with Stock.This is need because is different from mtk or snapdragon

3.Etc folder.Delete Firmware Wifi Bluetooth all folders which is like from aosp(for example amigo ui use special folders to boot their rom).Files for custom os need to be not changed.only which is for your soc.

4.Framework.For Snapdragon delete all which begin with mediatek-..... and replace from stock with qc... or qcom... and compare all which is from stock with port.Also fromm framework replace from framework-res.apk(res/xml)-storage.xml

5.All mtk...libs deleted and replace all which have same name in lib...so All which is not for porting os from port need to be deleted and not replaced from stock.(can cause bootloop)

6.Usr.Delete and replace this folder with stock.

7.Vendor.Nothing not need to be changed.Only lib need to be compared and changed if is needed.

8.Rfs.Delete and replace from stock

9.Build.prop.Change especially for your chipset

Final part.Meta Inf

Change only mount points.

For final you need to have some knowledge about all files from your socs......Also a second porting guide will be released for noobers.


Second porting guide





1.From stock delete only app priv-app media fonts tts build prop and framework(move to another dir)

2.Replace from port folders but framework delete mediatek or qc files but copy from
stock missing files and delete files which is in plus.

3.Lib.Delete qc or mtk and replace all which is desired from stock.

4.And all folders like from three step.

This guide is desired for devs which have some experience for porting.Also is not a officially guide can be unstable and not work but need to be tried.For mine worked to port amigo ui from mtk to msm.

No comments:

Post a Comment

Admin note

Help us to grow more , if you you have any suggestion then contact us .