[Fire General] rivethead23:
I figured out a way to access some hidden functions within the OS last night. Seeing where this leads after work today Apparently I can cast the screen and access the home function disabled in 5.0.1. Problem is the home function doesn't override the hard coding.

Most interesting is something called Prod and Devo Switch that give "Access Denied" when I try to activate it. Hmmmm........

Here's what I have discovered. It's easier done on 5.0.0 but can be done on 5.0.1. You'll need another launcher like Nova installed. Installed "Anycut" from the google store. It'll let you put a shortcut on the desktop for any "activity". There are alot of items there not normally accessible. You can cast to a Chromcast for example (it works). The reason you need another launcher is the Amazon launcher doesn't support shortcuts I guess as they don't appear. They appear on Nova's desktop when created.

Most interesting is a shortcut called "Prod and Devo Switch" which if you look at the info refers to the "Amazon Device Settings" app.. ( com.amazon.device.settings?). It's separate from the user settings. If you try to access it it will say "Access Denied" on 5.0.1. Or "Permission denied" on 5.0.0. Makes me wonder if what needs to happen the app needs some additional permissions to be run. I was looking through the list of permissions via ADB and there are a number of permission groups that are android.xxxxx. However there are only a few permission groups that are amazon.xxxxx one of which is amazon.permission-group.settings. Listing the settings in the group shows a large list. Maybe using ADB pm grant com.amazon.device.settings the correct permissions could unlock this? Thoughts?

Here's what I got from a logcat when I click on the shortcut in novalauncher:

I/ActivityManager( 454): START u0 {act=android.intent.action.VIEW flg=0x1000000

0 cmp=com.amazon.device.settings/.DevoProdConfigActivity bnds=[300,168][400,310]

} from uid 10017 on display 0

W/ActivityManager( 454): Permission Denial: starting Intent { act=android.inten

t.action.VIEW flg=0x10000000 cmp=com.amazon.device.settings/.DevoProdConfigActiv

ity bnds=[300,168][400,310] } from ProcessRecord{9460965 1138:com.teslacoilsw.la

uncher/u0a17} (pid=1138, uid=10017) requires com.amazon.dcp.permission.DISPLAY_D

EBUG_UI

E/Launcher( 1138): Launcher does not have the permission to launch Intent { act=

android.intent.action.VIEW flg=0x10000000 cmp=com.amazon.device.settings/.DevoPr

odConfigActivity bnds=[300,168][400,310] }. Make sure to create a MAIN intent-fi

lter for the corresponding activity or use the exported attribute for this activ

ity. tag=ShortcutInfo(title=Prod and Devo Switch intent=#Intent;launchFlags=0x10

000000;component=com.amazon.device.settings/.DevoProdConfigActivity;sourceBounds

=300%20168%20400%20310;end id=15 type=Shortcut container=-100 screen=1 rank=-1 c

ellX=3.0 cellY=1.0 spanX=1.0 spanY=1.0 dropPos=null user=UserHandle{0} modelGene

ration=-1) intent=Intent { act=android.intent.action.VIEW flg=0x10000000 cmp=com

.amazon.device.settings/.DevoProdConfigActivity bnds=[300,168][400,310] }

E/Launcher( 1138): java.lang.SecurityException: Permission Denial: starting Inte

nt { act=android.intent.action.VIEW flg=0x10000000 cmp=com.amazon.device.setting

s/.DevoProdConfigActivity bnds=[300,168][400,310] } from ProcessRecord{9460965 1

138:com.teslacoilsw.launcher/u0a17} (pid=1138, uid=10017) requires com.amazon.dc

p.permission.DISPLAY_DEBUG_UI

Tried granting that specific permission to Nova launcher or the Fire launcher but both do the same thing:

com.amazon.firelauncher com.amazon.dcp.permission.DISPLAY_DEBUG_UI <

Operation not allowed: java.lang.SecurityException: Package com.amazon.firelaunc

her has not requested permission com.amazon.dcp.permission.DISPLAY_DEBUG_UI

Maybe someone with more knowledge than I create a program with that permission that calls the intent in question?