Get Fire TV Advanced Options via CommandLine or Libary (dev) - Fire TV General

Hello guys,
I think many of you know these advanced options of the fire tv stick.
For my current project I need to be able to query the displayed video information (especially the color standard) via commandline or some libary. I have almost no experience with android development, but if someone has a solution I should be able to figure the rest out myself.
I suppose I would have to root the fire tv stick. After that I have no idea what to do. Since the information can be displayed via the advanced options, I assume that there must be a way to query them via command line or a libary.
Maybe someone with more experience in this field has an idea
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

@chikko80
https://developer.amazon.com/docs/fire-tv/developer-tools.html#snapshot
>adb shell "dumpsys activity service com.amazon.ssm/.OverlayService|grep colorstandard"
[com.amazon.ssm.multimedia.video.colorstandard]: [BT709_8_SDR]

@Kramar111 Thats exactly what i need! Thank you!
I didn't even know that you can do this kind of stuff with adb.. Buts its really cool this way that you can ask remote via adb and run the scripts on another device

@Kramar111
I tested it today, and yeah basically its doing what i need, but the problem is, that i don't want to have open the Advanced Options all the time. The idea was to read out the color standard in the background without limiting the tv experience. So the advanced options menu should not be visible.
Do you have another idea?

@chikko80
No

Related

Trying to enable FULL Multiple User Support on G2 (not to be confused with GuestMode)

Hello everyone, I bring you this topic knowing that our G2s have some sort of crippled multi-user functionality.
But I was used to use the full multi-user support on my Galaxy Note since 4.2.2 (or any other Android with 4.2.2) which differs from LGs by a mile.
LGs implementation is limited to show only the apps you allow without means of changing wallpaper, pulling down the notification shade, etc. Android 4.2.2 can handle more than what LG gave us, like having a totally new and independent full session, including Sync accounts and apps which I found very convenient.
However when I tried the procedure described here it errors out for some reason with a "couldn't create user" error.
But when you get into the System Settings you get to see the new option "Users and Restrictions"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you go there you'll see:
If you click Add User:
If you click OK:
Obviously that's because of the error I got inside Terminal. I also disabled LG's Guest Mode in case it had something to do with it but it was a no go.
I'll try some other methods and keep you posted. Any ideas are welcome.
Cheers!
this is neat, @Rayan are you already has the fix?
Nope, unfortunately I have not found a solution yet.
I have tried all methods available but no solution yet.
Sent from my LG-D801 using Tapatalk

Latest Firmware MCU (K2001_NWD_S212109)

Can anyone tell me the best firmware that's available for my head unit Latest Firmware MCU (K2001_NWD_S212109) Preferable Rooted or am i on the latest version possible for this unit at the moment?
I have pulled hardware info and will show screenshots of my findings, i would like to root this unit so i can get to the whitelist file to allow tasker to work via a fast boot, i have tried multiple different things to get root on this device
All the software APK methods they all fail
i Trying to do it via the pc ADB method but no luck there Even though i get toADB no issues i cannot get to SU I'm stuck in User
Also trying to reach the bootloader i run the command in ADB "adb reboot recovery" it reboots successfully goes to recovery but does not give me the usual menu says something about command then takes me out of the bootloader
couple of things iv tried to work around on this car stereo is, i downloaded shortcuts to accessibility, security menus as they are stripped out i can get to Services option if i go to accessibility shortcut and lets me enable power optimization but that's had no effect on the quick boot start up, and when i attempt to access the security menu it drops me back to the home screen obviously don't have permissions to get there
Does anyone have one of these devices that they have successfully rooted or changed the firmware to allow root i hate being locked in a rom that gives me no options to customize my headhunt,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Flashing a custom ROM on a ZED AN817DK?

Hey fellas,
I've done some flashing on android before, but only on smartphones, instead of a car multimedia. My model is ZED AN817DK.
It looks like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The launcher it came with is kinda disgusting, so I installed Nova Launcher instead.
Regardless, the system barely works, even on the stock settings / factory reset status.
Apps are crashing, changing the audio option in Waze takes a whole 2 minutes to even open up the menu for the option
(the app works but the input is unresponsive for 2 minutes until the menu appears).
I've tried contacting the shop I bought it in and they sent me a "firmware" update in the form of an APK file that will not launch in the device. I don't think I saw an option in it's administrator settings or anywhere else to update firmware via file (only check for firmware update - and it's always "up to date").
So I think I'll resort to flash a custom rom on this. I'm a bit worried since in the scenario where things go wrong I rely only on a pen hole style reset button which I don't fully trust to reset successfully if a custom rom is installed.
Is there a general flashing guide for these devices? How safe is it, as in what are the chances of completely bricking the device?
Are there general or common roms that work well on these devices?

Anyone want to tackle this one?

I had a hidden partition on my hard drive where they created a server that placed me under a work profile. I somehow got access to a file on my network [ I forgot how I did it] and changed some 0 and 1 around in some of the system files, and then my phone got downloads because, I think, my computer thought my phone was the server. I don't know... but I removed my hard drive, and the devices in the BIOS were setup to occupy my RAM with their control. I'm not sure if I was battling an algorithm or live hackers or both. But this picture was the command windows options menu, and I'm not sure if this is normal, but I believe they were gaining access through my color options in the command line. They have updated software on my old ipod back in 2012. I know a few of them personally, and one posted a wisecrack on Facebook about the military's abilities the same day my ipod got screwed out of my control by a software update. They get their schemas from, in this case, www.3w.com if my memory serves me. It's an architect company, but the schemas they use on my computer allow them to hijack my computer by using false security codes. One of my system files in booting has a command that upon power up, opens a command window then deletes the trace, and everything in my booting loads from their devices, and that command window opens on their server. Any ideas? I'm not sure I really want to fight the owners of this Earth, because I believe that is ultimately who I am dealing with.
You wouldn’t believe me if I told you the truths of how I know this. Anyways, I'll be glad to hand over my laptop if anyone wants to check it out
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Spoof android.software.leanback feature

Hello,
I'm in the process of developing a single Android application that runs on multiple different types of devices.
From normal smartphone, tablet to Android TV.
The layouts and styling for each tend to look quite different.
To manually test these applications I can resort to using emulators.
A big downside to emulators is that they tend to take up a lot of valuable resources from the development machine.
Therefor I prefer using real devices. (Ideally just 1 device).
I can use my smartphone to test both the normal layout AND
with the help of the smallest width option in the developer settings I can also test the tablet layout.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
However there is no such option available to spoof/fake Android TV/Google TV on my test smartphone.
AFAIK Android has a kind of prioritisation which layout it tries to inflate.
When it detects a device that has the android.software.leanback feature it will inflate the TV-layout which typically resides in the `layout-television` folder.
Programmatically I check it as such:
Java:
getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK));
// PackageManager.FEATURE_LEANBACK == "android.software.leanback"
Reference documentation https://developer.android.com/reference/android/content/pm/PackageManager#FEATURE_LEANBACK
Since this system feature is missing for normal smartphones it will never work.
You can find the supported features with:
Code:
adb shell pm list features
After some digging I found you can add these system features when you have root access.
They are kept in the /system/etc/permissions folder.
So I simply copy-pasted the `tv_core_hardware.xml` from the Android source code after which I briefly saw my phone render my application in Android TV.
Also the hasSystemFeature(PackageManager.FEATURE_LEANBACK) returned true!
Unfortunately the screens goes completely black after a second or two and reboots in panic mode.
TLDR; How can you force Android TV on a rooted smartphone/tablet?
FYI my rooted test device is an OnePlus 6
Thanks in advance.

Categories

Resources