[KERNEL][CyanogenMod][12.1 +] RenKernel

  • Auteur de la discussion kyo-ito
  • Date de début
kyo-ito

kyo-ito

Membre
Inscrit
5 Mai 2012
Messages
9 692
Points
36
  • #1






CM12.1 +



Avertissement : Cette opération comporte des risques. Phonandroid ne peut être tenu responsable des éventuels problèmes rencontrés. Pensez à effectuer une sauvegarde avant d'installer le Kernel.



Merci à
S'il vous plaît, Connexion ou S'inscrire pour voir le contenu ou les urls !
Source
S'il vous plaît, Connexion ou S'inscrire pour voir le contenu ou les urls !






Code:
S'il vous plaît, Connexion ou S'inscrire to view codes content!



v1.1 Update Ramdisk new Rox Rom

v1.2 add news Features:

CONFIG_INTELLI_PLUG=y
CONFIG_LAZYPLUG=y
CONFIG_POWERSUSPEND=y
CONFIG_FORCE_FAST_CHARGE=y
CONFIG_FRANDOM=y
CONFIG_KERNEL_MODE_NEON=y
CONFIG_ALLOW_CPU_ALIGNMENT=y

v1.3 add news Features:

CONFIG_SOUND_CONTROL_HAX_3_GPL=y
For Faux SOUND CONTROL Use Trickster Mod or Kernel Adiutor
Pics Sound Control
CONFIG_INTELLI_THERMAL_V2=y
CONFIG_STATE_NOTIFIER=y

v1.4 add news Features:

Update TCP Schedulers and I/O schedulers

v1.5 add news Features:

Update Governors and I/O schedulers
CONFIG_CPU_FREQ_GOV_INTELLIMM=y
CONFIG_IOSCHED_TRIPNDROID=y
CONFIG_IOSCHED_ZEN=y
CONFIG_IOSCHED_VR=y

v1.6 add news Features:

Compress kernel in XZ ( minor size )
Add ADRENO_IDLER work with MSM_ADRENO_TZ
Add GPU governors SIMPLE_ONDEMAND

v1.7 fix clock bug:

Fix a bug in acpuclock-8226.c

cm-13.0 V1.0 add news Features:

Add new Governors for CPU:
SMARTASS2, WHEATLEY, SMARTMAX ,INTERACTIVE
update ZZMOOVE and PEGASUSQPLUS
(build finally) CONFIG_RWSEM_XCHGADD_ALGORITHM=y
fix some bug compilation... and more I don't remember...

cm-13.0 v1.1 add news Features:

Add new Governors for CPU:
NIGHTMARE, CONSERVATIVEX, BIOSHOCK, DARKNESS,
BLUACTIVE, INTELLIDEMAND, DANCEDANCE and LIONHEART
Chance CROSS_COMPILE:
arm-cortex_a8-linux-gnueabi-linaro_4.9.4-2015.06
Fix screen lost setting.

cm-13.0 v1.2 add news Features:

Chance CROSS_COMPILE:
Use linaro_4.9.4-2015.06 arm-cortex_a15

On power off charge, phone not restart but visual percent not work ;(

Disable totally "Samsung Debugging Feature" SEC_DEBUG

Add CONFIG_IKCONFIG_PROC=y for enable /proc/config.gz

Optimize # Networking options:
**************************************
CONFIG_XFRM_SUB_POLICY=y
CONFIG_XFRM_MIGRATE=y
CONFIG_XFRM_STATISTICS=y
CONFIG_NET_KEY_MIGRATE=y
CONFIG_IP_MROUTE=y
CONFIG_IP_PIMSM_V2=y
CONFIG_INET_LRO=y
CONFIG_IPV6_TUNNEL=y
**************************************

CONFIG_NO_VM_RECLAIM=y
Select the method of reclaiming virtual memory

Added kernel caf features:

CONFIG_MMC_MSM_RAW
This provides support for dumping the kernel log buffer to a raw
MMC partition in the event of a kernel panic using the SD/MMC cell
found in the MSM and QSD SOCs from Qualcomm.

CONFIG_BOOTINFO
This feature provides access to certain boot information
from both kernel context (via function call) and user
context (via /proc/bootinfo).

config APANIC_MMC
Driver which handles kernel panics and attempts to write
critical debugging data through mmc.

config APANIC_MMC_MEMDUMP not set
Driver which handles kernel panics and attempts to write
full memory dump through mmc.

config APANIC_PLABEL
default "krenix"
If your platform uses a different flash partition label for storing
crashdumps, enter it here.
***********************************************
***********************************************
cm-13.0 v1.3 add news Features:
Delete ( fix reset clock sorry )
***********************************************
***********************************************
cm-13.0 v1.4 add news Features:
fix reset clock sorry...
***********************************************
***********************************************
Initial port of 'kernel caf'

Substituite dirs sources from kernel caf. :)
'/drivers/crypto/msm'
'/arch/arm/kernel'
'/arch/arm/common'
'/drivers/char/hw_random'

