summaryrefslogtreecommitdiffstats
path: root/tarWrite.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve progress bar handling for backup / restore / image flashEthan Yonker2016-03-311-1/+18
| | | | | | | | | | | | | | | | | 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
* Merge up to AOSP marshmallow-releaseEthan Yonker2015-10-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to maintain compatibility with older trees, we now have minadbd.old and minui.old. I had to use a TARGET_GLOBAL_CFLAG to handle ifdef issues in minui/minui.d because healthd includes minui/minui.h and there was no other alternative to make minui.h compatible with older trees without having to modify healthd rules which is outside of TWRP. Note that the new minui does not currently have support for qcom overlay graphics. Support for this graphics mode will likely be added in a later patch set. If you are building in a 6.0 tree and have a device that needs qcom overlay graphics, be warned, as off mode charging may not work properly. A dead battery in this case could potentially brick your device if it is unable to charge as healthd handles charging duties. Update rules for building toolbox and add rules for making toybox Use permissive.sh in init.rc which will follow symlinks so we do not have to worry about what binary is supplying the setenforce functionality (toolbox, toybox, or busybox). Fix a few warnings in the main recovery binary source code. Fix a few includes that were missing that prevented compiling in 6.0 Change-Id: Ia67aa2107d260883da5e365475a19bea538e8b97
* Fix double free crash during encrypted backupsEthan Yonker2015-06-011-1/+2
| | | | | | | | | | | Calling flush_libtar_buffer would inadvertantly set buffer_status when no buffer is currently allocated. Later when we called free_libtar_buffer, this would attempt to free the write_buffer and cause a crash. This patch checks the value of buffer_status in flush_libtar_buffer to prevent us from freeing the buffer when it is not necessary. Change-Id: Ic5b462fe5881be6e9c6fcc355b369bc90477f737
* Update licenses to all matchDees Troy2013-10-221-17/+12
|
* Support encrypted backup filesDees_Troy2013-06-221-1/+6
| | | | | | | | | | | | | | | Also includes features merged from: Update twrpTar by kokotas Revised function entryExists(). Added function to get archive's uncompressed size. Added option to exclude item(s) from the archive. Revised forks() http://review.teamw.in/#/c/590/ Change-Id: I01fa2c81643161984eff2625247af75990684bd9
* Move all AOSP code out of recovery binaryDees_Troy2013-04-041-2/+2
| | | | | | Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
* Add write buffer for tar writesDees_Troy2013-02-071-0/+92
update fuse to 2.9.2 catch return from unlink so that we don't print error messages when things work Change-Id: I1115039a0fa5d9d73f78ef1abd79755d7ffd9d96