[ROM][BL1.1][BL1.2] GtabComb beta 3.3 (updated 7/27/2011) Gtablet\Zpad T2

Status
Not open for further replies.
Search This thread

akman

Member
Jun 23, 2009
42
8
Awesome, found it..
So? Do I just edit out all 22,7xx entries and save it??
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.
 
  • Like
Reactions: tekrhino

akman

Member
Jun 23, 2009
42
8
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.
 
Last edited:
  • Like
Reactions: rajeevvp

raywaldo

Senior Member
Jul 8, 2007
805
106
Southeast Louisiana
raywaldo.com
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?
 

akman

Member
Jun 23, 2009
42
8
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?

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.
 
  • Like
Reactions: raywaldo
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.

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...
 

raywaldo

Senior Member
Jul 8, 2007
805
106
Southeast Louisiana
raywaldo.com
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.
 

akman

Member
Jun 23, 2009
42
8
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...
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.
 

luvduchovny

Senior Member
Mar 29, 2011
102
8
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.

CNN app or android phone plays the videos I've found. CNN app for tablets won't play videos but their widget works fine on he 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.
 
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.

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!..
 

akman

Member
Jun 23, 2009
42
8
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'
$
 
  • Like
Reactions: rover442 and zyhong

zyhong

Retired Recognized Developer
Mar 31, 2011
134
140
$ 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'
$

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.
 

akman

Member
Jun 23, 2009
42
8
good finding, akman. thanks.
ye, i realize that the init at this rom does not support "import" right after i publish b3.2

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.
Actions and Services implicitly declare a new section. All commands
or options belong to the section most recently declared. Commands
or options before the first section are ignored.

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

Except that the readme also says this:
Actions and Services have unique names. If a second Action or Service
is declared with the same name as an existing one, it is ignored as
an error. (??? should we override instead)
: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.
 
Last edited:
  • Like
Reactions: earthwalker_99

raywaldo

Senior Member
Jul 8, 2007
805
106
Southeast Louisiana
raywaldo.com
Big THANK YOU to Zyhong!

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.

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:
 
  • Like
Reactions: rover442

rajeevvp

Senior Member
Aug 20, 2010
1,315
406
Bangalore
I noticed that the hosts file resolves all ad hostnames to 208.82.100.56. 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).
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.
 

rajeevvp

Senior Member
Aug 20, 2010
1,315
406
Bangalore
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

