terça-feira, 28 de junho de 2016

Kernel AGNi pureMOTO v3.0 CM13/STOCK MM para Moto G 2015 - Osprey/Merlin




PRÉ-REQUISITOS
-Bootloader Desbloqueado
-Recovery Customizado (TWRP Recomendado)
Nota:  
Este kernel é para Moto G 2015 somente (OSPREY/MERLIN). Não instale em outros dispositivos. Este kernel só funciona em ROMs CM13/STOCK ROMs MM.

PRINCIPAIS CARACTERÍSTICAS
v3.0:
- Sync cm commits
- Implement 1.8 Ghz cpu + 650 Mhz gpu oc for osprey
- Enable USB-serial and USB-option support
- Msm: mdss: fix concurrency between add vsync handler and stop
- Mdss: lock the offlock mutex correctly
- Msm8916.dtsi: add qcom,fast-shutdown
- Various miscelleneous commits implemented
- GPU frequencies selectable by AGNi control

v2.9:
- Qpnp-vibrator/drv2605: add tunable to change methods for Stock & CM roms
- Fs/char_dev.c: remove pointless assignment from __register_chrdev_region()
- Workqueue: fix ghost PENDING flag while doing MQ IO
- ASoC: msm: audio-effects: misc fixes in h/w accelerated effect
- Cpu: Defer smpboot kthread unparking until CPU known to scheduler
- Cpu: Handle smpboot_unpark_threads() uniformly
- Add cm/stock method of vibrator working in agni control
- Added faux sound control options in agni control
- Msm: mdss: fix possible out-of-bounds and overflow issue in mdp debugfs
- Msm: camera: ispif: Validate VFE num input during reset
- Msm: kgsl: Cast perfcounter query count to an unsigned int
- Msm: kgsl: Add missing checks for alloc size and sglen
- ASoC: msm: audio-effects: fix stack overread and heap overwrite
- F2fs: set f2fs garbage collection thread as freezable

v2.8:
- AGNi Control script fixes and additions
- ARM: smp: add memory barrier before waking thread up
- Update zram,zbud,zsmalloc,zpool,zcomp,zswap from MMI-MPD24.107-52
- Clusterplug/thunderplug: write module exit information to enable unloading when used as modules

v2.7:
- Revert the previous zram updates
- Updates to lib/bitmap,idr,genalloc,sort,ratelimit,digsig,halfmd4, kfifo,lcm
- Usn & net commits
- Update lib/random32 and use e/frandom,prandom_u32 functions in many places
- Thunderplug: auto disable bcl hotplug when thunderplug is active by using the new hotplug_switch unable in bcl
- Fix derps in zzmoove
Introducing my AGNi Control app with supported scripts:
- Simplified settings at user's disposal! (more are to come)
- Each selection in this app is related to a particular script, which is moved to init.d and executed and User settings are preserved on boot by init.d
- On-The-Fly switching between thunderplug/clusterPlug/statehelper/No-hotplug options
- The app will lock some settings by read-only permissions, hence those are not changeable by other apps like 'Kernel Auditor', to have consistency of settings.

v2.6:
- Disable Memory Resource Controller Swap Extension
- Disable Memory Resource Controller Kernel Memory accounting
- Disable RCU boosting
- Disable SCHED_SMT
- Reworked the activation of selected hotplug-type and execution of agni's default settings on boot
- Set zram max_comp_streams: merlin=1
- Selinux: disable enforcing mode and set permanent permissive (solves all osprey settings issues, and - Some merlin permission denials as well)
v2.5:
- Enable Zsmalloc's PGTABLE_MAPPING
- Enable Memory Resource Controller Swap Extension
- Enable Memory Resource Controller Kernel Memory accounting
- Enable Optimize very unlikely/likely branches (JUMP_LABEL)
- Enable VMALLOC_SAVING
- Disable NO_VM_RECLAIM
- Disable MMC_PERF_PROFILING
- Disable LOCKUP_DETECTOR
- Disable DEBUG_MUTEXES
- Disable DYNAMIC_DEBUG
- Netfilter: x_tables: check for size overflow
- Set touchboost frequency to 800Mhz for cpu0 (merlin)
- Set swappiness=60
- Set zram sizes: merlin=600MB, osprey=400MB
- Set zram max_comp_streams: merlin=3, osprey=1

