yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] Chainfire:
Probably. I attached a zip with the relevant files from my Kaiser. Dump them in your \Windows directory of the device.
[Windows Mobile Development and Hacking General] papajohn:
Hi,

I have a question about this wonderful app:

Is it possible to share a GPRS connection that requires a proxy? Currently I can get to grate an ad-hoc network but I can't figure out how to make a desktop browser use my proxy server. Using Bluetooth DUN the only thing I have to do is enter the proxy settings in Opera/FFX. Now those settings doesn't seem to work.
[Windows Mobile Development and Hacking General] 944LT1:
I installed those files and when ICS starts I get a message:

"cannot connect for unknown reason"

Since those files were deleted by verizon I supspect they have other roadblocks in place. I guess I will have to wait for a verizon user smarter than myself to figure this out.
[Windows Mobile Development and Hacking General] TalynOne:
If you can get regular Internet Sharing to work via USB or Bluetooth with your proxy, then it should be no problem to get it working over WiFi.

I think I'll put up a a couple of notes, in bold, tonight in the first post clarifying that if you use Chainfire's app that NO hacked .dlls are are used/needed with the app, and to make sure you have a working version of Internet Sharing installed, and tested, before trying to share it via WiFi. These issues seem to be often repeated problems that users are running into.

Sorry I haven't been around much lately Chainfire, work is a little crazy, and my brother's wife just gave birth to his first child, so I'm going to visit him soon. I have been checking this thread at least 1-2 times a day, to see if I need to post any important updates in the first post. Should I post info on the latest beta/test version or do you want me to wait until its more finalized?
[Windows Mobile Development and Hacking General] Chainfire:
That'd be great. Hopefully this prevent more of the same being asked.

Heh well work gets that way :) And congrats on the new cousin! Been having some of those celebrations myself as my sister birthed her 3rd last week.

My latest release post:

http://xdaforums.com/showpost.php?p=1717846&postcount=344

This is a real release, not a test release, so you can add it to the first post. I included the changelogs for the 'test' versions as I saw you were not here and hadn't updated... make it easier for you :)
[Windows Mobile Development and Hacking General] marctronixx:
verizon folks are pretty much SOL since verizon handicapped their version of the mogul...
[Windows Mobile Development and Hacking General] Chainfire:
Hmm yes but there should be a way to fix ... I don't think they actually broke anything, it's more likely a matter of missing registry entries and files
[Windows Mobile Development and Hacking General] 944LT1:
Hopefully somebody will find a work around, this is a great application.
[Windows Mobile Development and Hacking General] Park82:
Hi .76 works like a chain!!! ;) Wifi stays active even when pressing the power button (Hermes). Thanks guys!
[Windows Mobile Development and Hacking General] TalynOne:
You can try the files posted by bedoig in this thread:

http://pdaphonehome.com/forums/ppc-...on-xv6800-no-internet-connection-sharing.html

If not, I'm sure the Verizon ROM will be flashable, if not already, with a Titan based ROM that includes "Internet Sharing". Follow this forum for more info:

http://forum.ppcgeeks.com/forumdisplay.php?f=44

---------------------

Thanks Chainfire, the first post has been updated with your suggested changes, I will keep checking this thread for any further updates.
[Windows Mobile Development and Hacking General] Chainfire:
Let me know how the Verizon thing works out, if those files in that topic work.

EDIT: Thanks for the mods, Talyn
[Windows Mobile Development and Hacking General] pixelwix:
all we need now is someone to make and icon for this program and its perfect
[Windows Mobile Development and Hacking General] Chainfire:
The program has an icon ;) You just won't see it 'til you soft-reset.
[Windows Mobile Development and Hacking General] Pasukin:
When I first made that post (I've since changed my username from CrashX to Pasukin) it would hang as soon as it was launched, before the title bar actually changed. I just tested again using the most recent release, and it now hangs during the initialization. When launched, the application comes up as expected. I click on Connect and it goes through what I assume you're referring to as the checklist. I see the following:

It's at that point that the wait icon stops spinning and the device hangs. The Power button will still turn off the screen, but all other buttons are unresponsive and the device needs to be soft reset to recover.

It gets further than it did before, but obviously still has an issue on my device. I run the AT&T Tilt with the factory ROM, however I stopped the AT&T customizations from installing during the initial startup of the device.
[Windows Mobile Development and Hacking General] pixelwix:
how about either one of these two?
[Windows Mobile Development and Hacking General] Chainfire:
Nice! Did you make those yourself?

If so, can you make 3 more?

- black dot, lowest bar green, other bars black

- black dot, middle bar green, other bars black

- black dot, top bar green, other bars black

and fix the reflection?

If ya do, thanks a bunch :)
[Windows Mobile Development and Hacking General] Krayziepop:
I am starting to look at these as a potential solution to the Mogul's charging issue...

