[KERNEL][Z3] 78Kernel v3

Gustavo RD78

Senior Member
May 19, 2011
1,723
2,400
153
Maringá - PR
Here is a kernel we would say pretty much stock built through the sources

Build kernel from clean sources

Add features ramdisk:
busybox auto-injection (/system/xbin)
init.d support - automatically creates init.d in (/system/etc)
twrp-sony-recovery-boot-script based (Thanks @nilezon /jackfagner github script)
TWRP recovery 3.0.2-0 Modified (vol up or down when White LED)
Removed SuperSU in TWRP recovery to root because this method will not work
Systemless root support
SElinux permissive
Debugging enabled by default
Disable debugging notification icon in the status bar
Kernel insecure (ro.secure=0)

Add features Zimage:
Build with Linaro 4.9.1
Fix all errors and compilation warnings
Add voltage CPU control
Fade in/out led notifications. Thanks to @v-yadli
Implement sysfs interface for vibrator intensity (set to 23 as default, change)
Enable toggle for CRC (stock Y, change)
RIC disabled
Add and set as default Auto SMP hotplug with some mods
Add controls for optional scheduler features. Set both, arch_power and gentle_fair_sleepers to disabled by default


Note that not all resource requests will be granted, this is a custom kernel built for my private use
But I'll be ready to the experience you have with some other kernel and / or feature that will bring improvements

* Required Bootloader Unlocked!

* Installation:
Downloads:
78Kernel_v1
78Kernel_v2
78Kernel_v3
-Flash via recovery or unpack and flash boot.img via fastboot
Code:
fastboot flash boot boot.img
* Root:
-Flash a Systemless SU: SuperSU-v2.78-SR1
Note:
- The first boot may take some time, and give the impression that you are in a bootloop. Just wait and it will boot up normally eventually.
* Restore DRM:
(v3 supports DRM key restoration method @tobias.waldvogel, thread) Recomended!
-Flash DK.ftf
or
-Flash Restore DRM - SONY DRM FUNCTION RESTORATION FOR UB DEVICE

* Please, do not mirror!

* Github
* Github
* Github

* ChangeLog:
78Kernel_v1 initial build from sources (23.5.A.1.291)
78Kernel_v2 build from sources (23.5.B.0.303)
78Kernel_v3 build from sources (23.5.B.0.368)
*Add and set as default Auto SMP hotplug with some mods. IMPORTANT: Need to disable mpdecision in order to avoid conflicts
Open file /system/etc/set_governor.sh and delete line:
Code:
start mpdecision
*Add controls for optional scheduler features. Set both, arch_power and gentle_fair_sleepers to disabled by default
*Removed ANDROID_LOW_MEMORY_KILLER_CONSIDER_SWAP, Implemented in firmware .291 that causes swap zram problems full lag device
*Add option restore DRM keys from this method

(diff status github)

Enjoy and press the Thanks button if you like! :good:

.
 
Last edited:

whalesplaho

Senior Member
Feb 1, 2012
10,650
2,655
253
Treasure Island
i dnt know whats wrong...... unlock BL den flash tha kernel & Fragment rom, when it boot up no sign of tha kernel in kernel version so i reflashed tha kernel (via fastboot & recovery) but when tha phone boots up, it keep restarting!
 

Gustavo RD78

Senior Member
May 19, 2011
1,723
2,400
153
Maringá - PR
i dnt know whats wrong...... unlock BL den flash tha kernel & Fragment rom, when it boot up no sign of tha kernel in kernel version so i reflashed tha kernel (via fastboot & recovery) but when tha phone boots up, it keep restarting!
Probably a problem of combining rom with the kernel
Try flash rom stock to see if the problem still persists
 

Gustavo RD78

Senior Member
May 19, 2011
1,723
2,400
153
Maringá - PR
hello, nice to see the next custom kernel for the great device. I have try to flash this kernel but it get an bootloop. it boots to the Sony logo and restarts.

I use the latest existenz Rom, systemless root sr3 and suhide
Make sure you are using SuperSU version recommended on the thread
SuperSU SR2 cause boot loop, SR3 should also be your problem
 

Gustavo RD78

Senior Member
May 19, 2011
1,723
2,400
153
Maringá - PR
Rom is working with stock but not stock based rom....please dev kindly look into it!
Actually, I will not do it.
The breeder of custom rom is responsible for verifying your rom and finding out why it does not work with my kernel
Sorry, my kernel is built for rom and custom rom based on non-highly modified stock, we do not know what's actually put inside of your constructions
 

Gustavo RD78

Senior Member
May 19, 2011
1,723
2,400
153
Maringá - PR
78Kernel_v2

Sony has released firmware number 23.5.B.0.303

78Kernel v2 is built clean from this release and added all features of v1
Some of the differences is that in fw 291 has been added CONFIG_ANDROID_LOW_MEMORY_KILLER_CONSIDER_SWAP, (zram full) which for me is one of the causes of lags and or delays in multitasking, fw 303 behaves faster and responsive
Full list of changes can be checked on my github
 

blackhawk_LA

Senior Member
Dec 27, 2010
1,467
622
143
Actually, I will not do it.
The breeder of custom rom is responsible for verifying your rom and finding out why it does not work with my kernel
Sorry, my kernel is built for rom and custom rom based on non-highly modified stock, we do not know what's actually put inside of your constructions
I also have bootloops. The strange thing is that elite and stock kernel work without issues on Existenz. I know it's not your kernel fault, but could you help us suggesting what could be the problem? I was able to catch a kmsg http://cloud.tapatalk.com/s/582b9a4d6983a/kmsg.txt

Thank you!

Sent from my D6603 using Tapatalk
 
  • Like
Reactions: -Happy Feet-

yecomixer

Senior Member
Nov 7, 2015
112
43
0
Bogóta
Good day @Gustavo RD78,

there is some possibility that you can add the app shortcuts and the quick settings tiles in a next update is that I saw it in Franco.kernel and this is only for the Nexus / pixel so it would be nice to have these functions in our Z3 , Thanks is a very good job and I tried to try the first version of your kernel 78kernel_v1 and I always enter a bootloops I hope now to try this version 2 and I will share my experiences

Sent from my D6603 using XDA Labs
 

DECHTECH

Senior Member
Jun 19, 2016
328
143
0
19
Adelaide
fraycraft.ga
78Kernel_v2

Sony has released firmware number 23.5.B.0.303

78Kernel v2 is built clean from this release and added all features of v1
Some of the differences is that in fw 291 has been added CONFIG_ANDROID_LOW_MEMORY_KILLER_CONSIDER_SWAP, (zram full) which for me is one of the causes of lags and or delays in multitasking, fw 303 behaves faster and responsive
Full list of changes can be checked on my github
I was wondering if you can point me to a zip or ftf for the OS this kernel is based on, all I could find was the source code for the "Domoco" japan z3's, couldn't find anything else :\

If this really has fixed some performance issues, I WANT, my phone sometimes get's really slow from time to time and I have to restart system UI or restart completely (Like worse than a SD201)
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone