Black Diamond 12R2 for the Android

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Marcus9
Posts: 85
Joined: Mon May 13, 2019 6:05 pm
Full name: Marco Giorgio

Re: Black Diamond 12R2 for the Android

Post by Marcus9 »

MikeB wrote: Fri Oct 30, 2020 11:05 am
Marcus9 wrote: Fri Oct 30, 2020 8:41 am
MikeB wrote: Thu Oct 29, 2020 9:30 pm
Marcus9 wrote: Thu Oct 29, 2020 8:31 pm
MikeB wrote: Thu Oct 29, 2020 8:05 pm
Marcus9 wrote: Thu Oct 29, 2020 7:58 pm
MikeB wrote: Thu Oct 29, 2020 6:18 am Should work on 98% of Androids.
Maybe my phone is in that 2%, the "base" engines don't work
What device and which Android Version ->Settings>About Phone >Android version?

It should run on JellyBean (4.1) or newer according to the API it supports - API 16 and higher.
Huawei Mate 20 pro, Android 10.
I don't think the problem is the version, maybe I missed something.
If I try to start an internal engine I get an error message:
"Engine error: nn-2eb2e0707c2b.nnue"
Maybe I need to install the NNUE network separately?
You shouldn't have to ...this is the tricky part, embedding the nnue. Let me try something different - will post here when an update is ready.

Before I start , can you try each engine and let me know if you get that error on every engine or just a few.
The only working engine is cuckochess.
All externally installed engines are working
Did you try the latest version I posted last night?
https://github.com/MichaelB7/Stockfish/ ... Update.apk
Yes, same problem.
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Black Diamond 12R2 for the Android

Post by MikeB »

Marcus9 wrote: Fri Oct 30, 2020 11:19 am
MikeB wrote: Fri Oct 30, 2020 11:05 am
Marcus9 wrote: Fri Oct 30, 2020 8:41 am
MikeB wrote: Thu Oct 29, 2020 9:30 pm
Marcus9 wrote: Thu Oct 29, 2020 8:31 pm
MikeB wrote: Thu Oct 29, 2020 8:05 pm
Marcus9 wrote: Thu Oct 29, 2020 7:58 pm
MikeB wrote: Thu Oct 29, 2020 6:18 am Should work on 98% of Androids.
Maybe my phone is in that 2%, the "base" engines don't work
What device and which Android Version ->Settings>About Phone >Android version?

It should run on JellyBean (4.1) or newer according to the API it supports - API 16 and higher.
Huawei Mate 20 pro, Android 10.
I don't think the problem is the version, maybe I missed something.
If I try to start an internal engine I get an error message:
"Engine error: nn-2eb2e0707c2b.nnue"
Maybe I need to install the NNUE network separately?
You shouldn't have to ...this is the tricky part, embedding the nnue. Let me try something different - will post here when an update is ready.

Before I start , can you try each engine and let me know if you get that error on every engine or just a few.
The only working engine is cuckochess.
All externally installed engines are working
Did you try the latest version I posted last night?
https://github.com/MichaelB7/Stockfish/ ... Update.apk
Yes, same problem.
Remove my app and install the "original" Droidfish from the Play Store and see if the Stockfish engine from Droidfish works.
Image
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Black Diamond 12R2 for the Android

Post by MikeB »

It's possible Huwaii phones , which have a custom OS, many not work with Google Android Studio apps. From earlier this year.
In an interview, Huawei’s head for the company’s consumer business Richard Yu spoke up about the kind of direction and planning the firm is taking after the Android license ban. Without Google supporting Huawei, the company’s handsets will not receive Android software or security updates, or Google’s official apps and services. To counter this setback, Huawei was earlier reported to be working on its custom operating system called HongMeng OS, and it was said to be compatible with both smartphones and desktop computers.

Huawei’s Richard Yu Still Hasn’t Disclosed the Official Name of the OS, but Talks About Expected Launch Timeline and Other Details
In talks with CNBC, Richard Yu states that Huawei’s priority is to continue working with Google and Microsoft for their software, but if that can’t happen, then the Chinese giant will need to take other measures to stay competitive in the market.

