CyanogenMod 7 Zte Warp Development thread, Sources, and Discussions


  1. Dm47021

    Dm47021 Well-Known Member Developer

    reserved

    Advertisement
    :
  2. Dm47021

    Dm47021 Well-Known Member Developer

    Ive added a Ril Class to phoneFactory.java to use ZTEQualcommRIL.java but like hroark, iam getting errors with Symbols.

    This may be a job for you Mercury. Lets do this thing

    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:122: cannot find symbol
    symbol : variable RIL_REQUEST_VOICE_REGISTRATION_STATE
    location: class com.android.internal.telephony.ZTEQualcommRIL
    case RIL_REQUEST_VOICE_REGISTRATION_STATE: ret = responseStrings(p); break;
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:123: cannot find symbol
    symbol : variable RIL_REQUEST_DATA_REGISTRATION_STATE
    location: class com.android.internal.telephony.ZTEQualcommRIL
    case RIL_REQUEST_DATA_REGISTRATION_STATE: ret = responseStrings(p); break;
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:176: cannot find symbol
    symbol : method responseGetPreferredNetworkType(android.os.Parcel)
    location: class com.android.internal.telephony.ZTEQualcommRIL
    case RIL_REQUEST_GET_PREFERRED_NETWORK_TYPE: ret = responseGetPreferredNetworkType(p); break;
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:179: cannot find symbol
    symbol : variable RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE
    location: class com.android.internal.telephony.ZTEQualcommRIL
    case RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE: ret = responseVoid(p); break;
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:356: cannot find symbol
    symbol : variable mPreferredNetworkType
    location: class com.android.internal.telephony.ZTEQualcommRIL
    setPreferredNetworkType(mPreferredNetworkType, null);
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:357: cannot find symbol
    symbol : method setCdmaSubscriptionSource(int,<nulltype>)
    location: class com.android.internal.telephony.ZTEQualcommRIL
    setCdmaSubscriptionSource(mCdmaSubscription, null);
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:379: cannot find symbol
    symbol : variable mRilVersion
    location: class com.android.internal.telephony.ZTEQualcommRIL
    mRilVersion = rilVer;
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:380: cannot find symbol
    symbol : variable mRilConnectedRegistrants
    location: class com.android.internal.telephony.ZTEQualcommRIL
    if (mRilConnectedRegistrants != null) {
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:381: cannot find symbol
    symbol : variable mRilConnectedRegistrants
    location: class com.android.internal.telephony.ZTEQualcommRIL
    mRilConnectedRegistrants.notifyRegistrants(
    ^
    Install: out/target/product/arthur/system/lib/libcamera_client.so
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:830: cannot find symbol
    symbol : method PinStateFromRILInt(int)
    location: class com.android.internal.telephony.IccCardApplication
    ca.pin1 = ca.PinStateFromRILInt(p.readInt());
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:831: cannot find symbol
    symbol : method PinStateFromRILInt(int)
    location: class com.android.internal.telephony.IccCardApplication
    ca.pin2 = ca.PinStateFromRILInt(p.readInt());
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:850: incomparable types: int and com.android.internal.telephony.IccCardStatus.PinState
    mPinState = (application.pin1 == IccCardStatus.PinState.PINSTATE_DISABLED ||
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:851: incomparable types: int and com.android.internal.telephony.IccCardStatus.PinState
    application.pin1 == IccCardStatus.PinState.PINSTATE_UNKNOWN) ? 0 : 1;
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:860: cannot find symbol
    symbol : method needsOldRilFeature(java.lang.String)
    location: class com.android.internal.telephony.ZTEQualcommRIL
    boolean oldRil = needsOldRilFeature("datacall");
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:863: cannot find symbol
    symbol : method getDataCallState(android.os.Parcel,int)
    location: class com.android.internal.telephony.RIL
    return super.getDataCallState(p, version);
    ^
    target SharedLib: libmedia (out/target/product/arthur/obj/SHARED_LIBRARIES/libmedia_intermediates/LINKED/libmedia.so)
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:865: cannot find symbol
    symbol : variable version
    location: class com.android.internal.telephony.DataCallState
    dataCall.version = 3; // was dataCall.version = version;
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:872: cannot find symbol
    symbol : variable addresses
    location: class com.android.internal.telephony.DataCallState
    dataCall.addresses = addresses.split(" ");
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:874: cannot find symbol
    symbol : variable ifname
    location: class com.android.internal.telephony.DataCallState
    dataCall.ifname = "rmnet0";
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:878: cannot find symbol
    symbol : variable dnses
    location: class com.android.internal.telephony.DataCallState
    dataCall.dnses = new String[2];
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:879: cannot find symbol
    symbol : variable dnses
    location: class com.android.internal.telephony.DataCallState
    dataCall.dnses[0] = SystemProperties.get("net."+dataCall.ifname+".dns1");
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:879: cannot find symbol
    symbol : variable ifname
    location: class com.android.internal.telephony.DataCallState
    dataCall.dnses[0] = SystemProperties.get("net."+dataCall.ifname+".dns1");
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:880: cannot find symbol
    symbol : variable dnses
    location: class com.android.internal.telephony.DataCallState
    dataCall.dnses[1] = SystemProperties.get("net."+dataCall.ifname+".dns2");
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:880: cannot find symbol
    symbol : variable ifname
    location: class com.android.internal.telephony.DataCallState
    dataCall.dnses[1] = SystemProperties.get("net."+dataCall.ifname+".dns2");
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:856: method does not override or implement a method from a supertype
    @Override
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:890: cannot find symbol
    symbol : method needsOldRilFeature(java.lang.String)
    location: class com.android.internal.telephony.ZTEQualcommRIL
    boolean oldRil = needsOldRilFeature("datacall");
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:893: cannot find symbol
    symbol : method responseSetupDataCall(android.os.Parcel)
    location: class com.android.internal.telephony.RIL
    return super.responseSetupDataCall(p);
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:896: cannot find symbol
    symbol : variable version
    location: class com.android.internal.telephony.DataCallState
    dataCall.version = 3;
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:899: cannot find symbol
    symbol : variable ifname
    location: class com.android.internal.telephony.DataCallState
    dataCall.ifname = p.readString();
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:900: cannot find symbol
    symbol : variable ifname
    location: class com.android.internal.telephony.DataCallState
    if (TextUtils.isEmpty(dataCall.ifname)) {
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:906: cannot find symbol
    symbol : variable addresses
    location: class com.android.internal.telephony.DataCallState
    dataCall.addresses = addresses.split(" ");
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:909: cannot find symbol
    symbol : variable dnses
    location: class com.android.internal.telephony.DataCallState
    dataCall.dnses = new String[2];
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:910: cannot find symbol
    symbol : variable dnses
    location: class com.android.internal.telephony.DataCallState
    dataCall.dnses[0] = SystemProperties.get("net."+dataCall.ifname+".dns1");
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:910: cannot find symbol
    symbol : variable ifname
    location: class com.android.internal.telephony.DataCallState
    dataCall.dnses[0] = SystemProperties.get("net."+dataCall.ifname+".dns1");
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:911: cannot find symbol
    symbol : variable dnses
    location: class com.android.internal.telephony.DataCallState
    dataCall.dnses[1] = SystemProperties.get("net."+dataCall.ifname+".dns2");
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:911: cannot find symbol
    symbol : variable ifname
    location: class com.android.internal.telephony.DataCallState
    dataCall.dnses[1] = SystemProperties.get("net."+dataCall.ifname+".dns2");
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:913: cannot find symbol
    symbol : variable status
    location: class com.android.internal.telephony.DataCallState
    dataCall.status = 0;
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:885: method does not override or implement a method from a supertype
    @Override
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:922: cannot find symbol
    symbol : class OperatorInfo
    location: class com.android.internal.telephony.ZTEQualcommRIL
    ArrayList<OperatorInfo> ret;
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:930: cannot find symbol
    symbol : class OperatorInfo
    location: class com.android.internal.telephony.ZTEQualcommRIL
    ret = new ArrayList<OperatorInfo>(strings.length / 5);
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:934: cannot find symbol
    symbol : class OperatorInfo
    location: class com.android.internal.telephony.ZTEQualcommRIL
    new OperatorInfo(
    ^
    frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:918: method does not override or implement a method from a supertype
    @Override
    ^
    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.
    41 errors
  3. mercury0x000d

    mercury0x000d Digital Packrat Guide

    Almost looks like a declaration is missing or changed. The only thing that sucks is I know zero about Java. It seems fairly C-like, so that helps a little bit. What source did you start with and what have you done to it so far?
  4. Dm47021

    Dm47021 Well-Known Member Developer

    That's all un modified
  5. downthemachine

    downthemachine Developer Incognito VIP Member

    Try the modified lge Java that the triumph uses
  6. Dm47021

    Dm47021 Well-Known Member Developer

  7. Dm47021

    Dm47021 Well-Known Member Developer

    IF You have the skills/Knowledge, Or just want to help with CM7 Warp Development. FEEL FREE to join the IRC Channel for CM7 server: freenode channel #CM7WRP

    Please do not bombard the channel with non dev questions or you will be banned.. sorry but this is for development only
Loading...

Share This Page