[Q] Android Stock Browser - help please! - Streak 5 Q&A, Help & Troubleshooting

Hi to all
My Streak 5 is running DSC ROM v1.1 and am using the included Android stock browser (v2.3.3).
When I try to view adfly web pages (eg *******/), I am not able to see them - I get the 'web page not available' error message.
What do I need to do to both view these kind of web pages and also for them to load properly in the Android browser? I can see the pages on any PC but have singularly failed to find a way via the browser on my phone
Many many thanks to anyone who can put me out my misery..

This may be due to the modified hosts file that is included with DSC. Look in /system/etc/ and find a file named hosts. Make a backup of it. Open the original in a text editor and remove everything but this line:
127.0.0.1 localhost
Leave a blank line at the end of the file, save and exit.
It may require a reboot to be effective. If it doesn't work, just revert to your backup.

lordmorphous said:
This may be due to the modified hosts file that is included with DSC. Look in /system/etc/ and find a file named hosts. Make a backup of it. Open the original in a text editor and remove everything but this line:
127.0.0.1 localhost
Leave a blank line at the end of the file, save and exit.
It may require a reboot to be effective. If it doesn't work, just revert to your backup.
Click to expand...
Click to collapse
Thanks very much for the quick reply - much appreciated. Your suggestion about the hosts file gave me a clue.
I have AdAway installed, which blocks ads (on both webpages and those sent/displayed by apps and games) by modifying the hosts file. I disabled AdAway and reverted to the DSC ROM hosts file - and I can now see adfly pages on the browser.
However, I still wish to block ads on web pages, while still being able to use adfly-type sites. I also don't want to lose the ability to block ads shown/sent by apps & games. Is there an alternative method to block these?
AdAway was extremely effective at doing its job and I'd be loath to lose that functionality. For example on my PC, I use Chrome with AdBlockPlus extension which allows me to see and navigate through adfly-type sites while not being subject to ads.
Any advice or suggestions would be gratefully received. Thanks again for your help.
Cheers

AdAway and other such programs only combine the lists of blocked sites compiled by well-known sites into a single HOSTS file. They currently cannot exclude specific sites. For that, you have to edit the file manually.
Continue using AdAway, but use a text editor afterward to manually update the HOSTS file to exclude the site you want to see.

Strephon Alkhalikoi said:
AdAway and other such programs only combine the lists of blocked sites compiled by well-known sites into a single HOSTS file. They currently cannot exclude specific sites. For that, you have to edit the file manually.
Continue using AdAway, but use a text editor afterward to manually update the HOSTS file to exclude the site you want to see.
Click to expand...
Click to collapse
Actually AdAway has a whitelist facility. I've added ******* to it but can still see all the ads, unlike when I use AdBlock Plus under Chrome on a PC. Guess that'll have to do, unless anyone knows of a more elegant solution..
Cheers

I've used AdAway for months now and didn't realize it had a whitelist. Good to know the feature exists, though I am unlikely EVER to use it.

lordmorphous said:
This may be due to the modified hosts file that is included with DSC. Look in /system/etc/ and find a file named hosts. Make a backup of it. Open the original in a text editor and remove everything but this line:
127.0.0.1 localhost
Leave a blank line at the end of the file, save and exit.
It may require a reboot to be effective. If it doesn't work, just revert to your backup.
Click to expand...
Click to collapse
thanks bro!!!

I stop using adaway due to this problem. SO many website can't be opened. MOdify the host file and now things work again or just click disable adaway and it will modify the host file for you
For the app, you might want to use lucky patcher to block the ads

lordmorphous said:
This may be due to the modified hosts file that is included with DSC. Look in /system/etc/ and find a file named hosts. Make a backup of it. Open the original in a text editor and remove everything but this line:
127.0.0.1 localhost
Leave a blank line at the end of the file, save and exit.
It may require a reboot to be effective. If it doesn't work, just revert to your backup.
Click to expand...
Click to collapse
Can't find system , can you be more specific , not able to find in file manager

pramodb said:
Can't find system , can you be more specific , not able to find in file manager
Click to expand...
Click to collapse
You need to be using a file manager that allows root functions, such as ES File Explorer, Root Explorer, etc. A non-root enabled file explorer won't allow you to see /system/

lordmorphous said:
You need to be using a file manager that allows root functions, such as ES File Explorer, Root Explorer, etc. A non-root enabled file explorer won't allow you to see /system/
Click to expand...
Click to collapse
Dude , I used es explorer and I'm still not able to find system

