yashsingh1/xdaforums huggingface dataset:
[G Tablet Q&A, Help & Troubleshooting] akman:
The host file is in the usual place: /etc/hosts (or /system/etc/hosts, if for some reason you don't have the symlink).
[G Tablet Q&A, Help & Troubleshooting] tekrhino:
Awesome, found it..

So? Do I just edit out all 22,7xx entries and save it??
[G Tablet Q&A, Help & Troubleshooting] wtang:
Hmmm, that could be. But I'm pretty sure I read on other threads and/or forums that some people use AdBlock (forget the exact name) from the Market to block all ads on their Android phone/tablet. But they say Hulu still works with the hacked Hulu apk. The only thing is they see a message like "Can't load ad server" (or something like that) for about 30 seconds before the video finally loads and plays. So, apparently, even with ad blocking you have to wait approx. the amount of time the commercial would have run. But for me I get that "need to install latest Flash version" message immediately, and I even get it on the Hulu homepage where there's a large Flash banner showing photos of movies and TV shows. The Market version of Flash works and I can see the Flash banner on the Hulu homepage, but of course then I can't stream any TV shows because Hulu can detect I'm running Flash on a non-Windows device.
[G Tablet Q&A, Help & Troubleshooting] akman:
Yes.

Those entries force those hostnames to all resolve to the corresponding IP address. So whenever the system tries to reach those hostnames (ie to retrieve an ad), it makes a request to that IP address and receives a 404 error. So no ads.

If the system tries to reach a host not listed in the hosts file, it goes to DNS for resolution (and should get a real IP address).

So if you want to see a specific ad, you can delete it's corresponding entry from the hosts file. Or if you want all the ads, delete everything below the 127.0.0.1 entry.
[G Tablet Q&A, Help & Troubleshooting] akman:
Possible privacy issue with ad blocker

This isn't meant to scare anyone, and it probably isn't a big deal, but...

I noticed that the hosts file resolves all ad hostnames to 208.82.100.156. The hosts files provided here:

http://www.mvps.org/winhelp2002/hosts.txt

http://pgl.yoyo.org/adservers/serverlist.php?showintro=0;hostformat=hosts

... resolve all hostnames to 127.0.0.1 (localhost).

So, what is 208.82.100.156? All web requests to it return a 404, which is great. But, whoever is running that web server *could* be logging all your web requests (which ads are your gtabs trying to get) and your IP address. Again, probably not a big deal for most of you, but I don't like it.

It's possible that there's a good (ad-blocking related) reason for the hosts file to point to a bogus IP address that is not 127.0.0.1. But I don't know what the reason is. So I'm going to switch my hosts file to point to 127.0.0.1. I'll let you all know if I experience bad results.
[G Tablet Q&A, Help & Troubleshooting] raywaldo:
Lockups

After editing the sleep time to 10 and setting Wifi to off with screen blank, it has been better.

I experienced two lockups - both while the device was active. Once on the homepage and once in the native browser. Both required a reboot.

Anyone else with this issue?
[G Tablet Q&A, Help & Troubleshooting] akman:
I'm using sleep 10 and it seems to have improved responsiveness when waking up. I use Never for my wifi disconnect policy. I don't remember ever getting a lockup on this rom.
[G Tablet Q&A, Help & Troubleshooting] tekrhino:
Ok so, after all that messing around it still didn't fix the adobe flash issue. So does anyone else have flash working? Specifically on sites like CNN videos and NYTimes video? I'malmost sure I read this thread from start to finish with mine being the only mention of adobe...

I restored original host file...
[G Tablet Q&A, Help & Troubleshooting] raywaldo:
APP Issues

I have found two app issues:

QuickOffice PRO (paid) which I was using on my GTab with CM7 will no longer install on HC. You have to buy their tablet-enabled version "HD". I sent an email to support asking if they will honor my previous payment. OPEN

Cordy: I do not do a lot of games but this is a very popular game. It installs on my GTab but often will exit during initial execution. Mostly, it will come up the second time. However, twice, I have experienced a lockup while it was loading.
[G Tablet Q&A, Help & Troubleshooting] raywaldo:
Widgets

Both Facebook and My6sense had scrollable widgets in earlier versions of android. Both widgets are totally absent in Honeycomb. Anyone know a way to bring them back?
[G Tablet Q&A, Help & Troubleshooting] akman:
Are you trying to get flash videos to play in the web browser?

Did you try Opera Mobile? Did you install adobe flash 10.3 from the market? Did you set the user agent to Desktop in opera?

Afaik this is the only way in hc right now.

Nytimes video seems to play alright (but the quality didn't look great), CNN video doesn't seem to work that well. Youtube is OK.
[G Tablet Q&A, Help & Troubleshooting] luvduchovny:
CNN app for android phone plays the videos I've found. CNN app for tablets won't play videos but their widget works fine on the desktop.

For flash videos to play properly, you need to have Opera mobile (not opera mini) or Puffin browser (0.99 cent in market). Puffin seems flakier than Opera though.
[G Tablet Q&A, Help & Troubleshooting] tekrhino:
Yeah, Tried all that... I know not to expect greatness out of beta...

Decided to go back to CM 7.0.3 for now..

Thanks anyway!..
[G Tablet Q&A, Help & Troubleshooting] cmart4:
anyone know how to disable the capitative buttons? i hate those buggers
[G Tablet Q&A, Help & Troubleshooting] akman:
I used the info here to only disable my back button:

http://xdaforums.com/showthread.php?t=1177174
[G Tablet Q&A, Help & Troubleshooting] aasoror:
twice at each reboot.
[G Tablet Q&A, Help & Troubleshooting] akman:
Bug in init.rc

$ export PATH=/data/local/bin:$PATH

$dmesg |grep init.rc

[ 13.541108] init: /init.rc: 180: invalid option 'import'

[ 13.546805] init: /init.rc: 301: invalid option 'import'

$
[G Tablet Q&A, Help & Troubleshooting] zyhong:
good finding, akman. thanks.

ye, i realize that the init at this rom does not support "import" right after i publish b3.2 and i did not bother to fix it yet since it won't affect anything for gtab user (It will affect zpad user, but I am only aware of one zapd user). those import are just for some disabled initialization of 3g, gps, etc, which are not available for gtab user. I have hoped with that, zpad or some gtab users with 3g or gps accessory could easily configured the rom to enable those features, while the majority does not need to pay a price on it (3g daemon suck quite some power and contribute a lot of on battery life improvement at b3.2 after disabling it)

Anyway, this bug is something that I would like it to work, but it won't affect anything for gtab user. Let me know if anyone know/find a solution on this. I really want it to work in this way.

And this is really a good news for the users of this rom. We now have more and more power users and devs (e.g. akman, assoror, agapeman, and much much more that i could not recall) spending time to dig into the rom and polish it. Together, we could make this rom one of the best available for gtab/zpad users.

Thanks again, guys.
[G Tablet Q&A, Help & Troubleshooting] akman:
The rules for init.rc are described well here:

http://android.git.kernel.org/?p=platform/system/core.git;a=blob;f=init/readme.txt;hb=HEAD

I think that the problem is that the imports are being interpreted to be Options of services, but import is a Command that should be in an Action.

So try putting another "on boot" statement right before each import.

Except that the readme also says this:

:eek:

So you can't have multiple "on boot" sections? Except that you do. And I think the commands in all of them are being run (I just did a spot check of permissions on /dev/nvrm, /dev/knvrm, /dev/ttyHS2, all are set as per init.rc). Maybe the readme is wrong. Where is the Action's "name"?

Anyway, try it and see. I'm still pretty new, haven't made a custom boot.img yet. I'll have to figure that out soon.
[G Tablet Q&A, Help & Troubleshooting] raywaldo:
Big THANK YOU to Zyhong!

Thank YOU Zyhong! I trust that EVERYONE on this thread has hit the "Thank You" button for Zyhong - several times?

Almost anyone - who was willing to spend the time and effort - could build a ROM. We don't build them because people like you are so much better at it.

This is an amazing ROM. It has challenges but it is also a CHAMPION! I can show off my GTab to ANYONE and they are blown away. The iPad does not compare!!

I am better at translating the "tech talk" into easy-to-follow guides. That is the purpose of my site. Being retired, I have the time to try different approaches and test alternatives. Better I do that and leave the "heavy lifting" the the younger guys! :cool:
[G Tablet Q&A, Help & Troubleshooting] akman:
delete this
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
I didn't notice this silent change. Wonder why it was made? I don't see any difference after changing all the addresses back to 127.0.0.1.

Using 127.0.0.1 will result in a "Connection refused" error when TCP connections are attempted and a "Port unreachable" ICMP error when using UDP. This is quicker that actually making a connection and the server returning a "404 Not Found" reply.

Historical note: I discovered this change-all-IPs-to-127.0.0.1 trick years ago after a virus had infected my Win 2k system. It had systematically changed the HOSTS.TXT file, inserting 127.0.0.1 as the IP address of all the anti-virus sites it could think of. I spent an hour trying to find out why Norton AV wasn't picking up the latest virus definitions before figured it out and checked the hosts file.
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
That readme.txt is misleading. I spent half a Sunday a few weeks ago trying to figure out what the rules were exactly for another project.

You can have multiple "on boot" sections, but, commands inside an "on boot" section are *not* run if the "on boot" is in a file included with an import statement--at least with the init included in CM-7.0.3. Service directives, however, must have unique names and these are run even within an imported rc file.

I'll look at the source code this week and see what I can do. In the meantime, you can use the init binary from CM 7.x. It understands "import" but has a problem with "on boot" or "on fs" in imported files as mentioned.
[G Tablet Q&A, Help & Troubleshooting] akman:
This thread references that IP address with adfree:

http://xdaforums.com/showthread.php?t=927477&page=2

I think this is bigtincan:

http://bigtincan.com/downloads/android.html

Anyway, I don't want to send ad web requests to their (or anyone else's) web server.
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
Jeez, what a kludge!

This is what you get when you have a browser that's not capable enough to provide hooks for something like Noscript.
[G Tablet Q&A, Help & Troubleshooting] toonvox:
Sadly this also messes up Swiftkey. Can't see the suggestions when you do this.
[G Tablet Q&A, Help & Troubleshooting] rover442:
More Market Problems.

Once again today I am receiving this market error when I attempt to download any apps (including free).

Purchase Cancelled - Error processing purchase

I wrote the Android Market and they responded that it is most likely the custom ROM I am using.

Any suggestions on how to fix the market problems? That's the main problem I'm having with this ROM.

Thanks
[G Tablet Q&A, Help & Troubleshooting] PlayfulGod:
I get it from time to time and just try again later and it works fine.
[G Tablet Q&A, Help & Troubleshooting] raywaldo:
Market problems

I am not certain. Since almost everyone else is NOT having problems using the Market, I would assume that you either got a bad flash, did not reset and clear on initial flash or something similar.

My suggestion is to "fix permissions", "wipe cache", and "wipe dalvik cache."

If that does not fix it, then repeat the above,

Download a new copy of the rom

Flash it on top of the exiting settings.

None of the above should mess up your configuration. :)

