java - Move downloaded file into system root directory in Android -
i'm using roottools try , move , file that's downloading downloads folder system directory
command command = new command(0, "cp -f " + environment.directory_downloads +"/old.html" + " /system/new.html"); roottools.getshell(true).add(command);
but whatever reason, doesn't work .
any ideas?
the reason wasn't working because /system
mounted read-only. had remount this
mount -o remount,rw /system
Comments
Post a Comment