-
-
Save ma34s/5794620 to your computer and use it in GitHub Desktop.
lzma 起動確認した差分
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/arch/arm/configs/kbc_sc04e_aosp_defconfig b/arch/arm/configs/kbc_sc04e_aosp_defconfig | |
index 2af77b3..1508cde 100644 | |
--- a/arch/arm/configs/kbc_sc04e_aosp_defconfig | |
+++ b/arch/arm/configs/kbc_sc04e_aosp_defconfig | |
@@ -3787,8 +3787,15 @@ CONFIG_ZLIB_INFLATE=y | |
CONFIG_ZLIB_DEFLATE=y | |
CONFIG_LZO_COMPRESS=y | |
CONFIG_LZO_DECOMPRESS=y | |
-# CONFIG_XZ_DEC is not set | |
-# CONFIG_XZ_DEC_BCJ is not set | |
+CONFIG_XZ_DEC=y | |
+CONFIG_XZ_DEC_X86=y | |
+CONFIG_XZ_DEC_POWERPC=y | |
+CONFIG_XZ_DEC_IA64=y | |
+CONFIG_XZ_DEC_ARM=y | |
+CONFIG_XZ_DEC_ARMTHUMB=y | |
+CONFIG_XZ_DEC_SPARC=y | |
+CONFIG_XZ_DEC_BCJ=y | |
+# CONFIG_XZ_DEC_TEST is not set | |
CONFIG_DECOMPRESS_GZIP=y | |
CONFIG_DECOMPRESS_BZIP2=y | |
CONFIG_DECOMPRESS_LZMA=y | |
diff --git a/build_func b/build_func | |
index 750ebd6..cca61fb 100644 | |
--- a/build_func | |
+++ b/build_func | |
@@ -15,7 +15,8 @@ copy_ramdisk() | |
make_boot_image() | |
{ | |
./release-tools/mkbootfs $RAMDISK_TMP_DIR > $BIN_DIR/ramdisk-$IMAGE_NAME.cpio | |
- ./release-tools/minigzip < $BIN_DIR/ramdisk-$IMAGE_NAME.cpio > $BIN_DIR/ramdisk-$IMAGE_NAME.img | |
+ #./release-tools/minigzip < $BIN_DIR/ramdisk-$IMAGE_NAME.cpio > $BIN_DIR/ramdisk-$IMAGE_NAME.img | |
+ lzma < $BIN_DIR/ramdisk-$IMAGE_NAME.cpio > $BIN_DIR/ramdisk-$IMAGE_NAME.img | |
./release-tools/mkbootimg --cmdline "androidboot.hardware=qcom user_debug=31 zcache" --base $KERNEL_BASEADDRES | |
echo " $BIN_DIR/$IMAGE_NAME.img" | |
rm $BIN_DIR/ramdisk-$IMAGE_NAME.img | |
diff --git a/release-tools/SC04E/stock-img/recovery.img-kernel.gz b/release-tools/SC04E/stock-img/recovery.img-kern | |
: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment