From eb370ee2136037129739cf8fa74f3cd2c2d25ea2 Mon Sep 17 00:00:00 2001 From: ASdev Date: Fri, 7 Nov 2014 01:16:13 +0300 Subject: [PATCH 01/11] Update Makefile --- Makefile | 40 +++------------------------------------- 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/Makefile b/Makefile index cbd234f..1d1c096 100644 --- a/Makefile +++ b/Makefile @@ -41,40 +41,6 @@ SELINUX_HOST= \ libselinux/src/label.c \ libselinux/src/label_file.c \ libselinux/src/label_android_property.c -SELINUX_OBJS= \ - enabled.o \ - load_policy.o \ - avc_internal.o \ - fgetfilecon.o \ - lsetfilecon.o \ - avc.o \ - fsetfilecon.o \ - freecon.o \ - avc_sidtab.o \ - getenforce.o \ - mapping.o \ - booleans.o \ - getfilecon.o \ - callbacks.o \ - get_initial_context.o \ - policyvers.o \ - canonicalize_context.o \ - getpeercon.o \ - procattr.o \ - checkAccess.o \ - setenforce.o \ - check_context.o \ - init.o \ - setfilecon.o \ - compute_av.o \ - label_android_property.o \ - compute_create.o \ - label_file.o \ - stringrep.o \ - context.o \ - label.o \ - disable.o \ - lgetfilecon.o ZLIB_SRCS= \ zlib/src/adler32.c \ zlib/src/compress.c \ @@ -132,7 +98,7 @@ all: \ libselinux: @$(ECHO) "Building libselinux..." @$(CC) -c $(SELINUX_SRCS) $(CFLAGS) $(SELINUX_HOST) - @$(AR) cqs $@.a $(SELINUX_OBJS) + @$(AR) cqs $@.a *.o @$(RM) -rfv *.o @$(ECHO) "*******************************************" @@ -209,7 +175,7 @@ sgs4ext4fs: clean: @$(ECHO) "Cleaning..." - @$(RM) -rfv *.o *.a *.sh \ + @$(RM) -rfv *.o *.a \ libmincrypt \ mkbootimg \ mkbootfs \ @@ -228,7 +194,7 @@ clean: clear: @$(ECHO) "Clearing..." - @$(RM) -rfv *.o *.a + @$(RM) -rfv *.o *.a *.sh @$(RM) -drfv \ core \ extras \ From f740082dc9f1a3d6adfd3e0c2db73cd554a9bcdd Mon Sep 17 00:00:00 2001 From: ASdev Date: Tue, 2 Jun 2015 22:52:52 +0300 Subject: [PATCH 02/11] permissions --- configure | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 configure diff --git a/configure b/configure old mode 100644 new mode 100755 From acae55ccd89ed70c9bab798003e9bd9972ea430a Mon Sep 17 00:00:00 2001 From: ASdev Date: Fri, 13 Nov 2015 22:54:41 +0300 Subject: [PATCH 03/11] Update configure --- configure | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/configure b/configure index 45eba55..52597b5 100755 --- a/configure +++ b/configure @@ -5,7 +5,8 @@ BRANCH= BRANCH_EXT= FILE=extras/ext4_utils/make_ext4fs.c -FILE1=extras/ext4_utils/mkuserimg.sh +FILE1=extras/ext4_utils/make_ext4fs_def.c +FILE2=extras/ext4_utils/mkuserimg.sh get_src() { git clone $1 @@ -44,13 +45,14 @@ get_src https://github.com/CyanogenMod/android_system_core.git get_src https://github.com/Chainfire/sgs4ext4fs cd .. -edit_text '/^/s:fs_config_func(dentries://fs_config_func(dentries:' $FILE -edit_text '/^/s:mode;:stat.st_mode;:' $FILE -edit_text '/^/s:uid;:stat.st_uid;:' $FILE -edit_text '/^/s:gid;:stat.st_gid;:' $FILE -edit_text '/^/s:root_stat.st_mode;:root_mode;:' $FILE -edit_text '/^/s:MAKE_EXT4FS_CMD="make_ext4fs:MAKE_EXT4FS_CMD="./make_ext4fs:' $FILE1 - cp -fv $FILE1 . + cp -fv $FILE $FILE1 +edit_text '/^/s:fs_config_func(dentries://fs_config_func(dentries:' $FILE1 +edit_text '/^/s:mode;:stat.st_mode;:' $FILE1 +edit_text '/^/s:uid;:stat.st_uid;:' $FILE1 +edit_text '/^/s:gid;:stat.st_gid;:' $FILE1 +edit_text '/^/s:root_stat.st_mode;:root_mode;:' $FILE1 +edit_text '/^/s:MAKE_EXT4FS_CMD="make_ext4fs:MAKE_EXT4FS_CMD="./make_ext4fs:' $FILE2 + cp -fv $FILE2 . echo echo "for android.googlesource.com choosed branch $BRANCH..." From 497387cdeaf551a42f398399df19ffcfea3a80fd Mon Sep 17 00:00:00 2001 From: ASdev Date: Fri, 13 Nov 2015 23:21:05 +0300 Subject: [PATCH 04/11] Update Makefile --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Makefile b/Makefile index 1d1c096..d9e8cce 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,18 @@ EXT4FS_SRCS= \ extras/ext4_utils/sha1.c \ extras/ext4_utils/wipe.c \ extras/ext4_utils/crc16.c +EXT4FS_DEF_SRCS= \ + extras/ext4_utils/make_ext4fs_def.c \ + extras/ext4_utils/ext4fixup.c \ + extras/ext4_utils/ext4_utils.c \ + extras/ext4_utils/allocate.c \ + extras/ext4_utils/contents.c \ + extras/ext4_utils/extent.c \ + extras/ext4_utils/indirect.c \ + extras/ext4_utils/uuid.c \ + extras/ext4_utils/sha1.c \ + extras/ext4_utils/wipe.c \ + extras/ext4_utils/crc16.c all: \ libselinux \ @@ -89,6 +101,7 @@ all: \ simg2simg \ img2simg \ make_ext4fs \ + make_ext4fs_def \ ext2simg \ unpackbootimg \ sgs4ext4fs @@ -155,6 +168,11 @@ make_ext4fs: @$(CC) -o $@ extras/ext4_utils/make_ext4fs_main.c $(EXT4FS_SRCS) $(CFLAGS) $(LDFLAGS) $(LIBS) $(LIBZ) @$(ECHO) "*******************************************" +make_ext4fs_def: + @$(ECHO) "Building make_ext4fs_def..." + @$(CC) -o $@ $(EXT4FS_MAIN) $(EXT4FS_DEF_SRCS) $(CFLAGS) $(LDFLAGS) $(LIBS) $(LIBZ) + @$(ECHO) "*******************************************" + ext2simg: @$(ECHO) "Building ext2simg..." @$(CC) -o $@ extras/ext4_utils/ext2simg.c $(EXT4FS_SRCS) $(CFLAGS) $(LDFLAGS) $(LIBS) $(LIBZ) @@ -185,6 +203,7 @@ clean: simg2simg \ img2simg \ make_ext4fs \ + make_ext4fs_def \ ext2simg \ sgs4ext4fs From 05fb3335deb3db88335f8927a7e205d191952c18 Mon Sep 17 00:00:00 2001 From: ASdev Date: Sat, 14 Nov 2015 00:23:40 +0300 Subject: [PATCH 05/11] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d9e8cce..8462f5c 100644 --- a/Makefile +++ b/Makefile @@ -170,7 +170,7 @@ make_ext4fs: make_ext4fs_def: @$(ECHO) "Building make_ext4fs_def..." - @$(CC) -o $@ $(EXT4FS_MAIN) $(EXT4FS_DEF_SRCS) $(CFLAGS) $(LDFLAGS) $(LIBS) $(LIBZ) + @$(CC) -o $@ extras/ext4_utils/make_ext4fs_main.c $(EXT4FS_DEF_SRCS) $(CFLAGS) $(LDFLAGS) $(LIBS) $(LIBZ) @$(ECHO) "*******************************************" ext2simg: From 6a2000bd3ae145d67c0b69ef3ed7d08fe8ad60bf Mon Sep 17 00:00:00 2001 From: ASdev Date: Sat, 14 Nov 2015 00:27:39 +0300 Subject: [PATCH 06/11] Update configure --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 52597b5..7123d0d 100755 --- a/configure +++ b/configure @@ -34,6 +34,11 @@ get_src https://android.googlesource.com/platform/external/libselinux cd libselinux checkout cd .. +get_src https://android.googlesource.com/platform/external/pcre + cd pcre + checkout + dist/configure && make + cd .. get_src https://android.googlesource.com/platform/external/zlib cd zlib checkout From 2491e105081ff05579e6c08853a2adc03c186a2d Mon Sep 17 00:00:00 2001 From: ASdev Date: Sat, 14 Nov 2015 00:29:12 +0300 Subject: [PATCH 07/11] Update Makefile --- Makefile | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 8462f5c..52b9183 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ ECHO=echo CFLAGS=-DHOST -Icore/include -Icore/libsparse/include -Icore/libsparse -Ilibselinux/include -Icore/mkbootimg LDFLAGS=-L. LIBS=-lz -LIBZ=-lsparse_host -lselinux +LIBZ=-lsparse_host -lselinux -lpcre SELINUX_SRCS= \ libselinux/src/booleans.c \ libselinux/src/canonicalize_context.c \ @@ -32,7 +32,9 @@ SELINUX_SRCS= \ libselinux/src/avc_internal.c \ libselinux/src/avc_sidtab.c \ libselinux/src/get_initial_context.c \ - libselinux/src/checkAccess.c + libselinux/src/checkAccess.c \ + libselinux/src/sestatus.c \ + libselinux/src/deny_unknown.c SELINUX_HOST= \ libselinux/src/callbacks.c \ libselinux/src/check_context.c \ @@ -76,7 +78,11 @@ EXT4FS_SRCS= \ extras/ext4_utils/uuid.c \ extras/ext4_utils/sha1.c \ extras/ext4_utils/wipe.c \ - extras/ext4_utils/crc16.c + extras/ext4_utils/crc16.c \ + extras/ext4_utils/ext4_sb.c +EXT4FS_MAIN= \ + extras/ext4_utils/make_ext4fs_main.c \ + extras/ext4_utils/canned_fs_config.c EXT4FS_DEF_SRCS= \ extras/ext4_utils/make_ext4fs_def.c \ extras/ext4_utils/ext4fixup.c \ @@ -88,10 +94,12 @@ EXT4FS_DEF_SRCS= \ extras/ext4_utils/uuid.c \ extras/ext4_utils/sha1.c \ extras/ext4_utils/wipe.c \ - extras/ext4_utils/crc16.c + extras/ext4_utils/crc16.c \ + extras/ext4_utils/ext4_sb.c all: \ libselinux \ + libpcre \ libz \ libmincrypt_host \ mkbootimg \ @@ -115,18 +123,24 @@ libselinux: @$(RM) -rfv *.o @$(ECHO) "*******************************************" +libpcre: + @$(ECHO) "Building libpcre..." + @$(AR) cqs $@.a pcre/*.o + @$(RM) -rfv *.o + @$(ECHO) "*******************************************" + libz: @$(ECHO) "Building zlib_host..." @$(CC) -c $(ZLIB_SRCS) $(CFLAGS) @$(AR) cqs $@.a *.o - @$(RM) -rf *.o + @$(RM) -rfv *.o @$(ECHO) "*******************************************" libmincrypt_host: @$(ECHO) "Building libmincrypt_host..." @$(CC) -c $(LIBMINCRYPT_SRCS) $(CFLAGS) @$(AR) cqs $@.a *.o - @$(RM) -rf *.o + @$(RM) -rfv *.o @$(ECHO) "*******************************************" mkbootimg: @@ -165,14 +179,14 @@ img2simg: make_ext4fs: @$(ECHO) "Building make_ext4fs..." - @$(CC) -o $@ extras/ext4_utils/make_ext4fs_main.c $(EXT4FS_SRCS) $(CFLAGS) $(LDFLAGS) $(LIBS) $(LIBZ) + @$(CC) -o $@ $(EXT4FS_MAIN) $(EXT4FS_SRCS) $(CFLAGS) $(LDFLAGS) $(LIBS) $(LIBZ) @$(ECHO) "*******************************************" make_ext4fs_def: @$(ECHO) "Building make_ext4fs_def..." - @$(CC) -o $@ extras/ext4_utils/make_ext4fs_main.c $(EXT4FS_DEF_SRCS) $(CFLAGS) $(LDFLAGS) $(LIBS) $(LIBZ) + @$(CC) -o $@ $(EXT4FS_MAIN) $(EXT4FS_DEF_SRCS) $(CFLAGS) $(LDFLAGS) $(LIBS) $(LIBZ) @$(ECHO) "*******************************************" - + ext2simg: @$(ECHO) "Building ext2simg..." @$(CC) -o $@ extras/ext4_utils/ext2simg.c $(EXT4FS_SRCS) $(CFLAGS) $(LDFLAGS) $(LIBS) $(LIBZ) @@ -219,4 +233,5 @@ clear: extras \ libselinux \ zlib \ - external + external \ + pcre From d1be32c75dd0a90eb44fa13962456e9e05b9feba Mon Sep 17 00:00:00 2001 From: ASdev Date: Sat, 14 Nov 2015 00:40:35 +0300 Subject: [PATCH 08/11] Delete Makefile --- Makefile | 237 ------------------------------------------------------- 1 file changed, 237 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 52b9183..0000000 --- a/Makefile +++ /dev/null @@ -1,237 +0,0 @@ -CC=gcc -I. -DANDROID -AR=ar -RM=rm -ECHO=echo -CFLAGS=-DHOST -Icore/include -Icore/libsparse/include -Icore/libsparse -Ilibselinux/include -Icore/mkbootimg -LDFLAGS=-L. -LIBS=-lz -LIBZ=-lsparse_host -lselinux -lpcre -SELINUX_SRCS= \ - libselinux/src/booleans.c \ - libselinux/src/canonicalize_context.c \ - libselinux/src/disable.c \ - libselinux/src/enabled.c \ - libselinux/src/fgetfilecon.c \ - libselinux/src/fsetfilecon.c \ - libselinux/src/getenforce.c \ - libselinux/src/getfilecon.c \ - libselinux/src/getpeercon.c \ - libselinux/src/lgetfilecon.c \ - libselinux/src/load_policy.c \ - libselinux/src/lsetfilecon.c \ - libselinux/src/policyvers.c \ - libselinux/src/procattr.c \ - libselinux/src/setenforce.c \ - libselinux/src/setfilecon.c \ - libselinux/src/context.c \ - libselinux/src/mapping.c \ - libselinux/src/stringrep.c \ - libselinux/src/compute_create.c \ - libselinux/src/compute_av.c \ - libselinux/src/avc.c \ - libselinux/src/avc_internal.c \ - libselinux/src/avc_sidtab.c \ - libselinux/src/get_initial_context.c \ - libselinux/src/checkAccess.c \ - libselinux/src/sestatus.c \ - libselinux/src/deny_unknown.c -SELINUX_HOST= \ - libselinux/src/callbacks.c \ - libselinux/src/check_context.c \ - libselinux/src/freecon.c \ - libselinux/src/init.c \ - libselinux/src/label.c \ - libselinux/src/label_file.c \ - libselinux/src/label_android_property.c -ZLIB_SRCS= \ - zlib/src/adler32.c \ - zlib/src/compress.c \ - zlib/src/crc32.c \ - zlib/src/deflate.c \ - zlib/src/gzclose.c \ - zlib/src/gzlib.c \ - zlib/src/gzread.c \ - zlib/src/gzwrite.c \ - zlib/src/infback.c \ - zlib/src/inflate.c \ - zlib/src/inftrees.c \ - zlib/src/inffast.c \ - zlib/src/trees.c \ - zlib/src/uncompr.c \ - zlib/src/zutil.c -LIBMINCRYPT_SRCS= core/libmincrypt/*.c -LIBSPARSE_SRCS= \ - core/libsparse/backed_block.c \ - core/libsparse/output_file.c \ - core/libsparse/sparse.c \ - core/libsparse/sparse_crc32.c \ - core/libsparse/sparse_err.c \ - core/libsparse/sparse_read.c -EXT4FS_SRCS= \ - extras/ext4_utils/make_ext4fs.c \ - extras/ext4_utils/ext4fixup.c \ - extras/ext4_utils/ext4_utils.c \ - extras/ext4_utils/allocate.c \ - extras/ext4_utils/contents.c \ - extras/ext4_utils/extent.c \ - extras/ext4_utils/indirect.c \ - extras/ext4_utils/uuid.c \ - extras/ext4_utils/sha1.c \ - extras/ext4_utils/wipe.c \ - extras/ext4_utils/crc16.c \ - extras/ext4_utils/ext4_sb.c -EXT4FS_MAIN= \ - extras/ext4_utils/make_ext4fs_main.c \ - extras/ext4_utils/canned_fs_config.c -EXT4FS_DEF_SRCS= \ - extras/ext4_utils/make_ext4fs_def.c \ - extras/ext4_utils/ext4fixup.c \ - extras/ext4_utils/ext4_utils.c \ - extras/ext4_utils/allocate.c \ - extras/ext4_utils/contents.c \ - extras/ext4_utils/extent.c \ - extras/ext4_utils/indirect.c \ - extras/ext4_utils/uuid.c \ - extras/ext4_utils/sha1.c \ - extras/ext4_utils/wipe.c \ - extras/ext4_utils/crc16.c \ - extras/ext4_utils/ext4_sb.c - -all: \ - libselinux \ - libpcre \ - libz \ - libmincrypt_host \ - mkbootimg \ - mkbootfs \ - libsparse_host \ - simg2img \ - simg2simg \ - img2simg \ - make_ext4fs \ - make_ext4fs_def \ - ext2simg \ - unpackbootimg \ - sgs4ext4fs - -.PHONY: libselinux - -libselinux: - @$(ECHO) "Building libselinux..." - @$(CC) -c $(SELINUX_SRCS) $(CFLAGS) $(SELINUX_HOST) - @$(AR) cqs $@.a *.o - @$(RM) -rfv *.o - @$(ECHO) "*******************************************" - -libpcre: - @$(ECHO) "Building libpcre..." - @$(AR) cqs $@.a pcre/*.o - @$(RM) -rfv *.o - @$(ECHO) "*******************************************" - -libz: - @$(ECHO) "Building zlib_host..." - @$(CC) -c $(ZLIB_SRCS) $(CFLAGS) - @$(AR) cqs $@.a *.o - @$(RM) -rfv *.o - @$(ECHO) "*******************************************" - -libmincrypt_host: - @$(ECHO) "Building libmincrypt_host..." - @$(CC) -c $(LIBMINCRYPT_SRCS) $(CFLAGS) - @$(AR) cqs $@.a *.o - @$(RM) -rfv *.o - @$(ECHO) "*******************************************" - -mkbootimg: - @$(ECHO) "Building mkbootimg..." - @$(CC) core/mkbootimg/mkbootimg.c -o $@ $(CFLAGS) $(LIBS) libmincrypt_host.a - @$(ECHO) "*******************************************" - -mkbootfs: - @$(ECHO) "Building mkbootfs..." - @$(CC) core/cpio/mkbootfs.c -o $@ $(CFLAGS) $(LIBS) - @$(ECHO) "*******************************************" - -libsparse_host: - @$(ECHO) "Building libsparse_host..." - @$(ECHO) "*******************************************" - @$(CC) -c core/libsparse/*.c $(CFLAGS) - @$(AR) -x libz.a - @$(AR) cqs $@.a *.o - @$(RM) -rf *.o - @$(ECHO) "*******************************************" - -simg2img: - @$(ECHO) "Building simg2img..." - @$(CC) core/libsparse/simg2img.c -o $@ $(LIBSPARSE_SRCS) $(CFLAGS) $(LIBS) - @$(ECHO) "*******************************************" - -simg2simg: - @$(ECHO) "Building simg2simg..." - @$(CC) core/libsparse/simg2simg.c -o $@ $(LIBSPARSE_SRCS) $(CFLAGS) $(LIBS) - @$(ECHO) "*******************************************" - -img2simg: - @$(ECHO) "Building img2simg..." - @$(CC) core/libsparse/img2simg.c -o $@ $(LIBSPARSE_SRCS) $(CFLAGS) $(LIBS) - @$(ECHO) "*******************************************" - -make_ext4fs: - @$(ECHO) "Building make_ext4fs..." - @$(CC) -o $@ $(EXT4FS_MAIN) $(EXT4FS_SRCS) $(CFLAGS) $(LDFLAGS) $(LIBS) $(LIBZ) - @$(ECHO) "*******************************************" - -make_ext4fs_def: - @$(ECHO) "Building make_ext4fs_def..." - @$(CC) -o $@ $(EXT4FS_MAIN) $(EXT4FS_DEF_SRCS) $(CFLAGS) $(LDFLAGS) $(LIBS) $(LIBZ) - @$(ECHO) "*******************************************" - -ext2simg: - @$(ECHO) "Building ext2simg..." - @$(CC) -o $@ extras/ext4_utils/ext2simg.c $(EXT4FS_SRCS) $(CFLAGS) $(LDFLAGS) $(LIBS) $(LIBZ) - @$(ECHO) "*******************************************" - -unpackbootimg: - @$(ECHO) "Building unpackbootimg..." - @$(CC) external/android_system_core/mkbootimg/unpackbootimg.c -o $@ $(CFLAGS) $(LIBS) libmincrypt_host.a - @$(RM) -rfv *.a - @$(ECHO) "*******************************************" - -sgs4ext4fs: - @$(ECHO) "Building sgs4ext4fs..." - @$(CC) external/sgs4ext4fs/main.c -o $@ - @$(ECHO) "*******************************************" - -.PHONY: - -clean: - @$(ECHO) "Cleaning..." - @$(RM) -rfv *.o *.a \ - libmincrypt \ - mkbootimg \ - mkbootfs \ - unpackbootimg \ - libsparse_host \ - simg2img \ - simg2simg \ - img2simg \ - make_ext4fs \ - make_ext4fs_def \ - ext2simg \ - sgs4ext4fs - - @$(ECHO) "*******************************************" - -.PHONY: - -clear: - @$(ECHO) "Clearing..." - @$(RM) -rfv *.o *.a *.sh - @$(RM) -drfv \ - core \ - extras \ - libselinux \ - zlib \ - external \ - pcre From 6e628651a1e8cf8cfbe2362ad9b4f7c4a21e9d39 Mon Sep 17 00:00:00 2001 From: ASdev Date: Sat, 14 Nov 2015 00:40:54 +0300 Subject: [PATCH 09/11] Delete configure --- configure | 66 ------------------------------------------------------- 1 file changed, 66 deletions(-) delete mode 100755 configure diff --git a/configure b/configure deleted file mode 100755 index 7123d0d..0000000 --- a/configure +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/bash -# -# configure script for android_img_repack_tools. -# -BRANCH= -BRANCH_EXT= -FILE=extras/ext4_utils/make_ext4fs.c -FILE1=extras/ext4_utils/make_ext4fs_def.c -FILE2=extras/ext4_utils/mkuserimg.sh - -get_src() { - git clone $1 -} -checkout() { - git checkout $BRANCH -} -checkout_external() { - git checkout $BRANCH_EXT -} -edit_text() { - sed -i $1 $2 -} -mkdir external - -get_src https://android.googlesource.com/platform/system/core - cd core - checkout - cd .. -get_src https://android.googlesource.com/platform/system/extras - cd extras - checkout - cd .. -get_src https://android.googlesource.com/platform/external/libselinux - cd libselinux - checkout - cd .. -get_src https://android.googlesource.com/platform/external/pcre - cd pcre - checkout - dist/configure && make - cd .. -get_src https://android.googlesource.com/platform/external/zlib - cd zlib - checkout - cd ../external -get_src https://github.com/CyanogenMod/android_system_core.git - cd android_system_core - checkout_external - cd .. -get_src https://github.com/Chainfire/sgs4ext4fs - cd .. - - cp -fv $FILE $FILE1 -edit_text '/^/s:fs_config_func(dentries://fs_config_func(dentries:' $FILE1 -edit_text '/^/s:mode;:stat.st_mode;:' $FILE1 -edit_text '/^/s:uid;:stat.st_uid;:' $FILE1 -edit_text '/^/s:gid;:stat.st_gid;:' $FILE1 -edit_text '/^/s:root_stat.st_mode;:root_mode;:' $FILE1 -edit_text '/^/s:MAKE_EXT4FS_CMD="make_ext4fs:MAKE_EXT4FS_CMD="./make_ext4fs:' $FILE2 - cp -fv $FILE2 . - -echo -echo "for android.googlesource.com choosed branch $BRANCH..." -echo -echo "for Cyanogen Mod source choosed branch $BRANCH_EXT..." -echo From 31dee97ed12eb69dac5c54fa25d5f34d35682be2 Mon Sep 17 00:00:00 2001 From: ASdev Date: Sat, 14 Nov 2015 00:42:41 +0300 Subject: [PATCH 10/11] Update README.md --- README.md | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/README.md b/README.md index 8bfcb64..44ebd48 100644 --- a/README.md +++ b/README.md @@ -3,30 +3,5 @@ android_img_repack_tools android_img_repack_tools is a kit utilites for unpack/repack android ext4 and boot images -how to make: - -$ ./configure - -will download source from android git repositories - -$ make - -will compille binaries: -mkbootfs -simg2simg -make_ext4fs -mkbootimg -sgs4ext4fs -unpackbootimg -ext2simg -img2simg -simg2img - -$ make clean - -will clean sources - -$ make clear - -will remove sources +for download choose some brunch From e71eb82837c7b78894a2eb211757ae90ec3f1f15 Mon Sep 17 00:00:00 2001 From: ASdev Date: Sat, 14 Nov 2015 00:44:00 +0300 Subject: [PATCH 11/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 44ebd48..b7e1472 100644 --- a/README.md +++ b/README.md @@ -3,5 +3,5 @@ android_img_repack_tools android_img_repack_tools is a kit utilites for unpack/repack android ext4 and boot images -for download choose some brunch +for download choose any brunch