[HD2 Android Q&A, Help & Troubleshooting and Genera] morfil:
Here is my WiFi Issue & Work Around

Problem

Cannot connect to internet with WiFi

Symptoms

Can connect to wifi with any security settings.

Gets IP from DHCP (checked also over DHCP server)

... Also gets all settings: Subnet, Gateway, DNS 1 & 2 (checked over android network tool apps)

Can resolve names (I have some local DNS servers)

Can connect local web servers (I have local web server)

Can ping local IPs and can be pinged from local devices.

Other devices still can use Internet

All other OS's (WM6.5 [Including original] & WP7) can connect to internet over WiFi without any problems.

BUT CANNOT PASS OVER A ROUTER(s) (I have two internet connections)

My

current

Work Around

Open WiFi Settings

Click on menu button (Windows logo button)

Advanced

Use static IP

Enter values for your current WiFi network (You may need to change it each time you connect to new WiFi network)

You may use an application for each network as profile.

History

One day my WM6.5 crashed, because I changed some settings, needs factory reset.

Because WM has been an orphan, why not to try WP7.

I tryed it, used for two weeks. I was unhappy with it.

As my friend recomended I headed to Android.

I have read some tutorials & guides for flashing to Android.

My first rom was TyphooN CyanogenMod 7 v2.4.3_RAM

Everything was working fine, even WiFi.

There are sometings about A2SD+, it occures everywhere, I thought I had to do it. (My bad)

When I was going to update my rom for A2SD+, I saw an update for my rom. I applyed them (Rom first then A2SD+)

From that moment I cannot use WiFi on Android...

I tryed every flashing method on MAGLDR, CWM Recovery also Task29. Before every attempt I have used Task29 to be sure.

Most of the time I format my SD Card to be sure nothing would remain on it. There is not a remained partition of Ext4 from my attempt of A2SD+, I have them all erased.

I reinstalled radio rom 2.15

Downgraded radio rom 2.12, then again to 2.15

Swiched back to v2.4.3, did not helped.

Tryed other Android builds, even on different Froyo based on HD2 NAND BIBLE

I tryed to install WM6.5 cooked rom, official rom even also swiched back to WP7. Result stil was the same.

On android I used some apps to determine the cause. I used name resolving, ping, local web addresses, remote web addresses and finally TraceRoute. I could do anything with local devices. I could resolve remote addresses IPs but cannot connect to them. Result from the TraceRoute was the same. I must have been the router or gateway problem. However other devices do not had any problems. It looked like android roms do not act according to gateway settings as recieved from DHCP. I tryed to enter IP adress manualy and suddenly I could connect to internet.

After doing this I was unable to ping that IP from a local computer. That was strage. Maybe firewall got activated when being able to connect to internet?

Do someone has better solution? Please post bellow or / and PM me about it. I have searched this whole HD2 Android forum to get an answer. Please inform me if I miss anything or something I have done wrong in the fixing process.