Home | History | Annotate | Download | only in bin

Lines Matching refs:adb_shell

62 function adb_shell {
94 local _ABI=$(adb_shell getprop ro.product.cpu.abi)
187 if ! adb_shell ls -l /system/bin/app_process | grep -o '\->.*app_process' >&/dev/null; then
189 adb_shell mv /system/bin/app_process.real /system/bin/app_process
190 adb_shell rm /system/bin/asanwrapper
191 elif ! adb_shell ls -l /system/bin/app_process64.real | grep -o 'No such file or directory' >&/dev/null; then
193 adb_shell mv /system/bin/app_process32.real /system/bin/app_process32
194 adb_shell mv /system/bin/app_process64.real /system/bin/app_process64
195 adb_shell rm /system/bin/asanwrapper
196 adb_shell rm /system/bin/asanwrapper64
199 adb_shell rm /system/bin/app_process.wrap
200 adb_shell rm /system/bin/asanwrapper
201 adb_shell rm /system/bin/app_process
202 adb_shell ln -s /system/bin/app_process32 /system/bin/app_process
206 adb_shell stop
207 adb_shell start
211 adb_shell rm /system/lib/$ASAN_RT
254 RELEASE=$(adb_shell getprop ro.build.version.release)
260 if ! adb_shell ls -l /system/bin/app_process | grep -o '\->.*app_process' >&/dev/null; then
264 adb_shell mv /system/bin/app_process.real /system/bin/app_process
268 adb_shell mv /system/bin/app_process /system/bin/app_process32
269 adb_shell ln -s /system/bin/app_process32 /system/bin/app_process
376 adb_shell chown root.shell "$_to/$_basename"
378 adb_shell chmod "$_mode" "$_to/$_basename"
381 adb_shell chcon "$_context" "$_to/$_basename"
389 if adb_shell getenforce | grep Enforcing >/dev/null; then
393 adb_shell setenforce 0
419 adb_shell rm /system/bin/app_process
420 adb_shell ln -s /system/bin/app_process.wrap /system/bin/app_process
423 adb_shell cp /system/bin/sh /system/bin/sh-from-zygote
424 adb_shell chcon $CTX /system/bin/sh-from-zygote
427 adb_shell setenforce 1
431 adb_shell stop
432 adb_shell start