dianlujitaoandEthan Yonker 4879b37b5d Fix the long broken format function
* For EXT2/3:
   * Align mke2fs options with Android 9.0 fs_mgr_format.cpp.
 * For EXT4:
   * Note that make_ext4fs is still in use on Android 8.1 to workaround
     a FDE encryption bug even though mke2fs has become the default
     choice. The bug is fixed in Android 9.0+.
 * For F2FS:
   * Drop the broken "-r" option, it's never ported to O, explicitly
     pass number of sectors instead.
   * Keep all options aligned with Pie fs_mgr.
   * Check existence before start wiping, as Wipe_EXT4 does.
 * For all:
   * Calculate block size at runtime, and reserve the space specified
     via negative "length" option from fstab. Note that positive length
     will be ignored.
   * If the partition has crypto footer, and "length" is not specified
     in fstab, automatically reverse CRYPT_FOOTER_OFFSET (16384).
   * Remove the default crypto key location: footer, this is a bad
     assumption since most partitions don't use encryption! We need to
     know the real situation to decide whether to reserve crypto footer
     on format.
   * If the current action is "wipe" or "change filesystem", wipe crypto
     footer or block device after mkfs if the partition is
     unencrypted or undecrypted (e.g., wrong password).
   * If the current action is "format data", unconditionally wipe crypto
     footer or block device.

Change-Id: I7304a8ee703131ea4a08ab7c60334af28cac28b3
2019-03-21 16:15:52 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2017-10-11 16:56:12 -07:00
2019-03-20 15:33:48 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2017-01-18 13:04:35 -06:00
2018-08-24 11:17:39 -05:00
2019-03-19 18:05:40 +01:00
2015-06-20 15:57:56 -05:00
2018-08-24 11:17:39 -05:00
2014-11-12 11:03:50 -06:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2017-05-10 16:11:35 -05:00
2019-03-19 11:40:28 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2019-03-20 14:28:21 -05:00
2018-08-24 11:17:39 -05:00
2017-06-05 11:32:23 +02:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2013-09-17 20:06:14 +00:00
2015-11-05 20:58:39 +02:00
2016-02-03 16:05:56 -06:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2017-06-17 07:05:45 -05:00
2018-08-24 11:17:39 -05:00
2017-09-08 07:14:59 -05:00
2014-11-04 15:34:19 +01:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2019-03-21 16:15:52 -05:00
2014-04-25 15:47:34 -07:00
2018-08-24 11:17:39 -05:00
2019-03-20 10:57:07 -05:00
2017-01-18 17:41:17 +01:00
2015-12-19 08:31:01 -06:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2016-03-31 15:43:53 +01:00
2016-03-31 15:43:53 +01:00
2018-08-24 11:17:39 -05:00
2017-09-08 07:14:59 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2012-09-05 15:24:31 -04:00
2017-04-16 15:53:47 -07:00
2017-09-08 07:14:59 -05:00
2016-03-17 16:00:20 -05:00
2017-10-12 10:45:04 -07:00
2012-09-05 15:24:31 -04:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2017-10-05 12:02:13 -07:00
2017-10-05 12:02:13 -07:00
2017-10-11 16:56:12 -07:00
2015-01-27 15:07:19 +01:00
2015-01-27 15:07:19 +01:00
2017-01-18 20:02:43 +01:00
2017-09-08 07:14:59 -05:00
2017-09-08 07:14:59 -05:00
2017-09-08 07:14:59 -05:00
2019-03-20 10:57:07 -05:00
2017-11-28 00:20:51 +01:00
2017-06-17 07:05:45 -05:00
2017-01-18 17:41:17 +01:00
2018-08-24 11:17:39 -05:00
2019-03-20 10:57:07 -05:00
2017-09-08 07:14:59 -05:00
2017-07-06 21:53:00 +00:00
2017-10-11 16:56:12 -07:00
2017-10-05 12:02:13 -07:00
2017-10-11 16:56:12 -07:00
2017-09-08 07:14:59 -05:00
2017-09-08 07:14:59 -05:00

Team Win Recovery Project (TWRP)

You can find a compiling guide here.

S
Description
No description provided
Readme
102 MiB
Languages
C++ 50.2%
C 43.6%
Makefile 1.9%
Java 1.8%
Roff 1%
Other 1.4%