Related
I've been trying to connect to my university Wifi (eduroam) for quite a while now- but having no luck at all. Is there anything special I need to do to get this working? Really need wifi on my htc hero while im at uni Help please.
may i ask what uni?
wifi helper on the market should be able to configure it although i couldn't get it to work with my hero. so ive JUST configured the wpa_supplicant.conf manually for eduroam at UCL...
since im not on campus atm i will report back results tomorrow to see if it works
my_space said:
may i ask what uni?
wifi helper on the market should be able to configure it although i couldn't get it to work with my hero. so ive JUST configured the wpa_supplicant.conf manually for eduroam at UCL...
since im not on campus atm i will report back results tomorrow to see if it works
Click to expand...
Click to collapse
Hahh!! Im UCL too!
university shouldn't matter, eduroam is a multi-university service
it certainly worked on my hero, though I can't check that now (don't work there any more)
security wpa (or wpa2, can't remember) enterprise, eap PEAP, subtype MSCHAPv2
ok ive got eduroam to work
you will need to download the GTE CyberTrust Global Root certificate in pem format ( i have renamed it to eduroamcert.pem below)
these are the settings for wpa_supplicant i have used to get it to work:
Code:
network={
ssid="eduroam"
proto=WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=TTLS
phase2="auth=PAP"
anonymous_identity="[email protected]"
identity="[email protected]"
password="XXXXXX
ca_cert="/sdcard/eduroamcert.pem"
priority=3
}
doesnt matter what priority you use.
edit::
forgot to mention XXXX for identity is not ur email alias, rather what you use to log in, in the computer rooms
my_space said:
ok ive got eduroam to work
you will need to download the GTE CyberTrust Global Root certificate in pem format ( i have renamed it to eduroamcert.pem below)
these are the settings for wpa_supplicant i have used to get it to work:
Code:
network={
ssid="eduroam"
proto=WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=TTLS
phase2="auth=PAP"
anonymous_identity="[email protected]"
identity="[email protected]"
password="XXXXXX
ca_cert="/sdcard/eduroamcert.pem"
priority=3
}
doesnt matter what priority you use.
edit::
forgot to mention XXXX for identity is not ur email alias, rather what you use to log in, in the computer rooms
Click to expand...
Click to collapse
Hiya,
Sorry for the insanely late reply lol- have been busy with coursework- hence not being able to come here often. Only been trying to follow your instructions here to get eduroam working on my Hero...but I'm struggling.
Can you please tell me how I install the GTE cybertrust cert into my hero?? Ive downloaded the file....it d'loaded as a zip file. Do I extract it...then move it to the hero sd card??
And to access wpa_supplicant i need to use the windows command window while the htc is hooked up with my pc in recovery mode right?? and then I write in the code you showed me?
hi mate, dont worry about all the stuff above, you dont need it to connect to eduroam. just follow the instructions here (obviously with your own uni's settings and not oxfords):
http://www.oucs.ox.ac.uk/network/wireless/services/eduroam/android/
Eduroam networks generally use the recommended EAP-TTLS/PAP as authentification, which is not supported by the GUI utilities. It is true that some places (Oxford is amazingly good with their network services) offer alternatives like PEAP/MSCHAP precisely because mobile devices are often lacking other options. It all depends on your local network setup.
I just got back to Cambridge, and Eduroam works fine with an Orange Hero.
Go to wifi settings:
EAP Type = PEAP
Sub Type = PEAPc0/MSCHAPv2
Username = CRSID email address (ie. [email protected]) - NB Case sensitive
Password = Network token available from https://tokens.csx.cam.ac.uk/ (need to log in with Raven to this page)
my_space said:
ok ive got eduroam to work
you will need to download the GTE CyberTrust Global Root certificate in pem format ( i have renamed it to eduroamcert.pem below)
these are the settings for wpa_supplicant i have used to get it to work:
Code:
network={
ssid="eduroam"
proto=WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=TTLS
phase2="auth=PAP"
anonymous_identity="[email protected]"
identity="[email protected]"
password="XXXXXX
ca_cert="/sdcard/eduroamcert.pem"
priority=3
}
doesnt matter what priority you use.
edit::
forgot to mention XXXX for identity is not ur email alias, rather what you use to log in, in the computer rooms
Click to expand...
Click to collapse
It would be interesting to know where to find this wpa_supplicant thing, so I could edit it.
My university uses same GTE_CyberTrust_Global_Root protocol with eduroam. I've tried PEAPv0/MSCHAPv2 didn't worked.
Originalas said:
It would be interesting to know where to find this wpa_supplicant thing, so I could edit it.
My university uses same GTE_CyberTrust_Global_Root protocol with eduroam. I've tried PEAPv0/MSCHAPv2 didn't worked.
Click to expand...
Click to collapse
i think what you think of is EAP-TTLS (the GTE_.. is just a CertificationAuthority, if i am not wrong). as it was said, you can edit the wpa_supplicant file, somewhere in /data/etc/wifi/, if remember correctly. you could also wait for the 2.1 update, which will bring native support for this EAP-type which works very well.
HugoEgon said:
i think what you think of is EAP-TTLS (the GTE_.. is just a CertificationAuthority, if i am not wrong). as it was said, you can edit the wpa_supplicant file, somewhere in /data/etc/wifi/, if remember correctly. you could also wait for the 2.1 update, which will bring native support for this EAP-type which works very well.
Click to expand...
Click to collapse
I've HTC Desire, so I believe it's already runing 2.1. Though it connects to eduroam, but web pages and other stuff doesn't work.
Had Nokia and iPhone, both automatically downloaded all security stuff connecting first time.. and Android OS has some strange issues with eduroam wi-fi.
Here is a fix realmb.com/2010/01/android-certificate-installer/ you can install any security certificate using this to Android 1.6 and above.
Soz to dig up an old thread but I think it's relevent..
I've been trying to get my hero (T-mob G2) onto eduroam for ages, and I wanted to make the additions to wpa_supplicant but I don't know how to get access to the file system - I only seem to be able to mount the sdcard and not anything higher. I haven't rooted my phone.. is this why?
Thanks for any help :/
w0ss4g3 said:
Soz to dig up an old thread but I think it's relevent..
I've been trying to get my hero (T-mob G2) onto eduroam for ages, and I wanted to make the additions to wpa_supplicant but I don't know how to get access to the file system - I only seem to be able to mount the sdcard and not anything higher. I haven't rooted my phone.. is this why?
Thanks for any help :/
Click to expand...
Click to collapse
Umm yes. You must root first, and then remount using adb remount for this to work.
Easiest way is to install a custom ROM on your phone, as that will give you root
I haven't seen a post or tutorial about this yet so I figured I'd post one for those who might be interested.....BTW,
I AM NOT A PROGRAMMER AND I TAKE NO CREDIT FOR ANY OF THE INFO IN THIS POST, NOR WILL I POST ANY CREDIT.....I pieced so much of it together from so many different posts, that I just don't even remember the OP's. Sorry I'm no genius, just a jackass who stands on the backs of geniuses.
Disclaimer: This is just how I got everything to work on Metro PCS, it may or may not work in the same way for you. I don't warrant or claim that anything discussed here will not brick your phone, bankrupt your business, or impregnate your cat.
Things you will need:
1. Samsung Fascinate (Already Rooted)- Please don't ask; as there are so many already posted and accepted rooting methods for this phone. Seek and Ye shall find my son
2. QPST 2.7 (I used Build 355)- Again, please don't ask as this is considered warez and a taboo discussion on most forums.
3. CDMA Workshop (I used 2.7)- Uh....Ditto my previous remark...DON'T ASK!
4. Metro PCS Files and Support .apk's
a. u2nl
b. autostart.sh
c. autostart.apk
d. anycut.apk - I can't post these files or links to them, but I would appreciate anyone who would like to post or host them for me...just PM and I'll send you the zip if you need it.
5. Android SDK (I will assume that you have this if you have rooted your device) -Please no lectures about assumptions.
6. Samsung Drivers - I can assume you have this as well if you rooted your device. Again, anyone care to post or host...just PM me.
The Task at Hand:
1. Insert and Permission Files:- Let the fun begin
a. Copy all the Metro PCS and Support files listed above to your Android SDK tools folder...in my case this was c:\android\tools
b. Connect your phone with USB debugging turned on (Settings > Applications > Development > USB Debugging)
c. Now open a Command Prompt and change to your Android SDK tools folder.
d. From the c:\android\tools> prompt run the following commands:
adb remount
adb push u2nl /system/bin/u2nl
adb push autostart.sh /data/opt/autostart.sh
adb shell
chmod 755 /system/bin/u2nl
chmod 755 /data/opt/autostart.sh
exit
adb install autostart.apk
adb install anycut.apk
adb reboot
This will work if you have system-wide root....if you receive a "permission denied" error after the first command you have local root and will need to run the following comands:
THIS IS ONLY IF THE LAST SET OF COMMANDS DID NOT WORK....from the command prompt c:\android\tools>
adb push u2nl /sdcard/u2nl
adb push autostart.sh /sdcard/autostart.sh
adb shell
su (prepare to allow the permissions on your phone at this time....LOOK AT YOUR PHONE NOW!!!)
mount -t rfs -o remount,rw /dev/block/stl9 /system
mkdir /data/opt
busybox cp /sdcard/u2nl /system/bin/u2nl
busybox cp /sdcard/autostart.sh /data/opt/autostart.sh
chmod 755 /system/bin/u2nl
chmod 755 /data/opt/autostart.sh
mount -t rfs -o remount,ro /dev/block/stl9 /system
exit
exit
(back at the command prompt)
adb install autostart.apk
adb install anycut.apk
adb reboot
2. Provisioning Your Phone:
a. Connect your phone and put it in "diagnostic mode" (Settings > Wireless & networks > Dial up networking)
b. This should present you with a new port in QPST....take note of the port.
c. Now go to whiterabbit's site and enter your login string, then click on generate. (remember to generate the file appropriate for your version of CDMA Workshop) -P.S while you're there at whiterabbit- type your ESN into the lower box and generate your Metro PCS MSL...you will need it later.
d. Now open CDMA Workshop and choose the port you took note of earlier...click connect. Open the security tab and enter the SPC in the box (000000 <SPC) and click SPC then send....then in the bottom left corner click on the custom password box and replace "FFFFFFFFFFFFFFFF" with "2010031619780721" and send....now click on the memory tab and then click on the "write" button under NV items...navigate to where you saved the file you generated at whiterabbit's website and write...now exit CDMAW and click yes at the exit message....your phone will reset.
e. Unplug your phone and plug it back in when it has finished rebooting...it will still be in diagnostic mode...so go ahead and open QPST Configuration...click on start clients and service programming...this brings up a new window...click ok...then click on "read from Phone" in the next new window...enter your MDN and MIN under the CDMA tab them go to the M.I.P. tab....make sure to change from MOB only to MOB w/Simple back....then delete all entries in the top window except the first one...then highlight and edit that entry...make sure the top 2 entries under the new window are correct...then change all the IP's to 0.0.0.0...click OK and now go to the PPPConfig tab click on UM and enter your MSL from whiterabbit's site...do the same to AN....thats it click write to phone and let the phone reboot.
3. Now the Easy Part:
a. Once the phone reboots..you have to turn off "dial up networking" to get your 1x and arrows.....now you have full data
b. Now MMS.....open anycut on the phone...tap the new shortcut button....choose new activity then scroll down to MMS Provisioning and tap it. Your new short cut will be on your home screen...tap it and enter the MMS server for metropcs... exit and your done.
It is 3:04 am and that's as good as it gets for me..I wrote this from memory and I am sure it's not the best tutorial or the most svelt, and I may have left some things out or maybe I was a little vague....do not berate, just feel free to rewrite, edit, append, addendum, or be as helpful as you can in your replies. Leave your egos at the door and treat this like you would a wiki. Any suggestions are greatly appreciated. Any constructive criticism is welcomed. Have fun.
thanks for the guide! just a quick addition. I think you need to press ##8778# to get into the diag menu so that qpst 2.7 recognizes your phone on your port.
update: got the messaging to work and the data arrows. but the internet just won't push through. also, when I opened Any Cut and went to new activity, "MMS Provisioning" wasn't a option. Is there a specific version i should be looking for ?
Where do I get the metro pcs files? I've looked high and low for them but can't seem to find them.
you can get the u2nl and autostart.sh from white rabbit's website where it saids "precompiled arm binary"
the other two you can just turn wifi on and dl it from the market. hope that helps! if not, just PM me and i'll send em to you.
I've got step 1 completed but I'm having trouble with step 2...
Phone doesn't show up in QPST.
When it says to go to whiterabbit and enter the login string, I'm not sure what to enter. I don't have a MPCS phone number yet if that's what it's looking for...
did you dial ##8778# to get get into the diag menu and set them both to modem? that and putting the phone in dial up networking mode should get qpst to recognize your phone.
for whiterabbit, you need to enter your MPCS [email protected], so i suppose you do need one lol
breakinyoankelz said:
did you dial ##8778# to get get into the diag menu and set them both to modem? that and putting the phone in dial up networking mode should get qpst to recognize your phone.
for whiterabbit, you need to enter your MPCS [email protected], so i suppose you do need one lol
Click to expand...
Click to collapse
##8778# doesn't work for me, it just doesn't do anything. I've tried a bunch of other codes but just not working to get into that diag mode.
Ok, the problem was that I had to go to my device manager and tell it to make the phone a different COM port - 3. Then restart QPST and tell it to monitor port 3. That works...
Stumped again...
Ok, we only got this phone to test out the metro pcs service. So we don't have a metropcs account as yet.
When we called the local store, they said they wouldn't add the ESN for us for ANY smartphone.
How did you guys do it? Buy a regular phone first and get it activated, then flash the Fascinate and somehow add the ESN to their database?
Very Nice Guide.
can you please PM me (Metro PCS Files and Support .apk's)
pkley said:
Stumped again...
Ok, we only got this phone to test out the metro pcs service. So we don't have a metropcs account as yet.
When we called the local store, they said they wouldn't add the ESN for us for ANY smartphone.
How did you guys do it? Buy a regular phone first and get it activated, then flash the Fascinate and somehow add the ESN to their database?
Click to expand...
Click to collapse
I used on of these sponsored independent agents on howardforums to add your ESN to the database. I would link you to it right now, but I'm not able to as a new member of this forum. Just search "ESN added to metroPCS" on howardforums or PM me
arvinghost said:
Very Nice Guide.
can you please PM me (Metro PCS Files and Support .apk's)
Click to expand...
Click to collapse
Just PM'd you the u2nl and autostart.sh files. btw, are you the same arvinghost as from howardforums? Did you ever get data to push through because I'm stuck as the 1x arrows showing, but no data too
flash to metro pcs
Damn man I guess nobody check their messages anymore, but anys ways I got everthing done still no internet, so whats the deal
WHO BESIDES THE OP HAS ACTUALLY HAD ANY SUCCESS?
yeah i am also trying to flash a cdma hero and i dont know how to use sdk, not too familiar, but im up for it. any video tutorials any1? this sucks dude, i really wanna learn how to do this i have a phone and i cant even use it.
Did you use a custom ROM or just the standard ROM?
I've tried a few different variations of this method and it doesn't work. At least not with the standard ROM. Also the PPP username and password kept resetting itself back to verizon after reboot so I'm guessing we're gonna need a modified NV-Items file to fix that; the one from whiterabbit doesn't work on this phone.
**87284 on Verizon Galaxy S
##8778# on Sprint Galaxy S (Epic)
I had success flashing to metro with everything working. for the ppp settings to stick make sure you use qspt 2.7 build 215 and the m.ip settings with build 355.
euklid said:
I had success flashing to metro with everything working. for the ppp settings to stick make sure you use qspt 2.7 build 215 and the m.ip settings with build 355.
Click to expand...
Click to collapse
how did u get mms on it?? because i cant get it on my fascinate everything works except mms
I uploaded apn file for metropcs with apn restore app.
Sent from my SCH-I500 using Tapatalk
euklid said:
I uploaded apn file for metropcs with apn restore app.
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
You have that xml file? Or a link to it? I'd like to try with new ports, I didn't even have to install AUTOSTART for web to work...wonder if mms works with just the apn.xml....
I found a simple way to change wi-fi MAC address on Ace. Only watch you needed is Root Explorer. Follow this instruction:
1. If your wi-fi is on turn it off
2. Open Root Explorer and go to the /data folder
3. Find and select via long touch the file .nvmac.info
4. Use the option "Open in Text Editor"
5. Change the MAC address to the what you want (I suggest to insert the letters as big characters).
6. Touch the menu button and select "Save & Exit"
7. Torn on you wi-fi and connect to the preferred network. You Ace should connect to the network witch the new MAC address
Note! This change aren't permanent, when you reboot you phone the MAC address goes back to the original. Only test on CyanogenMOD, but working on other rom's based on CM. Not tested on stock rom's and other custom rom's (if you can test it on stock rom's or stock based rom's and it works tell my I will include this information to the post). Use at own risk.
What is the practical use, may I know? Does it help clear timed downloads?
Why change your mac address?
consegregate said:
What is the practical use, may I know? Does it help clear timed downloads?
Click to expand...
Click to collapse
Well it helps me change to a MAC address that my college Wifi recognises, i can even connect using my phone (i.e. my laptop registered with them)
This+TransProxy made my day
ok i don't know about you but if this tutorial ends up as a means to perform MAC spoofing, the user will end up on the wrong side of the law. Be warned.
Can i use laptop mac address?
satti8893 yes, why do think that you can't?
ok how about this.. any way to retrieve the list of wifi passwords your device has stored?
mundixx said:
ok how about this.. any way to retrieve the list of wifi passwords your device has stored?
Click to expand...
Click to collapse
Of course.
Use root explorer to do it
Cheers
catapult1234 said:
Of course.
Use root explorer to do it
Cheers
Click to expand...
Click to collapse
Cheers!
happily1986 said:
ok i don't know about you but if this tutorial ends up as a means to perform MAC spoofing, the user will end up on the wrong side of the law. Be warned.
Click to expand...
Click to collapse
Hhh too simple for noob to do these. Wlan admin mostly aware and deploy wpa2 than mac address based security.
diditdr said:
Hhh too simple for noob to do these. Wlan admin mostly aware and deploy wpa2 than mac address based security.
Click to expand...
Click to collapse
don't be so sure. some home users don't even enable authentication OTA from their access points and some just enable MAC filtering.
fyi, encryption results in a degeneration of the 2.4Ghz radio signal to a limited extent. As a result, some people resort to broadcasting in open and only using MAC filtering.
dragonnn said:
2. Open Root Explorer and go to the /data folder
3. Find and select via long touch the file .nvmac.info
Click to expand...
Click to collapse
No such file in CyanoGenMod v10 (but I have an Asus EEE Transformer). I did a search within all directory structure: it is not there .
So this system is not valid for any CyanoGenMod ROM.
Sopalajo de Arrierez said:
No such file in CyanoGenMod v10 (but I have an Asus EEE Transformer). I did a search within all directory structure: it is not there .
So this system is not valid for any CyanoGenMod ROM.
Click to expand...
Click to collapse
SAME HERE! Did a search = no such file! (Using CM 11)
The router at work requires WPA/8021x-PEAP/TTLS/MSCHAPv2, and my rooted NST does not accept that. So I copied from my CM7-running nook color the relevant info from /data/misc/wifi/wpa_supplicant.conf and entered that into the said file on NST (using root explorer). I also checked the permission of this file (chmod 660). But I still cannot get connected, after turning wifi on/off and also rebooting it.
Any suggestions?
THANKS!
I don't know if its a stock android issue, as my university uses that kind of network security and I can't acces it no matter what config I use on my stock android (using 2.3.4).
Is it stuck on Obtaining IP address?
revile said:
Is it stuck on Obtaining IP address?
Click to expand...
Click to collapse
Stupid question: How can I tell?
Like I said I edited wpa_supplicant, reboot, and nothing happens. Alternatively, I tried to use BN's setting apk and entered the username + password, and again nothing happended.
you can install e.g. catlog app and check your logs
Don't you need the right certificates installed for TLS? Maybe the NST (which wasn't designed for Web browsing) doesn't have them installed.
I forgot the pattern of my lockscreen, tried too many times and cannot unlock with google account.
Unfortunately wifi, data and developer mode is turned off.
Was able to locate and extract gesture.key but how can I remove it from data.ext4?
SD-ROM is containing all my phone numbers, messeges etc.
Please help, thank you in advance.
experto1 said:
I forgot the pattern of my lockscreen, tried too many times and cannot unlock with google account.
Unfortunately wifi, data and developer mode is turned off.
Was able to locate and extract gesture.key but how can I remove it from data.ext4?
SD-ROM is containing all my phone numbers, messeges etc.
Please help, thank you in advance.
Click to expand...
Click to collapse
How have you found and extracted gesture.key?
To remove something from data.ext4 you could mount the file in Ubuntu/Linux which will grant you access to the files.
Code:
[CENTER]sudo mount -o loop data.ext4 ~/Desktop/data
then edit it and unmount it
umount data.ext4[/CENTER]
HypoTurtle said:
How have you found and extracted gesture.key?
To remove something from data.ext4 you could mount the file in Ubuntu/Linux which will grant you access to the files.
Code:
[CENTER]sudo mount -o loop data.ext4 ~/Desktop/data
then edit it and unmount it
umount data.ext4[/CENTER]
Click to expand...
Click to collapse
thanx a lot HypoTurtle! It worked for me but removing gesture.key did´nt remove the protection. I still have googlemail unlock screen.
Any idea?
experto1 said:
thanx a lot HypoTurtle! It worked for me but removing gesture.key did´nt remove the protection. I still have googlemail unlock screen.
Any idea?
Click to expand...
Click to collapse
Had a quick look and if you aren't given the option to reset it, after ~5 failed attempts you could try downloading lock screen bypass from the market to see if that works, I'll attach a copy of the apk if you cant get it.
Just tried it and its 5 failed attempts for me, then the offer to reset.
unfortunately this did not work for me. think it is locked at a different point.
I will give the sql method a try: http://forum.xda-developers.com/showthread.php?t=485988
Anyway I hit the thanks button
problem solved:
after trying sql method and restart it was showing missed calls, could enable data connection and unlock it with my googlemail account.
experto1 said:
problem solved:
after trying sql method and restart it was showing missed calls, could enable data connection and unlock it with my googlemail account.
Click to expand...
Click to collapse
I'm glad that you could solve it and unlock your phone, but I am curious, why it didn't let you unlock using Gmail without data.
Sometimes, I unlock the phone using gmail and pass EVEN with airplane mode on and no WiFi. Isn't it supposed to check with your already registered gmail account? thus no need for an internet connection?
Anywa, enjoy your phone.
experto1 said:
problem solved:
after trying sql method and restart it was showing missed calls, could enable data connection and unlock it with my googlemail account.
Click to expand...
Click to collapse
Glad you got round it, I didn't mention anything adb wise as I though you said debugging was turned of, at least you've learned something. And being able to edit the data.ext4 on a desktop has it's benefits.
Marvlesz said:
I'm glad that you could solve it and unlock your phone, but I am curious, why it didn't let you unlock using Gmail without data.
Sometimes, I unlock the phone using gmail and pass EVEN with airplane mode on and no WiFi. Isn't it supposed to check with your already registered gmail account? thus no need for an internet connection?
Anywa, enjoy your phone.
Click to expand...
Click to collapse
Yes Marvlesz, was also strange to me. Tried the same with my ICS Pad without any connection while I read somewhere that even wifi should not work only when the device is connected to USB!? Maybe it depends on the version? My phone was on ICS 4.0.3 (IceCreamTosti_v0.10_AOKP_M4) with Tyatung Kernel 2.6.32.
Now after all my installation got broke but I can access my stuff, finally save it and reinstall newer version while I have a good reason now to do that
HypoTurtle said:
Glad you got round it, I didn't mention anything adb wise as I though you said debugging was turned of, at least you've learned something. And being able to edit the data.ext4 on a desktop has it's benefits.
Click to expand...
Click to collapse
Yes HypoTurtle, debugging was off and I did´nt use adb. With your kind help I mounted data.ext4 and changed settings.db in linux.