From 4fd25d8781e2f184020f8d072e30bdb42ea9d360 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 9 Feb 2024 06:38:22 +0100 Subject: [PATCH] Add emmc backup --- .gitignore | 1 + README.md | 43 +++++++++++++++++++++++++ extra-stuff/backup.scr | Bin 0 -> 16791 bytes extra-stuff/backup.scr:Zone.Identifier | Bin 0 -> 27 bytes 4 files changed, 44 insertions(+) create mode 100644 extra-stuff/backup.scr create mode 100644 extra-stuff/backup.scr:Zone.Identifier diff --git a/.gitignore b/.gitignore index de9d6bf..0d3c940 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ update/*.swu FW/*.bin +FW/*.swu unpacked/* diff --git a/README.md b/README.md index c9253f8..5456f08 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,49 @@ Default password for the firmware is `toor` but it can be changed in the `shadow **update** - Contains the packed firmware files. +![photo_2024-02-05_02-46-45](https://github.com/ultimateshadsform/Anycubic-Kobra-2-Series-Tools/assets/151234273/be75b895-d655-440e-92d7-b9804da16f05) + +
+ EMMC BACKUP + +EMMC Backup Procedure + +1. Use app version 2.39 and stop the booting process by holding key 's' +2. Insert USB disk with the file backup.scr on it +3. From the uboot shell enter the following: + +usb reset +usb dev 0 +fatload usb 0:0 42000000 backup.scr +source 42000000 + +4. Remove the USB disk and insert at least 8GB USB disk +5. Wait about 15 minutes and the entire emmc will be transfered 1:1 to the USB disk + If you see an error and the script stopped before showing 100%, insert another type USB disk and enter: + +source 42000000 + +6. From a linux machine export the backup as a file: + +dd if=/dev/sdh of=emmc_backup.bin bs=512 count=15269888 status=progress + +--- + +With the xfel tool: + +1. Enter the printer in FEL mode +2. Enter the following: + +xfel ddr t113-s3 +xfel write 0x43000000 uboot239.bin +xfel exec 0x43000b50 + +Press and hold key 's' until the boot process stop in uboot shell and go to step 3 above + +You can modify the script and create new backup.scr image by: mkimage -T script -n 'EMMC Backup' -d backup.txt backup.scr + +
+
Old info
diff --git a/extra-stuff/backup.scr b/extra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@7B;#LHd@%|I@oAIV|)?L-H)ll zM%RJoxYNQ$*TF^$8(jw*Eo^ihY_zb^b+FOGM%Tec3maVr8!c>f9c;9)(RHxV!baD@ zMhhEV2OBMHbRBH8u+ep}(ZWX8!A1)kT?ZR2XpAqQx%)9y*yuX&9BVCXbRBH8u+ep} z(ZWX8!A1)kT?ZR2Y;+xLw6M{2u+hRs*TF^$8(jw*Eo^ihY_zb^b+FOGM%Tec3maVr z8!c>f9c;9)(RHxV;;N5AR+sTn2p@2KrOX|hslrC5goj>lVWU%GqlJx5iH#OEIwdw* z*yxnlXknvMVxxtPPKk{cHaaCXTG;56*l1y+Q(~iqjZTS;7B)I1Hd@%|l-Outqf=s| zg^f;$jTSVf9c;9)(RHxV z!baD@MhhEV2OBMHbRBH8u+ep}(ZWX8!A1)kT?ZR2Y;+xLw6M{2u+f6X_@vL>kEy~& z*MaBQZDFJ9V55bNu7iyhHo6WrTG;41*l1y+>tLgWjjn@@7B;#LHd@%|I@oAoqw8R! zg^jL*jTSb#4mMiY=sMVFVWaC{qlJyGgN+t6#wTptLgWjjn@@ z7B;#LHd@%|I@oA&)rTc(`hO#Q!10-xJ2q2=jZO&fN^G>S(J8Uf!bYdWMhhFA5*saSbV_Wru+b^8(ZWWj#6}An zoe~=@Xp9G)yB|}9jjjXFvERZ**TF^$8(jw*Eo^ihY_zb^b+FOGM%Tec3maVr8!c>f z9c;9)(RHxV!baD@MhhEV2OBMHbRBH8u+ep}(ZWX8!A1)kT?ZR2Xp9dscR!{I8(jyU zW75J#*TF^$8(jw*Eo^ihY_zb^b+FOGM%Tec3maVr8!c>f9c;9?>Mz8nzkmGm;nIIu CbSoVI literal 0 HcmV?d00001 diff --git a/extra-stuff/backup.scr:Zone.Identifier b/extra-stuff/backup.scr:Zone.Identifier new file mode 100644 index 0000000000000000000000000000000000000000..be537eb44ca1e347e7a761c14b4f312c3e8c9543 GIT binary patch literal 27 fcma!!%Fjy;DN4*MPD?F{<>dl#JyUFrdAS$>i985_ literal 0 HcmV?d00001