[KERNEL][E5823/E5803] Zach's Kernel Playground for Z5C, WIP (work in progress) - Xperia Z5 Compact Android Development

September 2021 update:
Since I've been getting requests lately due to Google's updated Google Drive policy - here's the updated share link for the Z5 Compact kernels
Z5C-Kernels - Google Drive
drive.google.com
Final notice: Since my Z5 died (it's broken into pieces, glass shattered) - development is effectively halted - NO more updates - sorry
This is a Stock (Sony) ROM Kernel and WILL NOT work on AOSP, CM, etc.
aka SunKernel for Z5 Compact - Stock ROM (for now only stock)
This is an extension of the Xperia Z5/Z5 Dual "sumire" main thread over at: https://forum.xda-developers.com/xp...und-z5-wip-t3340725/post65936553#post65936553
Okay,
so the kernel is also available for the Z5 compact series
I can't test if it works due to lack of that very device - Enjoy !
Keep in mind that building for the Z5 "Stock" ROMs and "Stock" Kernels, you're constantly facing the following tradeoff:
compatibility with pre-built "core" kernel modules (e.g. texfat [proprietary exfat microSD fs driver])
compatibility with pre-built "goodies" kernel modules (e.g. video and other acceleration, hwcodecs, ...)
losing features that can NOT 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 several dozen) that are partially or totally broken :silly:
[snip]
...
[snip]
More info on the Latest Kernel can be usually found at:
AT the end of the thread
( I KNOW - I should have reserved a few posts for better overview )
---------------------------------------------------------------------------------
[Download] How to get the current ("corona", 5.11) Kernel(s) - Step by Step:
1)
Choose your device from one of the 4 folders
Z5 + Z5 Dual: https://drive.google.com/open?id=0BykGGWB96CBQQy05VURLbzJTZlU
Z5 Compact: https://drive.google.com/open?id=0BykGGWB96CBQVE0tb2dieTZMXzg
Z5 Prem + Z5 Prem Dual: https://drive.google.com/open?id=0BykGGWB96CBQaVZTdnF5QnVTMU0
Z4/Z3+ + Z4/Z3+ Dual: https://drive.google.com/open?id=0BykGGWB96CBQa2xBdHR5TzlrNUE
2)
At the upper right, click on "List View"
3)
At the top of the table, there are 3 labels (name, owner, [last] modified, File size)
click on "Last modified", the newest Kernels should be shown either at the top, or at the bottom
4)
Download the latest Kernel
5)
???
6)
Profit !
Click to expand...
Click to collapse
Before starting to test/use 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, improved battery and satisfaction are a great side-effect to have.
You have been WARNED !
Enjoy !
Obligatory Source:
(according to the rules in single commits no giant blobs, authorship kept)
https://github.com/zachariasmaladroit/android_kernel_sony_msm8994_kitakami_r2/branches

Please let me know if that kernel boots on the Z5 compact,
the initramfs contains changes to restore DRM functionality and the TWRP bootup script which allows you to press a volume button to boot into recovery
Cheers

boot loop T.T

Since v22a remove CPUQuiet as it causes random reboot,so please remove it?

gyuuuu said:
boot loop T.T
Click to expand...
Click to collapse
Oh **** !
Thanks for the feedback,
I had suspected that there would be issues - will see what to change and to get it working
featzhang said:
Since v22a remove CPUQuiet as it causes random reboot,so please remove it?
Click to expand...
Click to collapse
CPUQuiet is enabled, no ?
I haven't tried out latest AndroPlus Kernel but from the source it should be enabled: https://github.com/AndroPlus-org/android_kernel_sony_msm8994_kitakami_r2/commits/32.1.A.1.163_r2
input boosting is disabled by default since that leads to trouble

zacharias.maladroit said:
Oh **** !
Thanks for the feedback,
I had suspected that there would be issues - will see what to change and to get it working
CPUQuiet is enabled, no ?
I haven't tried out latest AndroPlus Kernel but from the source it should be enabled: https://github.com/AndroPlus-org/android_kernel_sony_msm8994_kitakami_r2/commits/32.1.A.1.163_r2
input boosting is disabled by default since that leads to trouble
Click to expand...
Click to collapse
I saw it from AndroPlus's changelog:https://kernel.andro.plus/kitakami_r2.html
v22a
Disabled CPU Quiet as it caused random reboot

Pulled the Kernel,
need to figure out what exactly is different about the Z5 Compact or why it's not working when using a similar build procedure compared to Z5 and Z5P
@Tommy-Geenexus would you kindly please send me the exact build command and the tools you're using to build your latest Zombie kernel ?
I believe it should be no different than the current ones I'm already using but perhaps I've overlooked anything
Many thanks in advance

zacharias.maladroit said:
Pulled the Kernel,
need to figure out what exactly is different about the Z5 Compact or why it's not working when using a similar build procedure compared to Z5 and Z5P
@Tommy-Geenexus would you kindly please send me the exact build command and the tools you're using to build your latest Zombie kernel ?
I believe it should be no different than the current ones I'm already using but perhaps I've overlooked anything
Many thanks in advance
Click to expand...
Click to collapse
Here's my build-script: http://pastebin.com/uAw9V4K5

Tommy-Geenexus said:
Here's my build-script: http://pastebin.com/uAw9V4K5
Click to expand...
Click to collapse
Thanks a lot !
Okay, so on first glance you're using the uncompressed kernel and the dt.img, like you previously mentioned
in essence it equals the build from Lollipop with the change of having to use an updated mkbootimg.
I guess you also had to switch mkbootimg when building from Lollipop to Marshmallow ?
The dtbtool I'm using is from cyanogenmod but I'm not sure whether that is the correct one (at least it worked for the Lollipop kernels),
Thanks

