PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 (http://forum.ppcgeeks.com/forumdisplay.php?f=179)
-   -   Android running on US Cellular data service **Solved for most*** (http://forum.ppcgeeks.com/showthread.php?t=113441)

dfgas 03-21-2010 02:18 PM

Re: Android running on US Cellular data service
 
Quote:

Originally Posted by eval- (Post 1646988)
nope

hey all you US cellular people. if you have a terminal/console app, try:

$ su
# cat > /etc/ppp/pap-secrets
ESN@uscc.net * ESN
<control-d>
#

and then airplane mode on, airplane mode off
remember, ESN is your real ESN (under battery or call them up)
and <control-d> means hold down control, then hit 'd' (hit return after)
(and don't type $ or # ...you should see those, not type them)

you can also do this all with "adb shell" if you have that working.

talked to phhusson in the channel today, a fix should be pushed soon into a new rootfs.img. then you'll be able to put your ESN@uscc.net and ESN as your username and password under:
wireless controls -> mobile networks -> access point names -> (whatever... Android or CDMA generic, etc) ->
Username and Password
(set to ESN@uscc.net and ESN)

normally you have to use your phonenumber@uscc.net and yourphonenumberforrhepassword. this is how it is on any other phone os.....

as that is said i have already edited the rootfs.img file manually in linux and have added that into pap-secerts.

eval- 03-21-2010 07:22 PM

Re: Android running on US Cellular data service
 
Quote:

Originally Posted by dfgas (Post 1647493)
normally you have to use your phonenumber@uscc.net and yourphonenumberforrhepassword. this is how it is on any other phone os.....

as that is said i have already edited the rootfs.img file manually in linux and have added that into pap-secerts.

And did it help? I was able to make this work for a USCC person last night, but I am not sure whether he was using his ESN or phone#. If it doesn't work, another thing to try is adding:

user ###########@uscc.net

(where ####### is ESN or phone #, whichever you know to work) to options.smd1 in /etc/ppp as well as the entry to pap-secrets

asbestos 03-21-2010 09:26 PM

Re: Android running on US Cellular data service
 
Without sounding like a complete idiot, how do you press CTRL-d? I see the option from within the console program I am using, but none of them would bind to anything I could use (trackball, left alt, right alt)

jafterdark 03-21-2010 10:12 PM

Re: Android running on US Cellular data service
 
i used MSID number to get it go in to phone ##000000

blanch44 03-21-2010 10:25 PM

Re: Android running on US Cellular data service
 
So has anyone gotten this to work for uscc and if so will u run me by the steps in order to complete the setup? Thank you

clifftrue 03-22-2010 02:12 AM

Re: Android running on US Cellular data service
 
Quote:

Originally Posted by blanch44 (Post 1648481)
So has anyone gotten this to work for uscc and if so will u run me by the steps in order to complete the setup? Thank you

NOTE: I have a revised and simplified version on post #127 http://forum.ppcgeeks.com/showpost.p...&postcount=127

Got it working, thanks to eval- for posting the info. I did enter in by cell phone number and not the ESN. After further research it must be the MSID which happens to be the users phone number in some cases. I had problems being able to enter in a ">" so I did something different than what eval- posted. Here are my alternate steps...

1. Downloaded "EStrongs File Explorer" from Market
2. Downloaded "Command Executer" from Market (also tried "Android Terminal Emulator")
3. Opened EStongs File Explorer
4. Pressed the "/" button at top left
5. Selected the "etc" folder
6. Selected the "ppp" folder
7. Press and held on file "pap-secrets" and selected copy
8. Pressed the "Home" button at top left (looks like a house)
9. Pressed the physical Windows key
10. Selected "Operations" button and then selected "Paste"
11. Pressed the "/" button at top left
12. Selected the "etc" folder
13. Selected the "ppp" folder
14. Press and held on file "options.smd1" and selected copy (Not the .smd file)
15. Pressed the "Home" button at top left (looks like a house)
16. Pressed the physical Windows key
17. Selected "Operations" button and then selected "Paste"
Note: I changed a setting to what program to open with, but it was NOT the HTML option.
18. Select file "pap-secrets" and open as "Text"
19. Enter in MSID@uscc.net * MSID (Example: 6414251234@uscc.net * 6414251234) MSID can be found by dialing ##000000 in WindowsMobile
20. Press physical Windows button and select "Save"
21. Select file "options.smd1" and open as "Text"
22. Enter in user MSID@uscc.net (Example: user 6414251234@uscc.net)
23. Press physical Windows button and select "Save"
24. Open up Command Executer
25. Select Super User
26. Enter in "busybox cp /sdcard/pap-secrets /etc/ppp/pap-secrets
27. Select "Execute" button
28. Enter in "busybox cp /sdcard/options.smd1 /etc/ppp/options.smd1
29. Enter in to Air Plane mode then turn off Air Plane mode.

Now it should work.

I went back in to EStrongs File Explorer and opened both files in the /etc/ppp/ folder to verify the changes were there.

An overview of what is going on here is I first made copies of the files and placed them in the "home" location of the SD card. I edited these files with the changes then copied them back.

Hope this helps someone.

eval- 03-22-2010 02:46 AM

Re: Android running on US Cellular data service
 
Quote:

Originally Posted by clifftrue (Post 1649020)
18. Select file "pap-secrets" and open as "Text"
19. Enter in phone#@uscc.net * phone# (Example: 6414251234@uscc.net * 6414251234)
20. Press physical Windows button and select "Save"
21. Select file "options.smd1" and open as "Text"
22. Enter in user phone#@uscc.net (Example: user 6414251234@uscc.net)
23. Press physical Windows button and select "Save"
28. Enter in "busybox cp /sdcard/options.smd1 /etc/ppp/options.smd1
Hope this helps someone.

Glad to hear I could help! (Feel free to thank my posts :p) Let me offer something else to y'all. If you create this little script in /sdcard and call it "fix", and "chmod +x /sdcard/fix" in your terminal, then every time you turn on your phone you open your terminal and type "su" then "/sdcard/fix" and you should have internet. (But you gotta do airplane mode on/off after that)

file you call 'fix:'

Code:


#!/bin/sh
cat > /etc/ppp/pap-secrets << EOF
phoneOResn#@uscc.net * phoneOResn#
EOF

cat >> /etc/ppp/options.smd1 << EOF
user phoneOResn#@uscc.net
EOF

---
remember to replace phoneOResn# with your phone# or esn# or msid#, whichever works for you (I think it depends on where you live... and some USCC people don't need a name and password at all!!) update.. try this:
Quote:

Originally Posted by dude420420
You can view the EPST settings by opening the phone, press ##778 and dial. Press view and it will show what you are looking for. Most likely though it will be yourcell#@uscc.net.

Here: http://is.gd/aSvad
is the file in case it helps.

Remember after you copy it to your SD card you have to type "chmod +x /sdcard/fix" at least once from within the console or terminal, and you always have to type "su" before you run "/sdcard/fix" every time you open up your terminal to run the internet fix script I just posted, and then Airplane mode on and off. Enjoy!

PS. There is probably also a way to make the script run through a button on your homescreen, but I am not so good with GUIs, I am more comfortable in the shell. Maybe someone with Android scripting toys can help us out?

cmrowe74 03-22-2010 04:22 AM

Re: Android running on US Cellular data service
 
very strange I tried this patch and still nothing.. hummm very frustrating. you used to be about to see atleast the send arrow glow.. but after the patch now no activity. very strange.

eval- 03-22-2010 04:38 AM

Re: Android running on US Cellular data service
 
Quote:

Originally Posted by cmrowe74 (Post 1649134)
very strange I tried this patch and still nothing.. hummm very frustrating. you used to be about to see atleast the send arrow glow.. but after the patch now no activity. very strange.

UPDATE: Sorry my script was broken =( Please try the new one... with either phone or ESN (or whatever you know you're supposed to use as user/pass)

"This patch" you mean creating pap-secrets in /etc/ppp (check it is OK by typing "more /etc/ppp/pap-secrets" in your terminal) and appending "user ###@uscc.net" in /etc/ppp/options.smd1 ?

If you have adb, you can do "adb logcat" to try and see where "pppd" is failing. When it wasn't working, I would see "No auth is possible."

You have tried both your ESN, or your phone # as the username#@ and pass#? And neither work with this fix and Airplane On/Off? If it helps, the person I fixed it for ESN was in wisconsin I believe.

bytethegroove 03-22-2010 07:19 AM

Re: Android running on US Cellular data service
 
for the "fix File"
what do we name it
fix.?
fix.exe
fix.bat
fix.sh

which one?
thanks
byte


All times are GMT -4. The time now is 04:51 AM.

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


Content Relevant URLs by vBSEO 3.6.0