AdBlock
Has anyone tried to run the adblock script on their phones yet? I keep trying it on mine, and making some minor modifications to the script and to the method of running it, but I cant get it to run.
Unlike on the G1 (and others), there seems to be no hosts file in /system/etc. Was it moved to another location (I can't find it). I manually created a hosts file and moved it to /system/etc, but it did not block anything.
Every time I have tried it, I get the following:
# sh adblock.sh
sh adblock.sh
: not found
: not found
: not found
: not found
: not found
: not found
ADBLOCK: Remounting /system to read-write
mount: No such file or directory
: not found
ADBLOCK: Testing for Internet Connection...
adblock.sh: 139: Syntax error: end of file unexpected (expecting "then")
# busybox sh adblock.sh
busybox sh adblock.sh
: not found line 23:
: not found line 27:
: not found line 32:
: not found line 34:
: not found line 36:
: not found line 41:
ADBLOCK: Remounting /system to read-write
mount: No such file or directory
: not found line 44:
ADBLOCK: Testing for Internet Connection...
adblock.sh: line 139: syntax error: unexpected end of file (expecting "then")\
This is the same one I used on my G1 (without any modifications). Looks like it is bombing out right at the end, but not sure what needs to be changed to get it running.
HTC Droid DNA
UKB DNA 1.2.1
Cubed Kernel 2.4.2
Verizon Galaxy Nexus - Retired while testing DNA
Samsung Vibrant - Shattered screen - Retired
T-Mobile Bronze G1 - Retired
DropBox
|