Does the following kernel work on Lollipop ?
Source:
32.0.A.6.200_AP_Sun-Kernel_v14%2B
Changes from AndroPlus 14:
undervolting/under|overclocking removed (doesn't work)
sound enhancements
FauxSound
KSM optimizations
load reduction (battery runtime, smoothness)
a few fixes

No Lollipop devices

featzhang said:
No Lollipop devices
Click to expand...
Click to collapse
Untrue
I know at least a few that reverted to use Lollipop
You know, you can anytime flash back and forth between Lollipop and MM via FlashTool and XperiFirm

zacharias.maladroit said:
Untrue
I know at least a few that reverted to use Lollipop
You know, you can anytime flash back and forth between Lollipop and MM via FlashTool and XperiFirm
Click to expand...
Click to collapse
Hello, is it flashable through recovery?
Gesendet von meinem E5823 mit Tapatalk

Okay. I was able to boot without any problem, but my service provider was rejected, although the mobile is free to use any provider
Gesendet von meinem E5823 mit Tapatalk

Is there any new build for your kernel ? I am waiting for mm version. @zacharias.maladroit

was12 said:
Is there any new build for your kernel ? I am waiting for mm version. @zacharias.maladroit
Click to expand...
Click to collapse
Sure,
you could give the one attached a try, whether it works
(first via, e.g.
Code:
fastboot boot boot.img
if it goes to the charging symbol - the chances are good that it'll work afterwards)
Thanks

I doesn't boot at all. Only a black screen. Thanks

xanya said:
I doesn't boot at all. Only a black screen. Thanks
Click to expand...
Click to collapse
Thanks for testing it,
this is really weird
Pulled, the kernel
edit:
Please test,
this one doesn't include the DRM restore/fix changes,
if you got a working kernel on Marshmallow, please point me to it, so that I can use its initramfs
Thanks

zacharias.maladroit said:
Thanks for testing it,
this is really weird
Pulled, the kernel
edit:
Please test,
this one doesn't include the DRM restore/fix changes,
if you got a working kernel on Marshmallow, please point me to it, so that I can use its initramfs
Thanks
Click to expand...
Click to collapse
Not booting, only black screen.

was12 said:
Not booting, only black screen.
Click to expand...
Click to collapse
Thanks !
okay, that's not good,
now followed the instructions to the T - but still no dice,
that's really messed up
(it works for the Lollipop kernel, btw)

Related

CyanogenMod 12.1, Mokee 5.1, PAC 5 DOGO builds

Actual:
I use CyanogenMod and Mokee teams sources and add some changes to device config.
Latest CM12 builds
СМ12.1 build 24.07.2015
normal- https://yadi.sk/d/l0sQrKeXi4rpT
experimental - https://yadi.sk/d/Sus83ATLi4rjv (aptx bt, mako gps)
news: - kernel, config updates . SoundControl removed, revert to deodex.
revert cm12.1 BT - https://yadi.sk/d/DHjDF-fAi4sQE
СМ 12.1 build 21/07/2015
normal - https://yadi.sk/d/EwsQB88Qhz7RD
experimental - https://yadi.sk/d/X07SjR3Fhz7Rm (GPS from nexus4, APTX BT)
+fixed updater-script - added ifelse(is_mounted("/system"), unmount("/system"));
СМ12.1 build 13.07.2015 - https://yadi.sk/d/CtPkfkpchq2Yb
СМ12.1 build 13.07.2015 w aptx support(experimental) - https://yadi.sk/d/LRV6F7N2hq2bS
fixed: wifi, BT, boot light, recovery, offline charging
Cm 12.1 03.07.2015 build - https://yadi.sk/d/GG3gFTtYhe3dQ
Changes in kernel, libs, binaries, configs
Tested - worked/
CM12.1 11.06.2015 build - https://yadi.sk/d/VyIKm27xhCdhE
CM12.1 20.05.2015 build - https://yadi.sk/d/WnR7d73mgkzcX
CM12.1 28.04.2015 build - https://yadi.sk/d/bn_IsRx1gJaRs
kernel w soundcontrol v3, many kernel and ril updates from см team
CM12.1 20.04.2015 build - https://yadi.sk/d/xiKPp0EBg7Kyo
kernel w soundcontrol v3, updates from см team
gps libs from мако(nexus 4) (possible gps work better) for recovery - https://yadi.sk/d/JU39SUbPg7Kmu
PAC 5 20.04.2015 build from neosuslik - https://drive.google.com/uc?id=0B6kPZoGYA4tfaFhOdjIxenNYbnM&export=download
Mokee 5.1 12.04.2015 build from neosuslik - https://docs.google.com/uc?id=0B6kPZoGYA4tfSGdlNldodnhuVTQ&export=download
CM12.1 build(06.04.2015) tested - https://yadi.sk/d/bzBHxTDmfoyck
move apps to sd fix added, dual recovery
kernel w SoundControl v3 for cm12.1 - https://yadi.sk/d/xPWTpM4ufpgnA - you need faux sound control or other app to tweak sound levels.
CM12 build (01.04.2015), ODEXed, fix for move apps to sdcard - https://yadi.sk/d/93AA69qtffk7Q
CM12 build (12.03.2015), ODEXed - https://yadi.sk/d/dTadZHj_fCZKN
CM12 build (04/03/2015), ODEXed - https://yadi.sk/d/K20AhXQ4f2ha9
CM12 build (28/02/2015) - https://yadi.sk/d/GGDHoe76ewFe4
CM12 build (20/02/2015) - https://yadi.sk/d/mmi7ic1Eeo5Eh
news:
new cm12 updates, bugfixes and bugs
Mokee5 build (25/02/2015) - https://yadi.sk/d/yI-cBxQheskpk
How to install:
a)
1. flash boot.img from archive
2. boot to recovery and flash firmware archive
b) reboot to recovery and flash firmware archive
Old(not actual now):
Big thanks to thomas1991_12 and pabx. This Rom based on their work.
English screenshots - http://forum.xda-developers.com/showpost.php?p=56982062&postcount=77
More Russian screenshots - http://4pda.ru/forum/index.php?showtopic=475149&st=9040&view=findpost&p=35853307
Whats worked: see original theme - http://forum.xda-developers.com/xperia-z/orig-development/exp-lollipop-xperia-z-t2929369
Latest CM12 port(qsnc 09.02.2015 build based) - https://yadi.sk/d/QcxE0x0WedRUd
Updated boot.img w philz recovery and vibro for 09.02.2015 - https://yadi.sk/d/anPzmPL0eeiCg
CM12 for ZR, cm-12-20150112-INFECTED-yuga based:
CM12 for ZR: cm-12-20150112-INFECTED-yuga.zip port - https://yadi.sk/d/L_eIwqujdz6sb
30.12.2014 Update, pabx 5.0.8 build based:
boot - https://yadi.sk/d/BMTyrqVpdnfDQ
system - https://yadi.sk/d/uK10pxZSdnfDa
fix - https://yadi.sk/d/4CBtWW7wdnfDJ
20.12.2014 Update
system.img from 20.12.2014 - https://yadi.sk/d/LObcDGPOdXW4B
boot.img - https://yadi.sk/d/ynTfhBdHdXW3v
fix(Xperia ZR specified files (zr camera libs, sensors.conf etc, you need install it via twrp recovery before boot system)) - https://yadi.sk/d/GU_LI9S2dYwya
04.12.2014 Update:
system.img from 4.12.2014 - https://yadi.sk/d/yeqUq35rdAgGG
boot.img - https://yadi.sk/d/jXkoWjC4dAgFZ
fix(Xperia ZR specified files (zr camera libs, sensors.conf etc, you need install it via twrp recovery before boot system)) - https://yadi.sk/d/8fWVGGj5dAgHM
GAPPS - https://yadi.sk/d/wxoFZUWidAgJr
Worked SuperSu - http://download.chainfire.eu/636/SuperSU/UPDATE-SuperSU-v2.37.zip
***************************************************
Installing:
flash via fastboot or flashtool (in fastboot mode) boot and system images
Fastboot:
fastboot flash boot boot.img
fastboot flash system system.img
flash fix(recommended before first boot), supersu, gapps ...etc via recovery
if no internal sdcard found try this(in adb or terminal console):
su
restorecon -FR /data/media/0
***************************************************
Google Apps installation
After booting your phone for the first time, download the gapps package and push it to /sdcard using adb (or MTP):
adb push gapps_50_yuga_004-00cb.tgz /sdcard/
adb reboot
Your phone will now reboot and automatically install gapps during the boot process. (note that your phone will reboot twice - this is normal).
recommend to keep the gapps package in /sdcard/ after the installation finished: Upgrading to a new release will erase your existing gapps installation - but if the package is still present in /sdcard/, it will be automatically installed during the first boot.
*************************************************
Thank you for your effort Looking forward to testing this ROM upon upload. And i know it sounds silly, but an english version will be uploaded right???
I've been checking XDA like 10 times a day for the past two weeks hoping for this, and now it's finally here!!! You sir, deserve a medal.
I have a question, and I'm not sure if it's supposed to go here or the Q&A thread, since it's not specifically related to this ROM, per se. I just want to know how you built this; where did you get the device tree/binaries (not really sure what I'm talking about here, I've only read the building tutorials, don't really understand them fully)? AFAIK, Sony hasn't released them for the ZR, so how'd you do it? Is there some way to port them from other devices or something? Even a reference point to start searching would be great.
Thank you for your work!
P.S. Also, does this question belong in the Q&A thread or not?
Even i was wondering, but i thought perhaps it's only right to give the dev some time to upload the full details
kash296 said:
Even i was wondering, but i thought perhaps it's only right to give the dev some time to upload the full details
Click to expand...
Click to collapse
Of course, no pressure at all on the dev; I just wanted to say kudos, and thought I might as well ask. [emoji12]
xenius9 said:
Coming soon... Now kernel worked, ROM started, need little fixes.
Big thanks to thomas1991_12 and pabx. This Rom based on their work.
Bad news:
I have no time to develop, rom not work on all ZR-s - need additional kernel developing?(on many ZR models this rom work(on 2 phones work normal now), on other not (on my zr not work properly - mixed image on screen))
Now i have:
Kernel w twrp recovery - https://yadi.sk/d/WJw4gqmqcnLWd
SystemImage (from sony z, need add camera libs in vendor folder and some in etc/firmware and fix sensors.conf - from .283 stock firmware) - https://yadi.sk/d/S0Bh4H8gcmqRv
Xperia ZR specified files - https://yadi.sk/d/VZ8whMhccoCnt - zr camera libs, sensors.conf etc, you can install it via twrp recovery
Installing:
flash via fastboot or flashtool (in fastboot mode) boot and system images
test
Root - flash latest supersu via twrp recovery http://download.chainfire.eu/593/SuperSU/BETA-SuperSU-v2.19.zip
Click to expand...
Click to collapse
Um. So that means right now, it's a list of separate files??? Anyway awesome work.
P.S Sorry abt quoting the whole post, i hate that. But my comment wouldn't make any sense then
Awsome
Everything working fine. Just like stable daily driver rom. Can't say about battery right now.
The only thing missing is root because SuperSU 2.23 dosen't seem to work. I think some kernel modifications will be needed for proper execution of SU binary
BTW Thanks alot .
sshivampp said:
Everything working fine. Just like stable daily driver rom. Can't say about battery right now.
The only thing missing is root because SuperSU 2.23 dosen't seem to work. I think some kernel modifications will be needed for proper execution of SU binary
BTW Thanks alot .
Click to expand...
Click to collapse
RIL works ????? ( Are you able to make calls and receive calls and send messages etc ?)
If you are using this as daily driver then try testing bluetooth, wifi, RIL, mobile internet (2g+3g), camera etc......
I would definitely do all this on weekend....
@Xenius :- HATS OFF MAN.......... Even if it just boots, I would say that it's sheer genius..........
nikhilkaushik said:
RIL works ????? ( Are you able to make calls and receive calls and send messages etc ?)
If you are using this as daily driver then try testing bluetooth, wifi, RIL, mobile internet (2g+3g), camera etc......
I would definitely do all this on weekend....
@Xenius :- HATS OFF MAN.......... Even if it just boots, I would say that it's sheer genius..........
Click to expand...
Click to collapse
I have exaaams You guys are tempting me And what do we do abt Gapps?? Jus download one of the lollipop gapps???
nikhilkaushik said:
RIL works ????? ( Are you able to make calls and receive calls and send messages etc ?)
If you are using this as daily driver then try testing bluetooth, wifi, RIL, mobile internet (2g+3g), camera etc......
I would definitely do all this on weekend....
@Xenius :- HATS OFF MAN.......... Even if it just boots, I would say that it's sheer genius..........
Click to expand...
Click to collapse
Bluetooth is fine except I cannot accept or share file with apk extension
WiFi also seems to be fine till now and yes I can make calls, messages, and can connect to data network.
Camera quality is accepteble (photo preview is kind of buggy )
Till now what I cannot test its GPS as I don't use it. but can provide logcat if anyone wants
Edit: At latest lollipop release for xperia Z (18 November), RIL is broken, atleast in ZR with this kernel, don't know about Z
maybe kernel update will fix this
---------- Post added at 10:49 PM ---------- Previous post was at 10:40 PM ----------
kash296 said:
I have exaaams You guys are tempting me And what do we do abt Gapps?? Jus download one of the lollipop gapps???
Click to expand...
Click to collapse
I suggest exam first
BTW you can download gapps from here
or direct link of one I downloaded here (I don't remember the source page but it was from XDA)
Thanks for the gapps link. Holidays inbetween so it aint a prob for the exams. Downloading the image right now, will try out the bluetooth and see if i too get the same issue
Xenius you are genius. Booted and running smoothly without any FCs.
Sent from my Lollipop for ZR using XDA Free mobile app
.
Man
big tnxfor your awsome work:cyclops:
And can you upload your kernel source? May be developers like @Alx31TLse can build more lollipop roms:fingers-crossed:
Yes i can, now i build new kernel w new ramdisk(w working root).
18.11.2014 firmware working... new kernel too... root working
Files...soon.
All updates added. See 1st post.
xenius9 said:
All updates added. See 1st post.
Click to expand...
Click to collapse
I am having trouble downloading from playstore after flashing gapps.. As there isn't a file manager preinstalled, I'm trying to download one, so that i can get back my old apps which are backed up in the SD card. Anyone else has the same issue abt the play store?
P.S I found out the problem. My Gmail wasn't synced so my account wasn't fully functional. Never mind
kash296 said:
I am having trouble downloading from playstore after flashing gapps.. As there isn't a file manager preinstalled, I'm trying to download one, so that i can get back my old apps which are backed up in the SD card. Anyone else has the same issue abt the play store?
Click to expand...
Click to collapse
I Use adb for apps installation and total commander+adb plugin for any dev deals
you can made small installation zip for recovery w needed apps
xenius9 said:
I Use adb for apps installation and total commander+adb plugin for any dev deals
you can made small installation zip for recovery w needed apps
Click to expand...
Click to collapse
Not so familiar with the adb codes, i've never felt the need to use them. Is the kernel fully permissive? I'd like to know if i can run Viper4android on it.
kash296 said:
Not so familiar with the adb codes, i've never felt the need to use them. Is the kernel fully permissive? I'd like to know if i can run Viper4android on it.
Click to expand...
Click to collapse
Install it and test)))
xenius9 said:
Install it and test)))
Click to expand...
Click to collapse
I'm definitely going to. But why i asked is, cause they were mentioning about permissive kernels. So i thought i'd ask you about that.
And i forgot to ask. The exclamatory symbol on the signal icon ? Why is it coming?? Is it indicating any issue???