If you still have troubles, then the nuclear option is in order: "Reset to Factory." This WILL eliminate all previous settings :( but with the newly flashed Rom should fix your issues.:cool:
[G Tablet Q&A, Help & Troubleshooting] rover442:
OK. Will give it a try now.

Thanks a lot.

EDIT: Fixing permissions didn't help. I guess I'll try to reinstall ROM
[G Tablet Q&A, Help & Troubleshooting] raywaldo:
Intermittent network connection

I have some intermittent issues as well. I believe everyone does. Zyhong has stressed PATIENCE. However, it sounds like Rover is having more consistent issues.

To me, I believe the intermittent issues are related to an intermittent network connection. I see it most frequently when in the browser - sites come back as unreachable when I know they are. Then, in a few seconds, the browser can find them again.

It could be DNS - maybe related to the hosts file issue from a few posts back.

@zyhong: do you have any additional info about the hosts file and the possible dns issues? That may be a major problem that displays in seemingly unrelated symptoms!
[G Tablet Q&A, Help & Troubleshooting] rover442:
OK, Did a completely fresh reinstall. Factory reset, wipe cache, wipe delvik, Calk format......so far no market issue. But it's really too soon to tell. By tomorrow i should know for sure.

Thanks for the help.

P.S. Immediately got the gallery fc. I forgot about that because I disabled it before and use Quick Pic instead.
[G Tablet Q&A, Help & Troubleshooting] LTLFTCer:
Anyone else lose ability to use a USB keyboard with the ROM? I had mine working with Bottle of Smoke, but have tried everything to get it to recognize with this ROM with no luck.
[G Tablet Q&A, Help & Troubleshooting] FeatherKing:
If you have a terminal app, I would plugin your USB keyboard and run dmesg to see if its even detected by the kernel

Sent from my GtabComb
[G Tablet Q&A, Help & Troubleshooting] aasoror:
No, all the thanks goes to you Zyhong for putting this together. :)
[G Tablet Q&A, Help & Troubleshooting] sharshas:
Rayman making good progress in HC Kernel for Adam... he got Touchscreen working is his latest update. We can use that Kernel once Its ready in GTab. That comes with Full H/W Acceleration as well. Waiting for the day. As far as GTabComb goes, from past 2-3 weeks no issues for me. Everything is running smooth and stable. Occasional FC because of the sleep of Wifi on screen off.
[G Tablet Q&A, Help & Troubleshooting] LTLFTCer:
Thank you, It says it is connected, but the keys won't work. I know it is getting power because the caps lock and num lock light up. Thanks again!
[G Tablet Q&A, Help & Troubleshooting] dman918:
This will be amazing once it's fully functional.
[G Tablet Q&A, Help & Troubleshooting] tkrahling:
Shouldn't it be possible to contact Rayman and find out how he got hardware acc to work with hc and incorporate it into this rom
[G Tablet Q&A, Help & Troubleshooting] xmr405o:
He just released his kernel inviting other people to help.

