[GUIDE] How to port a ROM - Samsung Galaxy SL i9003

For those who doesn't search a bit n bug here n there for the question "how to port roms??? like cm7 n miui?"
here is the answer :
add/replace these
/system/app:
Bluetooth.apk → To fix the bluetooth problem
Phone.apk → To fix the proximity sensor issue
Added liquid settings & GApps
/system/bin:
Since you probably use the old sensor, you need to add all the *_yamaha files.
brcm_patchram_plus → To fix the bluetooth
dhcpcd
netd → To fix the wifi hotspot (you MUST change also /lib/libhardwarelegacy.so too, else you will get a bootloop)
rild → To get the network working
servicemanager → To get the sensors working
vold → To get the vold working
/system/etc:
the entire firmware folder to get wifi and sensors working
the init.d folder to tweak the rom
the permissions folder, added missing xmls
the entire wifi folder to get the wifi working
gps.conf → To improve the GPS
hosts → To fix ads
media_profiles.xml → To fix problems with camera and camcorder
vold.conf and vold.fstab → To fix vold, if you don't change them the rom won't boot.
/system/framework:
Added com.google.android.maps.jar to fix problems with the apps which uses GMaps.
You can find there the files to tweak with smali to get some stuff working. For example, if you want to get the prox. sensor working well, you need to edit the PowerService class in services.jar.
/system/lib:
the entire egl folder
the entire hw folder
the entire modules folder
all the libOmx* .so files → To get the camcorder working
all the libaudio* .so files → To get the audio working (if you don't change them, it won't boot)
libandroid.so
libauth.so
libcamera.so and libcameraservice.so → These depends on the ROM.
libcm, libcommondefs.so, libdiag.so, libdll.so, libdsm.so, libdss.so, libeffects.so, libg*.so
libhardare_legacy.so
libloc*.so
liblog.so
libmedia.so
libmmgsdilib.so, libmmipl, libmmjpeg.so, libnfc_ndef.so, libnv.so
libms3c_yamaha.so → To fix the sensors
liboemcamera.so → To fix the camera & camcorder
liboncrpc.so, libpbmlib.so, libqmi.so, libqueue.so
libril*.so
librtp_jni.so
libsensor*.so
libspeech.so
libsqlite_jni.so
libstagefright_*.so → These are usually not required
libt99.so
libvoicesearch.so
libwebcore.so
libwms.so
libwmsts.so
/system/sd:
The placeholder file. → To get sd working
/system/usr:
the entire 'keychars' and 'keylayout' folders
/system/vendor:
The entire folder.
/system:
Edit build.prop and add/change the following strings:
ro.product.board=salsa
ro.hw_version=4
rild.libpath=/system/lib/libril-acer-1.so
Obviously you also need to change the kernel and, if needed, you must also edit the BOOTCLASSPATH in the init.rc file in the ramdisk. Please refer to other tutorials for this.

Very nice, Thanks man

