yashsingh1/xdaforums huggingface dataset:
[Advantage X7510 General] robjhellis:
Hi Michy,

Thank you for your fantastic efforts here. I am liking very much the 6.5 interface and am moving my other devices over to it. I have to echo the comments that have gone before, however. Many of the icons under settings do not respond so until that can be addressed the two 6.5 ROMs are somewhat problematic. The Chinese ROM that appeared on the forum appears not to have those problems ..... but of course its in Chinese. Alexeym is helping us with a WWE translation for that ROM so maybe that will help you go forward with your 6.5 development also?
[Advantage X7510 General] alyn99:
Major install problems with 3rd party apps

Hi Michy,

Have been playing some more with the lite version of the 6.5 rom. Though unusable for issues raised in previous posts, I love the speed and usuability of media player, file explorer, etc. The biggest issue however is the inability to install programs. Total commander will install as will advanced config but Resco explorer, skype, tom tom, opera and other important progs will simply give an "install unsucessfull" error. I don't see this issue in posts about other 6.5 roms. Is there a registry fix that can enable these progs to install? I have disabled security warning and this didn't help. Thanks again for all your hard work.
[Advantage X7510 General] saied 1:
any way to do that?
[Advantage X7510 General] sperras:
Thank you!!! + feedback

Thank you Michy, The 6.5 inteface makes the advantage even better in my opinion... A lot has been captured already in the posts, but just wanted to help with my feedback... I have yet to see it (FUll version) hang on me and I was successfull installing a GPS application but unsuccessful installing iGuidance. Plese let me know if there is a work around. I'm downloading the light version as we speak and if there is any change with that version I'll let you know, otherwise assume I had the same issues.

Cheers!!!
[Advantage X7510 General] chetermaat:
Hi Michy

Hey Michelle first of all your 6.5 ROM runs great smooth and fast on my X7510, way much better then the stock HTC ROM.

As told above indeed under settings, the back light & power shortcut/function do not work. I also noticed that every time i enter the start menu the icons change. For example the settings icon changes each time into the icon of one of the icons of the other apz in the ROM.

Also in the home screen the compose function for sms mail etc does not work.

The advanced con fig tool does not work also but can be installed and then works. Installing Tom Tom 7 is impossible ? How to solve this.

I have reverted to your 6.1 rom. And must say I'm very impressed by it. Tho still waiting for your 6.5 to be as perfect as can be.

Greetz Ché yes named after the cuevara Che
[Advantage X7510 General] Lyfey:
Any new development

Hi Michy,

Your roms really set the standard and I'm waiting for the WM6.5 one to have the discussed bugs fixed so I can upgrade.

Not wanting to put you under any pressure as you already do so much for the community, but are you continuing to play with WM6.5 for the x7150? In your signature, I cant help but notice that you run WM6.1 on your own Athena and its been a while since this thread has been updated.

Have you abandoned the project? I'll move across to your 6.1 rom if thats the case :)

Thanks for all your work as always!
[Advantage X7510 General] Liebertkind:
Thanks for the rom !!

is there a way to get 96 DPI settings? i have tried to install realvga96dpi without any luck. :confused:

am I doing something wrong?

Regards
[Advantage X7510 General] AJMAL-AJU:
Thank you

I was trying to throw my X7510...now i got windows 6.5 ..thanks for adding..

i will install it later.:):):):)
[Advantage X7510 General] tomberry88:
Fantastic work, but can i ask you a request?

Can you convert a ROM from wwe to italian lang?

i try to make a my rom, but i failed, and when i use your "switch language", it work, but at the automatic soft reset, the phone is block on the primary screen (the bios screen...)

can you help me, or tell me the instructions for change the lang to italian?

thanks a lot.

(i'm an italian user, and i know basic english language, if you tell me in italian, with PM if you want, i prefer...)
[G1 Apps and Games] delta_foxtrot2:
You can find the latest version of this app on the slideme app store.

http://slideme.org/application/adfree

This is the old thread, I started a new thread in the general section => http://xdaforums.com/showthread.php?p=40759351

================================================================================================================================================

Spoiled by ad free browsing on my normal desktop computer it became increasingly annoying seeing all the ads on my phone. However it's really easy to make them disappear, although you most likely will need root on the phone.

Download the hosts.txt file from http://www.mvps.org/winhelp2002/hosts.txt, you may need to run dos2unix over the file to remote \r characters, rename the file hosts and copy it to /system/etc on your phone and say goodbye to most ads.

You may find the list to be imperfect, for example some feedburner URLs are "blocked" as a result which can screw with RSS feeds, although it's annoying giving too much info to Google but like everything else in life some things are a trade off.

If you want to root your phone, try this article.
[G1 Apps and Games] Dark X Dragon:
Thanks for this!

As soon as I read the topic title I realised what you were doing and I never thought of it myself.

My hosts file was /etc/hosts though, not /system/etc/hosts
[G1 Apps and Games] delta_foxtrot2:
I've been using this technique for a bit, just didn't think to post about it before did a quick search and noticed no one else had so thought I might as well :)

