[KERNEL][NOUGAT] Genesis Kernel v1.11

Search This thread

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
Sony-Xperia-X-Compact-Review-000-design.jpg

XC Genesis Kernel

Features
- Sony RIC disabled
- dm-verity disabled
- DRM patch included
- Patches from CAF
- Patches from Google
- Added some CPU govenors
- Will update the OP over the next couple of weeks - not much time at the moment - for now feel free to explorer my github repository for detailed changes.

Installation
- Install the .zip file via TWRP (the boot.img will not work on it's own)
- For upgrades you can use FlashFire 0.53 - which is what I am using if your device is always with root access.
- Then flash SuperSU if required.

Downloads
*** Please do NOT create any mirrors ***
- Download Genesis Kernel From AndroidFileHost

Kernel Source Code
- https://github.com/ggow/android_kernel_sony_kugo/commits/android-7.1.1

Credits
- Sony | tobias.waldvogel | AndroPlus | cyanogenmod | sultanxda | franciscofranco | arter97
- If I have left anyone off then, apologies in advance and PM me to be added.

XDA:DevDB Information
XC Genesis, Kernel for the Sony Xperia X Compact

Contributors
ggow
Kernel Special Features:

Version Information
Status: Stable

Created 2016-12-24
Last Updated 2018-01-16
 

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
Release / Change Log (kugo,suzu)

16 January 2018
- Version 1.11
- Add wakelock blocker driver
- Add ironactive cpu governor
- Add smartmax cpu governor
- Add smartass2 cpu governor
- Add barry allen cpu governor
- Add bioshock cpu governor
- Add cafactive cpu governor
- Add zzmoove cpu governor
- Add yanactive cpu governor
- Added dynamic fsync (currently disabled / doesn't work)

13 January 2018
- Version 1.10
- suzu only
- Import clean ramdisk
- Add .gitignore files
- Import genesis kernel changes for ramdisk
- Disable sony_ric service
- Disable dm-verity

11 January 2018
- Version 1.09
- Add KCAL for mdss post processing support
- Slightly undervolt CPU and GPU
- Add voltage control for GPU
- Add voltage control for CPU
- Add backlight dimmer option
- Enable all cpu cores for device boot-up
- Force selinux permissive
- Enable MirrorLink support for kugo
- Merge each upstream linux point release up to v3.10.104

01 January 2018
- Version 1.08
- Initial release for suzu device

09 December 2017
- Version 1.07
- Merged up to 34.3.A.0.252 of Sony Upstream

27 August 2017
- Version 1.06
- Merged up to 34.3.A.0.217 of Sony upstream
- Lowered the brightness of boot screen and boot animation

26 June 2017
- Genesis Kernel v1.05
- For Android 7.1.1+ (34.3.A.0.xxx)
- Retrospective merge into 7.0.0 branch of sony open source:
  • 34.2.A.0333
  • 34.2.A.2.47
  • 34.2.A.2.69
- Created new 7.1.1 branch
- Merge into 7.1.1 branch sony open source:
  • 34.3.A.0.194

03 March 2017
- Version 1.04
- Merged up to 34.2.A.0.311 of Sony upstream
- Merge up to 3.10.95 of Linux upstream

05 January 2017
- Version 1.03
- Added Adreno Idler by arter97
- Add BFQ IO scheduler
- Add FIOPS IO scheduler
- Add Blu Active CPU scheduler
- Add init.d support (untested)
- Disable forced encryption of /userdata

31 December 2016
- Version 1.02
- Download from Dropbox - link is on the OP
- Major changes are:
- Improvements to ondemand and interactive govenor
- Added impulse govenor
- Added despair govenor
- Added conservative govenor

24 December 2016
- Initial Release v1.01
 
Last edited:

Kianush

Senior Member
Jan 4, 2014
707
101
Hey man thank you
please give some more summery on what roms it will work on
btw, waiting eagerly for oc and uc...
 

realtuxen

Senior Member
Jun 17, 2014
209
90
thanks man.. that's very cool. keep up the awesome work.
2Ghz limit/possibility for the 2xa72 would be nice since they are rated 2Ghz.
I guess it runs on any current nougat rom since .266 is the only version out yet?
 
Last edited:

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
Hey man thank you
please give some more summery on what roms it will work on
btw, waiting eagerly for oc and uc...

thanks man.. that's very cool. keep up the awesome work.
2Ghz limit/possibility for the 2xa72 would be nice since they are rated 2Ghz.
I guess it runs on any current nougat rom since .266 is the only version out yet?

It should work on any Sony stock ROM, android 7.0
 

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
I just saw a bug in the installer script which I have just fixed. I missed it before because my phone was working and already had the files loaded in the correct place from when I was putting the initial version together.

I have version 1.02 ready to upload now, providing the XDA uploader is working.

EDIT: I have removed the v1.01 and tried to upload the new version but it never attaches after verifying the MD5. @Darth, could you help me or know someone that can?

EDIT2: Seems to be a more general issue with uploading screenshots and files and is been worked on so not to worry, will wait until it's fixed
 
Last edited:
  • Like
Reactions: Kianush and 110112

ammarr

Senior Member
Feb 24, 2007
370
99
Mississauga
Do you know if there were any updates to the stock kernel between .266 and .273 that is being rolled out to some devices now?
 

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
New Build is Up

- Dated 31 December 2016
- Version 1.02
- Download from Dropbox - link is on the OP
- Major changes are:
- Improvements to ondemand and interactive govenor
- Added impulse govenor
- Added despair govenor
- Added conservative govenor
- Lots of other changes - please have a look at my github for details
 
Last edited:

spinhbar

Member
Mar 27, 2010
28
1
Greetings everyone

I have installed the K.E.M. ROM from XDA, but i didn't backup DRM keys first, so i lost all nice cam features.
Is it possible to flash this kernel and have those features back?
If so, do i have to wipe phone first, or it can be done while retaining all my data?

Thanks in advance
 

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
Greetings everyone

I have installed the K.E.M. ROM from XDA, but i didn't backup DRM keys first, so i lost all nice cam features.
Is it possible to flash this kernel and have those features back?
If so, do i have to wipe phone first, or it can be done while retaining all my data?

Thanks in advance

You should get back some of the functionality lost if you flash this kernel. Try it and post a screenshot of the Service Menu screen that shows which keys are active and OK.
 

spinhbar

Member
Mar 27, 2010
28
1
thanks for the answer.
what i am most interested in is the cam's night shot post-proc algorithms that remove greenish noise. do u know if that will be corrected?
also can i do it without losing my data?

You should get back some of the functionality lost if you flash this kernel. Try it and post a screenshot of the Service Menu screen that shows which keys are active and OK.
 

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
thanks for the answer.
what i am most interested in is the cam's night shot post-proc algorithms that remove greenish noise. do u know if that will be corrected?
also can i do it without losing my data?

You won't lose your data.
It should restore the camera processing algorithms, I haven't tested this as I have restored my device key after backing up my ta partition.
 

spinhbar

Member
Mar 27, 2010
28
1
thanx mate, cam's post-proc returned successfully!
so was trackid, x-reality, etc.
i'm sending you the service screenshot for feedback.
do you think i have restored all the features i had lost?

EDIT: after flashing this kernel sdcard was encrypted, so i cannot access my data from twrp (asks for a password) to reflash superuser. any advice pls??

You should get back some of the functionality lost if you flash this kernel. Try it and post a screenshot of the Service Menu screen that shows which keys are active and OK.

image.jpg
 
Last edited:

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
thanx mate, cam's post-proc returned successfully!
so was trackid, x-reality, etc.
i'm sending you the service screenshot for feedback.
do you think i have restored all the features i had lost?

EDIT: after flashing this kernel sdcard was encrypted, so i cannot access my data from twrp (asks for a password) to reflash superuser. any advice pls??

Good to hear you have the camera back.

I'll check my boot.img to check if encryption is forced or not. My phone is encrypted also so my guess is it's forcing encryption. Not sure how to decrypt SD card. Maybe someone else can advise on this.

We might also be able to build twrp to work with encrypted SD card.

Edit: just checked - force encrypt was enabled. I'll turn it off for the next build.

Also, I use FlashFire instead of twrp, seems to work great.
 
Last edited:

spinhbar

Member
Mar 27, 2010
28
1
thanx for your efforts.

if i understand correctly (i'm kinda noob) i will have to wait for your updated kernel that will not do force-encryption, in order to be able to use TWRP and flash SU, right?
do you have an aprox ETA for this pls?

PS: TWRP asks for a password, which i was not able to determine. it's not the pin i set while setup...

Good to hear you have the camera back.

I'll check my boot.img to check if encryption is forced or not. My phone is encrypted also so my guess is it's forcing encryption. Not sure how to decrypt SD card. Maybe someone else can advise on this.

We might also be able to build twrp to work with encrypted SD card.

Edit: just checked - force encrypt was enabled. I'll turn it off for the next build.

Also, I use FlashFire instead of twrp, seems to work great.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    Sony-Xperia-X-Compact-Review-000-design.jpg

    XC Genesis Kernel

    Features
    - Sony RIC disabled
    - dm-verity disabled
    - DRM patch included
    - Patches from CAF
    - Patches from Google
    - Added some CPU govenors
    - Will update the OP over the next couple of weeks - not much time at the moment - for now feel free to explorer my github repository for detailed changes.

    Installation
    - Install the .zip file via TWRP (the boot.img will not work on it's own)
    - For upgrades you can use FlashFire 0.53 - which is what I am using if your device is always with root access.
    - Then flash SuperSU if required.

    Downloads
    *** Please do NOT create any mirrors ***
    - Download Genesis Kernel From AndroidFileHost

    Kernel Source Code
    - https://github.com/ggow/android_kernel_sony_kugo/commits/android-7.1.1

    Credits
    - Sony | tobias.waldvogel | AndroPlus | cyanogenmod | sultanxda | franciscofranco | arter97
    - If I have left anyone off then, apologies in advance and PM me to be added.

    XDA:DevDB Information
    XC Genesis, Kernel for the Sony Xperia X Compact

    Contributors
    ggow
    Kernel Special Features:

    Version Information
    Status: Stable

    Created 2016-12-24
    Last Updated 2018-01-16
    10
    Little recap

    Here is little recap how I got latest Nougat, root and DRM fix incl. FIDO_KEYS. Just for quick reference. None of this is my invention, all credit goes to respective inventors and developers of tools etc.:

    - install Flashtool the latest(!) version - currently 0.9.23.2
    - install drivers from Flashtool, you may need to disable Driver signature verification in Windows
    - using XperiFirm function in Flashtool, download MM firmware. I used 34.1.A.3.49 SG firmware.
    - Flash the firmware, restart the phone, enable USB Debugging and Unknown Sources
    - Download DirtyCow TA Backup tool and run it
    - Save the resulting TA_F5321_BH***********.img somewhere safe, that's the TA partition
    - Flash back latest 292 Nougat firmware
    - Open your bootloader
    - Download TWRP from AndroPlus Advanced Stock kernel thread (TWRP-3.0.2-3-F5321)
    - Download the Genesis Kernel zip file and extract boot.img from it
    - Copy the kernel ZIP file in your SDCard and put there also SuperSU v.2.79
    - Install Minimal Fastboot and ADB
    - Again enable USB Debugging on your (now Nougat) phone
    - in Fastboot mode, flash kernel (fastboot flash boot boot.img) and recovery (fastboot flash recovery TWRP-3.0.2-3-F5321.img)
    - switch your phone OFF
    - switch phone on, holding the VolDown key until recovery appears
    - install kernel zip file from SDCard, switch phone OFF
    - again enter recovery, install SuperSU and switch your phone off
    - create TA_DK.ftf using Tool from Sony Z5 thread https://xdaforums.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605
    - Flash this TA_DK.ftf using Flashtool. However, we found (thanks @realtuxen ) that latest version (0.9.23.2 and 0.9.23.1) have a weird problem flashing ftf without fsc. So you need to UNINSTALL Flashtool, delete original installation folder and user folder (C:\Flashtool and C:\Users\$username$\.flashTool) and install version 0.9.22.3, otherwise you will NOT be able to flash device keys. Link to 0.9.22.3 zipped with password "flashtool" , When Flashtool asks, if you want to use default fsc, click on NO
    - disconnect and start your phone.

    At this moment you should have unlocked latest Nougat with Genesis kernel and root. Verify that your DRM keys are back by entering service menu (*#*#7378423#*#*) and go to Service Tests / Security. Keys should be OK and FIDO_KEYS provisioned.

    Please note, that TWRP 3.0.2 provided by @AndroPlus from his kernel thread DOES NOT support encryption on Nougat. It supports encryption on MM, but if you encrypt your Nougat rooted device, you will not be able to access /data partition and therefore any zip needing to access data will fail.
    9
    Release / Change Log (kugo,suzu)

    16 January 2018
    - Version 1.11
    - Add wakelock blocker driver
    - Add ironactive cpu governor
    - Add smartmax cpu governor
    - Add smartass2 cpu governor
    - Add barry allen cpu governor
    - Add bioshock cpu governor
    - Add cafactive cpu governor
    - Add zzmoove cpu governor
    - Add yanactive cpu governor
    - Added dynamic fsync (currently disabled / doesn't work)

    13 January 2018
    - Version 1.10
    - suzu only
    - Import clean ramdisk
    - Add .gitignore files
    - Import genesis kernel changes for ramdisk
    - Disable sony_ric service
    - Disable dm-verity

    11 January 2018
    - Version 1.09
    - Add KCAL for mdss post processing support
    - Slightly undervolt CPU and GPU
    - Add voltage control for GPU
    - Add voltage control for CPU
    - Add backlight dimmer option
    - Enable all cpu cores for device boot-up
    - Force selinux permissive
    - Enable MirrorLink support for kugo
    - Merge each upstream linux point release up to v3.10.104

    01 January 2018
    - Version 1.08
    - Initial release for suzu device

    09 December 2017
    - Version 1.07
    - Merged up to 34.3.A.0.252 of Sony Upstream

    27 August 2017
    - Version 1.06
    - Merged up to 34.3.A.0.217 of Sony upstream
    - Lowered the brightness of boot screen and boot animation

    26 June 2017
    - Genesis Kernel v1.05
    - For Android 7.1.1+ (34.3.A.0.xxx)
    - Retrospective merge into 7.0.0 branch of sony open source:
    • 34.2.A.0333
    • 34.2.A.2.47
    • 34.2.A.2.69
    - Created new 7.1.1 branch
    - Merge into 7.1.1 branch sony open source:
    • 34.3.A.0.194

    03 March 2017
    - Version 1.04
    - Merged up to 34.2.A.0.311 of Sony upstream
    - Merge up to 3.10.95 of Linux upstream

    05 January 2017
    - Version 1.03
    - Added Adreno Idler by arter97
    - Add BFQ IO scheduler
    - Add FIOPS IO scheduler
    - Add Blu Active CPU scheduler
    - Add init.d support (untested)
    - Disable forced encryption of /userdata

    31 December 2016
    - Version 1.02
    - Download from Dropbox - link is on the OP
    - Major changes are:
    - Improvements to ondemand and interactive govenor
    - Added impulse govenor
    - Added despair govenor
    - Added conservative govenor

    24 December 2016
    - Initial Release v1.01
    7
    New Build is Up

    - Dated 26 June 2017
    - Genesis Kernel v1.05
    - For Android 7.1.1+ (34.3.A.0.xxx)
    - Retrospective merge into 7.0.0 branch of sony open source:
    • 34.2.A.0333
    • 34.2.A.2.47
    • 34.2.A.2.69
    - Created new 7.1.1 branch
    - Merge into 7.1.1 branch sony open source:
    • 34.3.A.0.194
    - Detailed changes
    6
    New Build is Up

    - Dated 03 March 2017
    - Merged up to 34.2.A.0.311 of Sony upstream
    - Merge up to 3.10.95 of Linux upstream
    - Sorry it's been a while, life's busy.