Still not working for me, when I try to execute the script manually I get this error again:
# sh 999remount-and-swap
sh 999remount-and-swap
: not found
999remount-and-swap: 15: Syntax error: word unexpected
#
I have just reinstalled the full ROM and then installed the 2.5.2 fix update but there is no chance to get this script running. I always receive the mentioned error above
I rechecked if /sdcard/phonePrioritizer/script.txt exists and yes, it is there.
Maybe this is a timing issue on some sdcards, as I have tried to run your script sdswap200.sh which gave me this output:
sh sdswap200.sh
: not found
WORKING PLEASE WAIT A MINUTE
: not found
Remounting System to allow WRITE
in /proc/mountsd /system
Creating SWAP on SDCARD
200000+0 records in
200000+0 records out
204800000 bytes (195.3MB) copied, 32.919494 seconds, 5.9MB/s
: directory nonexistenteate /proc/sys/vm/swappiness
BusyBox v1.16.2androidfull (2010-08-01 14:57:25 EDT) multi-call binary
Usage: swapon [-a] [DEVICE]
Start swapping on DEVICE
Options:
-a Start swapping on all swap devices
DONE CREATING, ENJOY MORE RAM
: not found
#
But when I add these lines line by line via adb with copy and paste everything works well and in the end I have sdswap active.
# sh 999remount-and-swap
sh 999remount-and-swap
: not found
999remount-and-swap: 15: Syntax error: word unexpected
#
I have just reinstalled the full ROM and then installed the 2.5.2 fix update but there is no chance to get this script running. I always receive the mentioned error above
I rechecked if /sdcard/phonePrioritizer/script.txt exists and yes, it is there.
Maybe this is a timing issue on some sdcards, as I have tried to run your script sdswap200.sh which gave me this output:
sh sdswap200.sh
: not found
WORKING PLEASE WAIT A MINUTE
: not found
Remounting System to allow WRITE
in /proc/mountsd /system
Creating SWAP on SDCARD
200000+0 records in
200000+0 records out
204800000 bytes (195.3MB) copied, 32.919494 seconds, 5.9MB/s
: directory nonexistenteate /proc/sys/vm/swappiness
BusyBox v1.16.2androidfull (2010-08-01 14:57:25 EDT) multi-call binary
Usage: swapon [-a] [DEVICE]
Start swapping on DEVICE
Options:
-a Start swapping on all swap devices
DONE CREATING, ENJOY MORE RAM
: not found
#
But when I add these lines line by line via adb with copy and paste everything works well and in the end I have sdswap active.
Last edited: