[Xiaomi Mi 6 Guides, News, & Discussion] ne0t:
Tried this on Mi Max 2 on xiaomi.eu (China Developer ROM), but 'TRANSACTION_setSimPowerStateForSlot' is nowhere to be found..

public static abstract class Stub

extends Binder

implements ITelephony

{

private static final String DESCRIPTOR = "com.android.internal.telephony.ITelephony";

static final int TRANSACTION_answerRingingCall = 5;

static final int TRANSACTION_answerRingingCallForSubscriber = 6;

static final int TRANSACTION_call = 2;

static final int TRANSACTION_canChangeDtmfToneLength = 117;

static final int TRANSACTION_carrierActionSetMeteredApnsEnabled = 146;

static final int TRANSACTION_carrierActionSetRadioEnabled = 147;

static final int TRANSACTION_checkCarrierPrivilegesForPackage = 101;

static final int TRANSACTION_checkCarrierPrivilegesForPackageAnyPhone = 102;

static final int TRANSACTION_dial = 1;

static final int TRANSACTION_disableDataConnectivity = 38;

static final int TRANSACTION_disableLocationUpdates = 35;

static final int TRANSACTION_disableLocationUpdatesForSubscriber = 36;

static final int TRANSACTION_disableVisualVoicemailSmsFilter = 61;

static final int TRANSACTION_enableDataConnectivity = 37;

static final int TRANSACTION_enableLocationUpdates = 33;

static final int TRANSACTION_enableLocationUpdatesForSubscriber = 34;

static final int TRANSACTION_enableVideoCalling = 115;

static final int TRANSACTION_enableVisualVoicemailSmsFilter = 60;

static final int TRANSACTION_endCall = 3;

static final int TRANSACTION_endCallForSubscriber = 4;

static final int TRANSACTION_factoryReset = 132;

static final int TRANSACTION_getActivePhoneType = 46;

static final int TRANSACTION_getActivePhoneTypeForSlot = 47;

static final int TRANSACTION_getAidForAppType = 140;

static final int TRANSACTION_getAllCellInfo = 73;

static final int TRANSACTION_getAllowedCarriers = 145;

static final int TRANSACTION_getAtr = 139;

static final int TRANSACTION_getCalculatedPreferredNetworkType = 87;

static final int TRANSACTION_getCallState = 42;

static final int TRANSACTION_getCallStateForSlot = 43;

static final int TRANSACTION_getCarrierPackageNamesForIntentAndPhone = 103;

static final int TRANSACTION_getCarrierPrivilegeStatus = 100;

static final int TRANSACTION_getCdmaEriIconIndex = 48;

static final int TRANSACTION_getCdmaEriIconIndexForSubscriber = 49;

static final int TRANSACTION_getCdmaEriIconMode = 50;

static final int TRANSACTION_getCdmaEriIconModeForSubscriber = 51;

static final int TRANSACTION_getCdmaEriText = 52;

static final int TRANSACTION_getCdmaEriTextForSubscriber = 53;

static final int TRANSACTION_getCdmaMdn = 98;

static final int TRANSACTION_getCdmaMin = 99;

static final int TRANSACTION_getCdmaPrlVersion = 142;

static final int TRANSACTION_getCellLocation = 40;

static final int TRANSACTION_getCellNetworkScanResults = 91;

static final int TRANSACTION_getDataActivity = 44;

static final int TRANSACTION_getDataEnabled = 95;

static final int TRANSACTION_getDataNetworkType = 66;

static final int TRANSACTION_getDataNetworkTypeForSubscriber = 67;

static final int TRANSACTION_getDataState = 45;

static final int TRANSACTION_getDefaultSim = 75;

static final int TRANSACTION_getDeviceId = 128;

static final int TRANSACTION_getDeviceSoftwareVersionForSlot = 130;

static final int TRANSACTION_getEsn = 141;

static final int TRANSACTION_getImeiForSlot = 129;

static final int TRANSACTION_getLine1AlphaTagForDisplay = 106;

static final int TRANSACTION_getLine1NumberForDisplay = 105;

static final int TRANSACTION_getLocaleFromDefaultSim = 133;

static final int TRANSACTION_getLteOnCdmaMode = 71;

static final int TRANSACTION_getLteOnCdmaModeForSubscriber = 72;

static final int TRANSACTION_getMergedSubscriberIds = 107;

static final int TRANSACTION_getNeighboringCellInfo = 41;

static final int TRANSACTION_getNetworkType = 64;

static final int TRANSACTION_getNetworkTypeForSubscriber = 65;

static final int TRANSACTION_getPackagesWithCarrierPrivileges = 138;

static final int TRANSACTION_getPcscfAddress = 96;

static final int TRANSACTION_getPreferredNetworkType = 88;

static final int TRANSACTION_getRadioAccessFamily = 114;

static final int TRANSACTION_getServiceStateForSubscriber = 135;

static final int TRANSACTION_getSubIdForPhoneAccount = 131;

static final int TRANSACTION_getSystemVisualVoicemailSmsFilterSettings = 63;

static final int TRANSACTION_getTelephonyHistograms = 143;

static final int TRANSACTION_getTetherApnRequired = 89;

static final int TRANSACTION_getVisualVoicemailSmsFilterSettings = 62;

static final int TRANSACTION_getVoiceMessageCount = 56;

static final int TRANSACTION_getVoiceMessageCountForSubscriber = 57;

static final int TRANSACTION_getVoiceNetworkTypeForSubscriber = 68;

static final int TRANSACTION_getVoicemailRingtoneUri = 136;

static final int TRANSACTION_getVtDataUsage = 148;

static final int TRANSACTION_handlePinMmi = 24;

static final int TRANSACTION_handlePinMmiForSubscriber = 25;

static final int TRANSACTION_hasIccCard = 69;

static final int TRANSACTION_hasIccCardUsingSlotId = 70;

static final int TRANSACTION_iccCloseLogicalChannel = 78;

static final int TRANSACTION_iccExchangeSimIO = 81;

static final int TRANSACTION_iccOpenLogicalChannel = 76;

static final int TRANSACTION_iccOpenLogicalChannelWithP2 = 77;

static final int TRANSACTION_iccTransmitApduBasicChannel = 80;

static final int TRANSACTION_iccTransmitApduLogicalChannel = 79;

static final int TRANSACTION_invokeOemRilRequestRaw = 110;

static final int TRANSACTION_isDataConnectivityPossible = 39;

static final int TRANSACTION_isHearingAidCompatibilitySupported = 120;

static final int TRANSACTION_isIdle = 12;

static final int TRANSACTION_isIdleForSubscriber = 13;

static final int TRANSACTION_isImsRegistered = 121;

static final int TRANSACTION_isImsRegisteredForSubscriber = 122;

static final int TRANSACTION_isOffhook = 8;

static final int TRANSACTION_isOffhookForSubscriber = 9;

static final int TRANSACTION_isRadioOn = 14;

static final int TRANSACTION_isRadioOnForSubscriber = 15;

static final int TRANSACTION_isRinging = 11;

static final int TRANSACTION_isRingingForSubscriber = 10;

static final int TRANSACTION_isTtyModeSupported = 119;

static final int TRANSACTION_isVideoCallingEnabled = 116;

static final int TRANSACTION_isVideoTelephonyAvailable = 126;

static final int TRANSACTION_isVideoTelephonyWifiCallingAvailableForSubscriber = 127;

static final int TRANSACTION_isVisualVoicemailEnabled = 59;

static final int TRANSACTION_isVoWifiCallingAvailableForSubscriber = 124;

static final int TRANSACTION_isVoicemailVibrationEnabled = 137;

static final int TRANSACTION_isVolteAvailable = 125;

static final int TRANSACTION_isWifiCallingAvailable = 123;

static final int TRANSACTION_isWorldPhone = 118;

static final int TRANSACTION_needMobileRadioShutdown = 111;

static final int TRANSACTION_needsOtaServiceProvisioning = 54;

static final int TRANSACTION_nvReadItem = 83;

static final int TRANSACTION_nvResetConfig = 86;

static final int TRANSACTION_nvWriteCdmaPrl = 85;

static final int TRANSACTION_nvWriteItem = 84;

static final int TRANSACTION_requestModemActivityInfo = 134;

static final int TRANSACTION_sendEnvelopeWithStatus = 82;

static final int TRANSACTION_setAllowedCarriers = 144;

static final int TRANSACTION_setCellInfoListRate = 74;

static final int TRANSACTION_setDataEnabled = 94;

static final int TRANSACTION_setImsRegistrationState = 97;

static final int TRANSACTION_setLine1NumberForDisplayForSubscriber = 104;

static final int TRANSACTION_setNetworkSelectionModeAutomatic = 90;

static final int TRANSACTION_setNetworkSelectionModeManual = 92;

static final int TRANSACTION_setOperatorBrandOverride = 108;

static final int TRANSACTION_setPolicyDataEnabled = 149;

static final int TRANSACTION_setPreferredNetworkType = 93;

static final int TRANSACTION_setRadio = 28;

static final int TRANSACTION_setRadioCapability = 113;

static final int TRANSACTION_setRadioForSubscriber = 29;

static final int TRANSACTION_setRadioPower = 30;

static final int TRANSACTION_setRoamingOverride = 109;

static final int TRANSACTION_setVisualVoicemailEnabled = 58;

static final int TRANSACTION_setVoiceMailNumber = 55;

static final int TRANSACTION_shutdownMobileRadios = 112;

static final int TRANSACTION_silenceRinger = 7;

static final int TRANSACTION_supplyPin = 16;

static final int TRANSACTION_supplyPinForSubscriber = 17;

static final int TRANSACTION_supplyPinReportResult = 20;

static final int TRANSACTION_supplyPinReportResultForSubscriber = 21;

static final int TRANSACTION_supplyPuk = 18;

static final int TRANSACTION_supplyPukForSubscriber = 19;

static final int TRANSACTION_supplyPukReportResult = 22;

static final int TRANSACTION_supplyPukReportResultForSubscriber = 23;

static final int TRANSACTION_toggleRadioOnOff = 26;

static final int TRANSACTION_toggleRadioOnOffForSubscriber = 27;

static final int TRANSACTION_updateServiceLocation = 31;

static final int TRANSACTION_updateServiceLocationForSubscriber = 32;