From c6a8c7f73091f39e2ac84b48e22d963e745dd6c5 Mon Sep 17 00:00:00 2001 From: Greg Alexander Date: Sun, 21 Dec 2014 22:55:58 -0500 Subject: [PATCH] now that it connects to simplesshd (which is not root), we have to use am start instead of pm install --- doit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doit b/doit index a8f1ba2..2d4407b 100755 --- a/doit +++ b/doit @@ -3,4 +3,4 @@ mv libs/armeabi/scp libs/armeabi/libscp.so && mv libs/armeabi/sftp-server libs/armeabi/libsftp-server.so && mv libs/armeabi/rsync libs/armeabi/librsync.so && ant debug && -cat bin/SimpleSSHD-debug.apk | ssh roach 'cat > /sdcard/buh.apk; source .profile; pm install -r /sdcard/buh.apk' +cat bin/SimpleSSHD-debug.apk | ssh roach 'cat > /sdcard/buh.apk; source .profile; am start --user 0 -d file:///sdcard/buh.apk'