[Moto G Android Development] TeamMex:
Reserved

HOW TO:

Report bugs:

MARSHMALLOW

3.4.71-XPerience-9

bump to 3.4.71 kernel linux

CPU Overclock 1.6ghz thnks to h2o64

ext4: don't orphan or truncate the boot loader inode

msm: kgsl: Report correct GPU frequency in sysfs

more faster wake lock

Enhance power efficiency

Add CPU undervolting,

F2FS patches

kgsl patches

qseecom patches

Chromium patches

Add support to HID: wiimote

add frandom support

3.4.42-XPerience-4a

Rebuilded from 3.4.42 and merge Motorola stock sources by intervigilium

Added Adreno idler

GCC 5xx fixes

VFP 4

Underclock gpu to 100mhz

GPU overclock to 500mhz

Dt2W/s2w

s2w bidirectional

Kernel mode neon

Add Bioshock,Lionheart, Smartmax and Dancedance Governors

Cortex-A7 optimizations

Optimize usage of MPDecision

And some old commits :3

============================================

LOLLIPOP

3.4.108-XPerience-28

Bump to v28

Bump to stable linux kernel 3.4.108 patch

Implemented ALESSA PLUG (A Hotplug optimized for QuadCore devices created by me)

By defaul are configured to off 2 cores you can change it with terminal

//to "transform" to dual core

echo 2 > /sys/kernel/alessa_plug/suspend_cpus

//to "transform" to single core

echo 3 > /sys/kernel/alessa_plug/suspend_cpus

//to return to quadcore

echo 1 > /sys/kernel/alessa_plug/suspend_cpus

msm: thermal: Update to speed up bootup time

power: qpnp-bms: Schedule recalculate_soc immediately in bms_resume

regulator: add notifier event for regulator enable

input: synaptics_rmi4: Register pm_ops regardless of CONFIG_FB

msm: mdss: Correctly calculate DSI clocks if fbc is enabled

Fix some Memory leaks

Optimized Crypto with Mode NEON

3:4:106-xperience-25+

Revert "media: radio: Fix building and loading the IRIS transport"

Revert "Remove Module support to make more according to CM changes (and fix issues of FM radio)"

Initialize this functions on 0 Like when you add variable like int value; The valor are 0 :D but for avoid warnings like "drivers/devfreq/simple_gpu_algorithm.c: In function 'simple_gpu_algorithm': drivers/devfreq/simple_gpu_algorithm.c:58:2: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] error, forbidden warning: simple_gpu_algorithm.c:58"

Fix mm/slub.c:4542:11: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] error, forbidden warning: slub.c:4542

gic: Remove redundant logging

gic: add calls to log wakeup_reason.

gpio: msm-common: Add wakeup reason logging

Power: Changes the permission to read only for sysfs file /sys/kernel/wakeup_reasons/last_resume_reason

power: wakeup_reason: rename irq_count to irqcount

Power: Add guard condition for maximum wakeup reasons

POWER: fix compile warnings in log_wakeup_reason

Power: add an API to log wakeup reasons

cpufreq: interactive: don't boost cpu if already boosted

arm/dts: 8x26: increase Falcon CMI panel VBP

cpufreq: cpu-boost: config cpu_boost separately

Improve kernel SELinux avc logging

mm: vmscan: do not count anon pages as reclaimable if swap is small

arm/dt: msm8226-moto-common: Change secure memory CMA size

fix error

msm8226_defconfig: Enable LZ4, and use it for ZRAM.

lib: lz4: Set ARM_EFFICIENT_UNALIGNED_ACCESS

zram: Add LZ4 support

lz4: add overrun checks to lz4_uncompress_unknownoutputsize()

lz4: fix another possible overrun

lz4: ensure length does not wrap

lz4: fix compression/decompression signedness mismatch

lib/lz4: correct the LZ4 license

lib: add lz4 compressor module

lib: add support for LZ4-compressed kernel

decompressor: add LZ4 decompressor module

