Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

刷入内核后无法检测到任何usb设备 #5

Open
dhdgves opened this issue Aug 19, 2020 · 9 comments
Open

刷入内核后无法检测到任何usb设备 #5

dhdgves opened this issue Aug 19, 2020 · 9 comments

Comments

@dhdgves
Copy link

dhdgves commented Aug 19, 2020

手机为一加六 氧OS10.3.5(稳定版)。Magisk已经刷入。成功刷入内核后(在关于手机中发现,内核已经成功变更),手机对插入的任何usb设备(包含无线网卡(rt3070)、U盘)没有任何反应。在shell中运行lsusb,无法发现任何设备。MTP功能正常.

@acai66
Copy link
Owner

acai66 commented Aug 19, 2020

不使用内核时otg是不是可用

@dhdgves
Copy link
Author

dhdgves commented Aug 19, 2020

不使用内核时otg是不是可用

是的,发现这个问题后我重新刷入了一加官方的稳定包和magisk,这时otg可用(以U盘测试)。然后我又重新刷入了这个内核,otg又变得不可用了。

@human-monkey-981
Copy link

我也遇到同样的问题,所以只能刷回v10了

@acai66
Copy link
Owner

acai66 commented Aug 19, 2020

可以暂用V10,V11主要是同步linux上游更新,并没有做特别的配置,我再看看是哪里出了问题,一旦解决会更新V12的

@human-monkey-981
Copy link

human-monkey-981 commented Aug 19, 2020 via email

@dhdgves
Copy link
Author

dhdgves commented Aug 19, 2020

内核源码该如何编译呢?我想试着去编译源码,但不知道具体怎么做。

@acai66
Copy link
Owner

acai66 commented Aug 19, 2020

内核源码该如何编译呢?我想试着去编译源码,但不知道具体怎么做。

可以试试来自kali官方的源码,https://github.com/kimocoder/DJY-NetHunter-Kernel

@acai66
Copy link
Owner

acai66 commented Aug 26, 2020

测试编译了kimocoder的DJY源码,发现Nethunter APP里的USB Arsenal有时可用 有时提示不支持,不过内核是确定支持usb configfs的,可以自己手动配置,例如开启hid,在安卓终端里用root权限执行:
setprop sys.usb.config win,hid
这个我没有全部测试,只试了hid、rtl8812au。

https://pan.baidu.com/s/1YJqxvLujUlZqRow_dKNORw
提取码:gb5h

Screenshot_20200827-024029
Screenshot_20200827-024014
Screenshot_20200827-021356

@human-monkey-981
Copy link

human-monkey-981 commented Aug 26, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants