[Galaxy S 4 i9505 Android Development] AntaresOne:
[MENTION=3443334]MattBooth[/MENTION] [MENTION=4830253]Danvdh[/MENTION]

Guys I see Sprint and Verizon issues in your OP, check out init_jflte.c here:

https://github.com/JDCTeam/android_...mmit/1763690ed97a160a69070a559e71640d83fa5427

As you cannot rebuild init, the whole thing may be driven at ROM's installation/update with something like this:

RIL properties for general CDMA, GSM, Sprint and Verizon CDMA in system/ril/*.prop

gsm.prop (with GSM RIL props for jflteatt, jfltecan, jfltetmo, jfltexx, jfltezm, jftddxx, jgedlte)

ril.subscription.types=NV,RUIM
DEVICE_PROVISIONED=1
ro.telephony.default_network=9
telephony.lteOnGsmDevice=1

spr.prop (with CDMA RIL props for jfltespr, jflterefreshspr)

ro.cdma.home.operator.numeric=310120
ro.cdma.home.operator.alpha=Sprint
ro.gps.set_privacy=1
ro.telephony.default_network=8
ro.telephony.get_imsi_from_sim=true
telephony.lteOnCdmaDevice=1
telephony.sms.pseudo_multipart=1
persist.radio.snapshot_enabled=1
persist.radio.snapshot_timer=22
persist.eons.enabled=false
ro.telephony.default_cdma_sub=1

usc.prop (with CDMA RIL props for jfltecri, jfltecsp, jflteusc)

ro.cdma.home.operator.numeric=311580 [b]*depends on carrier but suitable for all R970s[/b]
ro.cdma.home.operator.alpha=U.S.Cellular [b]*depends on carrier but suitable for all R970s[/b]
ro.gps.set_privacy=1
ro.telephony.default_network=8
telephony.lteOnCdmaDevice=1
ril.subscription.types=NV,RUIM
telephony.sms.pseudo_multipart=1
persist.radio.snapshot_enabled=1
persist.radio.snapshot_timer=22
ro.config.combined_signal=true
ro.gsm.data_retry_config=max_retries=infinite,0,0,60000,120000,480000,900000
DEVICE_PROVISIONED=1
persist.eons.enabled=false

vzw.prop (with CDMA RIL props for jfltevzw)

ro.cdma.home.operator.numeric=311480
ro.cdma.home.operator.alpha=Verizon
ro.gps.set_privacy=1
ro.telephony.default_network=10
ro.telephony.get_imsi_from_sim=true
telephony.lteOnCdmaDevice=1
persist.radio.snapshot_enabled=1
persist.radio.snapshot_timer=22
ro.config.multimode_cdma=1
ro.config.combined_signal=true
ro.gsm.data_retry_config=max_retries=infinite,5000,5000,60000,120000,480000,900000
DEVICE_PROVISIONED=1
persist.eons.enabled=false
ro.telephony.default_cdma_sub=0

Edit this part of build.prop from

rild.libpath=/system/lib/libril-qc-qmi-1.so
ro.sf.lcd_density=480
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=NV,RUIM
DEVICE_PROVISIONED=1
ro.telephony.default_network=9

to

[B][COLOR="Red"](Put ro.sf.lcd_density=480 elsewhere in the file)[/COLOR][/B]

# Radio
rild.libargs=-d /dev/smd0
rild.libpath=/system/lib/libril-qc-qmi-1.so

Add the following code to the end of updater-script, before last unmount("/system"); is called

ifelse(is_substring("I337", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox sed -i '/rild.libpath/ r system/ril/gsm.prop' /system/build.prop"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox sed -i '/rild.libpath/ r system/ril/vzw.prop' /system/build.prop"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox sed -i 's/ro.com.google.clientidbase=android-google/ro.com.google.clientidbase=android-verizon/g' /system/build.prop"));
ifelse(is_substring("L720", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox sed -i '/rild.libpath/ r system/ril/spr.prop' /system/build.prop"));
ifelse(is_substring("M919", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox sed -i '/rild.libpath/ r system/ril/gsm.prop' /system/build.prop"));
ifelse(is_substring("R970", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox sed -i '/rild.libpath/ r system/ril/usc.prop' /system/build.prop"));
ifelse(is_substring("I9505", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox sed -i '/rild.libpath/ r system/ril/gsm.prop' /system/build.prop"));
ifelse(is_substring("I9507", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox sed -i '/rild.libpath/ r system/ril/gsm.prop' /system/build.prop"));
ifelse(is_substring("I9508", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox sed -i '/rild.libpath/ r system/ril/gsm.prop' /system/build.prop"));
delete_recursive("/system/ril");

Assuming that you already edited the Teleservice this must enhance RIL support for all variants and fix variant-based issues. :)