sachin0701 said:
For those who doesn't search a bit n bug here n there for the question "how to port roms??? like cm7 n miui?"
here is the answer :
add/replace these
/system/app:
Bluetooth.apk → To fix the bluetooth problem
Phone.apk → To fix the proximity sensor issue
Added liquid settings & GApps
/system/bin:
Since you probably use the old sensor, you need to add all the *_yamaha files.
brcm_patchram_plus → To fix the bluetooth
dhcpcd
netd → To fix the wifi hotspot (you MUST change also /lib/libhardwarelegacy.so too, else you will get a bootloop)
rild → To get the network working
servicemanager → To get the sensors working
vold → To get the vold working
/system/etc:
the entire firmware folder to get wifi and sensors working
the init.d folder to tweak the rom
the permissions folder, added missing xmls
the entire wifi folder to get the wifi working
gps.conf → To improve the GPS
hosts → To fix ads
media_profiles.xml → To fix problems with camera and camcorder
vold.conf and vold.fstab → To fix vold, if you don't change them the rom won't boot.
/system/framework:
Added com.google.android.maps.jar to fix problems with the apps which uses GMaps.
You can find there the files to tweak with smali to get some stuff working. For example, if you want to get the prox. sensor working well, you need to edit the PowerService class in services.jar.
/system/lib:
the entire egl folder
the entire hw folder
the entire modules folder
all the libOmx* .so files → To get the camcorder working
all the libaudio* .so files → To get the audio working (if you don't change them, it won't boot)
libandroid.so
libauth.so
libcamera.so and libcameraservice.so → These depends on the ROM.
libcm, libcommondefs.so, libdiag.so, libdll.so, libdsm.so, libdss.so, libeffects.so, libg*.so
libhardare_legacy.so
libloc*.so
liblog.so
libmedia.so
libmmgsdilib.so, libmmipl, libmmjpeg.so, libnfc_ndef.so, libnv.so
libms3c_yamaha.so → To fix the sensors
liboemcamera.so → To fix the camera & camcorder
liboncrpc.so, libpbmlib.so, libqmi.so, libqueue.so
libril*.so
librtp_jni.so
libsensor*.so
libspeech.so
libsqlite_jni.so
libstagefright_*.so → These are usually not required
libt99.so
libvoicesearch.so
libwebcore.so
libwms.so
libwmsts.so
/system/sd:
The placeholder file. → To get sd working
/system/usr:
the entire 'keychars' and 'keylayout' folders
/system/vendor:
The entire folder.
/system:
Edit build.prop and add/change the following strings:
ro.product.board=salsa
ro.hw_version=4
rild.libpath=/system/lib/libril-acer-1.so
Obviously you also need to change the kernel and, if needed, you must also edit the BOOTCLASSPATH in the init.rc file in the ramdisk. Please refer to other tutorials for this.
Click to expand...
Click to collapse
nothing to unlock the wifi?

i posted this 7 months ago
and lol u copied it - 'rild.libpath=/system/lib/libril-acer-1.so'

I am sure this guide will not make the phone boot
Sent from MIUI V5 on GT-I9003

Never needed this
Yeah sakindia is right he posted this way back in june
Sent from my GT-I9003 using XDA App

bro sakindia i searched xda for porting roms but cudn't find any 1and this i ddn't copied u its from combined resources out of xda!!!!!
i dont knew abt this sorry bro!!!!

sakindia123 said:
i posted this 7 months ago
and lol u copied it - 'rild.libpath=/system/lib/libril-acer-1.so'
Click to expand...
Click to collapse
if u think i will delete this post so chilax!!!

gm007 said:
I am sure this guide will not make the phone boot
Sent from MIUI V5 on GT-I9003
Click to expand...
Click to collapse
bro than wud u help me correct this post plz???

Hello, Sachin.. I will try out your guide.
But I have one suggestion: make it more newbie friendly. Currently seems like people who already know how to port a ROM would understand this, but those that don't (the people who most need a guide) will have to try this blind. Can you make is so its like a guide for an absolute newbie?

inciongd said:
Hello, Sachin.. I will try out your guide.
But I have one suggestion: make it more newbie friendly. Currently seems like people who already know how to port a ROM would understand this, but those that don't (the people who most need a guide) will have to try this blind. Can you make is so its like a guide for an absolute newbie?
Click to expand...
Click to collapse
take the rom you want to port n take a stable rom for the same device....
extract both roms....now replace all above files of a stable rom from the rom u want to port!!! after replacing/adding reapack it n u r done......
wen u extract rom u will find a file system.rfs extract it...than u will be able to find the files listed above!!!!!

sachin0701 said:
take the rom you want to port n take a stable rom for the same device....
extract both roms....now replace all above files of a stable rom from the rom u want to port!!! after replacing/adding reapack it n u r done......
wen u extract rom u will find a file system.rfs extract it...than u will be able to find the files listed above!!!!!
Click to expand...
Click to collapse
Sry for the noob question but if its jut extract and repack then how come the devs are having problem making the camera work
Sent from my GT-I9003 using XDA App

devilhell007 said:
Sry for the noob question but if its jut extract and repack then how come the devs are having problem making the camera work
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Video, audio Codec and lib files I believe.
Cheers
Sent from my i9003 powered by Cyanogenmod 7

I really want to this tutorial
Sent from my Droid using Tapatalk 2 Beta-4

Useful guide.
Sent from my GT-I9003 using xda premium

Related

how can i fix sensors by edit framework

i try dexter's froyo rom on korea xt720 but some sensors
so i try to find reason and try
at last just copy /system/app and /system/framework folder and some so files on /system/lib (dalvik's files only) it successfully boot
but sensors are broken
i think it caused by Settings.apk or some framework
but i don't know how i edit that
someone give me file list for sensors? (both apk or jar name and smali name)
dateno1 said:
someone give me file list for sensors? (both apk or jar name and smali name)
Click to expand...
Click to collapse
korean rom shows that the model from korean has different chipset, and some sensors are using a different driver, which you do not get unless you got the right hardware, so korean kernel is needed, with korean sensor driver..
but you are saying even the korean release did not having working sensors?
then you have to approach this differently, then you need the 2.1 korean rom and update graphics driver, so i can load with that kernel and enables sensors..
but its hard work debugging through libs that needs fixing..
original 50R work well
but it too bad rom and i can't fix some problem
i think it diffrent from kernel or framework (i just try replace there and it will fix problem)
how can i made some so files affact dalvik? (if it fix problem no need to edit framework)
dateno1 said:
original 50R work well
but it too bad rom and i can't fix some problem
i think it diffrent from kernel or framework (i just try replace there and it will fix problem)
how can i made some so files affact dalvik? (if it fix problem no need to edit framework)
Click to expand...
Click to collapse
initially forget framework changes, concentrate on all libs and the copying all apps + framework, and then you need to figure out hany files you need to replace to get proper hw support, and which works together.
as i learned its an awful lot of 2.1 hw drivers used here, so you can tweak it better using hw drivers from 2.1 as well on the korean rom.

Walkman Z port to stock and custom roms

hi
here z port to x10!
all apps are working except media player and photo app(don't no y? still working on it)
make a backup before trying.
http://www.mediafire.com/download.php?hv9s6epc64vwsb6
Hi!! this seems to be a good choice for my x10....
Do I hace to install it as a custom rom?? from xrecovery?? I'm with Unlock Booloader so I suppose I need the stock kernel.... Sorry for my english, Still learning it
Using:
v7 X10S rom
DoomKernel
aiit guys, this is a file i compiled from the needed stuff from the rom in this thread http://forum.xda-developers.com/showthread.php?t=1671574
Should work on CM7 roms. Problem is its not a signed zip (bcs idk how to), so you guys have to copy paste and change permissions yourselves.
another thing is that you need to cross check your build.prop with the one inside. There are a few lines that need to be copied... im not sure what yours is missing so Crosscheck and try to change most stuff to sony.
If you are using linux (ubuntu/fedora) (well with nautilus) just download SSHDroid from the market. turn it on and crtl+L in nautilus type in the link (eg.sftp://[email protected]) then it will ask for password which by default is "admin"
after that you can basically copy your files into the system folder.
(you can also select the files choose properties and under permissions tab edit your perms. ) good luck! enjoy your working gallery
everything works and not work like in the thread i linked above
Download
http://www.mediafire.com/?64l50wul7waiho5
You should use logcat to see which lib is required for each app.
tryantar said:
aiit guys, this is a file i compiled from the needed stuff from the rom in this thread http://forum.xda-developers.com/showthread.php?t=1671574
Should work on CM7 roms. Problem is its not a signed zip (bcs idk how to), so you guys have to copy paste and change permissions yourselves.
another thing is that you need to cross check your build.prop with the one inside. There are a few lines that need to be copied... im not sure what yours is missing so Crosscheck and try to change most stuff to sony.
If you are using linux (ubuntu/fedora) (well with nautilus) just download SSHDroid from the market. turn it on and crtl+L in nautilus type in the link (eg.sftp://[email protected]) then it will ask for password which by default is "admin"
after that you can basically copy your files into the system folder.
(you can also select the files choose properties and under permissions tab edit your perms. ) good luck! enjoy your working gallery
everything works and not work like in the thread i linked above
Download
http://www.mediafire.com/?64l50wul7waiho5
Click to expand...
Click to collapse
Good work, thank you, but I want to know if it possible to make a xRecovery zip ?
Its possible just not by me... i have no idea how that works @[email protected] tho i just selected a few of the stuff needed by you guys

Vrtheme issue - Onle for developers/expert discusion.

So here I have noticed issue with using vrtheme on new 4.3 MJ2 and seeking some Linux expert help to solve it.
work around
Simply using vrtheme causing FCs, SO i have changes the destination to see outcome file structure.
-All changes we have applied through vrtheme applied to output file. but icons get changed to android icon.
-Now if you move that output file to other destination using root explorer then also it regenerates original icons and we can use as final apk ready to push to System/app
-Again if we giving same command through recovery, it doesn't works
-Also copying with terminal emulator with cat command, it regenerates original structure. again same command using recovery fails to do it.
May be recovery issue??
here is log cat along with used vrtheme script.
dr.ketan said:
So here I have noticed issue with using vrtheme on new 4.3 MJ2 and seeking some Linux expert help to solve it.
work around
Simply using vrtheme causing FCs, SO i have changes the destination to see outcome file structure.
-All changes we have applied through vrtheme applied to output file. but icons get changed to android icon.
-Now if you move that output file to other destination using root explorer then also it regenerates original icons and we can use as final apk ready to push to System/app
-Again if we giving same command through recovery, it doesn't works
-Also copying with terminal emulator with cat command, it regenerates original structure. again same command using recovery fails to do it.
May be recovery issue??
Click to expand...
Click to collapse
doc, am not a linux expert, but i tried to inject your black aosp vrtheme files into the apk and flash them from cwm, it kills the wifi and have to wipe and reflash the whole rom. so, perhaps you want to put more attention to it.
waiting for your aosp theme and thanks a lot.
Wifi issue will be solved by reflashing recovery
I can show you temporary solution.
Just change path of pushing files to other from System/app then 1. you want get FCc bcoz it is not in system/app
2. Now from where you have defined destination from there move to some pther place with root explorer, now you will be able to see icons, once icons are correct you can pust to system/app.
dr.ketan said:
Wifi issue will be solved by reflashing recovery
I can show you temporary solution.
Just change path of pushing files to other from System/app then 1. you want get FCc bcoz it is not in system/app
2. Now from where you have defined destination from there move to some pther place with root explorer, now you will be able to see icons, once icons are correct you can pust to system/app.
Click to expand...
Click to collapse
sorry doc, but i cannot understand what you mean.
do you mean i should change the flashing path (in the script)? or do you mean i should copy the apks manually into the system/app by root explorer? if you mean the later, i can do, but the first one i don't.
i can see all the icons, just the wifi would not start after i flashed the modified apks through cwm flash. what do you mean by reflashing recovery?
Ok making clear again who want to use vrtheme
1.Change path in vrtheme installertheme.sh from system/app to other (e.g. just system)
2.Now when you flash vrtheme, you won't see any changes in system bcoz all apps will be in system and not in System/app.
3. Manually cut all app with root explorer from system to SDcard
4. Now you can see correct icons of all appl after moving to sdcard.
5.Now move those apk to system/app OR System/framework, where it should be.
6.Enjoy all the changes now in system
7.By this process you will lose wifi and you have to reflash recovery to get it back.
PS : For AOSP for MJ2 I have made it with same method above and uploading, Once uploaded will post to MJ2 thread, you have to simply flash that file. without doing anything above.
dr.ketan said:
Ok making clear again who want to use vrtheme
1.Change path in vrtheme installertheme.sh from system/app to other (e.g. just system)
2.Now when you flash vrtheme, you won't see any changes in system bcoz all apps will be in system and not in System/app.
3. Manually cut all app with root explorer from system to SDcard
4. Now you can see correct icons of all appl after moving to sdcard.
5.Now move those apk to system/app OR System/framework, where it should be.
6.Enjoy all the changes now in system
7.By this process you will lose wifi and you have to reflash recovery to get it back.
PS : For AOSP for MJ2 I have made it with same method above and uploading, Once uploaded will post to MJ2 thread, you have to simply flash that file. without doing anything above.
Click to expand...
Click to collapse
will just wait for your file then. dont want to mess my setup again. spent too much time experimenting with it today. lucky it's saturday in my country...
ok then wait 10 min.
EDIT : AOSP theme for MJ2 ROM Posted to MJ2 thread post#2
Doc.
I just came across thia issue thread discussion.
Surprised to see vrtheme issues.
I think it is worth trying morphing instead of vrtheme.
If it fails, then it is not a recovery issue..m
It might be android 4.3 security files that I noticed in /system...
I will dig in further and check...
Thx for sharing this discussion thread. :thumbup:
wesamothman said:
Doc.
I just came across thia issue thread discussion.
Surprised to see vrtheme issues.
I think it is worth trying morphing instead of vrtheme.
If it fails, then it is not a recovery issue..m
It might be android 4.3 security files that I noticed in /system...
I will dig in further and check...
Thx for sharing this discussion thread. :thumbup:
Click to expand...
Click to collapse
Already fixed that (at least in my MJ2 rom)
vrtheme works perfect on framework-res.apk and secsettings.apk

[UNIVERSAL] [BUG FIXES] For All ROMS [MEDIATEK]

HEY GUYS
I HAD CREATED THIS WHO ARE NEW TO DEVELOPMENT HAD PORTED ROM & GETTING BUGS SO HERE IS THE SOLUTION :fingers-crossed:
BUG FIXING FOR ALL ROMS MEDIATEK
So let's Start :silly:
1. FOR NETWORK RELATED ISSUES (3G)
Replace from /etc folder, mddb then replace agps_profiles_conf, apns-conf,epo_conf, spn-conf, virtual-spn-conf-by-efpnn, virtual-spn-conf-by-efspn, virtual-spn-conf-by-imsi
2. FOR WIFI TOGGLE PROBLEM
Replace wide-dhcpv6, wifi in /etc folder
3. FOR INTERNAL / EXTERNAL MEMORY NOT MOUNT PROBLEM
Replace vold.fstab from /etc folder
4. FOR HIGH AUDIO VOLUME ISSUE
Replace libcustom_nvram.sofrom /lib
5. FOR CAMERA NOT CONNECTED ISSUE / CAMERA GREEN
Replace first libcamdrv.so and check if not success then replace libcameraservice.so from/lib
6. FOR AUDIO NOT COMING IN LOUDSPEAKER MODE
Replace libaudio.primary.default.sofrom /lib
If still sound related problem:
Replace all libaud*.so
Sometimes replacing all audio files give you a boot loop in that case replace only
libaudio.a2dp.default.so
libaudio.primary.default.so
libaudiocompensationfilter.so
libaudiocustparam.so
libaudiosetting.so
libaudioutils.so
7. FOR FLASH LIGHT NOT COMING FROM CAMERA
Replace libfeatureio.so from /lib
8. FOR FM PROBLEM
Replace from /lib/module folder mtk_fm_drv.ko
9. TO FIX GPS
Replace from/lib/module folder mtk_stp_gps.ko
10. TO FIX COMPASS
Replace libsensorservice.so from /lib
11. TO FIX VIDEO SHOWING PIXELS AND GLITCHES
Replace libvcodecdrv.so from /lib
12. SHOWING WRONG RAM INFO IN TASK MANAGER
Don’t change ro.product.device value from the you are porting.
13. FOR GREEN CAMERA
Replacelibdpframework.so from lib folder
14. PROBLEM WITH 2G/3G SWITCHOpen Dialer and type *#*#4636#*#*
If a Pop Up appears go to Phone Information and choose your preferred network type.
15. PROBLEM DOWNLOADING EPO
Replace in framework folder
mediatek-common.jar
mediatek-framework.jar
mediatek-op.jar
mediatek-telephony-common.jar
16. ANY RESOLUTION PROBLEM
Add this line to build.prop
ro.sf.lcd_density=your phone screen dpi
ex- ro.sf.lcd_density=480 for FHD devices
17. SOME KEYS NOT WORKING
Replace keylayout folder under usr
18. NETWORK PROBLEM
Replace Firmware Folder from Etc
19. BLUETOOTH
Replace Mtkbt.apk IF PROBLEM NOT SOLVED THEN REPLACE BLEUTOOTH FOLDER FROM ETC
(If you get any more bugs and solutions please let me know. I will add them here. It will be helpful for all.)
HIT THANKS IF THIS HELPED YOU :laugh:
I haven't rolled out a custom ROM since my SK4G days. Still finding this extremely useful. Not many would give their time for MTK development. And those that do will find this helpful. So keep that thought while you maintain this thread.
PS FIRST REPLY POST! WHOO!
Capacitive buttons not lighting up on my Micromax a110.
How to light them up
Sent from my Micromax A110 using XDA Free mobile app
Or replace usr folder from any 4.2.2 rom or Use any app there are many
heya nice thread,but how to fix SystemUi Fc bug?
Hoping A reply from you soon..
Thanks..
Regards
Mr.Ak
Anything for vibration fix?
kirito9 said:
Anything for vibration fix?
Click to expand...
Click to collapse
Replace all Aud And Audio Related files In Lib Folder and Hw Folder also...It will fix Vibration...
Mr.Ak said:
Replace all Aud And Audio Related files In Lib Folder and Hw Folder also...It will fix Vibration...
Click to expand...
Click to collapse
Thanks I will give it a try
kirito9 said:
Thanks I will give it a try
Click to expand...
Click to collapse
Hapy to help You..
I am having a touchscreen problem wherein sometimes my screen don't respond when I touch it. The only things working are the hardkeys and power/volume buttons. So I have to restart my phone by removing the battery just to make it work again. Please help
Mr.Ak said:
Replace all Aud And Audio Related files In Lib Folder and Hw Folder also...It will fix Vibration...
Click to expand...
Click to collapse
No,That will bootloop if you replace all file libaudio****.
Op right.
KoSett said:
No,That will bootloop if you replace all file libaudio****.
Op right.
Click to expand...
Click to collapse
May be,not necessary.
I have an issue with ANY mt6737m 3.18.19 x32 ROM that I port to my Finow Q1 Pro smart watch.
Everything works fine except for no audio output. I have done all the usual fixes replacing the libaud.so files with no result.
Is there anything else I could be missing?
Query
I've some of the above problems like Wi-Fi, Bluetooth etc. So can I install this file?
Will my phone hang if I install this file?
Please reply.
Devoditt said:
I've some of the above problems like Wi-Fi, Bluetooth etc. So can I install this file?
Will my phone hang if I install this file?
Please reply.
Click to expand...
Click to collapse
No, it doesn't work like that And flashing wrong patches will make the phone to not boot.
I cant Fix without getting bootloop sensors and cam bug

[FIX BUG] Fixing some bugs when porting a Custom ROMs to your device!

To the point!
When you found a bug when porting a ROMs, you can try to fix using this methods!
Just replace it from Stock ROM to your Custom ROMs.
~~For MTK~~
Bootloop when porting
*libandroid_runtime.so
*libandroid_servers.so
*libmedia_jni.so
*Repack boot.image
RadioFM
\system\bin\fmradio
\system\etc\firmware\mt6620_patch_e3_hdr.bin
\system\etc\firmware\mt6620_patch_e6_hdr.bin
\system\etc\firmware\WMT.CFG
\system\lib\modules\mtk_fm_drv.ko
\system\lib\libfmcust.so
Sensors
/system/bin/akmd*
/system/lib/libsensors.so
/system/lib/libms3c_yamaha.so
/system/etc/firmware (folder)
/system/bin/servicemanager
Bluetooth\Wifi not turning On\Off
\system\lib\module\mtk_stp_wmt
Bluetooth
/system/bin/bd_prov
/system/bin/uim*
/system/bin/hcid
/system/bin/bluetooth*
/system/bin/hciattach
/system/bin/sdptool
/system/xbin/hciconfig
/system/bin/brcm_patchram_plus
/system/lib/libbluetooth_mtk.so
/system/lib/libbluetoothem_mtk.so
Wifi
/system/bin/netcfg
/system/bin/dhcpcd
/system/bin/ifconfig
/system/bin/hostap
/system/bin/hostapd
/system/bin/hostapd_bin
/system/bin/pcscd
/system/bin/wlan*
/system/bin/wpa*
/system/bin/netd -> Fix wifi hotspot
/system/lib/libhardwarelegacy.so -> Fix wifi /system/lib/modules/mtk_stp_wmt.ko/system/lib/modules/mtk_wmt_wifi.ko
/system/etc/wifi (folder)
/system/etc/firmware (folder)
Camera
/system/etc/media_profiles.xml
/system/lib/libcamera.so
/system/lib/liboemcamera.so
\system\lib\hw\camera.default.so
\system\lib\libcamera_client.so
\system\lib\libcameracustom.so\system\lib\libcameraprofile.so
\system\lib\libcameraservice.so
\system\lib\libmhal.so\system\lib\libmhalcontent.so
\system\lib\libmhaldrv.so
\system\lib\libmhalmdp.so
\system\lib\libmhalpipe.so
\system\lib\libmhalscenario.so
\system\lib\libmhalutility.so
\system\etc\permission\android.hardware.camera.front.xml
\system\lib\libOmx*.so ->fix camcoder
SD card/Memory
/system/bin/vold
\system\etc\vold.fstab -> edit file for swap internal and external
\system\etc\vold.fstab.nand
GPS
\system\xbin\libmnlp
/system/etc/gps.conf
Touch Screen(Haptic)
/system/usr
/system/usr\keylayout\Generic.kl ->fix HomeKey
Sim1/2 (RIL)
\system\etc\firmware\modem.img
\system\etc\permission (RIL)
/system/bin/stmd
/system/bin/rild*
/system/etc/rril
Audio/Sound
\system\lib\libaudio* .so
Ads
/system/etc/hosts ->replace with new files or use tweak.
~~SNAPDRAGON QUALCOMM~~
BUGS SIGNAL
Change all file berextensi librilxxx.so in system/lib with file from stock rom.
If doesn't appear, check imei *#06#
BUGS SENSOR
Change file sensorservice in system/bin with file from stock rom
Chamge file libsensorservice.so in system/lib with file from stock rom
Change file sensor.default.so in system/lib/hw with file from stock rom
BUGS CAMERA
Change all file extensi mm-qcameraxxx in system/bin with file from stock rom
Change file v4I2-qcamera-app in system/bin with file from stock rom
Change file camera.msm7627a.so in system/lib/hw with file from stock rom
Change file libcamera_client.so and libcameraservice.so in system/lib with file from stock rom
Change all file libmmcameraxxx.so in system/lib with file from stock rom
Change all libs started with *cam* in lib and lib64
Change all libs started with *omx* in system/vendor
BUGS FINGERPRINT (FPC/GOODIX)
Change gx_fpd in bin folder from stock to port
Change hwservicemanager in bin folder from stock to port
Change android.hardware.fingerprint.xml in etc folder from stock to port
Change libcom_fingerprints_service.so from lib and lib64 from stock to port
Change fingerprint.default.so and fingerprint.msmxxxx.so in hw folder in lib and lib64 from stock to port
Change name started in *fp* in vendor from stock to port
BUGS WIFI
Change file wpa_supplicant im system/bin with file from stock rom
Change folder firmware and wifi in system/etc with file from stock rom
Change file wifitest_recv.sh and wifitest_send.sh in system/etc with file from stock rom
Change file libwpa_client.so in system/lib with file from stock rom
Change file cfg80211.ko in system/lib/modules with file from stock rom
Change folder ath6kl in system/lib/modules with file from stock rom
Change file in folder wifi in system with file from stock rom
BUGS GPU
Change all file in folder egl in system/lib with file from stock rom
BUGS USB
Change file vfold.fstab in system/etc with file from stock rom
NB: still bug? Repack boot.img and see the ramdisk files.
BUGS VIDEO
Change all file berextensi libchromaticxxx.so in system/lib with file from stock rom.
Thanks in advance!
Give like if you like it!
i ported a rom.. its just fyn.. but settings is crashing.. when ever i open settings its crashing nd also play store no opening showing connection problem.. retry... help me with this!
Try fix permissions ,,
if the fix wifi tethering how
D2Y aka E said:
if the fix wifi tethering how
Click to expand...
Click to collapse
I need to know what the Chipset of your device? Is MTK or something else?
Thanks ,, [emoji4]
Jawaad_S said:
I need to know what the Chipset of your device? Is MTK or something else?
Thanks ,, [emoji4]
Click to expand...
Click to collapse
Qualcom bro...
Use the Qualcomm methods ,,
If its doesn't work, you can use the MTK methods ,,
Thanks
Any idea with FC errors when installing third party app in ported MIUI v4.
Maybe that apps is not compatiblelity for MIUI v4 ,,
my port brigthness not working,recent app not shown. then after i lockscreen it wont open.. i port s5 KK mt6582
Sent from my YP-G70 using XDA Free mobile app
Ported a rom successful from mobile with the exactly same specifications with mine, unfortunatelly the power key does not trigger screen lock and unlock, what to replace to make it work? Plus when the phone goes to deep sleep it takes ten to twenty seconds to come back on when power key pressed, please advise thanks.
sarry86 said:
Ported a rom successful from mobile with the exactly same specifications with mine, unfortunatelly the power key does not trigger screen lock and unlock, what to replace to make it work? Plus when the phone goes to deep sleep it takes ten to twenty seconds to come back on when power key pressed, please advise thanks.
Click to expand...
Click to collapse
The importantly for fixing is in system/lib. Theres so many bug when first time porting a ROM's and lib is the first to solve that bugs. Trying to replace the lib files from Stock ROM to your PORT ROM but not all. Just replace it one by one. If it makes your phone bootloop, the lib files is not compatibility with your PORT ROM's. And especially don't forget to backup the lib files before replace it from your Stock ROM.
Hope it helps
lildhiel08 said:
my port brigthness not working,recent app not shown. then after i lockscreen it wont open.. i port s5 KK mt6582
Sent from my YP-G70 using XDA Free mobile app
Click to expand...
Click to collapse
Its about the lib files bro ,,
I ported CM10 for my mtk6592 and there's just one error, when I put a number in dialer app and click on call, it says "searching for networks" and it remains there. However sometime it calls. And it can receive calls from other phones.
Copied all the SIM1/SIM2 files from base to port and the firmware folder and everything but its just not working.
And no apns are being displayed in settings.
3g turns on and displays "3G" on statusbar but net doesn't work.
Have copied apns_config but still doesn't work
Do you have any clue how to fix?
parasthakur37 said:
I ported CM10 for my mtk6592 and there's just one error, when I put a number in dialer app and click on call, it says "searching for networks" and it remains there. However sometime it calls. And it can receive calls from other phones.
Copied all the SIM1/SIM2 files from base to port and the firmware folder and everything but its just not working.
And no apns are being displayed in settings.
3g turns on and displays "3G" on statusbar but net doesn't work.
Have copied apns_config but still doesn't work
Do you have any clue how to fix?
Click to expand...
Click to collapse
In system/framework, you can replace telephony-common.jar and telephony bla la. And in the system/lib replace all file with the name of "ril" and in system/bin replace it too the file "ril" to your Port ROM from Stock ROM.
Hope it helps
Jawaad_S said:
The importantly for fixing is in system/lib. Theres so many bug when first time porting a ROM's and lib is the first to solve that bugs. Trying to replace the lib files from Stock ROM to your PORT ROM but not all. Just replace it one by one. If it makes your phone bootloop, the lib files is not compatibility with your PORT ROM's. And especially don't forget to backup the lib files before replace it from your Stock ROM.
Hope it helps
Click to expand...
Click to collapse
Hats off to the devs, this porting stuff is a pain in the a**, porting ain't easy. Thanks will try libs one by one to see if i can fix it
led light blinging always
Please how do I fix led light always on after notification is cleared the light will still be on ........... (The home key , back key and settings key all having light always) will be happy if I can fix that)
What to do when we get
android.process.media has stopped...???
sarry86 said:
Hats off to the devs, this porting stuff is a pain in the a**, porting ain't easy. Thanks will try libs one by one to see if i can fix it
Click to expand...
Click to collapse
Good luck
Akorstayblessed said:
Please how do I fix led light always on after notification is cleared the light will still be on ........... (The home key , back key and settings key all having light always) will be happy if I can fix that)
Click to expand...
Click to collapse
I'm so sorry. I can't fix the bug like that. You can tell the Dev because i've never found a bug like that.
Hope it helps
saurabh1234 said:
What to do when we get
android.process.media has stopped...???
Click to expand...
Click to collapse
Check the system/framework files.
i have ported a rom it had storage 0.0b so i changed vold from system/bin and i got a bug with usb pc connection (MTP,PTP,Charging mode) but usb debugging works
Device Micromax A092(Snapdragon MSM8212)
ROM ported LAVA iris 406q(MSM 8610)

Categories

Resources