![]() |
Jolla Phone and Google Play Store
Hello everyone! Maybe someone will be able to help me with an issue described below:
I followed instructions on how to install Google Play Store on Sailfish OS (http://jollafin.blogspot.co.at/2013/...for-jolla.html). It works great with most of apps but one problem that I'm experiencing is that I can't redownload my purchases. I can view them but they show up in the store as never purchased and when I try to buy and install them I get an error message. I've tried to install those apps through Play Store web interface but it also fails - it starts the installation process on the phone (at least it shows a message) and then nothing. Any ideas on how to resolve this issue? |
Re: Jolla Phone and Google Play Store
Quote:
|
Re: Jolla Phone and Google Play Store
Quote:
My problem is that I can't install purchased apps form Play Store. Ofcourse I can get the .apk and sideload it but it's not what i want to achieve. |
Re: Jolla Phone and Google Play Store
I think at this moment there are not enough Jolla's sold to have people encounter the same problem. Give it a couple of weeks and the Jolla users are crowding here.
|
Re: Jolla Phone and Google Play Store
This is some kind of a permissions issue. I have it too.
With GooglePlay store the paid applications get first downloaded under /data/app-private directory with a temporary name vmdl*.tmp. Then they would be copied under some other directory with a different name and/or installed. Have to find where android logs stuff. For time being you can copy them to /data/app directory with the FingerTerm, and rename them as yourprogram.apk. To get the names correct eg. com.something.somethingelse you would have to let the android handle the installation process, but it is not neccessary. |
Re: Jolla Phone and Google Play Store
Found the logs. It is the command
/opt/alien/system/bin/logcat The errors I get installing a bought app are: W/ActivityManager( 6952): No content provider found for permission revoke: file:///data/data/com.android.providers.downloads/cache/downloadfile.apk W/ActivityManager( 6952): No content provider found for permission revoke: file:///data/app-private/vmdl[randomnumber].tmp W/dalvikvm( 6952): threadid=16: thread exiting with uncaught exception (group 0x40e39360) Two first errors seem to happen also when the installation is successful with free apps, so they do not mean much alone. However paid apps are most likely signed with a key to prevent piracy, so they might trigger some checks that cause the Gapps to crash. Yet again you can install the same bought apps downloaded from same origin so it is not a full incompatibility issue with alien dalvik. Buying procedure in itself is working; I have bought both apps and music through GooglePlay on Sailfish. The 'No content provider...'-error also seems quite common with Android homebrew ROM, and common cure that is chmodding (o+rwx) to following directories did not help: /data/local/tmp /data/data/com.android.providers.downloads/cache |
Re: Jolla Phone and Google Play Store
I followed instructions from linuxg. When I got to rsync I received error 23.
Did this: Code:
[root@localhost nemo]# rsync -av –ignore-existing /home/nemo/Other/system/ /opt/alien Code:
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1165) [sender=3.1.0] |
Re: Jolla Phone and Google Play Store
[–] wrong symbol. [--] is right symbol
|
Re: Jolla Phone and Google Play Store
Quote:
|
Re: Jolla Phone and Google Play Store
I have a problem with Play Store when I try to open it and automatically close after a second. The applications using Google Play works correctly (like foursquare).
Also all other Dalvik applications close. |
Re: Jolla Phone and Google Play Store
Fixed I repeated the rsync and the problem is gone.
|
Re: Jolla Phone and Google Play Store
Quote:
|
Re: Jolla Phone and Google Play Store
Same problem here. Play store crashes right away. Tried to rsync and does not help.
Any suggestions? Edited: SSH log: --------------- Last login: Mon Dec 16 21:43:36 2013 from silver-pc.lan ,--- | SailfishOS 1.0.1.10 (Laadunjärvi) (armv7hl) '--- [nemo@localhost ~]$ rsync -av --ignore-existing /home/nemo/system /opt/alien sending incremental file list rsync: failed to set times on "/opt/alien/system": Operation not permitted (1) system/ rsync: recv_generator: mkdir "/opt/alien/system/addon.d" failed: Permission deni ed (13) *** Skipping any contents from this failed directory *** rsync: failed to set times on "/opt/alien/system/app": Operation not permitted ( 1) rsync: failed to set times on "/opt/alien/system/etc": Operation not permitted ( 1) rsync: failed to set times on "/opt/alien/system/etc/permissions": Operation not permitted (1) rsync: failed to set times on "/opt/alien/system/framework": Operation not permi tted (1) rsync: failed to set times on "/opt/alien/system/lib": Operation not permitted ( 1) rsync: recv_generator: mkdir "/opt/alien/system/tts" failed: Permission denied ( 13) *** Skipping any contents from this failed directory *** rsync: failed to set times on "/opt/alien/system/usr": Operation not permitted ( 1) rsync: recv_generator: mkdir "/opt/alien/system/usr/srec" failed: Permission den ied (13) *** Skipping any contents from this failed directory *** system/addon.d/ system/app/ system/app/ChromeBookmarksSyncAdapter.apk system/app/GenieWidget.apk system/app/GoogleBackupTransport.apk system/app/GoogleCalendarSyncAdapter.apk system/app/GoogleContactsSyncAdapter.apk system/app/GoogleEars.apk system/app/GoogleFeedback.apk system/app/GoogleLoginService.apk system/app/GooglePartnerSetup.apk system/app/GoogleServicesFramework.apk system/app/GoogleTTS.apk system/app/MediaUploader.apk system/app/Microbes.apk system/app/NetworkLocation.apk system/app/OneTimeInitializer.apk system/app/Phonesky.apk system/app/QuickSearchBox.apk system/app/SetupWizard.apk system/app/Talk.apk system/app/Talkback.apk system/app/Thinkfree.apk system/app/VoiceSearchStub.apk system/etc/ system/etc/g.prop system/etc/permissions/ system/etc/permissions/com.google.android.media.effects.xml system/etc/permissions/com.google.widevine.software.drm.xml system/etc/permissions/features.xml system/framework/ system/framework/com.google.android.media.effects.jar system/framework/com.google.widevine.software.drm.jar system/lib/ system/lib/libfilterpack_facedetect.so system/lib/libflint_engine_jni_api.so system/lib/libfrsdk.so system/lib/libgcomm_jni.so system/lib/libgoogle_recognizer_jni.so system/lib/libmicrobes_jni.so system/lib/libpatts_engine_jni_api.so system/lib/libpicowrapper.so system/lib/libspeexwrapper.so system/lib/libvideochat_jni.so system/lib/libvideochat_stabilize.so system/lib/libvoicesearch.so system/lib/libvorbisencoder.so system/tts/ system/usr/ system/usr/srec/ rsync: mkstemp "/opt/alien/system/app/.ChromeBookmarksSyncAdapter.apk.pQiTld" fa iled: Permission denied (13) rsync: mkstemp "/opt/alien/system/app/.GenieWidget.apk.wSilAf" failed: Permissio n denied (13) rsync: mkstemp "/opt/alien/system/app/.GoogleBackupTransport.apk.T8vQZj" failed: Permission denied (13) rsync: mkstemp "/opt/alien/system/app/.GoogleCalendarSyncAdapter.apk.QdUm9q" fai led: Permission denied (13) rsync: mkstemp "/opt/alien/system/app/.GoogleContactsSyncAdapter.apk.XbYL0y" fai led: Permission denied (13) rsync: mkstemp "/opt/alien/system/app/.GoogleEars.apk.o2EH8E" failed: Permission denied (13) rsync: mkstemp "/opt/alien/system/app/.GoogleFeedback.apk.BDhncP" failed: Permis sion denied (13) rsync: mkstemp "/opt/alien/system/app/.GoogleLoginService.apk.63dEnZ" failed: Pe rmission denied (13) rsync: mkstemp "/opt/alien/system/app/.GooglePartnerSetup.apk.EeZJV5" failed: Pe rmission denied (13) rsync: mkstemp "/opt/alien/system/app/.GoogleServicesFramework.apk.cfzqSa" faile d: Permission denied (13) rsync: mkstemp "/opt/alien/system/app/.GoogleTTS.apk.WJPEUh" failed: Permission denied (13) rsync: mkstemp "/opt/alien/system/app/.MediaUploader.apk.CsaJ0E" failed: Permiss ion denied (13) rsync: mkstemp "/opt/alien/system/app/.Microbes.apk.O7UTc0" failed: Permission d enied (13) rsync: mkstemp "/opt/alien/system/app/.NetworkLocation.apk.8mGK4l" failed: Permi ssion denied (13) rsync: mkstemp "/opt/alien/system/app/.OneTimeInitializer.apk.A2siNK" failed: Pe rmission denied (13) rsync: mkstemp "/opt/alien/system/app/.Phonesky.apk.yYr879" failed: Permission d enied (13) rsync: mkstemp "/opt/alien/system/app/.QuickSearchBox.apk.2g8gMN" failed: Permis sion denied (13) rsync: mkstemp "/opt/alien/system/app/.SetupWizard.apk.QXfaPC" failed: Permissio n denied (13) rsync: mkstemp "/opt/alien/system/app/.Talk.apk.ivQ95q" failed: Permission denie d (13) rsync: mkstemp "/opt/alien/system/app/.Talkback.apk.olQK7k" failed: Permission d enied (13) rsync: mkstemp "/opt/alien/system/app/.Thinkfree.apk.Uc6ITd" failed: Permission denied (13) rsync: mkstemp "/opt/alien/system/app/.VoiceSearchStub.apk.rlrG7j" failed: Permi ssion denied (13) rsync: mkstemp "/opt/alien/system/etc/.g.prop.6BM6kq" failed: Permission denied (13) rsync: mkstemp "/opt/alien/system/etc/permissions/.com.google.android.media.effe cts.xml.9Amqvw" failed: Permission denied (13) rsync: mkstemp "/opt/alien/system/etc/permissions/.com.google.widevine.software. drm.xml.mlQTFC" failed: Permission denied (13) rsync: mkstemp "/opt/alien/system/etc/permissions/.features.xml.tQlxPI" failed: Permission denied (13) rsync: mkstemp "/opt/alien/system/framework/.com.google.android.media.effects.ja r.mabw0O" failed: Permission denied (13) rsync: mkstemp "/opt/alien/system/framework/.com.google.widevine.software.drm.ja r.pdr0RV" failed: Permission denied (13) rsync: mkstemp "/opt/alien/system/lib/.libfilterpack_facedetect.so.sG4NI2" faile d: Permission denied (13) rsync: mkstemp "/opt/alien/system/lib/.libflint_engine_jni_api.so.BAyAa8" failed : Permission denied (13) rsync: mkstemp "/opt/alien/system/lib/.libfrsdk.so.Oc8wVi" failed: Permission de nied (13) rsync: mkstemp "/opt/alien/system/lib/.libgcomm_jni.so.1YMZIy" failed: Permissio n denied (13) rsync: mkstemp "/opt/alien/system/lib/.libgoogle_recognizer_jni.so.mPP8F9" faile d: Permission denied (13) rsync: mkstemp "/opt/alien/system/lib/.libmicrobes_jni.so.Zeeed3" failed: Permis sion denied (13) rsync: mkstemp "/opt/alien/system/lib/.libpatts_engine_jni_api.so.Oo1hmX" failed : Permission denied (13) rsync: mkstemp "/opt/alien/system/lib/.libpicowrapper.so.l9vUJU" failed: Permiss ion denied (13) rsync: mkstemp "/opt/alien/system/lib/.libspeexwrapper.so.wUu3PV" failed: Permis sion denied (13) rsync: mkstemp "/opt/alien/system/lib/.libvideochat_jni.so.x44xTU" failed: Permi ssion denied (13) rsync: mkstemp "/opt/alien/system/lib/.libvideochat_stabilize.so.vtpw0W" failed: Permission denied (13) rsync: mkstemp "/opt/alien/system/lib/.libvoicesearch.so.VgtjzX" failed: Permiss ion denied (13) rsync: mkstemp "/opt/alien/system/lib/.libvorbisencoder.so.dycB9X" failed: Permi ssion denied (13) sent 59,773,096 bytes received 6,221 bytes 17,079,804.86 bytes/sec total size is 97,815,309 speedup is 1.64 rsync error: some files/attrs were not transferred (see previous errors) (code 2 3) at main.c(1165) [sender=3.1.0] [nemo@localhost ~]$ |
Re: Jolla Phone and Google Play Store
Same here. Some people on a Finnish forum reported that after resetting their device they were able to install Play Store successfully. I've spent too much time to modify my Jolla to do that. Waiting for another solution. Would be nice to have Play Store working especially now when http://apps.evozi.com/apk-downloader/ is getting too much traffic.
|
Re: Jolla Phone and Google Play Store
omg.....guys, read and understand the instructions!!!
rsync....must run as root. |
Re: Jolla Phone and Google Play Store
I have tried so many times to get to root. I enable developer mode. I set new password. I restart the phone. Enter to the terminal. Type devel-su and the password I just created and nothing happens...
On N9 it behaved differently. I do not know what to expect. What am I doing wrong? |
Re: Jolla Phone and Google Play Store
Quote:
One thing to note - in my case rsync doesn't report any errors. It just does its job. |
Re: Jolla Phone and Google Play Store
Quote:
(hint, try command "whoami") |
Re: Jolla Phone and Google Play Store
Thnaks! When I tried command "whoami" answer was - root
However, when I open SSH client terminal and input there "rsync -av --ignore-existing /home/nemo/system /opt/alien" I am having the same error list I pasted before. I try to explain it in more detail: I am using Win 7 64 bit computer. SSH client is "Bitwise". Host is the IP I have under phone developer mode settings (WLAN ip version as USB ip does not connect at all). Authentication username is "nemo". I have choosen password initial method and the password is the same I set in phone under developer mode. Any suggestions? |
Re: Jolla Phone and Google Play Store
Quote:
1. you can just use terminal on the phone. rsync is a tool to synchronize files & dirs, so there's no need to call it via ssh 2. copy system folder again to the device and retry rsyncing 3. chown -R user.group /opt/alien ? don't know if this would work and what the user and group should be 4. overwrite the whole alien dir with data from someone, if someone would share it? 5. uninstall and install again the Android app in the Jolla store On my side Store still quits just after I start it :/ |
Re: Jolla Phone and Google Play Store
Thanks a lot!
- I picked first option: "1. you can just use terminal on the phone. rsync is a tool to synchronize files & dirs, so there's no need to call it via ssh" - rsync was done right away without errors - rebooted phone - downloaded google services and store - installed - and now it seems to be working. I just downloaded and installed Viber. |
Re: Jolla Phone and Google Play Store
So I finally get this working. Steps:
1. Uninstall android support via Jolla store 2. Remove everything from /opt/alien 3. Install android support 4. Follow the google play installation instructions The key was to completly clean alien dir. |
Re: Jolla Phone and Google Play Store
The google play app seemed to work fine after install, I was logged in with my profile and all. I had install one or two apps already.
What then happened was that while I was installing a new app the googlel play suddenly crashed on me. Now it is still there, but the credentials seems to be in some kind of half-assed state. Even if I reinstall play, or even do the complete reinstallation of alien dalvik (by clearing everything in /opt/alien like klippe above), it seems as though it don't know what apps I have currently installed and it doesn't show anymore what apps I have bought earlier. How do I reset the credentials for android on the device so that I can specify the accounts again? There is no option to choose or add an account anymore. |
Re: Jolla Phone and Google Play Store
@juiceme and @coderus
I have exactly the same issue with #1,(originally posted here) I can download free content, but can not access purchased apps, even if I install from website it crashes after downloading. Shall I just uninstall all alien dalvik and do everything again with the right symbol (--)? Update: Deleted opt/alien and dalvik and installed again with the right symbol, still the same problem, no access to paid content... Tried re-install again with root, still no luck... |
Re: Jolla Phone and Google Play Store
Quote:
And also how you install the paid app finally? All my interested android apps are not free...:( |
Re: Jolla Phone and Google Play Store
Quote:
1) I installed the apk of Whatsapp without using gplay at all -> no contacts and other errors 2) installed play store and reinstalled WA from there -> errors stay 3) removed all android stuff from the device (android apps + gplay + yandex + delete /opt/alien/* 4) reinstalled yandex/andoid support 5) installed apk of WA again -> same errors as before don't wanna reset the whole device to get that running. any comments on that? edit: gplaystore was also throing errors during running (com.gapps not working messages) |
Re: Jolla Phone and Google Play Store
Quote:
Quote:
Is your problem related to Whatsapp? In my case Whatsapp also is quite strange - a lot of things (taking and sending a photo for example) raise "operation not supported", and there are no contacts until the people write to me. |
Re: Jolla Phone and Google Play Store
Quote:
I get a few error pop-ups, but it seems to work. [Edit] But tried to install Waze, set the account settings, and when I hit "done" it crashed. Crashes directly at launch now if I try to run it. Other Android apps still work. |
Re: Jolla Phone and Google Play Store
I initially steered clear as I didn't want to enable developer mode and start messing around so early on, but after a couple of days I could resist no more!
Just my luck I had similar as others have reported, where I could open Google Settings, but Play Store kept closing immediately after launching. After a couple of sleepless nights, a few reboots, some rmdir -rf and chowns I finally managed to launch Play Store and successfully install some apps. Not sure what exactly fixed it, but the final steps were uninstalling then installing Android support, after I had already performed the rycnc and ensured the system directory was owned by root:root. Also I recall at one stage no Android apps would load at all, although I did have support installed. At this point, I think I already performed the rsync command and ownerships were all root. I removed Android support, had a nose around /opt/alien/ and noticed the system directory was still there. Process listing confirmed alien dalvik was no longer running. Next I reinstalled Android support and tried Play Store, which was already installed. It worked! It did crash a couple of times but seems to have settled down now. My lock screen now has a number of briefcases with ticks, which I suspect is the notifications from the store, so unchecked this from its setting (first option) so hopefully at least won't receive any more. I think the ownership of the system folder was the problem. I'll try to replicate later to pin in down, but first best get some sleep before the sun rises. |-) |
Re: Jolla Phone and Google Play Store
Quote:
I actually bought music from the store, but I did not get any errors so I expect the process to work for apps too. The bought app installation process only fails when it should finish the installation after downloading the app. |
Re: Jolla Phone and Google Play Store
Any idea on how to solve the problem reported in this thread on a non-Android phone? I'm having it after a purchase, and got no occasion to install the app.
|
Re: Jolla Phone and Google Play Store
Today I found an interesting mistake and got paid app issue solved. I simply deleted google service setting and just leave play store alone and after restart the "can't retrieve information" error has gone, I can purchase and download as usual. Still have the installation bug, have to use Manatus' method mentioned before. But at least I don't need to login to web play store and "push" the app any more. (referring to #1)
|
Re: Jolla Phone and Google Play Store
chenliangchen, did you (or anyone else) tried Blackmart already?
This could be a workaround for the Play Store |
Re: Jolla Phone and Google Play Store
Is there any way to fully remove google play and restore the /opt/alien/system folder, as i forgot to backup before installing...
|
Re: Jolla Phone and Google Play Store
Quote:
|
Re: Jolla Phone and Google Play Store
Quote:
I repeated the rsync process through the phone's terminal, no errors were reported, Google Services showed a couple more configurable items than before, Google Play was missing. Installed Google Play again, and it started OK. Conclusion: try using the phone's terminal instead of SSH although it is a pain to type with. |
Re: Jolla Phone and Google Play Store
Quote:
|
Re: Jolla Phone and Google Play Store
Everytime i got some updates from the Play store and install it. App will work, but i lost desktop icon everytime (so remove install needed everytime). Does someone else has this problem?
|
Re: Jolla Phone and Google Play Store
Quote:
May be something to do with conflicts between the older files installed to enable Play and Alien Dalvik. Interesting you mention updates though, as I previously did have the My O2 app installed, but now refuses to install, returning "Incompatible update." |
Re: Jolla Phone and Google Play Store
Quote:
If you install an Android launcher (Go Launcher has been suggested round here, works ok, but does occasionally pester you to buy extra features) then all the icons are present and correct in there. |
All times are GMT. The time now is 12:34. |
vBulletin® Version 3.8.8