how do I recover from a soft brick. I'm stuck at the onn. screen after I tried flashing something 

vendor_boot I'll do some googling and try to figure out how dnl burn mode worksWhich partition(s) did you flash? You can flash back the original partition(s) using dnl burn mode (adnl).
guessing you can't get in recovery either by holding the button?vendor_boot I'll do some googling and try to figure out how dnl burn mode works
So can we all agree to disagree about the status of the bootloader is on these gen2 boxes...
People keep referring to the fastboot flashing unlock\unlock_critical commands as if they unlocked the BL.. This is not true
lock state: 10101000
cb_flashing cmd_parameter: flashing unlock
cb_flashing: unlock
avb2: 1
unlocking device. Erasing userdata partition!
10422272 blocks erased: OK
erased in 136 ms
unlocking device. Erasing metadata partition!
32768 blocks erased: OK
erased in 4 ms
lock_d state: 10100000
*** Warning - ## defenv_reserve ##, using default environment
Saving Environment to STORAGE... OK
With all that said, it still wiped my install like the BL unlock should; it didnt TEL:L ME it was going to... It just did.
Is there a factory oem set of images anywhere? (boot.img recovery.img dtb.img ... etc etc)
The ota with the firmware is in the second post to this thread, but for some reason it does not include the dtb. If you need the dtb to restore your device, I can pull it from my device if you'd like.
Note that the ota is in payload.bin format, so you'll need to use something to extract it. Like the various python scripts that extract payload.bin.
amlmmc part 1
recovery.img ... maybe I can at least get back to booting into a recovery ...
You can check if your efi got hosed by running this command at the uart prompt:
Code:amlmmc part 1
If no partition table is shown, then you'll need to repair the efi partition table.
It's the same on every device, so it can be restored. I'll pull that if you don't have a partition table shown after executing the above command at the uart prompt.
https://source.android.com/docs/core/architecture/bootloader/fastbootd
Thanks, I've got the file now. Will be out for a bit this morning, then I will tinker around with your recommendations.Probably the base dynamic partition structure within the super partition still consists of whatever it is within the super.img that you flashed that was constructed for the prior generation device.
The prior generation device included super_empty_all.img within ota packages, that could be flashed from bootloader fastboot (rather than fastbootd), so that later, when booting to fastbootd, the base dynamic partition names were already established. The 2nd Gen ota packages do not include a super_empty_all image.
There is a tedious process to manually delete/create partitions within super using fastbootd:
Code:https://source.android.com/docs/core/architecture/bootloader/fastbootd
Or, I've sent you a pm with a link to the super.img from my device. You can try to flash that with adnl, or bootloader fastboot, or using dd from the uart console prompt that is present after booting to recovery in permissive mode, or using one of the other utilities that are available from the u-boot shell prompt, such as:
usb_update - Burning a partition with image file in usb host
If none of that works, maybe just exchange the device and start over.
I am seeing a peculiar behavior on my device which is when I try to use 'adb shell' command. The 'adb shell' simply disconnects after few seconds.
While I was trying cd into system folder my adb shell closes. This happens all the time now. I would run 'adb shell' and after few seconds 'adb shell' session closes and I am back to my terminal prompt.
TLDR: I was also able to get the bootloader unlocked. Also the UART console for this device can get you into Fastboot reliably if you open the device and solder 3 wires onto the board
I bought the device this morning, thinking it was the older model that had established Lineage OS support ...
Started up the box and turned on the Developer settings and Turned on USB debugging ... found the OEM unlock setting greyed out .. was my first hint that something wasn't right ... but I pressed on
Using adb to reboot to bootloader worked fine ...
fastboot seemed ok .... fastboot flashing unlock and fastboot flashing unlock_critical seemed to work ... but when I flashed the dtb/dtbo/recovery for (what I didn't realize then) was the older model ... the box bricked ... one strange line of garbage on the tv screen ... no adb device ... a fastboot device, but listed as an Amlogic Device and not Fastboot ...
After much fiddling and googling, the found the adnl and adnl_burn_pkg utilities (I run linux) they seemed to be responsive to the box ... think this is called "burn mode"
What I found more helpful was the UART ... pulled the board out of the case, soldered on 3 wires for RX/TX/Gnd and pluged them into my always handy pl2303-based USB to UART dongle (blue casing) ... tried the typical 115200 baud and got garbage ... played with baud rates and finally found that 921600 baud worked and showed UART console output
With the UART working I could start picocom (again linux) and found a message fly by to press any key to interupt boot ... I cycled power and pressed the keys rapidly and it gave me a console with a "s4_ap222#" prompt ... typing help at this prompt gave tons of commands .... I found that typing "fastboot usb 0" would boot the board into fastboot mode ...
Seems like I have a reliable way to get into fastboot mode now whenever I need to from the UART ... even if things are bricked ...
But even then from fastboot I kept flashing the lineage stuff for dopinder and an original factory image for dopinger ... and watching the UART would always see the kernel struggling to boot and/or struggling to find the right device tree (dtb) ... could never get even just recovery started up ... very confusing ...
FINALLY found this thread and the big light-bulb came on that this is a new device! Of course the old kernel wouldn't work right ... of course the dtb/dtbo needed to be correct for this device ...
Basically just sharing all this just in case it helps somebody else out there working on getting this thing up and running ...
Does anybody around here know if anybody is working on getting TWRP/Lineage up and going yet on this device? Does it have a codename? Is there a factory oem set of images anywhere? (boot.img recovery.img dtb.img ... etc etc)
I can test on my setup if that would be helpful ..
In case anyone finds this post on a Google search then the solution is to change the default sound setting of 'Passthrough audio device' from 'IEC Kodi Packer' to 'RAW Android Packer'. I've never had to change that setting before but it looks like it has to be used by Android 12 on Google TV boxes.I'm kind of surprised that no one has mentioned anything about using Kodi with this. Here's the issue. The onn box will not output anything but Stereo pcm on Kodi. Yes I've got audio Passthrough on Kodi and the TV. I've tried every single audio combination on the onn box, on Kodi and on the Tv. It doesn't matter what your try the onn box will always output nothing but stereo pcm with Kodi. It won't even do Dolby 2.0. It will of course do Dolby 5.1 on any streaming app. I'm not really looking for a solution here, I don't think there is one, just pointing out this issue which probably isn't even the fault of the onn box. It's probably some limitation of the latest Google TV build.
any luck with this?Are you able to unpack, patch, and repack it manually? If so, can you provide some details on the steps? Thanks.
Steps to use (assumes that the bootloader is already unlocked):
install magisk 26.1:
adb install Magisk-v26.1.apk
adb reboot bootloader
fastboot flash vendor_boot vendor_boot-magisk_patched-26100.img