High Output USB Travel Charger

High Output USB Car Charger

Both of them state that they provide 1Amp to the device for rapid charging. The standard USB port rating is only 500mAh, and so is the standard wall charger from HTC.

I am in no way implying that the site linked above is reputable! I am placing an order there right now myself for the car charger. I should have it by next weekend hopefully. If/when I get it (lets pray when, not if) I will post my results here for other Mogul users with the power problem to see.

Thanks again Chain, wonderful job on the application!
[Windows Mobile Development and Hacking General] Krayziepop:
I got really bored, so I edited those .png files. :)

Hope I am not stepping on any toes, but I am bored out of my mind at work waiting to be dispatched for my next load... :(
[Windows Mobile Development and Hacking General] Chainfire:
Great! Well done! Before i can use them, though, I will need to know if the original images aare homegrown or not. (copyright issues).

It seems the todo list for v0.8 comes down to:

- slick GUI

- checks for ICS

- installer

Did I miss anything? v1.0 is nearing fast and it should be pretty much finished then :)
[Windows Mobile Development and Hacking General] pixelwix:
they are from my t-mobile shadow
[Windows Mobile Development and Hacking General] Chainfire:
Damn, that means I probably can't use them legally. Oh well no matter, I'm seeing a friend tonight who has mad 'shopping skills, I'll ask him if he can 'remake' them, because they're perfect for the app.
[Windows Mobile Development and Hacking General] borealcool:
Has your friend come through with the icons? If not, let me know what colour, size and format you need them and I'll PM you a link containing the sources files as well.
[Windows Mobile Development and Hacking General] d.butters:
AH! MY FACE!

You've rocked it off! This app is amazing. Great job!
[Windows Mobile Development and Hacking General] TalynOne:
Ok, working better.

The procedure I ran through was to run your .exe in the same folder as the hacked version. Your app ran "Internet Sharing", I then tapped the "Connect" button and your app activated, and applied the timeout workaround correctly!

However, if I exit both apps, and try it again. I get the "Connected" status, but the WiFi adapter is in DHCP mode (and for every other run of your app). So it only works 50% of the time.

Let me go into a little more detail on how my hack is different from a simple registry change. In my hacked .dll version I replaced EVERY reference to the USB device (RNDISFN1) to the WiFi device in question (TNETW12511 for the Kaiser/Mogul). So if you just perform a registry change with the original version of the "Internet Sharing" app, the "Status" messages the app looks for/displays are related to the USB device. In my hacked version, the "Status" messages the app looks for/displays are related to the actual WiFi device. So changing WiFi IP address properties while running the non hacked version will have no effect, because the non hacked .dll version is monitoring the USB device, not the WiFi device.
[Windows Mobile Development and Hacking General] Chainfire:
I can see what you mean. I'm still scratching myself over the DHCP issue. I have another problem now though, I cannot do it at all anymore. Neither manual or automatic, my PC just doesnt want to use the TyTN for an internet connection anymore :S Strange thing is, my PC seems to be getting the 192.168.0.1 IP address now (conflict), while that is obviously taken for the TyTN itself. If I change the TyTN to use .10 or so, it wont use it as internet connection.

Weirdness, it was all working, and now it's all gone awry. I'll look at it some other time though, enough for tonight :)
[Windows Mobile Development and Hacking General] TalynOne:
When in doubt, do a soft reset on your phone to see if that helps. You'd be surprised how many times that works. If you end up stuck or not having time to work on the app, I'd be willing to take a look at the source code. Thanks for your efforts!
[Windows Mobile Development and Hacking General] marctronixx:
Taly,

