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)
184 RELEASE=$(adb_shell getprop ro.build.version.release)
198 if ! adb_shell ls -l /system/bin/app_process | grep -o '\->.*app_process' >&/dev/null; then
200 adb_shell mv /system/bin/app_process.real /system/bin/app_process
201 adb_shell rm /system/bin/asanwrapper
202 elif ! adb_shell ls -l /system/bin/app_process64.real | grep -o 'No such file or directory' >&/dev/null; then
204 adb_shell mv /system/bin/app_process32.real /system/bin/app_process32
205 adb_shell mv /system/bin/app_process64.real /system/bin/app_process64
206 adb_shell rm /system/bin/asanwrapper
207 adb_shell rm /system/bin/asanwrapper64
210 adb_shell rm /system/bin/app_process.wrap
211 adb_shell rm /system/bin/asanwrapper
212 adb_shell rm /system/bin/app_process
213 adb_shell ln -s /system/bin/app_process32 /system/bin/app_process
217 adb_shell mv /system/etc/ld.config.txt.saved /system/etc/ld.config.txt
221 adb_shell stop
222 adb_shell start
226 adb_shell rm /system/lib/$ASAN_RT
269 if ! adb_shell ls -l /system/bin/app_process | grep -o '\->.*app_process' >&/dev/null; then
273 adb_shell mv /system/bin/app_process.real /system/bin/app_process
277 adb_shell mv /system/bin/app_process /system/bin/app_process32
278 adb_shell ln -s /system/bin/app_process32 /system/bin/app_process
384 adb_shell chown root.shell "$_to/$_basename"
386 adb_shell chmod "$_mode" "$_to/$_basename"
389 adb_shell chcon "$_context" "$_to/$_basename"
397 if adb_shell getenforce | grep Enforcing >/dev/null; then
401 adb_shell setenforce 0
422 adb_shell ln -sf $ASAN_RT /system/lib/$ASAN_RT_SYMLINK
423 adb_shell ln -sf $ASAN_RT64 /system/lib64/$ASAN_RT_SYMLINK
430 adb_shell ln -sf $ASAN_RT /system/lib/$ASAN_RT_SYMLINK
432 adb_shell rm /system/bin/app_process
433 adb_shell ln -s /system/bin/app_process.wrap /system/bin/app_process
436 adb_shell cp /system/bin/sh /system/bin/sh-from-zygote
437 adb_shell chcon $CTX /system/bin/sh-from-zygote
441 adb_shell mv /system/etc/ld.config.txt /system/etc/ld.config.txt.saved
445 adb_shell setenforce 1
449 adb_shell stop
450 adb_shell start