Advanced search

Message boards : News : [subset_sum] android app

Author Message
Travis Desell
Volunteer moderator
Project administrator
Project developer
Project scientist
Send message
Joined: 16 Jan 12
Posts: 1813
Combined Credit: 23,514,257
DNA@Home: 293,563
SubsetSum@Home: 349,212
Wildlife@Home: 22,871,482
Wildlife@Home Watched: 212,926s
Wildlife@Home Events: 51
Climate Tweets: 21
Images Observed: 774

              
Message 5206 - Posted: 21 May 2015, 23:25:26 UTC

Many thanks to Steve Hawker who just sent me an android app for the subset sum project. Let me know if it works or if you have any problems!

Profile Skivelitis2
Avatar
Send message
Joined: 16 May 15
Posts: 60
Combined Credit: 11,066,329
DNA@Home: 19,068
SubsetSum@Home: 575,552
Wildlife@Home: 10,471,708
Wildlife@Home Watched: 9,158s
Wildlife@Home Events: 4
Climate Tweets: 389
Images Observed: 52

            
Message 6067 - Posted: 20 Jan 2016, 13:50:42 UTC - in response to Message 5206.

Minimum Android version? Pie, non-pie, both?
____________

Profile Steve Hawker*
Send message
Joined: 8 Apr 13
Posts: 134
Combined Credit: 829,896
DNA@Home: 11,932
SubsetSum@Home: 299,708
Wildlife@Home: 518,257
Wildlife@Home Watched: 5,541,577s
Wildlife@Home Events: 2,169
Climate Tweets: 8,646
Images Observed: 55

              
Message 6079 - Posted: 20 Jan 2016, 21:20:17 UTC - in response to Message 6067.

Minimum Android version? Pie, non-pie, both?


No idea but this is an old executable. It was stored on a server somewhere and I retrieved it. No idea where the source code is.

Profile Skivelitis2
Avatar
Send message
Joined: 16 May 15
Posts: 60
Combined Credit: 11,066,329
DNA@Home: 19,068
SubsetSum@Home: 575,552
Wildlife@Home: 10,471,708
Wildlife@Home Watched: 9,158s
Wildlife@Home Events: 4
Climate Tweets: 389
Images Observed: 52

            
Message 6081 - Posted: 20 Jan 2016, 22:35:30 UTC

Well, I have 15 Android cores ranging from 2.3 to 5.1. It give it a whirl when the SSS units are flowing and report back.
____________

Profile Skivelitis2
Avatar
Send message
Joined: 16 May 15
Posts: 60
Combined Credit: 11,066,329
DNA@Home: 19,068
SubsetSum@Home: 575,552
Wildlife@Home: 10,471,708
Wildlife@Home Watched: 9,158s
Wildlife@Home Events: 4
Climate Tweets: 389
Images Observed: 52

            
Message 6091 - Posted: 22 Jan 2016, 9:09:39 UTC

Managed to download a couple on my oldest device running Android version 2.3 non-pie. Looks like it'll take 8-10 hrs to complete.
____________

sorcrosc
Send message
Joined: 30 Aug 14
Posts: 4
Combined Credit: 2,157,216
DNA@Home: 14,432
SubsetSum@Home: 69,490
Wildlife@Home: 2,073,293
Wildlife@Home Watched: 0s
Wildlife@Home Events: 0
Climate Tweets: 13
Images Observed: 1,271

          
Message 6094 - Posted: 23 Jan 2016, 11:33:02 UTC
Last modified: 23 Jan 2016, 11:34:14 UTC

It doesn't work on my LG G4. Android 5.1

<core_client_version>7.4.41</core_client_version>
<![CDATA[
<message>
process exited with code 1 (0x1, -255)
</message>
<stderr_txt>
error: only position independent executables (PIE) are supported.

</stderr_txt>
]]>


http://csgrid.org/csg/result.php?resultid=9770798

