[GUIDE] PORTING 64BIT MTK ROMs (MT6735, MT6753)[CrossPort Also] - Android

Hi All,
This Guide is For 64Bit Processor devices can use it
I used this for MIUI and Others Rom it worked for me.
If anyone finds additional items or wants to complete this guide please feel free to add it in here.
NOTE: ALWAYS REMOVE RECOVERY-FROM-BOOT.P before you do anything else.
SO THE FILES NEEDED TO REPLACE FROM STOCK TO PORT:
etc folder
take the whole firmware folder from system/etc/
take the whole mddb folder from system/etc/
agps_profiles_conf2.xml
apns-conf.xml
custom.conf
NOW LIBS Folder:
libdpfirmwork.so
libvcodecdrv.so
And this subfolder with these libs:
hw\audio.primary.mt6735.so
hw\audio_policy.default.so
hw\camera.mt6735.so
hw\gralloc.mt6735.so
hw\hwcomposer.mt6735.so
hw\lights.default.so
hw\memtrack.mt6735
hw\sensors.mt6735.so
NOW LIB64 Folder:
libdpfirmwork.so
libvcodecdrv.so
And this subfolder with these libs:
hw\audio.primary.mt6735.so
hw\audio_policy.default.so
hw\camera.mt6735.so
hw\gralloc.mt6735.so
hw\hwcomposer.mt6735.so
hw\lights.default.so
hw\memtrack.mt6735
hw\sensors.mt6735.so
FOR DIFFERENT CHIPSET (i.e. 6753 to 6735)
Proceed as above THEN
open build.prop
EDIT THESE LINES
ro.mediatek.platform=MT6753 to MT6735
And Now Boot.img
Unpack both stock and port boots fromCarlivImageKitchenTool Replace
Now
In port boot.img
replace the boot.img-kernel
THIS FILE TO REPLACE
IF U Face Any Problem then Contact With Me and My Team
Our FB Group :Open Porting Team
Our FB Page :Open Porting Team
My Personal FB ID : Mehedi H. Sajal

Mehedi H. Sajal said:
firmware folder from system/etc/
take the whole mddb folder from system/etc/
agps_profiles_conf2.xml
apns-conf.xml
custom.conf
NOW LIBS Folder:
libdpfirmwork.so
And this subfolder with these libs:
hw\audio.primary.mt6735.so
hw\audio_policy.default.so
hw\camera.mt6735.so
hw\gralloc.mt6735.so
hw\hwcomposer.mt6735.so
hw\lights.default.so
hw\memtrack.mt6735
hw\sensors.mt6735.so
NOW LIB64 Folder:
libdpfirmwork.so
And this subfolder with these libs:
hw\audio.primary.mt6735.so
hw\audio_policy.default.so
hw\camera.mt6735.so
hw\gralloc.mt6735.so
hw\hwcomposer.mt6735.so
hw\lights.default.so
hw\memtrack.mt6735
hw\sensors.mt6735.so
Click to expand...
Click to collapse
Also need to add libvcodecdrv.so from both lib and lib64 to fix video rending.

thanks sir..

z3r0c00l_2k said:
Also need to add libvcodecdrv.so from both lib and lib64 to fix video rending.
Click to expand...
Click to collapse
Sire....how do I port lineage ROM on my gionee m5..?or rather is it applicable to my gionee its an mt6735 chipset

help me to fix sound bug

Tochi_official said:
Sire....how do I port lineage ROM on my gionee m5..?or rather is it applicable to my gionee its an mt6735 chipset
Click to expand...
Click to collapse
try this bro
https://forum.xda-developers.com/android/software-hacking/guide-port-64-mtk-roms-t3555933
---------- Post added at 11:25 AM ---------- Previous post was at 11:24 AM ----------
sandeep.k said:
help me to fix sound bug
Click to expand...
Click to collapse
audio.primary.mt6735.so
audio_policy.default.so

