[Kernel][7.1.1] SunKernel Pedigree Z5 for LineageOS [sumire]

Status
Not open for further replies.
Search This thread

zacharias.maladroit

Recognized Developer
A custom Kernel for LineageOS 7.1.1 based on the ideas and experiences of SunKernel corona (StockKernel) for Xperia Z5 series

XDA:DevDB Information
SunKernel Pedigree Z5 for LineageOS, Kernel for the Sony Xperia Z5

Contributors
zacharias.maladroit
Kernel Special Features: FauxSound, KCAL, reworked thermal engine, fast camera, etc.

Version Information
Status: Beta
Current Beta Version: 1.3
Beta Release Date: 2017-03-14

Created 2017-03-14
Last Updated 2017-08-30
 
Last edited:

zacharias.maladroit

Recognized Developer
Reserved

Changelogs:


14.1_I
initial release - Features:

14.1_I.2

14.1_I.3
add throttling for orientation sensor input events (most likely NOT needed) to cut idle cpu high load of 15-20%

14.1_I.4
  • removed lots of sources for log-spam (dmesg/kernel-log)
  • BCL<-->KTM interface for BCL (battery_current_limit) driver is now used, faster, more reliable (less overlapping) and better hotplug during thermal events, etc.
  • more reliable bcl mitigation due to fresh SoC value, allowing frequency-based mitigation even with BCL set to off
  • MUCH improved sound output
  • more reliable sound playback
 
Last edited:

zacharias.maladroit

Recognized Developer
Reserved

Kernel Releases (Betas for now):

Link to custom LineageOS 14.1 build (patchlevel March 5th 2017)

not sure what differs between this and the other builds:

https://drive.google.com/open?id=0BykGGWB96CBQR1VIb3QtdGpsTmM

I initiated the fetch of the repo files via

lunch lineage_sumire-userdebug

and added the blobs repo,

then restarted the build ...


From now on

both LineageOS and Resurrection Remix are unified builds that work on Single SIM and Dual SIM devices - no separate kernel or ROM needed !





those are NOT boot-tested but should work (need testing + feedback)
 

Attachments

  • Z5_SK_Enf_v14.1_5.8.2_I.4_4_RR_sum.zip
    9.5 MB · Views: 670
  • Z5-DSDS_SK_Enf_v14.1_5.8.2_I.4_4_RR_sum_dual.zip
    9.5 MB · Views: 379
  • Z5_SK_Enf_v14.1_I.4_4_LOS_sum.zip
    9.5 MB · Views: 894
  • Z5-DSDS_SK_Enf_v14.1_I.4_4_LOS_sum_dual.zip
    9.5 MB · Views: 528
Last edited:

zacharias.maladroit

Recognized Developer
Reserved (3)

Notes:

The preamp of FauxSound or the actual sound/soc driver state seems to be a bit "mushy",

thus the white noise (swoosh-ing, hiss-ing) is a bit high - reduce headphone amp by 10 or 15 (-10 or -15) so that you get a clear and well-defined output,

it really depends on your headphones - with in-ear it is most likely more noticable.

This was with unmodified "stock"/"upstream" lineageOS kernel source and with a bit patched up - so nothing I can and will change


Kernel source:

https://github.com/zachariasmaladro...kami_r2/commits/Sun-Kernel_Pedigree_cm-14.1_I
 
Last edited:

EDGN

Senior Member
Aug 6, 2016
307
113
Bremen
Thx! But After flashing this Kernel i couldnt Boot up. Stuck ar Boot Animation. But the Animation did not stopped.
 

zacharias.maladroit

Recognized Developer
Same here, bootloop, can u look up to this?
We are so glad you put efforts in custom kernel for lineage, looking forward for an update

please update to the lineageOS builds from Olivier,

unless he has uncommitted changes locally in his repos - there are no changes,

my lineageOS build is at patchlevel March 5th 2017,

so with recent changes the kernel (more precisely the ramdisk) might be incompatible with the old builds from @Myself5

I think the tree sources are unified so is there a need for special kernel for dsds? I'll try this one on my E6683.

it might work, but you most likely run into a bootloop, too, if you're not using latest lineageOS builds (those from Olivier)
 
  • Like
Reactions: stipi69

stipi69

Senior Member
May 25, 2016
185
65
Ptuj
youtu.be
Sony Xperia XZ Premium
In this minute i downloaded fresh update, flashed in this order:

