summaryrefslogtreecommitdiffstats
path: root/partition.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2019-06-24Backup_Tar(): Properly localise string instead of using English.Ian Macdonald1-1/+1
2019-05-15Resolve e2fsdroid failure in certain casesdianlujitao1-7/+13
2019-04-22Pass file_contexts path to e2fsdroiddianlujitao1-1/+1
2019-04-04fix build error in 9.0 with TW_NO_EXFAT_FUSE:=trueMartin Dünkelmann1-1/+1
2019-04-03Fix build in 5.1 treeDees Troy1-1/+5
2019-03-22Support both old and new mkfs.f2fsEthan Yonker1-8/+36
2019-03-21Fix the long broken format functiondianlujitao1-118/+171
2019-03-20Update FDE decrypt to pie from CAFEthan Yonker1-7/+8
2019-02-05partition: add squashfs supportErfan Abdi1-0/+1
2019-01-17Fix Check_Lifetime_Writes on AB devicesEthan Yonker1-1/+3
2019-01-17Add metadata decrypt support for FBEEthan Yonker1-83/+119
2018-08-31Fix header file for property_getEthan Yonker1-4/+1
2018-08-31Decrypt FBE on 9.0 (backwards compatible)Ethan Yonker1-0/+20
2018-08-24twrp: use ANDROID_ROOT environment variableCaptain Throwback1-3/+3
2018-05-25ADB Backup: fix md5 check on restore.bigbiff bigbiff1-1/+2
2018-01-17Use /persist as Qualcomm time fix source during early bootnkk711-0/+12
2017-11-28FBE for Pixel 2Ethan Yonker1-1/+8
2017-11-28Support v2 fstab formatEthan Yonker1-55/+296
2017-11-27ADB Backup: add ability for TWRP GUI to restorebigbiff bigbiff1-1/+1
2017-06-17Fix incorrect 'unlink' return value checknkk711-1/+1
2017-06-17twrpDigest refactorbigbiff bigbiff1-46/+1
2017-05-01Adopted Storage: backup keys but do not wipe themEthan Yonker1-1/+1
2017-04-23ADB Backup: fix adb restore issuesbigbiff bigbiff1-0/+8
2017-02-23Do not unconditionally remove MTP storage on unmountMatt Mower1-1/+1
2017-02-08Improve backup display names with emulated storageEthan Yonker1-1/+2
2017-01-18Add missing file descriptor closesMatt Mower1-0/+1
2017-01-18SELinux can be assumed for Android 4.4+Matt Mower1-6/+4
2017-01-18Restore file system type logline on restoreMatt Mower1-0/+1
2017-01-18Unused variable cleanupMatt Mower1-10/+0
2017-01-18Very minor code cleanupMatt Mower1-3/+3
2017-01-18Whitespace cleanupMatt Mower1-1/+1
2017-01-18ADBbackups: Fix wrong owner on binary backups.nailyk1-0/+6
2016-12-13Support backup/restore of FBE policiesEthan Yonker1-15/+10
2016-12-13Support File Based EncryptionEthan Yonker1-3/+59
2016-12-13Add boot slot supportEthan Yonker1-17/+29
2016-11-30Improve backup & wipe exclusion handlingEthan Yonker1-8/+14
2016-11-30Check if mount point is dir during startupEthan Yonker1-0/+2
2016-11-30MD5 verification sanityJames Christopher Adduono1-31/+27
2016-11-30Fix image flashingEthan Yonker1-8/+5
2016-09-13Clean up PartitionSettingsEthan Yonker1-19/+22
2016-08-31MD5 checking: fix issues introduced with adb backup patchsetbigbiff bigbiff1-3/+3
2016-08-22wait for cryptfs device node to come upKjell Braden1-5/+6
2016-08-01ADB: Add adb backup for TWRP.bigbiff1-101/+168
2016-05-03Wait to mount until after fstab processedMatt Mower1-52/+78
2016-05-03Remove char/string conversions in fstab processingMatt Mower1-7/+7
2016-05-03Rewrite FS fstab flag processingMatt Mower1-25/+28
2016-05-03Rewrite TWRP fstab flag processingMatt Mower1-162/+258
2016-04-28Partition: Fix parsing of several twrp fstab flagsGordon Freeman1-10/+15
2016-03-31Improve progress bar handling for backup / restore / image flashEthan Yonker1-91/+140
2016-03-31DataManager UpdatesEthan Yonker1-1/+0
2016-03-29Allow restoring to read-only file systemJames Christopher Adduono1-1/+39
2016-03-17Change to dd for wiping crypto partitionsEthan Yonker1-2/+6
2016-02-18Fix adopted storage when andsec flag is presentEthan Yonker1-0/+11
2016-02-05partitions: Mount storage for MTP after wipeMatt Mower1-3/+3
2016-02-03allow flashing sparse imagesHashBang1-3/+21
2016-01-29partition.cpp: fix build, add missing includethat1-0/+1
2016-01-29Replace fix permissions with fix contexts for emulated storageEthan Yonker1-1/+0
2016-01-29Reduce format f2fs timeGreg Wallace1-1/+1
2016-01-25Adopted Storage supportEthan Yonker1-36/+201
2016-01-22Fix a bunch of messagesMatt Mower1-5/+5
2016-01-14Improve sdcard partitioning processEthan Yonker1-16/+2
2016-01-04gui: Fix partition repair messageGreg Wallace1-5/+5
2016-01-04gui: Fix typo of formatting_using messageGreg Wallace1-8/+8
2016-01-04ntfs-3g: Fix cm-13 compatibilityGreg Wallace1-21/+39
2015-12-19Use ioctl to get block device sizeEthan Yonker1-15/+29
2015-12-19Multiple Language SupportEthan Yonker1-92/+96
2015-11-26Fix broken fsflags supportKetut Putu Kumajaya1-1/+1
2015-11-26Update dosfstoolsMatt Mower1-8/+8
2015-11-12Free some memory allocationsMatt Mower1-0/+1
2015-11-05Treat /vendor like /system for read onlyEthan Yonker1-0/+10
2015-10-25Fix a bunch of warningsEthan Yonker1-1/+0
2015-08-09Wipe crypto key when formatting dataEthan Yonker1-0/+42
2015-07-14Add ntfs-3g supportEthan Yonker1-0/+60
2015-06-18fix settingsstorage markXuefer1-0/+1
2015-06-17partition: recreate tw_internal_path(/data/media/0), after wipe media from data or format /data.xiaolu1-5/+12
2015-05-28Add resize2fs and ability to run resize2fs via GUIEthan Yonker1-2/+75
2015-05-27Mount system as read-only by defaultEthan Yonker1-4/+52
2015-05-19partition: support texfat modulethat1-1/+9
2015-05-19Backup: fix 'out of memory' issue when backing up large partition as imagecodelover1-6/+15
2015-05-15Support Qualcomm hardware decryptDees Troy1-0/+1
2015-03-19Fix TWRP not mounting /data/media type storage if built with toolbox utilscodelover1-1/+1
2015-03-13Add UI for entering pattern for device decryptionVojtech Bocek1-0/+1
2015-03-05Address a few compiler warningsMatt Mower1-1/+1
2015-02-02Allow wiping f2fs to reserve space for a crypto footerdhacker291-1/+12
2015-01-27Add cancel backup capability.bigbiff1-5/+6
2015-01-09Fix restore of images for mtd and bml nandEthan Yonker1-3/+1
2015-01-09Allow flashing of images via the GUIEthan Yonker1-44/+79
2015-01-05Update blkid to 2.25.0bigbiff1-1/+2
2014-12-22Fix else if and maxFileSize initializer.bigbiff1-13/+12
2014-12-22fixPermissions: simplify code, fix bugsthat1-7/+6
2014-12-21Allow non datamedia devices to wipe encryptionEthan Yonker1-0/+10
2014-12-19MTP add/remove storage instead of disabling MTPEthan Yonker1-12/+14
2014-12-12Attempt to set the proper uid/gid/contexts on new files and dirsEthan Yonker1-0/+3
2014-12-09Fix png graphics load / display on AArch64Ethan Yonker1-1/+1
2014-12-04add function to partition.cpp to return max file size to mtp responderbigbiff1-0/+25
2014-12-04Reduce libs needed for decrypt and clean up old decypt filesEthan Yonker1-77/+16
2014-11-18Tweak 5.0 L decryptEthan Yonker1-15/+0
2014-11-12Add lollipop decrypt supportEthan Yonker1-1/+18
2014-11-04fix some compiler warningsthat1-3/+3
2014-10-20Do not set contexts during a factory resetEthan Yonker1-6/+2
2014-10-14Fix wiping crash when block device is not presentEthan Yonker1-0/+5
2014-10-08mtp: cleanup, fixes and performance improvementsthat1-13/+3
2014-10-08Attempt to fix md5 issue with backupsCaptain Throwback1-0/+2
2014-09-20Attempt to automatically identify data/media devicesEthan Yonker1-27/+35
2014-09-03add mtp responder to TWRP.bigbiff bigbiff1-6/+28
2014-07-09Track backup and restore progressEthan Yonker1-22/+82
2014-06-13Do not restore file system on data/media devicesEthan Yonker1-3/+17
2014-06-04Whitespace and minor code cleanupMatt Mower1-4/+4
2014-06-04Add options to repair or change file systemEthan Yonker1-1/+95
2014-04-16Support alternative .android_secure locationMatt Mower1-0/+2
2014-04-04Allow building of an OEM friendly TWRPEthan Yonker1-0/+7
2014-04-03Stop printing Unable to mount to console if storage is removable. We will still print tobigbiff bigbiff1-1/+1
2014-03-31Remove deprecated tar exclude functionalityMatt Mower1-5/+1
2014-03-30Fix /data backup size if contains media subdirsMatt Mower1-2/+0
2014-03-10Check to ensure that selinux_handle is populated before usingDees Troy1-1/+1
2014-02-28Restore capabilities to run-as binaryDees Troy1-2/+29
2014-02-26Check crypto footer before offering to decryptEthan Yonker1-8/+40
2014-02-25Remove unneeded loggingEthan Yonker1-1/+0
2014-02-10Move DataManager functions out of twrpTar.cppEthan Yonker1-31/+15
2014-02-09Fix ext4 wiping when no SELinux contexts are definedEthan Yonker1-3/+12
2014-02-07Additional mount function call without mount optionsDees Troy1-1/+1
2014-02-07Restore contexts when doing mkdierhier in libtarbigbiff bigbiff1-0/+15
2014-02-05Fix error message on split backupsEthan Yonker1-6/+0
2014-02-03Improve android secure handlingEthan Yonker1-12/+1
2014-02-03Refactor twrpTar to use TarListDees Troy1-28/+11
2014-02-03Clear the relative directory before passing on to twrpTar with the static du object. Otherwise we will not backup /system/media etcbigbiff bigbiff1-2/+4
2014-02-03Add option to set flag for storage=0Ethan Yonker1-2/+14
2014-02-03ifdef some file system options that are not available in older treesDees Troy1-0/+8
2013-12-19Create a TWRP Disk Usage Class to retain state about a directory and whether we should skip it in other classes like twrpTar.bigbiff bigbiff1-14/+14
2013-12-19add support for fsflags= option in twrp.fstab fileHashcode1-2/+70
2013-10-24Update licenses to all matchDees Troy1-21/+17
2013-10-24Fix spelling errorDees Troy1-2/+2
2013-10-23fix getting and setting contexts in selinuxbigbiff bigbiff1-0/+9
2013-10-22Update licenses to all matchDees Troy1-21/+17
2013-10-18Fix spelling errorDees Troy1-2/+2
2013-10-17fix getting and setting contexts in selinuxbigbiff bigbiff1-0/+9
2013-09-12Add TWFunc::Exec_Cmd() with no 'result' agrumentVojtech Bocek1-24/+22
2013-09-06Add more args to make_ext4fs commandDees_Troy1-1/+4
2013-08-30Initialize TWPartition::User_Rm_Rf to false in constructorVojtech Bocek1-0/+1
2013-08-30implement "usermrf" fstab flag to force rm -rf * deletion on specific partitionsHashcode1-1/+3
2013-08-30Better compatibility by fixing up ext4 & selinux flagsDees_Troy1-5/+1
2013-08-29Initial f2fs supportDees_Troy1-0/+29
2013-08-28skip checking size on linksbigbiff bigbiff1-0/+2
2013-08-24Unify indentation and little clean-up in TWRP filesVojtech Bocek1-25/+25
2013-08-24Add SELinux supportDees_Troy1-1/+19
2013-08-23Fix AOSP decrypt when TouchWiz code is presentDees_Troy1-1/+3
2013-07-01Properly free blkid_probe in TWPartition::Check_FS_Type()Vojtech Bocek1-1/+3
2013-07-01Fix MTD MountingDees_Troy1-15/+36
2013-07-01Fix some issues with wipe partition listDees_Troy1-1/+4
2013-06-22Support encrypted backup filesDees_Troy1-18/+49
2013-04-08Improve backup list resultsDees_Troy1-1/+0
2013-04-08Improve automated handlidling of partitionsDees_Troy1-3/+5
2013-04-04Move all AOSP code out of recovery binaryDees_Troy1-120/+120
2013-03-30Add partition list GUI elementDees_Troy1-22/+101
2013-03-17trying to fix md5bigbiff bigbiff1-3/+19
2013-03-07use md5.c for computation of md5sumsbigbiff bigbiff1-3/+7
2013-02-25use libblkid to get filesystem typebigbiff bigbiff1-58/+14
2013-02-19Add MTK6575/6577 EMMC partitions backup supportigoriok1-3/+29
2013-02-18change libtar to fork instead of pthreadbigbiff bigbiff1-5/+5
2013-02-07Add write buffer for tar writesDees_Troy1-1/+1
2013-02-01Fix fail over to vfat from exfatDees_Troy1-33/+60
2013-01-28exFAT improvements, fixesDees_Troy1-3/+11
2013-01-28Fix subpartitionof flagDees_Troy1-1/+1
2013-01-24change tar create to pthreadbigbiff bigbiff1-8/+18
2013-01-20Remove sockets and FIFOS when removing filesbigbiff bigbiff1-1/+1
2013-01-18Fix handling of blkid outputDees_Troy1-15/+14
2013-01-17Save version to cacheDees_Troy1-0/+3
2013-01-17ORS engine fixesDees_Troy1-1/+3
2013-01-15Add flag for retaining layout versionDees_Troy1-38/+50
2013-01-14Check to ensure that external is encryptedDees_Troy1-1/+3
2013-01-10More Samsung sdcard crypto fixesDees_Troy1-1/+14
2013-01-09Fix wiping problems and save ecrypt keyDees_Troy1-2/+30
2013-01-09Improve remounting sdcard with ecryptfsDees_Troy1-2/+20
2013-01-09Add libtar to TWRP instead of using busybox tarbigbiff bigbiff1-131/+130
2012-12-21Improve handling of undecrypted encrypted /dataGary Peck1-4/+15
2012-12-21Reset partition flags when the partition is wipedGary Peck1-21/+34
2012-12-18check backup image size before restoringGary Peck1-1/+14
2012-12-18Fix handling of MTD partitions during mountDees_Troy1-1/+19
2012-12-12Add ignore blkid flag for TransformersDees_Troy1-2/+6
2012-12-12Restore text display during restoreDees_Troy1-0/+2
2012-11-22restore based on backup type, not destination typeGary Peck1-40/+49
2012-11-15Fixes for multi-user in 4.2Dees_Troy1-9/+17
2012-11-14add exfat to partitions.cppbigbiff bigbiff1-0/+1
2012-10-16Initial BML support (ext4 only)Dees_Troy1-4/+11
2012-10-14Handle storage devices that are slow to mountDees_Troy1-0/+15
2012-10-13Remove unneeded duplicate codeDees_Troy1-41/+0
2012-10-13Track whether a partition is mounted during refresh sizesDees_Troy1-5/+18
2012-10-12Change backup size check for ddDees_Troy1-2/+2
2012-10-12Fix restore of multiple archivesDees_Troy1-1/+1
2012-10-08Fix derp with alternate storageDees_Troy1-1/+1
2012-10-01Fix error message on encrypted devicesDees_Troy1-1/+8
2012-09-28Revert busybox for CM7 compatibility, add exclamation point to format dataDees_Troy1-3/+5
2012-09-27Update sdcard partitioning to C++Dees_Troy1-9/+1
2012-09-27Port reboot functions to C++Dees_Troy1-1/+0
2012-09-27Handle mountable boot partitionsDees_Troy1-2/+10
2012-09-26Backup size for special partitions that are imagesDees_Troy1-0/+24
2012-09-26Fix problems with MTD devicesDees_Troy1-7/+2
2012-09-26Add backup size checkingDees_Troy1-7/+20
2012-09-26Convert makelist to C++Dees_Troy1-2/+3
2012-09-26Unify portrait layouts againDees_Troy1-1/+13
2012-09-24Update tablet layouts with ADB sideloadDees_Troy1-0/+1
2012-09-21Fix special partition handlingDees_Troy1-2/+2
2012-09-21Add android_secure supportDees_Troy1-17/+82
2012-09-20Various fixesDees_Troy1-0/+7
2012-09-18Cleanup extra-functionsDees_Troy1-4/+31
2012-09-18Improve backup and restoreDees_Troy1-13/+50
2012-09-17Update backup and restore code, adb sideloadDees_Troy1-88/+178
2012-09-14Add wipe functions, compiles in CM7, text shows in UI, zips installDees_Troy1-98/+353
2012-09-11Zip install works againDees_Troy1-6/+26
2012-09-10More Partition Manager functionalityDees_Troy1-9/+19
2012-09-10Improve storage size code, mount, unmountDees_Troy1-62/+197
2012-09-07Add processing of fstab, mounting, and decryptDees_Troy1-12/+510
2012-09-05TWRP-ify AOSP codeDees_Troy1-0/+193