ARM: Use -mtune=cortex-a7 for 8226/8610

msm8226_defconfig: Use -O2 not -Os

arm: msm: watchdog_v2: Init tzbsp_cpu_count

input: aps_ts: Init last

drivers: leds-qpnp-rgb: Init spmi_dev

Enable Crypto ARM

drivers/misc: bma2x2: set data in read_byte

bootinfo: Fix section mismatches

ARM: 8120/1: crypto: sha512: add ARM NEON implementation

ARM: 8119/1: crypto: sha1: add ARM NEON implementation

ARM: add support for kernel mode NEON

ARM: 8118/1: crypto: sha1/make use of common SHA-1 structures

crypto: arm-aes - fix encryption of unaligned data

CRYPTO: Fix more AES build errors

ARM: add .gitignore entry for aesbs-core.S

ARM: add support for bit sliced AES using NEON instructions

ARM: use -mcpu=cortex-a7 to get integer divide instruction

ARM: move AES typedefs and function prototypes to separate header

ARM: 7837/3: fix Thumb-2 bug in AES assembler code

ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling

ARM: 7626/1: arm/crypto: Make asm SHA-1 and AES code Thumb-2 compatible

3.4.105-XPerience-24+ [lollipop no stock (maybe wifi issues on CM based rom)]

Hardexec reenabled

Hardcoded VFP

Wifi changed support to Powersuspend instead of Earlysuspend (battery saving)

lib/int_sqrt.c: optimize square root algorithm

mm page alloc update to 4096freekb

Updatetorch configs acording to last kk kernel

initial undervolting not configurable yet (WORK in progress)

Fixed some issues with underclocking

overclock bus 566mhz

Revamp spinlock ASM code

3.4.105-XPerience-23 [lollipop based/no stock]

Intelimm

Dt2w/s2w with improvements

A lot of patches for lollipop requeriments

ksm: Optimized

Wake_timeout: Default 60ms

stereo call recording support

Simple GPU Algorithm: Initial coding for devfreq based Adreno Drivers

lowmemorykiller: Don't try to kill the same pid over and over

and more...

3.4.105-XPerience22-[Only Custom lollipop like XPerience9 and CM12 based roms] 18/12/14

Configurable simple gpu algorithm via fauxclock

Work queue efficient

Quickwake up

Ext4 optimizations

Asynchonous Sync

Powersuspend bump to 1.5 [for lollipop]

PerCPU support

Faster wakelock's

ROW Hardcoded quantumm

3.4.105-XPerience22-[Only Custom lollipop like XPerience9 and CM12 based roms]

Bump to 3.4.105 patch

Some code cleanups

Corrections and bugfixes

added again 192mhz

Optimized gobernors

Input: Send events one packet at a time

Quadcore stats

mm: Increase number of GFP masks

mm: Increase VM min/max

short logcat coz Is alot of patches

3.4.57-XPerience-20 [ONLY FOR XPERIENCE 9 if you install it on CM you loose Wifi]

Alot of KGSL updates

MDSS fixes

More smoother

Optimized Performance

Led calibrations

msm: kgsl: Restrict GPU memory object alignment to 32MB

WCNSS power saver

ARM: dts: msm: Add power manager entry for wcnss …

ngd_slim: Register with QMI service in the slave-notification thread

ASoC: wcd9306: updates

Camera drivers updates with ion

mdss updates

More info on my github coz are a lot of patches

CM12

3.4.42-XPerience-19R-Lollipop-test2

SELinux Fix null pointer hooks

Upgraded SELinux binary inside ramdisk

Fix Data conection

Net and NL80211 fixes

Vidc and Venc decoders

---msm: vidc: add new control for limiting i/p buffer size

---msm: vidc: Amend calculation of buffer sizes in VENUS_BUFFER_SIZE

Enable NETDEV

Updates on Radio IRIS

Bluetooth: Remove unused hci_le_ltk_reply()

radio: iris: Fix the issue with hard mute IOCTL

radio: iris: Handle soft mute fail gracefully

