yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Android Development] Eric Z:
Dear Arrrghhh and Detule:

I have faced to a very strange problem(for me:)) regarding to Wifi and the following boot issues on my RHOD 100. Normally when I get problem in testing/running roms, I always can find a solution by read/search in this/other threads. But this time....

Before the problem:

1. I was on GBX0B before. I moved on to GBX0C by delete(not format) everything regarding to GBX0B on SD(that is, I delete everything that is related to Android on SD). Of course I keep the csv files.

2. I download GBX0C, used EVERYTHING from the package, only the cs-carlibration is my own. I DID NOT add/change anything in startup.txt at this point. Boot the phone with .27 completely. And then I switch to 3.3.4 without delete the data.img created by .27 kernel, and I overclock too. Everything is perfect so far. Wifi works, 3G works, deep sleep, and so on.(the data.img is still from first boot created by .27 kernel.)

Describe the problem:

I can't exactly remember when and how, but one day after I switch the phone to airplan mode and switch back to normal in android, and maybe in WinMo too, then the Android is still running nearly perfect but except one thing:Wifi still connects without problem, but it JUST DOESN'T WORK. I mean, wifi can connect to router, and all seems normal, but the phone just don't get connection in browser, Play store, email and etc.

What I have tried to solve the problem:

1. New data.img.

2. Different Kernels(.27/3.3.4/3.3.6/3.2.11) with fresh data.img every time.

3. Delete everything related to Android and start like first time using GBX0C as I described above. And now comes the weird thing: the problem is still there even I boot like first time using GBX0C!! And it is of course the .27 Kernel which is provided in the package. Everything is just great expact the Wifi: it can connect to router without problem, it just can't connect to the internet.

4. Use a different SD, which is formatted in Win 7(not by HP Tool), and start it as first time using GBX0C.

Non of the 4 steps I tried solve the problem. Whatever I do now, GBX0C is just fine except the Wifi connection.

And during the time I try to find out a solution, I noticed a boot issue with my GBX0C, and I cannot remember if the issues is there from the very beginning. I didn't try/notice it:

My GBX0C will only boot with .27 Kernel from the package. It will not boot with 3.3.4, 3.3.6, 3.2.11 without a data.img created by .27. If I boot 3.x kernels with no data.img and system will creat one, and then the boot stops at the "nonexistent dictionary" line, where Detule says it's actually normal. And yes it is, if the phone boot with .27 kernel, or boot with a data.img created by .27 kernel. A fresh .27 data.img can boot 3.x kernels on my Rhod 100 and everything is fine except the Wifi problem is still there.

So my questions are:

I am thinking if my wifi-problem can be WinMo related(Wifi works fine in WinMo btw)? What about the 3.x boot issues?

I think I have described the situation deep in details. But I can get logs if needed. Sorry for this long post and my bad english.
[Touch Pro2, Tilt 2 Android Development] wizardknight:
Did you try putting the phone into airplane mode in WM, and then booting a clean build of GBX0C?
[Touch Pro2, Tilt 2 Android Development] Eric Z:
No I didn't. I cannot remember where but I think I read this in somewhere, maybe in this thread, that we should not let the WinMo turned to Airplane mode?
[Touch Pro2, Tilt 2 Android Development] wizardknight:
I do not believe that has ever been said.
[Touch Pro2, Tilt 2 Android Development] Eric Z:
Ok thank you. I will then try it.
[Touch Pro2, Tilt 2 Android Development] Eric Z:
Unfortunately, it doesn't solve the problem. Still Wifi connected to router but not to the internet. When flight mode is enabled in WinMo the 3.x kernels do not even pass the "nonexistent dictionary" line with a data.img from .27 kernel. Only .27 kernel passed on. But I don't actually think that the "nonexistent dictionary" crap is related to flight mode in WinMo.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
I have no idea what you're talking about, but I haven't seen any logs.

Wifi is usually a mismatched modules issue, or the wrong rootfs perhaps? Either way, I'd like to see some logs!
[Touch Pro2, Tilt 2 Android Development] Eric Z:
Dear Arrrghh, the log with .27 Kernel, clean and first boot on GBX0C is here:

https://skydrive.live.com/redir?resid=C70EB8C4D1C315A6!222

