View Poll Results: Is this guide helping you ?
Yes 56 88.89%
No 7 11.11%
Voters: 63. You may not vote on this poll

Post Reply

[GUIDE]Porting Any Custom Roms[Fastest method][Update for porting MIUI Kitkat]

OP Nasheich Xfiles

16th February 2015, 07:54 PM   |  #211  
Member
beirut
Thanks Meter: 59
 
38 posts
Join Date:Joined: Dec 2014
More
Hello, I have galaxy s4 I9515 that have mostly the same specs of the normal s4 I9505 but dont have any rom, but we had ported googymax tw 4.4.2 kernel to my device and and fixed all the problems, by applying some patches to a rom, except the bluetooth didn't work. I had tried many things and none works and most ends in bluetooth share fc. Please can anyone help me in fixing my problem or at least give me some hints.
Thanks in advance.
Last edited by AhmadRkein; 16th February 2015 at 07:56 PM.
27th February 2015, 02:09 PM   |  #212  
Junior Member
Flag Minsk
Thanks Meter: 0
 
4 posts
Join Date:Joined: Feb 2015
More
Hi all!
Very need ur help, such problem: i`m porting rom for my xperia go, it`s working but there is serious issue with all interface, because ported rom was for 240 density and my screen is only 160 density.
So, i don`t know how to convert(remake) (i`m russian, sorry for my funny english) all graphic in my rom, adapt it for my dpi.
I ll be very thankfull for any help, coz very want to port Flyme OS to my phone!!
Yesterday, 05:49 PM   |  #213  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Feb 2015
Quote:
Originally Posted by Nasheich Xfiles

Now, to fix some issues in rom port, do these...

1. Information about rom
Open build.prop from booth of the rom then edit information just like the rom port
You can edit these lines in build.prop

# begin build properties
# autogenerated by buildinfo.sh
ro.build.display.id=
ro.build.date=
ro.build.user=
ro.build.host=
ro.product.name=
ro.product.locale.language=
ro.product.locale.region=
ro.cm.device=
# end build properties


#
# ADDITIONAL_BUILD_PROPERTIES
#
persist.sys.root_access=
ro.modversion= > replace with rom port
ro.cm.version= > you can delete this
ro.config.ringtone=
ro.config.notification_sound=
ro.config.alarm_alert=
ro.sf.lcd_density=

and the other lines relating information about rom

2. RIL
Replace these files in rom port with your rom base files
system/bin/rild
system/lib/libreference-ril.so
system/lib/libril.so
system/lib/librilutils.so
system/lib/libsec-ril.so
system/lib/libsecril-client.so

And add any files with "ril" in the name of file



3. Sensor
Replace these files in rom port with your rom base files
system/bin/sensord
system/bin/sensorservice
system/lib/libsensorservice.so
system/lib/libhardware.so
system/lib/libhardware_legacy.so



4. WiFi
Replace these files in rom port with your rom base files
system/bin/wifimac
system/bin/wpa_cli
system/bin/wpa_supplicant
system/lib/libwpa_client.so


5. Missing files
You have to copy the rest of files in base rom to port rom to make rom better, but don't replace it if the files/folders was exist



6. Files can be replace in your ported rom using files from base rom


Bin
>adb
>dalvikvm
>debuggerd
>dhcpcd
>dnsmasq
>drmserver
>gdbserver
>glgps
>hostapd
>hostapd_cli
>ime
>ip
>ip6tables
>iptables
>logcat
>logwrapper
>media
>mediaserver
>mtpd
>ndc
>netcfg
>netd
>ntfs-3g
>ping
>ping6
>pppd
>radiooptions
>rild
>screenshot
>sdcard
>sensord
>sensorservice
>service
>servicemanager
>toolbox
>vdc
>vold
>wifimac
>wpa_cli
>wpa_supplicant


Lib
>lge-ril.so (for LG devices)
>libbluetooth_jni.so
>libbt-hci.so
>libbt-utils.so
>libhardware.so
>libhardware_legacy.so
>liblgehdmi.so
>libnfc.so
>libnfc_jni.so
>libnfc_ndef.so
>libreference-ril.so
>libril.so
>librilutils.so
>libsensorservice.so
>libwpa_client.so
>
>


7. Video streaming
> libstagefright.so
and all libs with "libstagefright" of the lib's name

What all these for .. Is it necessary or only if bug exists.....
Post Reply Subscribe to Thread

Tags
porting miui, porting mokee open source project, porting pac slimkat sokp aokp aosb carbon aospa, porting rom
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes