summaryrefslogtreecommitdiffstats
path: root/twrpTarMain/twrpTarMain.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve backup & wipe exclusion handlingEthan Yonker2016-11-301-6/+7
| | | | | | | | | | | | | | Rename twrpDU.* to exclude.* Remove global variable for du and replace with partition specific variables. Use separate exclusion lists for backups and wiping. Clean up some includes Fix some parenthesis in twrp.cpp that I messed up. Note: twrpTarMain command line utility compiles but probably does not work correctly yet due to not properly setting part_settings Change-Id: Idec9c3e6a8782ba53f3420fa79ba33394f4f85fb
* Improve progress bar handling for backup / restore / image flashEthan Yonker2016-03-311-4/+46
| | | | | | | | | | | | | | | | | The progress bar will now be updated during image backups, restores and during image flashing (except for sparse images which will require significant changes to libsparse, and except for mtd nand using flash_utils). The progress bar will now be updated mid-file for file systems (tar) so the user will see changes even during large file backup / restore. Add a new progress tracking class to simplify handling of progress bar updates. The class will only update the progress bar 5 times a second to reduce the CPU load from updating the GUI frequently which does affect backup times. Change-Id: Iff382faef3df1f86604af336c1a8ce8993cd12c5
* Fix up twrpTarEthan Yonker2015-10-151-1/+2
| | | | Change-Id: I11a8f77b39a6f12aca6157c9aa76c34ef48c4b9f
* Track backup and restore progressEthan Yonker2014-07-091-2/+3
| | | | | | | | Track backup and restore progress based on the sizes of the files as they are being added to the tar backup file. Update the progress bar based on the sizes of the files. Change-Id: Idf649efa1db3e91830b4b2add86203a3f30042ff
* Remove deprecated tar exclude functionalityMatt Mower2014-03-311-4/+0
| | | | | | | | | twrpDU::check_skip_dirs() handles skipped folders now. Everywhere twrpTar::setexcl() is being used to exclude files eventually calls createTarFork(), which in turn calls Generate_TarList(), which checks check_skip_dirs(). Change-Id: Ibbc4eb2eb89863ccb2a15f5a3b5092fb10fcbcc0
* Add twrpTar binaryEthan Yonker2014-02-121-0/+164
Change-Id: I9db1aac350cd2ca02cceccc249ebd2f0b3c3c671