[Philips, Sony, TCL Android TV] cyrax157:
Hi there XDA,

my "Amazon Alexa" App on my Philips 55PUS7354 (Software Version TPM191E_R.001.004.100.000 / Android 9) suddenly stopped working (infinite loading circle)

Different approaches to get that thing working again ended with no luck.

Philips-Support... Well... I emailed them but, yea, they are no help here.....

After countless hours with factory resets, wiping the /data partition, reinstalling firmware via usb, "Wiresharking" the network activity, I came to the conclussion that

I must be a problem with the app itself.

It´s a system app shipping within the firmware-package.

App-ID: org.droidtv.amazonalexa

A "dumpsys package org.droidtv.amazonalexa" on the shell gave me:

dumpsys package org.droidtv.amazonalexa
Activity Resolver Table:
Non-Data Actions:
org.droidtv.action.ALEXA_PRIVACY:
f08903a org.droidtv.amazonalexa/.wizard.AlexaWizardActivity filter 99c05d3
Action: "org.droidtv.action.ALEXA_PRIVACY"
Category: "android.intent.category.DEFAULT"
android.intent.action.MAIN:
f08903a org.droidtv.amazonalexa/.wizard.AlexaWizardActivity filter 9da580d
Action: "android.intent.action.MAIN"
Category: "android.intent.category.LEANBACK_LAUNCHER"
Category: "android.intent.category.LAUNCHER"
org.droidtv.intent.action.AMAZON_ALEXA:
f08903a org.droidtv.amazonalexa/.wizard.AlexaWizardActivity filter fd9a3c2
Action: "org.droidtv.intent.action.AMAZON_ALEXA"
Category: "android.intent.category.DEFAULT"

Receiver Resolver Table:
Non-Data Actions:
org.droidtv.NON_INTERRUPTIBLE:
97344eb org.droidtv.amazonalexa/.receiver.AlexaBootReceiver filter d01cd37
Action: "org.droidtv.tv.tvpower.TV_POWER_STATE_CHANGE_BEGIN"
Action: "android.intent.action.BOOT_COMPLETED"
Action: "org.droidtv.NON_INTERRUPTIBLE"
android.intent.action.TIME_SET:
dd62248 org.droidtv.amazonalexa/.receiver.TimeChangeReceiver filter 5d552a4
Action: "android.intent.action.TIME_SET"
org.droidtv.tv.tvpower.TV_POWER_STATE_CHANGE_BEGIN:
97344eb org.droidtv.amazonalexa/.receiver.AlexaBootReceiver filter d01cd37
Action: "org.droidtv.tv.tvpower.TV_POWER_STATE_CHANGE_BEGIN"
Action: "android.intent.action.BOOT_COMPLETED"
Action: "org.droidtv.NON_INTERRUPTIBLE"
android.intent.action.BOOT_COMPLETED:
97344eb org.droidtv.amazonalexa/.receiver.AlexaBootReceiver filter d01cd37
Action: "org.droidtv.tv.tvpower.TV_POWER_STATE_CHANGE_BEGIN"
Action: "android.intent.action.BOOT_COMPLETED"
Action: "org.droidtv.NON_INTERRUPTIBLE"

Key Set Manager:
[org.droidtv.amazonalexa]
Signing KeySets: 1

