[Google TV General] graffix420:
Hello, I have a problem with one of the Onn devices I bought, and I was hoping I might find some help here. I was trying to unlock secure_boot, and I followed a similar procedure to one I found for the google TV device, that involved setting the oem variable "upgrade_step=3", this seemed to work, however I was supposed to set it back to 0 before the device was hard rebooted. I lost power several times last night during a snow storm, upon the device hard rebooting, it will no longer complete boot. I can't interrupt the process via uart, and every adnl command I try is blocked by secure boot, including "oem setenv". This command results in "FAILED (remote: cmd setenv not in secure boot white list)". I'm hoping someone has some suggestions. Amlburntool does recognize the device, but I do not have an appropriate .img file to flash with the utility. I also cannot "fastboot reboot bootloader", it results in the exact same UART log.

Here is the output from UART:

AOCPU: configure PMP for memory 0xf7018000 ~ 0xf7024000

Starting AOCPU FreeRTOS...
AOCPU image version='bl-3.4.3 856d8d0480d511f2994c2e7f612af2779d634f67 21:10:21 2023-04-03'
AOCPU_IRQ_SEL=0x0
AOCPU_IRQ_SEL=0x0
AOCPU_IRQ_SEL=0x0
AOCPU_IRQ_SEL=0x0
[AOCPU]: mailbox init start
reg idx=0 cmd=6 handler=f7019e72
reg idx=1 cmd=7 handler=f7019e5c
[AOCPU]: mailbox init end
Starting timer ...
reg idx=2 cmd=b4 handler=f701b714
reg idx=3 cmd=b5 handler=f701b6ac
reg idx=4 cmd=b6 handler=f701b22c
reg idx=5 cmd=bb handler=f701b1ec
reg idx=6 cmd=bc handler=f701b20c
reg idx=7 cmd=11 handler=f70186de
reg idx=8 cmd=12 handler=f70186fe
reg idx=9 cmd=4 handler=f7018c34
reg idx=10 cmd=30 handler=f7018c20
reg idx=11 cmd=31 handler=f7018c30
reg idx=12 cmd=f9 handler=f7018c6c
Starting task scheduler ...
env_init: Environment STORAGE init done (ret=-2)

U-Boot 2019.01-g9e8313a2ea bl-3.4.3 (Apr 03 2023 - 21:09:53 +0800)

DRAM: 2 GiB
Relocation Offset is: 7f621000
Relocating to 7f621000, new gd at 79610dc8, sp at 79610db0
board init
watchdog disable
gpio: pin GPIOH_7 (gpio 43) value is 1
ERR: hdmitx: not find /amhdmitx node: FDT_ERR_NOTFOUND
get_sys_clk_rate_mtd:gclock=90000245
get_sys_clk_rate_mtd:P_NAND_CFG=e5
Currently only supports BCH8 1K!
NAND device id: 0 ff ff ff ff ff
[meson_mmc_probe]sd: Controller probe success!
[meson_mmc_probe]emmc: Controller probe success!
emmc: resp timeout, cmd8, status=0x1ff2800
emmc: resp timeout, cmd55, status=0x1ff2800
store flag: 0, types: 1
emmc init success!
boot_device:1
boot_seq:1
boot_bakups:3
rebuid_id :0
boot area list:
bl2 200 2a000
bl2e 2a200 13000
bl2x 3d200 11000
ddrfip 4e200 40000
devfip 8e200 300000
emmc: tuning start:
emmc: best_win_start =4, best_win_size =4
emmc: clk = 10000245, dly1 = 0, dly2 = 0, adj = 12000, cfg = 804872
enable vendor_boot
enable vendor_boot
set has_boot_slot = 1
enable dynamic_partition
get ept from gpt success
eMMC/TSD partition table have been checked OK!
crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!!
crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!!
crc32_s:0x79f50f07 == storage crc_pattern:0x79f50f07!!!
emmc probe success
Loading Environment from STORAGE... OK
In: serial@a000
Out: serial@a000
Err: serial@a000
board common misc_init
board late init
upgrade_step 3
Start read misc partition datas!
active slot = 0
set vendor_boot_mode true
ab mode, read dtb from kernel
[imgread]partname = vendor_boot_a
Amlogic Multi-DTB tool
Multi DTB detected.
Multi DTB tool version: v2.
Found 4 DTBS.
dtb 0 soc: s4 plat: s905y4 vari: ap222
dtb 1 soc: s4 plat: s905y4 vari: ap223
dtb 2 soc: s4d plat: s905y4 vari: ap222
dtb 3 soc: s4d plat: s905y4 vari: ap223
Matched DTB for "s4_s905y4_ap222"
vpu: find AML_VPU_CLK_LEVEL_DFT: 7
vpu: clk_level in dts: 7
vpu: vpu_power_on_new
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: vpu_module_init_config
vpu: vpu_probe
vpp: vpp_init, chip_id=55
vpp: set_osd1_rgb2yuv rgb2yuv on = 0..............
vpp: set_osd2_rgb2yuv rgb2yuv on = 0..............
vpp: set_osd3_rgb2yuv rgb2yuv on = 0..............
vpp: vpp osd2 matrix rgb2yuv..............
hdr_func: 0x8, hdr_process_select 0x1
hdr_func: 0x1, hdr_process_select 0x1
hdr_func: 0x2, hdr_process_select 0x1
cvbs: cpuid:0x37
retcnt=8
vdac_gsw_init: 0x5a
cvbs: find sva_std: 0x0
cvbs: find performance_pal config
cvbs: find performance config
cvbs: find performance_ntsc config
Start read misc partition datas!
00
wrn:efuse_field.data != 1
rebootmode is fastboot
forUpgrade_socType=37
forUpgrade_secureBoot=false
forUpgrade_robustOta=true
forUpgrade_flashType=BOOT_EMMC
forUpgrade_bootloaderCopies=3
forUpgrade_bootloaderIndex=1
forUpgrade_1stBootIndex=0
Saving Environment to STORAGE... OK
rebootstatus is reboot_init, skip check
amlsecurecheck - try bootloader/dtb/recovery secure check