I posted a thread with his github link in the general section.
[G Tablet Q&A, Help & Troubleshooting] akman:
I think it's unlikely that the hosts file is causing intermittent network problems. It should only cause the hosts listed in that file to resolve to whatever the corresponding IP address is. Any other host that you are trying to reach should resolve through DNS. That being said, I've seen worse voodoo before. What happens when you truncate your hosts file to only include the localhost entry?

fwiw I don't notice intermittent network connections. I use dolphin and opera.
[G Tablet Q&A, Help & Troubleshooting] akman:
Bluetooth mac address for PAN tethering

I decided to try flashing Clemsyn's kernel over b3.2. Incredibly, on the second and subsequent boots my bluetooth Mac address came up with the value that is passed to the kernel at boot time. I succesfully connected to my phone's PAN and am typing this on my reverse-tethered gtablet right now. The wifi doesn't work, so this isn't a general solution for me but it is a step in the right direction. Now I have to check the kernel code to see what it is supposed to be doing with the kernel parameter (btmac=b7423b131a00).

I also poked around at bc_hciattach andbrcm_patchram_plus and i'll poke some more. I'll share what I learn in a subsequent post. If the patchram program is getting run, it is supposed to set the mac based on a file pointed to by a system property. And I found a dmesg error from bc_hciattach and i'm looking for the source code to check it out:

