Comments (5)
你可能需要自行构建 x86_64 的 image,Android 模拟器里面的 ndk_translation 会把 arm 指令转译成 x86 的,但很可能在 chroot 出来的 debian 系统不生效
from eadb.
你可以试下这个 https://github.com/tiann/eadb/actions/runs/2541671847
from eadb.
你可以试下这个 https://github.com/tiann/eadb/actions/runs/2541671847
使用这个版本后可以成功进入 SSH了,感谢大佬。
不过没有找到演示视频里一样的 vmlinux 路径,可能需要出厂 Android 12 的真机才有完整的 eBPF 支持?
from eadb.
可能需要一些内核头文件?
内核是4.19,我编译通过后,执行报错,提示没有开启CONFIG_IKHEADERS
Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) or installing the kernel development package for your running kernel version.
不过提示可以指定内核源代码目录,根据bcc文档,可以在编译前设置BCC_KERNEL_SOURCE
环境变量指定内核源代码目录
下载了手机内核的源代码,指定了重新编译测试,还是会找不到部分头文件,后来确认是结构不一样
然后发现安卓内核源代码一般都有个kernel_headers.py
,感觉有办法生成bcc需要的一致的源代码结构
这样的话可能可以适配更多4.x系列内核的手机
from eadb.
不过没有找到演示视频里一样的 vmlinux 路径,可能需要出厂 Android 12 的真机才有完整的 eBPF 支持?
我看过 Android 12 模拟器的内核配置,从参数上看是可以的;如果有问题,可以把日志或者输出啥的贴出来。
from eadb.
Related Issues (20)
- [Feature request] 为ssh连接方式添加指定端口选项 HOT 7
- GLIBC_ XXX not found HOT 5
- Build static linked executable HOT 1
- eadb v0.1.3 + debianfs-full.tar.gz 环境,编译 bpftrace 报错 HOT 3
- 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
- windows下用rust编译eadb报error[E0425] HOT 8
- 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
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.