summaryrefslogtreecommitdiffstats
path: root/partitions.hpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* partitionmanager: remove unused By_Block and By_Name methodsthat2014-11-041-15/+0
| | | | Change-Id: Ia6eefd23f6671428221e35642f01534bc9fff6ad
* mtp: cleanup, fixes and performance improvementsthat2014-10-081-5/+2
| | | | | | | | | | | - use std::map instead of linked list - read directories on demand - fix writing zip files to storage root - fix creating directories - lots of minor fixes - simplify generation of storage IDs and make them spec compliant Change-Id: I2137c27549ddbdc58466f2e3aeda464fac70a3c5
* Attempt to automatically identify data/media devicesEthan Yonker2014-09-201-0/+1
| | | | Change-Id: Ia3007fbced9ce3bc94efdb3dacc582a5e68a49a4
* Additional checks to prevent partitioning internal storageEthan Yonker2014-09-151-1/+3
| | | | Change-Id: I9fcd7e0169fbdd52405c0c86aafbef091f69411e
* MTP: Use fork instead of pthreadEthan Yonker2014-09-051-1/+1
| | | | Change-Id: I95cf6f4def0c86f40c775738f0712323f0a0f146
* add mtp responder to TWRP.bigbiff bigbiff2014-09-031-2/+9
| | | | | | Big thanks to Dees_Troy for helping with the implementation. Change-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0
* Track backup and restore progressEthan Yonker2014-07-091-7/+10
| | | | | | | | 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
* Add options to repair or change file systemEthan Yonker2014-06-041-0/+9
| | | | Change-Id: I9043e98e1e1ed4722f05c13a60b43d2d0bf739f6
* Fix crash while loading config due to incorrect tw_storage_pathVojtech Bocek2014-05-311-0/+1
| | | | | Change-Id: Ia5957efe616defa4272501cd8f31d26d394077bb Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Support alternative .android_secure locationMatt Mower2014-04-161-1/+2
| | | | | | | | | | | | | | | | Some devices (jewel, m8) have .android_secure at a non-standard location. Allow a different partition to be specified as the home of .android_secure using the fstab flag 'andsec'. Using the /data/media variant of jewel as an example, recovery.fstab or twrp.fstab could be edited like follows: /external_sd vfat /dev/block/mmcblk1p1 flags=display="MicroSD";andsec Note, this is NOT a method to move .android_secure in your ROM. Your ROM must already write to this alternative location. Change-Id: I3a6e4e63aaddb35870b79e80938b0f9c2c902443
* Improve USB Storage handlingEthan Yonker2014-04-011-0/+1
| | | | Change-Id: I5743d9b967a8227c4bb87da01a9c67c574bf9876
* Improve handling of settings storage and android secureEthan Yonker2014-03-131-0/+1
| | | | Change-Id: I8af92543c2f0c201e7220267c417d74e4561038d
* Create a TWRP Disk Usage Class to retain state about a directory and whether we should skip it in other classes like twrpTar.bigbiff bigbiff2013-12-191-1/+2
| | | | | | Moved Get_Folder_Size to this new class. Change-Id: If0a0220f900eb109581f2eeaf7b76e3f7d6886f1
* add support for fsflags= option in twrp.fstab fileHashcode2013-12-191-0/+3
| | | | | | | | | example userdata line (as needed by MotoX): /data f2fs /dev/block/platform/msm_sdcc.1/by-name/userdata flags=fsflags="inline_xattr" Code for parsing flags/options originally based on AOSP fs_mgr sources. Change-Id: I5fb2b5d5cdd08137e6bf71f0085a3f8aebd889a8
* Update licenses to all matchDees Troy2013-10-221-21/+17
|
* implement "usermrf" fstab flag to force rm -rf * deletion on specific partitionsHashcode2013-08-301-0/+1
| | | | Change-Id: I58f4a8cedf31e6b6efd88f96a43ed525603ae311
* Initial f2fs supportDees_Troy2013-08-291-0/+1
| | | | | | | Need to add this to your source tree: https://github.com/razrqcom-dev-team/android_external_f2fs-tools Change-Id: I3ee9ebbb617259655518f8ea356ce7b8c246cd4d
* Clean-up in partitions.hppVojtech Bocek2013-08-241-90/+88
| | | | | | | * Remove useless 'virtual' keyword * Set proper members visibility Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* 2.6.0.0Dees_Troy2013-07-031-0/+1
| | | | | Also copy recovery.fstab to cache and create a storage.fstab in cache for app/apk use.
* Support encrypted backup filesDees_Troy2013-06-221-0/+2
| | | | | | | | | | | | | | | 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
* Add partition list GUI elementDees_Troy2013-03-301-0/+16
| | | | | | | | | | | | Add partition list GUI element and update backup, restore, mount, storage selection, and wipe sections of GUI and partition manager code to reflect the new GUI element. Update ORS engine to handle new backup and restore setup. Fix a bug with decrypt. Add 1080x1920 layout. Change-Id: Iaa2f44cb707167e66f935452f076ba00e68a2aa4
* Add flag for retaining layout versionDees_Troy2013-01-151-0/+1
| | | | | | | Needed on Sony mint (Xperia T) as the /data/media folder is a separate partition and normal data media wiping is not appropriate for this device but the layout version file needs to be retained for Android 4.2 multi-user.
* Improve remounting sdcard with ecryptfsDees_Troy2013-01-091-0/+3
|
* Add libtar to TWRP instead of using busybox tarbigbiff bigbiff2013-01-091-1/+2
| | | | | | | Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function
* Add ignore blkid flag for TransformersDees_Troy2012-12-121-0/+1
| | | | Change-Id: I8f2b5b68a8c3ede74858d53002efab997174ee65
* restore based on backup type, not destination typeGary Peck2012-11-221-2/+3
| | | | Change-Id: Ie44958a148d00cadd2ba3c51255f7fd9d8a651e7
* Update and improve USB storage codeDees_Troy2012-10-151-0/+1
|
* Handle storage devices that are slow to mountDees_Troy2012-10-141-0/+1
|
* Unmount system after boot, backup, and restoreDees_Troy2012-10-121-0/+1
|
* redo fix permissions in c++ for faster changesbigbiff bigbiff2012-10-101-0/+1
|
* Update sdcard partitioning to C++Dees_Troy2012-09-271-1/+1
|
* Port backup name checking to Partition ManagerDees_Troy2012-09-271-0/+1
|
* Add option to wipe android secureDees_Troy2012-09-261-0/+1
|
* Fix permissions updatesDees_Troy2012-09-261-1/+0
| | | | | Also redirect stderr output on terminal commands for display in GUI console
* Fix problems with MTD devicesDees_Troy2012-09-261-1/+1
| | | | Also improve handling of MTD names
* Add backup size checkingDees_Troy2012-09-261-2/+4
| | | | | Converted bootloader.cpp to TWRP and removed AOSP fstab parsing from startup
* Add progress bar support to backup and restoreDees_Troy2012-09-211-2/+2
|
* Add android_secure supportDees_Troy2012-09-211-1/+6
|
* Add and improve OpenRecoveryScript supportDees_Troy2012-09-201-0/+1
| | | | | Improve zip finding in ORS engine Add support for restoring with just a backup name
* Cleanup extra-functionsDees_Troy2012-09-181-0/+4
|
* Improve backup and restoreDees_Troy2012-09-181-0/+1
| | | | Add in archive splitting support
* Update backup and restore code, adb sideloadDees_Troy2012-09-171-3/+6
| | | | | | | Fixed a problem with using make_ext4fs by making its lib a dynamic lib. Added ADB sideload zip install feature - no way to cancel it yet. Improve backup and restore code.
* Add wipe functions, compiles in CM7, text shows in UI, zips installDees_Troy2012-09-141-4/+14
| | | | | | | | Zip install works, had to move mincrypt code into TWRP to prevent a crash when checking the zip signature. Added wipe functions Made it compile in CM7 Made text show up in console and logging
* More Partition Manager functionalityDees_Troy2012-09-101-0/+1
|
* Improve storage size code, mount, unmountDees_Troy2012-09-101-3/+9
| | | | Add flag parsing from recovery.fstab
* Add processing of fstab, mounting, and decryptDees_Troy2012-09-071-34/+55
|
* TWRP-ify AOSP codeDees_Troy2012-09-051-32/+34
| | | | | | | Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere
* Initial stub of partitions.hppDees_Troy2012-09-041-0/+141