[Samsung Galaxy Nexus] cj360:
Hello, not sure if I should post/ask this here but I will since everyone's been helpful to each other.

My device has a separate Ril class for 4.1.2 to work with cdma, but the user that created it has stopped developing android and was wondering if anyone could help me update it or modfiy one from another device to work with mine (xperia play).

Original Ril is here on my github

this is what's not used anymore in 4.2.2:

target Java: PackageInstaller (/home/andrew/cm10.1/out/target/common/obj/APPS/PackageInstaller_intermediates/classes)
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:86: cannot find symbol
symbol : class IccCardApplication
location: class com.android.internal.telephony.SemcRILCDMA
IccCardApplication ca;
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:91: cannot find symbol
symbol : method setGsmUmtsSubscriptionAppIndex(int)
location: class com.android.internal.telephony.IccCardStatus
status.setGsmUmtsSubscriptionAppIndex(p.readInt());
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:92: cannot find symbol
symbol : method setCdmaSubscriptionAppIndex(int)
location: class com.android.internal.telephony.IccCardStatus
status.setCdmaSubscriptionAppIndex(p.readInt());
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:93: cannot find symbol
symbol : method setImsSubscriptionAppIndex(int)
location: class com.android.internal.telephony.IccCardStatus
status.setImsSubscriptionAppIndex(p.readInt());
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:101: cannot find symbol
symbol : method setNumApplications(int)
location: class com.android.internal.telephony.IccCardStatus
status.setNumApplications(numApplications);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:104: cannot find symbol
symbol : class IccCardApplication
location: class com.android.internal.telephony.SemcRILCDMA
ca = new IccCardApplication();
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:121: cannot find symbol
symbol : method getNumApplications()
location: class com.android.internal.telephony.IccCardStatus
if (status.getNumApplications() > 0)
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:126: cannot find symbol
symbol : method getCdmaSubscriptionAppIndex()
location: class com.android.internal.telephony.IccCardStatus
appType = status.getCdmaSubscriptionAppIndex();
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:128: cannot find symbol
symbol : method getGsmUmtsSubscriptionAppIndex()
location: class com.android.internal.telephony.IccCardStatus
appType = status.getGsmUmtsSubscriptionAppIndex();
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:131: cannot find symbol
symbol : class IccCardApplication
location: class com.android.internal.telephony.SemcRILCDMA
IccCardApplication application = status.getApplication(appType);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:131: cannot find symbol
symbol : method getApplication(int)
location: class com.android.internal.telephony.IccCardStatus
IccCardApplication application = status.getApplication(appType);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:372: cannot find symbol
symbol : method getNumApplications()
location: class com.android.internal.telephony.IccCardStatus
if (status.getNumApplications() == 0) {
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:381: cannot find symbol
symbol : method getCdmaSubscriptionAppIndex()
location: class com.android.internal.telephony.IccCardStatus
appIndex = status.getCdmaSubscriptionAppIndex();
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:384: cannot find symbol
symbol : method getGsmUmtsSubscriptionAppIndex()
location: class com.android.internal.telephony.IccCardStatus
appIndex = status.getGsmUmtsSubscriptionAppIndex();
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:388: cannot find symbol
symbol : class IccCardApplication
location: class com.android.internal.telephony.SemcRILCDMA.IccHandler
IccCardApplication application = status.getApplication(appIndex);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:388: cannot find symbol
symbol : method getApplication(int)
location: class com.android.internal.telephony.IccCardStatus
IccCardApplication application = status.getApplication(appIndex);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:389: package IccCardApplication does not exist
IccCardApplication.AppState app_state = application.app_state;
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:390: package IccCardApplication does not exist
IccCardApplication.AppType app_type = application.app_type;
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:393: cannot find symbol
symbol : variable APPSTATE_PIN
location: class com.android.internal.telephony.SemcRILCDMA.IccHandler
case APPSTATE_PIN:
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:394: cannot find symbol
symbol : variable APPSTATE_PUK
location: class com.android.internal.telephony.SemcRILCDMA.IccHandler
case APPSTATE_PUK:
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:396: cannot find symbol
symbol : variable APPTYPE_SIM
location: class com.android.internal.telephony.SemcRILCDMA.IccHandler
case APPTYPE_SIM:
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:397: cannot find symbol
symbol : variable APPTYPE_USIM
location: class com.android.internal.telephony.SemcRILCDMA.IccHandler
case APPTYPE_USIM:
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:398: cannot find symbol
symbol : variable APPTYPE_RUIM
location: class com.android.internal.telephony.SemcRILCDMA.IccHandler
case APPTYPE_RUIM:
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:406: cannot find symbol
symbol : variable APPSTATE_READY
location: class com.android.internal.telephony.SemcRILCDMA.IccHandler
case APPSTATE_READY:
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:408: cannot find symbol
symbol : variable APPTYPE_SIM
location: class com.android.internal.telephony.SemcRILCDMA.IccHandler
case APPTYPE_SIM:
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:409: cannot find symbol
symbol : variable APPTYPE_USIM
location: class com.android.internal.telephony.SemcRILCDMA.IccHandler
case APPTYPE_USIM:
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/SemcRILCDMA.java:410: cannot find symbol
symbol : variable APPTYPE_RUIM
location: class com.android.internal.telephony.SemcRILCDMA.IccHandler
case APPTYPE_RUIM:
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
27 errors

I know I'm posting in a nexus forum, but I'm hoping someone might be able to point me in the right direction.