talhaco / droidwall

Automatically exported from code.google.com/p/droidwall
0 stars 0 forks source link

Issue while applying iptable-rules #137

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When you try to enable the rules you get the following error message:

"Could not acquire root access. You need a rooted phone to run DroidWall.

If this phone is already rooted, please make sure DroidWall has ennough 
permissions to execute the "su" command.

Error message: "java.io.IOException: Error running exec().Command: [chmod, 777, 
/data/data/com.googlecode.droidwall.free/cache/droidwall.sh] Working Directory: 
null Environment: null"

I already tried to flash complete from the scratch, but it didn't resolve the 
problem. Su is definately working!

When I try this procedure on Terminal I get an symlink loop while opening 
'droidwall.sh' with vi:

# su app_67
$ su
# chmod 777 /data/data/com.googlecode.droidwall.free/cache/droidwall.sh
# cd /data/data/com.googlecode.droidwall.free/cache
# ls
busybox_g1    droidwall.sh  iptables_n1
# vi droidwall.sh
vi: symbolic link loop
# ls -l
-rwx--x--x    1 app_67   app_67      117256 Apr 18 19:44 busybox_g1
-rwxrwxrwx    1 app_67   app_67           0 Apr 18 20:32 droidwall.sh
-rw-------    1 app_67   app_67      134308 Apr 18 20:33 iptables_n1

It looks like the permission has been set correctly but there's some error with 
the symlink? (Sorry, but I haven't the file utility for more informations) I've 
deleted this files already and they are recreated on startup but I get 
everytime the same issue.

Im using CyanogenMod 7 (CyanogenMod-7-04102011-NIGHTLY-GalaxyS) on a Samsung 
Galaxy S i9000. Could this be a Bug in CM7? I must also admit that I've moved 
DroidWall to SD.

Original issue reported on code.google.com by NHirschauer@gmail.com on 18 Apr 2011 at 6:48

GoogleCodeExporter commented 8 years ago
Can you please try to install DW on the internal memory rather than in the SD 
card? DroidWall will generally not work on the SD.

Original comment by rodrigo...@gmail.com on 18 Apr 2011 at 7:09

GoogleCodeExporter commented 8 years ago
Sorry, but I deleted all cached files and data and installed it again, on the 
phone, but it doesn't work. :/ I'm still getting the same error.

Original comment by NHirschauer@gmail.com on 19 Apr 2011 at 8:30

GoogleCodeExporter commented 8 years ago
Can you please check if this is still happening with DroidWall 1.5.1 released 
today? Thanks!

Original comment by rodrigo...@gmail.com on 28 Apr 2011 at 7:02

GoogleCodeExporter commented 8 years ago
Sorry, I've forgotten this Bugreport.. YES! Thanks, it's running fine!

Original comment by NHirschauer@gmail.com on 19 May 2011 at 11:39

GoogleCodeExporter commented 8 years ago
:)

Original comment by rodrigo...@gmail.com on 22 May 2011 at 10:04