Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
813d920
this problem (f***ed me) i dont know anything
GhaithCraft Nov 5, 2017
6bedf0f
Merge branch 'versionC' into master
GhaithCraft Nov 17, 2017
950e0ec
selinux: Allow SELinux to be Permissive or Enforcing
Aug 29, 2016
345bf96
add wakelocks configurable
morogoku Feb 27, 2017
4b226c2
Revert "selinux: Allow SELinux to be Permissive or Enforcing"
Jun 22, 2017
b723886
MMC: disable CRC check data for upto 30% performance boost
Jun 1, 2017
bb25898
Powersuspend 1.7
Jun 22, 2017
c5d9716
Remove -werror flag
GhaithCraft Oct 24, 2017
1db5456
Enable CCache for faster builds
GhaithCraft Oct 28, 2017
638f65c
Add IO Schedulers
Oct 7, 2017
fc50b87
remove some Add IO Schedulers
GhaithCraft Oct 21, 2017
c5598d5
Add hell lot of CPU governors
Oct 7, 2017
496aa81
delete relaxed governor
GhaithCraft Oct 28, 2017
44cc8f2
cpufreq: cache tunables for ondemand and conservative governors
flar2 Mar 3, 2017
e1143cd
Disable CRCs & allow toggle in OKM (30% Performance boost)
Oct 15, 2017
78db288
fix some problems
GhaithCraft Oct 28, 2017
b570b55
fix some problem (i/o)
GhaithCraft Oct 29, 2017
ef1ccc3
update meta inf
GhaithCraft Nov 17, 2017
070f95a
block: ROW scheduling algorithm
AndreiLux Nov 26, 2015
d8171de
block: BFQ scheduling algorithm
paolo-github May 9, 2013
a62b381
Linux 3.18.19
sashalevin Jul 21, 2015
63dc82b
Linux 3.18.20
sashalevin Aug 7, 2015
e6eb435
Linux 3.18.21
sashalevin Aug 31, 2015
43309a7
Linux 3.18.22
sashalevin Oct 1, 2015
a2384e5
Linux 3.18.23
sashalevin Oct 29, 2015
866348c
Linux 3.18.24
sashalevin Oct 31, 2015
3b1830e
Linux 3.18.25
sashalevin Dec 15, 2015
6b9eb65
Linux 3.18.26
sashalevin Jan 25, 2016
0b4cd29
Linux 3.18.27
sashalevin Feb 15, 2016
ceb1499
Linux 3.18.28
sashalevin Mar 4, 2016
45d87a7
Linux 3.18.29
sashalevin Mar 17, 2016
4f8c281
Linux 3.18.30
sashalevin Apr 3, 2016
3ad1cff
Linux 3.18.31
sashalevin Apr 19, 2016
1751674
Linux 3.18.32
sashalevin Apr 23, 2016
fbddcad
Linux 3.18.33
sashalevin May 11, 2016
67cf5c8
Linux 3.18.34
sashalevin May 21, 2016
6a41b22
Linux 3.18.35
sashalevin Jun 6, 2016
b72fa20
Linux 3.18.36
sashalevin Jun 23, 2016
c2cb79f
Linux 3.18.37
sashalevin Jul 13, 2016
a380f4b
Linux 3.18.38
Jul 30, 2016
9778130
Linux 3.18.39
Aug 9, 2016
a023109
Linux 3.18.40
Aug 22, 2016
061e479
Linux 3.18.41
Sep 3, 2016
4c9c897
Linux 3.18.42
Sep 17, 2016
60e6f7b
Linux 3.18.43
Oct 9, 2016
3733879
Linux 3.18.44
Oct 22, 2016
5694870
Linux 3.18.45
Nov 29, 2016
148000f
Linux 3.18.46
Dec 24, 2016
e8a63e3
Linux 3.18.47
Jan 18, 2017
2c2cc8a
Linux 3.18.48
gregkh Feb 8, 2017
5701725
Linux 3.18.49
gregkh Apr 18, 2017
ed8e54f
Linux 3.18.50
gregkh Apr 22, 2017
d3164fa
Linux 3.18.51
gregkh Apr 30, 2017
7a343a9
Linux 3.18.52
gregkh May 8, 2017
08ee530
Linux 3.18.53
gregkh May 15, 2017
06f0aa7
fix raw and bfq
gregkh May 15, 2017
5aeb2f9
Linux 3.18.54
gregkh May 20, 2017
75617f3
Linux 3.18.55
gregkh May 25, 2017
9bf35a2
Linux 3.18.56
gregkh Jun 7, 2017
801d815
Linux 3.18.57
gregkh Jun 14, 2017
ace4f28
Linux 3.18.58
gregkh Jun 26, 2017
ed25273
Linux 3.18.59
gregkh Jun 29, 2017
cbaaa17
Linux 3.18.60
gregkh Jul 5, 2017
1d4a398
Linux 3.18.61
gregkh Jul 15, 2017
3b30cf6
Linux 3.18.62
gregkh Jul 21, 2017
0a770b1
Linux 3.18.63
gregkh Jul 27, 2017
3e58ffe
Linux 3.18.64
gregkh Aug 11, 2017
883e5c9
Linux 3.18.65
gregkh Aug 13, 2017
73ea75e
Linux 3.18.66
gregkh Aug 16, 2017
2ef7b98
Linux 3.18.67
gregkh Aug 25, 2017
2ce4410
Linux 3.18.68
gregkh Aug 30, 2017
c9e312b
Linux 3.18.69
gregkh Sep 2, 2017
21a7f7c
Linux 3.18.70
gregkh Sep 7, 2017
1bbcd74
Linux 3.18.71
gregkh Sep 13, 2017
33f290b
Linux 3.18.72
gregkh Sep 27, 2017
c77c5d4
Linux 3.18.73
gregkh Oct 5, 2017
ad8751f
Linux 3.18.74
gregkh Oct 8, 2017
575fea1
Linux 3.18.75
gregkh Oct 12, 2017
57d0874
Linux 3.18.76
gregkh Oct 18, 2017
3139322
Linux 3.18.77
gregkh Oct 21, 2017
5a03b67
Linux 3.18.78
gregkh Oct 27, 2017
87618a7
Enable CCache for faster builds
Oct 29, 2017
ef0719b
update toolchain
GhaithCraft Nov 1, 2017
7bfa81d
remove maple and add zDCTDR
GhaithCraft Nov 1, 2017
ccd1ae3
update splash
GhaithCraft Nov 17, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 3
PATCHLEVEL = 18
SUBLEVEL = 79
SUBLEVEL = 78
EXTRAVERSION =
NAME = Shuffling Zombie Juror

Expand Down Expand Up @@ -346,7 +346,7 @@ endif
export COMPILER
endif

# Look for make include files relative to root of kernel src7879
# Look for make include files relative to root of kernel src
MAKEFLAGS += --include-dir=$(srctree)

# We need some generic definitions (do not try to remake the file).
Expand Down Expand Up @@ -653,10 +653,6 @@ else
KBUILD_CFLAGS += -O2
endif

KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized,) \
$(call cc-disable-warning,unused-variable,) \
$(call cc-disable-warning,unused-function)

# Tell gcc to never replace conditional load with a non-conditional one
KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0)

Expand Down Expand Up @@ -821,7 +817,7 @@ include $(srctree)/scripts/Makefile.extrawarn
#Disable the whole of the following block to disable LKM AUTH
ifeq ($(CONFIG_TIMA_LKMAUTH),y)
ifeq ($(CONFIG_TIMA),y)
KBUILD_CFLAGS += -DTIMA_LKM_AUTH_ENABLED -Idrivers/gud/gud-exynos7880/MobiCoreDriver/mci/
KBUILD_CFLAGS += -DTIMA_LKM_AUTH_ENABLED -Idrivers/gud/gud-exynos7870/MobiCoreDriver/mci/
KBUILD_AFLAGS += -DTIMA_LKM_AUTH_ENABLED
endif
endif
Expand Down
Empty file modified alphabet/zip/A520x/META-INF/com/google/android/aroma/splash.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions alphabet/zip/A720x/META-INF/com/google/android/aroma-config
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,11 @@ if (prop("alphabetkernel-restore.prop","install")=="0") then
"",
"scheduler-internal.prop",
"scheduler-internal", "Select your IO Scheduler (Internal) (stock=cfq)", "", "group",
"bfq", "bfq", "", "select",
"cfq", "cfq", "", "select.selected",
"deadline", "deadline", "", "select",
"fifo", "fifo", "", "select",
"fiops", "fiops", "", "select",
"noop", "noop", "", "select",
"row", "row", "", "select",
"sio", "sio", "", "select",
"sioplus", "sioplus", "", "select",
"tripndroid", "tripndroid", "", "select",
Expand Down
3 changes: 2 additions & 1 deletion arch/arm64/configs/Alphabet_Kernel_a5y17lte_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_TRIPNDROID is not set
# CONFIG_DEFAULT_VR is not set
# CONFIG_DEFAULT_ZEN is not set
# CONFIG_DEFAULT_ROW is not set
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
Expand Down Expand Up @@ -3459,7 +3460,7 @@ CONFIG_ASHMEM=y
CONFIG_ANDROID_TIMED_OUTPUT=y
CONFIG_ANDROID_TIMED_GPIO=y
CONFIG_ANDROID_LOW_MEMORY_KILLER=y
# CONFIG_ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES is not set
CONFIG_ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES=y
CONFIG_SEC_TIMEOUT_LOW_MEMORY_KILLER=y
CONFIG_ANDROID_INTF_ALARM_DEV=y
CONFIG_SYNC=y
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/configs/Alphabet_Kernel_a7y17lte_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3459,7 +3459,7 @@ CONFIG_ASHMEM=y
CONFIG_ANDROID_TIMED_OUTPUT=y
CONFIG_ANDROID_TIMED_GPIO=y
CONFIG_ANDROID_LOW_MEMORY_KILLER=y
# CONFIG_ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES is not set
CONFIG_ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES=y
CONFIG_SEC_TIMEOUT_LOW_MEMORY_KILLER=y
CONFIG_ANDROID_INTF_ALARM_DEV=y
CONFIG_SYNC=y
Expand Down
1 change: 1 addition & 0 deletions drivers/base/power/wakeup.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <linux/seq_file.h>
#include <linux/debugfs.h>
#include <linux/types.h>
#include <trace/events/power.h>
#ifdef CONFIG_SEC_PM_DEBUG
#include <linux/fb.h>
#endif
Expand Down
12 changes: 8 additions & 4 deletions drivers/battery/sec_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
#ifdef CONFIG_CCIC_NOTIFIER
#include <linux/ccic/ccic_notifier.h>
#endif /* CONFIG_CCIC_NOTIFIER */
#include <linux/moduleparam.h>