pramodb said:
Dude , I used es explorer and I'm still not able to find system
Click to expand...
Click to collapse
Did you enable the root explorer features of ES? I'm not sure where to go from here to help you. Finding /system/ is pretty basic stuff.
If you are familiar with using adb, you can use it to pull the file to your computer, edit it, and push it back into place. The command would be:
adb pull /system/etc/hosts
adb push hosts /system/etc/hosts
There are lots of guides available for using adb and it is a worthwhile tool to know and use.
I like Notepad ++ for editing files on my computer. It's free and simple to use.
I'm willing to help, but keep in mind that I no longer have this phone as I moved on to the S3 last July.

lordmorphous said:
Did you enable the root explorer features of ES? I'm not sure where to go from here to help you. Finding /system/ is pretty basic stuff.
If you are familiar with using adb, you can use it to pull the file to your computer, edit it, and push it back into place. The command would be:
adb pull /system/etc/hosts
adb push hosts /system/etc/hosts
There are lots of guides available for using adb and it is a worthwhile tool to know and use.
I like Notepad ++ for editing files on my computer. It's free and simple to use.
I'm willing to help, but keep in mind that I no longer have this phone as I moved on to the S3 last July.
Click to expand...
Click to collapse
Okay , got it but it is already in the way you said of should he , what do you suggest I do now

lordmorphous said:
Did you enable the root explorer features of ES? I'm not sure where to go from here to help you. Finding /system/ is pretty basic stuff.
If you are familiar with using adb, you can use it to pull the file to your computer, edit it, and push it back into place. The command would be:
adb pull /system/etc/hosts
adb push hosts /system/etc/hosts
There are lots of guides available for using adb and it is a worthwhile tool to know and use.
I like Notepad ++ for editing files on my computer. It's free and simple to use.
I'm willing to help, but keep in mind that I no longer have this phone as I moved on to the S3 last July.
Click to expand...
Click to collapse
Okay , I got it and its in the way you said it should be , so any suggestions. And BTW I'm using gt-p5100 on job 4.2.2 via CyanogenMod

Well, that ruled out the hosts file. I'm stumped now. If I think of something I'll post it.

lordmorphous said:
Well, that ruled out the hosts file. I'm stumped now. If I think of something I'll post it.
Click to expand...
Click to collapse
Hi
I had the same problem like others had so what i did , i just move the host file from system/etc to just system , now i can open adf and other sites but now i can see ads running in my apps and games . Now i want to manually edit the hosts file so that the ads won't run in apps & games but it won't block adf . So can u tell me which data to remove from the host file ??
Okay i just remove the adf (dot)ly and cdn(dot)adf(dot)ly from the hosts and now i can open adf and also no ads in the apps or games.
But has problem with the linkbucks , still can't open it and can't find it in the hosts also

easy video tutorial made by me
https://www.youtube.com/watch?v=Kaochdv3cbs

Hi
hi
after doing that i have this error
unable to connect proxy server
how to fix this?

Related

[Q] How to use hosts file to block ads

