Comments (8)
编译可能过于麻烦,建议参考这篇文章操作,adb传文件后手动解压即可
from eadb.
https://github.com/tiann/eadb/blob/main/src/build_image.rs#L68
这里直接把 uid = 0 试试
from eadb.
好的,我试试。语法问题怎么弄,前面说找不到,后面又说重定义,懵了
from eadb.
cargo build完成 ,cargo install eadb报错,具体如下:
cargo build
Compiling eadb v0.1.5 (E:\eadb)
Finished dev [unoptimized + debuginfo] target(s) in 35.64s
cargo install eadb
Compiling eadb v0.1.5
error[E0425]: cannot find function getuid
in crate libc
--> C:\Users.cargo\registry\src\mirrors.ustc.edu.cn-12df342d903acd47\eadb-0.1.5\src\build_image.rs:68:30
|
68 | let uid = unsafe { libc::getuid() };
| ^^^^^^ help: a function with a similar name exists: getpid
|
::: C:\Users.cargo\registry\src\mirrors.ustc.edu.cn-12df342d903acd47\libc-0.2.132\src\windows\mod.rs:482:5
|
482 | pub fn getpid() -> ::c_int;
| --------------------------- similarly named function getpid
defined here
For more information about this error, try rustc --explain E0425
.
error: could not compile eadb
due to previous error
error: failed to compile eadb v0.1.5
, intermediate artifacts can be found at C:\Users\AppData\Local\Temp\cargo-install7xBCLI
from eadb.
build 完成你用自己 build 好的 eadb 就行了,不要再 cargo install
from eadb.
cargo buile完成后,在当前目录执行eadb提示
$ eadb
bash: eadb: command not found
from eadb.
生成的eadb.exe拷贝到与assets同级的目录
执行./eadb.exe prepare -a debianfs-arm64-full.tar.gz
报下面的问题:
Using archive at debianfs-arm64-full.tar.gz for filesystem preparation
Pushing filesystem to device..
debianfs-arm64-full.tar.gz: 1 file pushed. 31.6 MB/s (324371126 bytes in 9.790s)
Pushing addons to device..
adb: error: cannot stat 'C:\Users\AppData\Local\Temp.tmpT4Ez9t\assets/': No such file or directory
chmod: /data/eadb/device-: No such file or directory
Unpacking filesystem in device..
/system/bin/sh: /data/eadb/device-unpack: inaccessible or not found
All done! Run "eadb shell" to get started.
from eadb.
建议用 ubuntu 虚拟机
from eadb.
Related Issues (20)
- pixel6报错chroot: exec /bin/bash: No such file or directory HOT 1
- Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) or installing the kernel development package for your running kernel version. HOT 1
- Temporary failure in name resolution HOT 3
- Run eadb shell error HOT 5
- supports adb shell "su -c"
- eadb是否有提供由adb shell执行BCC Tools Command方法 HOT 2
- /bin/bash: no closing quote HOT 1
- eadb shell error chroot: exec /bin/bash HOT 1
- WARNING: linker: Warning: failed to find generated linker configuration from "/linkerconfig/ld.config.txt" HOT 3
- run device-uinpach script and report error "/system/bin/sh: ./device-unpack: No such file or directory"
- chroot: exec /bin/bash: No such file or directory
- ./device-unpack: No such file or directory HOT 2
- debian系统内部ssh与KernelSU以及APatch不兼容
- 博主有没有计划更新debian12的relase HOT 1
- [Feature request] 为ssh连接方式添加指定端口选项 HOT 7
- Android 模拟器运行问题 HOT 5
- GLIBC_ XXX not found HOT 5
- Build static linked executable HOT 1
- eadb v0.1.3 + debianfs-full.tar.gz 环境,编译 bpftrace 报错 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eadb.