Doesn't seem to matter, I just checked the /etc dir and it has the same hosts file.
[G1 Apps and Games] lbcoder:
Actually, /etc is a symbolic link to /system/etc, so your hosts file is really at /system/etc -- however, accessing the file through either path is equivalent.
[G1 Apps and Games] ShatBag1105:
Ha ha hosts exists on android!? I had no idea. I'm also a spoiled ad-less pc user. This is great. Thanks.

If you can't download the file above (it appears as text in browser), replace .txt with .zip at the end of the url. This will download the zip file which u can later unzip with an unzip app in the market.

Ok. I can't paste over the original hosts file using the phone? Astro and lynda file managers don't do it for me. And yes I am rooted, running 1.5 dudes build. Can this be done only from a PC?
[G1 Apps and Games] delta_foxtrot2:
You have a couple of options, you can download the terminal app from the market and use it, or you can use ADB to shell into the phone, or wait for someone to code an app to do it all for you.

For the time being go with installing terminal, then type 'su' to become root. That is unless you have a copy of adb handy, if you can 'adb shell' the following commands are the same, except you can copy and paste.

Then remount the system partition read-write.

mount -o remount,rw /dev/block/mtdblock3 /system

Then you go into the etc dir

cd /system/etc

Then you can rm the hosts file

rm hosts

Then grab the hosts.txt file

wget http://www.mvps.org/winhelp2002/hosts.txt -O hosts

Always more than one way to skin a cat, but the above works for me(tm)
[G1 Apps and Games] Dark X Dragon:
Ugghh, I read that ages ago but really didn't commit it to memory. It is now. =)

There's a fair chance I won't get around to it but I'm tempted to take this ad blocking further. Namely an automatic app but there might be more to add to it.
[G1 Apps and Games] ShatBag1105:
Thanks for the help delta. I figured it had to be done in terminal. And you know, this would definitely become very popular as an app.
[G1 Apps and Games] ShatBag1105:
I'm a dummy its etc not ect
[G1 Apps and Games] nyayo99:
(I am using the terminal program on the phone)

Until the above step, no problems

After typing in the above I get the following message:

"bad address "www.mvps.org"

I checked for typing errors, tried it 3 times but get the same error message

Any suggestions please?

thanks
[G1 Apps and Games] ShatBag1105:
Try it without the http://www. It might work like that. This is a lot harder than it should be lol. The g1 is putting up a fight!
[G1 Apps and Games] nyayo99:
Thanks, but this didn't work either.

Some googling indicated a possible DNS issue.

So I looked up the IP address (209.68.48.119), substituted that into your instructions and presto, everything worked!

