Lines Matching full:bin
1 #!/bin/bash
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…
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
238 elif [[ $(basename "$HERE") == "bin" ]]; then
269 if ! adb_shell ls -l /system/bin/app_process | grep -o '\->.*app_process' >&/dev/null; then
271 if adb_pull /system/bin/app_process.real /dev/null >&/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
285 adb_pull /system/bin/app_process32 "$TMPDIROLD" || true
286 adb_pull /system/bin/app_process32.real "$TMPDIROLD" || true
287 adb_pull /system/bin/app_process64 "$TMPDIROLD" || true
288 adb_pull /system/bin/app_process64.real "$TMPDIROLD" || true
289 adb_pull /system/bin/asanwrapper "$TMPDIROLD" || true
290 adb_pull /system/bin/asanwrapper64 "$TMPDIROLD" || true
293 adb_pull /system/bin/app_process32 "$TMPDIROLD" || true
294 adb_pull /system/bin/app_process.wrap "$TMPDIROLD" || true
295 adb_pull /system/bin/asanwrapper "$TMPDIROLD" || true
326 #!/system/bin/sh-from-zygote
352 generate_zygote_wrapper "app_process32" "/system/bin/app_process32.real" "$ASAN_RT"
353 generate_zygote_wrapper "app_process64" "/system/bin/app_process64.real" "$ASAN_RT64"
356 generate_zygote_wrapper "app_process.wrap" "/system/bin/app_process32" "$ASAN_RT"
362 #!/system/bin/sh
370 #!/system/bin/sh
416 install "$TMPDIR/app_process32" /system/bin 755 $CTX
417 install "$TMPDIR/app_process32.real" /system/bin 755 $CTX
418 install "$TMPDIR/app_process64" /system/bin 755 $CTX
419 install "$TMPDIR/app_process64.real" /system/bin 755 $CTX
420 install "$TMPDIR/asanwrapper" /system/bin 755
421 install "$TMPDIR/asanwrapper64" /system/bin 755
424 install "$TMPDIR/app_process32" /system/bin 755 $CTX
425 install "$TMPDIR/app_process.wrap" /system/bin 755 $CTX
426 install "$TMPDIR/asanwrapper" /system/bin 755 $CTX
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