static int wl_polling = 10;
module_param(wl_polling, int, 0644);

bool sleep_mode = false;

Expand Down Expand Up @@ -1046,7 +1050,7 @@ static bool sec_bat_ovp_uvlo_result(
battery->health_check_count = DEFAULT_HEALTH_CHECK_COUNT;
/* Take the wakelock during 10 seconds
when over-voltage status is detected */
wake_lock_timeout(&battery->vbus_wake_lock, HZ * 10);
wake_lock_timeout(&battery->vbus_wake_lock, HZ * wl_polling);
break;
}
power_supply_changed(&battery->psy_bat);
Expand Down Expand Up @@ -2555,7 +2559,7 @@ static void sec_bat_do_fullcharged(
* activated wake lock in a few seconds
*/
if (battery->pdata->polling_type == SEC_BATTERY_MONITOR_ALARM)
wake_lock_timeout(&battery->vbus_wake_lock, HZ * 10);
wake_lock_timeout(&battery->vbus_wake_lock, HZ * wl_polling);
}

static bool sec_bat_fullcharged_check(
Expand Down Expand Up @@ -3287,7 +3291,7 @@ static void sec_bat_fw_update_work(struct sec_battery_info *battery, int mode)

dev_info(battery->dev, "%s \n", __func__);

wake_lock_timeout(&battery->vbus_wake_lock, HZ * 10);
wake_lock_timeout(&battery->vbus_wake_lock, HZ * wl_polling);

switch (mode) {
case SEC_WIRELESS_RX_SDCARD_MODE:
Expand Down Expand Up @@ -3693,7 +3697,7 @@ static void sec_bat_cable_work(struct work_struct *work)
* if cable is connected and disconnected,
* activated wake lock in a few seconds
*/
wake_lock_timeout(&battery->vbus_wake_lock, HZ * 10);
wake_lock_timeout(&battery->vbus_wake_lock, HZ * wl_polling);

if (battery->cable_type == POWER_SUPPLY_TYPE_BATTERY ||
((battery->pdata->cable_check_type &
Expand Down
1 change: 0 additions & 1 deletion drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2729,7 +2729,6 @@ int mmc_pm_notify(struct notifier_block *notify_block,
switch (mode) {
case PM_HIBERNATION_PREPARE:
case PM_SUSPEND_PREPARE:
case PM_RESTORE_PREPARE:
spin_lock_irqsave(&host->lock, flags);
if (mmc_bus_needs_resume(host)) {
spin_unlock_irqrestore(&host->lock, flags);
Expand Down
7 changes: 6 additions & 1 deletion drivers/nfc/sec_nfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ struct sec_nfc_i2c_info {};
#include <linux/sched.h>
#include <linux/i2c.h>

#include <linux/moduleparam.h>

static int wl_nfc = 2;
module_param(wl_nfc, int, 0644);

#define SEC_NFC_GET_INFO(dev) i2c_get_clientdata(to_i2c_client(dev))
enum sec_nfc_irq {
SEC_NFC_NONE,
Expand Down Expand Up @@ -140,7 +145,7 @@ static irqreturn_t sec_nfc_irq_thread_fn(int irq, void *dev_id)
mutex_unlock(&info->i2c_info.read_mutex);

wake_up_interruptible(&info->i2c_info.read_wait);
wake_lock_timeout(&info->nfc_wake_lock, 2*HZ);
wake_lock_timeout(&info->nfc_wake_lock, wl_nfc*HZ);

return IRQ_HANDLED;
}
Expand Down
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ make clean && make mrproper
echo "Stock DEFCON"
make Alphabet_Kernel_a7y17lte_defconfig
#make Alphabet_Kernel_a5y17lte_defconfig
make -j3
make -j3
1 change: 0 additions & 1 deletion security/selinux_m/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ static int selinux_is_sblabel_mnt(struct super_block *sb)
return sbsec->behavior == SECURITY_FS_USE_XATTR ||
sbsec->behavior == SECURITY_FS_USE_TRANS ||
sbsec->behavior == SECURITY_FS_USE_TASK ||
sbsec->behavior == SECURITY_FS_USE_NATIVE ||
/* Special handling. Genfs but also in-core setxattr handler */
!strcmp(sb->s_type->name, "sysfs") ||
!strcmp(sb->s_type->name, "pstore") ||
Expand Down