[EOL] [KERNEL][G800F][exynos][CUSTOM KERNEL] FOR MOST CUSTOM ROMS [EOL]

Code:
***WARNING***
-READ CAREFULLY!!
YOU FLASH THIS KERNEL AT YOUR OWN RISK.I TAKE NO RESPONSIBILITY FOR ANY DAMAGE THAT MAY OCCUR DUE TO THE FLASHING OF THIS IMAGE.
I WILL NOT BE RESPONSIBLE FOR LOST DATA,BRICKED PHONE,OR ANYTHING OF THE SUCH.(PHONE EXPOLDES,OVERHEATS ETC)
THIS KERNEL IS ONLY FOR THE S5 MINI SM-G8OOF (Exynos) DO NOT FLASH THIS ON ANY OTHER DEVICE!
EOL (End of Life) ​
I will be creating a new thread for my N kernel - Stay tuned!​
UPDATED Linux kernel to 3.4.113 on 27-10-2016​UPDATED to v2.5 on 13-10-2016​
Code:
Changes in version 2.5
*Unlocked CPU frequencies 1500,300 and 200MHZ
*Switched to self built Linaro/Sabermod toolchain
*Added many more optimization flags
*Added DriveDroid support
Features
-Now supports Many different ROMS for the G800F
-Compiled with self built optimized Linaro/SaberMod toolchain ("LinaroMod")
-Unlocked CPU frequencies: 1500MHZ,200MHZ and 300MHZ
-Updated Linux kernel from 3.4.39 to the latest 3.4.113
-Added many optimizations (You can see all of the optimization flags in the makefile on the kernel source page)
-enabled graphite
-Added Drivedroid Support - http://softwarebakery.com/projects/drivedroid
-Fading LED's
-Added I/O schedulers
-zen
-sio
-fifo
-fiops
-tripndroid
-vr
-Added CPU governors
-zzmoove
-hyper
-alucard
-darkness
-nightmare
-wheatley
-smartassv2
-dancedance
-pegasusq
Click to expand...
Click to collapse
You will need Kernel Adiutor (free from the play store) or similar app capable of allowing you to switch I/O schedulers and
CPU governors in order to be able to change and set those.
I can recommend this.
http://forum.xda-developers.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549
Click to expand...
Click to collapse
Known Issues
Let me know and I will try to fix them
Click to expand...
Click to collapse
Installation
I HIGHLY recommend that you do a full backup before flashing this kernel.I am not responsible if you lose any or all of your data.BACKUP!!
1.Download the "Spookcity_Kernel-MM"
2.Place the zip onto your phones storage
3.Reboot into recovery (Volume-Up + Home + Power button)
4.Select install
5.Flash the downloaded kernel
6.Go back a few times in TWRP.Select wipe -> Advanced wipe and wipe Dalvic/Art cache and the cache partition
If you do not do this you are very likely to experience strange issues.You have been warned.Do not report problems if you did not do this.
7.Reboot and hopefully enjoy.
Click to expand...
Click to collapse
Downloads
Spookcity_Kernel-MM
Click to expand...
Click to collapse
Sources
Toolchain - https://github.com/Spookcity/Android-Toolchains
Kernel - https://github.com/Spookcity/android_kernel_samsung_kminilte
Click to expand...
Click to collapse
Code:
CHANGELOG
[U]18-06-2017[/U]
-Switched to anykernel2
[U]31-10-2016[/U]
-Added zip for Bliss Rom
[U]13-10-2016[/U]
-Unlocked CPU freq 1500,200,300MHZ
-Switched to my self built toolchain
-Added many more optimization flags to the build
-Added DriveDroid support
-Added zip for Zephyr-OS
[U]24-07-2016[/U]
- Added zips to support more custom ROMS
[U]V2 - 23-07-2016[/U]
-Fixed RAMDISK to make it compatible and actually work with newer builds of CM13
-Changed SELinux from disabled to permissive to be in line with the "stock" CM kernel
-Added I/O schedulers
-fiops
-tripndroid
-vr
-Added CPU governors
-pegasusq
[U]V1 - Initial Release[/U]
Thanks to
-hennymcc and CTXz for bringing CM13 to our device! I used their kernel sources to build this.Without them I never would have been able to attemp this.
-DJ_Steve for his custom kernel.Without being able to look at his sources and cherry-pick some things I would also not have been able to do this.
-CurtisMJ Ditto same thing here.His kernel build and sources were very helpful to me.
-frap129 for his amazing toolchains!
-ArchiDroid
Anyone I may have left out sorry.I appreciate you all!
Click to expand...
Click to collapse
I hope you enjoy and please say thanks if you find this at all useful
XDA:DevDB Information
Spookcity_Kernel, Kernel for the Samsung Galaxy S5 Mini
Contributors
spookcity138
Kernel Special Features:
Version Information
Status: Beta
Created 2016-05-26
Last Updated 2017-06-18
Nice, finally some new development for our phone =)
I will test the kernel right away...
One thing that I would really love would be if you have the time to look into adding DT2W :angel:
Thanks for your work so far :good:
*edit*
booting went well. However WiFi doesnt work for me :/ I uploaded the logcat-output filtered for "wifi" to hastebin. If you need anything else for debugging let me know. Thanks to dual boot I will keep your custom kernel on one ROM
log
zaworka said:
Nice, finally some new development for our phone =)
I will test the kernel right away...
One thing that I would really love would be if you have the time to look into adding DT2W :angel:
Thanks for your work so far :good:
*edit*
booting went well. However WiFi doesnt work for me :/ I uploaded the logcat-output filtered for "wifi" to hastebin. If you need anything else for debugging let me know. Thanks to dual boot I will keep your custom kernel on one ROM
log
Click to expand...
Click to collapse
Thanks for trying out the kernel. That's weird about the WiFi. I have never had that happen in the bunch of times I have flashed it. I will def look into it.I'll have a look at the log, although at this point I'm also not that great at interpreting those, so it may not help. I'll see what I can do though
Sent from my SM-G800F using Tapatalk
can you tell me someone what is kernel?
br3acker said:
can you tell me someone what is kernel?
Click to expand...
Click to collapse
http://www.makeuseof.com/tag/linux-kernel-explanation-laymans-terms/
zaworka said:
Nice, finally some new development for our phone =)
I will test the kernel right away...
One thing that I would really love would be if you have the time to look into adding DT2W :angel:
Thanks for your work so far :good:
*edit*
booting went well. However WiFi doesnt work for me :/ I uploaded the logcat-output filtered for "wifi" to hastebin. If you need anything else for debugging let me know. Thanks to dual boot I will keep your custom kernel on one ROM
log
Click to expand...
Click to collapse
OK,well after looking at the log and trying to decipher it and then thinking a bit I have only come up with one possibility.Maybe somehow your wpa_supplicant.conf file located in /data/misc/wifi/wpa_supplicant.conf has the wrong permissions for some reason.If you want you could try to check and possibly change the permissions.If you decide to try this I would backup the file because you never know.
The permissions should be: Owner - wifi Group - wifi...
Owner read and write/Group read and write/ others none.
If your permissions are correct on that file the only other thing I could possibly think of to do if you wanted would be to delete that file,wpa_supplicant.conf.Only after you back it up it though because you will lose all of your passwords,and reboot.It should recreate it.Do that at your own risk though.This is all I have come up with because I have never had that problem,so it's a bit difficult.
I am sorry, I think the error was my fault and not a bug of the kernel. I think the build that I am running at the moment is one I build myself and used sabermod toolchain. I remembered that I had the same problem using DMPKernel on that build. I thought I was using one of hennymmc's builds by now - so, sorry for reporting but thanks for looking into anyways.
Unfortunately I tried both and didnt solve the issue ,the permissions were set correctly btw.
I just installed the CM13 on another partition but - unless I have a flashable zip file - I can not install your kernel on that one. Would it be possible to provide the kernel as .zip?
zaworka said:
I am sorry, I think the error was my fault and not a bug of the kernel. I think the build that I am running at the moment is one I build myself and used sabermod toolchain. I remembered that I had the same problem using DMPKernel on that build. I thought I was using one of hennymmc's builds by now - so, sorry for reporting but thanks for looking into anyways.
Unfortunately I tried both and didnt solve the issue ,the permissions were set correctly btw.
I just installed the CM13 on another partition but - unless I have a flashable zip file - I can not install your kernel on that one. Would it be possible to provide the kernel as .zip?
Click to expand...
Click to collapse
Sure thing.I updated the download section above and added a flashable zip.I think it'll work.
spookcity138 said:
Sure thing.I updated the download section above and added a flashable zip.I think it'll work.
Click to expand...
Click to collapse
Nice, that worked! Thanks for the effort :good:
Will test it over the next few days :fingers-crossed:
zaworka said:
Nice, that worked! Thanks for the effort :good:
Will test it over the next few days :fingers-crossed:
Click to expand...
Click to collapse
Good,I'm glad that worked.You thoughts and feedback are most welcomed.
Any chance this kernel hits the G800H for cm 13 too ?
I can be your tester
sasukesama said:
Any chance this kernel hits the G800H for cm 13 too ?
I can be your tester
Click to expand...
Click to collapse
Hey, I appreciate the offer. That is something I can look into at some point. No promises. In still trying to learn all of this stuff.
Sent from my SM-G800F using Tapatalk
spookcity138 said:
Hey, I appreciate the offer. That is something I can look into at some point. No promises. In still trying to learn all of this stuff.
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Sounds good
I think you can do the same (using the cm13 kernel and DJ_Steve kernel stuff) as he has a G800H version of his kernel
I use your kernel , you can repair the wifi ?
Abde77 said:
I use your kernel , you can repair the wifi ?
Click to expand...
Click to collapse
What's the problem with the WiFi exactly? I need to update this anyway. I will at some point.I've had no WiFi probs though.
Sent from my SM-G800F using Tapatalk
spookcity138 said:
What's the problem with the WiFi exactly? I need to update this anyway. I will at some point.I've had no WiFi probs though.
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Conducted any work on the development of the kernel? About sound problems and headphones like DJ_Steve , initially had no problems, and then there., maybe it depends on kernel version? Is there a chance to make all the improvements in version 3.4.39 ? (Google translation)
Oleggluk said:
Conducted any work on the development of the kernel? About sound problems and headphones like DJ_Steve , initially had no problems, and then there., maybe it depends on kernel version? Is there a chance to make all the improvements in version 3.4.39 ? (Google translation)
Click to expand...
Click to collapse
I actually haven't touched this recently at all.I've been spending too much time on the mess that is my AOSP build [emoji2]
I give up on that for now though.It's giving me a headache.
I will try to get back to this soon,as I don't even think it works with any of my builds.I don't know.I'm not even using this right now.
I never actually had any real audio issues with this however and I did use if for awhile,so that's strange.
Sent from my SM-G800F using Tapatalk
spookcity138 said:
I actually haven't touched this recently at all.I've been spending too much time on the mess that is my AOSP build [emoji2]
I give up on that for now though.It's giving me a headache.
I will try to get back to this soon,as I don't even think it works with any of my builds.I don't know.I'm not even using this right now.
I never actually had any real audio issues with this however and I did use if for awhile,so that's strange.
Click to expand...
Click to collapse
Also does not have wi-fi access in the new Assembly СМ13 from ayke with this kernel. I took apart your kernel and replace the ramdisk from the new build, wifi now works. (Google translation)
Oleggluk said:
Also does not have wi-fi access in the new Assembly СМ13 from ayke with this kernel. I took apart your kernel and replace the ramdisk from the new build, wifi now works. (Google translation)
Click to expand...
Click to collapse
I kinda remember this issue as well.Good to know about the ramdisk.
Its such a strange thing how only some experience the robotic voice...and you have no microphone problems with ayke's build either? Like it stops working after a phone call?
Sent from my SM-G800F using Tapatalk
spookcity138 said:
I kinda remember this issue as well.Good to know about the ramdisk.
Its such a strange thing how only some experience the robotic voice...and you have no microphone problems with ayke's build either? Like it stops working after a phone call?
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Robot voice I have never had. And mute has the same problem that error camera. If you kill the mediaserver, the microphone performance is restored. You can use the long-known app Mediaserver Killer. (Google translation)

