siphot 发表于 2024-9-9 00:33

现在最新的小米电视HDMI转TTL能用的命令很少了?

首先感谢论坛里面的大神有教程教我如何用HDMI转TTL,我是小米电视 s pro miniled 75寸,联发科MT9653处理器 Pentonic 700系列,按照方法成功TTL也可以用命令行,但是貌似内置的uboot能执行的命令很少,跟论坛里面的大佬们的对比出来少很多,而且进入了rec后也无法用中断 或者任何方式输入代码,我感觉是小米禁用了,我想在另辟蹊径 用联发科的刷机工具 看看能不能备份分区,但是brom模式我不知道怎么进去,试过很多种方法,遥控器上面各种组合按键也试过了,也问过gpt,没作用,难道一定要拆机用编程器读取emmc吗?平台上面找过很多提供刷机包的都没有这个刷机包,没有。freeguy# help   
?         - alias for 'help'
ab_pre_slt- ab_pre_slt - do a/b partition preselection

ab_select - Select the slot used to boot from and register the boot attempt.
ab_slt    - ab_slt - do a/b partition selection

abootimg- manipulate Android Boot Image
adc       - ADC sub-system
addbootargs- set a new config to the bootargs

addversion- set a uboot version to the bootargs

auto_emmc - auto_emmc -xiaomi copymachine in mboot
avb       - Provides commands for testing Android Verified Boot 2.0 functionality
avboff    - set avb off- do_avb_off

avbon   - set avb on- do_avb_on

base      - print or set address offset
bcb       - Load/set/clear/test/dump/store Android BCB fields
boot_dramc- boot coprocessor with dramc

boot_pmu- boot coprocessor with pmu

boot_vad- boot coprocessor with vad

bootcheck - Mediatek boot mode check command
bootdeviceusb- check boot device if is USB ,init usb HW

booti   - boot arm64 Linux Image image from memory
bootircheck- bootir mode check command
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
bootpartition- Auto-Detect boot flash (mmc/usb/ufs) type and operating flash with partition as the unit.
This command is only allowed when there is only one boot device on chip.
check_upgrade_mode- this command is used in bootflow only

checkteesuccess- check tee success

chipid    - chipid   - Do add chip id to bootargs

clean   - clean- do_clean_env

clean_uuenv- clean all uuenv
cmp       - memory compare
coninfo   - print console devices and information
console_log- console_log- print console log from hdmi

cp      - memory copy
crc32   - checksum calculation
cu      - cu - xiaomi upgrade mode

customcheck- custom check
dataindex - show dataindex infomation
date      - get/set/reset date & time
dbg       - dbg   - Set debug level as ERROR, INFO, TRACE, DEBUG, BOOTTIME

def_dtbo- def_dtbo -do load def dtbo

deletebootargs- delete the specific cofig that is in the bootargs

demura_init- demura_init- init panel

deviceid- Add unique id to bootargs.
devid   - Get Device Unique ID
dhcp      - boot image via network using DHCP/TFTP protocol
dm      - Driver model low level access
draw_progress- draw_string - draw string with color

draw_rect - draw_rect - draw rect with color

draw_string- draw_string - draw string with color

dtbaddr   - dtbaddr - get u-boot device tree binary address

dtbcfg    - dtbcfg - do dtb cfg select/get/ls operation

dtbo      - dtbo - do device tree binary overlay

dtboverify- dtboverify - verify dtbo.img before uboot dtboverlay

dtimg   - manipulate dtb/dtbo Android image
du      - Disable UART
efuse   - Get efuse value.
efuse_test- efuse_test - Test read efuse

emmc      - eMMC sub system
emmc_self_adaption- def_dtbo -do load def dtbo

