ADB CP Command not found
How to use CP command in Android Debug Bridge (adb)?
Recently I root my android and I am trying to use the CP command to copy files from the system and data folders and althought im logged in as SU to the terminal but I keep getting :
CP: Not found.
The solutions is you need to have busybox tools installed in your mobile.
You can check if its there or not by using busybox commands.
cp is built in command but not symbolic linked.
Instead of just:
cp abc def
use:
busybox cp abc def
If you find busybox not found error then you will need to install the busybox shell tools to your Android device.
To Install busybox
- Download busybox
- Type 'adb remount'
- Type 'adb push busybox /system/xbin/busybox'
- Type 'adb shell chmod 4755 /system/xbin/busybox'
- Type 'adb shell /system/xbin/busybox --install -s /system/xbin/'
Recently I root my android and I am trying to use the CP command to copy files from the system and data folders and althought im logged in as SU to the terminal but I keep getting :
CP: Not found.
The solutions is you need to have busybox tools installed in your mobile.
You can check if its there or not by using busybox commands.
cp is built in command but not symbolic linked.
Instead of just:
cp abc def
use:
busybox cp abc def
If you find busybox not found error then you will need to install the busybox shell tools to your Android device.
To Install busybox
- Download busybox
- Type 'adb remount'
- Type 'adb push busybox /system/xbin/busybox'
- Type 'adb shell chmod 4755 /system/xbin/busybox'
- Type 'adb shell /system/xbin/busybox --install -s /system/xbin/'
Comments