thanks for your work here. i have finally gotten the ipod touch to use the mogul and i downloaded a song from itunes. the 10 minute restriction happend but i kind of stumbled around on the process and reconnected.

my question is:

if i wanted to use the "share and keep sharing" script, will this keep the session online until *I* manually disconnect?

and if i use this scriipt instead of entering an ip in the ALT WINS do i still:

1. run the "share and keep sharing..." script first THEN

1a. run the intshrusi shortcut (wifi switch MUST be off correct?)

2. wait for the "check usb" message

3. THEN switch the WiFi on

or can i skip 1a above?

also when i do use the srcipt, i noticed the phone would jump back to the internet sharing page every few seconds. is this normal?

when im done with this adhoc connection, how to i stop the "share and keep sharing..." script? does it stop once i disconnect the internet sharing app?

are these the proper steps needed to successfully get this to work? again, i was able to FINALLY get this to work but i wanted to make sure i have he most direct approach...

and am i also correct in that the adhoc connection wont say "connected" until my touch sees it and connects right??

asking dumb questions here but i was a bit overwhelmed with your post.

thank you for clarifying....

marc.
[Windows Mobile Development and Hacking General] TalynOne:
Ok, I'm a dumbass. Your app is working great! I just wasn't realizing how it was working. I looked more carefully at your instructions and realized that if I get disconnected for any reason I need to close out both apps and restart your app to get connected properly. The actual issue was that on disconnect my WiFi radio turned off, and when I went to check my IP address it made it seem as if I was set to DHCP when the real issue was that the WiFi radio was off.

Could you change the behavior so that it turns the wifi off, and on only on the first run of the "Internet Sharing" app? It shouldn't turn off the WiFi when a disconnection occurs. So that if I wanted to reconnect all I would have to do is click the "Connect" button again, and your app should detect a reconnection attempt and apply the workaround again. Then have your app only exit when the "Internet Sharing" window is no longer there, kind of like the way the Mortscript script works. Thanks!
[Windows Mobile Development and Hacking General] TalynOne:
Awesome, thanks.

my question is:

The script will press the "Connect" button for you if it detects a disconnect. It will keep running until it doesn't detect that the "Internet Sharing" app is running. So it stop running when you exit/terminate the "Internet Sharing" app, not when you click "disconnect".

Look at the script using a text editor, like notepad, it's heavily commented on exactly what it does at every step. The script should run the "Internet Sharing" app for you. So you should be able to skip 1a, the rest looks fine.

It might jump back to reconnect or keep your phone from idling. Every few seconds seems excessive, were you getting disconnected a lot?

As stated it above, the script terminates when you exit/terminate the "Internet Sharing" app.

You can use the script with the WINS approach together if you want. If you don't use the WINS approach then you will be disconnected at least every 10 minutes for sure, but the script will reconnect you. If you use the the WINS 10 minute workaround you might not get disconnected at all. The most direct approach might still be coming, the poster above is working on an application to automate the process even more!

Depends where you're looking. It won't say connected until your Touch is connected to the Ad Hoc network in the "WiFi" control panel applet. But it can say "Connected" in the "Internet Sharing" application if using the 10 minute workaround, even if you're not connected to any Ad Hoc networks.
[Windows Mobile Development and Hacking General] marctronixx:
Taly thank you for your help! you are very generous with your support and it really means a lot.

where is your paypal donation icon??!! add it to your profile over at pdaphone.com so i can give you something for all of your hard work!:cool:
[Windows Mobile Development and Hacking General] Chainfire:
Ok I'm a total dumbass :D Yes ofcourse, soft-resetting is something I do a LOT with my TyTN. It was however not the TyTN that was the problem. I had rebooted my PC, and as I almost never do that (once every few weeks) and hardly use WiFi on it, I forgot that silly ASUS WIFI program that runs and destroys all Windows WiFi setting and reverting to Access Point mode instead :)

Ah simple miscommunication then :D Yes indeed that is the plan, to just run my app, and it will keep taking care of everything as long as ICS is active, including connects and disconnects. However, as that complicated the code again (some actions need to be done at every connect / disconnect) I want to be 100% sure that all is working correctly, that the principle is sound. After that is done, the following is what I want to do:

1) Keep it working and doing it's thing while ICS is active and you can connect / disconnect all you want.

