Closed z2z closed 1 year ago
Only tested on linux/ubuntu there script is not for windows.
On Fri, 2 Sept 2022, 09:45 z2z, @.***> wrote:
Hi @Raxone https://github.com/Raxone , Adventurously(my bad) i tried to to run all.sh on windows(git bash) by using only using upgrade.exe
Resulting to erasing bootloader
$ ./scripts/all.sh USB Connect
Command -> ./bin/update identify 7
Results --------------------------------------------------- AmlUsbIdentifyHost This firmware version is 0-7-0-16-0-0-0
Dump Bootloader
Command -> ../bin/update mread store bootloader normal 0x200000 bootloader.bin
Results --------------------------------------------------- AmlUsbBulkCmd[upload store bootloader normal 0x200000] [AmlUsbRom]Inf:bulkInReply success
Dump DTB'S
Command -> ../bin/update mread mem 0x1000000 normal 0x30000 dtb.bin
Results --------------------------------------------------- AmlUsbBulkCmd[upload mem 0x1000000 normal 0x30000] [AmlUsbRom]Inf:bulkInReply success
Reboot to BL1
Command -> ../bin/update identify 7
Results --------------------------------------------------- [update]:No [WorldCup Device] device after scan [update]ERR(L1094):can not find device
Dump Efuse 0xFFFE0000 ./scripts/all.sh: line 235: ../bin/amlogic-usbdl: No such file or directory ./scripts/all.sh: line 237: hexdump: command not found ./scripts/all.sh: line 238: hexdump: command not found ./scripts/all.sh: line 239: hexdump: command not found ./scripts/all.sh: line 240: hexdump: command not found Decrypt bootloader iv undefined Dtb_to_Dts Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases. Done
ls of dump_all directory
-rw-r--r-- 1 lenovo 2.0M Aug 31 02:05 bootloader.bin -rw-r--r-- 1 lenovo 192K Aug 31 02:05 dtb.bin -rw-r--r-- 1 lenovo 0 Aug 31 02:05 bl2aeskey -rw-r--r-- 1 lenovo 0 Aug 31 02:05 bl2ivkey -rw-r--r-- 1 lenovo 0 Aug 31 02:05 pattern.secureboot.efuse -rw-r--r-- 1 lenovo 0 Aug 31 02:05 root_rsa_key.sha -rw-r--r-- 1 lenovo 0 Aug 31 02:05 bootloader_dec.bin
Device log - https://pastebin.com/nCGtMjUy
Device is booting into uboot. Not able to get into upgrade/wordcup mode or fastboot. How do i restore from this point.
— Reply to this email directly, view it on GitHub https://github.com/Raxone/amlogic-usbdl_s905x2/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN7JFEKGPN2F36YHDWBD5LV4GWCZANCNFSM6AAAAAAQDAZDBY . You are receiving this because you were mentioned.Message ID: @.***>
Thanks. Please add script to roll back.