Home | History | Annotate | Download | only in scripts

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
385 adb_shell chown root.shell "$_to/$_basename"
387 adb_shell chmod "$_mode" "$_to/$_basename"
390 adb_shell chcon "$_context" "$_to/$_basename"
398 if adb_shell getenforce | grep Enforcing >/dev/null; then
402 adb_shell setenforce 0
428 adb_shell rm /system/bin/app_process
429 adb_shell ln -s /system/bin/app_process.wrap /system/bin/app_process
432 adb_shell cp /system/bin/sh /system/bin/sh-from-zygote
433 adb_shell chcon $CTX /system/bin/sh-from-zygote
438 adb_shell mv /system/etc/ld.config.txt /system/etc/ld.config.txt.saved
442 adb_shell setenforce 1
446 adb_shell stop
447 adb_shell start