Tuesday, June 6, 2017

[Guide] MT6582 to MT6582 ROM Porting


        MT6582 to MT6582 ROM Porting

Follow these steps to start porting:

Step 1:
Unzip/Extract all files using 7-Zip
Note: If downloaded PORT ROM is SP flash tool flashable and not recovery flashable then extract system.img using ext2explore or dsixda's Android Kitchen.
Rename stock ROM (original rom of your phone) as STOCK and port rom (which you want to port) as PORT

Step 2:
a) Open STOCK and PORT ROMs in separate windows as shown below
b) Delete META-INF and boot.img from PORT
c) Copy META-INF and boot.img from STOCK
d) Paste META-INF and boot.img in PORT



Step 3:
a) Open folder system/bin in STOCK and copy files pq and vold (use ctrl key to select multiple files)
b) Open folder system/bin in PORT and paste pq and vold (Select Copy and Replace for both files)



Step 4:
a) open folder system/etc in PORT and delete folders bluetooth, firmware and wifi
b) open folder system/etc in STOCK and copy folders bluetooth, firmware and wifi
c) open folder system/etc in PORT and paste folders bluetooth, firmware and wifi


Step 5:
a) open folder system/lib in PORT and delete folder egl and hw
b) open folder system/lib in STOCK and copy folder egl and hw
c) open folder system/lib in PORT and paste folder egl and hw



Step 6:
a) open folder system/lib in STOCK and copy all files which starts with libaudio
b) open folder system/lib in PORT and paste all libaudio files



Step 7:
a) open folder system/lib in STOCK and copy following files:
libcamalgo.so
libcamdrv.so
libcameracustom.so
libdpframework.so
libsensorservice.so
libsync.so
libvcodecdrv.so
b) open folder system/lib in PORT and paste all files



Step 8:
a) open folder system/usr/keylayout in STOCK and copy file Generic.kl
b) open folder system/usr/keylayout in PORT and paste file Generic.kl



Step 9:
a) open folder system in PORT and delete folder vendor
b) open folder system in STOCK and copy folder vendor
c) open folder system in PORT and paste folder vendor



Step 10:
Open build.prop in PORT and search line ro.sf.hwrotation=
[ex: If value is 0 then change it to 180 as Walton Primo GM mini,Bloom have flipped screen.]

In build.prop search lines
ro.product.locale.language=
ro.product.locale.region=
For English change it to
ro.product.locale.language=en
ro.product.locale.region=US


Step 11:
Compress/zip META-INF, system and boot.img using 7-Zip as port.zip and flash using any custom recovery.
First boot may take 2-3 minutes�

Please add proper credits in your ported ROMs




#Bug fixing:

#1.Showing black screen after logo?
Replace following file from STOCK to PORT
system/lib/libMali.so


#2.Stuck at logo/Bootloop?
Replace following files from STOCK to PORT
system/lib/libandroid_runtime.so
system/lib/libandroid_servers.so
system/lib/libmedia_jni.so


#3.Camera focus not working?
Replace following file from STOCK to PORT
system/lib/libfeatureio.so


#4.Camera showing wrong model in pic property?
Change model in build.prop
Still not working? Replace following file from STOCK to PORT
system/lib/libexif.so


#5.Camera not working/force close?
Replace following files from STOCK to PORT
all files from system/lib folder which starts with libcam


#6.Resolution problem?
open build.prop and add following line
ro.sf.lcd_density=229
[ex: 229 but your dpi maybe deferent]

#7.Pixalation in video?
Replace following file from STOCK to PORT
system/lib/libvcodecdrv.so


#8.Flipped touch screen?
Replace following files from STOCK to PORT
system/lib/libinput.so


#9.Storage not mounting?
Decompile framework-res.apk using apktool or apk multitool and replace following file from STOCK framework-res.apk to PORT framework-res.apk
/res/xml/storage_list.xml


#10.LED not working?
Replace following files from STOCK to PORT
system/lib/libfeatureio.so

...Good Luck!!!

[N.B. don't Forgot geiven me a Credit.
>www.mtk-developers.blogspot.in
>www.fb.com/groups/devIndex.bd]

#Powered by :

No comments:

Post a Comment