question about storing DNS settings - Windows Mobile Development and Hacking General

Where does WM5 store DNS settings?? i ask cause i would like to take my DNS settings and put them in a cab in my extended rom, i did a quick search and didnt find what i was looking for in my reg.. maybe there is a config file somewhere?!?

Odd. I would have figured they would have been in the registry. I'll poke around and see if I can figure it out. I don't much feel like working today anyway..

Okay, looks like it is indeed in the registry.
I just manually set a DNS server on my 8125, and this is the key I found it in:
HKLM\Comm\Cellular Line\Parms\TcpIp\DNS
It's a multiline value.
I exported it from Resco, and it looks like this:
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Comm\Cellular Line\Parms\TcpIp]
"DNS"=hex(7):36,00,35,00,2E,00,31,00,30,00,36,00,2E,00,31,00,2E,00,31,00,39,00,36,\
00,00,00,36,00,35,00,2E,00,31,00,30,00,36,00,2E,00,37,00,2E,00,31,00,39,00,\
36,00,00,00,00,00
Not sure if that will help any or not..

i will experiment and see what i come up with.... i did the dns from opendns and on my cingular phone made a world of difference, gonna try to make a cab that will change it for me..

Let me know if there's anything I can help with..

sk0t said:
Let me know if there's anything I can help with..
Click to expand...
Click to collapse
wanna know something interesting... i just made a rom for my wizrd.. has IPL/SPL 2.26 etc.. but loaded AKU3.2 with it as well.. and the dns is no longer in hex... here is a screen shot before changing my dns

I saw something similar with Resco. I'd look at it through Resco, and it'd look like that. Yet, when I exported it to a .reg file, it looked like the hex I posted..
Very strange. Haven't tried it yet since I upgraded to the AKU3.2 ROM yet, but I'd imagine the same results would be had..

maybe that could be it.. i used remote reg edit last time i looked on the phone with aku2.3, this time i used TRE..

i manually changed the dns through the settings menu, did a soft reset and the values in the reg stay the same
there is also this info in the reg... i wonder if dns could be added in this somewhere.. i would but im not a reg wiz.. maybe someone else can figure it out
[HKEY_LOCAL_MACHINE\Comm\ConnMgr\Providers\{EF097F4C-DC4B-4c98-8FF6-AEF805DC0E8E}\HTTP-{97626DCF-818F-4be1-AC7E-77DA1B01F145}]
"ConnectionGUID"="{C16BECE4-ED76-7A3E-4CF1-99C03555DFF1}"
"ExtraInfo"=""
"Override"=""
"Username"=""
"Proxy"="wireless.cingular.com:80"
"Enable"=dword:00000001
"Type"=dword:00000001
"DestId"="{436EF144-B4FB-4863-A041-8F905A62C572}"
"SrcId"="{97626DCF-818F-4BE1-AC7E-77DA1B01F145}"

Hmmm.. I'm about to pack up and head home for the day.. I'm going to putz with the reg settings some more tonight, I think. I would think that the value would change if you change it under connections.. unless it's changing it in a different key? I dunno.. Cause I saw it change when I added a second DNS server as well.. I added one at a time..
Very interesting..

i think i figured it out... that dns key you found.. that populates with the last dns address listed.. i used the my isp gprs setting and browsed to google, checked the key and it displayed the opendns address, so i then connected with MEdia net and it gave me the prior dns i listed...

Related

Anyone know how to save WiFi AP profiles?

I have had a search on this site but have not found the answer.
I hard reset my phone quite regularly (dont ask why) and unless i do a full backup the WiFi profiles (ie the remembered networks i have connected tooand their WEP keys).
What i want to know is-is there a file that contains this information that i can just copy off the phone? coz my mates network has like a 52 charicter(not that many) key to access, Very annoying when i have to type it in TWICE everytime.
I hope someone can help
Thank you so much for your time in advance
maybe this is the sort of job for Buzz or another guenius
Don't need a genius for that. Just save the appropriate registry branch and then re-import into the registry after the hard reset. You will need a registry editor that supports export/import.
Thanks for your reply, i didn't think that would be so easy, i mean being able to extract the profile that way and import it again and it still remember the WEP key, thats a bit of unsecure!
I would like to know this as well. I have looked everywhere for this and have found no answers.
Have you looked at.....
There's an app called WiFi Profiles...... see this link.
You can configure, save, load and apply different WiFi profiles (i.e. settings) for whatever locations you want.
Have a look, see if does what you want.....
Mark.

