Kodi Community Forum

Full Version: SONY AF9 w/ AndroidTV Oreo - Installation via Play Store fails with Error Code -506
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
(2019-01-08, 15:46)fritsch Wrote: [ -> ]
(2019-01-08, 15:41)nycom Wrote: [ -> ]
(2019-01-08, 15:20)fritsch Wrote: [ -> ]We need c) to be installed - so that we 100% can show - that only the APP_PACKAGE_ID change was sufficient to get it going.

Btw. I really hope that you test on an affected TV :-) If the nightly run there before just fine - your device is not the valid testing TV, hehe.
 a) OK
b) OK
c) KO

I tried to install the packages on a Sony KD55-AF9  
 Thanks much! Means, changing the PACKAGE_ID is fully enough, so that kodi runs perfectly fine on those TVS, right?

Could you do me a favor and please uninstall complete kodi again, clear the cache of the Google PlayStore App and try to reinstall the c) again? 
I already tried this solution few weeks ago, it's not working.
Okay - so then we can conclude:

Changing JUST the PACKAGE_ID from org.xbmc.kodi to _anything_ else as shown in our tests makes kodi work. Do you agree with this result?

Then let's kindly wait what Sony-Engineers tell us about the reason for this. Would be funny to see it "magically" be fixed after next update ;-)
So for the moment, we just can install option a) and b), which one is better? Or it doesn´t matter?

Thanks for all this work...
It does not matter. Both are from yesterday evening. Let me just for fun build a new one with org.xbmc.sony :-)

Will be the result of: https://jenkins.kodi.tv/view/Automation/...hoice/190/ source: https://github.com/fritsch/xbmc/tree/org.xbmc.sony

Let's see if we can assume the block the whole string or just anything xbmc / kodi in the name. Curious.

Please give the resulting org.xbmc.sony a test: http://mirrors.kodi.tv/test-builds/android/ (~ 20 Minutes).
(2019-01-08, 15:18)fritsch Wrote: [ -> ]
(2019-01-08, 15:12)chrisyu Wrote: [ -> ]@fritsch

Test results, I use adb install from network.

a)  $ adb install kodi-20190107-689e9e07-sonyamazon-armeabi-v7a.apk
Success

Runs fine.

b) $ adb install kodi-20190107-689e9e07-sonyamazon-armeabi-v7a.apk 
Success

Runs fine.

c) $ adb install  kodi-20190107-4abe3490-master-armeabi-v7a.apk
adb: failed to install kodi-20190107-4abe3490-master-armeabi-v7a.apk: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE: Failed rename]

Cannot install.
 Thanks very much. Can you perhaps make a bit of "free space"? - and try again?
My TV z9f has enough space.
It always report this error when installing kodi official build. I tried to factory reset my TV , and still same error.
(2019-01-08, 16:53)chrisyu Wrote: [ -> ]
(2019-01-08, 15:18)fritsch Wrote: [ -> ]
(2019-01-08, 15:12)chrisyu Wrote: [ -> ]@fritsch

Test results, I use adb install from network.

a)  $ adb install kodi-20190107-689e9e07-sonyamazon-armeabi-v7a.apk
Success

Runs fine.

b) $ adb install kodi-20190107-689e9e07-sonyamazon-armeabi-v7a.apk 
Success

Runs fine.

c) $ adb install  kodi-20190107-4abe3490-master-armeabi-v7a.apk
adb: failed to install kodi-20190107-4abe3490-master-armeabi-v7a.apk: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE: Failed rename]

Cannot install.
 Thanks very much. Can you perhaps make a bit of "free space"? - and try again? 
My TV z9f has enough space.
It always report this error when installing kodi official build. I tried to factory reset my TV , and still same error. 
 I figured after posting. Thanks much. Currently building org.xbmc.sony ... curious if this also works, meaning "if they block", if they do it with == or with contains. Curious. We will find out.
Just to confirm, in post #77, link a) and b) is same url.
Is it meant to install same apk twice?
Nope - that was a typo, but did not influence the testing result.

Next try:

Precondition: Remove all kodi applications
A) install http://mirrors.kodi.tv/test-builds/andro...bi-v7a.apk - run it
B) remove A and install http://mirrors.kodi.tv/test-builds/andro...bi-v7a.apk - run it
C) remove B and install http://mirrors.kodi.tv/test-builds/andro...bi-v7a.apk - run it

What are the results?
Here is the result.
And my TV is China version, there are no Google Play store on it.

a) $ adb install kodi-20190107-624d59a1-sonyrandom-armeabi-v7a.apk
Success

b) $ adb install kodi-20190107-689e9e07-sonyamazon-armeabi-v7a.apk
Success

c) $ adb install kodi-20190108-8d666add-org.xbmc.sony-armeabi-v7a.apk
Success

All run OK.
Perfect. Thanks.

Now please remove all and try: D) http://mirrors.kodi.tv/test-builds/andro...bi-v7a.apk <- random test-build with org.xbmc.kodi PACKAGE_ID
And there any difference in performance among this 4 versions?

Thanks
Nope - just always latest master - the PACKAGE_ID change picked on top - and the 100% same build job as with the official jobs. Newest is the org.xbmc.sony one ...
(2019-01-08, 17:28)fritsch Wrote: [ -> ]Perfect. Thanks.

Now please remove all and try: D) http://mirrors.kodi.tv/test-builds/andro...bi-v7a.apk <- random test-build with org.xbmc.kodi PACKAGE_ID
 OK, I create a blank project with android studio, set package id to org.xbmc.kodi .
Only 2.3m in size, https://app.box.com/s/q8o7zzhp8gl3u7c52y6uhd9o21opcz8z

And here it is:
$ adb install tv-release.apk
adb: failed to install tv-release.apk: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE: Failed rename]
(2019-01-08, 17:38)chrisyu Wrote: [ -> ]
(2019-01-08, 17:28)fritsch Wrote: [ -> ]Perfect. Thanks.

Now please remove all and try: D) http://mirrors.kodi.tv/test-builds/andro...bi-v7a.apk <- random test-build with org.xbmc.kodi PACKAGE_ID
 OK, I create a blank project with android studio, set package id to org.xbmc.kodi .
Only 2.3m in size, https://app.box.com/s/q8o7zzhp8gl3u7c52y6uhd9o21opcz8z

And here it is:
$ adb install tv-release.apk
adb: failed to install tv-release.apk: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE: Failed rename] 
 Hurray! This is the 100% PROOF! Can you upload the APK please? (Edit: You did, perfect)

Good - now we know: Sony blocks by PACKAGE_ID ...
So which is the one we "should" installHuh

This goes very fast...

Thanks
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15