Many thanks for the ad killer option for the G1
[G1 Apps and Games] ShatBag1105:
Aah beautiful work. Just to clarify for newbs like me. The last line is (# wget http://209.68.48.119/winhelp2002/hosts.txt -O hosts). Make sure that -O hosts is a captialized O.
[G1 Apps and Games] delta_foxtrot2:
Yes, capital letter o, lower case o stores the output of wget into the file which isn't the desired outcome :)
[G1 Apps and Games] delta_foxtrot2:
I plan on suggesting the following URLs to the hosts.txt guy to block admob ads in apps

p.admob.com

analytics.admob.com

r.admob.com

In the mean time you can manually add it to the hosts file yourself, just copy and past from another line.

After updating the hosts file you may need to reboot or wait for the hostname to expire from the internal lookup cache, unless someone knows a quick way to flush the cache to speed up the process that is.
[G1 Apps and Games] JackD3ath:
Thanks for this. Worked great for me. Very helpful tutorial.
[G1 Apps and Games] delta_foxtrot2:
Just uploaded "AdFree" to android market, this does all the steps I laid out manually at the touch of a button.
[G1 Apps and Games] andonnguyen:
Its funny how

127.0.0.1	localhost

is the only thing blocked in the /system/etc/hosts file. lol.
[G1 Apps and Games] delta_foxtrot2:
That isn't "blocked" and in fact nothing gets blocked by the hosts file it just points hostnames to the local system, which usually has no web server running so the connection fails immediately.

However you MUST have localhost listed or various things will fail and cause all sorts of issues.
[G1 Apps and Games] delta_foxtrot2:
New version of AdFree is now up, I have the app adding the admob hostnames to the bottom of the list.
[G1 Apps and Games] delta_foxtrot2:
Anything that can run php can generally do that.
[G1 Apps and Games] delta_foxtrot2:
Just uploaded v0.3.0, this version has chinese translations
[G1 Apps and Games] Chahk:
I can do Russian translations for the app. I do that for CM Updater and Any Soft Keyboard apps.
[G1 Apps and Games] delta_foxtrot2:
Can you send me a private message where I can send the xml file?
[G1 Apps and Games] delta_foxtrot2:
Thanks to Chahk there is now a Russian translation as well.
[G1 Apps and Games] Vlad83:
It seems Pandora and Shazaam restrict ad blocking now. Their apps do not work with the hosts... Is there anything that can be done?
[G1 Apps and Games] delta_foxtrot2:
Update hosts manually, I removed the offending hostname earlier.
[G1 Apps and Games] Vlad83:
Forgot to thank you. All has been working great. Thanks for the fast response and your continued efforts.
[G1 Apps and Games] Proxin:
Isn't there an app already called Ad Free that does this?
[G1 Apps and Games] Chahk:
Read the thread. delta_foxtrot2is the one who made and published the app.
[G1 Apps and Games] myronic:
Adfree not working

Hey, first I want to say excellent work on the AdFree app! It has worked flawlessly for me for months and made browsing a pleasure on my G1.

Lately though, within the past week, I have not been able to even open the app. Title bar comes up fine, it asks for su permission, I allow it. But then it just hangs at a black screen, and force closes every time. There is a wait option which only cycles back to black screen and f/cs again, indefinitely. No ads are being blocked.

I did recently have to wipe and reflash CM 4.2.5, have tried un/re-installing several times, also fixed permissions and uids. No dice. I do still have root, and am running the recovery-RA-dream-1.3.2.img. It looks like several others have posted similar troubles on the market. Is there some glaring mistake I'm making, or otherwise any tips to get this working again? Thanks in advance!
[G1 Apps and Games] Karolis:
I've just read the whole thread from the beginning to the end and still can't figure out two things:

1. What is the latest list that is used? I want to use the same on my computer.

2. Can you share the link to the redirecting file on BigTinCan server, so that I can also use it on my machine?
[G1 Apps and Games] icegad:
Java.io.eofexception ??? On cm4.2.6
[G1 Apps and Games] AggieChris:
Here is a logcat of what is happening when I get the "java.io.EOFException".

Perhaps it will help?

12-01 17:18:00.965 I/ActivityManager( 142): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.

LAUNCHER] flg=0x10200000 cmp=com.bigtincan.android.adfree/.FreeMe }
12-01 17:18:01.645 D/su ( 1111): 10078:10078 com.bigtincan.android.adfree executing 0:0 /system/bin/sh
12-01 17:18:02.115 D/su ( 1115): 10078:10078 com.bigtincan.android.adfree executing 0:0 /system/bin/sh
12-01 17:18:02.215 I/ActivityManager( 142): Displayed activity com.bigtincan.android.adfree/.FreeMe: 1191 ms (total 1191 ms)
12-01 17:18:06.045 D/dalvikvm( 1074): GC freed 5827 objects / 356936 bytes in 105ms
12-01 17:18:06.075 D/OpenSSLSessionImpl( 1074): Freeing OpenSSL session
12-01 17:18:06.665 I/ActivityManager( 142): Starting activity: Intent { cmp=com.bigtincan.android.adfree/.DoUpgrade }
12-01 17:18:07.205 I/ActivityManager( 142): Displayed activity com.bigtincan.android.adfree/.DoUpgrade: 519 ms (total 519 ms)
12-01 17:18:12.375 D/dalvikvm( 190): GC freed 1525 objects / 100040 bytes in 145ms
12-01 17:18:13.275 I/global ( 1074): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
12-01 17:18:14.005 D/su ( 1124): 10078:10078 com.bigtincan.android.adfree executing 0:0 /system/bin/sh
12-01 17:18:14.505 D/su ( 1128): 10078:10078 com.bigtincan.android.adfree executing 0:0 /system/bin/sh
12-01 17:18:18.015 W/IInputConnectionWrapper( 1074): showStatusIcon on inactive InputConnection
12-01 17:18:19.115 D/dalvikvm( 190): GC freed 383 objects / 23160 bytes in 119ms
12-01 17:18:23.665 D/dalvikvm( 185): GC freed 10340 objects / 593240 bytes in 366ms
12-01 17:18:24.285 D/dalvikvm( 1074): GC freed 4722 objects / 337840 bytes in 1007ms
12-01 17:18:24.305 D/OpenSSLSessionImpl( 1074): Freeing OpenSSL session
12-01 17:18:25.765 I/ActivityManager( 142): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.xtralogic.android.logcollector/.SendLogActivity }
12-01 17:18:27.615 I/ActivityManager( 142): Displayed activity com.xtralogic.android.logcollector/.SendLogActivity: 1784 ms (total 1784 ms)
12-01 17:18:27.745 I/global ( 1102): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
[G1 Apps and Games] MetalMessiah78:
I was also getting the dreaded "java.io.EOFException" on cm4.2.6.

