欢迎来到电脑知识学习网,专业的电脑知识大全学习平台!

手机版

手机u盘安装工具-(手机u盘安装工具在哪里)

软件应用 发布时间:2022-11-01 13:47:50
手机u盘安装工具 (手机u盘安装工具在哪里)

BusyBox 最常用的是300多个集成Linux软件命令和工具。功能方便强大。

安装需要有root权限

查询并下载您的手机CPU型号及对应busybox二进制文件

c:\ mp\\fastboot>adb shellshell@GiONEE_GBL7319:/ $ cat /proc/cpuinfoProcessor : AArch64 Processor rev 3 (aarch64)processor : 0BogoMIPS : 26.00Features : fp asimd aes pmull sha1 sha2 crc32CPU implementer : 0x41CPU architecture: AArch64CPU variant : 0x0CPU part : 0xd03CPU revision : 3Hardware : MT6735

AArch64:对应的是ARMv8-A架构,基于32位指令集的64位指令集向后兼容。

下载ARMV8相关的busybox二进制文件:busybox-armv8l

下载地址:https://busybox.net/downloads/binaries/

对应文件:busybox-armv8l

安装方法

adb root 以root来运行adb remount 以读写方式重新挂载系统adb push c:\ mp\\busybox-armv8l /system/xbinadb shellcd /system/xbinchmod 755 busybox-armv8l 改权限./busybox-armv8l --install 安装

有些版本很低,没有前两个命令,以下问题:error: device not found

c:\ mp\\fastboot>adb shellshell@GiONEE_GBL7319:/ $ adb root* daemon not running. starting it now on port 5038 ** daemon started successfully *error: device not found1|shell@GiONEE_GBL7319:/ $ adb remounterror: device not foundc:\ mp\\fastboot>adb push c:/tmp/busybox-armv8l /system/xbinadb: error: failed to copy 'c:/tmp/busybox-armv8l' to '/system/xbin/busybox-armv8l': remote Permission deniedc:/tmp/busybox-armv8l: 0 files pushed. 0.4 MB/s (131056 bytes in 0.342s)

此时,文件可以先发送到临时目录: /data/local/tmp ,在用移动mv命令

c:\ mp\\fastboot>adb push c:/tmp/busybox-armv8l /data/local/tmpc:/tmp/busybox-armv8l: 1 file pushed. 0.4 MB/s (1148524 bytes in 3.113s)1|shell@GiONEE_GBL7319:/ $ suroot@GiONEE_GBL7319:/ # mv /data/local/tmp/busybox-armv8l /system/xbin

将/system重新挂载为可读写:(可选)

先查/system挂载相应的文件目录(device):使用以下命令

cat /proc/mountsmount

root@GiONEE_GBL7319:/system/xbin # cat /proc/mountsrootfs / rootfs rw,seclabel 0 0tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0proc /proc proc rw,relatime 0 0sysfs /sys sysfs rw,seclabel,relatime 0 0selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0none /acct cgroup rw,relatime,cpuacct 0 0none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0none /dev/cpuctl cgroup rw,relatime,cpu 0 0tmpfs /mnt/media_rw tmpfs rw,seclabel,relatime,mode=755,uid=1000,gid=1000 0 0tmpfs /storage/usbotg tmpfs rw,seclabel,relatime,mode=755,uid=1000,gid=1000 0 0tmpfs /storage/emulated tmpfs rw,seclabel,relatime,mode=755,uid=1023,gid=1023 0 0/dev/block/platform/mtk-msdc.0/by-name/system /system ext4 rw,seclabel,noatime,data=ordered 0 0

对应目录(device)是:/dev/block/platform/mtk-msdc.0/by-name/system

重新挂载成可读写:rw是读写,ro只读(默认)

root@GiONEE_GBL7319:/ # mount -o remount -rw /dev/block/platform/mtk-msdc.0/by-name/system /system

或用:root@GiONEE_GBL7319:/ # mount -o remount, rw /system

修改属性:为可执行,chmod 755 /system/xbin/busybox-armv8l

126|root@GiONEE_GBL7319:/ # ls -l /system/xbin/busybox-armv8l-rw-rw-rw- shell shell 1148524 2022-01-27 22:12 busybox-armv8lroot@GiONEE_GBL7319:/ # chmod 755 /system/xbin/busybox-armv8l

安 装:./busybox-armv8l --install

127|root@GiONEE_GBL7319:/ # cd /system/xbin1|root@GiONEE_GBL7319:/system/xbin # ./busybox-armv8l --installbusybox-armv8l: /usr/bin/[: No such file or directorybusybox-armv8l: /usr/bin/[[: No such file or directorybusybox-armv8l: /sbin/acpid: Cross-device linkbusybox-armv8l: /usr/sbin/add-shell: No such file or directorybusybox-armv8l: /usr/sbin/addgroup: No such file or directorybusybox-armv8l: /usr/sbin/adduser: No such file or directorybusybox-armv8l: /sbin/adjtimex: Cross-device linkbusybox-armv8l: /bin/arch: No such file or directory ...

查看有哪些命令:直接输入busybox-armv8l

127|root@GiONEE_GBL7319:/system/xbin # busybox-armv8lBusyBox v1.31.0 (2019-06-10 15:54:51 CEST) multi-call binary.BusyBox is copyrighted by many authors between 1998-2015.Licensed under GPLv2. See source distribution for detailedcopyright notices.Usage: busybox[function[arguments]...]or: busybox --list[-full]or: busybox --show SCRIPT or: busybox --install[-s][DIR]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:[,[[, acpid, add-shell, addgroup, adduser, adjtimex, arch, arp, arping, ash, awk, base64, basename, bc, beep, blkdiscard, blkid, blockdev, bootchartd, brctl, bunzip2, bzcat, bzip2, cal, cat, chat, chattr, chgrp, chmod, chown, chpasswd, chpst, chroot, chrt, chvt, c ks

责任编辑:电脑知识学习网

软件应用