2) Embed intshui , ipnat and the hacked DLL's, on run, unpack those to the local folder, where the correct intshare will be autodetected (that detection already works, btw, and was used for the ICS registry hacks), then run the hacked ICS.

This way, truly, the only thing a users has to do is:

1) Get the app

2) Set up an ad-hoc network

3) Run the app

And victory will be ours! :)
[Windows Mobile Development and Hacking General] Chainfire:
WMWifiRouter v0.2 - Please Test

OK, here goes! I have put all the necessary files in the same zip and added some logic to the tool to copy the correct DLL's.

Download:

http://www.jongma.org/WMWifiRouter/WMWifiRouter.zip

Instructions:

- Create a folder on your device (named WMWifiRouter or something), and place all files from the zip into that folder. I would do this through ActiveSync, as the mobile browser usually hides some files.

- Make sure you have an Ad-Hoc Wifi network set up as per TalynOne's instructions. (You do not need to have it connected or anything of the sort, it just has to exist)

- Run WMWifiRouter.exe, which in turn will run ICS. In ICS, select USB and connect! (Note: sometimes ICS will run but not become the foreground app, then taskswitch to it, do NOT start ICS manually!). Also, do not exit WMWifiRouter! It will terminate itself when you terminate ICS.

Details:

When you run WMWifiRouter, the following happens:

- The app detects your WLAN chip and places the correct hacked DLL in a location where ICS will use it.

- WLAN is turned off

- WLAN registry is changed to static IP addressing

- ICS is launched

REPEAT

- The app waits for a connect, and then turns on WLAN and applies the 10-minute timeout hack

- The app waits for a disconnect, and then turns off WLAN and does some cleaning up

/REPEAT

- The app waits for ICS to be terminated (ie, you quit ICS), and then disables WLAN, resets the WLAN registry entries for normal operation and terminates.

Et voila!

Conclusion

Please let me know if this all works out for you guys! I guess this would now be the easiest way to do it! :)
[Windows Mobile Development and Hacking General] marctronixx:
chain,

for mogul users who have the switch for the WLAN, when do we need to turn that on? at what point should we switch the WLAN app on?
[Windows Mobile Development and Hacking General] joshkiddy:
works perfectly fine on my Vario III so far... you are truly a stunning man chainfire

thanks to everyone who's put so much hardwork into getting this to work

now if i ever get my mac working over usb, will it still work fine as long as i'm not running WMWifiRouter?

oh, and does 861kb/s download and178kb/s upload sound about right for HSDPA?

and one last thing, can you have more than one device connected to the phoneRouter?

Joshy x
[Windows Mobile Development and Hacking General] Chainfire:
That is a good question, as I have absolutely no idea how that works and dont have a Mogul.

Things you can try:

- Turn WLAN ON

- Start WMWifiRouter

- Keep WLAN ON

- Turn on sharing/usb

If that doesn't work, try:

- Turn WLAN OFF

- Start WMWifiRouter

- Turn WLAN ON

- Turn on sharing/usb

If that doesnt work, try turning on the sharing before you swith WLAN to ON.

Let me know what works, or if none of it works :)
[Windows Mobile Development and Hacking General] Chainfire:
Thanks :)

Normally, yes. It does depend on how you use it though. If you terminate ICS normally, WMWifiRouter will also automatically terminate. When that happens, WMWifiRouter sets your WLAN settings back to the normal / default mode. So if you use it correctly, when it's not running, you should be perfectly able to use WiFi as normal. But if you for instance lose power, softreset, whatever, while WMWifiRouter and ICS are still running, your settings will be messed up. However, starting WMWifiRouter and ICS again and then terminate them normally will put your settings right again.

Well it's certainly not GPRS, EDGE or UMTS :)

Your guess is as good as mine here, I guess you can always try! :)
[Windows Mobile Development and Hacking General] hsb98c:
This is truly a momentus day - JUST what I've been looking for!

No more messing about with Bluetooth DUN, or dodgy IS, just a straight forward exe that does what it says on the tin!

THANK YOU!
[Windows Mobile Development and Hacking General] Chainfire:
TalynOne,

