Jump to content

[ROM][4.4.4][ALL] SlimKat 9.1 UNOFFICIAL [29/12/2015]


Recommended Posts

Guest Y300-0100
Posted (edited)

The RIL interfaces have changed between kitkat and lollipop. I have copied in the missing QualcommSharedRIL.java from SlimKat which is used by our HuaweiQualcommRIL.java class and ported them to compile but can't get them to work.

    // Hack for Lollipop

    // The system now queries for SIM status before radio on, resulting

    // in getting an APPSTATE_DETECTED state. The RIL does not send an

    // RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED message after the SIM is

    // initialized, so delay the message until the radio is on.

    @Override
    public void
    getIccCardStatus(Message result) {
        if (mState != RadioState.RADIO_ON) {
            mPendingGetSimStatus = result;
        } else {
            super.getIccCardStatus(result);
        }
    }

    @Override
    protected void switchToRadioState(RadioState newState) {
        super.switchToRadioState(newState);

        if (newState == RadioState.RADIO_ON && mPendingGetSimStatus != null) {
            super.getIccCardStatus(mPendingGetSimStatus);
            mPendingGetSimStatus = null;
        }
    }
}
Edited by Y300-0100
Guest luca020400
Posted

 

    // Hack for Lollipop

    // The system now queries for SIM status before radio on, resulting

    // in getting an APPSTATE_DETECTED state. The RIL does not send an

    // RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED message after the SIM is

    // initialized, so delay the message until the radio is on.

    @Override
    public void
    getIccCardStatus(Message result) {
        if (mState != RadioState.RADIO_ON) {
            mPendingGetSimStatus = result;
        } else {
            super.getIccCardStatus(result);
        }
    }

    @Override
    protected void switchToRadioState(RadioState newState) {
        super.switchToRadioState(newState);

        if (newState == RadioState.RADIO_ON && mPendingGetSimStatus != null) {
            super.getIccCardStatus(mPendingGetSimStatus);
            mPendingGetSimStatus = null;
        }
    }
}

Good found :D

Guest spanitzer
Posted

// Hack for Lollipop

// The system now queries for SIM status before radio on, resulting

// in getting an APPSTATE_DETECTED state. The RIL does not send an

// RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED message after the SIM is

// initialized, so delay the message until the radio is on.

    @Override
    public void
    getIccCardStatus(Message result) {
        if (mState != RadioState.RADIO_ON) {
            mPendingGetSimStatus = result;
        } else {
            super.getIccCardStatus(result);
        }
    }

    @Override
    protected void switchToRadioState(RadioState newState) {
        super.switchToRadioState(newState);

        if (newState == RadioState.RADIO_ON && mPendingGetSimStatus != null) {
            super.getIccCardStatus(mPendingGetSimStatus);
            mPendingGetSimStatus = null;
        }
    }
}
You are so good! :)
Guest Y300-0100
Posted

You are so good! :)

I don't know. We wait word from chil now :)

I just did some research.

Guest chil360
Posted

I have already tried that and more.

 

Can someone on kitkat make a logcat for me and post it on pastebin using the command: adb logcat -b radio

If I can see how it should work maybe I can work out what's going wrong.

Guest chil360
Posted

I'm using modified version of QualcommSharedRIL.java and HuaweiQualcommRIL.java to compile in SlimLP. Haven't modifed any of the frameworks/opt/telephony code.

Guest Y300-0100
Posted (edited)

I was thinking your HuaweiQualcommRIL.java and one I send u.

 

+

ro.cdma.subscribe_on_ruim_ready=true

E/PhoneBase( 1258): Error! registerForCallWaiting() in PhoneBase should not be called, CDMAPhone inactive.
Edited by Y300-0100
Guest Trapezio
Posted

Great! A new release published in my birthday's day :D

Posted

Great! A new release published in my birthday's day :D

Happy birthday, Trapezio! :)

 

If Chil will stay with Tuesday for further releases, I might  also get a new release on on my birthday in January!

(Maybe new SlimLP? :rolleyes: )

Posted

Can I update from 8.18 just doing wipe in dalvik, caché and system?

I won't lose my apps if I do that, right?

 

Or must I to perform a clean install? :/

Guest luca020400
Posted (edited)

He need to add d2w and s2w ( maybe s2w no )

And it's very bugged ( you have to enter the pass during a call )

I'll try to add it ;)

Edited by luca020400
Posted

Can u give us nightly slimlp build so we can test it, mb we can help u debugg it faster

Guest anotherjib
Posted (edited)

Strange thing happens with 8.20: although antutu gives quite low score, real feeling is that this one is better than ever - very smooth, no noticeable lags, no reboots, graphics has never been as clear as now...

 

Btw, one question: I did clean install with full wipe (cache, dalvik, system, data) but after that all the apps were present, sync did not need to reinstall them. Very convenient, but why? Has anything been modified? Or this is done by Link2SD? (I've used it with 8.18 but then uninstalled it)

Edited by anotherjib
Guest luca020400
Posted

Strange thing happens with 8.20: although antutu gives quite low score, real feeling is that this one is better than ever - very smooth, no noticeable lags, no reboots, graphics has never been as clear as now...

 

Btw, one question: I did clean install with full wipe (cache, dalvik, system, data) but after that all the apps were present, sync did not need to reinstall them. Very convenient, but why? Has anything been modified? Or this is done by Link2SD? (I've used it with 8.18 but then uninstalled it)

You haven't wiped data

Can u give us nightly slimlp build so we can test it, mb we can help u debugg it faster

As he said he will not release slimkat without ril 

Guest Trapezio
Posted

Happy birthday, Trapezio! :)

 

If Chil will stay with Tuesday for further releases, I might  also get a new release on on my birthday in January!

(Maybe new SlimLP? :rolleyes: )

Thanks!

I hope so!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.