Skip to main content
8 events
when toggle format what by license comment
Aug 30, 2018 at 20:37 comment added Izzy Good point, Robert (though I never encountered such a device myself) – you might wish to integrate that with your answer. Unfortunately, using busybox cp would be a chicken-and-egg issue here #D // If you integrate the facts from the comments with your answer, please ping me afterwards for comment-cleanup :)
Aug 30, 2018 at 19:19 history edited Robert CC BY-SA 4.0
added 2 characters in body
Aug 30, 2018 at 19:18 comment added Robert @Izzy I remember having encountered a lot of devices that did not had the cp command. However cat was on each and every device available I ever got my hand on.
Aug 30, 2018 at 16:38 comment added Izzy @iBug that depends on the redirect – and how you quote it: adb shell "cat foo > /sdcard/bar" will stay on-device. But remove the quotes, and it may complain it misses the /sdcard on your computer :)
Aug 30, 2018 at 16:10 comment added iBug @Izzy Plus, the adb shell cat will cat something to the computer, not the phone.
Aug 30, 2018 at 15:34 comment added Izzy There's even at least one Busybox installer not requiring root (Busybox Installer (no root)). Apart from that: Any reason you use cat to copy a file – instead of cp?
Aug 30, 2018 at 15:30 comment added Firelord I want to add that chmod is not available in Android versions prior to Lollipop.
Aug 30, 2018 at 14:38 history answered Robert CC BY-SA 4.0