Commit graph

24 commits

Author SHA1 Message Date
Kostas Missos
6e82dabb22 [Tools] Dump in 1GB parts if sd <=8GB + tui tweak
Tui tweak:
Support auto scroll.
2018-05-21 12:34:03 -07:00
Kostas Missos
f0d88f61ca [Main] Remove redundant
And change some divisions into bitshifting
2018-05-21 12:34:03 -07:00
Kostas Missos
8fdfb55f74 [Tools+Info] Utilize sd_save_to_file 2018-05-21 12:34:03 -07:00
Kostas Missos
08a7511760 [Main] Use printf macros to reduce clutter 2018-05-21 12:34:03 -07:00
Kostas Missos
dcb77115c9 Whitespace/typo cleanup + others
Others:
*Add cluster size in SD card info
*Add error message for emmc read failure. Also fix return value.
*Added more comments and more constant naming
2018-05-17 15:42:01 -07:00
Kostas Missos
34981763a5 [Tools] Better dumping
*Remove option to ignore errors and abort right away.
 In the end what's the point if you end up with corrupted backup.
*Always create partial.idx before running on errors.
*Allow forced partial dumping on exFAT with large space, by creating the correct patial.idx file
*Some cleanup
2018-05-17 15:42:01 -07:00
Kostas Missos
645df34367 [Main] Unmount SD before reboot/power off 2018-05-17 15:42:01 -07:00
Kostas Missos
e06d833cf8 [sd] Correct ssr parsing + add write protect info 2018-05-15 12:40:04 -07:00
Kostas Missos
54187226c8 Better error messaging structure 2018-05-15 12:40:04 -07:00
Kostas Missos
8da015d993 Add missing include 2018-05-14 12:25:29 +12:00
Kostas Missos
0f5ffb4c43 Bugfixes
* Make button check delay 1s to avoid button repressing from "button ip" state
* Dumping: Fix part logic and honor user actions on ignoring errors
* Add time taken to dump emmc
2018-05-14 12:25:29 +12:00
Kostas Missos
8ddb6c16c5 [Tools] Add fuse/kfuse dumping to SD 2018-05-14 12:25:29 +12:00
Kostas Missos
82163a920e [Info] Add eMMC and SD info printing 2018-05-14 12:25:29 +12:00
Ced2911
4d7f016e3a Feature/4x (#10)
* Dump sm, added JanV work
* add Ac_K patches, fix boot, keygen is wrong, need more work
* cleanup keygen, correct key for 4xx
* remove unused code, cleanup code
2018-05-13 13:13:17 +12:00
Kostas Missos
5ca3bbcaf1 Make write error fatal but let user choose to continue
Write error to sd is now fatal as per FatFs guidelines.
Let the user choose to continue or to abort and try again.
Add a message to let the user know that we calculate free space
2018-05-09 02:25:59 +12:00
Kostas Missos
b6b000fd28 Fix small typo 2018-05-09 02:25:59 +12:00
Kostas Missos
6878e87764 Add SD write retry and some other changes
Increase retry count to 6 tries
Add colors and change a little bit some messages
Change some namings
2018-05-09 02:25:59 +12:00
Kostas Missos
0a426db985 Add partial dumping when free space is not enough 2018-05-09 02:25:59 +12:00
st4rk
8b9e65e76f keygen for 3.0.x, 4.0.x, 5.0.x added, 3.0.X FW booting, fixed TSEC wrong offset for 4.0.X 2018-05-04 00:15:29 -07:00
Rajko Stojadinovic
138a7658ad Add missing const on constants 2018-05-02 15:37:15 +12:00
Rajko Stojadinovic
8a327030bd Enable exFAT support, don't split files if using it (fsync them instead at 2GiB boundaries), add RawNand dump option 2018-05-02 15:37:15 +12:00
Rajko Stojadinovic
ee30961b3a Fix percentage overflow when dumping USER, also add retry in case of read failure (experienced by some users) 2018-05-02 15:37:15 +12:00
Rajko Stojadinovic
04de3d184a Support dumping all possible eMMC partitions (with file splitting when necessary) 2018-05-02 15:37:15 +12:00
nwert
8365426fc3 So it has come to this. 2018-05-01 17:22:03 +12:00