env       - environment handling commands
ethsw   - Ethernet l2 switch commands
ext4load- load binary file from a Ext4 filesystem
ext4ls    - list files in a directory (default /)
ext4size- determine a file's size
ext4write - create a file in the root directory
fastboot- run as a fastboot usb or udp device
fatinfo   - print information about filesystem
fatload   - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fatmkdir- create a directory
fatrm   - delete a file
fatsize   - determine a file's size
fatwrite- write file into a dos filesystem
fdt       - flattened device tree utility commands
fileSegRSA- do file segment rsa authendication
filepartload- load part of a file to DRAM

filepartloadSegAES- load a part of file to RAM and do descrypted
force_cu_check- do set factory bootargs

forcebootrecovery- force boot to recovery mode

formatenv - clean all uboot environment in 'uenv' partition & convert to EXT4 format.

get_slot- get which block to start from next time
get_wakeup_reason- get wakeup reason
gettime   - get timer val elapsed
gpio      - query and control gpio pins
gpt       - GUID Partition Table
hash      - compute hash message digest
help      - print command description/usage
i2c       - I2C sub-system
jpgdecode - jpgdecode   - Decode JPEG format picture

ld_mcu_upgrade- ld_mcu_upgrade   - do_ld_mcu_upgrade

load_factory_prop- set_board_info - read model sum info and set to bootargs

loop      - infinite loop on address range
lzmadec   - lzma uncompress a memory region
mboot_upgrade- mboot_upgrade - xiaomi upgrade mboot

mbox      - Mailbox control
mbox_led- mailbox control led:

md      - memory display
meminfo   - display memory information
mi_bt_reset- do mi bt reset

miup      - Do memory protect
mm      - memory modify (auto-incrementing address)
mmc       - MMC sub system
mmc_partition_upgrade- def_dtbo -do load def dtbo

mmcinfo   - display MMC info
mtd       - MTD utils
mtk_drv_init- Mediatek driver initialization
mtkupgrade- do upgrade by different upgrade source & specified file

mw      - memory write (fill)
nfs       - boot image via network using NFS protocol
nm      - memory modify (constant address)
osd_create- osd_create - create osd layer

osd_flush - osd_flush - flush canvas to screen

panel_enable- panel_enable - enable panel output

panel_init- panel_init- init panel

panel_mute- panel mute- panel mute

panel_post_init- backlight on- backlight on

panel_pre_init- panel_pre_init- init panel

part      - disk partition related commands
partition - Operating flash with partition as the unit.
ping      - send ICMP ECHO_REQUEST to network host
pm_init   - init pm driver data

poweroff- Perform POWEROFF of the device
printenv- print environment variables
propagate_mmap_filename- U-Boot sets mmap_filename to bootargs
pwm       - enable/disable pwm waveform output
rawlogo   - rawlogo   - Read raw data logo to memory

read      - Load binary data from a partition
reset   - Perform RESET of the CPU
retrycount- set retry count +1

revisionid- revisionid   - Do add revision id to bootargs

romtbl    - romtbl   - Do rom table overlay for u-boot dtb or kernel dtb

rproc   - Control operation of remote processors in an SoC
saveenv   - save environment variables to persistent storage
scriptstar- update kernal & root file system automatically by script file
securegetkey- test command for get CKB Key

setMtkBT- load mtk bt patch, and set woble

set_fac_bootargs- do set factory bootargs

set_model_info- set_model_info- do_set_board_cfg

set_slot- set which block to start from next time
setenv    - set environment variables
setrecovery- Set recovery flag in misc partition

setup_kernelcore_size- U-Boot sets kernelcore to bootargs
sf      - SPI flash sub-system
showlogo- Display Logo

showtb    - Show register command table.    -showtb

sleep   - delay execution for some time
sspi      - SPI utility command
standby   - standby- run standby mode framework

stop_vad- stop coprocessor with vad

tftpboot- boot image via network using TFTP protocol
time      - run commands and summarize execution time
timer   - access the system timer
unlz4   - lz4 uncompress a memory region
upgradecheck- upgrade mode check command
usb       - USB sub-system
usb_partial_upgrade_to_emmc- partial upgrade from USB to eMMC

