Jump to content

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


Guest chil360

Recommended Posts

Guest Y300-0100

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
Link to comment
Share on other sites

Guest luca020400

 

    // 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

Link to comment
Share on other sites

Guest spanitzer

// 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! :)
Link to comment
Share on other sites

Guest chil360

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.

Link to comment
Share on other sites

Guest chil360

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.

Link to comment
Share on other sites

Guest Y300-0100

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
Link to comment
Share on other sites

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: )

Link to comment
Share on other sites

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? :/

Link to comment
Share on other sites

Guest luca020400

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
Link to comment
Share on other sites

Guest anotherjib

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
Link to comment
Share on other sites

Guest luca020400

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 

Link to comment
Share on other sites

Guest Trapezio

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!

Link to comment
Share on other sites

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.