c40049baae4bf58e201a1f8f8bb715c4eee2c45b |
|
24-Jul-2012 |
Joe Onorato <joeo@google.com> |
Support for multiple modules with the same name is going away. Change-Id: I4e94b8b9cc7c88e07e8a09abc26a3e7d495ac5be
/system/extras/ext4_utils/Android.mk
|
3f1eb9962d18db7ea23fdc5d3b0b52707fb53b06 |
|
22-Jul-2012 |
Joe Onorato <joeo@google.com> |
Support for multiple modules with the same name is going away. Change-Id: Iae48d4890aa7266ca7b57b3b9a8712d2d33d4909
/system/extras/ext4_utils/Android.mk
|
983ce5738cee0bf78b87d6274fe1387129768302 |
|
18-Jul-2012 |
Nick Kralevich <nnk@google.com> |
Merge "Fix SELinux labeling for system.img"
|
4d070140c0306790d2c2278b43eea734186819eb |
|
20-May-2012 |
Colin Cross <ccross@android.com> |
system/extras/ext4_utils: move libsparse to system/core Delete libsparse from ext4_utils, move it to system/core/libsparse in preparation for linking tools in system/core against it. Change-Id: I3545c2e0ad7122f99bbc998ab0e85ca1e65d5add
/system/extras/ext4_utils/Android.mk
|
dc5abeee1e6fc4827ee0d5ece12aaed2dd56f4c7 |
|
24-Apr-2012 |
Colin Cross <ccross@android.com> |
Refactor sparse file support into libsparse Minimal refactoring of output_file.c into libsparse in preparation for completely separating libsparse from ext4_utils. Moves output_file.c, backed_block.c, and parts of ext4_utils.c into libsparse. The only changes to the remanining files in ext4_utils are using the new sparse.h header, and moving the wipe call out of output_file.c and into make_ext4fs.c. Change-Id: I1f66f6c3e05230a350023c5b4ea4422f16a73c4b
/system/extras/ext4_utils/Android.mk
|
0b766cda9c192f999a4e420ec950b0ae9c14af01 |
|
11-Jul-2012 |
rpcraig <rpcraig@tycho.ncsc.mil> |
Fix SELinux labeling for system.img The system partition isn't getting labeled during the build. This patch corrects that. Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil> Change-Id: I2695c60232935da272ac194fb9ece016c84b4593
/system/extras/ext4_utils/Android.mk
|
78c43b51a4d052fda6648024c60eaf5bc67dfc5d |
|
08-Apr-2012 |
Kenny Root <kroot@google.com> |
Fix SELinux building A bad merge and some new features caused SELinux not to build on top-of-tree master. Some changes the Makefile restore its ability to build. Change-Id: Id60b89538beff33f1d8b436b5b7854d3eaa00069
/system/extras/ext4_utils/Android.mk
|
2e5c52322d54d0f98d36b499fcaa31a0e84ca87c |
|
31-Mar-2012 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 8f9b41d9 to master Change-Id: I9af02b9bba1176174540c849f905dece8ade54d8
|
b4eca4b24af9c80ebb2a7fa2ba539a48096b7576 |
|
13-Jan-2012 |
Stephen Smalley <sds@tycho.nsa.gov> |
Extend make_ext4fs to support setting SELinux security contexts in ext4 images. Extend make_ext4fs with support for looking up the right security context from the file_contexts configuration and setting it in the generated image. This is similar to the existing support for looking up the UID/GID/mode via android_filesystem_config.h and setting it, but via configuration rather than defined in a header. Change-Id: Ief9c44eeaaca4a44100a384b063f40b185469be3
/system/extras/ext4_utils/Android.mk
|
879d01e18825e09c1196cc5bdeb6cbfddd92571a |
|
17-Feb-2012 |
Scott Anderson <saa@android.com> |
Merge "img2simg: Drop using endian.h"
|
c2cb533c3917dce44eb7e1b420b5f76c8f7e1d7b |
|
17-Feb-2012 |
Scott Anderson <saa@android.com> |
img2simg: Drop using endian.h All our hosts are currently little-endian, so drop using endian.h in favor of being able to build and run on all hosts. Change-Id: Iea86cf9387940448c9c6d356c7e16acc871d5467 Signed-off-by: Scott Anderson <saa@android.com>
/system/extras/ext4_utils/Android.mk
|
7e2590a9f7cadd7f717928425420a713a7aa795e |
|
16-Feb-2012 |
Scott Anderson <saa@android.com> |
ext4_utils: simg2img: Add LOCAL_MODULE_TAGS in Android.mk 1) simg2img was being installed on the device. For the BUILD_EXECUTABLE add an "optional" tag (instead of the implied default of "user") so this does not happen. 2) In preparation of removing simg2img from user_tags.mk, add a "debug" tag to the BUILD_HOST_EXECUTABLE so it will be put in the host bin subdirectory for eng and userdebug builds. Change-Id: Ib8407e366b8154772e3b78cabb09655851ce77de Signed-off-by: Scott Anderson <saa@android.com>
/system/extras/ext4_utils/Android.mk
|
4605b3fb8a00fa37f617a8d0fe3a095d0503a845 |
|
04-Feb-2012 |
Raphael Moll <raphael@google.com> |
Adapt ext4_utils for windows. This is not a full port of ext4_utils for windows. Instead it merely enables use to use the library for the 'create an empty fs image' functionality as used by 'fastboot format'. Change-Id: Ia1ffacd64e4233c4fbb369c4ac5927ccd72ac526
/system/extras/ext4_utils/Android.mk
|
3ee934fecdf8148ed5ea499932aedcca7530830c |
|
16-Feb-2012 |
Scott Anderson <saa@android.com> |
Merge "Broke the build. Revert "ext4_utils: Fix LOCAL_MODULE_TAGS on img2simg and simg2img""
|
af9259c242de243bda0fb662ea0ab0f544ebb22a |
|
16-Feb-2012 |
Scott Anderson <saa@android.com> |
Broke the build. Revert "ext4_utils: Fix LOCAL_MODULE_TAGS on img2simg and simg2img" This reverts commit eec2bb9fda7772d8927603a29ca0880b8b10a8ed
/system/extras/ext4_utils/Android.mk
|
89d1c622c464f2cc9843f9d36d4879fe16e99c86 |
|
16-Feb-2012 |
Scott Anderson <saa@android.com> |
Merge "ext4_utils: Fix LOCAL_MODULE_TAGS on img2simg and simg2img"
|
eec2bb9fda7772d8927603a29ca0880b8b10a8ed |
|
16-Feb-2012 |
Scott Anderson <saa@android.com> |
ext4_utils: Fix LOCAL_MODULE_TAGS on img2simg and simg2img There were a few problems with the LOCAL_MODULE_TAGS here: 1) simg2img was being installed on the device. Add an "optional" tag for the BUILD_EXECUTABLE from the implied default of user so this does not happen. 2) In preparation of removing simg2img from user_tags.mk, add a "debug" tag to the BUILD_HOST_EXECUTABLE so it will be put in the host bin subdirectory for eng and userdebug builds. 3) img2simg was not being put into the host bin subdirectory by default. By changing the TAG from optional to debug, it is now put there for eng and userdebug builds. Change-Id: I3182781e78ffde2208644660d33b7eb068147561 Signed-off-by: Scott Anderson <saa@android.com>
/system/extras/ext4_utils/Android.mk
|
523775a11c5a41fb13ae26591dbd1c5ca7b62db3 |
|
09-Feb-2012 |
Scott Anderson <saa@android.com> |
Add simg_dump.py python script to dump sparse image information Change-Id: I97c1aec040b46c36bde82f7726a6d35b28ac6733 Signed-off-by: Scott Anderson <saa@android.com>
/system/extras/ext4_utils/Android.mk
|
3abb047eff3af8cfbdbf27a9433a250507541523 |
|
07-Feb-2012 |
Scott Anderson <saa@android.com> |
Add img2simg tool that splits a large image into <n> sparse files img2simg can take a large binary and chop it into multiple sparse images. Each sparse image that is output has two chunks: a Don't Care chunk to offset to where the data should be placed, and a Raw chunk that actually contains the data to be placed there. So, for example, if you have a 12 GB random file that you want to place into userdata for testing e-MMC, you can run img2simg on it to chop it into multiple sparse files and then "fastboot flash userdata" on each of the sparse files. Usage: img2simg [OPTIONS] <raw_image_file> The <raw_image_file> will be split into as many sparse files as needed. Each sparse file will contain a single DONT CARE chunk to offset to the correct block and then a single RAW chunk containing a portion of the data from the raw image file. The sparse files will be named by appending a number to the name of the raw image file. OPTIONS (Defaults are enclosed by square brackets): -s SUFFIX Format appended number with SUFFIX [%03d] -B SIZE Use a block size of SIZE [4K] -C SIZE Use a chunk size of SIZE [64M] SIZE is a decimal integer that may optionally be followed by a suffix that specifies a multiplier for the integer: c 1 byte (the default when omitted) w 2 bytes b 512 bytes kB 1000 bytes K 1024 bytes MB 1000*1000 bytes M 1024*1024 bytes GB 1000*1000*1000 bytes G 1024*1024*1024 bytes Change-Id: I5593be1c195e04d83c99454e996763b841951dd7 Signed-off-by: Scott Anderson <saa@android.com>
/system/extras/ext4_utils/Android.mk
|
0e8e470eb59955cf3a4b3afa407b5fd1f7f39f10 |
|
08-Feb-2012 |
Scott Anderson <saa@android.com> |
Revert "Add img2simg tool that splits a large image into <n> sparse files" This reverts commit dba7d246a20d14663c2e90b2fa9051894e3c7e1b Broke the build: system/extras/ext4_utils/img2simg.c:23:20: error: endian.h: No such file or directory system/extras/ext4_utils/img2simg.c: In function ‘main’: system/extras/ext4_utils/img2simg.c:262: warning: implicit declaration of function ‘htole32’ system/extras/ext4_utils/img2simg.c:263: warning: implicit declaration of function ‘htole16’ make: * [out/host/darwin-x86/obj/EXECUTABLES/img2simg_intermediates/img2simg.o] Error 1
/system/extras/ext4_utils/Android.mk
|
dba7d246a20d14663c2e90b2fa9051894e3c7e1b |
|
07-Feb-2012 |
Scott Anderson <saa@android.com> |
Add img2simg tool that splits a large image into <n> sparse files img2simg can take a large binary and chop it into multiple sparse images. Each sparse image that is output has two chunks: a Don't Care chunk to offset to where the data should be placed, and a Raw chunk that actually contains the data to be placed there. So, for example, if you have a 12 GB random file that you want to place into userdata for testing e-MMC, you can run img2simg on it to chop it into multiple sparse files and then "fastboot flash userdata" on each of the sparse files. Usage: img2simg [OPTIONS] <raw_image_file> The <raw_image_file> will be split into as many sparse files as needed. Each sparse file will contain a single DONT CARE chunk to offset to the correct block and then a single RAW chunk containing a portion of the data from the raw image file. The sparse files will be named by appending a number to the name of the raw image file. OPTIONS (Defaults are enclosed by square brackets): -s SUFFIX Format appended number with SUFFIX [%03d] -B SIZE Use a block size of SIZE [4K] -C SIZE Use a chunk size of SIZE [64M] SIZE is a decimal integer that may optionally be followed by a suffix that specifies a multiplier for the integer: c 1 byte (the default when omitted) w 2 bytes b 512 bytes kB 1000 bytes K 1024 bytes MB 1000*1000 bytes M 1024*1024 bytes GB 1000*1000*1000 bytes G 1024*1024*1024 bytes Change-Id: I6d3ee9deef21dcbc6bc95e2c5b822154705b4e35 Signed-off-by: Scott Anderson <saa@android.com>
/system/extras/ext4_utils/Android.mk
|
920bfb72085c918bf466bbaf274533d69302a9b9 |
|
08-Nov-2011 |
Ying Wang <wangying@google.com> |
Remove libraries from static library module. Static library module does not link any library. There is no host library named libz. Change-Id: I952b2bbda9206fa8c97f3a3c397dcc59a1a42f20
/system/extras/ext4_utils/Android.mk
|
671cd2188e2f224aaeac4955785199f228235719 |
|
10-Jun-2011 |
Ken Sumrall <ksumrall@android.com> |
ext4fixup tool to fix wonky filesystems made by old version of make_ext4fs The filesystems made by make_ext4fs for the Gingerbread and initial Honeycomb releases did not round up the number of inodes/block_group to use all the space available. This worked, but newer kernels have additional code that refuses to write to these filesystems. There is a kernel patch available to fix the problem in the kernel, but this tool was also written to fixup the filesystems to be compliant with the new kernels. Change-Id: I317b02ee2132ce6a0daeb4d1b40ad5ef57a0fb32
/system/extras/ext4_utils/Android.mk
|
337847a149d956ed6d5990f84006f7340475f715 |
|
03-Jun-2011 |
Ken Sumrall <ksumrall@android.com> |
Move the setup_fs program from device/samsung/crespo to ext4_utils. Prime also uses this, so it's no longer crespo specfic. Change-Id: Idd35ee85599717a06902f696a73e5a4bd6522ac6
/system/extras/ext4_utils/Android.mk
|
c72ab98be7288d86980797b4f6295d73de5ca56f |
|
14-Mar-2011 |
Iliyan Malchev <malchev@google.com> |
system/extras: remove LOCAL_PRELINK_MODULE Change-Id: Iafd936bcb30e3fcc18c522a701d567dd744f2fa3 Signed-off-by: Iliyan Malchev <malchev@google.com>
/system/extras/ext4_utils/Android.mk
|
c2470654d4b4db09a7052fc5fa108ac21f1b1948 |
|
27-Jan-2011 |
Colin Cross <ccross@android.com> |
ext4_utils: Add support for wipe option, and wipe by default in recovery Adds a -w option to make_ext4fs, which will attempt to use the BLKSECDISCARD ioctl to erase the partition in order to avoid leaving old data where it could be recovered, and to improve wear levelling after a reformat. Also causes factory reset through recovery to do a wipe. Change-Id: Ibe34bbd84552e526be6bd041024a950806aca6b4
/system/extras/ext4_utils/Android.mk
|
106235b5f4bace8051e4bbb9e40d198c9e066f44 |
|
25-Dec-2010 |
Colin Cross <ccross@android.com> |
ext4_utils: Build simg2img for target Change-Id: I406674de131460394ae8ed1594c186398e28cf9d
/system/extras/ext4_utils/Android.mk
|
a7ed433f2dc0116627a93b18fbb260f0665ca0cb |
|
23-Dec-2010 |
Colin Cross <ccross@android.com> |
ext4_utils: Add ext2simg Change-Id: I6c0d71d737be588d03018efdaed378349caa4f7a
/system/extras/ext4_utils/Android.mk
|
5a6181798de5c2d882c79b27406c330a6fa7da3e |
|
17-Aug-2010 |
Ken Sumrall <ksumrall@android.com> |
Add support for IEEE 802.c stylc CRC32 computation to the sparse image tools Add support for computing the CRC32 of the data when we make a sparse image, and storing that CRC in the header. Also update the simg2img tool that reads sparse images to compute the CRC32 as it writes the image, and check to make sure it matches what's in the header. Change-Id: Iadea3a760f91fa9b1efd22a3580dd1943b1ff52e
/system/extras/ext4_utils/Android.mk
|
75249edab0b22ea9aae9c7278b9f2c196c7d25d4 |
|
14-Aug-2010 |
Ken Sumrall <ksumrall@android.com> |
Add support for sparse ext4 image creation. This adds the -s option to the make_ext4fs tool, which now creates "sparse" filesystem images, which is very useful for the large 32 Gbyte filesystems we are now building. This check-in also fixes make_ext4fs to properly create filesystems larger thatn 4 Gbytes on 64-bit Linux, 32-bit android and Macs. Change-Id: Ie5838492fcf944f5c875481693c0dbd7013deae4
/system/extras/ext4_utils/Android.mk
|
3c977822a4f3023d2717130caca74d0318433f4a |
|
03-Aug-2010 |
Colin Cross <ccross@android.com> |
Add mkuserimg.sh script for the build system Change-Id: I74b41e5d783646b51203423a7deabbdb28b32b7b
/system/extras/ext4_utils/Android.mk
|
263eefd9fb9608432636c903423e43848e69f39d |
|
30-Jun-2010 |
Doug Zongker <dougz@android.com> |
add make_ext4fs to the libext4_utils Move the bulk of make_ext4fs into libext4_utils, leaving a main() that does only option parsing. Add reset functionality so that make_ext4fs() can be called multiple times within a process. Change-Id: Ia09a2385eab32bf3ca9eb9257c4f9df2c85e55be
/system/extras/ext4_utils/Android.mk
|
9b93cf45edfdd7f443fa2eedc4bb97b9b88504bf |
|
29-Jun-2010 |
Colin Cross <ccross@android.com> |
Add static libext4_utils Change-Id: Ic3493fc8d35ee81c9f4c0d471d900a6680997b65
/system/extras/ext4_utils/Android.mk
|
881cca2f88ddcce86483b3ba95546b5641de8c0e |
|
21-Jun-2010 |
Colin Cross <ccross@android.com> |
Split out libext4_utils Change-Id: I12aa52b75607379add2669fddba4cd7dc2bb527f
/system/extras/ext4_utils/Android.mk
|
7a8bee7653c393d8da0e28668cb51d3ccab793e8 |
|
20-Jun-2010 |
Colin Cross <ccross@android.com> |
Add support for writing a gzip compressed image Change-Id: Ica2ff90060f6a4ced2c671084205b58eede66cdf
/system/extras/ext4_utils/Android.mk
|
ec0a2e83dc66d67addeb90e83144187691852a3e |
|
11-Jun-2010 |
Colin Cross <ccross@android.com> |
Initial commit of ext4_utils Change-Id: I911d5b7fd7170ec81d544850717d8e69976e272b
/system/extras/ext4_utils/Android.mk
|