- Now runs
amlmmc env
before trying to read env
- Small change to --dont_reset command. Sets firstboot to 0 to ensure erases don't happen
- Added
--slow_burn
and--slower_burn
to slow down restore speed. This can help in cases where flashing fails in the middle of bigger partitions.
- Increased flashing speed
- Improved readability
- Updated documentation
- Change the flashing logic to trigger the standard factory reset behavior to avoid a corrupted data/settings partition
- Added
--dont_reset
option to skip the factory reset step when doing--restore_device
- Added
- Introduced DHCP server and client over RNDIS - Refer to scripts/usb-gadget/README.md
- Rewrote S49usbgadget
- Added supporting files
- setup_host_usbnet.sh is now deprecated
--burn_mode
- Fixed --burn_mode bug causing false positive error message
- Added message when using --burn_mode while in Burn Mode
- Housekeeping
- Added 0.1.0 to Changelog
- Updated CLI attribution message, added Car-Thing-Hax-Community name/repo link and specified using fork from bishopdynamics in cli output
- Made some changes to the flashing logic to account for missing/misnamed files
0.1.0 f371ff7
- Latest @bishopdynamics release, no official changelog available
- fix rare divide-by-zero case when reading or writing partitions
- tweaked how experimental
make-binary.sh
works
- reduced write single-chunk threshold to 2MB, seems 4MB was too ambitious to be reliable
- options that require USB Burn Mode will now attempt to enter USB Burn Mode automatically
- added
--restore_partition
to restore individual partitions from file - added
--restore_device
to restore whole device from a folder- expects files:
bootloader.dump, env.dump, fip_a.dump, fip_b.dump, logo.dump, dtbo_a.dump, dtbo_b.dump, vbmeta_a.dump, vbmeta_b.dump, boot_a.dump, boot_b.dump, misc.dump, settings.ext4, system_a.ext2, system_b.ext2
- if the dump file
data.ext4
is missing, or is actually empty (all zeros), will just wipe the data partition to save time
- expects files:
- corrected
bootloader
partition size.- The partition is 4MB, but device will only accept up to 2MB when writing
- partition is zero-padded and the actual bootloader is about 1.3MB
- starting with this version,
--dump_partition
and--dump_device
will produce 2MB dumps ofbootloader
partition --restore_partition
and--restore_device
, if they find a 4MBbootloader.dump
will only restore first 2MB of it
- fixed issue where
bootloader
dumps started with 512 Bytes of padding - option
--dump_device
will convertenv.dump
intoenv.txt
(keeping both)
- Added boot slot selection to
--boot_adb_kernel
&--disable_avb
.
- fixed #2 & #4 - wrong encoding when sending env to device
- added
--enable_burn_mode_button
thanks to lmore337!
- added
--restore_stock_env
- wipe uboot env partition, then restore it to stock values by importingstock_env.txt
- added
--send_env
<env.txt> - send givenenv.txt
, import it into the existing env. Will NOT wipe first, just overwrite - added
--send_full_env
<env.txt> - wipe uboot env partition, then import the givenenv.txt
- added
--convert_env_dump
<env.dump> - convert a partition dump file, into a readableenv.txt
which you can edit - added
--get_env
<env.txt> - dump the device env partition and convert it toenv.txt
- initial release
- fixed issue #1: not sending env with --boot_adb_kernel