Thursday, June 23, 2016

[KERNEL][E6553/E6503/E6533] Zach's Kernel Playground for Z4/Z3+, WIP

Hi guys,

this is my intermediate result on working on the Kernel for the Z5 (e6653, sumire), which I'm currently using.

The Kernel for the Z4/Z3+ is a natural offspring since it belongs to the Kitakami device family with the subdevices sumire (Z5), satsuki (Z5P), suzuran (Z5 compact) and finally ivy (Z4/Z3+) - all named after flowers (in the case of ivy - rather a plant).

There's now also a Kernel for the dsds (Dual Slot/Sim) Version (E6533), which has been tested and confirmed to work by @a-st


Keep in mind that building for the Kitakami "Stock" Kernels, you're constantly facing the following tradeoff:
  • compatibility with pre-built "core" kernel modules (e.g. wlan, core_ctl, ...)
  • compatibility with pre-built "goodies" kernel modules (e.g. video and other acceleration, hwcodecs, ...)
  • losing features that can be replaced by similar ones (e.g. ecryptfs, wlan, exfat, etc.)
  • when going too far the device doesn't boot or simply hangs on bootanimation

this resulted in a couple branches (at least 2 dozen) that are partially or totally broken :silly:




deviates / lacks from "stock":
  • core_ctl (MPDecision) - bye bye you won't be missed


All features, things should work - no guarantees


Before starting to test keep in mind that this is WIP (work in progress),

that means - NO guarantees,

backups before flashing are a MUST (especially your microSD card content !)

stability, speed and satisfaction are a great side-effect to have.

You have been WARNED !



Some notes - for best results:

  • Base drain (in Airplane Mode) with several apps installed is around 0.5% [?] - which can be improved via XPosed Framework + AppOpsXposed (disabling Wakelocks of Google* apps)
  • Make sure to freeze devicemonitor and sonymobile.anondata (or what its name is) - that is known to drain data
  • Select a Hotplug mechanism right after startup via e.g. Kernel Adiutor (works great, and I am using it all the time) and/or set it to persist
  • Greenify with root mode and aggressive doze (try if Boosted with XPosed works for you or might be worse), or shallow hibernation - set swappiness to 80 or 90 then
  • For more fine-grained control of Doze use @franciscofranco 's Naptime or comparable apps


Enjoy ! :)


Obligatory Source:
(according to the rules in single commits no giant blobs)

on github Sun-Kernel_32.2.A.0.224_vI.1_2_8 (Branch)


Mentions/Kudos:

@AndroPlus thanks for your great kernel base and support for all of the Sony Xperia devices - you definitely are a Sensei in that area ! :cool:
@Tommy-Geenexus another Sensei on the Xperia devices :)
@Furrydaus for the ramdisk of the Z4/Z3+
@ Olivier for his work on the Z4/Z3+
@auras76 Thanks for your great ROM !
@Adi Shakthi You are da man ! God's Kernel - there's truly no kernel like it ! @faux123 thanks for intelli_plug and Dynamic Fsync and all the other goodies - they are awesome ! :victory: @neobuddy89 Your kernels really inspire that there is more to be achieved :cowboy: @Cl3Kener @flar2 @DespairFactor @Imoseyon @showp1984 @myfluxi @savoca @franciscofranco @dorimanx @arter97 @ak @eng.stk You (and all other devs I might have forgotten) truly push progress forward ! :)
Linus Torvalds - you started it all !
Richard Stallman - thanks for your "viral" license and GNU :D
Linux Kernel Devs , Linux Foundation
Google , Android @jerpelea @kholk The masters of the Sony Sauce :D @Grarak for Kernel Adiutor - for such a fine Kernel Command Center :D
@caspase for AppOpsXposed
@rovo89 for XPosed
@oasisfeng for Greenify


from xda-developers http://ift.tt/290xCId
via IFTTT

No comments:

Post a Comment