Mehedi H. Sajal said:
Hi All,
This Guide is For 64Bit Processor devices can use it
I used this for MIUI and Others Rom it worked for me.
If anyone finds additional items or wants to complete this guide please feel free to add it in here.
NOTE: ALWAYS REMOVE RECOVERY-FROM-BOOT.P before you do anything else.
SO THE FILES NEEDED TO REPLACE FROM STOCK TO PORT:
etc folder
take the whole firmware folder from system/etc/
take the whole mddb folder from system/etc/
agps_profiles_conf2.xml
apns-conf.xml
custom.conf
NOW LIBS Folder:
libdpfirmwork.so
libvcodecdrv.so
And this subfolder with these libs:
hw\audio.primary.mt6735.so
hw\audio_policy.default.so
hw\camera.mt6735.so
hw\gralloc.mt6735.so
hw\hwcomposer.mt6735.so
hw\lights.default.so
hw\memtrack.mt6735
hw\sensors.mt6735.so
NOW LIB64 Folder:
libdpfirmwork.so
libvcodecdrv.so
And this subfolder with these libs:
hw\audio.primary.mt6735.so
hw\audio_policy.default.so
hw\camera.mt6735.so
hw\gralloc.mt6735.so
hw\hwcomposer.mt6735.so
hw\lights.default.so
hw\memtrack.mt6735
hw\sensors.mt6735.so
FOR DIFFERENT CHIPSET (i.e. 6753 to 6735)
Proceed as above THEN
open build.prop
EDIT THESE LINES
ro.mediatek.platform=MT6753 to MT6735
And Now Boot.img
Unpack both stock and port boots fromCarlivImageKitchenTool Replace
Now
In port boot.img
replace the boot.img-kernel
THIS FILE TO REPLACE
IF U Face Any Problem then Contact With Me and My Team
Our FB Group :Open Porting Team
Our FB Page :Open Porting Team
My Personal FB ID : Mehedi H. Sajal
Click to expand...
Click to collapse
Thanks for the guide. But pls I'm a novice to porting a rom and I greatly need some porting skills. I have downloaded a nougat Resurrection Remix rom 5.8.3 with a view to finding a comprehensive guide for me to port it for my Infinix note 2 x600.
Pls i will appreciate if you can guide me through.

Screen wont wake up after going to sleep.
No matter how many times i press power button.
How to solve this?
Please help.
Thanks.

Android 6.0 Miui 8.3 on zopo speed7+: Please help mi fix toggle bluetooh and Wifi.

DarkLord007 said:
Screen wont wake up after going to sleep.
No matter how many times i press power button.
How to solve this?
Please help.
Thanks.
Click to expand...
Click to collapse
Please help

mstdzw said:
Android 6.0 Miui 8.3 on zopo speed7+: Please help mi fix toggle bluetooh and Wifi.
Click to expand...
Click to collapse
Wifi fixed in nvram, but bluetooh still have no MAC adressess. How to fix this?

In port boot.img
replace the boot.img-kernel
THIS FILE TO REPLACE
Click to expand...
Click to collapse
And ramdisk?
-fstab.mt6735
-init.project.rc
-init.mt6735.rc
-init.mt6735.usb.rc

Porting guide
Plzz give porting guide for MT6735 to Mt6735M
64 bit

Hlo Bro I hv. A qst this port method work on different ram like stock ROM hv 3 GB ram but port ROM r 4gb ram device
Sent from my Lenovo A7020a48 using Tapatalk

No sound and calls don't work. I don't know if it is because of the sound bug. I followed steps correctly. Please help

z3r0c00l_2k said:
Also need to add libvcodecdrv.so from both lib and lib64 to fix video rending.
Click to expand...
Click to collapse
Please help I am porting Miui for Lenovo vibe P1m
But after flashing rom my device stuck in bootloop.
So, I replace
libandroid_runtime.so
libandroid_servers.so
libmedia_jni.so
But it is not working

how to extract system.dat
??

Anything needed to be changed in META-INF of port rom?

ShiVaay..! said:
Plzz give porting guide for MT6735 to Mt6735M
64 bit
Click to expand...
Click to collapse
try the same guide, it should work maybe.

audio coming except from loud speaker,,how to solve it?

Related

HOW TO PORT MIUI...A guide

lots of people ask... how do you port roms... so here you go... I hope now the thread is started the people posting can help each other as I have other projects working on... Maybe someone learning will help me later with my other roms
lot of chatter of people saying that the structure of my rom is from other x10 so for you all to see I give you basic instructions (that I ported and posted first with almost everything working) so here is all the basics on getting a bootable miui rom for beginners.. first download the formels newest release.
then download a stable gingerbread 2.3.3 version that is compatible with the files. ( I always use the great z and j for sources).
the next step is to get the formels rom ready by deleting the boot image and the data folder. Next step is to go to the etc folder and delete firmware folder... also delete ap2sd init script from the init folder)
then go to lib folder and delete hw and modules.
now it is time to add files. I know the miui files pretty good now so the list has shortened greatly.
now use your stable gb rom source to replace the folders I had you delet above
you may have to change other files depending on the rom i.e. bluetooth/dhcpd and others.
to start in the etc folder you need to add
apns-conf
dbus
dualmic
gps
hosts
hw-config
init.bt
init.gold
init.local
mediaprofiles
mke2fs
profile
resolve
sensors
sysctl
vold
now to the lib folder all files start with lib
cm
dll
dsm
dss
gsl
miscta
oem-rapi
pbmilb
qmi
diag
mmgsdilib
nv
onrpc
queue
ril-qc-1
wms
auth
sdi-exp
wmsts
mmipl
oemcamera
mmjpeg
there are other files but I think that is enough to get bootscreen... if not let me know and I will list the other misc ones.
now the bin files
akmd2
am
bmgr
bmiloader
chargemon
charger
compache
eeprom
fixpermisions
gdbserver
handlecompache
hciqcomminit
ime
input
monkey
pm
port-bridge
qmuxd
recevent
svc
sysinit
updatemiscta
wlanmac
wlantool
wmiconfig
Any dev, or semi-dev can start work this.
COURTESY: http://android.modaco.com/content/s...aco-com/341986/how-to-port-miui/#entry1737792
manju991 said:
lots of people ask... how do you port roms... so here you go... I hope now the thread is started the people posting can help each other as I have other projects working on... Maybe someone learning will help me later with my other roms
lot of chatter of people saying that the structure of my rom is from other x10 so for you all to see I give you basic instructions (that I ported and posted first with almost everything working) so here is all the basics on getting a bootable miui rom for beginners.. first download the formels newest release.
then download a stable gingerbread 2.3.3 version that is compatible with the files. ( I always use the great z and j for sources).
the next step is to get the formels rom ready by deleting the boot image and the data folder. Next step is to go to the etc folder and delete firmware folder... also delete ap2sd init script from the init folder)
then go to lib folder and delete hw and modules.
now it is time to add files. I know the miui files pretty good now so the list has shortened greatly.
now use your stable gb rom source to replace the folders I had you delet above
you may have to change other files depending on the rom i.e. bluetooth/dhcpd and others.
to start in the etc folder you need to add
apns-conf
dbus
dualmic
gps
hosts
hw-config
init.bt
init.gold
init.local
mediaprofiles
mke2fs
profile
resolve
sensors
sysctl
vold
now to the lib folder all files start with lib
cm
dll
dsm
dss
gsl
miscta
oem-rapi
pbmilb
qmi
diag
mmgsdilib
nv
onrpc
queue
ril-qc-1
wms
auth
sdi-exp
wmsts
mmipl
oemcamera
mmjpeg
there are other files but I think that is enough to get bootscreen... if not let me know and I will list the other misc ones.
now the bin files
akmd2
am
bmgr
bmiloader
chargemon
charger
compache
eeprom
fixpermisions
gdbserver
handlecompache
hciqcomminit
ime
input
monkey
pm
port-bridge
qmuxd
recevent
svc
sysinit
updatemiscta
wlanmac
wlantool
wmiconfig
Any dev, or semi-dev can start work this.
COURTESY: http://android.modaco.com/content/s...aco-com/341986/how-to-port-miui/#entry1737792
Click to expand...
Click to collapse
nice dude,some 1 start with it?
Could this guide still be used for porting nowadays?
Anyway, thanks for this usefull information
so it's works ?
This is a very useful guide , thank you.