usbboot   - boot from USB device
uuenv_get - uuenv_get
uuenv_init- uuenv init
uuenv_print- uuenv_print
uuenv_save- uuenv_save
uuenv_set - uuenv_set
version   - print monitor, compiler and linker version
voc       - Voice function for operating voice dsp.
wipeuserdata- Wipe userdata flag in misc partition

wipeuserdataboot- Wipe userdata flag in misc partition
TFTP的命令也不完全,只有个TFTPboot
以下是分区信息
freeguy# mmc part

Partition Map for MMC device 0 -- Partition Type: EFI

Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00001000 0x00005fff "mboot_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: f174bae3-a335-4717-a330-447c5c45e5c3
2 0x00006000 0x0000afff "mboot_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: ff43421d-7715-4a3d-8e19-5a94cc36ee11
3 0x0000b000 0x00012fff "uenv"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 2f6c1b8b-2fb8-4d25-bf98-464b5d7ec183
4 0x00013000 0x0001afff "uuenv"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 2c9287a4-f0a1-4b77-a83f-f190d7b2a856
5 0x0001b000 0x0002afff "tvcertificate"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: d5bd084a-e23a-4010-a334-238c4ffbf5ee
6 0x0002b000 0x000467ff "linux_rootfs_a_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 198384ed-4adc-4c22-a25f-294ee9abb455
7 0x00046800 0x00061fff "linux_rootfs_a_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 7b0a2365-d3b5-4616-9d88-0a0d85fd2949
8 0x00062000 0x00070fff "3rd_a_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 3a573d43-6219-443c-9942-cf1354b16723
9 0x00071000 0x0007ffff "3rd_a_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 72f25a29-0f5b-48b2-b1f5-5614bdc0ca6f
10 0x00080000 0x0008efff "3rd_rw"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 35227d09-2aef-4948-bf07-5fcb4b34e334
11 0x0008f000 0x0008f7ff "cha"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 3d131b3d-90e6-44e7-9d21-669a0fb5f203
12 0x0008f800 0x0008ffff "chb"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 8f4c95d9-a300-4f62-a574-a19419811fd7
13 0x00090000 0x000e37ff "tvservice_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 7507bfaa-dca5-44b3-b654-a9ea8e5a939e
14 0x000e3800 0x00136fff "tvservice_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 590e8cca-9a66-48a1-a721-1f18dc859259
15 0x00137000 0x0013afff "factory_a_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: b71e22fe-1b7a-409e-a043-936ad7fdd5dd
16 0x0013b000 0x0013efff "factory_a_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: c58e2cbe-0324-4af2-8335-e52f4d9b0607
17 0x0013f000 0x0013ffff "eeprom_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 8625e5ea-698f-4c66-9c67-6e87c7493ddc
18 0x00140000 0x00149fff "persist"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: feab7905-a0f9-49c0-adfd-87203e20fc2c
19 0x0014a000 0x0015dfff "bootdata_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 1508f33e-6689-47a9-95e1-b8777f066900
20 0x0015e000 0x00171fff "bootdata_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: f6e03273-e56b-4ea4-9f4a-f59bfec75987
21 0x00172000 0x001bcfff "tvconfig_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: ab01dcfc-835c-42d3-b3db-81507dc195a8
22 0x001bd000 0x00207fff "tvconfig_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: a1e2f052-02f1-4b66-9620-dca83b06d432
23 0x00208000 0x0020a7ff "project_id"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: d19c7ab2-8788-4f37-9fae-c600eab67357
24 0x0020a800 0x0020afff "misc"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: bf4ca619-5a7d-481e-88b5-2f8105ee7d43
25 0x0020b000 0x002307ff "boot_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 82897460-2ca1-4e22-adc0-fc90780e5299
26 0x00230800 0x00255fff "boot_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: f9f85d57-b80a-4bbe-9ec3-930038db6f71
27 0x00256000 0x0025dfff "metadata"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: f399d88b-d993-452f-97e9-4b346f7d1a13
28 0x0025e000 0x00261fff "dtbo_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 4bdc9d8c-d5c3-46fa-9e97-56f47d7c36d0
29 0x00262000 0x00265fff "dtbo_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 8f6f2b63-2a6c-4222-b93d-2af610173c27
30 0x00266000 0x00865fff "super"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 05e75a2e-3aff-429f-8735-b2e91c79c1fd
31 0x00866000 0x00897fff "cache"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: ac88081e-1cf8-45bb-9daa-dc1c030ede08
32 0x00898000 0x008987ff "vbmeta_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: c139ff8f-27c4-4d8b-a6dc-7f910ce72bc6
33 0x00898800 0x00898fff "vbmeta_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: da6c7e29-e087-4b5d-a064-f0cbf1cc7155
34 0x00899000 0x008997ff "vbmeta_system_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 833b3a66-6a86-43fd-a5d6-aea1305042a0
35 0x00899800 0x00899fff "vbmeta_system_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 388f8ae2-f3a6-4f6b-b729-198e570ec3c2
36 0x0089a000 0x0089a7ff "vbmeta_vendor_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 61ae4b59-b062-485b-8650-700f826b50c7
37 0x0089a800 0x0089afff "vbmeta_vendor_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: e60b5b3e-20f7-4c88-a1a7-4d5b898142fd
38 0x0089b000 0x008b8fff "optee_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 9a08f052-045c-4833-b808-a25e64219b9f
39 0x008b9000 0x008d6fff "optee_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: bd1856f6-4f1f-4fb5-bfda-46e157c19122
40 0x008d7000 0x008d7fff "armfw_a"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: d95999d0-a61e-40c1-a8ca-fc82dc0e42cf
41 0x008d8000 0x008d8fff "armfw_b"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 9ea2b464-cde4-4e13-82e5-bd009df153e2
42 0x008d9000 0x0747bfd7 "userdata"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 46244ca4-39a5-44fc-a67a-88411928acf8
freeguy#
环境变量,自己修改过的,试着按照手机的教程先解锁bl,不知道有没有效果,或者是真解锁了,AVB环境变量没动过freeguy# printenv
ENTER_STANDBY=0
QHB_FLAG=0
UARTOnOff=on
ab_select=a
android_manufacturer=Mediatek
android_product=griggs
autoload=0
avb_bootargs=androidboot.vbmeta.device=PARTUUID=c139ff8f-27c4-4d8b-a6dc-7f910ce72bc6 androidboot.vbmeta.avb_version=1.1 androidboot.vbmeta.device_state=locked androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.size=29312 androidboot.vbmeta.digest=0bb10b918a2580fac0d1dc053d7adeffeb74cc37818c32bc48266a83d4313bf0 androidboot.vbmeta.invalidate_on_error=yes androidboot.veritymode=enforcing androidboot.verifiedbootstate=green
baudrate=115200
bl_board_id=dl1n
bootargs=console=ttyS0,115200 androidboot.console=ttyS0 init=/init root=/dev/ram rw rootwait CORE_DUMP_PATH=/data/core_dump.%%p.gz KDebug=1 delaylogo=true security=selinux SD_CONFIG=2 loop.max_part=7 is_factory_mode=false vmpressure_level_critical=80 cgroup.memory=nokmem utpa_str_fr=1 vmalloc=650M kasan_multi_shot=1 firmware_class.path=/vendor/firmware/ init_on_alloc=0 dbg_mutex=0 androidboot.miuhit.panic=on no_console_suspend=1 CFG_HASHKEY_PATH=hashKey_B022.sign androidboot.mi.panel_size=75 androidboot.mi.panel_vendor=CSOT androidboot.panel_type=lcd androidboot.product_id=dl3c androidboot.model_name=DL3C_11 androidboot.is_xiaomi=true androidboot.mac=78:53:33:11:06:B5 androidboot.did_key=00CB0007654B|754674490|TE51gHiOv12FtKUY androidboot.assm_mn=DL3CARF3C12QXNXX00208 androidboot.serialno=50709106600030633 androidboot.vendor.cf.hardware=mt5879 androidboot.vendor.cf.hardwarerev=E1 mmap_filename=mmap_mt5879_mtk_4g_an_aosp-iommu PanelModeNum=0 mdrv-graphic.dlgmode=0 projectid=25 cusdata_dataIndex_path=/vendor/tvconfig/platform/index//dataIndex_25.ini androidboot.slot_suffix=_a androidboot.vbmeta.device=PARTUUID=c139ff8f-27c4-4d8b-a6dc-7f910ce72bc6 androidboot.vbmeta.avb_version=1.1 androidboot.vbmeta.device_state=locked androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.size=29312 androidboot.vbmeta.digest=0bb10b918a2580fac0d1dc053d7adeffeb74cc37818c32bc48266a83d4313bf0 androidboot.vbmeta.invalidate_on_error=yes androidboot.veritymode=enforcing androidboot.verifiedbootstate=green androidboot.boot_devices=1c660000.mtk-mmc-fcie buildvariant=user androidboot.dtb_idx=0 androidboot.dtbo_idx=87,21,105,74,76,89,90,78,44,70,23,53,55 lastblval=169 loglevel=0 androidboot.bootloader=01.01.240413 androidboot.selinux=permissive androidboot.mcu_ver=mitv_dl1n_v1.05 androidboot.qhb=false androidboot.force_normal_boot=1 androidboot.bootreason=reboot androidboot.first_setup=false
bootcmd=partition read mmc 0 boot 0x2C000000 0x4B00000; abootimg get dtb --index=0 fdtaddr; bootm 0x2C000000
bootdelay=0
bootmode=ac
console=ttyS2,115200
dbgLevel=DISABLE
demura_sig=0xd1a3:0xe7536db5
devicestate=unlock
dtbo_cfg_part=bootdata
dtbo_cfg_sel=config/dtb/mt5879_h3v1.ini
dtbo_mapping_cfg=config/dtbo_mapping.ini
dtbo_whitelist=config/dtb/dtbo_whitelist.ini
dtboaddr=0x27000000
ethact=ethernet@1c700000
ethaddr=78:53:33:11:06:B5
factory_mode=0
factory_poweron_mode=secondary
fdt_high=0x26800000
fdtaddr=26759000
fdtcontroladdr=5b90f760
first_setup=1
force_boot_recovery=false
force_onetime_direct=1
force_skip_disp=false
gatewayip=0.0.0.0
hardware_version=DL3N
initrd_end=25fff49e
initrd_high=0x26000000
initrd_start=254f9000
ipaddr=0.0.0.0
last_slot=0
ldm_mcu_version=mitv_dl1n_v1.05
loadaddr=0x2C000000
loglevel=3
makedata=true
mi_project_id=25
netmask=255.255.255.0
panel_type=11
product_id=dl3c
reboot_reason=reboot
recoverycmd=partition read mmc 0 boot 0x2C000000 0x4B00000; abootimg get dtb --index=0 fdtaddr; bootm 0x2C000000
serialno=50709106600030633
serverip=0.0.0.0
stderr=UART0
stdin=UART0
stdout=UART0
usb_auto_upgrade=disable
verify=n

Environment size: 3631/65532 bytes
如有大佬知道怎么备份分区,请告诉我,感激不尽!

siphot 发表于 2024-9-9 01:57

UARTOnOff=on 这个自己加的 没用

15936564025 发表于 2025-11-1 12:04

我也找了好久,没找到brom方法,想解包pkg固件也没成功
页: [1]
查看完整版本: 现在最新的小米电视HDMI转TTL能用的命令很少了?