It had been working fine up until this morning when I updated to the new version of "Jewels". I noticed since yesterday's update that it had said that they added ads, but not a single one got through. With today's update, a Google Ad sneaked in.

Opened up AdFree to update the host names and I got the error. Been trying all day to update and even uninstalled and reinstalled AdFree a few times. Finally I was able to get the host names installed, but it took a lot of trying. No more ads.
[G1 Apps and Games] AggieChris:
It appears that metal is correct. I just kept mashing the download and install button and eventually it worked (this is on cyanogen 4.5.6).

So persistance might pay off if you give it a shot.
[G1 Apps and Games] Proxin:
The hosts file was last updated November 13, or so it says...

AdFree hasn't been correctly blocking ads for me recently as well, especially in Pandora and Shazam.

Is there another way to block ads?
[G1 Apps and Games] eagle00789:
to fix the "java.io.EOFException" error, follow this guide:

1. reboot your phone.

2. after the reboot, kill any apps using the internet

3. use the adfree program to update.

4. enjoy the adfree apps and games
[G1 Apps and Games] AggieChris:
I can confirm the killing of internet using applications, I noticed this behavior with the latest update as well.
[G1 Apps and Games] el_smurfo:
I didn't see any direct answer to this which was also bothering me as well. If you close your browser (tap upper left corner in loccy), clear the cache then reboot, the "page cannot be displayed" disappear and you just have a blank space where the ad links were.
[G1 Apps and Games] 5[Strogino]:
When AdFree got error "java.io.EOFException"

use terminal and run following:

$cat /data/data/com.bigtincan.android.adfree/shared_prefs/AdFreePrefs.xml > /data/data/com.bigtincan.android.adfree/shared_prefs/AdFreePrefs.xml.bak

Or use small script (attached), that doing same:

- unpack and sopy to sd-card (if you copying to other folder, please specify folder in command below

- run via terminal

$sh /sdcard/adfree_backup_fix.sh
[G1 Apps and Games] ID#:
java.io.EOFExeption

Hey guys

I don`t know why you are all using so elaborated solutions. For me the easy way works best:

I just hit "back"-button once and then the "download"-button.

This worked for me many times!

But I have an other problem:

The ads are replaced by the android browser error message. This magnificates the site ernormously :o

How can I set e.g. a picture which is located on my phone instead this error message for replacing the ads?
[G1 Apps and Games] traspler:
When I select "Use BTC IP", the ads will just stay blank (sometimes even a collapsed white square) but when I select the localhost option, the ads get replaced with a white on blue question mark. So just select a different option.

Woah... the back button actually worked... Thank you :)
[G1 Apps and Games] el_smurfo:
Clear browser cache and reboot got rid of the errors for me.
[G1 Apps and Games] hybridb:
I had the same problem running CM. Uninstalled, rebooted and installed again. and now it works fine!
[G1 Apps and Games] Proxin:
For me, recently with anything that requires new SU access.

I run the app, it's just a black screen while it requests my action on the SU access (Allow, Always Allow, Deny).

I select Always Allow, but if I wait for it to load, it doesn't. Instead, after I select Always Allow, I simply press Back or Home and restart the app. It works fine with SU access after that.

Less trouble than having to reinstall the app. :)
[G1 Apps and Games] thunderstruck!:
I was going to update my hosts as I had to nandroid back to an earlier version, and now it says it's out of date, even though I reinstalled from the Market.
[G1 Apps and Games] nick_karstedt:
Out of Date
This copy of AdFree is too old, please update to a newer version.

Fully updated according to aTrackDog and Google Market.
[G1 Apps and Games] turboyo:
Same thing here

FIXED update available
[G1 Apps and Games] Mi|enko:
That was 3.1. He just released 3.2 to fix a few hours ago.
[G1 Apps and Games] delta_foxtrot2:
0.3.2 still doesn't work, I had a HTC magic break just before cyanogen updated his rom to include the newer JVM

the problem is the 0.3.2 works in the emulator BUT there seems to be a gzip java error in the JVM still, which seems to be the cause of the original problem, this JVM bug doesn't exist in android 2.0.1 SDK... The bug in the JVM seems to be some kind of memory leak making the app run out of memory so it can't decompress, I'm working on a work around to use the gzip binary on the system instead, but this won't be fixed in the next 10 minutes, I only just got my hands on a HTC dream and I'm trying to get it setup for testing etc.
[G1 Apps and Games] delta_foxtrot2:
After upgrading the Dream to cyanogen 2.4.12.2 is seems the JVM bug has been fixed... That saves me from making a work around I suppose :)

In short if you are getting java.io.EOFExeption errors, upgrade your firmware as the firmware you are running has bugs in the JVM.
[G1 Apps and Games] delta_foxtrot2:
All you had to was read the hosts file on your phone :)

# entries: 2010-01-02 05:20:16

# last updated 0.r.msn.com

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

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

Although there is a few hostnames added/removed to/from the system specific to android.

It is likely to be shifted from it's current IP for internal company reasons, but the current URL is:

https://119.161.80.9/misc/adfree.php
[G1 Apps and Games] delta_foxtrot2:
I'm trying to find out how an app should be programmed so this doesn't occur, but I haven't found any doco on it.
[G1 Apps and Games] bkmo:
I still get the error on 4.2.12.2. Hitting back then download again works though.
[G1 Apps and Games] Chahk:
Same. It usually works from the 3rd or 4th try.
[G1 Apps and Games] delta_foxtrot2:
What phone?

I'm seeing a lot of these error messages on the G1:

Low Memory: No more background processes.
[G1 Apps and Games] bkmo:
Mytouch 3g.
[G1 Apps and Games] delta_foxtrot2:
Mines currently in for repair, just stopped working one day and wouldn't turn on or charge at all, hopefully it'll be back soon.
[G1 Apps and Games] Edgar_Wibeau:
Error: java.io.EOFException on Milestone

Hello all,

I have (successfully and confirmed) rooted my Milestone yesterday and when trying to run AdFree I get the above error message when I press "Download & Install Hosts". /etc/hosts doesn't get updated. Any suggestions?
[G1 Apps and Games] el_smurfo:
As mentioned before, just try it again. Sometimes it takes me 3-4 tries.
[G1 Apps and Games] Edgar_Wibeau:
errr, usually I'm the one to complain about ppl who don't read the thread sorry :-/

The funny part is, no matter how often I try it doesn't work. Always the same exception, have to restart the app, do the same step, exception. Anyone tried the app on the Milestone? To make sure I've searched the whole thread for 'milestone' this time.

Edit: seems like I'm a little slow today. I had already updated /etc/hosts by hand (wget, dos2unix, adb...) and now read the thread _carefully_ ... aaaah now I got it. Started AdFree, hit "update", got the exception, _did_not_tap_ok_ (!!!) ;) - again hit "update" and yeppp! it works! Lots of thanks folks!
[G1 Apps and Games] gurugabe:
Adfree backup fix for Windows users

mount sdcard to windows. extract zip file to windows drive ie c: and execute batch file (.bat) enter your windows drive letter for your device. it will copy the script posted earlier in thread to your scdard and execute it on device to repair the java error.

just trying to make it as easy as possible!:)
[G1 Apps and Games] TeeJay3800:
Which hosts file does AdFree use as it's source? MVPS is mentioned earlier in this thread, but I've had AdFree tell me a hosts update is available even when the MVPS hosts file has not been updated. Is there another source being used?
[G1 Apps and Games] gurugabe:
read post #213
[G1 Apps and Games] TeeJay3800:
Cool, thanks. I've never heard of yoyo before. The two sources that I use on my PC are MVPS and hpHosts. They're both updated regularly with new domains being added and outdated domains being removed frequently. Is there any way to customize AdFree so it uses those two sources instead of those that are built in?
[G1 Apps and Games] SiNJiN76:
Using BTC IP got rid of the big upside down android pic showing in place of the ads and also the browser popup window saying that connection couldn't be made. But, I notice that when I'm on a site where it blocks an ad...the page seems like it's fully loaded, but the loading icon indicates that it's still loading....never stops.
[G1 Apps and Games] SiNJiN76:
I uninstalled the app...and rebooted...but it seems that it's still blocking ads in apps...Uh...how do i uninstall it completely?