eFMer - BoincTasks and TThrottle forum

Android => BOINC For BoincTasks => Beta Testing => Topic started by: cristipurdel on November 05, 2020, 09:46:05 PM

Title: B.T. 1.82
Post by: cristipurdel on November 05, 2020, 09:46:05 PM
Which are the BOINC & Android requirements for Android monitoring?
Title: Re: B.T. 1.82
Post by: fred on November 06, 2020, 07:44:13 AM
Quote from: cristipurdel on November 05, 2020, 09:46:05 PM
Which are the BOINC & Android requirements for Android monitoring?
I set the minimum to 16, test oldest phone I got for testing is a Galaxy S6.
Title: Re: B.T. 1.82
Post by: cristipurdel on November 07, 2020, 07:57:25 AM
Quote from: fred on November 06, 2020, 07:44:13 AM
Quote from: cristipurdel on November 05, 2020, 09:46:05 PM
Which are the BOINC & Android requirements for Android monitoring?
I set the minimum to 16, test oldest phone I got for testing is a Galaxy S6.

I am using the following but monitoring is not working
BOINC 7.16.11
BT 1.82
Android 7.4.53 (7.16.3 is not working) on an LG V30 Android 9
Title: Re: B.T. 1.82
Post by: fred on November 07, 2020, 08:03:30 AM
It's because I made a new app for that.
Read here: https://efmer.com/ (https://efmer.com/) on the Android tab.
Title: Re: B.T. 1.82
Post by: cristipurdel on November 07, 2020, 08:29:52 PM
I've tested on a Samsung 8.1.0 with no success and attached the log below.

Annoying thing is also when trying to change a settings value, app crashes but the value is saved after restart.

Please also allow app to work from Android 4.4 up.

Can you please remove the following restrictions in next beta since, I am running the phone without battery, although it says 16%, and it also does not charge :)

Restriction on use
The BOINC client will stop running if the:

Battery level drops or is below 90%.
Device isn't charging.

20:26:12:Start app
20:26:12:MainActivity:Ignore Battery Optimizations, permission granted
20:26:12:MainActivity:doBindService
20:26:12:ERROR:Service:ServiceBroadcastReceiver:kotlin.UninitializedPropertyAccessException: lateinit property mRpcServer has not been initialized
20:34:16:MainActivity:Ignore Battery Optimizations, permission granted
20:34:16:MainActivity:doBindService
20:34:16:ERROR:Service:ServiceBroadcastReceiver:kotlin.UninitializedPropertyAccessException: lateinit property mRpcServer has not been initialized
20:40:23:MainActivity:Ignore Battery Optimizations, permission granted
20:40:23:MainActivity:doBindService
20:40:23:ERROR:Service:ServiceBroadcastReceiver:kotlin.UninitializedPropertyAccessException: lateinit property mRpcServer has not been initialized
Title: Re: B.T. 1.82
Post by: fred on November 08, 2020, 09:37:38 AM
Quote from: cristipurdel on November 07, 2020, 08:29:52 PM
I've tested on a Samsung 8.1.0 with no success and attached the log below.
I tested it on the emulator and it works just fine. Made a change that should fix the problem.
Title: Re: B.T. 1.82
Post by: cristipurdel on November 08, 2020, 02:44:18 PM
Tried it on a TV stick with 7.1.2, and still not working. This one did not complain about charging %.
Both devices have root.
Title: Re: B.T. 1.82
Post by: fred on November 08, 2020, 04:02:01 PM
Quote from: cristipurdel on November 08, 2020, 02:44:18 PM
Tried it on a TV stick with 7.1.2, and still not working. This one did not complain about charging %.
Both devices have root.
I found an Android 4.1.2 API 16 phone, the lowest I like to support.
I'm really surprised that it works so well on that ancient machine
Only one small glitch to correct.
The only catch, some projects neem more memory Rosetta and crash on WCG

Running now:
Android old   Universe@Home   0.20 Universe BHspin v2 (android_arm_pie)   universe_bh2_190723_337_784324216_20000_1-   
Android old   Asteroids@home   102.12 Period Search Application (arm_android_pie)   ps_201103_input_19387_17_0   00:03:44

