PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #381 (permalink)  
Old 11-17-2011, 10:35 PM
muziling's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2(RHOD400)
Carrier: CDMA
 
Join Date: Nov 2010
Posts: 175
Reputation: 55
muziling is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only

Quote:
Originally Posted by [ACL] View Post
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

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]

Last edited by muziling; 11-17-2011 at 10:51 PM.
Reply With Quote
  #382 (permalink)  
Old 11-17-2011, 10:39 PM
kozmo's Avatar
VIP Member
Offline
Pocket PC: Galaxy Note 2
Carrier: Sprint
Location: STL
 
Join Date: May 2010
Posts: 387
Reputation: 2880
kozmo is a VIPkozmo is a VIPkozmo is a VIPkozmo is a VIPkozmo is a VIPkozmo is a VIPkozmo is a VIPkozmo is a VIPkozmo is a VIPkozmo is a VIPkozmo is a VIP
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only

Quote:
Originally Posted by arrrghhh View Post
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?
__________________
Reply With Quote
  #383 (permalink)  
Old 11-17-2011, 11:03 PM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only

Quote:
Originally Posted by kozmo View Post
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
Reply With Quote
  #384 (permalink)  
Old 11-18-2011, 01:02 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only

Quote:
Originally Posted by muziling View Post
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.
__________________
Reply With Quote
  #385 (permalink)  
Old 11-18-2011, 01:04 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only

Quote:
Originally Posted by kozmo View Post
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

Reply With Quote
  #386 (permalink)  
Old 11-18-2011, 01:35 AM
muziling's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2(RHOD400)
Carrier: CDMA
 
Join Date: Nov 2010
Posts: 175
Reputation: 55
muziling is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only

Quote:
Originally Posted by [ACL] View Post
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
Reply With Quote
  #387 (permalink)  
Old 11-18-2011, 02:04 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only

Quote:
Originally Posted by muziling View Post
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..
Reply With Quote
  #388 (permalink)  
Old 11-18-2011, 03:01 AM
muziling's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2(RHOD400)
Carrier: CDMA
 
Join Date: Nov 2010
Posts: 175
Reputation: 55
muziling is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only

Quote:
Originally Posted by [ACL] View Post
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.
Reply With Quote
  #389 (permalink)  
Old 11-18-2011, 03:13 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only

Quote:
Originally Posted by muziling View Post
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 },
Reply With Quote
  #390 (permalink)  
Old 11-18-2011, 04:25 AM
muziling's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2(RHOD400)
Carrier: CDMA
 
Join Date: Nov 2010
Posts: 175
Reputation: 55
muziling is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (Latest version 1.2.3) - 400/500 Only

rhodium-nand-seq.sh

no /sbin/sh file
Quote:
#!/sbin/sh
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 05:24 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com