Binary addes from my CM12

hostapd_cli

hostapd

dhcpcd.conf

modem.00 to 27

wcnss.01 to 08

widevine.b00 to b03

xtwifi.conf

Ramdisk improvements

XPerience Reworked

3.4.42-XPerience-19R [Wip]

Reworked using stable branch 3.4.0 of the kernel linux

Added patches from CM like New cam and others

KGSL updates

Added initial Simple GPU algorith

GPU overclock and CPU underclock

Initial governors [intellidemand,weatlhey]

Initial I/O Schedulers [ V(R),tripndroid,sio,fiops,zen]

Reworked Dt2w/s2w to older versions and optimized touch responsivitnes

Intelli_thermal v2

Intelliplug and optimized msmhotplug (Used for MPDecision)

Support of FauxSound and fixed some null pointers on tapan codecs

Better battery saver

LMK : optimized and Don't try to kill the same pid over and over

Kexec patch

Builded on NEON mode and fixes on Optimized RWSem for neon

drivers: usb: Use Android device as USB keyboard/mouse

stereo call recording support

A lot of optimizations

Work in progress im workingfor add all the stuff :)

alot of changes and improvements in ramdisk

CHANGELOG:

#########################

#### STOCK ROM ###

#########################

3.4.104-XPerience-STK-18+

Updated to 3.4.104 Linux kernel

all of the v17

fixed some eMMC entrophy

Added zRAM

minimal improvements

Squashed commits of enhance power efficiency

wake_timeout: increase delay to ensure panel is shut down properly

wake_timeout: don't disable wake functions if s2w and dt2w are disable

add governors like 18 for custom

Read older changelog for STK version inside Spoiler:

3.4.103-XPerience-STK-16+

LCD_KCAL

intelli_thermal_v2 (Need app fauxclock 2.2.5)

SELinux: Fix possible NULL pointer dereference in selinux_inode_permissions

fix false disconnect due to a signal sent to the reading process

Power: add an API to log wakeup reasons

Power: Add guard condition for maximum wakeup reasons

POWER: fix compile warnings in log_wakeup_reason

nf: IDLETIMER: time-stamp and suspend/resume handling.

nf: Remove compilation error caused by

Enabled CIFS

Power: Changes the permission to read only for sysfs file

/sys/kernel/wakeup_reasons/last_resume_reason

net: ipv4: current group_info should be put after using.

selinux: Report permissive mode in avc: denied messages.

usb: gadget: f_accessory: Enabled Zero Length Packet (ZLP)

cgroup: Take css_set_lock from cgroup_css_sets_empty()

cgroup: Fix use after free of cgrp (cgrp->css_sets)

ext4: Add support for FIDTRIM, a best-effort ioctl for deep

discard trim

msm: kgsl: Fix memory entry leak when calling

adreno_convertaddr

msm: kgsl: Keep track of kernel space mappings to memory

msm: kgsl: Skip the entire command during fault recovery

msm: vidc: Add instance to instance list prior to CORE_INIT.

ASoC: wcd9306: fix the NULL pointer dereference in the tapan

codec

msm: kgsl: Add a flag to mark user mapped GPU buffers.

ARM: dts: msm: use ordered workqueue only when specified

ARM: dts: msm: add frequency to corner mappings for msm8226v2

ARM: dts: msm: add support for qseecom bus scaling for 8074, 8226 and 8610

mmc: core: Fix power class config for HS400

msm_bam_rmnet: Fix potential memory corruption

cpufreq: cpu-boost: Export cpu boost status

cpu boost more slow changed to 60ms

Tweaked gobernors

3.4.103-XPerience-STK-15+

Added intelli-thermal

Intelli_plug

Intelliactive