Added an battery setting, so you can go as low or high as you want.
Title: Re: B.T. 1.82
Post by: Dirk Broer on November 09, 2020, 03:55:11 PM
Upon installing 1.82 BoincTasks encrypts the passwords of the clients, whereupon they become unequal to the passwords stored at the clients and the connections get lost.
Title: Re: B.T. 1.82
Post by: fred on November 09, 2020, 03:58:45 PM
Quote from: Dirk Broer on November 09, 2020, 03:55:11 PM
Upon installing 1.82 BoincTasks encrypts the passwords of the clients, whereupon they become unequal to the passwords stored at the clients and the connections get lost.
Encryption ONLY works on the new beta Android version, with the slider to secure password.
You will be unable to contact any other client when you set it to yes.
Title: Re: B.T. 1.82
Post by: fred on November 09, 2020, 04:30:44 PM
Just updated the Android Download to 1.1, must always be done manually
Title: Re: B.T. 1.82
Post by: cristipurdel on November 10, 2020, 06:39:56 PM
Quote from: fred on November 09, 2020, 04:30:44 PM
Just updated the Android Download to 1.2, must always be done manuelly

Can you please update also here?
https://efmer.com/download-boinc-for-android-beta/
Title: Re: B.T. 1.82
Post by: fred on November 11, 2020, 07:29:23 AM
Quote from: cristipurdel on November 10, 2020, 06:39:56 PM
Can you please update also here?
https://efmer.com/download-boinc-for-android-beta/
My mistake 1.1 is the latest online version, I'm working on 1.2 now
Title: Re: B.T. 1.82
Post by: cristipurdel on November 11, 2020, 02:25:21 PM
Can you please add option to update, or just download, apk from the app itself, so I do not have to do remote control some android TV sticks?
Title: Re: B.T. 1.82
Post by: fred on November 11, 2020, 02:30:53 PM
Quote from: cristipurdel on November 11, 2020, 02:25:21 PM
Can you please add option to update, or just download, apk from the app itself, so I do not have to do remote control some android TV sticks?
Unfortunately that's not possible/allowed at the moment.

Title: Re: B.T. 1.82
Post by: cristipurdel on November 12, 2020, 10:22:21 AM
https://efmer.eu/download/boinc/android/boinc_for_boinctasks_1_2.apk

Please fix this, since it is not available, only *1_1* is available

From last link in https://efmer.com/download-boinc-for-android-beta/
Title: Re: B.T. 1.82
Post by: fred on November 12, 2020, 11:30:48 AM
Quote from: cristipurdel on November 12, 2020, 10:22:21 AM
Please fix this, since it is not available, only *1_1* is available
Done
Title: Re: B.T. 1.82
Post by: cristipurdel on November 21, 2020, 07:31:05 AM
Sorry for the late reply, I am getting now On 6.0.1 with root:
Parse error
There was a problem parsing the package

On Android 9 it is not working again, but also the app is very slow, at least in comparison with v1.2 or v1.1

22:00:43:Start app
22:00:43:MainActivity:Ignore Battery Optimizations, permission granted
22:00:43:MainActivity:doBindService
22:00:47:Service:timerRun:restartBoinc:Restart charging
22:00:47:Service:restartBoinc
22:00:47:ERROR:RpcClient:sendRequest:kotlin.UninitializedPropertyAccessException: lateinit property mSocketSink has not been initialized
22:00:49:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:00:49:Boinc:clientSetup: Starting the BOINC client
22:00:50:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:00:51:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:00:52:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:00:53:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:00:54:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:00:54:MainActivity:Ignore Battery Optimizations, permission granted
22:00:54:MainActivity:doBindService
22:00:58:Service:timerRun:restartBoinc:Restart charging
22:00:58:Service:restartBoinc
22:00:58:ERROR:RpcClient:sendRequest:kotlin.UninitializedPropertyAccessException: lateinit property mSocketSink has not been initialized
22:01:00:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:01:00:Boinc:clientSetup: Starting the BOINC client
22:01:01:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:01:02:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:01:03:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:01:04:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:01:05:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:01:09:Service:timerRun:restartBoinc:Restart charging
22:01:09:Service:restartBoinc
22:01:09:ERROR:RpcClient:sendRequest:kotlin.UninitializedPropertyAccessException: lateinit property mSocketSink has not been initialized
22:01:12:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:01:12:Boinc:clientSetup: Starting the BOINC client
22:01:13:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:01:14:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:01:15:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:01:16:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:01:17:ERROR:RpcClient:openjava.io.IOException: Permission denied
22:53:21:MainActivity:Ignore Battery Optimizations, permission granted
22:53:21:MainActivity:doBindService
22:58:43:MainActivity:Ignore Battery Optimizations, permission granted
22:58:43:MainActivity:doBindService
22:58:44:Service:boincPause
22:58:48:MainActivity:doUnbindService
22:58:48:ERROR:RpcClient:sendRequest:kotlin.UninitializedPropertyAccessException: lateinit property mSocketSink has not been initialized
22:58:50:Service:onDestroy
Title: Re: B.T. 1.82
Post by: fred on November 21, 2020, 10:30:20 AM
Quote from: cristipurdel on November 21, 2020, 07:31:05 AM
Sorry for the late reply, I am getting now On 6.0.1 with root:
Parse error
There was a problem parsing the package