Issue with IE after upgrading to AKU 3.3

Hi
I have put the latest Cingular AKU 3.3 on my iMate JasJam.
3G/GPRS works fine and it connects properly with most of my application:
Opera, email etc..
However, for some reasons Internet Explorer will never connect nor will it resolves URL.
What could be the issue?
All other applications using the internet connection is working !
Jean-Yves
PIE has a hardcoded proxy now, you have to remove it in the registry.
the reg change is in the hermes wiki near the end (newly updated).
is there a way to fix this without manually changing my registry settings? To date I have avoided changing my registry settings for fear of screwing something up. How "hard" is it to use one of the registry editors to change settings... is my fear justified?
Also, without changing the settings, what limitations/changes will I see in PIE that I don't see now using AKU 2.2 (or whatever the current Cingular ROM is)?
weinson said:
is there a way to fix this without manually changing my registry settings? To date I have avoided changing my registry settings for fear of screwing something up. How "hard" is it to use one of the registry editors to change settings... is my fear justified?
Click to expand...
Click to collapse
probably not. it's very easy, and the registry wiki page is quite helpful. since you just upgraded, now is a good time to try playing with the registry...worst case, you hard reset and nothing is really lost. i don't think you'll have any issues making minor changes though.
sooner or later, one of the very helpful people on this board will probably post a cab or small app that allows this registry entry to be easily changed/toggled.
weinson said:
Also, without changing the settings, what limitations/changes will I see in PIE that I don't see now using AKU 2.2 (or whatever the current Cingular ROM is)?
Click to expand...
Click to collapse
from what i understand, without the registry change PIE will not function unless you are connected via the wap.cingular APN. this may or may not even be an issue for you in the first place.
jamiefiedler said:
from what i understand, without the registry change PIE will not function unless you are connected via the wap.cingular APN. this may or may not even be an issue for you in the first place.
Click to expand...
Click to collapse
Thank you for this information,
Since I have put the HTC 2.05 Test ROM which doesn't have this issue. I also like it better as there's no AT&T logo everywhere.
JY

Problem with WiFi

