cornjosh / aminer Goto Github PK
View Code? Open in Web Editor NEW⛏️ Mining with Android devices. 使用 Android 设备来挖矿.
Home Page: https://linkyou.top/archives/83/
License: BSD 3-Clause "New" or "Revised" License
⛏️ Mining with Android devices. 使用 Android 设备来挖矿.
Home Page: https://linkyou.top/archives/83/
License: BSD 3-Clause "New" or "Revised" License
Hi,最近我在新手机上安装完成后,出现了[ERROR]XMRIG is not found, exiting,多次重新安装均会出现该提示。
Log如下:
Welcome to Termux!
Community forum: https://termux.com/community
Gitter chat: https://gitter.im/termux/termux
IRC channel: #termux on libera.chat
Working with packages:
Subscribing to additional repositories:
Report issues at https://termux.com/issues
[INFO]Killing other Aminer
Error: /proc must be mounted
To mount /proc at boot you need an /etc/fstab line like:
proc /proc proc defaults
In the meantime, run "mount proc /proc -t proc"
Usage:
kill [options] [...]
Options:
[...] send signal to every listed
-, -s, --signal
specify the to be sent
-l, --list=[] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table
-h, --help display this help and exit
-V, --version output version information and exit
For more details see kill(1).
Error: /proc must be mounted
To mount /proc at boot you need an /etc/fstab line like:
proc /proc proc defaults
In the meantime, run "mount proc /proc -t proc"
Usage:
kill [options] [...]
Options:
[...] send signal to every listed
-, -s, --signal
specify the to be sent
-l, --list=[] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table
-h, --help display this help and exit
-V, --version output version information and exit
For more details see kill(1).
Error: /proc must be mounted
To mount /proc at boot you need an /etc/fstab line like:
proc /proc proc defaults
In the meantime, run "mount proc /proc -t proc"
[ERROR]XMRIG is not found, exiting
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [108 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [114 kB]
Fetched 336 kB in 13s (25.6 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
cmake is already the newest version (3.16.3-1ubuntu1).
libhwloc-dev is already the newest version (2.1.0+dfsg-4).
build-essential is already the newest version (12.8ubuntu1.1).
git is already the newest version (1:2.25.1-1ubuntu3.2).
libssl-dev is already the newest version (1.1.1f-1ubuntu2.11).
libuv1-dev is already the newest version (1.34.2-1ubuntu1.3).
^Croot@localhost:~# c
输入bash <(curl -fsSL git.io/aminer) -u xxxx后,显示curl: (56) Recv failure: Connection reset by peer
dpkg: error processing archive /var/cache/apt/archives/libc6_2.31-0ubuntu9.2_arm64.deb (--unpack):
new libc6:arm64 package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.31-0ubuntu9.2_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[INFO]Getting xmrig source code
./install.sh: line 22: git: command not found
[INFO]Changing donate level to 1 %
sed: can't read ./xmrig-C3/src/donate.h: No such file or directory
sed: can't read ./xmrig-C3/src/donate.h: No such file or directory
mkdir: cannot create directory ‘xmrig-C3/build’: No such file or directory
[INFO]XMRIG create success
Huge Pages is supported but not used.
目前看很多手机适用astrobwt。加入指定算法或记住测试成绩,在二次开启时就不用再跑一遍了。
Termux:Boot可以实现开机自启并运行指定程序的功能
Here is the log,it looks like cmake got some things wrong, but C3pool.xmrig didn't do anything update ,I can't figure out why
[ 41%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuConfig.cpp.o [ 41%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuThreads.cpp.o [ 42%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuThread.cpp.o [ 42%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuWorker.cpp.o [ 43%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/platform/HwlocCpuInfo.cpp.o [ 43%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/platform/BasicCpuInfo_arm.cpp.o In file included from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /root/xmrig-C3/src/crypto/randomx/randomx.h:170:1: error: template with C linkage 170 | template<typename T> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ In file included from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:48: /root/xmrig-C3/src/crypto/astrobwt/AstroBWT.h:37:1: error: template with C linkage 37 | template<Algorithm::Id ALGO> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ In file included from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:48: /root/xmrig-C3/src/crypto/astrobwt/AstroBWT.h:40:1: error: template specialization with C linkage 40 | template<> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:71:1: error: template with C linkage 71 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:109:1: error: template with C linkage 109 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:132:1: error: template with C linkage 132 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:156:1: error: template with C linkage 156 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:246:1: error: template with C linkage 246 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:254:1: error: template with C linkage 254 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:390:1: error: template with C linkage 390 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:409:1: error: template with C linkage 409 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:453:1: error: template with C linkage 453 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:482:1: error: template specialization with C linkage 482 | template<> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:504:1: error: template with C linkage 504 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:522:1: error: template with C linkage 522 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:561:1: error: expected ‘}’ at end of input 561 | } // namespace xmrig | ^ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:12: note: to match this ‘{’ 33 | extern "C" { | ^ make[2]: *** [CMakeFiles/xmrig.dir/build.make:1233: CMakeFiles/xmrig.dir/src/backend/cpu/CpuWorker.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:140: CMakeFiles/xmrig.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 [INFO]XMRIG create success ##### Please restart Termux App to run XMRIG ##### root@localhost:~#
魅蓝NOTE6 骁龙625 安卓7.1.2 算力40H/s
魅蓝NOTE5 安卓7.1 算力23H/s
华为R9m 骁龙615 安卓7.1 算力30H/s
荣耀5X 骁龙615 安卓7.1 算力20H/s
其他待更新
这是什么原因啊
make[2]: *** [CMakeFiles/xmrig.dir/build.make:1012: CMakeFiles/xmrig.dir/src/base/net/stratum/DaemonClient.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:118: CMakeFiles/xmrig.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
我小米 11 上的骁龙 888 算力怎么只有 732.7H/s,是否能通过开启 huge pages 提升算力
[INFO] Device architecture :- armhf
[INFO] Downloading Ubuntu image
--2021-04-21 15:42:55-- https://mirrors.ustc.edu.cn/ubuntu-cdimage/ubuntu-base/releases/20.04.1/release/ubuntu-base-20.04.1-base-armhf.tar.gz
Resolving mirrors.ustc.edu.cn... 2001:da8:d800:95::110, 202.141.160.110
Connecting to mirrors.ustc.edu.cn|2001:da8:d800:95::110|:443... connected.
Unable to establish SSL connection.
[INFO] Create /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs
[INFO] Decompressing the ubuntu rootfs
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
/proc/self/fd/63: line 111: etc/resolv.conf: No such file or directory
[INFO] Writing stubs
/proc/self/fd/63: line 116: usr/bin/groups: No such file or directory
[INFO] Successfully wrote stubs
[INFO] Creating the start script
[INFO] Delete Ubuntu image
[INFO] Ubuntu 20.04.1 install complete
[INFO] Ubuntu setup complete
[INFO] Setting termux's .bashrc
[INFO] Setting Ubuntu's .bashrc and service.sh
/proc/self/fd/63: line 342: /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/root/service.sh: No such file or directory
/proc/self/fd/63: line 379: /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/root/.bashrc: No such file or directory
[INFO] Start up Ubuntu...
proot warning: can't sanitize binding "ubuntu-fs/tmp": No such file or directory
proot warning: can't chdir("/root/.") in the guest rootfs: No such file or directory
proot info: default working directory is now "/"
proot error: '/usr/bin/env' not found (root = /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs, cwd = /, $PATH=(null))
fatal error: see proot --help
.
$
华为麒麟可以搞么
/proc/self/fd/63: line 9: $'\r': command not found
/proc/self/fd/63: line 13: $'\r': command not found
/proc/self/fd/63: line 22: $'\r': command not found
/proc/self/fd/63: line 23: $'\r': command not found
/proc/self/fd/63: line 24: syntax error near unexpected token $'{\r'' 'proc/self/fd/63: line 24:
INFO(){
我这两台设备都出现了核心调用不完整的情况
1.OPPO A37, CPU: MT6750, 仅调用了两个A53核心(共A53 @ 1.5GHz+A53 @ 1.0GHz)
2.HUAWEI P30, CPU: Kirin980, 仅调用了三个A55核心(共2xA76 2.6GHz+ 2xA76 1.92Ghz + 4xA55 1.8Ghz)
暂不确定是termux的问题还是Aminer的原因
我在ish shell 研究了,一段時間,不知道是否可以,等代神解答,因為我能安裝,但總是有erro..
cc: error: unrecognized command line option ‘-maes’
make[2]: *** [src/3rdparty/argon2/CMakeFiles/argon2.dir/build.make:63: src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/argon2.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:145: src/3rdparty/argon2/CMakeFiles/argon2.dir/all] Error 2
curl+c停止后,重新输入bash<(curl -fsSL git.io/aminer) -o mine.pool.example:1234就不行
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.