[Help for Porting ]Stuck in Bootloop

Guys Im porting samsung s plus rom to LG Optimus sol. They same 1 GHz cpu and adreno 205...i swapped all files as mentioned Below..but i have boot loop...in boot image....im using the boot from galaxy plus swapping only ZImage file from base and renamed the "init.devicename.rc" and "unvented.device.rc" to my device name as "init.victor.rc" and "unvented.victor.rc"...both kernel has same init.rc....i also tried of using my base rom also but it has bootloop......some times it bootup showing as "Android is upgrading" and Starting Applications" and start loops.....dono wat to do...plzzz help me out guys...im very close to finish my porting....ill be very thankful to u for helping my first port....
Swap files in bin
am
ami304d
bmgr
brcm_patchram_plus
hci_attach
fix_permissions
ime
input
monkey
pm
port-bridge
rild
servicemanager
vold
copy this all files from base bin folder to port bin folder. all files need beacuse for bluetooth,gsm sensor and other working
after bin folder open etc folder in base and port. now copy following files and folderto port bin folder
folders
before copy folder delete following folder from port then copy following folder from base to port.
bluetooth
dhcpd
firmware
permissions
ppp
wifi
wl
copy this folder from base to port affter deleting folder from port
now we need to copy files from base to port. copy following files
apns-conf.xml
dbus.conf
gps.conf
hosts
media-profiles.xml
resolv.conf
vold.fstab
copy this files from base etc to port etc
after etc go to the lib folder. open lib folder in base and port
folder
now you need to copy following folder from base to port. but before copy delete following folder from port then copy.
modules
hw
egl
copy this folder from base to port. after deleting folder in port.
now time for files. copy following files from base to port
libauth.so
libcm.so
some time you need to copy all audio file from base to port. but some time libbluedroid
libbluetooth
libbluetoothd
libcamera
libcameraservice
libdiag.so
libdbus.so
libdss.so
libdsm.so
libdll
libgsl.so
libgstk_exp.so
libmiscta.so
libmmgsdilib.so
libmmipl.so
libmmjpeg.so
liblog
libnv.so
liboem_rapi.so
liboemcamera.so
libhardware_legacy
liboncrpc.so
libpbmlib.so
libqmi.so
libqueue.so
libril.so
libril-qc-1.so
libsensorservice
libwebcore
libwms.so
libwmsts.so
copy this all files from base lib to port lib
after lib. now time to go usr folder. open usr folder in base and port.
delete following folder in port then copy and following folder from base to port
keychars
keylayout
copy this folder from base to port after delete folder in port
now go to the xbin folder.open xbin folder in base and port. then copy following file from base to port
hcitool
hcidump
hciconfig
now we need to do final step. open build.prop file in base and port. and change following lines from base build.prop to port build.prop
ro.product.board=
ro.product.model=
ro.product.brand=
ro.product.name=
ro.product.device=
ro.product.manufacturer=
ro.build.product=
ro.sf.lcd_density=
ro.sf.hw_lcd_density=

[Q&A] [GUIDE] [PORT] [ROM] All About Mediatek ROM Porting