1. lineage-14.1-20170316-UNOFFICIAL-sumire
2. open_gapps-arm64-7.1-nano-20161104
3. UPDATE-SuperSU-v2.78-20160905010000
4. Z5_SK_Enf_v14.1_I.3_sum

lineage from olivier from below link:

https://dl.olivierk.at/sumire/lineage-14.1/
lineage-14.1-20170316-UNOFFICIAL-sumire

i still get bootloop, scren is dimed, lineage animation keeps going for couple of secs, screen goes bright and bootloop from there on, waiting 10+ minutes now... maybe old superuser zipfile for this task? dont know realy, will make clean install
 
Last edited:

L33Tgod

Senior Member
May 18, 2016
320
114
Sarajevo
actually this goes into bootloop, flashed latest olivier's lineageos.
edit : is there any proper order of flashing ? and can you share lineageos build that you are on ?
 
Last edited:

frabe8378910

Senior Member
Dec 15, 2011
146
72
Peine
@zacharias.maladroit: Thank you a lot for your work. We should be very thankful to every developer on the Z5!

Just gave your Kernel a try on latest olivier's lineageos (0316). Got a bootloop. After 20 minutes, I did a power reset and dirty reflashed latest olivier's lineageos (0316) via TWRP. Telephone was functional again. ;)
 

zacharias.maladroit

Recognized Developer
actually this goes into bootloop, flashed latest olivier's lineageos.
edit : is there any proper order of flashing ? and can you share lineageos build that you are on ?

yes, currently uploading

I'd install LineageOS + gapps (opengapps),

go through all steps,

then go into TWRP, make a backup and attempt to flash the kernel.


I haven't flashed the ROM via zip,

I flashed it via the .img files and fastboot since the updater-script seemed to cause trouble ...

Link to custom LineageOS 14.1 build (patchlevel March 5th 2017)

not sure what differs between this and the other builds:

https://drive.google.com/open?id=0BykGGWB96CBQR1VIb3QtdGpsTmM

I initiated the fetch of the repo files via

lunch lineage_sumire-userdebug

and added the blobs repo,

then restarted the build ...


Can you guys post the content of the updater-script (in
Code:
 tags), that works for you ?

I removed the assert line but it still didn't work for me,

also booting the stock ROM kernel via fastboot doesn't seem enough anymore,

it has to be flashed, then the VOL DOWN button pressed to reach TWRP on the recovery partition.


If you reach TWRP via a different method please let me know :)

Thanks
 
Last edited:

L33Tgod

Senior Member
May 18, 2016
320
114
Sarajevo
yes, currently uploading

I'd install LineageOS + gapps (opengapps),

go through all steps,

then go into TWRP, make a backup and attempt to flash the kernel.


I haven't flashed the ROM via zip,

I flashed it via the .img files and fastboot since the updater-script seemed to cause trouble ...




Can you guys post the content of the updater-script (in
Code:
 tags), that works for you ?

I removed the assert line but it still didn't work for me,

also booting the stock ROM kernel via fastboot doesn't seem enough anymore,

it has to be flashed, then the VOL DOWN button pressed to reach TWRP on the recovery partition.


If you reach TWRP via a different method please let me know :)

Thanks[/QUOTE]

I flashed the rom by flashing pixn kernel then booting into twrp when purple led comes on and it flashes rom normaly and to access twrp later i have to use your stock kernel and type fastboot boot boot.img and it can go into recovery, but can't flash lineageos because of that error 7.
 
  • Like
Reactions: Bronnel

zacharias.maladroit

Recognized Developer
I flashed the rom by flashing pixn kernel then booting into twrp when purple led comes on and it flashes rom normaly and to access twrp later i have to use your stock kernel and type fastboot boot boot.img and it can go into recovery, but can't flash lineageos because of that error 7.

yeah, that's why I wrote:

Can you guys post the content of the updater-script (in
Code:
 tags), that works for you ?

I removed the assert line but it still didn't work for me,

also booting the stock ROM kernel via fastboot doesn't seem enough anymore,

it has to be flashed, then the VOL DOWN button pressed to reach TWRP on the recovery partition.


If you reach TWRP via a different method please let me know :)[/QUOTE]


might be that upstream changed the content of updater-script,

that's why I ask for a working variant ;)
 
  • Like
Reactions: Bronnel
Status
Not open for further replies.

Top Liked Posts