Packages:
Package [org.droidtv.amazonalexa] (e4eb8e1):
userId=10011
pkg=Package{2df7606 org.droidtv.amazonalexa}
codePath=/system/priv-app/voice
resourcePath=/system/priv-app/voice
legacyNativeLibraryDir=/system/priv-app/voice/lib
primaryCpuAbi=null
secondaryCpuAbi=null
versionCode=28 minSdk=14 targetSdk=28
versionName=9
splits=[base]
apkSigningVersion=3
applicationInfo=ApplicationInfo{dbf44c7 org.droidtv.amazonalexa}
flags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]
privateFlags=[ PRIVATE_FLAG_ACTIVITIES_RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION PRIVILEGED ]
dataDir=/data/user/0/org.droidtv.amazonalexa
supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]
usesLibraries:
org.droidtv.ui.tvwidget2k15
org.droidtv.ui.strings
tvfw
usesLibraryFiles:
/system/priv-app/tvwidgets2k15/tvwidgets2k15.apk
/system/priv-app/tvstrings/tvstrings.apk
/system/framework/tvfw.jar
timeStamp=2008-12-31 17:00:00
firstInstallTime=2008-12-31 17:00:00
lastUpdateTime=2008-12-31 17:00:00
signatures=PackageSignatures{46d9f29 version:3, signatures:[476d2253], past signatures:[]}
installPermissionsFixed=false
pkgFlags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]
requested permissions:
android.permission.INTERNET
android.permission.ACCESS_NETWORK_STATE
android.permission.CONNECTIVITY_INTERNAL
com.android.providers.tv.permission.WRITE_EPG_DATA
com.android.providers.tv.permission.READ_EPG_DATA
android.permission.DEVICE_POWER
org.droidtv.tv.tvpower.tv_power_system_access
com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA
com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS
org.droidtv.providers.tv.favorite.READ_FAVORITE_DATA
org.droidtv.providers.tv.favorite.WRITE_FAVORITE_DATA
android.permission.WAKE_LOCK
org.droidtv.permission.TPVISION_BROADCASTS
android.permission.READ_PHONE_STATE
android.permission.READ_PRIVILEGED_PHONE_STATE
android.permission.RECEIVE_BOOT_COMPLETED
install permissions:
org.droidtv.permission.TPVISION_BROADCASTS: granted=true
android.permission.RECEIVE_BOOT_COMPLETED: granted=true
android.permission.DEVICE_POWER: granted=true
com.android.providers.tv.permission.READ_EPG_DATA: granted=true
org.droidtv.providers.tv.favorite.WRITE_FAVORITE_DATA: granted=true
android.permission.INTERNET: granted=true
com.android.providers.tv.permission.WRITE_EPG_DATA: granted=true
android.permission.READ_PRIVILEGED_PHONE_STATE: granted=true
com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA: granted=true
android.permission.ACCESS_NETWORK_STATE: granted=true
org.droidtv.providers.tv.favorite.READ_FAVORITE_DATA: granted=true
android.permission.CONNECTIVITY_INTERNAL: granted=true
com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS: granted=true
android.permission.WAKE_LOCK: granted=true
User 0: ceDataInode=-4294966559 installed=true hidden=false suspended=false stopped=false notLaunched=false enabled=0 instant=false virtual=false
gids=[3003]
runtime permissions:

Package Changes:
Sequence number=73
User 0:
seq=0, package=uk.co.freeview.bbc_sounds
seq=1, package=com.phorus.playfi.tv
seq=4, package=com.google.android.tvrecommendations
seq=5, package=com.google.android.videos
seq=8, package=com.google.android.gms
seq=9, package=tunein.player
seq=16, package=org.droidtv.nettvapp5245
seq=17, package=org.droidtv.android.fitness
seq=18, package=com.google.android.youtube.tvmusic
seq=22, package=com.google.android.apps.mediashell
seq=23, package=com.android.shell
seq=27, package=org.droidtv.amazonalexa
seq=28, package=com.android.vending
seq=32, package=com.disney.disneyplus
seq=70, package=com.zattoo.player
seq=72, package=com.netflix.ninja

Dexopt state:
[org.droidtv.amazonalexa]
path: /system/priv-app/voice/voice.apk
arm: [status=speed-profile] [reason=bg-dexopt]

Compiler stats:
[org.droidtv.amazonalexa]
base.apk - 5288
voice.apk - 3665

It shows "Verison 9".

Maybe someone is able to upload a different/newer Version of the app apk, so I can test it ?

The package is located at /system/priv-app/voice/voice.apk

Thanks in advance...

~ cYrAx