If I press wlan button in Comm Manager than WiFi should be ON but it is not. I did use some different roms but still nothing. Somebody know what to do ?
settings-connections-wireless lan - there is only message:
Wireless LAN is OFF.Turn on Wireless LAN.
It does not work. Please help me.
Go back to wm5. If your lucky it might come back. The more I dig through here the more I see people with wifi problems after flashing. You might be out of luck
HOWEVER
I noticed under WM6 the bubble that pops up when you click on the wifi tower ALWAYS says 'turn on wifi'
Good luck!
Same problem with my WI-FI, Not working please help!!!!
Hi All. I am facing the same problem with my WI-FI as Vomithaus is having. Whenever I try to to connect to WIFI from Commmanager, it tries to and then to show disconnected. When i go to settings> Wireless LAN, it asks me to "Configure Network Adaptors", and lists all the adaptors and going into them asks about the ip settings and stuff like that. By the Way I Bricked my phone once and then i flashed with T-Mobile Ship WM6.0 RUU for the WING. And I strongly suspect that the registry setting are not right or the Radio ROM is F***ed up. Can any knowledgeable person help me please? I would greatly appreciated any help.
Same problem with my WI-FI, Not working please help!!!!
This is the addeneum to the last post. The last remaining screenshot for the above post. The last screen shot of the "Wi-Fi Status" in the "Settings > Connection", gives me an option to "Turn on Wi-Fi" but toggeling it results in nothing. Thank You everybody for your time and consideration.
It might help us to figure out how this happened too. I bought the EXEC off of ebay and it was like this from the get go. The previous owner flashed it to wm6 about 1 month ago, but said it was working fine... all he did was hard reset to get rid of the personal information. I want to believe him, but there are a few people on here complaining of flashing the exec and losing wifi. (even the official rom from O2).
Flashing COULD have damaged the transmitter, but it seems more likely that a setting is wrong somewhere (especially since there is a slider bar for WIFI battery vs performance).
This is good news (somewhat), but the bad news is that if there is one, no one knows about it. I have messed around in the registry (there were some promising entries related to POWER), but nothing that even showed a response. I found the entry that connects to the slider bar, but PERFORMANCE = zero, so there is nowhere to go there but WORSE.
This really sucks, is all I can say. I blew $500 on something that is useless (well... not useless, but no WIFI? WHY COULD IT HAVE NOT BEEN BLUETOOTH!)
Another step I have taken is contacting PPC Tech's via email and asking them if they have any idea how to repair it, and how much $$$
I'll keep you informed.
Can you tell me if yours EVER worked, and if so, when it stopped?
I just looked closer at your screenshots.... Do you have a WIFI card? (it say's 'adapter').
No, I dont have a WIFI card but this is way how windows handles all is peripherals (services), as an add-on card. just like you laptop.
Guys, There is a registry fix for this problem.
Please take look here :
http://forum.xda-developers.com/showpost.php?p=1475527&postcount=14
Ron
I am afraid Ron that this is not a case as suggested in Beowulf6's solution. If it is the solution I dont know how to exactly implement it. But I am posting here the exact registry key screenshot for you guys to take a look also. I can't see and TNETWLN1 or TNET12345 key here in my device. I still think it has to something with the registry. Can any one here with a T-Mobile WING verify and post their screen shot? or maybe send me a registry backup to compare with? It would be really grateful it some does that. Thanks everybody for a few seconds to read this.
In my herald i can't see TNETWLN1 or TNETWLN12345 too.
I did use Mobile Registry Editor for that , what you guys are useing?
(sorry for my English, if you dont understand me just tell me please)
Look at the screenshots, there a Reg Folder with the name WLAN, open it, and then open the key with all the numbers and letters. At the end of that line is a code. TNETWLAN1 is what it should be for the Herald.
f_v_man said:
I am afraid Ron that this is not a case as suggested in Beowulf6's solution. If it is the solution I dont know how to exactly implement it. But I am posting here the exact registry key screenshot for you guys to take a look also. I can't see and TNETWLN1 or TNET12345 key here in my device. I still think it has to something with the registry. Can any one here with a T-Mobile WING verify and post their screen shot? or maybe send me a registry backup to compare with? It would be really grateful it some does that. Thanks everybody for a few seconds to read this.
Click to expand...
Click to collapse
It is like Bio88 says.
You are already on the right track... click on WLAN and you will find the key.
Change the value of the key into TNETWLAN1
Done
bio88 said:
Look at the screenshots, there a Reg Folder with the name WLAN, open it, and then open the key with all the numbers and letters. At the end of that line is a code. TNETWLAN1 is what it should be for the Herald.
Click to expand...
Click to collapse
Hi Please look at my screen shot again clearly. I did post what is inside the WLAN folder. There are only two keys :
1) (Default) \Windows\ctlpnl.exe
2) CmdLine cplmain17
I still can't figure where is the key with numbers and letters. Sorry If I am a bit dumb or wrong. Thanks.
it is possible if you use the default Commanager that you dont have this registry key.
I dont know if it helps if you create it on your own.
but for me where i installed a different commanager, the Key was there and i edited it for the wlan button.
My Tmo Wing has "TIACXWLN1" in that registry key.
Do those changes apply to the herald and the Wing interchangeably?

quickie, cook in timezone

