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


Reply
 
LinkBack Thread Tools Display Modes
  #91 (permalink)  
Old 03-22-2010, 11:08 AM
EnemasRfun's Avatar
Lurker
Offline
Pocket PC: Touch Pro 2
Carrier: USCC
 
Join Date: Feb 2010
Posts: 3
Reputation: 0
EnemasRfun is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Android running on US Cellular data service

never mind lol

Last edited by EnemasRfun; 03-22-2010 at 11:10 AM. Reason: discovered the answer shortly after posting
Reply With Quote
  #92 (permalink)  
Old 03-22-2010, 11:11 AM
dude420420's Avatar
PPCGeeks Regular
Offline
Pocket PC: 6875
Carrier: uscc
 
Join Date: Nov 2009
Posts: 56
Reputation: 35
dude420420 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Android running on US Cellular data service

EDIT: ITS WORKING NOW WOOT! Major props to EVAL.

in options.smd1 i added the user #phone at the top of the list. Also it was defaulting to a captiol U for some reason.

2nd EDIT: Major props to Clifftrue as well for posting the exact steps to fix this

Last edited by dude420420; 03-22-2010 at 11:26 AM.
Reply With Quote
  #93 (permalink)  
Old 03-22-2010, 11:26 AM
eval-'s Avatar
PPCGeeks Regular
Offline
Pocket PC: Sprint Diamond
Carrier: Sprint
 
Join Date: Sep 2008
Posts: 58
Reputation: 135
eval- is keeping up the good workeval- is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Android running on US Cellular data service

Quote:
Originally Posted by bytethegroove View Post
for the "fix File"
what do we name it
fix.?
fix.exe
fix.bat
fix.sh

which one?
thanks
byte
Hi. It doesn't matter what you name it, in Linux endings do not matter. As long as you are consistent and you type "chmod +x /sdcard/fix.sh" if you named it fix.sh, for example, and then call it by the right name. Any luck?
Reply With Quote
  #94 (permalink)  
Old 03-22-2010, 11:36 AM
eval-'s Avatar
PPCGeeks Regular
Offline
Pocket PC: Sprint Diamond
Carrier: Sprint
 
Join Date: Sep 2008
Posts: 58
Reputation: 135
eval- is keeping up the good workeval- is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Android running on US Cellular data service

Quote:
Originally Posted by dude420420 View Post
EDIT: ITS WORKING NOW WOOT! Major props to EVAL.

in options.smd1 i added the user #phone at the top of the list. Also it was defaulting to a captiol U for some reason.

2nd EDIT: Major props to Clifftrue as well for posting the exact steps to fix this
And a LOT of credit to Makkonen and MrPippy, who have been telling y'all to play with pap-secrets for a while now =p And of course, to phh and stinebd, who will make this all very easy to do in the Android GUI soon... I hope...

Also, many thanks to Jafterdark, who let me remote-control his screen at 4am and tinker with adb until we (finally!) figured out the ESN@uscc.net for him. (But yours may be PHONE@uscc.net * PHONE, etc.. or even something else?? Or nothing at all? Crazy USCC )
Reply With Quote
This post has been thanked 1 times.
  #95 (permalink)  
Old 03-22-2010, 11:44 AM
dude420420's Avatar
PPCGeeks Regular
Offline
Pocket PC: 6875
Carrier: uscc
 
Join Date: Nov 2009
Posts: 56
Reputation: 35
dude420420 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Android running on US Cellular data service

Quote:
Originally Posted by eval- View Post
And a LOT of credit to Makkonen and MrPippy, who have been telling y'all to play with pap-secrets for a while now =p And of course, to phh and stinebd, who will make this all very easy to do in the Android GUI soon... I hope...

Also, many thanks to Jafterdark, who let me remote-control his screen at 4am and tinker with adb until we (finally!) figured out the ESN@uscc.net for him. (But yours may be PHONE@uscc.net * PHONE, etc.. or even something else?? Or nothing at all? Crazy USCC )
I would've never known how to play with the pap-secrets without assistance. But they all do deserve the same credit.