Pass Antutu Benchmark v5.7.2
ZRAM point: 21430
ZSWAP point: 21544

Undecided whether it is better 'ZSWAP' or 'ZRAM'
Please you decide you...
otherwise I do double version.

Disable 'ZSWAP'

CONFIG_FRONTSWAP=y
# CONFIG_ZSMALLOC_NEW is not set
# CONFIG_PGTABLE_MAPPING is not set
# CONFIG_ZSWAP is not set

Enable 'ZRAM' speed ram is slow with zram.
Use FauxClock (more options) on menu Memory Manager
or Kernel Adiutor on menu Virtual Memory:

find ZRAM and use 100MB or more...
Or Setup in /sys/zram0 'disksize' yea!!!

CONFIG_ZRAM=y
Creates virtual block devices called /dev/zramX (X = 0, 1, ...).
Pages written to these disks are compressed and stored in memory
itself. These disks allow very fast I/O and compression provides
good amounts of memory savings.

It has several use cases, for example: /tmp storage, use as swap
disks and maybe many more.

See zram.txt for more information.
Project home: <https://compcache.googlecode.com/>

CONFIG_ZRAM_LZ4_COMPRESS=y
This option enables LZ4 compression algorithm support, instead
of the default LZO. LZ4 may be faster on some architectures
compared to LZO compression.

See
S'il vous plaît, Connexion ou S'inscrire pour voir le contenu ou les urls !
for more information about LZ4.

# CONFIG_ZRAM_DEBUG is not set

config ZSWAP
bool "In-kernel swap page compression"
depends on FRONTSWAP && CRYPTO
select CRYPTO_LZO select ZSMALLOC_NEW
Zswap is a backend for the frontswap mechanism in the VMM.
It receives pages from frontswap and attempts to store them
in a compressed memory pool, resulting in an effective
partial memory reclaim. In addition, pages and be retrieved
from this compressed store much faster than most tradition
swap devices resulting in reduced I/O and faster performance
for many workloads.

CONFIG_ZSMALLOC=y
zsmalloc is a slab-based memory allocator designed to store
compressed RAM pages. zsmalloc uses virtual memory mapping
in order to reduce fragmentation. However, this results in a
non-standard allocator interface where a handle, not a pointer, is
returned by an alloc(). This handle must be mapped in order to
access the allocated space.

Enable 'LZ4' for ZRAM.

CONFIG_LZ4_COMPRESS=y
CONFIG_LZ4_DECOMPRESS=y
# CONFIG_RD_LZ4 is not set
CONFIG_DECOMPRESS_LZO=y
CONFIG_DECOMPRESS_LZ4=y

CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_MISC_DYNAMIC_MINORS=96
update "SMPI PMIC RTC driver"

Enable also:

CONFIG_PROC_DEVICETREE=y
This option adds a device-tree directory under /proc which contains
an image of the device tree that the kernel copies from Open
Firmware or other boot firmware. If unsure, say Y here.

