• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MobileSheets on Linux (Android .apk emulation)
#1
Hello everyone,

I've been wishing for a long time now that there was a MobileSheets version or another program for Linux that could at least do half as good a job.There exists unfortunately nothing of the sort and I've been stuck using Windows pretty much just to use MS, while doing everything else on Linux. I first tried to make it work by emulating the UWP from the Microsoft Store with Wine, but it is, as far as I can, tell impossible. It seems however that there is a way to get it to work on Linux using the Android .apk and that is through a program called Waydroid, which emulates the Android system and allows you to install Android apps, which also have their own neat little icons in your menu, just like the rest of your installed software.

It is however a bit tricky to install, as the mainline Linux kernel lacks some features present in the Android kernel which are necessary for this program to work, namely binder and ashmem (though binder might be included at this point, I am not sure). I am no Linux expert though, so I can offer the steps I followed to make it work on my own Linux distribution (Fedora 35 with Gnome), but there are definitely other ways and you might face different problems, which I will probably have no idea how to solve. The guide I followed is this.

As you can see you need to install a modded kernel, or you need to build the kernel yourself with the right configs. I think there is also a way (or...) to install ashmem without a different kernel, but I have not tried it. Xanmod works fine for me though. There is also a Telegram group for the Waydroid program where you can ask for help.

After the installation you can simply download your .apk files, for example the MobileSheets E-Ink.apk that I installed, and install them via terminal with

waydroid app install <insert-apk-name-here>.apk

or you could also install a store like Aurora Store to install apps graphically. Its emulated storage can be found in .local/share/waydroid/data/media. There you can find, for example, the Downloads folder or MS's own folder to place your sheet music.

If it says failed to start Clipboard service, you need to install python-clips. The command is

pip install pyclip

Another thing I need to do was edit the waydroid_base.prop file with

sudo nano /var/lib/waydroid/waydroid_base.prop

and in there set:

ro.hardware.gralloc=default
ro.hardware.egl=swiftshader

or else it flickers and is unusable (for me).

A couple of notes:

First of all, do not expect it to be terribly stable. So far sometimes it does not start and I might need to stop and restart the Waydroid service. It does seem to be a very active community however and I expect good things from it. Be sure to add psi=1 in GRUB if you use Xanmod. 

Secondly, it does not seem to work with Nvidia GPUs, so be sure to boot with your integrated GPU, if you do have a discrete one too.

Thirdly, I have not been able to get it to register pen input to annotate the sheet music within the emulated MS. Not sure if it is possible yet and I'm doing something wrong. Very likely.

Finally, as I said I'm on Fedora 35 with Gnome. Maybe you will have a problem with KDE, I don't know. Maybe you'll have a probem with Ubuntu. Who knows. I don't.

Hopefully you find this useful, do let me know.
Reply
#2
Thank you so much for posting this! I hope this helps some other potential Linux users.

Mike
Reply
#3
(02-16-2022, 06:29 AM)Zubersoft Wrote: Thank you so much for posting this! I hope this helps some other potential Linux users.

Mike

No problem. I hope so as well. Smile
Reply
#4
Interesting...

I often run MSPro on Linux using the Android emulator that comes with Android Studio. It is good enough for my needs (experimenting, bug reproduction, ...).
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply
#5
Alternatively one can use both MobileSheets and Linux on Chromebooks.
Reply
#6
(02-16-2022, 08:19 PM)sciurius Wrote: Interesting...

I often run MSPro on Linux using the Android emulator that comes with Android Studio. It is good enough for my needs (experimenting, bug reproduction, ...).

The pretty nice thing with Waydroid is that it then appears as a normal app in the menu that you can launch directly, as if you were using Android. But still I wouldn't say it's good enough for proper usage.
Reply
#7
(02-17-2022, 12:44 AM)otnt Wrote: Alternatively one can use both MobileSheets and Linux on Chromebooks.

Well, okay. I don't have a Chromebook though, so...
Reply




Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.