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

Android 设备请求 #38

Open
ZXAS007 opened this issue Feb 25, 2024 · 10 comments
Open

Android 设备请求 #38

ZXAS007 opened this issue Feb 25, 2024 · 10 comments
Labels
enhancement New feature or request lowest-priority 如果没人发PR那么基本就不会整

Comments

@ZXAS007
Copy link

ZXAS007 commented Feb 25, 2024

在一些闲置的安卓系统设备上部署服务挂载,网盘节点之类的,使用面具模块挂载

@zyxkad
Copy link
Member

zyxkad commented Feb 25, 2024

安卓有点难度,linux的程序可以在上面跑么

@zyxkad zyxkad added enhancement New feature or request low-priority 一些小改进 labels Feb 25, 2024
@ZXAS007
Copy link
Author

ZXAS007 commented Feb 25, 2024

安卓有点介绍,linux的程序可以在上面跑么

一般的都可以

@zyxkad
Copy link
Member

zyxkad commented Feb 25, 2024

额,那release界面有linux相关的程序了,你可以先试一试,如果不行请提供uname -a的输出

@zyxkad zyxkad added the need-information 需要提供更多信息 label Feb 25, 2024
@ZXAS007
Copy link
Author

ZXAS007 commented Feb 25, 2024

我应该不了解magisk模块的具体制作,无法尝试

@xiao-k233
Copy link

linux下需要使用ndk进行编译,安卓的libc不是标准的glibc

@xiao-k233
Copy link

我手头全是华为没法尝试模块XD
但是我可以在termux环境下试一下

@ZXAS007
Copy link
Author

ZXAS007 commented Feb 25, 2024

可以把模块发给我我测试

@xiao-k233
Copy link

xiao-k233 commented Feb 25, 2024

~ $ ./go-openbmclapi-linux-arm64

Go-OpenBmclAPI  Copyright (C) 2023 Kevin Z <[email protected]>
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute it under certain conditions;
Use subcommand 'license' for more information

[INFO][07:25:19]: Starting Go-OpenBmclApi v1.8.2 (dev-cf52e466812f4e0479feba9eb56d2d556c1d6d9e)
[INFO][07:25:19]: Dialing wss://openbmclapi.bangbang93.com/socket.io/?EIO=4&clusterId=%24%7BCLUSTER_ID%7D&clusterSecret=%24%7BCLUSTER_SECRET%7D&transport=websocket
[ERRO][07:25:19]: Dial error: dial tcp: lookup openbmclapi.bangbang93.com on [::1]:53: read udp [::1]:46367->[::1]:53: read: connection refused
~ $ uname -a
Linux localhost 5.4.191-qgki-g235bf8f0f8c0 #1 SMP PREEMPT Fri Dec 22 11:49:46 CST 2023 aarch64 Android

linux下对应解决方法是这玩意,查询多篇后大同小异,其中一个备选方案是手动将IP写入到hosts中
所以你有root,你先试一下能不能跑吧,直接跑arm64版本就行,magisk模块在写了XD
有急事出门只能先帮你试到这了

@8MiYile
Copy link
Contributor

8MiYile commented Feb 26, 2024

靠妖,我就不应该把AList for Magisk插件发出来
像你们这么搞为啥不直接搞个 Linux for Magisk 那不就原生arm64环境了?
https://github.com/magojohnji/magiskboot-linux
https://github.com/FerryAr/lhroot
直接从根源解决问题不是更强?

Go程序ndk编译可以参考这个
https://github.com/alist-org/alist/blob/main/build.sh

@zyxkad zyxkad removed the need-information 需要提供更多信息 label Feb 27, 2024
@kndxhz
Copy link

kndxhz commented Aug 6, 2024

我靠,等我换手机我这1TB空间终于有用了(

@zyxkad zyxkad added lowest-priority 如果没人发PR那么基本就不会整 and removed low-priority 一些小改进 labels Aug 8, 2024
@zyxkad zyxkad changed the title 特殊设备请求 Android 设备请求 Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lowest-priority 如果没人发PR那么基本就不会整
Projects
None yet
Development

No branches or pull requests

5 participants