Jump to content


Photo

[tools] USB Dumper + Tools Package for AML8726mx by cxz


  • Please log in to reply
No replies to this topic

#1 cxz

cxz

    Advanced Member

  • Moderator
  • PipPipPip
  • 1,091 posts

Posted 25 April 2017 - 03:46 AM

A set of batch scripts for dumping, writing, erasing and unbricking.
Use these scripts at your own risk - no guarantee of any kind.
 
 
Batch file names:
COMMAND-boot-uImage---drop_file_here.bat
COMMAND-check-connection.bat
COMMAND-environment-reset-to-default.bat
COMMAND-environment-reset-to-update-done.bat
COMMAND-poweroff-the-device.bat
COMMAND-start-bootloader.bat
COMMAND-start-update.exe-prompt.bat
DUMP-environment.bat
DUMP-offset-or-full.bat
DUMP-partitions.bat
FILES-bootloader-dump-shrinker---drop_the_file_here.bat
FILES-recovery-from-boot.p-to-recovery.img.bat
FILES-remove-temp-files.bat
UNBRICK-the-device.bat
WIPE-erase-the-device-skipping-bootloader.bat
WIPE-erase-the-device.bat
WIPE-scrub-the-device.bat
WRITE-bootloader-to-nand---drop_file_here.bat
WRITE-environment-to-nand---drop_env-file_here.bat
WRITE-partition-file-to-nand---drop_file_here.bat
 
Readme.txt:
--------------------------------------------------
USB Dumper + Tools Package for AML8726mx by cxz 
--------------------------------------------------
 
A set of batch scripts for dumping, writing, erasing and unbricking.
Use these scripts at your own risk - no guarantee of any kind.
 
Uses the update.exe from the Amlogic USB Burning Tool.
(older update.exe version is used because the newer ones freezes.)
 
 
---------------------------
Dumping partitions
---------------------------
(when recovery and/or system doesn't boot.)
 
1. Connect USB cable.
2. Start the device while keeping Power and Volume- buttons down.
   (Some tablets it can be Power and Home that works instead. 
    Try different combinations.)
 
   If the "WorldCup Device" is not under "libusb-win32 devices" 
   in device manager you have to install the driver in the 
   "AmlogicusbBurningdriver" folder. (Tip. A good usb-tool 
   is "USBDeview" by Nir Sofer. http://www.nirsoft.net/)
 
3. Run DUMP-partitions.bat batch file.
4. Answer "y" when asked. Use enter to skip.
 
With DUMP-offset-or-full.bat one can possibly save some 
data if partitions cannot be dumped. (The bad blocks are
not checked.) It's a good idea to check dumped files with 
a hex editor.
 
The reading data is quite slow because of the update tool.
If you have a custom uImage_recovery/recovery.img file you
can use COMMAND-boot-uImage---drop_file_here to boot it.
After that use it (+adb) and do backing up/dumping faster.
e.g: adb pull /dev/mtd/mtd0 (where 0 is the partition number)
 
The dumped ~environment-for-dumper.bin is not for editing.
The batch only use it for finding out the partitioning.
Use DUMP-environment.bat to save the environment used.
 
To write dumps back in the partitions must exist and 
they must be erased empty. 
 
There is also some other batch files included. 
They do NOT proceed without asking a permission.
 
 
 

  • LuckyMe likes this