It is my first time to take a log, so please tell me if I do anything wrong. Also if you need a log with 3.x Kernel, I will like to take one too.

My post at #797 shall have a greater detail on the problem. The short version is:

1. I boot GBX0C completely with .27 Kernel, and then switch to 3.3.4. I have no problems at all from the beginning, but one day my wifi just suddenly lost connection to the internet, but not to the Router. That is, Wifi does connect to networks, but the Browser, Email, Google Play Store and etc just can't get connection. And since that, whatever I do, change back to .27 Kernel, or start a clean boot on GBX0C, everything is just fine execpt the Wifi.

2. I cannot boot with 3.x kernels if I don't have a data.img created by .27 Kernel. If I delete data.img, and boot with 3.x to let it creat a new data file, then the boot process will always stop at "nonexistent dictionary" line and will not move on. But if I boot with .27 completely, and change to 3.x kernels but keep the data.img, then it's cool and GBX0C runs fine with only the wifi problem is still there.

Thank you and I hope this description can be a little useful for you.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Do us all a favor, and never EVER attach logs using 'skydrive' again... Never used that service, now I know why. I can't even download it?!? (Bah, work was blocking it. Let me view the webpage but not download the file...)

Pastebin, dropbox, attach the log to your post... anything that lets us get it directly. If I have to click 15x just to get to your logs, you're doing something wrong.

/rant about skydrive...

For the issues, you'll need to post logs of said issues. So recreate the issue, and post logs.

I have no clue what you're talking about not being able to create a new data.img using the newest kernels - but I would post that particular issue in the kernel thread.
[Touch Pro2, Tilt 2 Android Development] Eric Z:
Got it. I will post logs on Pastebin. But I will like to make sure something before I make a new log:

You said I should post logs of said issues. I have understanded this as: I have the Wifi problem, so I shall clean boot the GBX0C completely, and then install GetLogs, and then connect to Wifi, and then try to open a website in Browser, which of cours will fail, and then I shall take a log file and put it to Pastebin. Are these steps correct?

Regarding to the data.img thing. Sorry if I let you misunderstand me. The issue is not in creating data.img. All Kernels creat a new data.img with no problem. The problem is, that 3.x Kernels can not boot, if the data.img file IS NOT created WITH .27 Kernel. If there is a data.img created while booting with any 3.x Kernels, the the boot process will stop at the "nonexistent dictionary" line. Is logs needed too in this case?
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Yes, this is the basic process for gathering logs. Recreate the issue, and pull logs after recreating it.

The 'cleaner' or 'clearer' the logs the better - what I mean by this is the less apps you have installed, the better, the closer you pull logs to a fresh boot, the better, etc.

So if it's easily reproducible that shouldn't be an issue for you ;).

Still not sure what you mean here, as in, I don't have this issue.

You're on the newest 3.x kernels and this is still failing? They're up to 3.3.6.

Logs would be good for this as well, but obviously more difficult to ascertain than the wifi issue. This also seems like a kernel issue, since you only have the problem with a fresh boot of 3.x. So if you could post it in the kernel thread. Thanks.
[Touch Pro2, Tilt 2 Android Development] Eric Z:
Thank you and her is the logs file posted on Pastebin. It is the same one I uploaded to Skydrive earlier. I reuse it because it shall be very clean due to the issue. I often enjoy myself with different IT stuffs, so I have the understanding that the logs shall be "as clean and clear as possible".

http://pastebin.com/tv2wKJ9j Hope nothing is wrong this time:p

Regarding to the Kernel problem, yes I trid 3.3.6, and 3.3.4, 3.2.11. I have post this problem to the Kernel Thread. Thank you.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
05-21 14:21:07.530 V/WifiStateTracker( 1412): IP configuration: ipaddr 192.168.54.31 gateway 192.168.53.1 netmask 255.255.255.0 dns1 130.226.1.2 dns2 8.8.8.8 DHCP server 192.168.54.1 lease 86400 seconds

So let's break this down. Can you ping your gateway? How about one of those DNS servers? It's very strange that wifi connects to your network but doesn't get out to the internet. That's usually an indication of something wrong with your network... Usually.
[Touch Pro2, Tilt 2 Android Development] Eric Z:
Do you mean ping my gateway from my phone, or just generally? Because I am sure my network and settings is working correctly: I have my computer and HD2 connected to my Router and I am actually on my wifi right now.

That is why this problem is so wired: I don't have problem with my network or Router at all. I have never changed settings in my router. This problem just came one day and just stays with my phone for no reason. Not even with a clean new GBX0C, nor with another SD. So I finally have to ask for help in this thread.

But I never ping anywhere from my phone, if this is what you mean? And Wifi is running no problem in WinMo, just if you wanna know.

You Know what, just in case, I will try to connect to another Router, to see if it works. Just in case.

Now I have connected to a different Router and still the same problem: Connected to router, but not to internet. I am sure that the router is fine. And security settings shall not be the problem in both router: not using WEP, running on WPA/WPA2 PSK.
[Touch Pro2, Tilt 2 Android Development] r0mka:
Ok i'm giving up now.. Yesterday i have downloaded linux and using linux formatted my sd card twice to fat32 system, reformatted volumes twice, redownloaded both - gbx and frx bundles. First tried gbx - copied everything from the bundle to sd card, used RHOD100 startup - no luck. Still .35 kernels only and .27 kernels but not later than 2010 year ones worked, 2011th year caused kernel panic, but the working ones caused crash while calling so not good. All the kernels fail at the same place - it writes some stuff, then comes a short pause and it begins writting A N D R O I D and other stuff to boot it. At the very last line (i know because i checked which line is the last to begin showing android boot screen) every kernel, except .35 ant .27 old ones, panics. The same thing happens with FRX 7.1 bundle. I don't know what to do, i have tried searching google but no one seems to have this issue..
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Yes, ping from your phone. It does sound like the phone is the issue, just trying to isolate it.

Sounds like a new data.img fixes it, and it just returns "randomly"...? I guess show us logs from it working & not working if you can recreate it that easily.

Very strange indeed...

So you're giving up, not sure if you want any more tips?

Did you try a different card?

Are you sure it's a RHOD100? You seemed confused before. I'm still thinking you have a clone or there's something wrong with your hardware. Did you get any logs? You'll have to try and see if ADB is up by then... Usually by A N D R O I D, adb is ready to go.
[Touch Pro2, Tilt 2 Android Development] r0mka:
it just cant be a clone because it was running official winmo for htc touch pro 2, it has all the hardware identical. Is startup.txt so important? I checked and only difference was keyboard layout. And i had some thoughts maybe it's a cdma-gsm phone? In lithuania we only have gsm so i don't even know what i should look for to find out. On the back cover it shows rhod300c. But as i said it just can't be RHOD300 because keyboard layout is totally different. I will try to pull log out but i don't know how.

Oh and my sd card is brand new 2gb so i think there's no need to buy a new one again. This time i used only bundle files, no pictures, no music no nothing was added
[Touch Pro2, Tilt 2 Android Development] Eric Z:
I will Ping by using an app called "Ping" made by ilMobile Apps, and upload logs later.

And no a new data.img does not fix the problem. Just be clear: Since the problem came, WHATEVER I DO, the problem is still there. Even with whole new GBX0C on a different SD.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
So you've tried 1 SD card, therefore it can't be the SD card?

You also don't seem sure as to which device you actually have --> making me think it's a clone.

Just because it runs WinMo does not mean it's not a clone... Had a guy who thought he had a Topaz, was running WinMo etc... but wouldn't run Android at all. Turned out he had a clone.

If you run HaRET.exe without any startup.txt, it should say some stuff in the box about your processor. What does it say?

Are you on the stock WinMo ROM? There have been a few ROMs that have literally lied about what the phone is running (I guess to make it "feel" faster?) and it caused issues with HaRET.

So I guess I misunderstood. I thought you had a workaround to get wifi working again.

Format the card, start over, still fails? If that's the case, then I'm really out of ideas. There's something else going on... Perhaps a MAC filter on your router? I just find it strange that you get an IP but no connectivity. Usually the issue is you can't connect, can't scan, or can't get an IP.
[Touch Pro2, Tilt 2 Android Development] r0mka:
I am using energy ROM. I will check what does haret without startup say tomorrow. I know that processor clock speed is 528 mHz (at least this is what winmo shows), i don't remember anything else.
[Touch Pro2, Tilt 2 Android Development] Eric Z:
Arrrghhh, I just keep the data.img from the one I get logs from earlier, and I add the Ping app and then tried to pine the gateway and DNS.

Every time I ping, the app shows me this information: Unreachable network.

Logs is here, see if you can find out something, or if anything I did wrong with the Ping-app.

http://pastebin.com/kgngbQfj
[Touch Pro2, Tilt 2 Android Development] eik:
I wondered if there is any fix for this behavior. I tried the newest versions this morning and the problem is still there. By the time I reached work it was not possible to get an internet connection again without rebooting. (In the past this was fixed by a new ril.)

rhodium 100uk
[Touch Pro2, Tilt 2 Android Development] Eric Z:
Yes. more detail: I didn't format the one I used, but I took another SD, formatted, and same problem still. Very very wired.

Just to be clear: I did not format the card with HP tool, only formatted in Windows 7. If HP Tool is what you required/assumed, and you want me to do so, I will like to.

exactly what I am thinking when I face to the problem.

I have just checked settings in my Router to be sure:

Wireless MAC Filtering: Disabled

I m out of ideas too, I have worked on this in three days or more. Totally no idea and that's why I show up in this Thread. :D

But I don't understand why the Ping-app says the network is unreachable?
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
I don't understand why you're using an app. adb shell / ping doesn't work?

Either way, this app doesn't seem to show me what the heck you're pinging - at least I'm not seeing it in the logs. What did you try to ping? Can you just ping from the shell?

At this point it almost appears to be a DNS issue, which is why I'd like you to ping via IP.

What kernel? Newest everything from the first post? There hasn't been any RIL updates in ages.
[Touch Pro2, Tilt 2 Android Development] Eric Z:
Shame on me. It is just because I know nothing about adb, shell thing. I never have anything to do with Linux before. I am only used to Ping in windows via CMD. I will now learn how to Ping via that adb shell thing and giver you logs back.
[Touch Pro2, Tilt 2 Android Development] eik:
I have tried GBX0B, GBX0C and tried several of the 3.x kernels in the past weeks. (This morning used 3.3.6). All showing the same behavior.

Yes, I have used everything (apart from the calibration) from the first post.

So far I haven't had any luck upgrading anything beyond froyo because of this issue.

PS I mentioned a backlight issue earlier on but that appears to be solved by disabling auto backlight in winmo. Thanks for the tip!
[Touch Pro2, Tilt 2 Android Development] r0mka:
what to do in order to pull a log?
[Touch Pro2, Tilt 2 Android Development] Eric Z:
In your GBX0C package, there is a folder "AndroidApps". In that folder open the "other" folder, and there is the GetLog.apk. you can have the apk to work in to ways:

1. Install the apk via ES File Explorer, and the GetLog app will show up.

2. Just cut/copy the GetLog.apk to "AndroidApps" folder, currently it is located under "other" folder, which is under "AndroidApps" folder. All you have to do is take the .apk out from "other" folder and put it right under "AndroidApps" folder. And then Reboot your phone. The GetLog app will show up.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Eh, no shame. I just have never used this app - and it doesn't show me what you were pinging. You didn't mention what you were pinging, so I had no clue...

If the app showed _where_ you were pinging, I probably would've been able to sift thru your logs. Unfortunately, that app didn't show where the ping was going to.

Glad the backlight issue is fixed for you. There was another guy who had the same problem, and is insistent that disabling autobl in WinMo does nothing...

At any rate, it is probably a RIL issue. Did you say this was fixed? So on FroYo, you don't have this problem...?

