We have moved to a new Sailfish OS Forum. Please start new discussions there.
| 1 | initial version | posted 2019-02-04 10:27:26 +0200 |
After starting to use use Android apps on XA2, I started to encounter to some bugs. I collected a list of them. Here is the ones I think that are major ones.
I understand that Jolla doesn’t want to give support Google Play Services for various reasons, but some programs, for example OP’s mobile bank app, expects them. At least some kind of quasi working mode would be really nice, as many proograms don’t in the end use them much, and more of just make push notifications to work and to give Google some nice data from users. But for convenience, it would be really useful if it would be possible to at least somehow make the services at least partially work.
I say this one is bug, and not a feature request, because the services does not work, and they are kind of Android code, and Sailfish has a generic Android layer, so it should be able to run this kind of Android code too.
There is a bug that causes aliendalvik to go on a infinite crash loop that seems to be at least on my case related to Sailfish’s Google account sync’s contact syncronization. Disabling it seems to make aliendalvik stay alive.
It may be related to either sheer number of contacts or malformed data.
At least for Android software, Jolla’s display rotation lock doesn’t seem to do anything (it always rotates). Not sure if it’s same for native software too.
Android settings are not accessible but only if Android requests for physical keyboard configuration, which allows going back to the main settings.
I’m not sure if the settings should be available, but as things are now, there is some useful settings, like audio volume control and text size control. The default text size is far too big for me, so it’s really useful to be able to configure it. For some reason audio settings are almost off by default too.
There seems to be some other settings that actually affects the operation, so I think either Android settings app should be accessible (from example from Jolla’s settings?) or there needs to be a native way to configure the same things.
On Riot.im’s Android app, when sending messages, and the message sent does not end to a special characted (e.g. .), the last message’s last word gets inserted at start of the new message.
For example, when you send a message:
Sailfish is buggy
that message gets sent without problems. But when you start to send next message, at start of the input box (the native Sailfish virtual keyboard), there is a word buggy. It can be removed by hand, but this is really annoying especially as it only happens when (I guess) the word guessing thing tries to do its suggestions. So if you forget to remove the buggy from start of the line and just write new message and send it, you’ll get something fun, like:
buggySailfish is fun.
NOTE: I haven’t debugged this much, but so take this as my initial findings; I may have interpreted the data wrong.
It seems that aliendalvik and related parts are somehow memory capped, so they won’t get killed by Linux’s standard OOM killer. That’s all fine, but it seems that there is no custom logic to kill the programs that are consuming the memory, or at least it does not work as expected.
For such logic, I don’t remember if Android programs have a means to tell how much their data should be preserved in memory. If they do, honor it, otherwise there really should be a way to specify if any program should be kept in memory in expense of others. This prefer feature is not that important though.
Kind of related: swap is completely full in some situations, causing kswapd0 to be quite active. This effectively makes the whole system really sluggish. From what I saw, there is quite a bit memory available, so I wonder if this is related to aliendalvik somehow.
| 2 | No.2 Revision |
After starting to use use Android apps on XA2, I started to encounter to some bugs. I collected a list of them. Here is the ones I think that are major ones.
I understand that Jolla doesn’t want to give support Google Play Services for various reasons, but some programs, for example OP’s mobile bank app, programs expects them. At least some kind of quasi working mode would be really nice, as many proograms don’t in the end use them much, and more of just make push notifications to work and to give Google some nice data from users. But for convenience, it would be really useful if it would be possible to at least somehow make the services at least partially work.
I say this one is bug, and not a feature request, because the services does not work, and they are kind of Android code, and Sailfish has a generic Android layer, so it should be able to run this kind of Android code too.
There is a bug that causes aliendalvik to go on a infinite crash loop that seems to be at least on my case related to Sailfish’s Google account sync’s contact syncronization. Disabling it seems to make aliendalvik stay alive.
It may be related to either sheer number of contacts or malformed data.
At least for Android software, Jolla’s display rotation lock doesn’t seem to do anything (it always rotates). Not sure if it’s same for native software too.
Android settings are not accessible but only if Android requests for physical keyboard configuration, which allows going back to the main settings.
I’m not sure if the settings should be available, but as things are now, there is some useful settings, like audio volume control and text size control. The default text size is far too big for me, so it’s really useful to be able to configure it. For some reason audio settings are almost off by default too.
There seems to be some other settings that actually affects the operation, so I think either Android settings app should be accessible (from example from Jolla’s settings?) or there needs to be a native way to configure the same things.
On Riot.im’s Android app, when sending messages, and the message sent does not end to a special characted (e.g. .), the last message’s last word gets inserted at start of the new message.
For example, when you send a message:
Sailfish is buggy
that message gets sent without problems. But when you start to send next message, at start of the input box (the native Sailfish virtual keyboard), there is a word buggy. It can be removed by hand, but this is really annoying especially as it only happens when (I guess) the word guessing thing tries to do its suggestions. So if you forget to remove the buggy from start of the line and just write new message and send it, you’ll get something fun, like:
buggySailfish is fun.
NOTE: I haven’t debugged this much, but so take this as my initial findings; I may have interpreted the data wrong.
It seems that aliendalvik and related parts are somehow memory capped, so they won’t get killed by Linux’s standard OOM killer. That’s all fine, but it seems that there is no custom logic to kill the programs that are consuming the memory, or at least it does not work as expected.
For such logic, I don’t remember if Android programs have a means to tell how much their data should be preserved in memory. If they do, honor it, otherwise there really should be a way to specify if any program should be kept in memory in expense of others. This prefer feature is not that important though.
Kind of related: swap is completely full in some situations, causing kswapd0 to be quite active. This effectively makes the whole system really sluggish. From what I saw, there is quite a bit memory available, so I wonder if this is related to aliendalvik somehow.