Usage:
amlsecurecheck
Start read misc partition datas!
save boot-info
do_SetUpdateTries boot_ctrl.roll_flag = 0
00
current slot 0 is successful_boot
bootloaderindex: 1
check if boot0 = boot1
is_BootSame_capacity_boot: 400000
bootloader 1 & 2 DO same
buff: 80960d08b03718
Net: pwr up eth
in-phy
chip num 3
not set tx_amp_src
Can't get reset: -524
[KM]Msg:key_num: 21
[KM]Msg:normal key used!
the key partition size is:40000 byte
calc 1fde6a0b93, store 1fde6a0b93
calc 1fde6a0b93, store 1fde6a0b93
do nothing
[KM]Msg:rawhead hash check successful
[EFUSE_MSG]keynum is 4
eth0: ethernet@ff3f0000
Start read misc partition datas!
active slot = 0
set vendor_boot_mode true
ab mode, read dtb from kernel
recovery_status=
upgrade_step=3
reboot_mode:::: fastboot
s_version: 01.01.230403.210953
[KM]Msg:key_num: 21
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L401:key[region_code] not programed yet
[KM]Error:f[key_manage_query_size]L401:key[deviceid] not programed yet
[FACTORY-PROVISION] Being 'EMMC' storage medium
Interface: MMC
Device 1: Vendor: Man 000015 Snr f23bbe0b Rev: 0.6 Prod: 8GTF4R
Type: Removable Hard Disk
Capacity: 7456.0 MB = 7.2 GB (15269888 x 512)
Filesystem: FAT12 "KEYBOX PART"
do_hpd_detect, hpd_state=0
vout_hdmi_hpd: hdmimode=1080p60hz
vout_hdmi_hpd: colorattribute=444,8bit
no sink, fallback to 720p60hz[4]
hdr mode is 0
dv mode is ver:0 len: 0
hdr10+ mode is 0
HDMI HPD low, no need parse EDID
dolby_vision_process: hpd_state=0
not dolby stb chip 37
dolby_vision_process: no tv and dv disabled
Saving Environment to STORAGE... OK
WATERMARK: Watermark is disabled
[OSD]load fb addr from dts:/fb
[OSD]status disabled
[OSD]load fb addr from dts:/drm-vpu
[OSD]set initrd_high: 0x7f800000
[OSD]fb_addr for logo: 0x7f800000
[OSD]load fb addr from dts:/fb
[OSD]status disabled
[OSD]load fb addr from dts:/drm-vpu
[OSD]fb_addr for logo: 0x7f800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0x7f800000 width=3840, height=2160
not dolby stb chip 37
bootLogoPart=odm_ext_a
ext4logoLoadCmd=ext4load mmc 1:${logoPart} ${logoLoadAddr} ${ext4LogoPath}
4147272 bytes read in 28 ms (141.3 MiB/s)
[imgread]load bmp from ext4 part okay
[OSD]osd_hw.free_dst_data: 0,719,0,575
[OSD]osd0_update_disp_freescale_enable
vpp: vpp_matrix_update: 2
cvbs_performance_enhancement
cvbs_config_hdmipll_sc2
cvbs_set_vid2_clk
vdac_enable: 1, module_sel:0x8
not dolby stb chip 37
not dolby stb chip 37
hdr_packet
vpp: hdr_policy = 0
vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0
s_version: 01.01.230403.210953
[KM]Msg:key_num: 21
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L401:key[region_code] not programed yet
[KM]Error:f[key_manage_query_size]L401:key[deviceid] not programed yet
[FACTORY-PROVISION] Being 'EMMC' storage medium
Interface: MMC
Device 1: Vendor: Man 000015 Snr f23bbe0b Rev: 0.6 Prod: 8GTF4R
Type: Removable Hard Disk
Capacity: 7456.0 MB = 7.2 GB (15269888 x 512)
Filesystem: FAT12 "KEYBOX PART"
PHY2=00000000fe03a020,phy-base=0xfe03e000
0x10 trim value=0x0000007f

USB RESET
SPEED ENUM
sof