Help in fixing bugs - Android Q&A, Help & Troubleshooting

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

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=

[need] Some files from shufuking's cm10.1 build 20130301

Code:
[B][SIZE="3"]
Need these files from build 20130301
[B][U]etc folder[/U][/B]
firmware ( whole folder)
hw_config
media_profiles
sensors.
[B]lib folder[/B]
hw (whole folder)
modules (whole folder)
libandroid.so
libcald_cliente.so
libcald_debugger.so
libcald_hal.so
libcald_pal.so
libcald_server.so
libcamera_client.so
libcamera_clientsemc.so
libcameraextensionclient.so
libcameraextensionjni.so
libcameraextensionservice.so
libcameralight.so
liboemcamera.so
libsensorservice.so
usr (whole folder)
[/SIZE][/B]
can any plz provide me these files for LWW, MINI , ACTIVE ..
plz PM me links thanks
Why don't you download it yourself and extract?
BTW it's a wrong section.
Closed.

[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

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

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?

Categories

Resources