We have moved to a new Sailfish OS Forum. Please start new discussions there.
23

[BUG] Can't install apk files after 1.1.9.28 update [released]

asked 2015-09-10 10:16:20 +0200

daywalker gravatar image

updated 2015-09-14 12:48:17 +0200

Hi there,

i participate in the early adopters program and have updated my jolla to sailfish os 1.1.9.28 yesterday. After that i tried to download and install an apk file (http://schoener-fernsehen.com/files/sf.apk).

When i tap the download in the list of downloads nothing happens. When i try it with the File Browser there is just a short message (german) "Installation gestartet" / starting to install But the message just disappears and no installation is following.

UPDATE: Some users have the same problem and the only option for now would be to purge and reinstall aliendalvik. That's not a real option. We want so determine what is causing this error and get it fixed. Check last post for a workaround until we know more.

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by daywalker
close date 2016-12-14 17:28:12.924559

Comments

2

I'm getting the error too. Watching journalctl -f they all fail with

Sep 10 09:53:35 Jolla systemd[1]: Started Myriad Alien Dalvik.
Sep 10 09:53:35 Jolla apkd[609]: While parsing APK file /home/nemo/Downloads/com.meetup.apk, got error 27909120 (unknown error) from qapk
Sep 10 09:53:36 Jolla apkd[609]: Asking ACL to install (inside chroot): /data/app//incoming/com.meetup.apk
Sep 10 09:53:36 Jolla start_alien.sh[1395]: 09-10 09:53:36.007  1664  2139 E ActivityManager: Failed to match the Native-Call request type.
fivepointsquare ( 2015-09-10 11:55:28 +0200 )edit
1

same for me with journalctl -f

daywalker ( 2015-09-10 12:26:25 +0200 )edit

I can verify, not possible to instal apk manually on 1.1.9.28.

shertell ( 2015-09-14 10:44:25 +0200 )edit

as same as you!

Hiro ( 2015-09-14 18:19:18 +0200 )edit

I'm seeing the android popup, for choosing between install or verify and install, but can't click, the window disappear. i guess the bug comes from this.

malibu1106 ( 2015-11-02 22:04:25 +0200 )edit

8 Answers

Sort by » oldest newest most voted
2

answered 2015-09-10 11:25:54 +0200

molan gravatar image

I tested your file. Installation and app-startup works well. But video streams don't start - I use Zattoo which works perfectly (but has many local restrictions), so maybe it's a problem with the SF-app or it needs services Jolla's Android emulation don't deliver.

Did your application work on earlier SFOS version? I really don't think this has anything to do with the latest update. Try to reboot phone or restart Android support.

The top box with the "+" only appears when installing SFOS apps.

edit flag offensive delete publish link more

Comments

Hi, thanks for your effort. Yeah you need to install flash player to make it work... but that's not the problem...

my problem is that it does not install ! And i'm getting no error or anything. I also tried this one -> http://bs.to/asset/App/BS.apk and it is the same problem :( When i try to install it it just kicks me to the home screen and nothing happens. Icon missing, so nothing installed. Reboot did not help :(

Maybe there is a possibility to install it via terminal an get some debug/error messages or verbose mode, i'll investigate that now...

(Ok maybe i mixed something up regarding the box with the (+) icon it's just for rmp files...)

daywalker ( 2015-09-10 11:40:49 +0200 )edit

OK i tried the following:

  • restart aliendalvik service via gui, try to install apk with file browser -> nothing

  • restart aliendalvik via terminal as root, , try to install apk with file browser -> nothing

  • tried to install apk via terminal as user nemo and as root with apkd-install xyz.apk -> nothing (sadly no verbose mode, no help options and no man pages for apkd-install)

  • as mentioned here: https://together.jolla.com/question/61240/install-of-apk-packages-fails-with-fresh-installed-android-runtime/ -> tried to disable and re-enable untrustet software in jolla system config -> manual apk install still nothing :(

    -> tried to install 1 android app via jolla store -> this works but manual install of my downloaded apks still doesn't work :(

i am out of options, any idea, anyone? sure i could reinstall aliendalvik but all my android apps would disappear right?

daywalker ( 2015-09-10 12:07:39 +0200 )edit

Release notes tell us that Android apps will not work until reboot. Perhaps uninstall alien, reboot, reinstall, reboot, install Aptoide, start it, and only then try to install your apk from terminal or transfers?

My aliendalvik works flawlessly (tm) with 1.1.9.28...

Direc ( 2015-09-10 17:31:35 +0200 )edit
2

reinstalling of aliendalvik would be my last instance. i want to know why and how i went into this condition. and it seems like i'm not the only one... so i am willing to provide any logs or debug msg to seek and destroy this error. to be safe i had to purge aliendalvik alnd this would mean loss of all android apps and content :( in a productive state this is not an option...

daywalker ( 2015-09-11 10:14:19 +0200 )edit

Just to be sure; have you checked thet installing untrusted software is enabled in Jolla settings?

There are ways to backup Android data per-app basis, so you would not lose data. Keep searching TJC, I've seen howto for that!

Direc ( 2015-09-11 17:41:05 +0200 )edit
2

answered 2015-09-11 10:01:32 +0200

TellienInTouch gravatar image

I have exactly the same problem, I can't install APK files (it's ok with Play Store and Aptoid).

In File Browser, I tried to install 5-6 APK files and I can't, nothing happen. And before with 1.1.7 version I had no problem with the same packages. I don't know if it could help but I have Android Play and Android Services installed...

edit flag offensive delete publish link more

Comments

same for me, i also have installed the google play store! but i can't imagine how this would be the reason why we can't install any apks... i did not allow playstore to autostart in the jolla app config...

daywalker ( 2015-09-11 10:07:45 +0200 )edit
2

Only have Aptoide and Jolla Store, same problem here, though apkd-install gives me another errormessage: [nemo@Jolla ~]$ apkd-install /home/nemo/Downloads/sf.apk method return sender=:1.5 -> dest=:1.171 reply_serial=2 boolean false [nemo@Jolla ~]$

Shoppinguin ( 2015-09-11 14:09:54 +0200 )edit

I couldn't get apk files to install until I had aliendalvik runnin already. What I did was I started Aptoide, and tried again, and then it worked as it should.

Direc ( 2015-09-12 16:11:11 +0200 )edit
1

i tried but without success...

TellienInTouch ( 2015-09-12 22:09:29 +0200 )edit
2

answered 2015-09-13 23:47:12 +0200

Juska gravatar image

I had similar issue with 1.1.9.28. Tried installing Aptoide store, rebooting the phone etc but still cannot install .apk's from File Browser. So I installed an "Apk Installer" (https://play.google.com/store/apps/details?id=com.graphilos.apkinst) from Google Play and it works fine now. Just need to copy the .apk files to android storage and use apk installer to install them.

edit flag offensive delete publish link more

Comments

thanks, seems like a nice workaround until we know what causes this issue. will try that tomorrow...

daywalker ( 2015-09-14 00:26:19 +0200 )edit
2

answered 2015-09-17 00:19:44 +0200

kuzeyron gravatar image

updated 2015-09-17 00:41:15 +0200

I were going to file this bug report. But thank God, that someone else made one. My fix for installing Android apps by running in developer mode: devel-su and then apkd-install app

edit flag offensive delete publish link more

Comments

ty this works for me !!! damn, thought i tried that already :(

daywalker ( 2015-09-17 10:02:17 +0200 )edit

Glad it worked out for you mate :)

kuzeyron ( 2015-09-17 11:43:04 +0200 )edit
1

answered 2015-11-10 01:52:14 +0200

iKeivs gravatar image

Ok. I´ve found the reason for the problem: when You are opening any APK file, the Alien dalvik are confused, and can't prompt, how to install the app.

for that You need Aptoide, Yandex or another android app market.

find the android file manager (x-plore or your favorite).

Also get a neccessary apk file.

from android file manager try to open the apk file. it will promt how to install. Verify and install or just install. pick one of them and hit Always.

It worked for me.

edit flag offensive delete publish link more

Comments

Thank you, installing a File Manager from one of the markets and using that to install the .apk worked. The devel-su and apkd-install did not.

coley ( 2015-11-10 20:35:51 +0200 )edit
0

answered 2015-09-18 21:58:44 +0200

Waxberry gravatar image

updated 2015-09-18 22:01:44 +0200

Had the same problem. Stopped working after installing play store. Guess installing Google Play service caused this problem. Did every one here had Gplay installed?

Update: After trying to install APK from android, I chose "Installer" (Not verify and install) and chose "always using this option" problem seems solved. I can install apk from sailfish file manager again.

edit flag offensive delete publish link more

Comments

I can confirm that, apk installs worked normal until I installed the Google Play Store. What have I done to get around that:

  1. install Play Store

  2. Install APK Installer from Play Store

  3. Install Aliendalvik Superuser from Openrepos

  4. find Superuser apk in /usr/share/*superuser, copy to android storage, install it via APK Installer

  5. Install Market Helper

  6. Change Device Type to Galaxy S4

--> able to install nearly every app

yoktobit ( 2015-09-18 22:09:09 +0200 )edit

Thanks a lot @Waxberry, all is working now!!!

Sorry @yoktobit but where can I change device type to Galaxy S4? No option for Market Helper...

TellienInTouch ( 2015-09-20 22:50:35 +0200 )edit
0

answered 2015-10-13 10:38:34 +0200

Shoppinguin gravatar image

Just recently i srewed up my Jolla real bad and had to do a clean wipe. I was updating to 1.1.9.28 without adding any accounts or apps beside the Jolla account required for the updates. I have found that manually installing apk files from file manager or from the download manager works without a problem though it sometimes takes quite a while for the process to start. Still don't know if i was just lucky or if there's something else to it.

edit flag offensive delete publish link more
0

answered 2015-11-12 14:50:28 +0200

Shoppinguin gravatar image

It appears to be fixed with v2.0.0.10(Saimaa). At least i can install apk files again. Can anyone confirm?

edit flag offensive delete publish link more

Comments

1

I had similar trouble even with 2.0.0.10.

tried to open any APK from Jolla's file managers or from finished transfers, and the phone jumped directly to homescreen.

so I did, like I wrote in the answer above.

iKeivs ( 2015-11-12 15:04:42 +0200 )edit

Question tools

Follow
8 followers

Stats

Asked: 2015-09-10 10:16:20 +0200

Seen: 3,367 times

Last updated: Nov 12 '15