Il Forum è consultabile solo in modalità lettura. Per domande o consigli iscriviti al nostro GRUPPO FACEBOOK / COMMUNITY cliccando qui

[KERNEL] [3.4.x][LP] K^Kernel 3.4.x per Lollipop ION+PMEM ADSP REL 04/04/2015

Discussione in 'Modding - Samsung Galaxy S Plus (i9001)' iniziata da pierm, 19 Apr 2015.

  1. pierm

    pierm Silver Droid

    Iscritto:
    29 Ago 2013
    Messaggi:
    2.167
    "Mi Piace":
    741
    [​IMG]


    In questo thread potrete trovare il mio custom kernel 3.4.x per rom Lollipop 5.0 (CM 12.0 e derivate) che usano allocazioni di memoria ION+PMEM ADSP.
    Naturalmente, i vostri pareri, come sempre, sono i benvenuti e sicuramente preziosi.


    Le principali caratteristiche sono le seguenti:
    - Kernel 3.4.x
    - Kernel basato sul branch kk_2.7-stable del Code Aurora Forum
    - Sorgenti sincronizzati con il branch cm-12.0 dell'ADC Team
    - Compilato con la mia custom toolchain Linaro 4.9.3-2015.03 ottimizzata per Cortex-A8
    - Uso dei flag di compilazione ottimizzati per Cortex-A8 e NEON VFP (sia per il kernel che per i moduli)
    - Uso dell'ottimizzazione -O3 (sia per il kernel che per i moduli)
    - CPU overclockabile fino a 1824 MHz
    - Undervolting standard delle frequenze della CPU (versioni UV) o undervolting estremo (versioni EXUV)
    - CPU voltage control VDD sys interface (click per maggiori dettagli)
    - Allocazione dinamica della memoria per gli heap ION attraverso CMA (Contiguous Memory Allocator)
    - Allocazione dinamica della memoria per lo heap PMEM ADSP attraverso CMA (Contiguous Memory Allocator)
    - Circa 426MB di RAM libera
    - Init.d
    - Fast Charge (default disabilitato, click per maggiori dettagli)
    - Battery Life eXtender (default disabled, click per maggiori dettagli)
    - Ram Console (click per maggiori dettagli)
    - Backlight Notification v10 (BLNv10) (click per maggiori dettagli)
    - USB OTG (se supportato dalla rom)
    - Intensità della vibrazione personalizzabile (click per maggiori dettagli)
    - Diminuito il voltaggio del display panel
    - Diminuito il voltaggio del touchscreen
    - Diminuito il voltaggio del wifi
    - Abbassato il valore di swappiness (60 -> 45)
    - Aumentata la frequenza della CPU in fase di boot
    - Routine ottimizzate AES e SHA1 per cpu con architettura ARM
    - 100% battery notification al termine della fase di carica (rimozione del caricatore)
    - Aumentata la potenza audio
    - Con Kolivas' CK3 Tweaks
    - Ottimizzazione SLUB memory allocator
    - Ottimizzazione algoritmo ARM RWSEM (read/write semaphore)
    - Ottimizzazione asynchronous I/O latency per le sd card
    - Libs string e memcopy ottimizzate
    - Disabilitati i Gentle Fair Sleepers per migliori performance dell'interfaccia utente
    - Supporto modulo CIFS al boot
    - Memory compaction
    - Compressione dinamica delle pagine pagecache libere
    - Nuovi driver per il display presi dal Samsung Galaxy SII
    - Aggiornamenti e modifiche al sensore della luminosità del display
    - Phantom key presses filter (nuovo modulo per il filtro di pressioni "fantasma", click per maggiori dettagli)
    - Dynamic FSync v1.2 (click per maggiori dettagli)
    - Dynamic dirty page writebacks (click per maggiori dettagli)
    - Modifiche ai parametri della VM per migliori performance e riduzione dei consumi
    - Modificati i parametri del LowMemoryKiller per migliori performance
    - Timeout personalizzabile dei touchkey luminosi dopo la pressione dei pulsanti o del touchscreen (click per maggiori dettagli)
    - Possibilità di attivare/disabilitare la retroilluminazione dei touchkey luminosi in caso di pressioni sul touchscreen (click per maggiori dettagli)
    - Timer slack controller (click per maggiori dettagli)
    - Gestione dinamica del minimo timer slack durante il suspend/resume (click per maggiori dettagli)
    - Gestione dei processi da non essere terminati da parte del LowMemoryKiller (click per maggiori dettagli)
    - Supporto filesystem F2FS e exFAT
    - Algoritmi di TCP Congestion aggiuntivi
    - Modulo ZRAM aggiornato

    Governor CPU disponibili:
    - Adaptive
    - BrazilianWax
    - Conservative
    - Hyper
    - Intellidemand
    - Interactive
    - InteractiveX
    - LionHeart
    - LulzActive
    - OnDemand (default)
    - OnDemandX
    - Performance
    - Powersave
    - SmartAssV2

    Scheduler I/O disponibili:
    - BFQ
    - CFQ
    - Deadline
    - Fiops
    - Noop
    - ROW (default)
    - SIO
    - V(R)


    Download kernel per Lollipop ION+PMEM ADSP:

    K^Kernel LP-5.0 Mediafire Folder

    [​IMG]

    - v4.5 -
    per ADC CM 12.0
    e le altre rom basate su questa CM 12.0
    Nota: E' necessario usare la nuova recovery TWRP disponibile all'interno del thread ADC CM 12.0



    Come installare il kernel:
    1) Download dello zip della versione preferita del kernel nella sdcard interna o esterna
    2) Reboot in recovery
    3) Flash del file compresso
    4) Reboot del sistema

    Sorgenti del kernel (su GitHub):


    Informazioni utili:
    - Special features and sysfs settings
    - Frequently asked questions
    [​IMG]


    Risorse aggiuntive:
    Per ulteriori dettagli sulle funzionalità del kernel, la customizzazione di alcune di esse e altre utili info, vi invito a consultare anche il relativo thread su XDA:


    Crediti e ringraziamenti a:
    arco68, CastagnaIT and ivendor per il loro fantastico ed eccezionale lavoro e i loro sorgenti del kernel
    Ezekeel, Doomlord, Faux123, Stratosk, Tegrak, ErasmuX, Imoseyon, Blefish, mikeioannina e altri dev che starò sicuramente dimenticando
    CyanogenMod, Kernel.org, Code Aurora Forum, Google, Linaro GCC developers
    KTulu, Rhonin86, Smeroni68, XeLLaR* per il loro supporto in fase di test
    Sament83, B1tt1, Dellup, Pierm, Leonbeson, Cippoz89, Marco Z., Rhonin86, modog, Ludovic D. per le loro donazioni
     
  2. pierm

    pierm Silver Droid

    Iscritto:
    29 Ago 2013
    Messaggi:
    2.167
    "Mi Piace":
    741
    Changelog:
    Codice:
    [B]04/04/2015 - K^Kernel 3.4 v4.5 for Lollipop ION+PMEM ADSP[/B]
    - Built with my latest custom Linaro 4.9.3-2015.03 toolchain optimized for Cortex-A8
    - msm: camera: Increased MAX_PMEM_CFG_BUFFERS (credits to sirmordred)
    - Revert "msm_fb: Fix backlight issue on ancora and ancora_tmo" (credits to sirmordred)
    - nl80211: Correct the usage of command NL80211_CMD_VENDOR (credits to Sunil Dutt)
    - nl80211: Fix backport of struct wiphy_vendor_command (credits to Jeff Johnson)
    - fs/proc/task_mmu.c: add user-space support for resetting mm->hiwater_rss (peak RSS) (credits to Petr Cermak)
    - Set the iif for IPv6 packets as well. (credits to Lorenzo Colitti)
    - net: ipv6: make "ip -6 route get mark xyz" work. (credits to Lorenzo Colitti)
    - diag: Make fixes to diag_switch_logging (credits to Ravi Aravamudhan)
    - seq_file: always update file->f_pos in seq_lseek() (credits to Devin Kim)
    - cgroup: remove synchronize_rcu() from cgroup_attach_{task|proc}() (credits to Devin Kim)
    - vfs: check if f_count is 0 or negative (credits to Shengzhe Zhao)
    - msm_fb: Fix GC & IGC LUT (credits to Blefish)
    - msm_fb: Enable MDP4 IGC LUT (credits to Blefish)
    - msm_fb: Add KCAL interface (credits to Blefish)
    - drivers: Updated vibrator driver (credits to sirmordred)
    - msm: camera: Updated ledflash driver (credits to sirmordred)
    - Revert "drivers: usb: Use Android device as USB keyboard/mouse" (credits to sirmordred)
    - drivers: video: ancora: Fixed indentation and cleaned up whitespaces (credits to sirmordred)
    - mmc: core: Increased timeout limits to improve handling of bad sd cards (credits to sirmordred)
    - drivers: input: melfas: Add keydisabler (credits to sirmordred)
    
    [B]02/03/2015 - K^Kernel 3.4 v4.0 for Lollipop ION+PMEM ADSP[/B]
    - Built with my latest custom Linaro 4.9.3-2015.02 toolchain optimized for Cortex-A8
    - USB: android: release spinlock before queuing work in android_setup (credits to Tarun Gupta)
    - usb: gadget: Ignore the second set_config from the host (credits to ChandanaKishori Chiluveru)
    - usb: android: Skip the work when set_config arrives with same value twice (credits to ChandanaKishori Chiluveru)
    - usb: android: Fixup multiple lun support (credits to arco68)
    - msm: camera: s5k4ecgx: Set mount angle from platform data (credits to sirmordred)
    - USB: gadget: qdss: Fix strncmp length usage (credits to Kumar Gala)
    - usb: android: Print LUN debug info (credits to Christopher83)
    
    [B]09/02/2015 - K^Kernel 3.4 v3.5 for Lollipop ION+PMEM ADSP[/B]
    - Kernel 3.4.106
    - Built with my latest custom Linaro 4.9.3-2015.01 toolchain optimized for Cortex-A8
    - selinux: fix inode security list corruption (credits to Stephen Smalley)
    - ipv4: try to cache dst_entries which would cause a redirect (credits to Hannes Frederic Sowa)
    
    [B]01/02/2015 - K^Kernel 3.4 v3.0 for Lollipop ION+PMEM ADSP[/B]
    - Kernel 3.4.105
    - Built with my latest custom Linaro 4.9.3-2015.01 toolchain optimized for Cortex-A8
    - defconfig: Back to enforced SELinux (credits to Christopher83)
    - staging: android: ashmem: add missing include (credits to Rom Lemarchand)
    - net: wireless: bcmdhd: Remove WLAN_CIPHER_SUITE_AES_CMAC advertisement (credits to Dmitry Shmidt)
    - gpu: ion: Refactor locking (credits to Srinivasarao P)
    - gpu: ion: use a list instead of a tree for heap debug memory map (credits to Srinivasarao P)
    - gpu: ion: fix locking issues in debug code (credits to Mitchel Humpherys)
    - gpu: ion: add locking to traversal of volatile rb tree (credits to Srinivasarao P)
    - gpu: ion: Delete invalid extra file (credits to Pradosh Das)
    - drivers: video: msm: Cleanup some dead codes (credits to sirmordred)
    - lz4: Revert previously applied commits (credits to Christopher83)
    - decompressor: add LZ4 decompressor module (credits to Kyungsik Lee)
    - lib: add support for LZ4-compressed kernel (credits to Kyungsik Lee)
    - lib: add lz4 compressor module (credits to Chanho Min)
    - lib/lz4: correct the LZ4 license (credits to Richard Laager)
    - lz4: fix compression/decompression signedness mismatch (credits to Sergey Senozhatsky)
    - lz4: ensure length does not wrap (credits to Greg Kroah-Hartman)
    - lz4: fix another possible overrun (credits to Greg Kroah-Hartman)
    - lz4: add overrun checks to lz4_uncompress_unknownoutputsize() (credits to Greg Kroah-Hartman)
    - Update zram and zsmalloc up-to 3.17 kernel changes (credits to sirmordred)
    - msm7x30: Remove high memory configurations (credits to Christopher83)
    - msm7x30: Change all heap types to CMA (credits to sirmordred)
    - msm7x30: Workaround deep sleep issue (credits to Christopher83)
    - msm7x30: Increase ION memory heap for surfaceflinger (credits to Christopher83)
    - defconfig: Update default and custom configurations (credits to Christopher83)
    - f2fs: Sync F2FS to Jaegeuk's linux-3.4 branch (credits to Christopher83)
    
    [B]23/01/2015 - K^Kernel 3.4 v2.0 for Lollipop ION+PMEM ADSP[/B]
    - Kernel 3.4.105
    - Built with my latest custom Linaro 4.9.3-2015.01 toolchain optimized for Cortex-A8
    - HID: input: generic hidinput_input_event handler (credits to David Herrmann)
    - cpufreq: Avoid using global variable total_cpus (credits to Ruchi Kandoi)
    - net/ping: handle protocol mismatching scenario (credits to Jane Zhou)
    - net: ipv6: allow choosing optimistic addresses with use_optimistic (credits to Erik Kline)
    - netfilter: IDLETIMER: fix invalid deference of timer (credits to JP Abgrall)
    - prctl: make PR_SET_TIMERSLACK_PID pid namespace aware (credits to Micha Kalfon)
    - crypto: arm-aes - fix encryption of unaligned data (credits to Mikulas Patocka)
    - ARM: 8118/1: crypto: sha1/make use of common SHA-1 structures (credits to Jussi Kivilinna)
    - ARM: 8119/1: crypto: sha1: add ARM NEON implementation (credits to Jussi Kivilinna)
    - ARM: 8120/1: crypto: sha512: add ARM NEON implementation (credits to Jussi Kivilinna)
    - defconfig: Enable NEON optimized SHA1 crypto routines (credits to Christopher83)
    - defconfig: Build QCOM crypto device as built-in (credits to Christopher83)
    - pstore: selinux: add security in-core xattr support for pstore and debugfs (credits to Mark Salyzyn)
    - KEYS: close race between key lookup and freeing (credits to Sasha Levin)
    - msm_fb: Fix RGB pipe offset issue (credits to Blefish)
    - msm: mdp.c fix deadlock which causes blue screen (credits to Vinu Deokaran)
    - msm: rq_stats: Use cpufreq API to get the current frequency (credits to Archana Sathyakumar)
    For the enforced kernels only:
    - defconfig: Back to enforced SELinux (credits to Christopher83)
    
    [B]13/01/2015 - K^Kernel 3.4 v1.5 for Lollipop ION+PMEM ADSP[/B]
    - Kernel 3.4.105
    - Built with my latest custom Linaro 4.9.3-2014.12 toolchain optimized for Cortex-A8
    - defconfig: Switch to ROW I/O scheduler as default  (credits to Christopher83)
    - Ramdisk updates
    
    [B]31/12/2014 - K^Kernel 3.4 v1.0 for Lollipop ION+PMEM ADSP[/B]
    - Kernel 3.4.105
    - Built with my latest custom Linaro 4.9.3-2014.12 toolchain optimized for Cortex-A8
    - ariesve: Set SELinux to be permissive (credits to Christopher83)
    - defconfig: Set selinux permissive (credits to arco68)
    - defconfig: Enable CONFIG_NETFILTER_XT_TARGET_IDLETIMER (credits to arco68)
    - defconfig: Regenerate (credits to arco68)
    - ext4: Add support for FIDTRIM, a best-effort ioctl for deep discard trim (credits to JP Abgrall)
    - broadcom_wlan: Modify country code source (credits to arco68)
    - net: ipv6: autoconf routes into per-device tables (credits to Lorenzo Colitti)
    - netfilter: nf_conntrack: decrement global counter after object release (credits to Pablo Neira Ayuso)
    - net: ipv6: Add a sysctl to make optimistic addresses useful candidates (credits to Erik Kline)
    - Enable NEED_NETDEV for vendor command support. (credits to Subhani Shaik)
    - cfg80211: ignore supported rates for nonexistant bands on scan (credits to Felix Fietkau)
    - crypto: msm: check potential integer overflow (credits to William Clark)
    - defconfig: Enable generic USB audio driver (credits to tobigun)
    - i2c: chips: fsa9480: Add support for charging in USB-OTG mode (credits to tobigun)
    - defconfig: Update custom defconfigs (credits to Christopher83)
    - defconfig: Disable Frandom module (credits to Christopher83)
    - i2c: chips: fsa9480: Add write-permission for USB-OTG charger type (credits to tobigun)
    - Staging: android: binder: More offset validation. (credits to Arve Hjonnevag)
    - fs: f2fs: Initial import from https://kernel.googlesource.com (credits to arco68)
    - defconfig: Enable F2FS filesystem (credits to arco68)