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
Register Community Search

Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10 (permalink)  
Old 03-22-2010, 02:48 PM
clifftrue's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2
Carrier: US Cellular
Location: Iowa
 
Join Date: Dec 2008
Posts: 93
Reputation: 335
clifftrue is becoming a PPCGeeks regularclifftrue is becoming a PPCGeeks regularclifftrue is becoming a PPCGeeks regularclifftrue is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Android running on US Cellular data service

Quote:
Originally Posted by eval- View Post
UPDATE: I am an idiot. I forgot the "user " before the phoneOResn#@uscc.net in options.smd1
For those of you who need the options.smd1 file, this is why my "fix" script failed. I Fixed Fix =) So, try again? G'luck! (and sorry about that)

Thanks! =) To be honest I did not test the script, so I would love if I could get feedback (and update it, if necessary.) I don't have USCC or need a pap-secrets file, so it's kinda hard for me to test. Can you let me know whether after you "su" and "/sdcard/fix" the right values get put into /etc/ppp/pap-secrets and to the last line of /etc/ppp/options.smd1? There is always the (annoying) possibility that the shell (/bin/sh) that comes with XDAndroid (ash?) does not quite behave like bash and that my script won't work. In regular linux, you can do something like "sh -x script" (so in our case "sh -x /sdcard/fix" and it will show you what the script is doing, line by line. If you could run that, maybe we can figure out if I made a stupid oops.
I tried to execute the script through two different programs and neither of them create or append the files. I created a script to perform the two copy statements from my instructions and neither of those work either. Here is my code...

#!/bin/sh
busybox cp /sdcard/pap-secrets /etc/ppp/pap-secrets
Busybox cp /sdcard/options.smd1 /etc/ppp/options.smd1

If I manually type these in a terminal window they work, but the chmod +x /sdcard/usccfix that I created from your post (with the 'user' added in front). My file is located at /sdcard/ and a file named usccfix (no extension)

May be the programs I am using or scripts not working yet??
Reply With Quote
 

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

Tags
uscc data 3g cdma


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 01:11 PM.


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