I am located in Wisconsin too and i used my cell # and not the ESN.
Reply With Quote
  #96 (permalink)  
Old 03-22-2010, 01:27 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 dude420420 View Post
I would've never known how to play with the pap-secrets without assistance. But they all do deserve the same credit.

I am located in Wisconsin too and i used my cell # and not the ESN.
For me it was the options.smd1 that was the magic pill. I had already tried the pap-secrets with no luck. So it takes both for mine to work.

Also, this morning I booted up to Android and performed my steps 24-29 again and it did not work. (after you have the files in /sdcard these are the only steps you need to repeat.) Tried again and it works. So not sure how consistant it is.

eval- I have gave you a couple of Thanks on your posts to show support for you. I tried the script and it did not work. I will report back later after I tinker a while to figure out if was something I did. Thanks again.
__________________
Touch Pro 2 with Stock US Cellular ROM (WM6.5) Dual boot to Android
Have PPC-6800 and Touch Pros with Custom ROMs
Reply With Quote
  #97 (permalink)  
Old 03-22-2010, 01:50 PM
Popasmurf's Avatar
Lurker
Offline
Pocket PC: HTC 6900
Carrier: US Cellular
 
Join Date: Sep 2008
Posts: 24
Reputation: 5
Popasmurf is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Android running on US Cellular data service

I attempted to try this where I live and it does not work. Anyone know how to verify what I'm using in WM? I feel stupid asking, but I can't remember...
Reply With Quote
  #98 (permalink)  
Old 03-22-2010, 02:00 PM
eval-'s Avatar
PPCGeeks Regular
Offline
Pocket PC: Sprint Diamond
Carrier: Sprint
 
Join Date: Sep 2008
Posts: 58
Reputation: 135
eval- is keeping up the good workeval- is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Android running on US Cellular data service

Quote:
Originally Posted by clifftrue View Post
Tried again and it works. So not sure how consistant it is.

eval- I have gave you a couple of Thanks on your posts to show support for you. I tried the script and it did not work. I will report back later after I tinker a while to figure out if was something I did. Thanks again.
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.

Last edited by eval-; 03-22-2010 at 02:11 PM.
Reply With Quote
  #99 (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
  #100 (permalink)  
Old 03-22-2010, 03:15 PM
eval-'s Avatar
PPCGeeks Regular
Offline
Pocket PC: Sprint Diamond
Carrier: Sprint
 
Join Date: Sep 2008
Posts: 58
Reputation: 135
eval- is keeping up the good workeval- is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Android running on US Cellular data service

Quote:
Originally Posted by clifftrue View Post
Code:
#!/bin/sh
busybox cp /sdcard/pap-secrets /etc/ppp/pap-secrets
Busybox cp /sdcard/options.smd1 /etc/ppp/options.smd1
Well, definitely don't capitalize Busybox. What programs are you using?

I am actually typing things in by hand, using "Better Terminal Pro" but remember, I am doing so in super-user (root) mode by typing "su" first.
Perhaps you need to make sure your script programs run in su/root mode?

(Another possible issue: Maybe your script (and mine) should end in .sh? When I tried to download my "fix" file using Android's browser it said filetype unsupported. But when I renamed the file on my server to fix.sh it allowed me to download. So there is a chance your script programs [??] require scripts to end in .sh ?)

PS. What are these script programs? Maybe we can make the fix script easier for people by using a GUI click-and-run solution, instead of requiring people to go into a console and type out "su" and "/sdcard/fix"


Quote:
Originally Posted by clifftrue View Post
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??
Hehe. I'd say maybe yes I can type it by hand and it works (that's how I figured out I forgot the 'user ' part) so I know the script is OK... but it has to be +x ("chmod +x scriptname") to make it executable, and it has to be run as root ('superuser' why we type "su" before entering commands.) Although I think when I downloaded it from the web it was already +x / executable... don't know if that will be true for copies over USB too...
Reply With Quote
Reply

  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 07:44 AM.


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