# dmesg |grep status

[ 59.049702] init: sys_prop: permission denied uid:1002 name:bt.firmware.status
[G Tablet Q&A, Help & Troubleshooting] schettj:
Pershoot released a new kernel today... are you using his gingerbread kernel? Can we just install updated kernels directly?
[G Tablet Q&A, Help & Troubleshooting] zyhong:
excellent digging. akman.

I thought I have answered your question about using clemsyn kernel but I guess i did not. i might have messed it up with what I have answered in tablettoms. anyway, to make wifi working for clemsyn is actually quite easy. you just need to copy the wifi firmwire from /system/lib/hw/wlan to /system/lib/modules.

you saw the permission error after flashing clemsyn's kernel?

Edit: just saw this in pershoot's changelog. "Bluetooth: bnep: Fix bad ether addresses". Maybe you should try pershoot new kernel.
[G Tablet Q&A, Help & Troubleshooting] zyhong:
Yes, GB kernel is used in this rom. You should be able to install the new kernel directly. if the wifi messed up, use the approach in my previous post.
[G Tablet Q&A, Help & Troubleshooting] MicroChip:
Crazy question, but if I am on BL 1.1 and back this rom up with cwm, and then nvflash myself to bl 1.2 and restore, will it work? If not, will it work if I then flash the bl 1.2 version of the rom over it without a wipe? Or the new pershoot kernel?

I'm just trying to get to BL 1.2 so when Rayman's rom is ready I can start testing immediately, but don't want to have to reinstall all my apps and setting on this rom.

Thanks!

MC
[G Tablet Q&A, Help & Troubleshooting] zyhong:
"but if I am on BL 1.1 and back this rom up with cwm, and then nvflash myself to bl 1.2 and restore, will it work?"

-- it won't work.

" If not, will it work if I then flash the bl 1.2 version of the rom over it without a wipe? Or the new pershoot kernel?"

-- flash the bl 1.2 version of the rom over it without a wipe might get it to boot but you might start to have weired problems. You have to try it to tell. flash the new pershoot kernel for BL1.2 should be fine.

I do not try any of them, just from my understanding of how the rom works in general.
[G Tablet Q&A, Help & Troubleshooting] zyhong:
A general info for the /system/etc/hosts file. this is exact the same file as in Calkulin+Clemsyn rom. I believe it is coming from a adfree app and it is posed in xda. The only thing it does and it should do is redirecting all those well know ad sites to a site from them and return an 404. If it redirect some sites that they are not supposed to redirect, e.g. bank site, email site, etc. then we got a problem, which is not the case here. For more info and any concerns, check the xda post link in the hosts file.