this has to be pretty easy, but i'm going nuts trying to find out how to do it!
how do you change the default timezone that comes up with the setup screen?
i'm pretty good at digging through this forum and google and havent found any info about actually cooking it in as a default...
after the setup, i think the reg key is HKLM\time, but that is not present in all rgus and hv files in 3 different roms that i've dug through. it doesnt appear to be as easy as replacing the WinCENLS folder, although i'm not sure exactly what all the hex in there is, it seems more like a list. i can't find it in the xip either, and searching for "time" in all rgus, etc... doesn't help. i'm guessing it's a hex edit somewhere...
i know there's people that know care to share the info?
the easies way is to first set the timezone from the settings..and then export it to ur Pc ( use any regeditor to export..)
voila
Would this help it a mis mash of Prov & reg time settings.
I was searched for this for a long time, until i found it by accident, and I've been using it since.
The file attached is what i use to set GMT to 0 (London, Lisbon time).
You can set your GMT and get the binary data using the RapiConfig.exe
See how to do it here (there are several examples, and the tool for the job)
You must set the value you want to retrieve from the registry in RapiConfigIn.xml
Then connect the device to your pc and run RunConfig.bat
You have the info you need in RapiConfigOut.xml
FInixNOver said:
I was searched for this for a long time, until i found it by accident, and I've been using it since.
The file attached is what i use to set GMT to 0 (London, Lisbon time).
You can set your GMT and get the binary data using the RapiConfig.exe
See how to do it here (there are several examples, and the tool for the job)
You must set the value you want to retrieve from the registry in RapiConfigIn.xml
Then connect the device to your pc and run RunConfig.bat
You have the info you need in RapiConfigOut.xml
Click to expand...
Click to collapse
thats awesome! i never thought of the provxml files... thanks for the tip, it really helps me out...

How to Tether/Internet SHare with ATT Tilt 2

