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
375 adb_shell chown root.shell "$_to/$_basename"
377 adb_shell chmod "$_mode" "$_to/$_basename"
380 adb_shell chcon "$_context" "$_to/$_basename"
388 if adb_shell getenforce | grep Enforcing >/dev/null; then
392 adb_shell setenforce 0
413 adb_shell ln -s $ASAN_RT /system/lib/$ASAN_RT_SYMLINK
414 adb_shell ln -s $ASAN_RT64 /system/lib64/$ASAN_RT_SYMLINK
421 adb_shell ln -s $ASAN_RT /system/lib/$ASAN_RT_SYMLINK
423 adb_shell rm /system/bin/app_process
424 adb_shell ln -s /system/bin/app_process.wrap /system/bin/app_process
427 adb_shell cp /system/bin/sh /system/bin/sh-from-zygote
428 adb_shell chcon $CTX /system/bin/sh-from-zygote
431 adb_shell setenforce 1
435 adb_shell stop
436 adb_shell start