the hacking of the DLL's, I think I want to take just one DLL and hack in to correct WLANDeviceID at runtime, so no 20 DLL's are needed. My question is, (you've done it before, so), if I take the Kaiser DLL (which has the longest WLANDeviceID string), and replace those strings in the file with shorter strings, should I just #0 zero-out the remaining chars? (And I'll disable it for longer strings, to prevent weird stuff, for now). I guess that would be the way, your opinion?
[Windows Mobile Development and Hacking General] TalynOne:
Awesome news Chainfire, I'm about to try your new version now!

For Mogul users, the WLAN hardware switch must be on before starting this program. With the WLAN hardware switch off, no software can turn on/off the WLAN radio. With the WLAN hardware switch to on, then software can turn on/off the WLAN radio.

Chainfire,

May I ask why you turn off the WLAN on disconnect? Cycling the WLAN power is only necessary the first time Internet Sharing is run, on subsequent connect/disconnects on the same session of Internet Sharing, should not require a WLAN power cycle.

To answer your question about the hacked .dll, yes replace the locations after the end of the string with hex "0"s. The top three occurrences of the WLAN identifier (TNETW12511) are related to my USB hack, the last (fourth) occurrence of (TNETW12511) is related to left over from fluxist's Bluetooth hack.

On to some experimenting!
[Windows Mobile Development and Hacking General] vincemash:
Running chainfire's version on my mogul as I type...so far so good, no disconnects (edit...been going 70 minutes now)

Just tested my speed:

Download Speed: 890 kbps (111.3 KB/sec transfer rate)

Upload Speed: 123 kbps (15.4 KB/sec transfer rate)

Awesome Job to everyone who contributed

Thanks
[Windows Mobile Development and Hacking General] TalynOne:
Just tried your version on my Mogul Chainfire, WOW. Works great! Took me a while to test, since I was editing the Tutorial/Thread Title. By the way, you never mentioned it, but did you ever get the workaround to work on your Kaiser?

-------

Unrelated request, do you think you could also create a tool, given a command line parameter (-on, -off, -toggle) that would turn off, on, or toggle the WiFi radio state? No other tool I've run seems to control the WiFi radio on my Mogul correctly, but your app seems to do it right. This would be useful outside of this application.
[Windows Mobile Development and Hacking General] Chainfire:
Ah, I suspected as much, which is why I advised to try turning it on before running the app and just not touching it after :)

Well mostly they are remnants of the 'old way' the app did it and I wasn't sure if I should remove it so I kept them in because at least that worked. I was quickly running out of time to work on it (party in 5 mins, and them I'm off for the weekend) and I just wanted to release it. For next revision I'll look and test to take the unnecessary ones out. The first cycle is done to let the registry changes take effect though, but I suspect I can take that one out as well, as the 'driver rebind' hack (which is the magic behind the 10 minute hack) I think already takes care of loading the new settings. We'll see!

Ah again as I expected. I'll just replace them all and see what happens :) (this is all stuff for next week though!)
[Windows Mobile Development and Hacking General] TalynOne:
Just wanted to say I just tested with multiple clients (my Laptop and a Dell Axim X50V) connected to the Ad Hoc network, and both were able to use the shared connection on the Windows Mobile device at the same time just fine!
[Windows Mobile Development and Hacking General] jd254:
can someone whip out their nintendo DS and see if it'll work? I've read some ppl try using their computer and it didnt work, something with needing an access point...
[Windows Mobile Development and Hacking General] Chainfire:
not yet though he said he could do it in a few days..I thought about asking you but as I was going to see him anyways. if youre eager to do it you can do it as i havent given him the files yet. i need 8 files like were posted a bit up. pretty much exactly the same. target dimension is probably 150 x 150 but you should do it in a way they are easily resizable (vector source?). i am a real noob at graphics so i dont know if thats even doable
[Windows Mobile Development and Hacking General] borealcool:
Check your PM, vector artwork is included.
[Windows Mobile Development and Hacking General] yeahright02:
I want to thank you first and foremost for this easy to read and implement tutorial. I have been accessing the Internet through my Sprint Mogul for about a month now from your earlier 0.6v of WMWifiRouter now and it works perfectly. I just ponder another concern that may be a bit of a challenge for you. What do you think about adding a feature in which you are able to forward ports through this connection? And if you think it necessary, would you add this feature in the upcoming versions of WMWifiRouter?