Closed swan11jf closed 6 years ago
toybox or busybox required for oandbackup. Could you please check which of the two you have?
Busybox or Toybox are required, but Android have it from the box by default. Before Marshmallow (will be, I don't remember the version) it using Busybox, and after - Toybox. But OAB execute commands with Busybox and Toybox together, so at least one of them WILL working, so seems this message is only a warning, not error. So does OAB makes backups or not for you? In this situation it will on any case.
Anton, you are wrong. Every Android has toolbox
, but CM/LA/derivatives
have bb/toybox bundled.
@swan11jf , plz just check and answer.
@ildar please refers the OAB sources: https://github.com/jensstein/oandbackup/blob/master/src/dk/jens/backup/ShellCommands.java line 369:
android 6 has moved to toybox which doesn't include [ or [[
Right. I am wrong. Toybox came into AOSP in 2014.
Don't worry about it ;) We all mistaken.
Is there anyway of transferring backups manually then?
Where do you want to tranfser it? You could made it, but can't apply it after?
The backup was made on Android 7. I changed to a new ROM, so had to wipe my device. I've upgraded to android 8 now, so as oandbackup doesn't seem to be working for me, i want to restore this backup to the same device
I'm so sorry for forgot to answer you. If you have backups, you can restore it manually. You need a filemanager which can set chmods (like Solid Explorer, it's really cool), put your backups folder to /data/data
folder (e. g. /data/data/your.app.name
) and set 777 chmods to all of it.
it seems like your device doesn't have toybox or has a non-standard installation of some *box. could you please see if running toybox
in a terminal emulator on your device or via adb shell
gives a result (it should list the included commands).
and could you post the output of running ls -l /system/bin/
also, remember checking if you have a value set for busybox under "custom paths" in the preferences. if it's set, the old value may not be valid for your new system.
(by the way, i'm in the process of making a replacement for {toy,busy}box, which will ship with oab)
Ok, here's the link to the output
EDIT: I set a custom path for busybox and it is now detected! Thanks for your help
great :) your link gives me 404 but i'm glad you got it to work
I am using a legacy Samsung tablet with Android 4.1.2, it mentions this error when backup data and apk. Is it possible to add those tools in 4.1.2?
On startup, error shows this: couldn't find busybox, please check error log
error log shows this: sh: [1]: toybox: not found [busybox
Recently changed from Lineage (7.1.2) to AOSP Extended (8.1). It was working fine on Lineage