Login - Contact Us

Guide - Speed up Iphone Browsing (remove ADs)

Saturday, October 04, 2008 discuss in our forum | read comments(13)  

Seems like this hack keeps cydia from updating.
To revert to stock host file, simpy copy the file back off the iphone and replace the content with this :

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80
::1%lo0 localhost

Then save the file and upload it back to the phone and reboot it. Cydia should now update.

Ok just came across this in the AM, and am very excited. Although Iphone3G browsing is not very slow, there are certain times you hit an area where it only has Edge coverage. And when you load a webpage full of javascript ads your load times per page are horrible. Well there is not a solution. Simply by replacing the host file with the updated host file, you will block majority of the advertisers, the host file will redirect them locally. It works on my phone running firmware 2.1, and should work for you until you do a restore then you will have to do this again.

Update : to get categories to work remove "127.0.0.1 mm.admob.com" from my adblock host file


BEFORE


AFTER


Very Easy Process.

1. Connect to iphone via SSH. We have guides on our site for this
2. Browse to /private/etc on the iphone



3. Copy over the new host file. Download from here.



Done, reboot the phone

Labels: ,




13 Comments :

     
   Anonymous Anonymous - 

how do you edit the host file to remove that line? what program do you use?


THANKS IN ADVANCE 
 
     
     
   Anonymous Anonymous - 

I use a program called TextPad. But you can modify that file with notepad or any other text file. Make sure when you save it, you do not save it with any extension. 
 
     
     
   Anonymous Anonymous - 

Be warned! This hosts file blocks cydia from updating "changes".

http://www.howardforums.com/showthread.php?t=1439132 
 
     
     
   Anonymous Anonymous - 

hmmm... mine works fine though.... Cydia's working perfectly, including updating changes... 
 
     
     
   Anonymous Anonymous - 

same here, maybe reinstall your cydia installer within cydia 
 
     
     
   Anonymous Anonymous - 

Thank you very much 
 
     
     
   Anonymous Anonymous - 

guys, what ip shoud i use in SSH for my iphone?? 
 
     
     
   Anonymous Anonymous - 

Does anyone know how to blocks the ads from cydia aswell? 
 
     
     
   Anonymous Anonymous - 

Does anyone know how to blocks the ads from cydia aswell? 
 
     
     
   Anonymous Anonymous - 

DONT JAILBREAK. IT VOIDS YOU WARRENTY!!!! 
 
     
     
   Blogger iphone3g-mods - 

you're an idiot, stop post crap on my site, you can always restore to factory by connecting to itunes and hitting restore, there for you wont be jailbroken anymore, i think i know i've sent 5 iphones back to apple 
 
     
     
   Anonymous FallenAngel - 

guys?where is the admob host file located?so i cud delete 127.0.0.1 mm.admob.com to make categories working.tnx 
 
     
     
   Anonymous Anonymous - 

thanks nice 
 
     


Post a Comment

Please leave a comment and no spam.