[KERNEL][FEB 8] RyzenKernel -r3 (stock/oreo)

Search This thread

kraatus90

Senior Member
Sep 2, 2012
407
479
103
24172425139l.jpg

for Stock-Oreo​

Code:
/*  *** Disclaimer
* I am not responsible for bricked devices, dead SD cards, thermonuclear war, 
* or you getting fired because the alarm app failed. Please do some research 
* if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* BOOM goes the Dynamite
*/

Current Features

* Up streamed to latest stable version 4.4.115
* Built with GCC 4.9
* KCAL Control
* Wakelock Blocking
* Safetynet fixes
* Some other tweaks
* GPU initial frequently lowered to 160mhz


Kernel Aduitor/EX Kernel Manager is recommended for making kernel changes

Kernel Downloads:
Click

Instructions:

A) Boot into Recovery
* (Recommended) Make a complete backup of everything! At least backup BOOT via TWRP
* If you're not coming from completely stock kernel, please dirty flash stock first.
* Flash kernel zip and Reboot
B) via fastboot
* flash Ryzen_rX.img via fastboot (this image doesn't have root)
* flash Ryzen_rX_m.img via fastboot (this image is already patched with latest Magisk-v15.3)



Reporting Bugs (please read):
1. Make sure you're not using any tweak apps (Greenify, Naptime, anything else related), otherwise no support will be given.
2. If you previously flashed another custom kernel, make sure you dirty flash stock first.
3. Logs! Please provide dmesg kernel logs via Syslog app. If you experienced a kernel panic (system crash/reboot) please provide all ramoops file in /sys/fs/pstore/

thanks to everyone who helped me achieve this.

RenderBroken, flar2, joshuous, ak, myfluxi, Savoca and Many More!

Thank you guys!




XDA:DevDB Information
[KERNEL][FEB 8] RyzenKernel -r3 (stock/oreo), Kernel for the Moto X4

Contributors
kraatus90
Source Code: https://github.com/kraatus90/payton.git

Kernel Special Features: Powered by potatoe

Version Information
Status: Stable
Current Stable Version: r3
Stable Release Date: 2018-02-08
Current Beta Version: r1
Beta Release Date: 2018-01-22

Created 2018-01-22
Last Updated 2018-03-19
 

kraatus90

Senior Member
Sep 2, 2012
407
479
103
can i flash twrp and magisk patched kernel simultaneously ?
you can try but most likely twrp won't work after flashing kernel. so in order to use twrp, you will have to use bootable twrp image and use it whenever you need it. best thing to do is, flash Ryzen_rX_m.img via fastboot. and instead of flashing twrp, just boot the bootable version.
 

rehanraza

Senior Member
Feb 7, 2008
266
65
48
London
you can try but most likely twrp won't work after flashing kernel. so in order to use twrp, you will have to use bootable twrp image and use it whenever you need it. best thing to do is, flash Ryzen_rX_m.img via fastboot. and instead of flashing twrp, just boot the bootable version.

yes you are right just tried few minutes back and it doesnt work.
 

mightysween

Senior Member
Feb 18, 2011
1,550
1,287
143
Maine/USA
you can try but most likely twrp won't work after flashing kernel. so in order to use twrp, you will have to use bootable twrp image and use it whenever you need it. best thing to do is, flash Ryzen_rX_m.img via fastboot. and instead of flashing twrp, just boot the bootable version.

The trouble with TWRP being in the boot image is that...well... it is in the boot image. :)

I have a script to install TWRP as a patch into the current boot image... basically, you would flash the kernel, boot the bootable TWRP and then flash the TWRP installer. Will test it out...
 

kraatus90

Senior Member
Sep 2, 2012
407
479
103
The trouble with TWRP being in the boot image is that...well... it is in the boot image. :)

I have a script to install TWRP as a patch into the current boot image... basically, you would flash the kernel, boot the bootable TWRP and then flash the TWRP installer. Will test it out...
that would be great, cuz currently there's no way to modify ramdisk and ramdisk modification is necessary for upcoming eas kernel for flash and forget installing. otherwise it's kinda too much work to setup properly. although there's a long way to get fully stable eas. hopefully next month it will be ready. :D
 
  • Like
Reactions: f3r.and0

boladaso

Senior Member
Oct 25, 2014
50
13
28
27
Rio de Janeiro
Bro , After installing the kernel my Wi-Fi became unstable, all online games like bullet force, critical ops and modern combat 5 are disconnecting every 3 minutes. I solved re-flash Stock boot.img And it was stable as before.
 
  • Like
Reactions: olive23

mightysween

Senior Member
Feb 18, 2011
1,550
1,287
143
Maine/USA
So... I have not had much time lately to work on X4 stuff. But I did find time to build a script to inject the TWRP ramdisk into whatever boot image happens to be on the device.

