Ask / Submit
5

Install of apk packages fails with fresh installed Android runtime

asked 2014-10-29 10:54:27 +0300

Rin Kaenbyou gravatar image

updated 2016-08-04 16:03:05 +0300

jiit gravatar image

I've recently cleaned up my dalvik installation because of minor Problems, I installed the Android runtime again but no apps at that time. I then upgraded to 1.1.0.39 and tried to install some apks, mainly fdroid and threema. But when i tried to launch the apk install via file browser nothing happened. I then installed the Aptoide Appstore and tried it again, since then all apks are installable. I haven't tried it on the commandline though.

I'm now wondering if this is a bug or if a fresh installed Aliendalvik runtime needs some activation, like a Appstore.

Edit:

Things that help:

  • Install one of the Android Apps in the Jolla store, either a store or a normal App.
  • Use KillDroid or Sailfish Utilities to restart the Android Service
  • Go to the Terminal, get root with devel-su, and restart the aliendalvik service manually. Interestingly enough systemctl start aliendalvik.service does not work, it has to be systemctl restart aliendalvik.service
edit retag flag offensive close delete

Comments

Good, I am not the only one to whom this happened ;) I guess it can be coonsidered a bug ? Not a major issue for me, as a work-around I installed an android filebrowser (like You, from aptoide) which will indeed install apk's

Nieldk ( 2014-10-29 12:26:56 +0300 )edit
2

It worked after the Installation of the Aptoide Appstore with the Jolla File Browser as well, I haven't installed a App from the Store. It just worked after the Installation, it was just an Idea I had that it might help and it did. Next step would have been a android file browser. ^^ (PS. good to see that you're still around)

Rin Kaenbyou ( 2014-10-29 13:51:54 +0300 )edit
2

@Rin Kaenbyou: Thanks for the tip with installing the "Aptoide Appstore". This did the trick for me, too.

I wanted to install "f-droid.apk" (downloaded via jolla web browser).

What I did (starting from a almost factory fresh jolla phone, updated to 1.0.8.21):

  1. allow untrusted software
  2. install "Android Support" from jolla store
  3. installed "File Browser" from jolla store

I tried tapping the apk from "Settings -> System -> Transfers" and using the "install" pully menu action from "File Browser". In both cases nothing happened.

Then I just installed "Aptoide Appstore" from jolla store. I didn't even start this appstore once. But from this moment on, I could install the "f-droid.apk".

I am using jolla update 1.0.8.21 (Tahkalampi).

So I can fully confirm your experience. And I guess, this is a bug, which should be fixed. Or if we just need to "activate" android support some way, how can we do this?

ralooyar ( 2014-11-07 17:16:02 +0300 )edit

[bug] On 1.1.0.39 Jolla will reboot very often, when you try to install some Android apps from Aptoide or others. Good way to demo this is try to install Mushroom wars ;) and many other, even Skype..I think, it will easy broke something (like i just have to reset my phone).

Makeclick ( 2014-11-20 06:44:11 +0300 )edit

3 Answers

Sort by » oldest newest most voted
1

answered 2014-11-20 21:29:19 +0300

ralooyar gravatar image

If it needs some activation, maybe you could do this with the App “Sailfish Utilities”. Have a look at: https://together.jolla.com/question/20472/why-not-shutdown-aliendalvik-after-closing-last-android-app/?answer=63344#post-id-63344

The linked question talks about shutting down alien dalvik. So maybe you can find infos about starting alien dalvik there.

I could not test it, since I followed your tipp and installed aptoid.

edit flag offensive delete publish link more

Comments

I've now purged the Android install and it showed the expected behaviour. I then followed your advice and restarted the Service with Sailfish Utilities instead of killdroid, after that it works just fine. So it should be enough to do that, or if you don't want the Utilities, just restart the Service in the command prompt with: systemctl restart aliendalvik.service

Rin Kaenbyou ( 2014-12-26 17:49:33 +0300 )edit
1

answered 2014-11-23 23:13:56 +0300

ralooyar gravatar image

I have found another related question to this topic: https://together.jolla.com/question/56380/unable-to-re-install-android-apps-after-system-reset/

@Tattuh wrote:

Try this first: 1. Enable dev mode and set root password 2. Download KillDroid from store 3. Try to restart Android Service from with it if didn't work, reboot. (I think Killdroid just uses ”systemctl stop aliendalvik” etc so..)

So maybe it would be enough to enable developermode, login as root and start the aliendalvik service. (But I haven't tried so far.)

edit flag offensive delete publish link more

Comments

Will try that if i have time to, I have to backup the Apps first ;) Maybe this will make the Market installation uneccecary.

Rin Kaenbyou ( 2014-11-24 10:21:29 +0300 )edit

I tried it, and it works, altough you have to restart the service instead of start it, which is a bit strange.

Rin Kaenbyou ( 2014-12-26 17:55:29 +0300 )edit
1

answered 2014-12-26 20:31:16 +0300

Macilaci457 gravatar image

It does not matter what app you install first, if you have one installed from store then installing apk packages will work afterwards. This is how it worked for me.

edit flag offensive delete publish link more

Comments

Ok then i'll edit that part, thx!

Rin Kaenbyou ( 2014-12-27 02:22:22 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2014-10-29 10:54:27 +0300

Seen: 10,184 times

Last updated: Dec 27 '14