summaryrefslogtreecommitdiffstats
path: root/partition.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-02-19Add MTK6575/6577 EMMC partitions backup supportigoriok1-3/+29
taken from https://github.com/mrjavum/Team-Win-Recovery-Project/commit/140ff0cde8ad2236caf7bcd480d257d74d8b85bc "sorocean.gor@gmail.com" Change-Id: I1a97160c73c7a0bab0535e938d6b35dc09585037
2013-02-18change libtar to fork instead of pthreadbigbiff bigbiff1-5/+5
Conflicts: twrpTar.cpp
2013-02-07Add write buffer for tar writesDees_Troy1-1/+1
update fuse to 2.9.2 catch return from unlink so that we don't print error messages when things work Change-Id: I1115039a0fa5d9d73f78ef1abd79755d7ffd9d96
2013-02-01Fix fail over to vfat from exfatDees_Troy1-33/+60
Fix issues with MD5 checking using chdir and leaving the working dir in a subfolder that prevented unmounting sometimes. Change-Id: I01a563d722f474297ed3f7a30064c3a61748ade3
2013-01-28exFAT improvements, fixesDees_Troy1-3/+11
Move Exec_Cmd to libcrecovery __popen Provide opt out build flag for exFAT Default fstype to exfat on external storage if exfat support is present and fstype is vfat or auto Fix invalid unmount errors Improve handling of unencrypted sdcards on Samsung devices
2013-01-28Fix subpartitionof flagDees_Troy1-1/+1
2013-01-24change tar create to pthreadbigbiff bigbiff1-8/+18
Change-Id: I5a33d207ec6683de20da37e6f4f174c67785fc52
2013-01-20Remove sockets and FIFOS when removing filesbigbiff bigbiff1-1/+1
2013-01-18Fix handling of blkid outputDees_Troy1-15/+14
Fixed handling of blkid output when the output spans multiple lines and the TYPE field ended up on next line.
2013-01-17Save version to cacheDees_Troy1-0/+3
2013-01-17ORS engine fixesDees_Troy1-1/+3
Fix backup to not error when a non-existant partition is given. Fix restore to run when no partition parameters are given. Ensure that ORS runs after decryption and that zips install. Fix a problem with the fake internal sdcard not mounting to /sdcard on data media devices.
2013-01-15Add flag for retaining layout versionDees_Troy1-38/+50
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.
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
Fix problems with the wiping of data/media devices Save and restore the ecryptfs key for external sdcard on Samsung encrypted devices.
2013-01-09Improve remounting sdcard with ecryptfsDees_Troy1-2/+20
2013-01-09Add libtar to TWRP instead of using busybox tarbigbiff bigbiff1-131/+130
Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function
2012-12-21Improve handling of undecrypted encrypted /dataGary Peck1-4/+15
- Until the encrypted partition is decrypted, treat it as a disk image instead of a filesystem so that it is properly backed up using dd. - Make Partition::Wipe() use the filesystem from fstab for disk images so that wiping an undecrypted /data makes it a plain unencrypted partition again. Change-Id: I78db977d6348cfa66b0cfbc492fb5776f84db48d
2012-12-21Reset partition flags when the partition is wipedGary Peck1-21/+34
Change-Id: I6c4cee5b038fd0c39c8723412dd8f421f7794a00
2012-12-18check backup image size before restoringGary Peck1-1/+14
Change-Id: I206d34936388c1b072eaaec50e0492710cb80f2e
2012-12-18Fix handling of MTD partitions during mountDees_Troy1-1/+19
2012-12-12Add ignore blkid flag for TransformersDees_Troy1-2/+6
Change-Id: I8f2b5b68a8c3ede74858d53002efab997174ee65
2012-12-12Restore text display during restoreDees_Troy1-0/+2
2012-11-22restore based on backup type, not destination typeGary Peck1-40/+49
Change-Id: Ie44958a148d00cadd2ba3c51255f7fd9d8a651e7
2012-11-15Fixes for multi-user in 4.2Dees_Troy1-9/+17
Also fixed inability to delete backups with a space in the name. Change-Id: I2f6639d33caa3c4542960f76adbd59b25ab64f5d
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
and leave it mounted or unmount based on prior mounting status
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
Also improve handling of MTD names
2012-09-26Add backup size checkingDees_Troy1-7/+20
Converted bootloader.cpp to TWRP and removed AOSP fstab parsing from startup
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
Modify AOSP mount and wipe functions to use Partition Manager. Update wipe code to reset the log file index when wiping cache. Add ADB sideload to 540x960 theme.
2012-09-18Cleanup extra-functionsDees_Troy1-4/+31
2012-09-18Improve backup and restoreDees_Troy1-13/+50
Add in archive splitting support
2012-09-17Update backup and restore code, adb sideloadDees_Troy1-88/+178
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.
2012-09-14Add wipe functions, compiles in CM7, text shows in UI, zips installDees_Troy1-98/+353
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
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
Add flag parsing from recovery.fstab
2012-09-07Add processing of fstab, mounting, and decryptDees_Troy1-12/+510
2012-09-05TWRP-ify AOSP codeDees_Troy1-0/+193
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