Adfree seems to not working anymore and i saw you can redirect ads to pull up blank webpages and such but i am still confused on the whole process.
How do i correctly place a host file on my phone?
how do i add a specific address for ads to use?
ray5780 said:
Adfree seems to not working anymore and i saw you can redirect ads to pull up blank webpages and such but i am still confused on the whole process.
How do i correctly place a host file on my phone?
how do i add a specific address for ads to use?
Click to expand...
Click to collapse
Create a text file. Name it:
hosts
No extension.
Popoulate it like this:
127.0.0.0 www.someaddy.com
The first is the IP associated with the url that follows it. That specific IP refers to the localhost, or your phones IP. Thus preventing the add from showing up because the app thinks the add url is localhost.
Put the file on your sd card and use any file explorer to put it in: /etc
Set permissions as 644.
XDA thread is:
forum.xda-developers.com/showthread.php?t=509997
XDA Premium via GingerTh3ory
My host file if you wanted one to go off of https://gist.github.com/543651c8d3bb7992f2be
It's a compilation of various adhosts found from sites and ones I found on my own.
Some of them I got from here: http://pgl.yoyo.org/adservers
I use 0.0.0.0 instead of 127.0.0.1 because 0.0.0.0 is an invalid address and will kill ads faster instead of clogging up your loopback address and timing out. I used to use 127.0.0.1 but it isn't as fast if you try timing both.
Also, you can block ads the same way on linux PCs and osx (/etc/hosts) or on windows (/windows/system32/drivers/etc/hosts). Also works on linux based routers or aftermarket firmware, but it's a PITA to permanently on a router since it wipes /etc/host changes every reboot (but how many times do you reboot a router anyways). Doing it on a pc you no longer need adblock in your browser.
Also, if you copy over your existing list, you might want to change back the owner/group and permissions to what they were. The default owner/group is root and permissions were 644. You can do that via the command line (using chown/chgrp/chmod) or via something like root explorer.
yareally said:
I use 0.0.0.0 instead of 127.0.0.1 because 0.0.0.0 is an invalid address and will kill ads faster instead of clogging up your loopback address and timing out. I used to use 127.0.0.1 but it isn't as fast if you try timing both.
Click to expand...
Click to collapse
+1
Nice tip, I'll try it.
XDA Premium via GingerTh3ory
+1 very nice
Thanks for the tip
Thanks, alot + 1 for the both of you
I have a big list of hosts in the hosts file of /etc and I'm still getting ads now. Any advice?
Mustang302LX said:
I have a big list of hosts in the hosts file of /etc and I'm still getting ads now. Any advice?
Click to expand...
Click to collapse
which list? the one I gave that I use or yours?
it's the list of thousands and thousands from the adfree app. I'd think with the app being uninstalled the hosts file should still work. But I'll try your list now too.
So once I download the file I can just place it on my SD card and place it in the /etc folder replacing the current hosts file and all should be good?
Edit: I just did that and still have ads. *sigh* oh well I guess.
Might have to restart your phone. Generally you dont have to do something like that, but you might have to clear out your dns cache to have it work. You can test to see if it's working for sure by adding in your own made up host for something. For example, add the following to the host file:
74.125.225.80 my.test.url
then open up your web browser and type http://my.test.url
if it goes to google.com, your host file is blocking ads (74.125.225.80 is the url for google.com). Make sure the url is exactly like that, some browsers might want to attach .com or whatever to it.
EDIT: I also updated the list above too. https://gist.github.com/543651c8d3bb7992f2be
md5 sum: c5d52a08166ff912702414ce4188dab8
If I remember or someone reminds me, I'll push updates to it every now and then when I add to my list via git, since github is nice and lets you do that and continuously update the gist link.
Also if you're on windows and you copied that list there first, make sure you change the line endings to unix type. It wont work on your phone if you don't. Any decent editor will allow you to change it (something not notepad from microsoft). http://www.flos-freeware.ch/notepad2.html
I downloaded it to my mac to unzip the file. Then i placed it on my SD card and moved it to /etc overwriting the hosts file and changed the permissions. Have rebooted and all sorts of stuff. I didn't modify the file though on my mac though.
Mustang302LX said:
I downloaded it to my mac to unzip the file. Then i placed it on my SD card and moved it to /etc overwriting the hosts file and changed the permissions. Have rebooted and all sorts of stuff. I didn't modify the file though on my mac though.
Click to expand...
Click to collapse
Macs screw up line endings too with \r instead of \n. Might want to open it in a text editor that allows you to switch between line endings just to be sure. It might have overwrote them when downloading. The file size of it should be around ~607KB unzipped if it's correct. Something like textmate or maybe the built in text edit should have the ability http://macromates.com/
You can also doublecheck the file with md5sum. The unzipped file should be c5d52a08166ff912702414ce4188dab8
Had to come into work so no access to my computer till later tonight. I fixed my market issue by switching ROMs so I'll try this later. I originally downloaded the file to my phone but it was a zip file so I couldn't extract it. So I figured I'd extract on my computer and just transfer over but apparently that doesn't work lol. Thanks for putting up with my saeemingly idiodic questions!
No problem, lol. Just make sure the line endings are in unix (\n) format.
Added around 300 or so more adservers to the list just now.
https://gist.github.com/543651c8d3bb7992f2be
Anyone who finds anymore, feel free to post and I will add them
That list is more geared towards mobile, but I also have a more desktop geared list without the added mobile ad servers if anyone is interested.
I would imagine you started with or imported all the ones from MVPS.org? Considering it's probably the most common used hosts file resource on the interwebz although mainly for desktops.
http://winhelp2002.mvps.org/hosts.txt
Absolute_Zero said:
I would imagine you started with or imported all the ones from MVPS.org? Considering it's probably the most common used hosts file resource on the interwebz although mainly for desktops.
http://winhelp2002.mvps.org/hosts.txt
Click to expand...
Click to collapse
Not that particular site, but same concept. I used http://pgl.yoyo.org/adservers/ + ones ive added in the past 5 or so years. I'll do a sort -u on it and see if I have any missing though.
edit: that site seems to be having issues 503 error
My list for the desktop though:
https://gist.github.com/8b5325d5150977e28152
Added the list (removing any duplicates) given by absolute_zero from http://winhelp2002.mvps.org/hosts.txt
thanks!
https://gist.github.com/543651c8d3bb7992f2be (mobile host blocking)
https://gist.github.com/8b5325d5150977e28152 (desktop host blocking)
yareally said:
Added the list (removing any duplicates) given by absolute_zero from http://winhelp2002.mvps.org/hosts.txt
thanks!
https://gist.github.com/543651c8d3bb7992f2be (mobile host blocking)
https://gist.github.com/8b5325d5150977e28152 (desktop host blocking)
Click to expand...
Click to collapse
Thanks man. They should sticky this.
Sent from my HTC Thunderbolt
@yareally - Thanks for the kick ass host blocking, I have a question, How do I update host once a week. I mean, and I don't want copy and paste seems too much hassle for me.
Does the adfree app have ability add the url link to download from your website?

Block Ads

Hey guys I am sharing these host files to block ads
**Disclaimer**
**I Take NO Responsibility in bricking your device**
**If there is any connectivity problems, replace the old hosts file**
Needed:
Rooted Device
Root Explorer (Or another file manager that has /system/ directory access)
Attached hosts File
Installation
Step 1: Download and unpack hosts.zip.
Step 1: Copy the hosts file to /system/etc/.
Step 1: Reboot and enjoy.
What it does?
The Hosts file contains the mappings of IP addresses to host names. This file is loaded into memory at startup, then Android checks the Hosts file before it queries any DNS servers, which enables it to override addresses in the DNS. This prevents access to the listed sites by redirecting any connection attempts back to the local (your) phone. Another feature of the HOSTS file is its ability to block other apps from displaying ads .
Or you download/install "adfree" from the market.
hasjee said:
Or you download/install "adfree" from the market.
Click to expand...
Click to collapse
For me maybe it is better this way. 1 app less but the same thing, and im not depending of loosing adfree if i delete app.
Sent from my GT-I5800
alen1901 said:
For me maybe it is better this way. 1 app less but the same thing, and im not depending of loosing adfree if i delete app.
Sent from my GT-I5800
Click to expand...
Click to collapse
u can uninstall addfree right after you aply it
Yes you can remove adfree after placing the host files.
swapnilraj said:
Yes you can remove adfree after placing the host files.
Click to expand...
Click to collapse
Really? One time i tried that, but ads came back. Nevermind, i dont use it.
Sent from my GT-I5800
Thank you!! I've been looking for it for a long time!

[Q] ICS Hosts file doesn't work

