Thread 'Permission for project to download an app?'

Message boards : Android : Permission for project to download an app?
Message board moderation

To post messages, you must log in.

AuthorMessage
ProfileDave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2701
United Kingdom
Message 108279 - Posted: 31 May 2022, 6:21:53 UTC - in response to Message 108278.  

Is that phone running other projects OK? Any project is going to need to download the executable files from them.
ID: 108279 · Report as offensive
ProfileDave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2701
United Kingdom
Message 108281 - Posted: 31 May 2022, 7:50:11 UTC - in response to Message 108280.  

I just swapped projects when tasks all started erroring out. I never got around to looking at the logs to realise the problem was Android refusing to let something download. I suspect, nothing will change unless Yoyo change the way they do things.
ID: 108281 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5129
United Kingdom
Message 108283 - Posted: 31 May 2022, 8:21:55 UTC - in response to Message 108282.  

Some projects use a 'wrapper' app between BOINC and their main executable - but even then, it's BOINC which does the downloading, and should have the correct permissions.

It can be easier to work out how projects like YoYo are operating by attaching it to a mainstream Linux or Windows machine, where you can examine the downloads and metadata much more easily. Their Android app is likely to work in a similar way, but with the details hidden.
ID: 108283 · Report as offensive
ProfileDave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2701
United Kingdom
Message 108284 - Posted: 31 May 2022, 8:42:16 UTC - in response to Message 108283.  
Last modified: 31 May 2022, 8:44:20 UTC

Some projects use a 'wrapper' app between BOINC and their main executable - but even then, it's BOINC which does the downloading, and should have the correct permissions.

It can be easier to work out how projects like YoYo are operating by attaching it to a mainstream Linux or Windows machine, where you can examine the downloads and metadata much more easily. Their Android app is likely to work in a similar way, but with the details hidden.


Thanks Richard. A quick look at files downloading on Linux didn't give me any clues but Yoyo downloads a lot of files! So could easily have missed something, especially as I don't know what I am looking for. I will change things so I don't get so many tasks downloading at once and then have another look later. Number of different files also affected by four different task types out of six tasks.

Edit: I am not hopeful however that knowing how it works will get me any closer to getting it to work on Android and it may be that isn't the problem on my phone at all and it is one of the projects that needs 32bit libraries installed.
ID: 108284 · Report as offensive
ProfileDave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2701
United Kingdom
Message 108289 - Posted: 31 May 2022, 20:46:29 UTC

This looks normal to me, I just attached Yoyo to a Windows computer:
I didn't spot anything particularly different on Linux but it may be that the tasks sent to Android clients are different in nature. Haven't had time to have a really thorough look yet though.
ID: 108289 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15563
Netherlands
Message 108290 - Posted: 31 May 2022, 22:33:15 UTC

A couple of things:
1. The Yoyo app is 32bit (it's from 2015). To be able to run on Android, the Android version needs to be 32bit as well as the CPU.
If this runs on the Samsung A10, its CPU is 64bit.

If the Android version is also 64bit, it won't download the 32bit Yoyo app because that won't run anyway.
If the Android version is 32bit, it requires 32bit compatibility libraries to run anything on the 64bit CPU. Those are available for Android, but you can only install them when you have rooted your device and/or run your own Android ROM. Most people cannot.

2. You can check what CPU you have and what mode it runs in by installing AIDA64 from the Play Store. If the CPU says 64bit (runs in 32bit Mode) your Android version is 32bit. And then you can't run 32bit apps via BOINC. Either all work will err immediately, or BOINC won't even download the app. Ask the project for a 64bit app (which I doubt they'll make).

3. Checking the Samsung A10 on GSMArena, it says there are 2GB and 4GB models only, which will most probably mean the CPU runs in 32bit mode and the Android on it is 32bit.
ID: 108290 · Report as offensive

Message boards : Android : Permission for project to download an app?

Copyright © 2024 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.