So you can't have multiple "on boot" sections? Except that you do.
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.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 62
    MOD EDIT: AS WE ARE REORGANIZING THE GTABLET FORUM - ALL ROMS/KERNELS/ETC WILL HAVE THEIR Q&A POSTS MOVED TO THE Q&A SECTION.

    THE Q&A LOCATION FOR THIS ROM IS HERE

    Thanks.


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

    STANDARD DISCLAIMER: USE AT YOUR OWN RISK. By running this firmware mod, you agree that there is the possibility that you may brick your device and neither myself, XDA nor Viewsonic are responsible for supporting you if that occurs. In this case, it is required that you learn and setup nvflash prior to running this mod.

    This is a port of AdamComb with pershoot kernel and some tweak for performance and usability. Thanks all the greatest Adam, Vegan, Gtab devs that make this rom possible.

    Install instruction:
    1. Make sure the version of your bootloader and download the corresponding rom
    2. I guess most of you should already be in CWM, but if you are not. update the recovery to CWM first. Stock recovery might work but you need to do some work and CWM is much better anyway.
    3. Wipe data / Factory reset. It might work well, but you will most likely have problems without doing this.
    4. Using the "install from sdcard" to install and enjoy.


    Features: Very fast and stable

    For AdamComb features, check its original post at tabletroms.

    1. Overclocked by default, max frequesy adjusted by battery level.
    -- you could use setcpu to adjust the min, max frequency. The build-in script for cpu management respect the setting from setcpu
    2. Tweaked internal storage & SD card read speeds
    3. Annoying ads in programs are blocked
    4. Calkulin's battery saving script
    5. data2loop works super well
    6. pre-load some useful modules at boot time, e.g. cifs, ntfs, utf8, tun.


    Known Issues:
    1. Anything related to hardware acceleration
    2. Stock Camera App does not work.

    Beta 3.3: AdamComb v0.2 + pershoot's kernel 07/25/11
    [BL1.1]
    http://dev-host.org/bsnx1bmz8pgy/GtabComb_b3.3_bl1.1.zip
    [BL1.2]
    http://dev-host.org/k0zcozlozwgi/GtabComb_b3.3_bl1.2.zip

    changelog:
    1. update to pershoot 26.32.43 kernel. As already confirmed by some users, this version runs faster and hopefully it also resolve the BT tether issue
    2. fix the "import" bug in init.rc.
    3. change the label of sdcard and mircosd to be the same as in stock version. So far I have not got any issue and it does fix the "install unsuccessful" problem for some app.
    4. remove some libs that does not use in gtab to free up some space. now all the libs in pershoot kernel are available in this rom. just edit the /system/etc/init.d/05modules to add your desired lib in the modules string.
    5. Thanks all you guys for testing this and digging into issues. This help me a lot to resolve some issues here. It is the effort from all of us that make this rom better and better.


    Beta 3.2: AdamComb v0.2 + pershoot's kernel 07/02/11
    [BL1.1]
    link: http://www.mediafire.com/?sy8oxpcrdufr4e3
    [BL1.2]
    link: http://www.mediafire.com/?xqoo08e1m49no1d

    changelog:

    1. battery life improved a lot
    2. overall system performance improvement.
    3. partially fixed bluetooth. Not sure how much it works (pulling some of bluetooth libs from flashback)
    4. remove street and office app. put back camera app (it still fc, put it here so that some power user could play on it to see if we could find a fix here)
    5. fix an issue that usb connect and debug notification does not disappear when the usb is disconnected (well, it still do not work if the usb is disconnected when the system is on sleep)
    6. code reorganization and clean up. make it easier for some power user to change settings and plug in scripts without the need to unpack/repack boot.img. Hopefully we could have more power user to play with the system and further improved this rom.
    7. change the cpu governor to respect on cpumaster, so you can use both setcpu or cpumaster to adjust the voltage if you really do not like the cpu managed by the buildin script.
    8 change bootanimation (pulling from the bootanimation collection by thinkdevoid @tabletroms)

    Again, back up and wipe data and factory reset (at least wipe dalvik cache) if you want a smooth experience. Almost all unexpected FCs are related to NOT wiping data

    Beta 3.1: AdamComb v0.2 + pershoot's kernel 07/02/11
    [BL1.1]
    link: http://www.mediafire.com/?0cwkg59u6ict3t2
    [BL1.2]
    link: http://www.mediafire.com/?7q2w1ibvsilijar

    changelog:
    1. Update to AdamComb v0.2. the original wifi location seems to be broken occasionally and this one fix the wifi location permanently. the mount point for usb disk has been changed to work on media scanning.

    Beta 3.0:
    [BL1.1]
    link: http://www.mediafire.com/?7wx3ati1135a1o1
    [BL1.2] (the update-script say for BL1.1 but it is really for BL1.2)
    link: http://www.mediafire.com/?x2fg6cjmreb8y1n

    changelog:
    1. switch to AdamComb base. This bring us HQ flashand more responsive and better UI with several other enhancements.
    2. fix some issues after switching to AdamComb base.


    ==============================================
    Beta 2.1: NI Adam HC + pershoot kernel
    [BL1.1]
    link: http://www.mediafire.com/?95tbbfhb7stht6z
    [BL1.2] (the update-script say for BL1.1 but it is really for BL1.2)
    link: http://www.mediafire.com/?icbym2xbhc6zmcw

    changelog:
    1. update to latest NI adam HC (07/05/2011 build)
    2. update to pershoot latest kernel (07/02/2011 build)
    3. remove NI Adam branding
    4. remove some apps from system. we are running out of system space and those app could be easily get from market
    5. add most small size modules in pershoot kernel. Automatically load ntfs, cifs, utf8, tun by default.
    6. some small performance tweak.


    Beta 2.0: NI Adam HC + Clemsyn kernel [BL1.1 ONLY]
    link:
    http://www.mediafire.com/?o25bc1azc01are2
    9
    BL1.1 ONLY

    This is the old rom that based on Roebee's BOS HoneyComb. Check Roebeet's orginal post for more detail.

    Besides the greatness of BOS, this rom also have some additional features:

    1. Overclocked by default (max frequesy adjusted by battery level)
    2. Tweaked internal storage & SD card read speeds
    3. Annoying ads in programs are blocked
    4. Calkulin's battery saving script

    Known Issues:
    1. All the BOS issues apply here


    link:
    alpha 1.6 (based on BOS_a6.0)

    Note: users in other roms have mix experience on data2loop. It works very well for me, but I do not know how it will work for you. If it works well, you should expect data intesive apps (e.g. email, galary, market, etc) load much faster. If you do not know what data2loop is and its potential risk, do not flash a1.6.2. a1.6.1 already perform very well. you should wipe user data/factory reset before flashing a1.6.2 if you decide to try it.

    --a1.6.2 (ext2 data2loop enabled. Very fast. Quardrant score: 3923)
    http://www.mediafire.com/?5arqmra5lm082m5

    --a1.6.1 (fix pc usb mount)
    http://www.mediafire.com/?3d3462x5d658i6u

    --a1.6.0
    http://www.mediafire.com/?tjcvahig45ckwi2

    alpha 1.5 (based on BOS_a5.2)
    http://www.mediafire.com/?25ah3hrj1h1iazt
    6
    $ 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'
    $

    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.
    3
    just fyi, i update from 3.2 to 3.3 without wiping anything and i do not see any issues with this. so you should be able to install this update without clear anything if you are in 3.2. i do not have too much apps installed so i do not know how far this work.
    2
    I compile the b2.1 version for BL1.2 since I am quite satisfied with b2.1 now. I do not test it by myself. I believe it will work, but need some confirmation from some power users that are in BL1.2. If you are new, please do not use this rom yet.