Message boards : Questions and problems : How to use BOINC for Android from adb console?
Message board moderation
Author | Message |
---|---|
![]() Send message Joined: 6 Mar 15 Posts: 5 ![]() |
Hi. I want to use BOINC in a broke screen Android phone. My only way to use the phone is through adb console from my computer, but i don't find any guide on how to do that. After i install the boinc apk using 'adb install', what should i do to configure my client account/projects and start the crunching service? how to do that from the Android console? I know some config xml file can me manually pushed into the /client/client directory inside Android, but i am not sure how to do the rest. Can any Boinc developer help? This may become very useful because me and many people have a couple of broke-screen useless devices with working multicore cpu's, so enabling usb debugging and configuring it from console is a must :D |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
The APK appears to contain boinccmd. If it works in Android the same way as in other versions you can use it to control the client. See wiki. There's also Initialization files. Of course you need to figure out how to start the client with adb. |
![]() Send message Joined: 6 Mar 15 Posts: 5 ![]() |
Great, thanks bro. I just fount the boinccmd binary located on /data/data/edu.berkeley.boinc/client # then i have to type: ./boinccmd , and a list of commands is displayed :) Now i have to figure out how to use it btw, but i guess that would be the same way like in windows/linux clients. i'll keep you updated if make it work. |
Send message Joined: 15 Dec 05 Posts: 23 ![]() |
I just managed to "revive" my Desire HD using this Thread: http://stackoverflow.com/questions/4567904/how-to-start-an-application-using-android-adb-tools Recommended: adb pull /data/data/edu.berkeley.boinc/client change preferences in global_prefs.xml and globals_prefs_override.xml (use batteries, lower battery threshold like 30%, 100% CPU Time) adb push global_prefs.xml /data/data/edu.berkeley.boinc/client repeat with override xml kill boinc process if necessary or just reboot the phone start boinc by: am start -a android.Intent.Main -n edu.berkeley.boinc/.SplashActivity There is also the adb shell monkey variant explained in the thread from above, but I haven't tried that yet. |
Copyright © 2025 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.