[DISCONTINUED][ROM][V4 18.11.2016] Android 7.1 Nougat AOSP (NDE63X) for SGP611/SGP621

This ROM is no longer maintained. Sadly the last provided zip files got deleted by accident. If anyone can provide them, I will re-upload.
Disclaimer: Flash at your own risk! Backup your data before flashing! I am not responsible for bricked devices, World War III or your exploding cats!
Warning: The SGP611 images are not tested, but just built by me, as I do not own the device. But as the two devices are the same except for the 4G Modem, it should work. If not, please let me know.
About:
As my beloved SGP621 was just collecting dust, I decided to try porting Android 7.1 AOSP onto it.
And voila, with a few tweaks here and there, it works (for the most part).
What works:
- Display
- Sound
- WiFi
- 4G Data
- Bluetooth
- NFC (somewhat flakey, but much better with fixes in V4)
- LED
- Magnetic Cover Sleep/Wake
- WideVine DRM
- Double-Tap to wake
What doesn't work:
- FM Radio (working on it)
- Camera (Taking Pictures works, but sometimes the camera is not able to connect. Taking a video crashes the mediaserver.)
- You tell me
I have used it for the last few weeks. Battery life near optimal now and I had no crashes up until now. If your battery depletes rapidly, please disable NFC and check if it betters things. Then comment here, so I can look into it.
Keeping your data:
If you come from an earlier version of this ROM it should suffice to only flash boot.img and system.img. Coming from Stock or another ROM you could try to not flash userdata and see if it would keep your data, but I think it will not work in most cases.
Flashing:
Flashing userdata it is like doing a wipe. So BACKUP your data! You have been warned!
To flash it, you need to put your tablet into fastboot mode (VolUp + plugging in USB-Cable) and then flash the three image files from the zip file in the provided link like:
Code:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
gapps and/or root:
If you want Google Apps and/or root you need to download official twrp for scorpion windy (or inofficial for scorpion) from here and flash it to the FOTAKernel partition with the following command:
Code:
fastboot flash FOTAKernel twrp-3.0.2-0-scorpion_windy.img
After that you can boot into recovery by hitting VolUp multiple times once the LED flashes purple until it turns orange.
From there you are able to flash
- gapps for Nougat 7.1 arm (nano confirmed working, others could be problematic)
- Magisk-V8 and phh-SuperUser (confirmed working)
Tips for better battery life:
I installed Naptime to trigger deep doze as soon as the tablet goes to sleep. I also enabled zzmoove cpu gov and noop scheduler in the kernel options. Because of the high display brightness, I installed Lux Lite, to dim the screen if it is darker. This leads to me getting standby battery consumption of around 1.2% per hour (measured with GSam Battery Monitor) which is nearly the same amount I got with stock.
Changelog:
18.11.2016 - V4:
- Integrated newest Android Patches from Sony and Google.
- New binaries from qcom (camera, sensors, display, ...)
- Custom kernel with additional fixes, FMRadio patches (not working yet) and zen I/O scheduler
- Fixes and Enhancements here and there
08.11.2016 - V3:
- Integrated newest Android Version NDE63X from earlier today.
- Integrated and enabled WideVine DRM, so that Google Play Movies is now working.
- Custom kernel with additional zzmoove governer and adreno_idler patches to lengthen battery life
- Fixes and Enhancements here and there
04.11.2016 - V2:
- switched the Camera subsystem to HAL1 after discussion with the sony camera guys
- fixed most of the camera related crashes and hangs. Quality of the preview is poor, but pictures are okay.
- Taking a Video crashes the mediaserver and yields no playable result as of now.
- added build for SGP611, which is untested as I do not own the device. But it should work.
02.11.2016 - V1:
- Initial release: Everything except Camera is working. Camera uses HAL3.
Thanks:
- Sony, for providing awesome AOSP support on github
Downloads (currently not available):
V4 - GDrive - SGP621: scorpion-nougat-7.1-v4.zip
V4 - GDrive - SGP611: scorpion_windy-nougat-7.1-v4.zip
Older Downloads:
V3 - GDrive - SGP621: scorpion-nougat-7.1-v3.zip
V3 - GDrive - SGP611: scorpion_windy-nougat-7.1-v3.zip
oh man, you're awesome! i will test it when i have a little bit more time. Thanks!
for the camera there is a post in the forum that some dev are trying to figure out a solution for get a camera fully functional?
edit: for the moment the most things are working fine, only one thing when i play video, the video show a green imagen. i will continue testing.
wulfiss said:
oh man, you're awesome! i will test it when i have a little bit more time. Thanks!
for the camera there is a post in the forum that some dev are trying to figure out a solution for get a camera fully functional?
edit: for the moment the most things are working fine, only one thing when i play video, the video show a green imagen. i will continue testing.
Click to expand...
Click to collapse
Are you using a specfic video player? Which codec does the video file use?
As for the camera. I am already in contact with the camera guys from Sony and will experiment a little with their suggested solutions today.
@lowtraxx
Is this also for the WiFi only Z3 Tablet? (Scorpion Windy)
Gesendet von meinem SM-G930F mit Tapatalk
iamnotkurtcobain said:
@lowtraxx
Is this also for the WiFi only Z3 Tablet? (Scorpion Windy)
Gesendet von meinem SM-G930F mit Tapatalk
Click to expand...
Click to collapse
Nope, only SGP621 (scorpion) for now, as I have no scorpion_windy. I'll maybe do a blind build once scorpion is stable and functional enough for my taste.
wulfiss said:
oh man, you're awesome! i will test it when i have a little bit more time. Thanks!
for the camera there is a post in the forum that some dev are trying to figure out a solution for get a camera fully functional?
edit: for the moment the most things are working fine, only one thing when i play video, the video show a green imagen. i will continue testing.
Click to expand...
Click to collapse
Tried with many different samples from mplayerhq with many different codecs. In VLC with hardware and software decoding as well as with firefoxes internal playback. They all played back fine and without color distortion. Maybe your player app is not yet compatible with 7.1?
Well this is a surprise. Since I never used NFC and the Cameras with the tablet and always got rid of the corresponding apks in /system this would actually be a daily runner for me right now
Sadly I only have a SGP611, so no love for me right now...
Anyway, top notch work, keep it up!
Spleeno said:
Well this is a surprise. Since I never used NFC and the Cameras with the tablet and always got rid of the corresponding apks in /system this would actually be a daily runner for me right now
Sadly I only have a SGP611, so no love for me right now...
Anyway, top notch work, keep it up!
Click to expand...
Click to collapse
I think I nearly have the camera figured out. As soon as I am done with that, I will try to do a blind build for the SGP611 (scorpion_windy). If it goes through, you can be my guinea pig for testing if you want
sure thing
fröhliches schaffen
lowtraxx said:
Tried with many different samples from mplayerhq with many different codecs. In VLC with hardware and software decoding as well as with firefoxes internal playback. They all played back fine and without color distortion. Maybe your player app is not yet compatible with 7.1?
Click to expand...
Click to collapse
my fault I only tried playing with the gallery. other apps work well and I forgot to mention that I've installed this rom on my SGP611. thanks!
iamnotkurtcobain said:
@lowtraxx
Is this also for the WiFi only Z3 Tablet? (Scorpion Windy)
Gesendet von meinem SM-G930F mit Tapatalk
Click to expand...
Click to collapse
Spleeno said:
Well this is a surprise. Since I never used NFC and the Cameras with the tablet and always got rid of the corresponding apks in /system this would actually be a daily runner for me right now
Sadly I only have a SGP611, so no love for me right now...
Anyway, top notch work, keep it up!
Click to expand...
Click to collapse
I've installed this rom on my SGP611 and it works well. Give it a try, everything is working fine
wulfiss said:
my fault I only tried playing with the gallery. other apps work well and I forgot to mention that I've installed this rom on my SGP611. thanks!
I've installed this rom on my SGP611 and it works well. Give it a try, everything is working fine
Click to expand...
Click to collapse
Is it smooth? Better than cm12.1?
iamnotkurtcobain said:
Is it smooth? Better than cm12.1?
Click to expand...
Click to collapse
It's smooth, but I don't know if it better than cm 12.1 because I never used cm on the tablet.
Backup and try for you oneself . :good:
TWRP stopped working after Gapps flash.
Reflashed TWRP but still stack at TWRP wallpaper and doesn't start.
Does anyone have the solution?
ps. Found out if I take out SD card, TWRP works.
SD card corrupts easily, it seems.
ux50jp said:
TWRP stopped working after Gapps flash.
Reflashed TWRP but still stack at TWRP wallpaper and doesn't start.
Does anyone have the solution?
Click to expand...
Click to collapse
This is strange. Please try reflashing boot.img to boot and twrp to FOTAKernel. If that does not work, you could try formatting those partitions before writing to them via fastboot format.
ux50jp said:
TWRP stopped working after Gapps flash.
Reflashed TWRP but still stack at TWRP wallpaper and doesn't start.
Does anyone have the solution?
ps. Found out if I take out SD card, TWRP works.
SD card corrupts easily, it seems.
Click to expand...
Click to collapse
For the SD card corrupt, I took the sd and put sd again and it working fine and I don't any problems with TWRP
Sorry for my bad English I am trying to improve
Just posted a new version with better camera support.
04.11.2016 - V2: After discussion with the sony camera guys I switched the Camera subsystem to HAL1. Then I fixed most of the camera related crashes and hangs. Quality of the preview is poor, but pictures are okay. Taking a Video crashes the mediaserver and yields no playable result as of now.
Also I am currently running a build for SGP611 (scorpion_windy). If it builds with no problems, I will post it here for you to test.
Is there a way to get ROOT?
I just flashed SR3-SuperSUv278 and got a boot loop.
ux50jp said:
Is there a way to get ROOT?
I just flashed SR3-SuperSUv278 and got a boot loop.
Click to expand...
Click to collapse
I don't know if SuperSU works with 7.1.
I used Magisk and phh-superuser and it worked without bootlooping.
lowtraxx said:
I don't know if SuperSU works with 7.1.
I used Magisk and phh-superuser and it worked without bootlooping.
Click to expand...
Click to collapse
Thank you for your info.
I have flashed phh-superuser-magisk-r259 but the root is still missing. No boot loop though.
ps. Solved by installing phh's superuser from Play store.
Added build for SGP611, but the following Warning applies
Warning: The SGP611 images are not tested, but just built by me, as I do not own the device. But as the two devices are the same except for the 4G Modem, it should work. If not, please let me know.
Have fun testing