Hello Everybody,
Last week i upgraded my SGS2 to 4.0.3, and i made a full reset, because some minor things did not work as expected. Now i got the stock firmware (I9100XXLPQ) with The CF root kernel (3.0.15-I9100XXLPQ-CL223505) on it.
Now my problem. AdFree does not work anymore. AdAway and manually copy the hosts file to /etc/ neither. Of course i rebooted my phone several times. hope i did not make any other noob mistake... I tried different hosts files, one of them worked as expected on my friends HTC Sensation.
Someone got any help for me? im freakin' out because of these advertisements^^
Wish you a nice day and thx 4 all helpful answers
ad free
Working for me on CM9.
You might need to check the settings in 'Superuser'.
install adfree back and do everything like instructed... and if it still doesnt work, try to check the hosts file size? if its WAY TOO SMALL then u did something wrong and Adfree didnt modify ur host file correctly
it still does not work maybe there are some local files that i have to delete? (like dns cache which clears by rebooting the phone)
Adfree doesn't seem to work on ICS. Try adaway.
Make a copy of the hosts file .
Open hosts file on phone with notepad delete all the data save and close .
Run one of the add apps and see what happens to the file .
jje
I deleted everything i "modded" with the hosts file, downloaded AdAway and now it seems to work. I think the hosts file from AdAway is very incomplete, but manually adding urls works now.
I couldnt figure out the problem. Maybe you just have to do it twice
Does anyone know how to get the advertisements urls from the apps? i want to block them manually.
thx 4 all the ansers.
I too noticed AdFree is not working on ICS, currently on the SG2 Epic 4G Touch FF18 update. Checked hosts file and it is updated with entries. I tested with manual entry and confirmed the hosts file works, but it seems like apps are bypassing it.
Control Test:
1. open www.purple.com (simple page that loads purple, handy for testing internet routing) - page loaded without issue
2. updated default hosts file with "127.0.0.1 www.purple.com"
3. open www.purple.com - receive "Webpage not available"
App Test:
1. Angry Birds in game ad still shows up
2. click ad, browser opens to "Webpage not available" - This proves hosts file is working, but because the ad still shows up in game is what makes me think apps are somehow bypassing hosts file...
I installed AdAway and when he created the hosts file can not and he said "lack of space on the partition!
Attempt to modify the hosts file in the preferences for target / data / data / hosts "
johnny8910 said:
Working for me on CM9.
You might need to check the settings in 'Superuser'.
Click to expand...
Click to collapse
Thanks.. I had to revoke the permissions from SuperUser and re-started Ad-away. The app asked for permission again and this time manage to write the host files

I cannot replace hosts file in /system partition, I have root access.

I'd like to replace the hosts file in the /system partition in order to get rid of the annoying in app ads that keep interrupting whatever task I'm perfoming on the phone, mostly when I'm watching a movie/video. Every 5 minutes or so the adds are displayed.
I'm able to rename the hosts in the /system partition but after that I'm unable to paste the one I have.
The bootloader is unlocked.
What workaround is there?
Install Busybox before hand
Open terminal , type
Code:
-su
-mount -o rw,remount,rw /system
-busybox cp a b
the last command copies file from a to b
PS: If your device is HTC , you have to S-Off before making changes to your android.
If you want to make changes to your android without S-Off , you can try the above commands in Custom CWM of TWRP
---------- Post added at 01:41 PM ---------- Previous post was at 01:39 PM ----------
oidicle said:
I'd like to replace the hosts file in the /system partition in order to get rid of the annoying in app ads that keep interrupting whatever task I'm perfoming on the phone, mostly when I'm watching a movie/video. Every 5 minutes or so the adds are displayed.
I'm able to rename the hosts in the /system partition but after that I'm unable to paste the one I have.
The bootloader is unlocked.
What workaround is there?
Click to expand...
Click to collapse
Also to get rid of Ads , instead of going through so much , Install VLC player , it is Ad Free
Akash,
Firstly, Thank you for your reply and effort.
Secondly, I'm a newbie, maybe you haven't noticed the number of posts i have to my name. I used ES File Explorer to try copying the hosts file to the /system/etc location (as I read on some other site). So please don't treat me like a anything but a newbie. I've never used busybox and terminal before, so I can't even begin to know where or how to start following your instruction, as it isn't detailed, specifically that 'copy from and to' command without the pathname structure, but I'm a quick learner as long as the instructions are clear.
In the playstore there a few apps with 'busybox' and 'terminal' names to them from different developers, so which is which?
About the ads; I mean to remove ads from the whole device, not just for my video app, as I mentioned, the video app ads are what annoy me most, but not the sole reason for my trying to do this. So, sorry to say, but Vlc is not the solution for me because I use Mx Player and I'm not willing to give up on it(to each, his taste).
I'm running lollipop 5.1 on an Itel 1508 phone.
oidicle said:
Akash,
Firstly, Thank you for your reply and effort.
Secondly, I'm a newbie, maybe you haven't noticed the number of posts i have to my name. I used ES File Explorer to try copying the hosts file to the /system/etc location (as I read on some other site). So please don't treat me like a anything but a newbie. I've never used busybox and terminal before, so I can't even begin to know where or how to start following your instruction, as it isn't detailed, specifically that 'copy from and to' command without the pathname structure, but I'm a quick learner as long as the instructions are clear.
In the playstore there a few apps with 'busybox' and 'terminal' names to them from different developers, so which is which?
About the ads; I mean to remove ads from the whole device, not just for my video app, as I mentioned, the video app ads are what annoy me most, but not the sole reason for my trying to do this. So, sorry to say, but Vlc is not the solution for me because I use Mx Player and I'm not willing to give up on it(to each, his taste).
I'm running lollipop 5.1 on an Itel 1508 phone.
Click to expand...
Click to collapse
Have you tried mount system partition r/w first then copy hosts files.
I don't know how...
Please take me through the process of doing that.
oidicle said:
Please take me through the process of doing that.
Click to expand...
Click to collapse
Go to root partition click on system folder and go to properties and give permission as r/w.
It already is R/W
I just checked the folder properties and, according to ES File Explorer, it already is readable and writable.