It works, but for SOME reason it seems to always boot to recovery. Weird. I need to figure out why this is happening. Once I do, we should be able to use the bootable TWRP to flash a TWRP installer ZIP after flashing a custom kernel.

This seems like a much better scenario than having to recompile TWRP with each new custom kernel as it is released.

Will update again in a few days when I nail down this recovery bootloop.

If anyone wants to look, the ZIP is here (again, DON'T flash it as it bootloops): https://drive.google.com/open?id=1UzCz5sgJGCZJZ9ws_H4XZkxOQioWeyoc
 

anonyo

Senior Member
Feb 10, 2014
73
27
0
Hello,
Just wondering, would it be possible to incorporate TWRP (with permission/cooperation from @mightysween of course) into the kernel along with Magisk, so that both TWRP and Magisk get flashed when boot partition is flashed. I am not a programmer or anything, so just ignore if it is a dumb question and is not feasible.
Thank you
 

kraatus90

Senior Member
Sep 2, 2012
407
479
103
Hello,
Just wondering, would it be possible to incorporate TWRP (with permission/cooperation from @mightysween of course) into the kernel along with Magisk, so that both TWRP and Magisk get flashed when boot partition is flashed. I am not a programmer or anything, so just ignore if it is a dumb question and is not feasible.
Thank you

i believe he has tried it already, problem is it boots to recovery instead of system. so pretty much unusable. :(
 
  • Like
Reactions: f3r.and0

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    24172425139l.jpg

    for Stock-Oreo​

    Code:
    /*  *** Disclaimer
    * I am not responsible for bricked devices, dead SD cards, thermonuclear war, 
    * or you getting fired because the alarm app failed. Please do some research 
    * if you have any concerns about features included in this KERNEL
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    * BOOM goes the Dynamite
    */

    Current Features

    * Up streamed to latest stable version 4.4.115
    * Built with GCC 4.9
    * KCAL Control
    * Wakelock Blocking
    * Safetynet fixes
    * Some other tweaks
    * GPU initial frequently lowered to 160mhz


    Kernel Aduitor/EX Kernel Manager is recommended for making kernel changes

    Kernel Downloads:
    Click

    Instructions:

    A) Boot into Recovery
    * (Recommended) Make a complete backup of everything! At least backup BOOT via TWRP
    * If you're not coming from completely stock kernel, please dirty flash stock first.
    * Flash kernel zip and Reboot
    B) via fastboot
    * flash Ryzen_rX.img via fastboot (this image doesn't have root)
    * flash Ryzen_rX_m.img via fastboot (this image is already patched with latest Magisk-v15.3)



    Reporting Bugs (please read):
    1. Make sure you're not using any tweak apps (Greenify, Naptime, anything else related), otherwise no support will be given.
    2. If you previously flashed another custom kernel, make sure you dirty flash stock first.
    3. Logs! Please provide dmesg kernel logs via Syslog app. If you experienced a kernel panic (system crash/reboot) please provide all ramoops file in /sys/fs/pstore/

    thanks to everyone who helped me achieve this.

    RenderBroken, flar2, joshuous, ak, myfluxi, Savoca and Many More!

    Thank you guys!




    XDA:DevDB Information
    [KERNEL][FEB 8] RyzenKernel -r3 (stock/oreo), Kernel for the Moto X4

    Contributors
    kraatus90
    Source Code: https://github.com/kraatus90/payton.git

    Kernel Special Features: Powered by potatoe

    Version Information
    Status: Stable
    Current Stable Version: r3
    Stable Release Date: 2018-02-08
    Current Beta Version: r1
    Beta Release Date: 2018-01-22

    Created 2018-01-22
    Last Updated 2018-03-19
    8
    Update r2 is released. link on first post.

    * upstreamed to latest stable kernel release 4.4.114. :D
    8
    So... I have not had much time lately to work on X4 stuff. But I did find time to build a script to inject the TWRP ramdisk into whatever boot image happens to be on the device.

    It works, but for SOME reason it seems to always boot to recovery. Weird. I need to figure out why this is happening. Once I do, we should be able to use the bootable TWRP to flash a TWRP installer ZIP after flashing a custom kernel.

    This seems like a much better scenario than having to recompile TWRP with each new custom kernel as it is released.

    Will update again in a few days when I nail down this recovery bootloop.

    If anyone wants to look, the ZIP is here (again, DON'T flash it as it bootloops): https://drive.google.com/open?id=1UzCz5sgJGCZJZ9ws_H4XZkxOQioWeyoc
    6
    It is frustrating that I spent 2 months trying to make a boot image start directly to recovery, and now I can't seem make one that DOESN'T. :)
    4
    would it be possible to add support for lowering minimum screen brightness?

    will try in next update.


    Edit:

    Update r3 is here
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