Q&A for [GUIDE] [PORT] [ROM] All About Mediatek ROM Porting
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
after unpack my boot.img with "MTK FirmwareAdapter Tool" i have in the folder:
1- rmdisk (folder)
2- kernel (file)
3- kernel_header (file)
4- ram_disk (file)
5- ram_disk.gz
6- ram_header (file)
Where is the zimage? Where is boot.img-ramdisk folder? How i doing:
"* Now Go back to the Rom folder and Take the boot.img and decompile it with any bootimg-unpack tool!
* Now delete the zimage and rename boot.img-ramdisk to PORT-Ramdisk
* Now Do the Same for Stock boot.img and open the folder named PORT-ramdisk and copy all the fil PORT-
ramdisk to boot.img-ramdisk of your Stock boot.img
* Now Go to boot.img-ramdisk and open init.rc" ?????????
thx
Click to expand...
Click to collapse
Port mtk6592 to mtk6589t
hi i try to port mtk6592 to mtk6589t and not working, you can help me?
Thanks
iphone 6 clone dead
hi i formate iphon6 clone using sp flash tool,now bootloader menu not opening even not charging. what can i do, please advice me.
sorry, i am new here.
I really doubt if this tutorial will work on Tablet Advan T5C.
I really want to Port MIUI Rom to this tablet. However, the developer is very rare for this vendor "Advan" so it's hard to get a Custom ROM.
What ROM of Tablet Vendor which can be ported to this spec?
8 "Inch IPS
MT6582
Mali 400
8 GB ROM
1 GB of RAM
Port MT6589 to MT6577
Thanks for the tutorial on first page.
Im alred try first metod but cellphone restart on CWM scren.
Now a gonna try secound metod.
Useful Post....
Tnx For Share.
teopro said:
after unpack my boot.img with "MTK FirmwareAdapter Tool" i have in the folder:
1- rmdisk (folder)
2- kernel (file)
3- kernel_header (file)
4- ram_disk (file)
5- ram_disk.gz
6- ram_header (file)
Where is the zimage? Where is boot.img-ramdisk folder? How i doing:
"* Now Go back to the Rom folder and Take the boot.img and decompile it with any bootimg-unpack tool!
* Now delete the zimage and rename boot.img-ramdisk to PORT-Ramdisk
* Now Do the Same for Stock boot.img and open the folder named PORT-ramdisk and copy all the fil PORT-ramdisk to boot.img-ramdisk of your Stock boot.img
* Now Go to boot.img-ramdisk and open init.rc" ?????????
thx
Click to expand...
Click to collapse
The zImage is the kernel file. boot.img-ramdisk is the main folder containing the zImage(kernel) and ramdisk, just you need rename the decompiled port boot.img to PORT-ramdisk, and your stock boot.img not rename folder.
I just want to ask how to fix this problem , I ported MT6589 to my MT6577 device, Seems there's no problem in flashing ROM but when its time to boot, it just hangs on the boot logo, it's not even trying to load bootanimation but rather it only flashes a white screen then it reboot to my recovery. Seems like I do something wrong?
My device is mp a818g duo
Kernel:3.4.0
Chipset: MT6577
Hope I receive help
---------- Post added at 03:57 PM ---------- Previous post was at 03:50 PM ----------
teopro said:
after unpack my boot.img with "MTK FirmwareAdapter Tool" i have in the folder:
1- rmdisk (folder)
2- kernel (file)
3- kernel_header (file)
4- ram_disk (file)
5- ram_disk.gz
6- ram_header (file)
Where is the zimage? Where is boot.img-ramdisk folder? How i doing:
"* Now Go back to the Rom folder and Take the boot.img and decompile it with any bootimg-unpack tool!
* Now delete the zimage and rename boot.img-ramdisk to PORT-Ramdisk
* Now Do the Same for Stock boot.img and open the folder named PORT-ramdisk and copy all the fil PORT-
ramdisk to boot.img-ramdisk of your Stock boot.img
* Now Go to boot.img-ramdisk and open init.rc" ?????????
thx
Click to expand...
Click to collapse
When you use android kitchen to decompile your boot.IMG then your kernel will named zimage, but when you use other unpack/repack tool for your boot.IMG, the equivalent of zimage in your decompiled boot.img is the files kernel and kernel header.
Click to expand...
Click to collapse
Xtreme Ornob Thanks
Thanks a lot for this extreame guide about Mediatek rom Porting
what is the tool download link, i am new
When I port by this guide I have problems, from 6582 to 6582
I have logo and then nothing when phone reboots after installing rom
I tried all things
changed kernel from stok to port rom and changed the lines in init.rc in stok rom and have the same result
Can some one help me?
iceman1966 said:
decompile the boot.img rom port and the boot.img of your stock rom. Replace the ramdisk rom port with ramdisk the stock rom. recompile and install the new boot.img.
Click to expand...
Click to collapse
I made that you write to me but situation is the same.
logo and nothing else
How to take the logcat when the phone goes to reboot after flashing the rom ?
I want to see what I made wrong?
query regarding porting from different versions
Hello xda.........i want to know the information about how to port the jellybean rom with kitkat to get kitkat in my phone.............
please explain me how to port to higher versions from our lower version of roms.............
Boot.img
im porting from a device to a device with different SoC.
i have followed instructions on this thread:
http://forum.xda-developers.com/showthread.php?t=2701283
i have done the steps and reached to the step where it says to unpack boot.img. i have unpacked the boot.img in both port and stock only to find the boot.img-ramdisk empty... what should i do now?
I want to know all about Porting
Hi sir Good day.
I want to know how to port a HTC one M8 ROM MTK6572 Chipset. Beacase I came from Samsung Dev. S5830 Galaxy Ace and its hard to understand how to flash ROM's of MTK's Devices. Please Reply Thanks in advance
camera degrades performance
nice tutor, i have sucessfully ported Lewa OS 5.0 rom from Lenovo S920 to my device HDC Galaxy S4 GT-I9500 Clone.
-MTK6589 Quad Core 1.2GHz
-2GB RAM (fake) 1GB RAM (real), 4GB ROM
-5.0inch HD IPS Screen
Display resulotion: 1280*720 pixel display, 320 dpi
GPU : PowerVR SGX 544MP
Build ID : JDQ39.I9500ZSUAMDF
Hardware : UNIVERSAL5410(exynos5) fake, MT6589
Model : GT-I9500
Build number : ALPS.JB2.MP.V1.26
Build date UTC : 20130904-125830
Android v : 4.2.2
Baseband v : MOLY.WR8.W1248.MD.WG.MP.V23.2013/07/25 04:17
Kernel v : 3.4.5 ([email protected]) (gcc version 4.6.x-google 20120106 (prerelease) (GCC))#1 SMP Wed Sep 4 20.55.23 CST 2013
LCD Driver IC : 1-nt35590_hd720_dsi_cmd_truly
all work perfectly but the problem is camera quality really degrades when using Lewa OS. with stock rom my back camera 13MP, when i used custom rom Lewa my back camera only 2MP. i try to instal lenovo super camera, but camera resolution still same only 2MP.
how can i fix it please help me.....!
can you help me I am trying to port the ROM from mt6592 to mt6582 and have problems.
Do you have guide how to make a port from mt6592 to mt6582?
just wanna ask if im doing right,thanks in advance
I am porting custom rom MT6572 to my device MT6582
I decompile boot.img(MT6572) and boot.img(MT6582"stock")
I copy all files from ramdisk(MT6572) and replace it to ramdisk(MT6582" stock)
I edit init.rc and edit what i need to edit and do it like this
#Create Chip Property
on early_property:ro.hardware=mt6572
setprop ro.mtk.hardware mt6582
on early_property:ro.hardware=mt6589
setprop ro.mtk.hardware mt6582
I add and edit those line on the init.rc, am I doing right boss?
Good day Sir,just wanna ask if i am doing right.
I am porting custom rom MT6572 to my device MT6582
I decompile boot.img(MT6572) and boot.img(MT6582"stock")
I copy all files from ramdisk(MT6572) and replace it to ramdisk(MT6582" stock)
I edit init.rc and edit what i need to edit and do it like this
#Create Chip Property
on early_property:ro.hardware=mt6572
setprop ro.mtk.hardware mt6582
on early_property:ro.hardware=mt6589
setprop ro.mtk.hardware mt6582
I add and edit those line on the init.rc, am I doing right boss?

[Guide ]How To Port MTK ROMs [For All Chipsets]

This guide is only for MTK! This will work from same chip to same chip for example MT6582 to MT6582 or MT6577 to MT6577
Some devices have different partitions to flash and the ROM you might flash can brick your phone. It can even hard brick your phone. So it is recommended that you do a ReadBack, ClockWorkMod Backup and MTK Droid Root & Tools backup. I am not responsible for bricked phones!!
What you need to port a ROM to your device [Your chipset to Your Chipset only]
1: A ROM to port [in .zip]
2: Your stock ROM [extracted with /system and build.prop]
How To Port ROMs to your Phone:
Extract the ROM to port and you will have these main things:
META-INF
System
boot.img.
If you have them then you are ready for next step.
Open /system folder of stock and rom to port.
Open bin folder of stock ROM and copy these files:
pq
vold
Now replace these files in ROM to Port's /System/Bin folder.
Open lib folder of Stock ROM and get these files:
libcamalgo.so
libcamdrv.so
libcameracustom.so
libdpframework.so
libsensorservice.so
libsync.so
libvcodecdrv.so
Replace all the files mention above to ROM to Port's /system/lib folder.
Now open Stock ROM's /system/etc/ folder and copy these files:
apns.conf.xml
vold.fstab
vold.fstab.nand
Now replace these files in ROM to port's /system/etc folder.
Delete these folders from ROM to Port
/System/vendor/
/System/lib/hw
/System/lib/modules/
/System/etc/WiFi
/System/etc/Firmware
Replace these folders from Stock ROM to ROM to Port:
/System/lib/hw/
/System/lib/modules//System/etc/WiFi/
/System/etc/Firmware/
/System/vendor/
The final step! Press back button to go to the main folder where you have the Stock ROM. Copy boot.img [From Stock ROM]and replace it with the ROM to Port's.
if I helped you hit Thanks button....
Must the two ROMs be the same Android version or doesn't mater?
Any version of Android but the chip should be same
Ex: mtk-6592 to mtk-6592

Help in fixing bugs

Hlo guys,
Please help me to fix sound bug after porting rom in spreadtrum sc7731 kitkat 4 .4.2
here is the guide which i used...
from /system/bin
phoneserver
netd
tc
wpa_supplicant
from /system/lib
hw(whole folder)
modules(whole folder)
egl(whole folder)
libhardware.so
libhardware_legacy.so
libctest.so
libdiskconfig.so
lisensorservice.so
from /system/etc
bluetooth(whole folder)
dhcpcd(whole folder)
firmware(whole folder)
wifi(whole folder)
handheld_core_hardware.xml (from permissions)
platform.xml(from permissions)
from from /system
vendor(whole folder)
usr(whole folder)
Further asking Spreadtrum developers i tried their method too to fix bug here what i did
★Bin
(folder)
tinymix
★etc
(folder)
audio_effects.conf
audio_hw.xml
audio_para
audio_policy.con
tiny_hw.xml
★Lib (folder)
libaudio-resampler.s*o
libaudioeffect_jni.s*o
libaudioflinger.so
libaudiopolicy.so
libaudiopreprocessin*g.so
libaudioutils.so
libtinyalsa.so
libtinyxml.so
libwebrtc_audio_prep*rocessing.so
lib> soundfx
(sub-folder)
libaudiopreprocessin*g.so
libbundlewrapper.so
libdownmix.so
libeffectproxy.so
libldnhncr.so
libreverbwrapper.so
libswdap-mod.so
libvisualizer.so
I took logcat too via alogcat android application(before trying this guide i hope it will help)
Please help guys!! We really need all the help w can get here . . .
No support
https://forum.xda-developers.com/android/general/kitkat-rooting-to-roms-t3560777/post71153851
Try the porting method here
have u replaced whole soundfx folder????
@ki said:
have u replaced whole soundfx folder????
Click to expand...
Click to collapse
yes

Categories

Resources