fix some leaks on XPerience gob (Not for play games (some games are playable others have lag)

Added support to new drivers on TPA6165 extensions and Telephony Extensions for FauxSound 1.4.6 [fix recognition of MSM8226-Tapan930]

updated ramdisk to make support of 4.4.4

Low power mode framework

Updated Faux HACK sound to 3.4

Changes in ramdisk

No more CPU overclock

Overclocked RAM like custom version

Optimized slimbus

Added support of GPE edition. (Not tested yet)

Drivers: platform: msm: qpnp-vibrator: Add sysfs interface

for intensity

Mini CPU Overclock more stable because are provided by Qualcomm

3.4.103-XPerience-14+

mpt2sas: Fix for device scan following host reset could get stuck in

a infinite loop

mpt2sas: Fix for issue Missing delay not getting set during system bootup

iscsi-target: Always send a response before terminating iSCSI

connection

target: Fix MAINTENANCE_IN service action CDB checks to use lower 5

bits

upgraded to 3.4.95

upgraded to 3.4.96

ALSA updates

upgraded to 3.4.97

upgraded to 3.4.98

upgraded to 3.4.99

upgraded to 3.4.100

upgraded to 3.4.101

upgraded to 3.4.102

upgraded to 3.4.103

Kexec patch (Multirom support)

NOTE I say only upgraded to because are a lot of patches and fixes xD

(Sorry for now the bootlogo say 13+ I upload the kernel with the 14+ in the logo :( i forget it was in v14)

3.4.7x-XPerience-STK-13--[WIP]

Updated to upstream linux kernel 3.4.73

fix slow booting

added some changes on XPERIENCE gob (reduce some laggines)

updated to linux kernel 3.4.74

(all upstream of linux kernel have 30 patches or more so im not add changes of all upstream)

Sound/soc/msm fixes

Some SELinux fixes.

Merge kitkat-mr3-rel-falcon from MotorolaMobilityLLC

updated to linux kernel 3.4.75

updated to linux kernel 3.4.76

n_tty: Fix n_tty_write crash when echoing in raw mode

net: ipv4: current group_info should be put after using.

mmc: throttle back the bus on CRC errors

mmc: only extend the detect wakeup source once

mmc: throttle back high voltage cards too

mmc: sdhci: don't spew on CRC errors

futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == uaddr2 in futex_requeue(..., requeue_pi=1)

arm/dt: 8x26: Set min. CPU voltage to 1.14v

updated to linux kernel 3.4.77

updated to linux kernel 3.4.78

updated to linux kernel 3.4.79

updated to linux kernel 3.4.80

updated to linux kernel 3.4.81

updated to linux kernel 3.4.82

updated to linux kernel 3.4.83

updated to linux kernel 3.4.84

updated to linux kernel 3.4.85

updated to linux kernel 3.4.86

updated to linux kernel 3.4.87

updated to linux kernel 3.4.88

updated to linux kernel 3.4.89

updated to linux kernel 3.4.90

updated to linux kernel 3.4.91

updated to linux kernel 3.4.92

3.4.72-XPerience-STK-12--

upgraded to 3.4.72 linux kernel

Fixed wifi issues

Updated Faux sound driver to 3.4

Updated ramdisk and comprezed to LZ4

scheduler: compute time-average nr_running per run-queue

proc: enhance time-average nr_running stats

scheduler: Re-compute time-average nr_running on read

Improvement performance.

Intellidemand 5.5

Intelliactive

Deleted MPDesicion

GPU: Simple_ondemand

GPU: Conservative

Exfat support

over 400 patches

ARM: 7495/1: mutex: use generic atomic_dec-based implementation for ARMv6+

Updated xperience Gob

lowmemorykiller: Don't try to kill the same pid over and over

lib/lzo: huge LZO decompression speedup on ARM by using unaligned access

Added optimized ARM RWSEM algorithm.

power: msm_battery: Increase battery check interval from 5 seconds to 15 seconds.

ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above

PM / devfreq: Check for GPU busy time before sending the sample

msm: kgsl: Delay the first devfreq status read

msm: kgsl: Export device state to devfreq

PM: devfreq: Use high priority workqueue

PM: devfreq: conservative: Return 0 if GPU just started

PM: devfreq: Fix show available freqs

3.4.50-XPerience-STK-11

Linux 3.4.43

net: drop dst before queueing fragments

net: fix incorrect credentials passing

net: rate-limit warn-bad-offload splats.

tcp: call tcp_replace_ts_recent() from tcp_ack()

esp4: fix error return code in esp_output()

TTY: do not update atime/mtime on read/write

aio: fix possible invalid memory access when DEBUG is enabled

Linux 3.4.44

mmc: core: Fix bit width test failing on old eMMC cards

ext4: fix online resizing for ext3-compat file systems

ext4: fix journal callback list traversal

jbd2: fix race between jbd2_journal_remove_checkpoint and ->j_commit_callback

nfsd4: don't close read-write opens too soon

Linux 3.4.45

kernel/audit_tree.c: tree will leak memory when failure occurs in audit_trim_trees()

tracing: Fix ftrace_dump()

drm/radeon: fix handling of v6 power tables

cpufreq / Longhaul: Disable driver by default

ext4: add check for inodes_count overflow in new resize ioctl

Linux 3.4.46

usermodehelper: check subprocess_info->path != NULL

fix NULL pointer dereference at 0000000000000198

KVM: VMX: fix halt emulation while emulating invalid guest sate

Linux 3.4.47

media: mantis: fix silly crash case

i2c: designware: always clear interrupts before enabling them

hwmon: fix error return code in abituguru_probe()

Linux 3.4.48

mac80211: close AP_VLAN interfaces before unregistering all

jfs: fix a couple races

mm: mmu_notifier: re-fix freed page still mapped in secondary MMU

wait: fix false timeouts when using wait_event_timeout()

Linux 3.4.49

ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE section

Linux 3.4.50

mm: migration: add migrate_entry_wait_huge()

swap: avoid read_swap_cache_async() race to deadlock while waiting on discard I/O completion

cciss: fix broken mutex usage in ioctl

Bluetooth: Fix mgmt handling of power on failures

drivers/rtc/rtc-twl.c: fix missing device_init_wakeup() when booted with device tree

3.4.42-XPerience-STK-10+

For Stock 4.4.3 or higher.

XPerience Gobernor

Faux sound

DT2W-S2W

Based on Stock Motorola's

msm: acpuclock: Fix acpuclk_get_rate

Dynamic management of dirty page writebacks, expire and cache pressure

Ext4 : Increase speed

drivers/video/msm/mdss/mdss_dsi_panel.c: add powersuspend …

Powersuspend 1.5

Optimizes SLUB

Added XPerience Gobernor some part are based on Smartassv2

ARM: add support for bit sliced AES using NEON instructions

arm/crypto: Add optimized AES and SHA1 routines

msm: kgsl: Schedule adreno_start in a high priority workqueue

Clenaed code

lowmemorykiller: Don't try to kill the same pid over and over

devfreq/governor_simpleondemand.c fix bug

arch: arm: vfp : Hardcoded and optimized on neon

Optimization for cortex-a7

cpufreq: interactive: Honor boosted state when entering idle

cpufreq: interactive: Use frequency dependent per cpu timings

arm: Add support for LZ4-compressed kernel

Fix ARM: 7587/1: implement optimized percpu variable access

ARM: 7746/1: mm: lazy cache flushing on non-mapped pages

net: loopback: set default mtu to 64K

STING_power: decrease the amount of time the device waits after entering low power mode to freeze processes. Testing phase at the moment

init: main: commented out ftrace_init() because I don't use ftrace for released kernels, only for my own debugging. Should save few ms during boot.

sync: don't block the flusher thread waiting on IO

ARM: Fix negative idle stats for offline cpu

Asynchronous Fsync: initial extraction of Async Fsync from HTC

f2fs:data: add AIO optimization …

Reduce Disk Writes With noatime, nodiratime noatime, nodiratime

drivers/devfreq/governor_simpleondemand.c Fix again (posible other bug)

drivers: usb: Use Android device as USB keyboard/mouse

stereo call recording support

jbd2: optimize jbd2_journal_force_commit

frandom

ARM: Allow CPU-supported unaligned accesses

#########################

#### MIUI ROM ###

#########################

3.4.104-XPerience-MIUI-18+

updated ramdisk

Fix some memory leaks [I can't fix a lot of memory leaks because is a CM based and cm are ****ty now]

Reverted OC No more placebo effect

Squashed commits of enhance power efficiency

ext4: Speedup WB_SYNC_ALL pass called from sync

ct406: Fix Prox sensor enable.

wake_timeout: increase delay to ensure panel is shut down properly

wake_timeout: don't disable wake functions if s2w and dt2w are disabl

3.4.104-XPerience-MIUI-17+

Updated ramdisk with improvements for miui

add some permissions for se_app context

added tomoyo security

lz4 ramdisk on miui

all of the later 17 version

fixed some memory leaks for miui

#########################

#### Custom ROM ###

#########################

3.4.104-XPerience-18+

Reverted OC No more placebo effect

Squashed commits of enhance power efficiency

ext4: Speedup WB_SYNC_ALL pass called from sync

ct406: Fix Prox sensor enable.

Intelli_plug updated to 3.8

Updates in the ramdisk

wake_timeout: increase delay to ensure panel is shut down properly

wake_timeout: don't disable wake functions if s2w and dt2w are disable

s2w/dt2w: Some implementations for make a usable in Deep sleep [on s2w reverted support of wake gestures only on s2w]

Klozz_hotplug [yeap Iknow xd I change the name later]

in spoiler how to configure it:

First need disable mpdecision and intelli_plug :

later put in therminal emulator:

#enable klozz_hotplug

echo "1" > /sys/kernel/klozz_hotplug/hotplug_enable

#you can set the max cores

maxcoreslimit by default use the 4 cores

maxcoreslimit_sleep by default use 1 core

min_cpus_online by default 1

echo "numofthemaxcore" /sys/kernel/klozz_hotplug/maxcoreslimit
ejem: echo "2" /sys/kernel/klozz_hotplug/maxcoreslimit
echo " 2" /sys/kernel/klozz_hotplug/maxcoreslimit_sleep
echo "2" /sys/kernel/klozz_hotplug/min_cpus_online

New governor: detailed info in spoiler

-- Adaptive

This driver adds a dynamic cpufreq policy governor designed for latency-sensitive workloads and also for demanding

performance.

This governor attempts to reduce the latency of clock increases so that the system is more responsive to

interactive workloads in loweset steady-state but to to reduce power consumption in middle operation level level up

will be done in step by step to prohibit system from going to max operation level.

-- AbyssPlug

'abyssplug' - this driver mimics the frequency scaling behavior in 'ondemand', but with several key differences. First is

that frequency transitions use the CPUFreq table directly, instead of incrementing in a percentage of the maximum

available frequency. Second 'abyssplug' will offline auxillary CPUs when the system is idle, and online those CPUs once the

system becomes busy again. This last feature is needed for architectures which transition to low power states when only

the "master" CPU is online, or for thermally constrained devices.

-- Alessa (My own gobernor Bugged for now :/)

#Dedicated to Stephanny Cooper :#

Based on ondemand less aggressive and more stable. A good compromise between performance and battery.

and ussable with my own hotplug

3.4.104-XPerience-17+

Linux kernel 3.4.104

Dt2w/s2w more sensitive

Add lcd notify

Add [WIP] Wake gestures [Need the Wake gestures app(XPosed module)]

ext2: Fix fs corruption in ext2_get_xip_mem()

slab/mempolicy: always use local policy from interrupt context

Option to disable touch wake with power button and prevent sleep

add support for wakelock on doubletap2wake/sweep2wake

Wake timeout

ARM: 8129/1: errata: work around Cortex-A15 erratum 830321 using dummy strex

added OC again

Overclocked RAM and Bus to 600mhz

Slimbus: Increase clock gear from 7 to 10

Ramdisk improvements