On Android 9 it is not working again, but also the app is very slow, at least in comparison with v1.2 or v1.1

Did you install 1.4?
I there another BOINC app active?
The connection is refused, so something is blocking the connection.

The BOINC client is restarting and that sure slows things down.
Title: Re: B.T. 1.82
Post by: cristipurdel on November 21, 2020, 11:35:58 AM
Quote from: fred on November 21, 2020, 10:30:20 AM
Quote from: cristipurdel on November 21, 2020, 07:31:05 AM
Sorry for the late reply, I am getting now On 6.0.1 with root:
Parse error
There was a problem parsing the package

On Android 9 it is not working again, but also the app is very slow, at least in comparison with v1.2 or v1.1

Did you install 1.4?
On both of them
I there another BOINC app active?
Only the default BOINC app 7.4.53
The connection is refused, so something is blocking the connection.
How could I debug the cause? I remember getting this error also with v1.2


The BOINC client is restarting and that sure slows things down.
Title: Re: B.T. 1.82
Post by: fred on November 21, 2020, 11:52:36 AM
Quote from: cristipurdel on November 21, 2020, 11:35:58 AM
Only the default BOINC app 7.4.53
That's the reason. Only one active BOINC Client allowed.
One of these days I have to build a new BOINC Client.
Title: Re: B.T. 1.82
Post by: cristipurdel on November 21, 2020, 11:54:35 AM
Quote from: fred on November 21, 2020, 11:52:36 AM
Quote from: cristipurdel on November 21, 2020, 11:35:58 AM
Only the default BOINC app 7.4.53
That's the reason. Only one active BOINC Client allowed.
One of these days I have to build a new BOINC Client.
So I have to remove the default BOINC app and just let your v1.4 run?
Title: Re: B.T. 1.82
Post by: fred on November 21, 2020, 11:58:56 AM
Quote from: cristipurdel on November 21, 2020, 11:54:35 AM
So I have to remove the default BOINC app and just let your v1.4 run?
Just stopping the client should do the trick.
But I'm not sure if that's possible, if you find a way let me know.
Title: Re: B.T. 1.82
Post by: fred on November 21, 2020, 12:50:13 PM
Quote from: cristipurdel on November 21, 2020, 11:54:35 AM
So I have to remove the default BOINC app and just let your v1.4 run?
I added a way that should work on most devices:
https://efmer.com/android-debug/ (https://efmer.com/android-debug/) Basically forcing the App to stop.
Title: Re: B.T. 1.82
Post by: cristipurdel on November 21, 2020, 12:59:57 PM
I've uninstalled BOINC and now it seams a bit better but still cannot connect (I've updated to 1.83):
12:59:56:Start app
12:59:56:MainActivity:Ignore Battery Optimizations, permission granted
12:59:56:MainActivity:doBindService
13:38:40:MainActivity:Ignore Battery Optimizations, permission granted
13:38:40:MainActivity:doBindService
13:40:25:ERROR:RpcClient:sendRequest:java.io.IOException: Broken pipe
13:40:25:ERROR:RpcClient:sendRequest:java.io.IOException: Broken pipe
13:40:26:ERROR:RpcClient:sendRequest:java.io.IOException: Broken pipe
13:41:14:Service:timerRun:restartBoinc:Restart OnAcPower
13:41:14:Service:restartBoinc
13:41:58:ERROR:RpcClient:sendRequest:java.io.IOException: Broken pipe
13:42:01:ERROR:RpcClient:openjava.io.IOException: Connection refused
13:42:11:Boinc:clientSetup: Starting the BOINC client
13:42:24:reporting hostinfo model name: LGE LG-H930 - SDK: 28 ABI: arm64-v8a, os name: Android, os version: 9
13:43:01:ERROR:RpcClient:sendRequest:java.io.IOException: Broken pipe
13:43:01:ERROR:RpcClient:sendRequest:java.io.IOException: Broken pipe
13:43:01:ERROR:RpcClient:sendRequest:java.io.IOException: Broken pipe
13:43:06:MainActivity:Ignore Battery Optimizations, permission granted
13:43:06:MainActivity:doBindService
13:43:07:Service:timerRun:restartBoinc:Restart OnAcPower
13:43:07:Service:restartBoinc
13:43:07:ERROR:RpcClient:sendRequest:java.io.IOException: Broken pipe
13:43:10:ERROR:RpcClient:openjava.io.IOException: Connection refused
13:43:10:Boinc:clientSetup: Starting the BOINC client
13:43:11:reporting hostinfo model name: LGE LG-H930 - SDK: 28 ABI: arm64-v8a, os name: Android, os version: 9
13:43:57:MainActivity:doUnbindService
13:44:03:Service:onDestroy
13:44:06:MainActivity:doBindService
13:44:06:Service: onCreate
13:44:06:Service:onStartCommand:Service Started
13:44:06:ERROR:RpcClient:openjava.io.IOException: Connection refused
13:44:06:Boinc:clientSetup: Starting the BOINC client
13:44:07:reporting hostinfo model name: LGE LG-H930 - SDK: 28 ABI: arm64-v8a, os name: Android, os version: 9
13:45:49:MainActivity:doUnbindService
13:45:54:Service:onDestroy
13:45:56:MainActivity:doBindService
13:45:56:Service: onCreate
13:45:56:Service:onStartCommand:Service Started
13:45:56:ERROR:RpcClient:openjava.io.IOException: Connection refused
13:45:56:Boinc:clientSetup: Starting the BOINC client
13:45:57:reporting hostinfo model name: LGE LG-H930 - SDK: 28 ABI: arm64-v8a, os name: Android, os version: 9
13:47:18:MainActivity:doUnbindService
13:47:25:Service:onDestroy
13:47:28:MainActivity:doBindService
13:47:28:Service: onCreate
13:47:28:Service:onStartCommand:Service Started
13:47:28:ERROR:RpcClient:openjava.io.IOException: Connection refused
13:47:28:Boinc:clientSetup: Starting the BOINC client
13:47:29:reporting hostinfo model name: LGE LG-H930 - SDK: 28 ABI: arm64-v8a, os name: Android, os version: 9
13:48:41:MainActivity:Ignore Battery Optimizations, permission granted
13:48:41:MainActivity:doBindService
13:51:05:MainActivity:Ignore Battery Optimizations, permission granted
13:51:05:MainActivity:doBindService
13:52:45:MainActivity:doUnbindService
13:52:47:Service:onDestroy
13:52:49:MainActivity:doBindService
13:52:49:Service: onCreate
13:52:49:Service:onStartCommand:Service Started
13:52:49:ERROR:RpcClient:openjava.io.IOException: Connection refused
13:52:49:Boinc:clientSetup: Starting the BOINC client
13:52:51:reporting hostinfo model name: LGE LG-H930 - SDK: 28 ABI: arm64-v8a, os name: Android, os version: 9
13:54:12:MainActivity:Ignore Battery Optimizations, permission granted
13:54:12:MainActivity:doBindService
13:55:24:MainActivity:Ignore Battery Optimizations, permission granted
13:55:24:MainActivity:doBindService
13:56:06:MainActivity:Ignore Battery Optimizations, permission granted
13:56:06:MainActivity:doBindService
Title: Re: B.T. 1.82
Post by: cristipurdel on November 21, 2020, 01:05:24 PM
Quote from: fred on November 21, 2020, 12:50:13 PM
Quote from: cristipurdel on November 21, 2020, 11:54:35 AM
So I have to remove the default BOINC app and just let your v1.4 run?
I added a way that should work on most devices:
https://efmer.com/android-debug/ (https://efmer.com/android-debug/) Basically forcing the App to stop.
Reinstalled BOINC, tried it and it is still not working
Title: Re: B.T. 1.82
Post by: cristipurdel on November 21, 2020, 01:16:58 PM
ma bad, getting too old for this
so, I did not click on "Allow external ip addresses to connect" in order to add my phone ip
Title: Re: B.T. 1.82
Post by: cristipurdel on November 21, 2020, 01:40:41 PM
It worked, then I changed the mobile phone name, and it is not working anymore now

