[Galaxy S 4 i9505 Android Development] broodplank1337:
Check this out, I found this in GlobalConfig.jar, many many many switches to regulate the rom! Maybe we can fix sim this way :)

I'm currently playing around with the settings, but changing these bools can make serious rom changes!

If the settings make a difference we have tons of features to disable/enable as we like :D

To large to say in text. so attached the file, Really hope those bools really are affected by changing its value :P

example of some pin settings:

.field public static final GLOBALCONFIG_RIL_SIM_BLOCK_IMSI_CSIM:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_BROADCAST_NO_SIM_NOTY:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_DEVICEPIN:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_EF_EXT5_ADF:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_GET_CARD_STATUS:Z = true

.field public static final GLOBALCONFIG_RIL_SIM_HOT_SWAP:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_ISPSERVICE:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_KDDI_OTA:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_MSISDN_SUPPORT_WILDCHAR:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_PERMANENT_BLOCK:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_PHONEBOOKAPI:Z = true

.field public static final GLOBALCONFIG_RIL_SIM_PLMNACTION_INTENT:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_SUPPORT_3GPP_CDMA:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_SUPPORT_ICCID_CDMA:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_TYPE:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_UPDATE_OTASP_USING_MIN:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_USA_CDMA_ID_EXTENED:Z = false

.field public static final GLOBALCONFIG_RIL_SIM_USE_PHONEBOOK_CACHE:Z = true

or some other general settings, everything is there:

eld public static final GLOBALCONFIG_SETTINGS_ADD_GUIDED_TOURS_MENU_IN_HELPAPP:Z = false

.field public static final GLOBALCONFIG_SETTINGS_ALTERNATIVE_SMARTSWITCH_WIDGET:Z = false

.field public static final GLOBALCONFIG_SETTINGS_BLOCK_DISABLE_BUTTON_FOR_SOME_APPLICATIONS:Z = false

.field public static final GLOBALCONFIG_SETTINGS_CAMERA_ONLY_MODEL:Z = false

.field public static final GLOBALCONFIG_SETTINGS_DATA_ONLY_MODEL:Z = false

.field public static final GLOBALCONFIG_SETTINGS_DEFAULT_LOCKSCREEN_AS_PERSONAL_MESSAGE:Z = true

.field public static final GLOBALCONFIG_SETTINGS_DISABLE_ANIMATION_SCALE:Z = false

.field public static final GLOBALCONFIG_SETTINGS_DISABLE_APN_CHANGE_WHEN_TETHERING_ACTIVATED:Z = false

.field public static final GLOBALCONFIG_SETTINGS_DISABLE_AUDIO_APPLICATION:Z = true

.field public static final GLOBALCONFIG_SETTINGS_DISABLE_LOCK_SCREEN_RIPPLE_EFFECT:Z = false

.field public static final GLOBALCONFIG_SETTINGS_DISABLE_PSM_BROWSER:Z = false

Here some more in CustFeature.jar

.field public static final CUSTFEATURE_APPFW_DEFAULT_HARDWAREACCEL:Z = true

.field public static final CUSTFEATURE_APPFW_LOCKSCREEN_MEDIA_WIDGET:Z = true

.field public static final CUSTFEATURE_APPFW_LOCKSCREEN_TICKER:Z = true

.field public static final CUSTFEATURE_CALL_IMSVT_SUPPORT:Z = false

.field public static final CUSTFEATURE_CAMERA_DEFAULT_DESTINATION:Z = false

Settings hidden everywhere!

edit: just found the lamest most useless jar file of my life, called com.samsung.device.jar

this is only whats in it :')

.class public final Lcom/samsung/device/Features;
.super Ljava/lang/Object;
.source "Features.java"

# static fields
.field public static final VERSION:Ljava/lang/String; = "1.0"

# direct methods
.method public constructor <init>()V
.locals 0

invoke-direct {p0}, Ljava/lang/Object;-><init>()V

return-void
.end method

.method public static isSamsungDevice()Z
.locals 1

const/4 v0, 0x1

return v0
.end method

What would happen if you change it to 0 ? It would become AOSP :D? XD