The hosts file is pretty big, but the overhead is trivial when resolving the IP address for the site you are trying to visit. It should be just a hashtable look up in the memory, and it should take less than 1ms before it redirecect the resolution to DNS. The only cost of this should be just less than 1mb of your memory.
[G Tablet Q&A, Help & Troubleshooting] raywaldo:
Hosts issues

Thanks. I agree that DNS should not be an issue. However, the DNS can cause a lot of intermittent issues if the DNS server has issues. The "questionable" server in this hosts file could be overloaded at times or it could be doing something nefarious for all we know.

I will edit the hosts file later. I just did a full wipe of my GTab and rebuilt it on the 1.2bl branch. (BTW for anyone interested, I did partition back to standard 2048/0.) I flashed the 1.2bl version of Zyhong's rom and it is restoring / downloading apps now.
[G Tablet Q&A, Help & Troubleshooting] MicroChip:
Ok, I backed up bl 1.1 version of 3.2, NVFlashed back to bl 1.2 with cwm, restored the backup, cleared the cache and dalvik, and then flashed latest Pershoot and it came up with Wifi error. I then copied the wifi files as zhyong mentioned a few posts back, and now all appears perfect. I am wondering if I will have sleep of death, which is what keeps me going back to bl 1.1. I'll keep you posted.

Thanks!

MC
[G Tablet Q&A, Help & Troubleshooting] dman918:
I see that Illuminate is transitioning to be a port of 3.2. Is GTabComb also moving in that direction? It is currently a port of 3.0, correct?
[G Tablet Q&A, Help & Troubleshooting] raywaldo:
1.2bl branch

Nope. Changing from one bl to the other is fraught with issues. I just finished doing this and the process is listed on my website : ClockworkMod 1.2bl & Honeycomb on GTab

At this point, I have not had sufficient time to do any testing. There was an issue with the process that left me with the "Android Market failure" that others have reported.

To fix this, there was an additional step that I have not yet added into the process. I will post about that in my "MARKET issues" post. Basically, I had to FORMAT the entire device to clear everything before I could flash the 1.2bl version of Zyhong's rom. After that, the market is working great.:cool:
[G Tablet Q&A, Help & Troubleshooting] akman:
The permission error (init: sys_prop: permission denied uid:1002 name:bt.firmware.status) happens on pershoot's kernel as well (ie. the default ROM config).

I'm pretty sure this is coming from bc_hciattach because I can see the string "bt.firmware.status" when I cat the binary. I haven't found the source code for bc_hciattach yet.
[G Tablet Q&A, Help & Troubleshooting] MicroChip:
Well, my experience is that it worked, as you can see above, but as with all other BL 1.2 roms, I think particularly ones that use Pershoot kernel, I have sleep of death. Other than that, the rom is fine.

I'm considering trying Clemsyn kernel to see if it improves sleep of death.

MC
[G Tablet Q&A, Help & Troubleshooting] raywaldo:
Android Market Failure

For anyone that has had problems with the Android Market not working, I may have an answer.

I do a good bit of testing and changing things on my GTab. I have been at Bootloader version 1.0 to 1.1 to 1.0 to 1.2 back to 1.1 and now back to 1.2 again. I don't know what bits of code are left behind when we change roms and bootloaders and data but it is very likely that some of that junk is not always wiped clean.

Last night, I NVFlashed back to bl1.2, did a Reset to Factory, wiped the caches and then flashed Zyhong's 1.2bl v3.2. It went well EXCEPT that the Market would not sync. It displayed my account and my apps but would not download any of them.

So, I did the "nuclear option." :eek: From CWM, I formatted the system, data, and cache partitions. Then flashed Zyhong again. This time, everything works - including the market. I will test it and report back. :cool:

I realize this is not a desirable plan. However, I believe that the 1.2bl branch is where the GTab will have to go. Whatever it takes to get rid of intermittent problems and get on a solid branch, it is worth it.
[G Tablet Q&A, Help & Troubleshooting] dman918:
I tried the new Pershoot kernel and I too have a Wifi error. Which files do we need to transfer over from the wlan directory?

***ON EDIT: I just copied all files from that directory and it looks like that worked.
[G Tablet Q&A, Help & Troubleshooting] enigma0456:
Pretty sure ...I bought it on Amazon. The minute i select it as the inpute device it starts force closing. Thoughts?

Uninstalled and downloaded again instead of TB restore. Works fine now. Restore from GB Tom to HC Tom not a good idea I guess. Duhhhhhh!