Profile Skivelitis2
Avatar
Send message
Joined: 16 May 15
Posts: 60
Combined Credit: 11,066,329
DNA@Home: 19,068
SubsetSum@Home: 575,552
Wildlife@Home: 10,471,708
Wildlife@Home Watched: 9,158s
Wildlife@Home Events: 4
Climate Tweets: 389
Images Observed: 52

            
Message 6095 - Posted: 23 Jan 2016, 14:58:42 UTC - in response to Message 6094.
Last modified: 23 Jan 2016, 15:08:30 UTC

It doesn't work on my LG G4. Android 5.1

<core_client_version>7.4.41</core_client_version>
<![CDATA[
<message>
process exited with code 1 (0x1, -255)
</message>
<stderr_txt>
error: only position independent executables (PIE) are supported.

</stderr_txt>
]]>


http://csgrid.org/csg/result.php?resultid=9770798

Thanks for the heads up. Wont bother to even try on my 5.1 host. Had a feeling this would be the case as Steve Hawker* indicated it was an old executable. I'll give it a try on one of my 4.xx hosts and report back. Strange that the error you received states that only (PIE) is supported. I am returning valid results from 2 non-PIE hosts.
____________

Profile Skivelitis2
Avatar
Send message
Joined: 16 May 15
Posts: 60
Combined Credit: 11,066,329
DNA@Home: 19,068
SubsetSum@Home: 575,552
Wildlife@Home: 10,471,708
Wildlife@Home Watched: 9,158s
Wildlife@Home Events: 4
Climate Tweets: 389
Images Observed: 52

            
Message 6098 - Posted: 24 Jan 2016, 17:08:52 UTC

App seems to be working on my Samsung Galaxy Exhibit (Android version 4.1). About 10% in after 30mins. Situation seems to be similar to that at QCN in that 4.xx versions work but 5.xx does not, most likely due to the old age of the executable. I would love to test on version 4.42 to see how far up the 4.xx ladder the app works, but I broke the screen on that tablet and it's stuck on Universe (currently out of work) and WUProp.
____________

rod4x4
Send message
Joined: 15 Aug 14
Posts: 2
Combined Credit: 124,156,869
DNA@Home: 1,980,685
SubsetSum@Home: 3,934,916
Wildlife@Home: 118,241,267
Wildlife@Home Watched: 0s
Wildlife@Home Events: 0
Climate Tweets: 0
Images Observed: 0

      
Message 6102 - Posted: 25 Jan 2016, 7:55:07 UTC

Running successfully on Android 4.4.2. (Samsung Note 3)

vlado101
Send message
Joined: 28 Jan 15
Posts: 20
Combined Credit: 309,336
DNA@Home: 72,281
SubsetSum@Home: 197,629
Wildlife@Home: 39,427
Wildlife@Home Watched: 0s
Wildlife@Home Events: 0
Climate Tweets: 411
Images Observed: 0

        
Message 6123 - Posted: 1 Feb 2016, 16:35:03 UTC

Same here. 5+ version does not work, however 4 version does on my android table.

Profile Skivelitis2
Avatar
Send message
Joined: 16 May 15
Posts: 60
Combined Credit: 11,066,329
DNA@Home: 19,068
SubsetSum@Home: 575,552
Wildlife@Home: 10,471,708
Wildlife@Home Watched: 9,158s
Wildlife@Home Events: 4
Climate Tweets: 389
Images Observed: 52

            
Message 6125 - Posted: 2 Feb 2016, 11:49:05 UTC

I have quite a few pending work units. Most of them have have wingmen using Android 5 which have errored out and have not been re-sent. Is there a way to prevent these hosts from receiving tasks?

shopXXL-com
Send message
Joined: 20 Mar 16
Posts: 2
Combined Credit: 1,516,081
DNA@Home: 0
SubsetSum@Home: 1,238,223
Wildlife@Home: 277,858
Wildlife@Home Watched: 0s
Wildlife@Home Events: 0
Climate Tweets: 1
Images Observed: 311

      
Message 6152 - Posted: 22 Mar 2016, 5:41:30 UTC
Last modified: 22 Mar 2016, 5:43:46 UTC

Hi guys.

