一台海思芯片的设备,使用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[32bit] 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 [x]:[0] SHA1; [1] SHA256; [2] HMAC-SHA1; [3] 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分区的数据恢复到这台这种操作暂时没法操作,因为手上没有第二台一样全好的机器。
|