PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 Development (http://forum.ppcgeeks.com/forumdisplay.php?f=319)
-   -   [TESTING] - NAND OMGB (1.2.3) (http://forum.ppcgeeks.com/showthread.php?t=147260)

muziling 11-17-2011 10:35 PM

Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only
 
Quote:

Originally Posted by [ACL] (Post 2156078)
This is actually from the Ril i think. It tries to set this prop but is unable to. I'm unsure of the proper way to fix it. I can alwyas butcher it in place :-p :mrgreen:

This is the actual line .

https://github.com/acl/device_htc_rh...ic-ril.c#L5350

OR .. looks like there is one in the bulld.prop as well. May need to remove that one to see if it helps. Usually all this crap is done for one vendor so it never changes.

ril.c has other property_set code, so all will be fail ?

I found GSM prop is set correct, but ril.c no gsm.operator.numeric string, where this prop be setted?
Quote:

[gsm.operator.alpha]: [T-CDMA 64]
[gsm.operator.numeric]: [46003]

kozmo 11-17-2011 10:39 PM

Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only
 
Quote:

Originally Posted by arrrghhh (Post 2156164)
Windoze XP (t'was at work at the time...)

I'm going to try again. I keep having an issue with Titanium Backup. Which GAPPS package are you guys using? The 'full' one from 10/28, or the 'stripped' one?

I used the full one I think from Oct 1... but like I said, mine could have become corrupt after copying to different sd cards over time?

arrrghhh 11-17-2011 11:03 PM

Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only
 
Quote:

Originally Posted by kozmo (Post 2156168)
I used the full one I think from Oct 1... but like I said, mine could have become corrupt after copying to different sd cards over time?

Doubtful, but perhaps try a format of the card with the HP Tool?

Edit - try the gapps package from the CM page (grab the one for CM7).

http://wiki.cyanogenmod.com/index.ph...on/Google_Apps

[ACL] 11-18-2011 01:02 AM

Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only
 
Quote:

Originally Posted by muziling (Post 2156167)
ril.c has other property_set code, so all will be fail ?

I found GSM prop is set correct, but ril.c no gsm.operator.numeric string, where this prop be setted?

i have no idea. I cant find it in hyc's original either, so maybe in android itself? not sure.

[ACL] 11-18-2011 01:04 AM

Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only
 
Quote:

Originally Posted by kozmo (Post 2156168)
I used the full one I think from Oct 1... but like I said, mine could have become corrupt after copying to different sd cards over time?

when in doubt adb is your best friend. When you are installing gapps, adb shell into the phone (yes you can adb in recovery) and go to /tmp. In there there is a recovery.log which will give you all the errors and info you need :-)

:evil4:

muziling 11-18-2011 01:35 AM

Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only
 
Quote:

Originally Posted by [ACL] (Post 2156191)
i have no idea. I cant find it in hyc's original either, so maybe in android itself? not sure.

But this is wrong, I use CDMA, setprop set GSM value. maybe somewhere tell phone is GSM or lose notify to rild

[ACL] 11-18-2011 02:04 AM

Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only
 
Quote:

Originally Posted by muziling (Post 2156197)
But this is wrong, I use CDMA, setprop set GSM value. maybe somewhere tell phone is GSM or lose notify to rild

ill cross that bridge when i get there.. ](*,)

muziling 11-18-2011 03:01 AM

Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only
 
Quote:

Originally Posted by [ACL] (Post 2156198)
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 }
};

[ACL] 11-18-2011 03:13 AM

Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only
 
Quote:

Originally Posted by muziling (Post 2156203)
In com\android\internal\telephony\cdma\CdmaServiceSta teTracker.java, there is one line:




So ro.cdma.home.operator.numeric need to be set by ril, but ril has no privilige, so property_set("net.gprs.local-ip", "0.0.0.0"); will fail too.

Nope, because ril has the permissions to modify net.grps. and net.ppp

system/core/init/property_service.c

{ "net.gprs.", AID_RADIO, 0 },
{ "net.ppp", AID_RADIO, 0 },

muziling 11-18-2011 04:25 AM

Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only
 
rhodium-nand-seq.sh

no /sbin/sh file
Quote:

#!/sbin/sh


All times are GMT -4. The time now is 11:25 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0