Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only
Quote:
Originally Posted by [ACL]
ill cross that bridge when i get there..
|
In com\android\internal\telephony\cdma\CdmaServiceSta teTracker.java, there is one line:
Quote:
phone.setSystemProperty(TelephonyProperties.PROPER TY_OPERATOR_NUMERIC, operatorNumeric);
|
Quote:
/** Numeric name (MCC+MNC) of current registered operator.<p>
* Availability: when registered to a network. Result may be unreliable on
* CDMA networks.
*/
static final String PROPERTY_OPERATOR_NUMERIC = "gsm.operator.numeric";
|
So ro.cdma.home.operator.numeric need to be set by ril, but ril has no privilige
Finally, I know we need to hack file system/core/init/property_service.c, google forgot cdma items
I open xda init.android, found xda had added this item.
Quote:
property_perms[] = {
{ "net.rmnet0.", AID_RADIO, 0 },
{ "net.gprs.", AID_RADIO, 0 },
{ "net.ppp", AID_RADIO, 0 },
{ "ril.", AID_RADIO, 0 },
{ "gsm.", AID_RADIO, 0 },
{ "cdma.", AID_RADIO, 0 },
{ "persist.radio", AID_RADIO, 0 },
{ "net.dns", AID_RADIO, 0 },
{ "net.", AID_SYSTEM, 0 },
{ "dev.", AID_SYSTEM, 0 },
{ "runtime.", AID_SYSTEM, 0 },
{ "hw.", AID_SYSTEM, 0 },
{ "sys.", AID_SYSTEM, 0 },
{ "service.", AID_SYSTEM, 0 },
{ "wlan.", AID_SYSTEM, 0 },
{ "dhcp.", AID_SYSTEM, 0 },
{ "dhcp.", AID_DHCP, 0 },
{ "vpn.", AID_SYSTEM, 0 },
{ "vpn.", AID_VPN, 0 },
{ "debug.", AID_SHELL, 0 },
{ "log.", AID_SHELL, 0 },
{ "service.adb.root", AID_SHELL, 0 },
{ "persist.sys.", AID_SYSTEM, 0 },
{ "persist.service.", AID_SYSTEM, 0 },
{ "persist.security.", AID_SYSTEM, 0 },
{ NULL, 0, 0 }
};
|
Last edited by muziling; 11-18-2011 at 03:38 AM.
|