Android System ignores hosts file

Hey guys,
I have a problem with editing the hosts file on Android.
At first, some general information: My Phone is a rooted Samsung Galaxy S6 with Android 7.0 and for editing I use the 'Total Commander for Android' tool by C. Ghisler (Version 2.90).
So here's my problem: I put together a huge hosts file for my Windows PC (some own entries, a lot of entries copied from someonewhocares.org/hosts) and wanted to copy the entries from my PC to my phone. So I duplicated the file, used Notepad++ and did " Edit --> EOL Conversion --> Unix (LF) ". I then sent the file via e-mail, so I could easily download it from my phone. Said and done, I downloaded it and put it into /system/etc , but when I try to visit one of the sites in the hosts file, it works although it should'nt work.
When I open the hosts file on my phone via total commander and add an entry manually, it works (site is unavailable after doing so).
But if copied into the file (even in Unix format) the system will just ignore the entry.
I have a list with a little less than 10,000 entries, I can't type them all on my phone. What can I do now, so that the Android system will use the hosts file as it should?
Thank you very much
Sieefi
Sieefi said:
Hey guys,
I have a problem with editing the hosts file on Android.
At first, some general information: My Phone is a rooted Samsung Galaxy S6 with Android 7.0 and for editing I use the 'Total Commander for Android' tool by C. Ghisler (Version 2.90).
So here's my problem: I put together a huge hosts file for my Windows PC (some own entries, a lot of entries copied from someonewhocares.org/hosts) and wanted to copy the entries from my PC to my phone. So I duplicated the file, used Notepad++ and did " Edit --> EOL Conversion --> Unix (LF) ". I then sent the file via e-mail, so I could easily download it from my phone. Said and done, I downloaded it and put it into /system/etc , but when I try to visit one of the sites in the hosts file, it works although it should'nt work.
When I open the hosts file on my phone via total commander and add an entry manually, it works (site is unavailable after doing so).
But if copied into the file (even in Unix format) the system will just ignore the entry.
I have a list with a little less than 10,000 entries, I can't type them all on my phone. What can I do now, so that the Android system will use the hosts file as it should?
Thank you very much
Sieefi
Click to expand...
Click to collapse
Nevermind. Problem solved.
Sieefi said:
Nevermind. Problem solved.
Click to expand...
Click to collapse
Please explain how you solved it, that may help others with the same issue(seek help and provide help ). Thanks!
strongst said:
Please explain how you solved it, that may help others with the same issue(seek help and provide help ). Thanks!
Click to expand...
Click to collapse
Oh, that is, in fact, pretty simple. It was pretty late when I did this yesterday and I was tired but wanted to get this done before going to sleep. So I made some stupid mistake. I don't know what it was, might have been that I reopened the file in windows editor, might be that I copied the wrong file, I really don't know.
Did it again today (this time without making a stupid mistake) and it works like a charm.
So for everyone who wants to do this, here's a step-by-step instruction (works with Total Commander or with ES File Explorer and should also work with every other root file explorer)
1. Edit your hosts file on your Windows (or Apple) PC as you wish
2. Copy the hosts file and put the duplicate into any other folder on your PC (just not the one with the original hosts file )
3. Open the duplicate with Notepad++ and change the format into Unix (Edit --> EOL Conversion --> Unix (LF))
To control whether everything is changed as necessary you can show the format of the line breaks by clicking View --> Show Symbol --> Show End of Line
4. Move the file to your Dropbox or OneDrive or send it to yourself via mail or, or, or...
5. On your Smartphone copy or move (as you wish) the file from your selected file exchange system into /system/etc
6. Done.
Of course this is only possible, if your Smartphone is rooted and your file explorer has root access.
If your using a Linux system and want to copy the hosts file from your PC to your smartphone you can leave out the third step because the file will already be written in Unix format

Categories

Resources