v2.4:
- Add support for GCC 6.0 and switch to UBERTC gcc-6.0-arm-eabi toolchain
- Includes my new compiled busybox [BusyBox v1.25.0_AGNi_kernel->psndna88@xda (2016-05-17 21:51:16 IST)]
- ppp: take reference on channels netns
- Squash commit: update zram & zsmalloc
- Changed thunderplug threshold
- Enable filesystem-sync on suspend & fix ak09912 sensor (osprey)
- Zram size change (osprey 300MB)

v2.3:
- Update Adreno graphics driver
- Zram size changes (merlin: 450MB, osprey 200MB)

v2.2:
- (focused on multitasking apps user experience)
- Sync cm sources (ALSA leak fixes)
- Ion: adjust system heap pool orders
- Mm: adjust page migration heuristic
- Enabled CONFIG_RCU_BOOST, CONFIG_MEMCG & disabled CONFIG_RMNET_DATA_DEBUG_PKT
Zram size and parameters tweaked

v2.1:
- (Focused on cpu tuning)
- Sync cm kernel sources
- Update cpu boost driver
- Lib: align source before using optimized implementation
- Video: Speed up console framebuffer imageblit function
- Rcu: Don't disable CPU hotplug during OOM notifiers
- Cpufreq: interactive changes
- Selinux: add security in-core xattr support for esdfs,f2fs,exfat
- Char: msm_smd_pkt: Reduce log severity of signals
- Lib: do_strncpy_from_user: Fix return error code for get_user failures
- Disabled some debugging
- Enable arm crypto crc32 support
- Enable cleancache
- Removed ksm for good
- Modified min cpufreq, thunderplug, interactive, adreno idler tunables
- Screen off wil force single-core mode, makes no difference to music playback
- Kernel tunable apps are not actually required as I have already tuned this for various types of workloads
(do not enable "set on boot" in kernel auditor for all sections before using this, else you may not get the modified tunables)

v2.0:
- (cummuative changelog)
- Arm cortex-a53 optimisation
- Wifi prima: update to LA.BR.1.2.7_rb1.5
- Cpufreq: Implement lionfish governor
- Cpufreq: Implement ZZMOOVE v1.0 beta 8 governor for snapdragon
- Drivers/usb/gadget: Implement usb keyboard/mouse role on android [SEE BELOW]
- Add support for ARMv8 crypto SHA1,SHA2,AES
- Various ARM updates
- Updates for lib:zlib_deflate, lib:crc32, lib:bitmap
- Block: CFQ updates and modifications
- Adaptation of zzmoove for osprey/merlin/lux
- Msm8916,msm8939: mild undervolted
- Fs: exfat updated to v1.2.19
- Drivers/cpufreq: Implement smartmax cpu governor
- Usb: add usb fast charge
- Msm8916: gpu: Add 465 MHz max & 100 Mhz min frequency (osprey)
- Msm8939: gpu: Add 100 Mhz frequency (merlin)
- Implement adreno idler
- Drivers/char: Implement frandom v1.1
- Added optimized ARM RWSEM algorithm.
- Implement DT2W (double tap to wake)
- Implement state notifier driver
- Implement state_helper (osprey)
- Implement Thunderplug
- Block: Add SIO I/O scheduler
- Cpufreq: Add Impulse governor
- Cpufreq: Add ElementalX governor without gboost (osprey)
- Msm8916: Implement CPU OC to 1.4 GHz (osprey)
- Enable module building for thunderplug, state helper, cluster plug selectable in the installer (avoids - Reboots due to conflicts)
- Selected hotplug-type module is loaded at boot by init.d
- Made quadcore adpatibility for thunderplug (osprey)
- Update sony xpad driver
- Mm: Optimize SLUB
- Implemented Faux123 sound control GPL v3.6 (untested)
- Highly modified installer, patches the ramdisk while installation, uses my own busybox
init.d scripts execution independent on rom's support
- BCL: config handle enable/disable BCL hotplug of CPUs (disabled BCL hotplug for merlin)
- Option in installer to turn off BCL completely (merlin)
- State_helper: Follow reverse sequence to online offline cores (osprey)
- Lowmemorykiller: Don't count swap cache pages twice
- Enable KSM support, disabled by default
- Enable advanced tcp/ip cogestion, default westwood
- Powersuspend: new PM kernel driver for Android w/o early_suspend
- Cpufreq: Persist governor policies across hotplug
- Video: mdss: squash commit updates, including MDSS color control
- Video: mdss: Cyanogenmod LiveDisplay driver (needs rom support)
- Msm: msm_bus: remove the buspm module from kernel
- Mm: improve migration heuristic
- ALSA: usb-audio: avoid freeing umidi object twice
- Msm8939/dts: keep gpu to lowest frequency on screen suspended (be cool on screen off) [merlin]
..........................................................................................................
v1.0:
- Initial plain build

v1.1:
- Arm cortex-a53 optimisation
wifi prima: update to LA.BR.1.2.7_rb1.5
cpufreq: Implement lionfish governor
cpufreq: Implement ZZMOOVE v1.0 beta 8 governor for snapdragon
drivers/usb/gadget: Implement usb keyboard/mouse role on android SEE BELOW
v1.2:
- Add support for ARMv8 crypto SHA1,SHA2,AES
various ARM updates
updates for lib:zlib_deflate, lib:crc32, lib:bitmap
various kernel scheduler updates
block: CFQ updates and modifications
cpufreq: Attempt adaptation of zzmoove for osprey/merlin/lux
msm8916,msm8939: mild undervolted
v1.3:
- Cpufreq: adaptation of zzmoove for osprey/merlin/lux - PART 2
Switch toolchain gcc-linaro-5.3-2016.02_armv8l-gnueabihf and set -march=armv8-a
fs: exfat updated to v1.2.19
video: mdss: squash commit updates, including MDSS color control -all credits to respective authors
cpufreq:adaptation of zzmoove for osprey/merlin/lux - PART 3

v1.4:
- Drivers/cpufreq: Implement smartmax cpu governor
Implement power-efficient workqueues
usb: add usb fast charge
msm8916: gpu: Add 465 MHz max & 100 Mhz min frequency (osprey)
msm8939: gpu: Add 100 Mhz frequency (merlin)
Implement adreno idler
drivers/char: Implement frandom v1.1
drivers/char: random updates
lib/random32 updates
fs: ext4: use e/frandom, do not deplete entropy
Added optimized ARM RWSEM algorithm.
Implement DT2W (double tap to wake)
Writeback: Fix occasional slow sync

v1.5:
- Revert "Power efficient workqueues"
fs/buffer.c: increase the buffer-head per-CPU LRU size
add msm_hotplug driver
Implement state notifier driver (osprey)
Implement state_helper (osprey)

v1.6:
- Implement Thunderplug (merlin)
block: Add SIO I/O scheduler
cpufreq: Add Impulse governor & ElementalX governors [tuned for merlin/osprey]
msm8916: Implement CPU OC to 1.4 GHz (osprey)

v1.7:
- Enable module building for thunderplug, state helper, cluster plug selectable in the installer (avoids reboots due to conflicts)
Selected hotplug-type module is loaded at boot by init.d
Made quadcore adpatibility for thunderplug (osprey)

v1.8:
- Update sony xpad driver
Implemented Faux123 sound control GPL v3.6 (untested yet)
cpufreq: add Barry allen governor
Highly modified installer, patches the ramdisk while installation, uses my own busybox
init.d scripts execution independent on rom's support

v1.8_r2:
- BCL: config handle enable/disable BCL hotplug of CPUs (disabled BCL hotplug for merlin)
option in installer to turn off BCL completely (merlin)
state_helper: Follow reverse sequence to online offline cores (osprey)

v1.9:
- (COOL DOWN)
cpufreq: remove gboost from ElementalX
Revert: "PM / Wakeup: Use rcu callbacks for better performance"
sched/fair: Fix fairness issue on migration
lowmemorykiller: Don't count swap cache pages twice
Remove Barry allen governor
drivers/devfreq: make adreno idler & msm_adreno_tz work properly with state_notifier
enabled state notifier (merlin)
msm8939/dts: keep 220 MHz gpu frequency as default minimum (merlin)
enable KSM support, disabled by default
enable advanced tcp/ip cogestion, default westwood
enable zbud

INSTALAÇÃO: 
  1. Baixe o Kernel e coloque na memória interna ou sd card;
  2. Renicie seu aparelho em modo recovery e faça: Não há necessidade de fazer "Wipe Cache & Dalvik", mas se preferir fica a seu critério;
  3. Clique em "Install" procure o arquivo zip do Kernel e selecione-o;
  4. Confirme o flash e após a instalação ser finalizada faça: "Wipe Cache & Dalvik" novamente e reinicie o aparelho.

5 comentários:

Drivers USB Necessários!