ADBTuner: A "channel tuning" application for networked Google TV / Android TV devices

Good to know. I just checked and the Android 14 update is also available on the Onn TV HD stick as well - I am currently using 2 of those along with a couple of FireTV 4K Max sticks as my encoder devices. I was able to turn off auto-update for Apps but it didn't appear like there was an option to do this for system updates (like the Android 14 update), but it also seems like system updates require manual action.

UPDATE: One of my Onn 4K Pros appears to have updated itself to Android 14 - I am not using this with ADBTuner - I checked for system updates on this one, but did not update it manually, so I am guessing that if you check for updates, the device may become aware of the update and perform it automatically? unless you turn off auto-update for apps? (my Onn TV HDs have not auto updated)

UPDATE2: Looks like some of my other devices have auto-updated to Android 14 including an Onn TV 4K but the two Onn TV HDs that I am using w/ ADBTuner have not yet updated - one had an indication of "update paused" for some reason...

I updated one box but didn't update the other box.
The main tuner is still on Android 12 and i probably going to disable updates until technical stuff is figured out.
Looksing forward to seeing what can be figured out on Android 14

I wasn't brave enough to update an Onn 4K Pro, but I did update one of the original Onn 4K devices this morning and I was surprised to see that it works just fine. ADB connects the same as always and Developer Mode stays enabled after reboots. Your mileage may vary though, I only did a few quick tests.

I wouldn't update for no reason, but perhaps the new ADB/Developer Mode restrictions are only being applied to Google devices for now? This is promising.

I officially have Android 14 on the Onn 4k 2023 box.
When doing th einstall, make sure to offload extra third party apps that may have been installed.
My main box couldn't installl the update becuase it didn't have enough space.
When it came back up it connected to ADB Tuner just like the oher one.
i brought up Get comedy through Fubo and it did error out at first and upon review, i noticed there was a little bitoof lag.
I previously was a customer of YTTV and was able to launch the app using the preview interface available in ADB Tuner.
The app came up and started playing. When i closed the preview window in ADB TUner, the app went away but not before asking if i wanted to preview for another 20 minutes.
If you have app and depend on the ONN box to get content to channels, don't update until ADB Tuner is updated.
The update to the code hopefully won't be too much.
I'm using the fubo app in compatibility mode. I have a feeling my first launch got it hung up on the who's watcing screen.
Good luck with the new update.

Sorry if this is a dumb question - I was interested in running adb commands manually from the ADBTuner Docker console in Unraid but I can't find the adb binary anywhere - I do see an "adb.py" script - how would I do this???

2 Likes

ADBTuner uses a Python implementation of the ADB protocol. The adb binary is not included in the image.

If you are looking to run custom ADB commands as part of a tuning operation you can look into creating a custom configuration that includes these commands (/configurations in the web UI).

Thanks - I only occasionally need to connect adb, for example, to send commands to prevent the firetv units that I am using with ADBTuner to not go to sleep - this was easy when I was using Windows 11 for the channels dvr server, but Unraid doesn't have abd installed by default and I am not sure if only the ADBTuner docker is authorized to connect to the devices or the entire Unraid server is authorized...

On an unrelated note: I have had 4 of 6 Onn TV devices (not used for ADBTuner) auto update to Android 14, but two of them cannot even be manually updated as they don't find the Android 14 system update - so I am trying to figure out why - anyone else seeing this?

ADB uses key based authentication so if you wanted to use the same authentication you could copy the key files (.config/adbkey and .config/adbkey.pub) from ADBTuner's docker volume to ~/.android/ on the machine you wish to use the ADB CLI on. You might be able to find or build a docker image that contains adb for this purpose if it cannot be installed natively on unraid.

Out of curiosity, is the keep alive functionality in ADBTuner insufficient for your FireTV devices? I would be glad to look into fixing that if it needs to be fixed.

One out of three Onn devices auto-updated to Android 14 here. I guess it's not being deployed to every device yet? Or maybe they pulled the update? There doesn't seem to be an official way to block these updates.

I'll look into running ADB from Unraid further, but a workaround is just to authorize a 2nd PC running Windows to send ADB commands from.

Honestly, I never looked into using the keep alive function of ADBTuner, but I did this from a PC to the fire sticks to keep them from going to sleep.

adb -s 192.168.2.64:5555 -e shell settings put secure sleep_timeout 0 
adb -s 192.168.2.64:5555 -e shell settings put secure screen_off_timeout 2147460000

The FireTV 4K Max, currently, is a good choice for ADBTuner because ADB remains active with an OTG ethernet adapter plugged in, but most of my older fire sticks are not compatible with ADBtuner due to an old version of android.

I saw in Reddit that Walmart/Onn pulled the Android 14 release for now to fix some bugs - that would make sense as I can't update the two devices, yet I have updated two others of the same types (Onn 4K Pro and Onn 4K) - but I have not read anything else verifying this claim.

I have a 4 port hdmi encoder but when i connect all of them to adbtuner only one opens any apps even though adbtuner shows all of them as being successfully connected, and this occurs regardless of what package i choose, do i have to create a seperate adbtuner container for each port or is there any way to get all of them working from the same container? Thank you

You can try setting all of your tuners to the same priority. I do not assign any priority to any of mine. All are left blank.

I'll check it out, thank you

1 Like

I have some Google TV Streamers 4k which came with Android 14 natively, and they work with ADBTuner just fine. Are you saying they aren't supposed to be working?

It seems to only affect the actual Google branded devices and not all Android TV 14 devices.

Thanks for the "Configurations" add. I have a couple of use cases where I think I can use this. I think I have coded some solutions in the configurations section, but I have to wait for certain amount of loading of the apps before I can finish all of the things I need to do in the "tune_commands" section to make what I am trying to do work. I use some sleep commands to try and get the timing right. Because of this, the timing of it loading properly before just giving up is iffy with my configurations when trying to tune them through Channels. I am not sure what drives this timing, if it is something in your code, or is it a channels DVR thing, don't know. If it is in your code, could it be opened up a little for time before giving up? Seems like anything beyond about 20 seconds or so of total delays I can't make work when trying to tune.

But Google TV Streamer is made by Google.

That is true. For some reason I read Onn 4k. I think the issue was only happening on reboots and hopefully it has been fixed.

I have been using these since last November with ADBTuner, and never had any problems.

My ONN 4k NON PRO boxes show as having the most current update. They are sitting there with Android 12. Just checked the "Pro" box which I use as a client, ...also still on 12.

I think they pulled the ANdroid 14 for the Onn pro
The machines don't have a lot ofiinternal space.
If the storage is low, the device won't update.
I had an ONN box that was low on storage so had to remove some apps to install the update.