I thanked your post, but unfortunately his issue is non-booting (he doesn't make it into Android).

So the only option is ADB. r0mka, check out the FAQ, there's tips on how to setup ADB, and even an entire section on logs/logging.
[Touch Pro2, Tilt 2 Android Development] Eric Z:
Dear Arrrghhh

I have now learned a little about adb shell thing. Thanks to yout PDAnet thread by the way. I am not sure if I did't all the thing correct(almost not likely:)). But the logs is here, and I have attached a JPEG that shows what I have done.

http://pastebin.com/7enfyexX
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Looks like you did it correctly, but it's not workin at all. So wifi was working... then broke... you didn't change anything?

New data.img --> still broken...

So nothing fixes wifi at this point. Have you ever had to do the wifi-nvram trick? I don't think that would be necessary, since you're actually connecting to wifi (from what I can tell).

Ugh... wifi! It's always been a pain in the butt. Just use mobile data :p

Edit - you didn't ping 8.8.8.8. Does it result in the same failure message? I guess I should try this from my phone, I'm kind of assuming you can ping from adb shell. Never tried myself :o
[Touch Pro2, Tilt 2 Android Development] Eric Z:
I did not try it and i really don't think this has anything to do with the wifi-nvram trick. I did read the thread about that issue and how people solve the problem. And nothing in my case, I think, indicate that it is related to nvram trick, so..

I did not do that in adb shell, but I did it in that app, and the result is the same - unreachable network.

The strange thing is Wifi worked from the very begnning. The problem just hit me one day and it will never go away..
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
See if you can figure out what changed. Triage it, break it down... Something changed that broke your wifi. Nothing is jumping out at me in your logs, it just seems like you connect but then can't actually pass any traffic. Not much to troubleshoot there - again, from my perspective that's a router/gateway issue. Now if everyone had this problem, I would say there's something wrong with the build - but you're the only one...
[Touch Pro2, Tilt 2 Android Development] Eric Z:
that's the thing. I remember that the problem shows up, after I have enabled airplane mode and switch it back in android, and in WinMo. Is this information useful for you?
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Well, I assume you're booting Android with WinMo in airplane mode.

Someone the other day said wifi only worked for them if they turned wifi on in WinMo before booting Android...

Perhaps you can try both of those scenarios?

Boot Android with WinMo in airplane mode. Still not working, reboot, make sure WinMo is still in airplane mode, then turn on wifi. Then boot Android.
[Touch Pro2, Tilt 2 Android Development] Eric Z:
I have already done this before I asked for help:D. Even with and without fresh data.img. It's a part of "WHATEVER I DO":p

Just in case, I have done it again right before, even I already knew what result would appear:) - exactly same problem remaining.

Arrrghh, I think there is maybe a way, and the only way, that MAY OR MAY NOT solve the problem, and determine if it is WinMo related:

Restore/flash the stock WinMo and start everything over again. (my current WinMo is stock WinMo from HTC).

What do you think? But actually I don't like the plan:D. Maybe I should just use data connection as you said, and we can focus on other problems with help from logs, if any other problems show up...

I am really appreciated your help and your time used on my hopeless issue.

---------- Post added at 01:36 AM ---------- Previous post was at 01:17 AM ----------

Ups I missed this post.:p

Yes I think exact the same thing, when I think from your point of view. But When I try to combine your point of view and mine, then to be honest, the only thing in my head now is:

SOMETHING did break the Wifi, and it's VERY LIKELY WinMo related. Just don't know how and why.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
So even with wifi enabled in WinMo, you don't have wifi in Android!??!

I'm really at a loss.
[Touch Pro2, Tilt 2 Android Development] Eric Z:
Me too. I spent the last many days or more on this, and is totally run out of ideas.

To answer your question: yes Wifi was enebled.

I really test many combinations of "settings", to see if one or another will solve the problem, but nothing helps.

That is why I think only one way left: Flash stock WinMo as new, and start the whole GBX0C over.. I just don't know if I really will do that, or just leave this problem out here:)

---------- Post added at 02:11 AM ---------- Previous post was at 02:03 AM ----------

Arrrghhh:

I am really getting tired of this problem. Maybe one day I have the mood to flash WinMo rom, and start the whole thing over, or maybe I will just wait for the final GBX Build and see if I will get luck there. I use HD2 with XBmod daily, so no really need for XDAndroid anyway, even I love it and love my TP2. We shall maybe leave the problem here?

Again, thank you very much for the time you have used on this.:)
[Touch Pro2, Tilt 2 Android Development] willdieh:
Greetings,

Just my trouble spots after using this for a while...

All testing on included 2.6.27.46-01365 kernel running on Rhod400 (Sprint TP2)

1.) Can't get the bundled kernel to sleep. Running the xdaledreigme for .27 on a fresh install (new data.img, first time boot). Working on getting terminal access to check the suspend state and do some testing.

2.) Spare Parts end button behavior doesn't do anything (end button always goes home, which is what I want anyway, but wanted to try the "sleep" option)

3.) Dev Tools terminal emulator always crashes on startup

Thanks as always to the devs who continue to improve the stability and features of android on our phones!

-William