“Today, Huawei, we are still committed to Microsoft Windows and Google Android. But if we cannot use that, Huawei will prepare the plan B to use our own OS.”

Yu states that it is unfortunate that Huawei’s long-term partners had to cut ties, while also saying that the company’s custom operating system for smartphones and laptops could be ready for use in China this fall. Since Huawei is readily dominant in China, and the fact that smartphones launched in this region don’t come preloaded with Google’s app or services, it will be the ideal testing bed to further tweak the OS and prep it for a global launch. On the subject of a global launch, Huawei’s executive states that an international version of the unnamed platform could launch during the first or second quarter of 2020.

“We don’t want to do this but we will forced to do that because of the U.S. government. I think the U.S., this kind of thing, will also not only be bad news for us, but also bad news for the U.S. companies because we support the U.S. business, so we will be forced to do this on our own. We don’t want to do this but we have no other solution, no other choice.”

Along the way, Huawei will face daunting challenges of making its own OS. According to Neil Shah, Research Director at Counterpoint Research states that ensuring user security and the security of apps will carry the utmost weightage. Since Huawei is being blamed by the U.S. for cyber espionage, it would not go in Huawei’s favor if they were to face any controversy related to security problems from its own operating system or the apps that are provided on it.

Also, since ARM has stopped doing business with Huawei, the first step would be to ensure not losing access to ARM’s intellectual property. Creating a custom operating system from scratch isn’t as simple as churning out a mobile SoC, but we’ll have to see how far Huawei comes in the coming months. Till then, stay tuned for more updates.
Image
Marcus9
Posts: 85
Joined: Mon May 13, 2019 6:05 pm
Full name: Marco Giorgio

Re: Black Diamond 12R2 for the Android

Post by Marcus9 »

MikeB wrote: Fri Oct 30, 2020 11:47 am
Marcus9 wrote: Fri Oct 30, 2020 11:19 am
MikeB wrote: Fri Oct 30, 2020 11:05 am
Marcus9 wrote: Fri Oct 30, 2020 8:41 am
MikeB wrote: Thu Oct 29, 2020 9:30 pm
Marcus9 wrote: Thu Oct 29, 2020 8:31 pm
MikeB wrote: Thu Oct 29, 2020 8:05 pm
Marcus9 wrote: Thu Oct 29, 2020 7:58 pm
MikeB wrote: Thu Oct 29, 2020 6:18 am Should work on 98% of Androids.
Maybe my phone is in that 2%, the "base" engines don't work
What device and which Android Version ->Settings>About Phone >Android version?

It should run on JellyBean (4.1) or newer according to the API it supports - API 16 and higher.
Huawei Mate 20 pro, Android 10.
I don't think the problem is the version, maybe I missed something.
If I try to start an internal engine I get an error message:
"Engine error: nn-2eb2e0707c2b.nnue"
Maybe I need to install the NNUE network separately?
You shouldn't have to ...this is the tricky part, embedding the nnue. Let me try something different - will post here when an update is ready.

Before I start , can you try each engine and let me know if you get that error on every engine or just a few.
The only working engine is cuckochess.
All externally installed engines are working
Did you try the latest version I posted last night?
https://github.com/MichaelB7/Stockfish/ ... Update.apk
Yes, same problem.
Remove my app and install the "original" Droidfish from the Play Store and see if the Stockfish engine from Droidfish works.
Original droidfish work, even your beta version with only honey and black diamond
Marcus9
Posts: 85
Joined: Mon May 13, 2019 6:05 pm
Full name: Marco Giorgio

Re: Black Diamond 12R2 for the Android

Post by Marcus9 »

Can i download your engines separately?
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Black Diamond 12R2 for the Android

Post by MikeB »

Marcus9 wrote: Fri Oct 30, 2020 12:16 pm
MikeB wrote: Fri Oct 30, 2020 11:47 am
Marcus9 wrote: Fri Oct 30, 2020 11:19 am
MikeB wrote: Fri Oct 30, 2020 11:05 am
Marcus9 wrote: Fri Oct 30, 2020 8:41 am
MikeB wrote: Thu Oct 29, 2020 9:30 pm
Marcus9 wrote: Thu Oct 29, 2020 8:31 pm
MikeB wrote: Thu Oct 29, 2020 8:05 pm
Marcus9 wrote: Thu Oct 29, 2020 7:58 pm
MikeB wrote: Thu Oct 29, 2020 6:18 am Should work on 98% of Androids.
Maybe my phone is in that 2%, the "base" engines don't work
What device and which Android Version ->Settings>About Phone >Android version?