Still, can you please add previous apk versions below:
https://efmer.com/download-boinc-for-android/
Maybe they can work on phones with root
Title: Re: B.T. 1.82
Post by: fred on November 21, 2020, 04:03:19 PM
Quote from: cristipurdel on November 21, 2020, 01:40:41 PM
It worked, then I changed the mobile phone name, and it is not working anymore now

Still, can you please add previous apk versions below:
https://efmer.com/download-boinc-for-android/
Maybe they can work on phones with root
The phone name shouldn't have much effect.
But the IP address may have changed and if so it doesn't match the allowed IP anymore.
If you want a previous version just change the version number like this for 1.2 https://efmer.eu/download/boinc/android/boinc_for_boinctasks_1_2.apk (https://efmer.eu/download/boinc/android/boinc_for_boinctasks_1_2.apk)
Title: Re: B.T. 1.82
Post by: hucker on November 22, 2020, 11:01:45 AM
Quote from: fred on November 11, 2020, 02:30:53 PM
Quote from: cristipurdel on November 11, 2020, 02:25:21 PM
Can you please add option to update, or just download, apk from the app itself, so I do not have to do remote control some android TV sticks?
Unfortunately that's not possible/allowed at the moment.
If you mean updating your program automatically, maybe you could get it onto Google Play?  That updates everything itself.  Dunno if they charge a fee though.  Boinc is on there, although not the latest Beta one that was required to make Rosetta function with https.
Title: Re: B.T. 1.82
Post by: fred on November 22, 2020, 11:37:23 AM
Quote from: hucker on November 22, 2020, 11:01:45 AM
If you mean updating your program automatically, maybe you could get it onto Google Play?
[/quote]
I wish, Google no longer allows the app in it's current form.
Title: Re: B.T. 1.82
Post by: cristipurdel on November 22, 2020, 11:46:17 AM
What if you could add some non-intrusive adds on google play, in order to have some revenue, but still make the app free?
Title: Re: B.T. 1.82
Post by: fred on November 22, 2020, 11:48:33 AM
Quote from: cristipurdel on November 22, 2020, 11:46:17 AM
What if you could add some non-intrusive adds on google play, in order to have some revenue, but still make the app free?
That's not the problem I do have an Android and Apple account.
Android is very cheap.
It's because of the way the BOINC Client works ( as a Linux daemon ) , it's considered insecure and thus no longer allowed.
Title: Re: B.T. 1.82
Post by: hucker on November 22, 2020, 05:40:02 PM
Quote from: fred on November 22, 2020, 11:48:33 AM
Quote from: cristipurdel on November 22, 2020, 11:46:17 AM
What if you could add some non-intrusive adds on google play, in order to have some revenue, but still make the app free?
That's not the problem I do have an Android and Apple account.
Android is very cheap.
It's because of the way the BOINC Client works ( as a Linux daemon ) , it's considered insecure and thus no longer allowed.
So how come Boinc itself is allowed on there?
Title: Re: B.T. 1.82
Post by: hucker on November 22, 2020, 05:41:33 PM
Quote from: cristipurdel on November 22, 2020, 11:46:17 AM
What if you could add some non-intrusive adds on google play, in order to have some revenue, but still make the app free?
Ugh, no such thing as a non-intrusive ad.
Title: Re: B.T. 1.82
Post by: fred on November 22, 2020, 06:01:08 PM
Quote from: hucker on November 22, 2020, 05:40:02 PM
So how come Boinc itself is allowed on there?
It's older and published before the no longer allowed deadline.
Title: Re: B.T. 1.82
Post by: hucker on November 23, 2020, 04:46:06 PM
Quote from: fred on November 22, 2020, 06:01:08 PM
Quote from: hucker on November 22, 2020, 05:40:02 PM
So how come Boinc itself is allowed on there?
It's older and published before the no longer allowed deadline.
Right.... so it's ok to have a program that breaks their rules so long as it was there before they changed them?  Google don't make sense.  Mind you, they have removed at least one that I know of when the rules changed.  Pipboy for Fallout 4.  It's an app that connects directly with your PC when you're playing a game, to allow a second screen on your phone, so presumably doing similar weird networking as your programs do.