5,598,779 Members 34,621 Now Online
XDA Developers Android and Mobile Development Forum

Replace 'hosts' file on Desire

Tip us?
 
leigh.chris
Old
#21  
Junior Member
Thanks Meter 1
Posts: 21
Join Date: Apr 2009
Location: Manchester
Quote:
Originally Posted by kingchris View Post

boot into recovery.
run recovery-windows.bat
run install-adfree-windows-step1.bat
reboot into your normal system
install adfree from the market
start adfree
Kingchris, thanks for your efforts on this - mine is now working with OTA HTC 2.2

I haven't been able to find anymore detail on this issue so i thought i should give other users the heads up in your post - i was having the same problem but now when attempting your version i'm getting the message ''Out of Date This copy of adfree is too old, please update to a newer version''

You should remove the ''install-adfree-windows-step2.bat" from the instructions and advise to download the latest version and install .

Worked for me - thanks again!
 
Pitbull_Raven
Old
#22  
Pitbull_Raven's Avatar
Senior Member
Thanks Meter 39
Posts: 503
Join Date: Nov 2008
Location: Castelo Branco
Quote:
Originally Posted by kingchris View Post
Hello,

i have created a patched Adfree app for Desire
Where can I find it? I would love to have it since I can't update my defs.
 
NSF12345
Old
#23  
Member
Thanks Meter 0
Posts: 37
Join Date: Aug 2010
Quote:
Originally Posted by Pitbull_Raven View Post
Where can I find it? I would love to have it since I can't update my defs.
look a little closer at page 2, at the top, there is an attachment on there with the some batch files to run. follow them instructions they should work fine. I havnt tried the way that leigh.chris suggested above but i plan on trying it the next chance i get
Current Device
Galaxy S4 I9505
ROM: WICKED v10 (4.3 MK2 [14-01-14])
WICKED v9.1 (4.3 MK2 [12-12-13])
Recovery: TWRP

Old Device
Device: Nexus S (GSM)
ROM: Baked Blackbean 6 (based on JB AOSP 4.1.1)
Codename 3.6.6 (based on JellyBean 4.1.1 Rev6)
Crossbones-0.2.5 (based on ICS 4.0.3)
Recovery: ClockworkMod (Latest)
Haven't played with Radio/HBOOT
1GB Internal storage
15GB Internal "sdcard"
 
Moe5508
Old
(Last edited by Moe5508; 20th October 2010 at 02:48 PM.)
#24  
Senior Member
Thanks Meter 162
Posts: 2,399
Join Date: Jun 2007

 
DONATE TO ME
Sent my SenseHD ROM into intermittent boot-ups...RCMixHD v10, unfortunately. And patched AdFree error on app launch says "too old version" and exits.
 
rootrider
Old
#25  
rootrider's Avatar
Senior Member
Thanks Meter 368
Posts: 790
Join Date: Aug 2010
Location: Starnberg
Quote:
Originally Posted by Moe5508 View Post
Sent my SenseHD ROM into intermittent boot-ups...RCMixHD v10, unfortunately. And patched AdFree error on app launch says "too old version" and exits.
Just uninstall the old version, then download and manually install the new one. Then update the hosts file if necessary. -> SUCCESS!
 
Davil_79
Old
#26  
Junior Member
Thanks Meter 2
Posts: 29
Join Date: Nov 2010
Location: Írebro
Quote:
Originally Posted by kingchris View Post
i have created a new version of the fiel with a step1 and step2 batch

boot into recovery.
run recovery-windows.bat
run install-adfree-windows-step1.bat
reboot into your normal system
install-adfree-windows-step2.bat
then start adfree

if you get the Error Message try it again.
i think this is not an error created by the modification,
this is a problem on checking and downloading the hosts file

i made an error in the first script
in the script i wrote adb mount but it has to be adb shell mount
Hello!

I am a big NOOB (at least I feel like one).

I have a rooted Desire with Leedroid2.2f (if it does matter).

I dont make it when I try your "step by step-help" so I hope you or someone else can help me?

Here is how I did when I tryed:

1. download the zip-file to phones SD card
2. Reboot the phone in recovery-mode
3. Now Im stuck. Explain exactly how I will: "run recovery-windows.bat" ?

Should I unzip the files to the phone's SD memory? Or should I unzip the files to your computer? Or how do I proceed?

Please help a Noob like me

Br. David
 
steadye
Old
#27  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Aug 2010
@kingchris works perfectly on my desire thx a lot...
 
spiapia
Old
#28  
Junior Member
Thanks Meter 1
Posts: 5
Join Date: Nov 2010
Quote:
Originally Posted by rootrider View Post
Just uninstall the old version, then download and manually install the new one. Then update the hosts file if necessary. -> SUCCESS!
Hi

I dont understand the difference between the old one and the new one.

The old one stored the downloaded hosts file in /sdcard/etc ???
The new one seems to download in /system/etc (with error due to read only), or in /data/data if the 'Symlink' checkbox is checked ???


What happens to my /sdcard/etc/hosts file if i tap "Download and install" in the new one ?


sorry for my english
 
DTBrum
Old
#29  
Member
Thanks Meter 6
Posts: 89
Join Date: Apr 2010
Location: Birmingham
OK, tried this and I'm stuck.
boot into recovery.
run recovery-windows.bat
run install-adfree-windows-step1.bat
reboot into your normal system
install-adfree-windows-step2.bat
then start adfree

Got as far as reboot into your normal system.
Phone reboots, shows HTC logo and reboots again. Phone will not boot up. Any ideas?
 
DTBrum
Old
#30  
Member
Thanks Meter 6
Posts: 89
Join Date: Apr 2010
Location: Birmingham
OK, couldn't do anything with the phone - tried to restore stock rom - no good. In the end the only option I had was to install a custom rom from SD card (zip update). This has got the phone up and running again.

Very new to all this - gave me one heck of a fright.

Anyway I think I'm going to leave well alone for a while until I'm a little more used to this. Panic over (till next time )

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Say Goodbye to Holo Blue Once and for All

When Google released Android 4.4 KitKat back in October of last year, they changed quite a bit … more

Sony Z Ultra Google Play Edition Receives Bluetooth Certification for Android 4.4.3

You may recall that a few days ago, Sprint jumped the gun … more

Easily Configure Xposed Module Projects in Eclipse

XDA Recognized Developer rovo89‘s innovative and versatile Xposed Framework allows … more

Android Control Center Becomes Quick Control Panel, Brings Host of New Features

You may recall that back in August of last year, we talked … more