This simply is the DIY method.
...some folks like to know what happens under the hood and discuss it
Regards,
scholbert
This simply is the DIY method.
This simply is the DIY method.
...some folks like to know what happens under the hood and discuss it
Regards,
scholbert
Hello,
this makes me crazy. I tried to remount the filesystem rw, no output error so I guess it's ok.
But each time I try to copy the hosts file within the /etc, it gives me a "out of memory" error.
Anyone got a clue?
Thanks,
nico
Hello. Isn't there any update for this huge /etc/hosts file ?
I realized many ads are escaping the localhost jail.
How could I track, catch & report them ?
Any netstat logger ?
Thank you very much
Is this still the best method for blocking ads? if so are their any upto date host lists?
Since i finally got it working then i might as well describe here how i went about:Hi guys,
Have a i5800 with stock firmware, nothing flashed changed.
I changed my phone to usb developnemt mode.
I ran z4root with temporary root option(since the unrooting is not supported yet). It says that i am rooted til next reboot & Superuser app appears(whatever that means).
I installed the development kit with all the tools including adb & added them to the path(Windows xp).
I am able to run adb & i am able to start adb shell & browse phones directories but that is unfortunately it.
[adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system] gives me: mount: Operation not permitted
Starting adb shell & typing [su] returns: su: not found
So now what? What am i missing? How do i know if i´m properly rooted?
I suspect i´m not the only one who is struggling with those basic issues. Hope someone can help me on this one.
C:\AndroidSDK\tools>adb push hosts.for.mobile.txt /etc/hosts
failed to copy 'hosts.for.mobile.txt' to '/etc/hosts': Directory not empty
C:\AndroidSDK\tools>adb push hosts.for.mobile.txt /etc/hosts
failed to copy 'hosts.for.mobile.txt' to '/etc/hosts': Directory not empty
C:\AndroidSDK\tools>adb remount
C:\AndroidSDK\tools>adb push hosts.for.mobile.txt /etc/hosts
failed to copy 'hosts.for.mobile.txt' to '/etc/hosts': Read-only file system
C:\AndroidSDK\tools>adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3
/system
C:\AndroidSDK\tools>adb push hosts.for.mobile.txt /etc/hosts
failed to copy 'hosts.for.mobile.txt' to '/etc/hosts': Directory not empty
C:\AndroidSDK\tools>
Hey
If you are not getting any luck with AdFree, I made a hosts file merger that you can use to merge a number of hosts files, with info on where to get the various hosts files, and instructions on how to apply it (manual method - requires rooted phone).
There is also a link to a fresh merged hosts file I did yesterday, which you can download and apply:
http://mathdotrandom.blogspot.com/2010/12/block-ads-on-pc-android-with-uber-hosts.html
You can use the hosts merger app to make your own, clean hosts file whenever you want!
adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
adb push hosts.for.mobile.txt /etc/hosts
adb shell mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system