Created
March 3, 2013 21:33
-
-
Save bbelos/5078404 to your computer and use it in GitHub Desktop.
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/epicmtd.mk b/epicmtd.mk | |
index 2108f25..972f5c9 100755 | |
--- a/epicmtd.mk | |
+++ b/epicmtd.mk | |
@@ -102,7 +102,6 @@ PRODUCT_PACKAGES += \ | |
# Device-specific packages | |
PRODUCT_PACKAGES += \ | |
- EpicParts \ | |
Torch | |
# These are the hardware-specific features | |
diff --git a/init.victory.rc b/init.victory.rc | |
index 3a1c611..e2758e5 100644 | |
--- a/init.victory.rc | |
+++ b/init.victory.rc | |
@@ -187,6 +187,7 @@ on boot | |
chown radio radio /sys/class/mdnieset_outdoor/switch_mdnieset_outdoor/mdnieset_outdoor_file_cmd | |
chown system system /sys/class/backlight/s5p_bl/brightness | |
+ chown 0666 /sys/class/backlight/s5p_bl/brightness | |
chown radio system /sys/devices/platform/s3cfb/lcd_power | |
# Change ownerships for touchkey | |
diff --git a/updater.sh b/updater.sh | |
index d7b8a3d..fa659d4 100755 | |
--- a/updater.sh | |
+++ b/updater.sh | |
@@ -9,7 +9,7 @@ set -x | |
export PATH=/:/sbin:/system/xbin:/system/bin:/tmp:$PATH | |
# check if we're running on a bml or mtd device, or if /system needs to be resized | |
-if /tmp/busybox test -e /dev/block/bml7 || [ $(grep mtdblock2 /proc/partitions | awk '{ print $3 }') -lt 351744 ]; then | |
+if /tmp/busybox test -e /dev/block/bml7 || [ $(grep mtdblock2 /proc/partitions | awk '{ print $3 }') -gt 49920 ]; then | |
# we're running on a bml device, or /system is the wrong size | |
# make sure sdcard is mounted |
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/exynos3/s5pc110/sec_mm/sec_omx/sec_osal/Android.mk b/exynos3/s5pc110/sec_mm/sec_omx/sec_osal/Android.mk | |
index a020149..db00950 100644 | |
--- a/exynos3/s5pc110/sec_mm/sec_omx/sec_osal/Android.mk | |
+++ b/exynos3/s5pc110/sec_mm/sec_omx/sec_osal/Android.mk | |
@@ -25,8 +25,7 @@ LOCAL_STATIC_LIBRARIES := | |
LOCAL_SHARED_LIBRARIES := libcutils \ | |
libutils \ | |
libui \ | |
- libhardware \ | |
- libandroid_runtime | |
+ libhardware | |
LOCAL_C_INCLUDES := $(SEC_OMX_INC)/khronos \ | |
$(SEC_OMX_INC)/sec \ |
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/cyanogenmod_epicmtd_defconfig b/arch/arm/configs/cyanogenmod_epicmtd_defconfig | |
index df2dbb8..8dabe90 100644 | |
--- a/arch/arm/configs/cyanogenmod_epicmtd_defconfig | |
+++ b/arch/arm/configs/cyanogenmod_epicmtd_defconfig | |
@@ -47,7 +47,7 @@ CONFIG_HAVE_KERNEL_LZO=y | |
CONFIG_KERNEL_XZ=y | |
# CONFIG_KERNEL_LZO is not set | |
CONFIG_DEFAULT_HOSTNAME="(none)" | |
-# CONFIG_SWAP is not set | |
+CONFIG_SWAP=y | |
CONFIG_SYSVIPC=y | |
CONFIG_SYSVIPC_SYSCTL=y | |
# CONFIG_POSIX_MQUEUE is not set | |
@@ -92,7 +92,7 @@ CONFIG_CGROUP_SCHED=y | |
CONFIG_FAIR_GROUP_SCHED=y | |
CONFIG_RT_GROUP_SCHED=y | |
# CONFIG_BLK_CGROUP is not set | |
-# CONFIG_NAMESPACES is not set | |
+CONFIG_NAMESPACES=y | |
# CONFIG_SCHED_AUTOGROUP is not set | |
# CONFIG_SYSFS_DEPRECATED is not set | |
# CONFIG_RELAY is not set | |
@@ -633,7 +633,7 @@ CONFIG_IPV6_TUNNEL=y | |
CONFIG_IPV6_MULTIPLE_TABLES=y | |
# CONFIG_IPV6_SUBTREES is not set | |
# CONFIG_IPV6_MROUTE is not set | |
-CONFIG_ANDROID_PARANOID_NETWORK=y | |
+# CONFIG_ANDROID_PARANOID_NETWORK is not set | |
CONFIG_NET_ACTIVITY_STATS=y | |
# CONFIG_NETWORK_SECMARK is not set | |
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set | |
@@ -956,7 +956,7 @@ CONFIG_RFKILL_INPUT=y | |
# Generic Driver Options | |
# | |
CONFIG_UEVENT_HELPER_PATH="" | |
-# CONFIG_DEVTMPFS is not set | |
+CONFIG_DEVTMPFS=y | |
CONFIG_STANDALONE=y | |
CONFIG_PREVENT_FIRMWARE_BUILD=y | |
CONFIG_FW_LOADER=y | |
@@ -1404,7 +1404,7 @@ CONFIG_VT_CONSOLE=y | |
CONFIG_HW_CONSOLE=y | |
# CONFIG_VT_HW_CONSOLE_BINDING is not set | |
CONFIG_UNIX98_PTYS=y | |
-# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | |
+CONFIG_DEVPTS_MULTIPLE_INSTANCES=y | |
# CONFIG_LEGACY_PTYS is not set | |
# CONFIG_SERIAL_NONSTANDARD is not set | |
# CONFIG_N_GSM is not set | |
@@ -2479,9 +2479,10 @@ CONFIG_JBD2=y | |
CONFIG_FS_POSIX_ACL=y | |
CONFIG_FILE_LOCKING=y | |
CONFIG_FSNOTIFY=y | |
-# CONFIG_DNOTIFY is not set | |
+CONFIG_DNOTIFY=y | |
CONFIG_INOTIFY_USER=y | |
-# CONFIG_FANOTIFY is not set | |
+CONFIG_FANOTIFY=y | |
+CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y | |
# CONFIG_QUOTA is not set | |
# CONFIG_QUOTACTL is not set | |
# CONFIG_AUTOFS4_FS is not set | |
@@ -2741,7 +2742,7 @@ CONFIG_DEBUG_S3C_UART=2 | |
# | |
# CONFIG_KEYS is not set | |
# CONFIG_SECURITY_DMESG_RESTRICT is not set | |
-# CONFIG_SECURITY is not set | |
+CONFIG_SECURITY | |
# CONFIG_SECURITYFS is not set | |
CONFIG_DEFAULT_SECURITY_DAC=y | |
CONFIG_DEFAULT_SECURITY="" | |
diff --git a/security/commoncap.c b/security/commoncap.c | |
index ccfe568..8bfbd13 100644 | |
--- a/security/commoncap.c | |
+++ b/security/commoncap.c | |
@@ -88,10 +88,12 @@ EXPORT_SYMBOL(cap_netlink_recv); | |
int cap_capable(struct task_struct *tsk, const struct cred *cred, | |
struct user_namespace *targ_ns, int cap, int audit) | |
{ | |
+#ifdef CONFIG_ANDROID_PARANOID_NETWORK | |
if (cap == CAP_NET_RAW && in_egroup_p(AID_NET_RAW)) | |
return 0; | |
if (cap == CAP_NET_ADMIN && in_egroup_p(AID_NET_ADMIN)) | |
return 0; | |
+#endif | |
for (;;) { | |
/* The creator of the user namespace has all caps. */ | |
diff --git a/drivers/mtd/onenand/samsung_epic.h b/drivers/mtd/onenand/samsung_epic.h | |
index 753e728..dfcf23c 100644 | |
--- a/drivers/mtd/onenand/samsung_epic.h | |
+++ b/drivers/mtd/onenand/samsung_epic.h | |
@@ -42,17 +42,17 @@ struct mtd_partition s3c_partition_info[] = { | |
{ | |
.name = "system", | |
.offset = (132*SZ_256K), | |
- .size = (1374*SZ_256K), //1505 | |
+ .size = (195*SZ_256K), //326 | |
}, | |
{ | |
.name = "userdata", | |
- .offset = (1506*SZ_256K), | |
- .size = (2406*SZ_256K), //3911 | |
+ .offset = (327*SZ_256K), | |
+ .size = (3675*SZ_256K), //4001 | |
}, | |
{ | |
.name = "cache", | |
- .offset = (3912*SZ_256K), | |
- .size = (100*SZ_256K), //4011 | |
+ .offset = (4002*SZ_256K), | |
+ .size = (10*SZ_256K), //4011 | |
}, | |
{ /* The reservoir area is used by Samsung's Block Management Layer (BML) | |
to map good blocks from this reservoir to bad blocks in user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BTW the kernel requires more flags that can be found on the ubuntu wiki.