Improve also # Kernel hacking :
CONFIG_LOCKUP_DETECTOR=y
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=1
CONFIG_DO_EXIT_WDOG=y
CONFIG_DO_EXIT_WDOG_TIMEOUT=900
CONFIG_DEBUG_SET_MODULE_RONX=y
CONFIG_MODULE_EXTRA_COPY=y
Keep an extra copy of the module code while the module is loading.
This extra copy contains the raw, unlinked code. It is freed after
the module's initialization function has finished loading. This
option is useful if you want to make a self-contained
FIPS-140-compliant module which must check its own integrity.
CONFIG_MODULE_WHITELIST >>>>> not work ;(

***********************************************
***********************************************
New Version v1.5 zswap zram
***********************************************
***********************************************
Update '/arch/arm/mach-msm/msm_bus' from caf kernel

Add 4 news governors:

SMARTASS2
A smart cpufreq governor
ONDEMANDPLUS
Use the CPUFreq governor 'ondemandplus' as default. This allows
you to get a full dynamic frequency capable system by simply
loading your cpufreq low-level hardware driver.
Be aware that not all cpufreq drivers support the ondemandplus
governor. If unsure have a look at the help section of the
driver. Fallback governor will be the performance governor.
DANCEDANCE
A dynamic cpufreq governor for
Low Latency Frequency Transition capable processors
optimised for use in a battery environment
Modified code based off conservative with a faster
deep sleep rate.
YANKACTIVE
A cpufreq governor for Latency sensitive workloads.

ZSWAP parameters:

in '/sys/modules/zswap/parameters'
**********************************
max_compression_rate = 80 default
max_pool_percent = 20 default
**********************************

***********************************************
***********************************************
New Version v1.6 zswap zram
***********************************************
***********************************************

Fix Front Camera...

***********************************************
***********************************************
New Version v1.7 zswap zram
***********************************************
***********************************************
Update to last Rox rom cm-12.1 build ( tested )
and sources kernel cm-13.0... (today now)

Fix 'front camera' in update port kernel caf sources '/arch/arm/kernel'.
Update ** SOC Info Routines ** (socinfo.c caf)

update memory managment from kernel caf:
ipc_router.c
ipc_socket.c
smd_pkt.c
smd_tty.c
bam_dmux.c
smp2p.c
smd.c
smem.c
subsystem_restart.c
ipc_logging.c
ipc_logging.h
msm_smem.h
msm_ipc_logging.h
subsystem_restart.h

Fix governors:

PERFORMANCE
POWERSAVE
ONDEMAND
ONDEMANDPLUS
INTERACTIVE
CONSERVATIVE
ZZMOOVE
INTELLIMM
ALUCARD
INTELLIACTIVE
PEGASUSQ
PEGASUSQPLUS
SMARTASS2
WHEATLEY
SMARTMAX
YANKACTIVE
CONSERVATIVEX
NIGHTMARE
DARKNESS
BIOSHOCK
BLUACTIVE
IMPULSE
DANCEDANCE
LIONHEART
LAGFREE
ABYSSPLUGV2
ELEMENTALX
BADASS
INTELLIDEMAND
ONDEMANDX
HYPER
***********************************************
***********************************************
New Version v1.8 zswap zram
***********************************************
***********************************************
Fix Hardware msm8226
Fix battery drain

***********************************************
***********************************************
New Version v2.0 zswap zram
***********************************************
***********************************************
Fix ALL :cool:
Fix zram and intellitermalV2 too
Problem with RR 5.5.8 (please update to Rom's Rox last build or RR 5.5.9 )

***********************************************
***********************************************
New Version v2.1 for RR 5.5.9 and Rom's Rox last build
update Adreno driver from kernel 3.4.108 experimental

Add version kernel 2.0 for Rom RR558 and old rom Rox.
***********************************************
***********************************************

New Version v2.2 for RR 5.5.9 and Rom's Rox last build
Patch take of CyanogenMod 13, ROM for the Moto G 2015


drivers: /drivers/mmc/core/core.c

mmc: disable software CRC checks for 30% performance
/*
* Enabling software CRCs on the data blocks can be a significant (30%)
* performance cost, and for other reasons may not always be desired.
* So we allow it to be disabled.
*/
bool use_spi_crc = 0;
module_param(use_spi_crc, bool, 0644);
**********************************************************************
**********************************************************************
Kernel v2.3

Build with 'The SaberMod Project' 20150804

+ CONFIG_BLU_PLUG=y
The Dynamic hotplug driver automatically online/offline CPUs proportional to system load.

Enable setting security contexts on rootfs inodes.

+ CONFIG_UID_CPUTIME=y
Per UID based cpu time statistics exported to /proc/uid_cputime

**********************************************************************
**********************************************************************
Kernel v2.4

News: Build with Toolchains SaberMod 4.9 with a15, vfpv4 optimizations and Google GCC
arm-eabi-gcc (GCC) 4.9.x-sabermod 20150828 (prerelease) so
CONFIG_ARM_UNWIND=y enable for Cortex-a7.

Update "force fast charge" Port to Nexus 5
and fix in /drivers/usb/otg/msm_otg.c

Add "Support for xor-neon"

Fix some gorvernors.
Active disable software CRC
Active Blu Plug (if you wont disable Intelliplug with Kernel Adiutor)

**********************************************************************
**********************************************************************
Kernel v2.5

Build Full -O3
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
KBUILD_CFLAGS += -O3

revert - mmc: disable software CRC checks -

+CONFIG_CPU_FREQ_GOV_SMARTMAXMOD=y
Add governor SMARTMAXMOD with powersuspend

Networking options CONFIG_XFRM all

Update from kernel v3.4.109:

update /drivers/platform/msm

+CONFIG_USR_RESET_WARNING=y
This option enables a device driver that monitors user reset warning
GPIO.If the driver receives the warning it calls kernel_halt to notify
drivers registered for the reboot notification about incoming HW reset.

+CONFIG_DROPBOX=y (this is usefull)
This option enables a sysfs interface for drivers to send text or
binary events to the Android dropbox. A lightweight userspace daemon
polls the sysfs files and copies the data into dropbox using the built
in dropbox manager service. This enables fast and simple logging of
various critical events from kernel drivers.

+CONFIG_HOB_SHARED_RAM=y
Provide mechanism to access hob storage shared memory on apps
processor. HOB - or the Hand Over Block - is the staging area for
phasing data.

+CONFIG_ALSA_TO_H2W=y (this is usefull)
This option enables a device driver that attach to the input queue and
and exposes EV_SW events SW_HEADPHONE_INSERT & SW_MICROPHONE_INSERT in
/sys/class/switch/h2w/state used by Android headset observer.

patch from kernel caf:
ARM: dts: msm: add blink support for GPLED
msm8974-leds.dtsi
**********************************************************************
**********************************************************************
Kernel v2.7
Completely rewritten with last Rox kernel
Clean from useless things
Fix crash in make video
Removed Blu Plug
**********************************************************************
**********************************************************************



● Un Galaxy S3 Neo (GT-I9301i)
● Un Custom Recovery - - - -> TWRP



* Under-volter peut être cause d'instabilité

* Over-clocker peut être cause de freeze/reboot, d'échauffement & de dommage pour le CPU, GPU ou l'hardware




  1. Téléchargez le Kernel
  2. Copiez la dans le Neo
  3. Redémarrez en mode Recovery
  4. Faites les Wipes : Cache, Dalvik / Art
  5. Selectionnez le fichier zip et lancez l'installation
  6. Redémarrez


Utilsez
S'il vous plaît, Connexion ou S'inscrire pour voir le contenu ou les urls !
pour les réglages.




S'il vous plaît, Connexion ou S'inscrire pour voir le contenu ou les urls !

S'il vous plaît, Connexion ou S'inscrire pour voir le contenu ou les urls !



Un grand merci à frednoak pour ses bannières.


Vos retours sont les bienvenus
 
L

lohanbarth

  • #2
Merci pour le partage :merci:
 
kyo-ito

kyo-ito

Membre
Inscrit
5 Mai 2012
Messages
9 692
Points
36
  • #3
Avec plaisir :smile:
 
Haut Bas