[KERNEL][T/W8][V3.1] Noble Kernel for Grace ports

This particular kernel arose out of frustration at the lack of choices that T-Mobile and Canadian S6 users have when flashing ported roms with the GraceUX UI and it would not have been possible without the original source posted by @Greck99 .
Feature-wise, this is the same exact kernel included in Noble Experience; however, it has been built against a W8 configuration and uses a stock ramdisk that has been modified solely for the purpose of booting hybrid ports.
Yes, blue light filter works. So does AOD (no touch for now)
Pair this kernel with the call audio fix for grace ux for the complete Noble Experience (or whatever GraceUX port you desire) on T/W8
Suggestions and feedback are welcome. Feature requests may be considered if I determine them to be useful enough to include
Thanks to:
@Greck99 & @Noxxxious for this awesome source
@AlexisXDA for making killer roms and something to be envious of
@The Sickness for his continued work on our devices and for all his contributions
@arter97 for hybrid ramdisk commits
And the Nexus7420 team in general.
I am not responsible for your device, you are.
This kernel should work for both T-Mobile and Canadian devices,
though has only been tested on a G920W8.
Download Flat
Download Edge
Fix for flashlight/video playback
After flashing the kernel, flash SU of choice: Magisk or SuperSU
Changelog:
V3.1 -
- Fix video playback issue
V3 - Upstream merge
- Merge lastest N920 sources
- Update to Linux 3.10.105
- AOD drivers added
- Zen-tune added. Increased performance at the cost of some battery
- Add lz4 for zswap
- Add Smartmax, Smartmax_EPS and Yankactive governors
- Update bfq scheduler
V2.1
- Removed SU injection as it is not necessary and was not the source of boot failures.
Can be run unrooted, and with system or systemless root modules (SuperSU and MagiskSU)
V2
- SuperSU is now injected into ramdisk.
- Knox, tima, selinux stuff disabled (This fixes bootloops on Noble Experience)
- Battery enhancements
- Google play services wakelock fix
- noatime on system parition
V1
- Initial release
XDA:DevDB Information
Noble Kernel, Kernel for the T-Mobile Samsung Galaxy S6
Contributors
lizaSB, Greck99, Noxxxious
Source Code: https://github.com/lizaSB/android_kernel_samsung_universal7420
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v2.1
Stable Release Date: 2017-02-06
Created 2017-02-06
Last Updated 2017-02-14
congrats!!
just tried it with fastrom v3.1 D: got a bootloop unfortunately.. will try it again when i switch roms again!!
stephhh said:
congrats!!
just tried it with fastrom v3.1 D: got a bootloop unfortunately.. will try it again when i switch roms again!!
Click to expand...
Click to collapse
Interesting.. Did you flash SU after?
Edit: It also may be necessary to wipe dalvik if you are flashing this coming from Arter. I have flashed this on two different W8s without issue, so I'm fairly certain it works
No! So sorry! Did not think about flashing su because my rom already has it installed. I'll try again next time when I flash
lizaSB said:
Interesting.. Did you flash SU after?
Edit: It also may be necessary to wipe dalvik if you are flashing this coming from Arter. I have flashed this on two different W8s without issue, so I'm fairly certain it works
Click to expand...
Click to collapse
Great kernel! Thanks to the developers for their hard work.
One question, even though you said no AOD, would you consider it as a feature request?
rtx7 said:
Great kernel! Thanks to the developers for their hard work.
One question, even though you said no AOD, would you consider it as a feature request?
Click to expand...
Click to collapse
The main issue I have with AOD is the massive battery drain. Even with it not enabled in the kernel, the AOD app still drains battery. I actually trimmed it from my rom.
The other issue is that the only kernel I'm aware with the AOD feature is TN kernel, which the developer has chosen not to share his source.
lizaSB said:
The main issue I have with AOD is the massive battery drain. Even with it not enabled in the kernel, the AOD app still drains battery. I actually trimmed it from my rom.
The other issue is that the only kernel I'm aware with the AOD feature is TN kernel, which the developer has chosen not to share his source.
Click to expand...
Click to collapse
Yeah, you're right. My only issue is I'd love to try out AOD even it drains my battery, since tn kernel brakes call function.. So if you have a test build, I'd gladly try it out
Its nice to have more choices anyway! Thanks a lot. :victory:
Can you make an edge version
sebo.ks15 said:
Can you make an edge version
Click to expand...
Click to collapse
Did you read the OP carefully
Edge didn't work on my 925w8
sebo.ks15 said:
Edge didn't work on my 925w8
Click to expand...
Click to collapse
This was confirmed working last night. This kernel won't boot on Noble Experience without flashing SU after and is mentioned in the OP that root should be flashed after the kernel
lizaSB said:
This was confirmed working last night. This kernel won't boot on Noble Experience without flashing SU after and is mentioned in the OP that root should be flashed after the kernel
Click to expand...
Click to collapse
OK I'll try that that thanks..
What groundwork did arter97 do? We should credit Samsung for giving us the proper bootclasspath instead.
And btw AOD is working
Thanks for making this kernel available on other models. When you need help or have feedback about the kernel PM me.
Quintz said:
What groundwork did arter97 do? We should credit Samsung for giving us the proper bootclasspath instead.
And btw AOD is working
Thanks for making this kernel available on other models. When you need help or have feedback about the kernel PM me.
Click to expand...
Click to collapse
I used his commits for building the ramdisk, would've probably taken a lot more trial and error without them -- they aren't documented clearly anywhere else to my knowledge (and to be fair, not all of what he ships in the n7 kernel is required in the ramdisk for booting). Most kernel authors don't include their ramdisks in the source they post. Sure I could've decompiled the ramdisk shipped with Noble Experience and reverse engineered it, but that's not what I did. I just wanted to give credit for the path I took regardless of my opinions regarding those whose steps I followed.
I just noticed a slurry of new commits in the upstream branch which I pulled into my fork earlier today and built a test build for myself. I will be releasing it once I've had a bit of chance to test things out and make sure all is working :good: So far things are running great for me.
Thank you very much for the work you've done and for sharing your source. The blue light filter is the real cream for me here as the overlay in cf.lumen causes lag for me. It is greatly appreciated by myself and all the others with our device. I could've just taken a stock kernel and started from scratch, but this is oh-so-much better than that!
Kernel Updated to Version 3
This update is largely a merge with up upstream source. Kernel is feeling very smooth, and in addition AOD drivers have been added and most of the kinks have been worked out.
Kernel is now using a custom built dt.img for AOD support which has not been tested for edge devices (though the reboots never affected them). I see no reason why it shouldn't work, please let me know if it causes any catastrophic failures!
Edit: V3 Image for G925T/W8 has been re-uploaded as of 1:05pm PST. Fixes for call audio regarding the custom dt.img -- removed it as it's not needed.
Download Flat
Download Edge
Changelog:
V3 - Upstream merge
- Merge lastest N920 sources
- Update to Linux 3.10.105
- AOD drivers added
- Zen-tune added. Increased performance at the cost of some battery
- Add lz4 for zswap
- Add Smartmax, Smartmax_EPS and Yankactive governors
- Update bfq scheduler
@lizaSB nice work. I see now that I have some compitition lol. JK.
Glad to see some fresh blood here on the kernel side.
Works beautifully on my G920T (XAR). Thanks OP! One thing though: I would suggest highlighting the note that installing SuperSU immediately afterwards is mandatory to make it more easily seen as the device wouldn't boot without it...
The Sickness said:
@lizaSB nice work. I see now that I have some compitition lol. JK.
Glad to see some fresh blood here on the kernel side.
Click to expand...
Click to collapse
Maybe when you start developing for Grace ports there will be some competition
stevenchen1995 said:
Works beautifully on my G920T (XAR). Thanks OP! One thing though: I would suggest highlighting the note that installing SuperSU immediately afterwards is mandatory to make it more easily seen as the device wouldn't boot without it...
Click to expand...
Click to collapse
This is no longer the case as of v2.1. I flash many of my test builds without rooting them, so I am positive it still works without
3.1 online! Bug fix for video playback.
Download Flat
Download Edge
Changelog:
V3.1 -
- Fix video playback issue
lizaSB said:
Maybe when you start developing for Grace ports there will be some competition
Click to expand...
Click to collapse
No need to worry about that. I dont do ports of any kind.