I tried to use the Internet Sharing option when connecting to a laptop - just like I did with the original ATT Tilt - but I always get Invalid APN. Does everybody get the same and is there a work-around?
tethering
check to see (upon running Internet Sharing)
under Network Connection
my TP2 shows 2 options
MEdia Net
and one for GPRS A&T
the only one that works for me it MEdia Net
please post if you have those options and if it worked.
internet sharing
OK
Thanks for posting the issue with internet sharing
Here's the fix
Use reg edit and change these values:
HKCU\SOFTWARE\MICROSOFT\INTERNETSHARING\LASTCELLCALL CHANGE TO "MEdia Net"
HKLM\Comm\InternetSharing\ForceCellConnection change to "MEdia Net"
AT&T blocked option to change connection type so you have to change that in reg.
Now just softreset and enjoy.
PS
I'm using it right now
tether tweak cab for att stock?
emilware_v1.1 said:
OK
Thanks for posting the issue with internet sharing
Here's the fix
Use reg edit and change these values:
HKCU\SOFTWARE\MICROSOFT\INTERNETSHARING\LASTCELLCALL CHANGE TO "MEdia Net"
HKLM\Comm\InternetSharing\ForceCellConnection change to "MEdia Net"
Click to expand...
Click to collapse
Hey I don't have my Tilt 2 yet so I can't test this but I cabbed up your changes. Maybe one of you with Tilt2 MEdia Net could test this sucker out? First make sure you are currently unable to tether and then install and soft reset to see if it fixed it. Report back!
edit: cab removed, report of no success
Doug
d0ugie said:
Hey I don't have my Tilt 2 yet so I can't test this but I cabbed up your changes. Maybe one of you with Tilt2 MEdia Net could test this sucker out? First make sure you are currently unable to tether and then install and soft reset to see if it fixed it. Report back!
Doug
Click to expand...
Click to collapse
Doug, it didnt work for me...
This is the correct reg
"HKCU\SOFTWARE\MICROSOFT\INTERNETSHARING\LASTCELLCONNECTION CHANGE TO "MEdia Net""
I updated it manually and it doesnt stick. Its forcing me to the other APN still....
bhyde said:
Doug, it didnt work for me...
This is the correct reg
"HKCU\SOFTWARE\MICROSOFT\INTERNETSHARING\LASTCELLCONNECTION CHANGE TO "MEdia Net""
I updated it manually and it doesnt stick. Its forcing me to the other APN still....
Click to expand...
Click to collapse
Thanks for reporting back, removed the cab from my post. So yours is the correct key but it doesn't stick.... hmm. Sounds like flashing a custom rom might be the only way out unless you put a registry tweaking thing in startup.
I just tried this using AT&T Tilt 2 on the stock ROM and it worked.
I could not find any such key called "HKCU\SOFTWARE\MICROSOFT\INTERNETSHARING" so I ignored that part.
I changed HKLM\Comm\InternetSharing\ForceCellConnection to "MEdia Net".
I reset the phone.
I tried to share through a USB connection, but it kept appearing on my computer as a hard drive despite selecting the option for Internet Sharing.
So instead I tried sharing through Bluetooth PAN. It was actually easier than it used to be on WM6.1. I selected Connect from the Internet Sharing program and it brought up a list of Bluetooth pairings. I selected my laptop (win7), which I had previously paired for ActiveSync purposes. The phone said "connecting to computer" and then "connecting to internet" and then it was done.
I accessed websites on my computer and refreshed to make sure it wasn't cached. I checked that my computer's wifi was disabled and that the phone's wifi was not on. Looks like it works.
HKLM\Comm\InternetSharing\Settings\ForceCellConnection to "MEdia Net"
and
HKLM\Comm\InternetSharing\Status\Enabled to "1"
I changed HKLM\Comm\InternetSharing\Settings\ForceCellConnection to "MEdia Net" and it worked. Thanks for the help.
Question...on the stock ROM, does the built-in connection use the wap.cingular connection or the isp.cingular?
I heard it was wrong to use isp.cingular. Should we create a new profile specifically for wap.cingular?
emilware_v1.1 said:
OK
Thanks for posting the issue with internet sharing
Here's the fix
Use reg edit and change these values:
HKCU\SOFTWARE\MICROSOFT\INTERNETSHARING\LASTCELLCALL CHANGE TO "MEdia Net"
HKLM\Comm\InternetSharing\ForceCellConnection change to "MEdia Net"
AT&T blocked option to change connection type so you have to change that in reg.
Now just softreset and enjoy.
PS
I'm using it right now
Click to expand...
Click to collapse
It Works!!!
thanks
Thank You! I am using it now.... Only After installing TotalCommander ( in the Rhodium Software sticky) to eaily do the regedits,
Worked for me. Nicely done!
emilware_v1.1 said:
OK
Thanks for posting the issue with internet sharing
Here's the fix
Use reg edit and change these values:
HKCU\SOFTWARE\MICROSOFT\INTERNETSHARING\LASTCELLCALL CHANGE TO "MEdia Net"
HKLM\Comm\InternetSharing\ForceCellConnection change to "MEdia Net"
AT&T blocked option to change connection type so you have to change that in reg.
Now just softreset and enjoy.
PS
I'm using it right now
Click to expand...
Click to collapse
This method worked for me. Thankfully I have a tetherable TP2 now ^^...only thing is the connection sucks until AT&T fixes their network. Takes forever to load a simple page....
Why can i not find the HKLM folder in total commander.... cause id love to be able to tether my phone....
hixmatt said:
HKLM\Comm\InternetSharing\Settings\ForceCellConnection to "MEdia Net"
and
HKLM\Comm\InternetSharing\Status\Enabled to "1"
Click to expand...
Click to collapse
That works great for me, but after soft reset "HKLM\Comm\InternetSharing\Status\Enabled" reverts back to Value of "0". To use Internet Sharing, I have to edit this value after every soft reset. Any possible fixes for this? Thanks in advance!
Stock AT&T Tilt 2
Edited To Add: It finally stuck! No idea why it took so long.
calexan said:
Why can i not find the HKLM folder in total commander.... cause id love to be able to tether my phone....
Click to expand...
Click to collapse
Doesn't sound like your ready to play with registry (no offense). Always know you can cripple Windows if your not careful. You have to open the "\\Plugins" folder at the top of the root dir of the phone and then select registry. Follow the given instruction from there. Again though, be careful.
Oh im sure im not.... I dont think ive messed with a registry since my Moto v620 years ago. My Tre0 750, just had every cab i ever needed already made.
If its not sticking though... i guess theres really know point till someone figures this thing out. I hate how AT&T blocks certain features....
calexan said:
Oh im sure im not.... I dont think ive messed with a registry since my Moto v620 years ago. My Tre0 750, just had every cab i ever needed already made.
If its not sticking though... i guess theres really know point till someone figures this thing out. I hate how AT&T blocks certain features....
Click to expand...
Click to collapse
======== (UPDATED 11-30-2009) ========
NOTE! -- THIS IS ONLY FOR AT&T CUSTOMERS
I have made a cab version of my fix so that mortscript isn't required. Simply install and restart your phone and your ready to go! (much easier instructions eh?)
That's it!
Works great on my end.... other than AT&T's terrible internet service.
I appreciate the time you took to write the scripts. Havnt figured if they stick though, but now that its easily changed back no worries.
Thanks man

Categories

Resources