Wie zu installieren busybox auf dem android-emulator (android 2.3.3)?
Ich versuche zu installieren busybox auf dem android-emulator (android 2.3.3).
Folgte ich beide Methoden in der post pushing busybox in android-emulator, aber ich bin vor problem.
Benutzte ich die zweite Lösung aus diesem Beitrag, aber ich habe "busybox: not found":
# su
su
# cd /data/busybox
cd /data/busybox
# chmod 775 busybox
chmod 775 busybox
# ./busybox --install
./busybox --install
# busybox
busybox
busybox: not found
# ./busybox
./busybox
BusyBox v1.8.1 (2007-11-14 10:11:37 EST) multi-call binary
Copyright (C) 1998-2006 Erik Andersen, Rob Landley, and others.
Licensed under GPLv2. See source distribution for full notice.
Usage: busybox [function] [arguments]...
or: [function] [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as!
Currently defined functions:
[, [[, addgroup, adduser, adjtimex, ar, arp, arping, ash,
awk, basename, bunzip2, bzcat, bzip2, cal, cat, catv,
chattr, chgrp, chmod, chown, chpasswd, chpst, chroot,
chrt, chvt, cksum, clear, cmp, comm, cp, cpio, crond,
crontab, cryptpw, cut, date, dc, dd, deallocvt, delgroup,
deluser, df, dhcprelay, diff, dirname, dmesg, dnsd, dos2unix,
du, dumpkmap, dumpleases, echo, ed, egrep, eject, env,
envdir, envuidgid, ether-wake, expand, expr, fakeidentd,
false, fbset, fdflush, fdformat, fdisk, fgrep, find, fold,
free, freeramdisk, fsck, fsck.minix, ftpget, ftpput, fuser,
getopt, getty, grep, gunzip, gzip, halt, hdparm, head,
hexdump, hostid, hostname, httpd, hwclock, id, ifconfig,
ifdown, ifup, inetd, init, insmod, install, ip, ipaddr,
ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel,
kbd_mode, kill, killall, killall5, klogd, last, length,
less, linux32, linux64, linuxrc, ln, loadfont, loadkmap,
logger, login, logname, logread, losetup, ls, lsattr,
lsmod, lzmacat, makedevs, md5sum, mdev, mesg, microcom,
mkdir, mkfifo, mkfs.minix, mknod, mkswap, mktemp, modprobe,
more, mount, mountpoint, mt, mv, nameif, nc, netstat,
nice, nmeter, nohup, nslookup, od, openvt, passwd, patch,
pgrep, pidof, ping, ping6, pipe_progress, pivot_root,
pkill, poweroff, printenv, printf, ps, pscan, pwd, raidautorun,
rdate, readlink, readprofile, realpath, reboot, renice,
reset, resize, rm, rmdir, rmmod, route, rpm, rpm2cpio,
run-parts, runlevel, runsv, runsvdir, rx, sed, seq, setarch,
setconsole, setkeycodes, setlogcons, setsid, setuidgid,
sh, sha1sum, slattach, sleep, softlimit, sort, split,
start-stop-daemon, stat, strings, stty, su, sulogin, sum,
sv, svlogd, swapoff, swapon, switch_root, sync, sysctl,
syslogd, tail, tar, taskset, tcpsvd, tee, telnet, telnetd,
test, tftp, time, top, touch, tr, traceroute, true, tty,
ttysize, udhcpc, udhcpd, udpsvd, umount, uname, uncompress,
unexpand, uniq, unix2dos, unlzma, unzip, uptime, usleep,
uudecode, uuencode, vconfig, vi, vlock, watch, watchdog,
wc, wget, which, who, whoami, xargs, yes, zcat, zcip
# busybox
busybox
busybox: not found
Dann habe ich die erste Lösung aus diesem Beitrag, aber ich habe "./busybox: permission denied":
# ./busybox --install
./busybox --install
./busybox: permission denied
# ./busybox
./busybox
./busybox: permission denied
# export PATH=/data/busybox:$PATH
export PATH=/data/busybox:$PATH
Kann einer bitte guide mich...
Du musst angemeldet sein, um einen Kommentar abzugeben.
kopieren Sie zuerst die busy box
chmod 777 busybox #von den Ordner, in dem busy box vorhanden ist
./busybox --install . #Leerzeichen und Punkt vergolten
und ich denke u r fehlt nur noch "."
Problem ist gelöst, ich folgte Vorgehensweise aus dem link http://allencch.wordpress.com/2012/02/29/learn-to-root-android-using-emulator/.
Ich denke der Fehler war, dass ich nicht starten der avd mit extra viel Platz, das obige tutorial erwähnt "starten Wir den emulator mit zusätzlicher Speicherplatz für /system. Dadurch können wir fügen Sie zusätzliche Dateien in /system später."
Diesem tutorial erwähnt auch, dass "wir müssen, verwenden Sie "adb shell" remount der /system, so dass wir den Schreibzugriff auf die /system".
Dann, wir brauchen nur zu do das folgende:
(Nach dem obigen Schritt, wenn Sie erhalten die Fehlermeldung
Dann starten Sie Ihren AVD mit Partitionen, die größer als 128 ist, z.B. ich starte ihn mit 512. Dann wiederholen Sie die obigen Schritte.)
Ich denke, dass su war nicht nötig, denn der emulator bereits über root-Zugriff, aber ich folgte die ganze Prozedur.
Nach dem Neustart des emulators, geht alles auf Standard, was bedeutet, nicht mehr 'su'. Um dieses Problem zu lösen Lesen, aus oben genannten tutorial, den Absatz mit dem Titel 'Lösung'.