[KERNEL][STOCK] MyKernel by Rudy [41.3.A.2.192]

MyKernel-V1 by Rudy​
Introduction:
Hi all, long time no see. Because of the pandemic, I started to learn about kernel and working on stock kernel just to add some performance for our beloved XZ. This is intended just for my private use, I hope you guys enjoy it. The commit in my github is a little bit mess. but it's working stable for me. Any suggestion or advice will be greatly appreciated. ​
Features:
Built from latest sony stock firmware 41.3.A.2.192
Upstream to the latest CAF tag LA.UM.6.5.r1-11700-8x96.0
Built kernel module inside the kernel
Backport new vmalloc https://lkml.org/lkml/2018/10/19/786
LZO-RLE for zram
Cherry-pick patches from https://github.com/AdrianDC/kernel-sony-copyleft/
Cherry-pick performance patches from sod kernel
Built using android gcc 4.9 (I always get random reboot or cannot boot at all using linaro so I am using standard compiler)
Disable ric, dm-verity
How to Install:
I upload 2 versions of this kernel, one for you who want to use drmfix and one for TA POC by munjeni:
For drm fix just flash the zip in TWRP or just extract the boot.img and flash it with fastboot
For you who want to use TA POC use rootkernel to add your own TA.img to MyKernel.img and then flash it with fastboot
Downloads:
V1.1 (test):
MyKernel-V1.1-drmfix
MyKernel-V1.1-nodrmfix
V1:
MyKernel-V1-drmfix
MyKernel-V1-nodrmfix
Bonus:
This is thermal config that I use. I just change the frequency value to start throttle when the temperature hits 54°C, change the sensor to msm_therm and reduce the sampling to 100.
CustomThermalConfig
OriginalThermalConfig_41.3.A.2.192
Credits:
@kholk (https://github.com/sonyxperiadev/kernel/pull/2016)
@AdrianDC (https://github.com/AdrianDC/kernel-sony-copyleft/)
@ SOD Team (https://github.com/sonyxperiadev/kernel/)
@tobias.waldvogel and @serajr https://forum.xda-developers.com/showpost.php?p=74724162&postcount=2793
Everyone ​
XDA:DevDB Information
[KERNEL][STOCK] MyKernel by Rudy [41.3.A.2.192], Kernel for the Sony Xperia XZ
Contributors
Rudy
Source Code: https://github.com/rudcode/android_kernel_sony_msm8996/tree/stable
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: V1
Stable Release Date: 2020-04-07
Created 2020-04-07
Last Updated 2020-04-08
The device is randomly restarting itself, has deep sleep problem
Layns said:
The device is randomly restarting itself, has deep sleep problem
Click to expand...
Click to collapse
Okay, that's weird. I've been using it for the last 3 or 4 days and didn't have that problem. Do you have any other mod installed?
What version are you using? Fyi, I use the TA POC one.
Rudy said:
Okay, that's weird. I've been using it for the last 3 or 4 days and didn't have that problem. Do you have any other mod installed?
What version are you using? Fyi, I use the TA POC one.
Click to expand...
Click to collapse
I've used the Drmfix version, i'm using the stock .192 version not installed in any mode just magisk installed
I set it up via fastboot
Layns said:
I've used the Drmfix version, i'm using the stock .192 version not installed in any mode just magisk installed
I set it up via fastboot
Click to expand...
Click to collapse
Okay, today I've experienced random reboot too. Can you test this version? I am reverting all caf commit to see if there is any problem there.
MyKernel-v1.1-drmfix.zip
MyKernel-V1.1-nodrmfix.img
Rudy said:
Okay, today I've experienced random reboot too. Can you test this version? I am reverting all caf commit to see if there is any problem there.
MyKernel-v1.1-drmfix.zip
MyKernel-V1.1-nodrmfix.img
Click to expand...
Click to collapse
I've now installed the new version you've given, the drmfix version. I'll write if there's any trouble in a few days, thank you, good work :fingers-crossed:
Deleted
Sony xperia xz or premium rondom reboot is common issue.
delete
Rudy said:
Okay, today I've experienced random reboot too. Can you test this version? I am reverting all caf commit to see if there is any problem there.
MyKernel-v1.1-drmfix.zip
MyKernel-V1.1-nodrmfix.img
Click to expand...
Click to collapse
MyKernel-v1.1-drmfix.zip it seems work... I cant see random reboot for now.
Device got ram problem, overspending, so the device freezes.
Layns said:
Device got ram problem, overspending, so the device freezes.
Click to expand...
Click to collapse
You are right. it is not stable modified kernel!
Can you share a new v2 version of the kernel you created on github? :|

Categories

Resources