htyww 发表于 2024-9-2 16:11

hitool救砖刷机后data被清空卡开机动画

一台海思芯片的设备,使用hi tool全分区备份后捣鼓研究,刷了其他的固件,最后再刷回备份的全分区文件,开机后卡在开机动画处,进不去桌面。TTL查看data分区是空的,没有任何内容。有大神指点一下是哪里的问题吗?

此机没有recovery模式,输入reboot recovery重启后还是正常启动进入开机动画,无法执行双清。找了各种所谓的恢复出厂设置命令也无效,如下
console:/ # recovery --wipe_data
/system/bin/sh: recovery: not found


126|console:/ # am broadcast -a android.intent.action.MASTER_CLEAR
cmd: Can't find service: activity

设备可进fastboot模式。但是没有找到相关命令,命令如下
fastboot# help
?       - alias for 'help'
base    - print or set address offset
bdinfo- print Board Info structure
bootatf - boot atf ,kernel and secureos from memory
bootatf32- boot atf ,kernel and secureos from memory
bootp   - boot image via network using BOOTP/TFTP protocol
ca_check_boot_version- ca_check_boot_version
ca_check_verion- ca_check_verion flash_patition_name
ca_clean_secboot_key- clean sec boot key
ca_common_verify- ca_common_verify
ca_common_verify_bootargs- ca_common_verify_bootargs
ca_decryptflashpartition- decrypt flash_patition_name to DDR
ca_get_extern_rsa_key- get external rsa key
ca_special_verifybootargs- verify bootargs
cipher_test- CIPHER encrypt and decrypt test
cmp   - memory compare
cp      - memory copy
crc32   - checksum calculation
ddr   - ddr training function
editenv - edit environment variable
env   - environment handling commands
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fatsize - determine a file's size
fatwrite- write file into a dos filesystem
getinfo - print hardware information
go      - start application at address 'addr'
gzwrite - unzip and write memory to block device
hash    - calcluate hash
hash_test- hash_test : SHA1; SHA256; HMAC-SHA1; HMAC-SHA256;
help    - print command description/usage
i2c_read- I2C Read, please be careful !!!
i2c_write- I2C Write, please be careful !!!
loadb   - load binary file over serial line (kermit mode)
loadsos - load secure os at address <addr>
loadx   - load binary file over serial line (xmodem mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mii   - MII utility commands
mm      - memory modify (auto-incrementing address)
mmc   - MMC sub system
mmcinfo - display MMC info
mw      - memory write (fill)
nm      - memory modify (constant address)
otpreadall- read otp ,for example otpreadall
otpwrite- write otp ,for example otpwrite adddress value
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset   - Perform RESET of the CPU
rsa_test- RSA verify test
run   - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv- set environment variables
sleep   - delay execution for some time
standby - test standby
start_slaveboot- slaveboot debug
tftp    - tftp        - download or upload image via network using TFTP protocol
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
timershow- timer_show start
unzip   - unzip a memory region
usb   - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version

请教大神指点,如何才能实现那种恢复出厂设置后启动设备让它自动配置所有的参数【这些配置的参数会自动生成到data分区里】

找台好的机器备份data分区的数据恢复到这台这种操作暂时没法操作,因为手上没有第二台一样全好的机器。

钮钴禄明明 发表于 2024-9-2 17:37

帮你顶一下看看有没有知道 的

13617315761 发表于 2024-9-2 21:15

正常的话开机让他自动重启几次就可以了

htyww 发表于 2024-9-3 15:24

13617315761 发表于 2024-9-2 21:15
正常的话开机让他自动重启几次就可以了

这款设备就是神奇,无论如何它就不会自动配置。也是第一次遇到。

13617315761 发表于 2024-9-3 15:29

htyww 发表于 2024-9-3 15:24
这款设备就是神奇,无论如何它就不会自动配置。也是第一次遇到。

换个misc带重启恢复的试试

jehong 发表于 2024-9-4 10:49

这种情况多数是刷了基于原厂固件修改的刷机包,因为没有烧录用户分区,但原厂系统要检测用户分区数据才能启动,所以就卡开机LOGO了,必须找相同固件包里面包含用户分区,重新烧录一下用户分区才行,有些广电的盒子就是这样

htyww 发表于 2024-9-9 13:11

13617315761 发表于 2024-9-3 15:29
换个misc带重启恢复的试试

估计不好找到能适配的misc分区文件吧。多谢指点。

htyww 发表于 2024-9-9 13:13

jehong 发表于 2024-9-4 10:49
这种情况多数是刷了基于原厂固件修改的刷机包,因为没有烧录用户分区,但原厂系统要检测用户分区数据才能启 ...

hitool是在机器正常使用的适合进行的备份。只是hitool默认不备份userdata分区。以前没遇到过这种问题。也没太在意。刷了其他自己找的包研究,结果找的包用不了。卡uboot反复重启。再hitool刷回就这样了。原系统有系统完整校验锁,任何修改都会导致无法进入系统。所以才去找第三方刷机。

jehong 发表于 2024-9-10 01:26

htyww 发表于 2024-9-9 13:13
hitool是在机器正常使用的适合进行的备份。只是hitool默认不备份userdata分区。以前没遇到过这种问题。也 ...

我一般都是跑码看分区信息,如果有用户分区,最好备份,你开机卡LOGO的盒子是什么盒子

htyww 发表于 2024-9-17 11:33

jehong 发表于 2024-9-10 01:26
我一般都是跑码看分区信息,如果有用户分区,最好备份,你开机卡LOGO的盒子是什么盒子 ...

一个杂牌的LCD单液晶屏投影仪。第一次遇到这种问题。所以说海思的就算有hitool备份也不能乱折腾的。hitool默认不备份用户分区。
页: [1] 2
查看完整版本: hitool救砖刷机后data被清空卡开机动画