As I will soon have reached the highest badge availabele for the only Android-available project over at Worldcommunitygrid, I have decided to give your project a try :)

My units mostly run on Android 4.4.2 and 5.0. and come on 4/8-core ARM's (1400/1700Mhz) with 1 or 2 gigs of RAM. I am curious to see how differently they will score crunching results and how memory intensive this project will be.

For all other readers who wonder how these Andoid unit will perform, you will be able to see my stats for this project among all other Android units over at the WUPROP project once my units start returning results.
[url] http://wuprop.boinc-af.org/results/arm.py?projet=Citizen+Science+Grid&application=SubsetSum%40Home+Sum+Calculator [/url]

Make sure you have a couple job units ready in the feeder pot. All my crunchers are dedicated 24/7 :)

Profile Skivelitis2
Avatar
Send message
Joined: 16 May 15
Posts: 60
Combined Credit: 11,066,329
DNA@Home: 19,068
SubsetSum@Home: 575,552
Wildlife@Home: 10,471,708
Wildlife@Home Watched: 9,158s
Wildlife@Home Events: 4
Climate Tweets: 389
Images Observed: 52

            
Message 6153 - Posted: 22 Mar 2016, 16:06:41 UTC - in response to Message 6152.

Hi guys.

As I will soon have reached the highest badge availabele for the only Android-available project over at Worldcommunitygrid, I have decided to give your project a try :)

My units mostly run on Android 4.4.2 and 5.0. and come on 4/8-core ARM's (1400/1700Mhz) with 1 or 2 gigs of RAM. I am curious to see how differently they will score crunching results and how memory intensive this project will be.

For all other readers who wonder how these Andoid unit will perform, you will be able to see my stats for this project among all other Android units over at the WUPROP project once my units start returning results.
[url] http://wuprop.boinc-af.org/results/arm.py?projet=Citizen+Science+Grid&application=SubsetSum%40Home+Sum+Calculator [/url]

Make sure you have a couple job units ready in the feeder pot. All my crunchers are dedicated 24/7 :)

Android 5.+ does not work here due to an old executable. 4.4.2 and lower should work fine.
____________

shopXXL-com
Send message
Joined: 20 Mar 16
Posts: 2
Combined Credit: 1,516,081
DNA@Home: 0
SubsetSum@Home: 1,238,223
Wildlife@Home: 277,858
Wildlife@Home Watched: 0s
Wildlife@Home Events: 0
Climate Tweets: 1
Images Observed: 311

      
Message 6170 - Posted: 10 Apr 2016, 19:22:53 UTC - in response to Message 6153.

Hmmmm.... sadly you are right... :/ Are things going to stay this way? Or will Android 5.x/6.x be left our forever? :) Because I assume that what NEW phones usually run on, don't they? ;) (Unless they run on iOS, but who cares about that...)

So as to my experience:

These devices work great: SDK:19 ABI: armeabi-v7a (Android 4.4.2 or 4.4.4)

These devices don't work at all: SDK:21 ABI: arm64-v8a (Andoid 5.0)
Error: only position independent executables (PIE) are supported.

I plan on ordering a new batch of cheap chinese android phones before end of june... I could either go for ultra cheapo 4.4.2 editions or pay 15$ more per unit to get v.5.1 In the end I will have to stick with my choice because those phones usually come without software support (upgrades) or the maker brand just closes down after having sold 10 truckloads of phones. And hassling with manual rooting those phones according to what "could" be found of xda-developers isn't really worth considering the effort due to the low price I will have them paid for.

Nevertheless, crunching-wise, I'd like to make somewhat sure there will be enough project support for the android OS I will go for, so... if(!) there will be an update for this app (Calculator 0.11) in the next... let's say up to 2 years, will it still work on android 4.4.x or not? That'd be good to know. :)

Interestingly you are writing "Android 5.+ does not work here due to an old executable. 4.4.2 and lower should work fine."
So maybe in future with new Android versions, they might go for the newer implementation of that PIE which seems to have been introduced in a later stage of v.4 and for sure after the roadmap for v.5 was set.
According to what I read on stack overflow community forum "PIE was added at Android 4.1, and it crashes lesser versions."

