Reply
Thread Tools
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#21
All not-modified GP-apps and official Android-firmwares are odexed. You can found LuckyPatcher with description on 4PDA.
 

The Following User Says Thank You to Ancelad For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#22
Ok, I checked how it on Jolla phone... It not have .odex files for this 4 files...
Probably, this is not a problem...
What interesting that on the phone after installation, vending and gms files in /opt/alien/data/app is root:root and all other system:system.
On the tablet, after installation both vending and gms is system:system like other.
For the test I changed it to root:root like in the phone and restarted dalvik. Immediately, when dalvik started both files disappeared from /opt/alien/data/app like before... Also tried to change to different chmod, but same result... Really weird...
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#23
Ohhhh, finally I found a way how to avoid disappearing of both icons after dalvik reastart or phone reboot

Explanation a little bit later, I need one more test with installer
 

The Following User Says Thank You to Schturman For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#24
Haaaa.... Joy was premature
It worked partially...
I started completely from scratch, I removed all files/folders related to gms and vending, from different directories, completely all (I hope)...

And now my steps:
1. Stop aliendalvik
2. Transfer 4 files to:
Code:
/opt/alien/system/priv-app
3. chmod 0664 to all 4 files
4. Start aliendalvik
5. install Phonesky.apk and GmsCore.apk:
Code:
apkd-install /opt/alien/system/priv-app/GmsCore.apk /opt/alien/system/priv-app/Phonesky.apk
6. Checking if all working. OK
7. Copy Phonesky.apk and GmsCore.apk to
Code:
/opt/alien/data/app
but with changed names:
Code:
com.android.vending.apk
com.google.android.gms.apk
Now is interesting part
8. Restart aliendalvik
9. Like before it automatically removed both files:
Code:
/opt/alien/data/app/com.android.vending-1.apk
/opt/alien/data/app/com.google.android.gms-1.apk
but if you will check now this folder
Code:
/opt/alien/data/app
you will see your copied and renamed files :
Code:
com.android.vending.apk
com.google.android.gms.apk
And icons not disappeared from homescreen.
Checked also after reboot and lipstick restart, both files here and icons on homescreen.

Now is interesting part 2
10. Google Play store is working !!! Allow me to download and remove apps.
Probably, it somewhere stored information about correct first installation and aliendalvik think that your copied and renamed packages is original installed...
BUT !!! Sometimes came popup windows with error from google services And some apps don't want to work correctly because of this, sometimes also crashed...

I'm tired from this war and at the end I again was completely removed all this stuff and returned to use my auto installer
End of story...
 

The Following User Says Thank You to Schturman For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#25
Purge aliendalvik and setup google services from beginning.
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#26
Originally Posted by coderus View Post
Purge aliendalvik and setup google services from beginning.
Yep... this is last thing that I planned to do today
Will report later..
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#27
Ok, tested again from scratch...
1. Stop dalvik
2. pkcon remove aliendalvik
3. Checked if need to delete some files manually. Only my .apk files - removed manually. It's cool, in this version of sailfish os, you don't do nothing (almost) after dalvik removing.
4. Reboot
5. Installing Dalvik support from store.
6. Installing Google Play and Services
7. Installed 2 apps from store
8. Checked systemctl status aliendalvik
I see this lines:
Code:
├─6527 com.google.android.gms
├─6539 com.google.android.gms.persistent
├─6599 com.google.process.gapps
├─7320 com.google.android.gsf.login
└─7934 com.google.android.gms.unstable
a. Why it have 3 process related to services gms ? And one of them unstable?

9. Restart dalvik.
Like before, both apk files removed from
Code:
/opt/alien/data/app
and also .desktop files...

10. Checked systemctl status aliendalvik
Now I see this lines:
Code:
├─11330 com.google.android.gms.persistent
├─11363 com.google.process.gapps
├─11378 android.process.acore
├─11394 com.google.android.gms
├─11421 com.android.vending
Like you can see, same gms processes (except unstable one). Even vending (Store) here... I'm confused! If they here, why .apk and .desktop files disappeared?
And what, it start this processes directly from
Code:
/opt/alien/system/priv-app/GmsCore.apk
/opt/alien/system/priv-app/Phonesky.apk
?

Very weird...
 

The Following User Says Thank You to Schturman For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#28
posted it to tjc?
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#29
Originally Posted by coderus View Post
posted it to tjc?
I asked as comment in the thread of How to install Google Play on tablet a few days ago, but now answers... Probably I will open a new post.
Thanks for trying help.
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#30
Ok. Finally I got it working, and I have figured out how it should work.
Andrey, it worked from your link (tjc). After installation it taken a few seconds and both packages was updated to the last compatible versions.
After this I could restarting aliendalvik and packages not disappeared any more
Conclusions:
1. We need use old packages and just wait for update.
2. We can't use updated packages as a first installer like on Jolla Phone for example, even if it completely compatible with our Tablet.
End of story

P.S. Someone know why it can't use updated packages as a first installer ? Maybe before installing them, we need remove some data from some specific folders ?
But probably it will not work again, I tried with updated packages after purging aliendalvik, but got same result...

P.S2. if someone need installer, PM me

Last edited by Schturman; 2016-03-10 at 07:19.
 

The Following 6 Users Say Thank You to Schturman For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:03.