Boinc-client - Android

Message boards : BOINC client : Boinc-client - Android
Message board moderation

To post messages, you must log in.

AuthorMessage
Nuke

Send message
Joined: 25 Aug 16
Posts: 3
Germany
Message 71871 - Posted: 25 Aug 2016, 9:40:01 UTC

Hello,

is it possible to build the boinc-client with enabled gui_rpc for remote control and replace the official one? I'm asking because gui_rpc is not allowed on the official client an, as far as i know, there is no way get it working.

I have several arm-devices (development boards) which are running linux and android. I'll get some more of them in the future an i'm planning to get them all running with android because there are more projects which support android on arm then linux on arm.

It will be hard to handle 10+ devices without a way for remote control.

Best regards,
Nuke
ID: 71871 · Report as offensive
SekeRob2
Volunteer tester
Help desk expert

Send message
Joined: 6 Jul 10
Posts: 585
Italy
Message 71874 - Posted: 25 Aug 2016, 11:02:30 UTC - in response to Message 71871.  

For devices with an Android below 5.0 you can use the alternate NativeBOINC (Not maintained since longer). It got many features the desktop client has to include naming the device and the possibility to put the data on an SD, but, some things were achieved with hacks, and that you wont see Berkeley supporting. This client can also be used to remote control BOINC on desktops. (Actually I use free and secure TeamViewer for this.)
Coelum Non Animum Mutant, Qui Trans Mare Currunt
ID: 71874 · Report as offensive
Profile Ageless
Volunteer moderator
Project administrator
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 12105
Netherlands
Message 71885 - Posted: 25 Aug 2016, 15:13:52 UTC

I checked with X-plore File Manager while being super user (SuperSU) in root/data/data/edu.berkeley.boinc/client/ and see that gui_rpc_auth.cfg is there, all 32 bytes with its random 32 character password.

What you probably need though and isn't there, is the remote_hosts.cfg file. But I don't see why it cannot be added, as long as you have write capability to that directory. As far as I know, the actual client isn't that different from the one on Windows or Linux, so it should work fine with the remote_hosts.cfg file.
http://boinc.berkeley.edu/wiki/Controlling_BOINC_remotely
Jord
Please do not private message me for tech support. Use the forums for that. Tech PMs will be ignored.
ID: 71885 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 669
Finland
Message 71891 - Posted: 25 Aug 2016, 18:02:44 UTC - in response to Message 71871.  

To answer the original question, yes, you can build BOINC for Android yourself. See Building BOINC. I can search what you need to change once you have a working build system.

The stock client for Android can't be controlled remotely. It's hard-coded to use Unix local sockets for GUI RPCs. I believe (but don't take my word for it) this is so that the client is less likely to introduce a remotely exploitable security hole and thus be more likely that Google accepts bundling it with Android.
ID: 71891 · Report as offensive
Nuke

Send message
Joined: 25 Aug 16
Posts: 3
Germany
Message 71904 - Posted: 26 Aug 2016, 6:30:05 UTC - in response to Message 71891.  

I will set up the bulid system next week. Thank you!
ID: 71904 · Report as offensive
Nuke

Send message
Joined: 25 Aug 16
Posts: 3
Germany
Message 71905 - Posted: 26 Aug 2016, 6:32:20 UTC - in response to Message 71874.  

For devices with an Android below 5.0 you can use the alternate NativeBOINC (Not maintained since longer).


NativeBOINC is already running on my Android 4.4 devices, but, as you said, there is no support for newer versions.
ID: 71905 · Report as offensive

Message boards : BOINC client : Boinc-client - Android

Copyright © 2017 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.