Make text appear in GUI console, Zip install works.
Move TW zip install code to C++ so that it can use the
ui->functions.
Bring in mincrypt code to fix a crash during signature
checking.
diff --git a/Android.mk b/Android.mk
index c8f453a..6d3be1d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -35,7 +35,10 @@
firmware.c \
partition.cpp \
partitionmanager.cpp \
- mtdutils/mtdutils.c
+ mtdutils/mtdutils.c \
+ twinstall.cpp \
+ twmincrypt/twrsa.c \
+ twmincrypt/twsha.c
ifeq ($(TARGET_RECOVERY_REBOOT_SRC),)
LOCAL_SRC_FILES += reboot.c
@@ -64,7 +67,7 @@
LOCAL_SHARED_LIBRARIES :=
LOCAL_STATIC_LIBRARIES += libmtdutils
-LOCAL_STATIC_LIBRARIES += libext4_utils libminadbd libminzip libunz libmincrypt
+LOCAL_STATIC_LIBRARIES += libext4_utils libminadbd libminzip libunz
LOCAL_STATIC_LIBRARIES += libminuitwrp libpixelflinger_static libpng libjpegtwrp libgui
LOCAL_SHARED_LIBRARIES += libz libc libstlport libcutils libstdc++