sotertsai / android-openvpn-installer

Automatically exported from code.google.com/p/android-openvpn-installer
0 stars 0 forks source link

Installation fails on Sony Ericsson X10 Mini Pro #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On pressing "Install", and it completing it shows "Failed to install, please 
check log".

Log shows as follows:

mountPoint /dev/block/mtdblock0 on /system type yaffs2 [ro]
/system is mounted read-only
trying to remount read-write
executing 'su -c mount -o remount,rw /dev/block/mtdblock0 /system'
exit code 0
copying openvpn to /system/bin/openvpn
executing 'su -c cp '/sdcard/openvpn.mem30811tmp' '/system/bin/openvpn'; chmod 
555 '/system/bin/openvpn'
STDERR: cp: not found
STDERR: Unable to chmod /system/bin/openvpn: No such file or directory
exit code 10
making binary executable
executing 'su -c chmod 555 '/system/bin/openvpn''
STDERR: Unable to chmod /system/bin/openvpn: No such file or directory
exit code 10
/system was mounted read-read-only
trying to remount read-only
executing 'su -c mount -o remount,ro /dev/block/mtdblock0 /system'
exit code 0
Success!

This appears to be an issue where the cp command doesn't exist in the busybox 
on the X10's, however cat $IN >> $OUT does work.

Original issue reported on code.google.com by jon@sprig.gs on 14 Oct 2010 at 9:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I've noticed that Titanium Backup provides the mechanism to download a new 
busybox specifically for use with their application. Would it be worth 
providing the same option?

Original comment by jon@sprig.gs on 30 Oct 2010 at 1:18

GoogleCodeExporter commented 9 years ago
same Issue. Installed busybox using Titanium Backup...

Original comment by nicki...@googlemail.com on 24 Nov 2010 at 9:56