It should run on JellyBean (4.1) or newer according to the API it supports - API 16 and higher.
Huawei Mate 20 pro, Android 10.
I don't think the problem is the version, maybe I missed something.
If I try to start an internal engine I get an error message:
"Engine error: nn-2eb2e0707c2b.nnue"
Maybe I need to install the NNUE network separately?
You shouldn't have to ...this is the tricky part, embedding the nnue. Let me try something different - will post here when an update is ready.

Before I start , can you try each engine and let me know if you get that error on every engine or just a few.
The only working engine is cuckochess.
All externally installed engines are working
Did you try the latest version I posted last night?
https://github.com/MichaelB7/Stockfish/ ... Update.apk
Yes, same problem.
Remove my app and install the "original" Droidfish from the Play Store and see if the Stockfish engine from Droidfish works.
Original droidfish work, even your beta version with only honey and black diamond
Not sure what happened - I did upgrade to Android Studio Preview (4.2 Canary 15) . Are you getting any error messages? I have no way to debug since Huwaii and Google are no longer in partnership and there are no longer any emulators for the Huwaii phone available for Android Studio
Image
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Now An Even Dozen

Post by MikeB »

https://github.com/MichaelB7/Stockfish/ ... s/tag/2.01

See the About for the details ( in the download section above or in the App) . Now includes a dozen engines, including Andscacs, Shallow Blue, Fruit and Senpai.

https://github.com/MichaelB7/Stockfish/ ... about.html

Image
Image

Includes all engines down to and including Shallow Blue. Other engines be added through the Play Store
Image
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Black Diamond 12R2 for the Android

Post by MikeB »

There was an issue with the NN engines not being able to read the NNUE file. This is now fixed.

https://github.com/MichaelB7/Stockfish/ ... s/tag/2.01

The new app has an identifier lable "fixed" in the name.
https://github.com/MichaelB7/Stockfish/ ... _fixed.apk

My apologies, after adding the non NNUE engines and checking them, I had not checked NNUE engines. Blame it on the lateness and fatigued setting in.
Image
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Black Diamond 12R2 for the Android

Post by MikeB »

MikeB wrote: Mon Nov 02, 2020 12:32 am There was an issue with the NN engines not being able to read the NNUE file. This is now fixed.

https://github.com/MichaelB7/Stockfish/ ... s/tag/2.01

The new app has an identifier lable "fixed" in the name.
https://github.com/MichaelB7/Stockfish/ ... _fixed.apk

My apologies, after adding the non NNUE engines and checking them, I had not checked NNUE engines. Blame it on the lateness and fatigued setting in.
Cfish has a Pure NN option, so I was thinking how cool would it be to play Cfish with search depth , say 3. Well with NN Pure - it plays very decent moves at depth 3 ( for human play). Of course , it then moves instantly - so I added two uci options - one for user to play by search and for a user to use sleep to avoid instant moves. When set to 0 , they are off (default)
Image

direct link :https://github.com/MichaelB7/Stockfish/ ... _2.apk.apk

have fun... ;>)
Image
Marcus9
Posts: 85
Joined: Mon May 13, 2019 6:05 pm
Full name: Marco Giorgio

Re: Black Diamond 12R2 for the Android

Post by Marcus9 »

MikeB wrote: Mon Nov 02, 2020 12:32 am There was an issue with the NN engines not being able to read the NNUE file. This is now fixed.

https://github.com/MichaelB7/Stockfish/ ... s/tag/2.01

The new app has an identifier lable "fixed" in the name.
https://github.com/MichaelB7/Stockfish/ ... _fixed.apk

My apologies, after adding the non NNUE engines and checking them, I had not checked NNUE engines. Blame it on the lateness and fatigued setting in.
Thank you so much! Now works