My posting doesn't need an immediate answer, I'll stop by in two weeks to see if there's any news... :) Some people on Github seem to stuggle with that missing (4.4) PIE-support on v.5 as well... and according to android.com "Android now requires all dynamically linked executables to support PIE (position-independent executables). This enhances Android’s address space layout randomization (ASLR) implementation." So I do understand that they're not compatible. :(

Hopefully not every new edition will come with a different set of PIE because I would understand that project devs could be pissed about (theoretically) having to recompile code every 6 month because a new version is out... and obviously phone makers want to brag about the most recent Android version that might come with their devices.

What a sad thing, Android OS is "evolving" too fast. Anyway, I will crunch with what will work for now and take a decision later about what next..... ;)

Profile Skivelitis2
Avatar
Send message
Joined: 16 May 15
Posts: 60
Combined Credit: 11,066,329
DNA@Home: 19,068
SubsetSum@Home: 575,552
Wildlife@Home: 10,471,708
Wildlife@Home Watched: 9,158s
Wildlife@Home Events: 4
Climate Tweets: 389
Images Observed: 52

            
Message 6171 - Posted: 10 Apr 2016, 20:36:13 UTC

I cannot speak for the project Admins, but I would hope that when the day comes that an app is available for Android 5.0+, support will be continued for earlier versions as well.
____________

Alexander
Send message
Joined: 11 Aug 14
Posts: 41
Combined Credit: 23,861,254
DNA@Home: 428,269
SubsetSum@Home: 1,125,177
Wildlife@Home: 22,307,809
Wildlife@Home Watched: 0s
Wildlife@Home Events: 0
Climate Tweets: 0
Images Observed: 0

      
Message 6195 - Posted: 16 Apr 2016, 12:44:24 UTC

This page @ native boinc
http://nativeboinc.org/site/uncat/downloads
says, all sources are available via github.
https://github.com/matszpk/native-boinc-for-android/tree/master/src/Subset-Sum

Profile Skivelitis2
Avatar
Send message
Joined: 16 May 15
Posts: 60
Combined Credit: 11,066,329
DNA@Home: 19,068
SubsetSum@Home: 575,552
Wildlife@Home: 10,471,708
Wildlife@Home Watched: 9,158s
Wildlife@Home Events: 4
Climate Tweets: 389
Images Observed: 52

            
Message 6197 - Posted: 16 Apr 2016, 14:35:41 UTC

Followed the link to github you provided and it looks to me like everything there is 4 years old. 5.x + didn't even exist then as far as I know. I am by no means an Android expert and know even less about github. Perhaps others with more knowledge will chime in.
____________

vlado101
Send message
Joined: 28 Jan 15
Posts: 20
Combined Credit: 309,336
DNA@Home: 72,281
SubsetSum@Home: 197,629
Wildlife@Home: 39,427
Wildlife@Home Watched: 0s
Wildlife@Home Events: 0
Climate Tweets: 411
Images Observed: 0

        
Message 6224 - Posted: 4 May 2016, 19:23:33 UTC

I am guessing android version 5+ still does not work.

Profile Steve Hawker*
Send message
Joined: 8 Apr 13
Posts: 134
Combined Credit: 829,896
DNA@Home: 11,932
SubsetSum@Home: 299,708
Wildlife@Home: 518,257
Wildlife@Home Watched: 5,541,577s
Wildlife@Home Events: 2,169
Climate Tweets: 8,646
Images Observed: 55

              
Message 6361 - Posted: 15 Jul 2016, 9:16:41 UTC - in response to Message 6224.

Travis should put a sticky MUST READ at the top of this section that explains that the Android code is 4 years old and unless a volunteer works on it there isn't going to be any update or support for newer devices. Newer being Android 5+.

If you're even thinking of criticizing the admins for not getting it together and updating an old app, might I suggest you use that energy and spare time you've got to learn how to code and then update it for the benefit of the community. The source code is already posted earlier in this thread.


Post to thread

Message boards : News : [subset_sum] android app