[PIE][Kernel][28.11.2020][4.9.246] Kirisakura_NEXT 1.2.0 for HTC U12+ aka Imagine

Search This thread

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
5,746
19,210
After installated this kernel, my phone turns off and very fast low battery.
You need to give a bit more details.

Oreo or pie. Which version did you flash?

Did you flash the magisk module? You need to flash it. Without it the phone won’t work properly.
 

wacke

New member
Dec 24, 2010
1
0
HTC U12+
Is there anyone get screen touch function issue ?

The screen display function is normal, I can see the time is going, but can't touch anything.
And this issue happend randomly when I using the fingerprint to unlock the screen, until press power key to tun off the screen and then tun on screen angain.
My phone is on pie and flashed 10.7.0 kernel (Actually this issue also happend on 10.0.1 ).
 

p50kombi

Senior Member
Dec 20, 2005
3,969
2,150
Samsung Galaxy Note 10+
The screen display function is normal, I can see the time is going, but can't touch anything.
And this issue happend randomly when I using the fingerprint to unlock the screen, until press power key to tun off the screen and then tun on screen angain.
My phone is on pie and flashed 10.7.0 kernel (Actually this issue also happend on 10.0.1 ).
Yeah, I have this every now and then also.
I always thought it was one of the tweaks from leedroid doing it.
:)
I learned to live with it.
 

korom42

Senior Member
Dec 28, 2012
717
1,456
@Freak07 Any chance to get your pie updated kernel for the U11 anytime soon? A pie kernel source is available to download for the Chinese U11 variant on htcdev. If you need testers you can count on me.
 

elimiriel

Senior Member
Apr 26, 2010
65
5
Can I call it issue? VoLTE is not working in specific regions(using TTA-VoLTE because they start VoLTE beforehead of the standard was made) when using this kernel; they requires patching efs from modem of official released devices to IMS registration, but this kernel blocks efs explorer and VoLTE even to patched devices.
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
5,746
19,210
Update to Kirisakura_NEXT

hello guys and girls,

I guess here´s an update nobody suspected.

I already had this build prepared for quite a while but forgot about it, as I didn´t use the HTC U12+ over the last months. However I finally found some time to release it.

The kernel base is properly updated to the latest Pie source from HTC. The kernel is upstreamed with CAF (qualcomm) specific code and linux-stable upstream.
All previous features should still work as before. :)

The module is not necessary. The WLAN-Driver is being built inline now.

I wish everybody a great weekend. :)







Changelog:


- Updated kernel properly to Pie HTC-Source
- CAF-Upstream for 4.9
- Linux-Stable Upstream updated from 4.9.201 to 4.9.246 :)
- more other changes check my github :)


Installation:
please take a look at the OP!
Magisk root is getting detected and automatically kept at install!
Works on Android Pie!
Don´t forget to install the latest cleanslate-config apps! Maybe consider supporting @tbalden by purchasing his apps on playstore.



PIE:
Download:

Kernel:
https://www.androidfilehost.com/?fid=10763459528675593291



Donations are not mandatory but very welcome.
If you like my work and want to support development or buy me a coffee: http://paypal.me/freak07

Have a nice day all and enjoy your phone :)
 

maharadja

Senior Member
Oct 31, 2010
66
14
Diez
ASUS ROG Phone 3
hello guys and girls,

I guess here´s an update nobody suspected.

I already had this build prepared for quite a while but forgot about it, as I didn´t use the HTC U12+ over the last months. However I finally found some time to release it.

The kernel base is properly updated to the latest Pie source from HTC. The kernel is upstreamed with CAF (qualcomm) specific code and linux-stable upstream.
All previous features should still work as before. :)

The module is not necessary. The WLAN-Driver is being built inline now.

I wish everybody a great weekend. :)







Changelog:


- Updated kernel properly to Pie HTC-Source
- CAF-Upstream for 4.9
- Linux-Stable Upstream updated from 4.9.201 to 4.9.246 :)
- more other changes check my github :)


Installation:
please take a look at the OP!
Magisk root is getting detected and automatically kept at install!
Works on Android Pie!
Don´t forget to install the latest cleanslate-config apps! Maybe consider supporting @tbalden by purchasing his apps on playstore.



PIE:
Download:

Kernel:
https://www.androidfilehost.com/?fid=10763459528675593291



Donations are not mandatory but very welcome.
If you like my work and want to support development or buy me a coffee: http://paypal.me/freak07

Have a nice day all and enjoy your phone :)

Hey,
is this Kernel in newest Viper GSI? And if not, could i install it or is this not compatible?
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
5,746
19,210
Hey everybody,

So here´s the deal about the XDA Migration. While I welcome the change to basically get a faster and more modern forum there are also some problems that happened during the migration.

The biggest problem right now is that all of my OPs got reset several months back and I currently have lost the content of these months. That means all changes I added during that time (most obviously changelogs, but feature updates/additions etc, repair broken links) are missing completely.

It seems there is still work being done in the background, but all of those threads have not been repaired or showed any signs of changes during the last week while the migration happened.

I got not very clear replies when asking for help in the thread we all were supposed to reply to in case certain parts are broken or missing. I had hoped XDA would fix my threads in time for the security updates on the Pixels at least. But with today being patchday (probably), I don´t have high hopes it´s going to happen.

It´s unfortunate, because I think my OPs contain a lot more information or links when compared to other OPs. In the end this is a loss not only to me, but mostly the whole forums and its users. So I really hope it will be fixed soon.


But what I will do is the following:

I´ll just change the thread title to reflect the correct date and kernel version. I will not update the OP until there is clear information that either the content will not or will be restored.
I´ll just put a release post here in the thread once the new update for this months security patch is ready or I will update the kernel.

Until then I link the latest download here, which is 1.2.0:


The release post for 1.2.0 can be found here:


Once the release post for December Update is ready I´ll just post it here and update the thread title.
 

i5lee8bit

Senior Member
Jul 18, 2006
419
896
New Jersey
Oh man, I forgot to share these screenshots. Lol, so this phone has now become a backup phone for me ($60 got me 2 years of Tracphone service via AT&T MVNO with 2400 min / 2400 text / 6gb LTE over the entire timespan). As such, I often use it for something, put it down somewhere, and completely forget about it (aka lose it). So I found it earlier this week buried under crap on my dresser drawer... apparently it had been just over a week off the charger and it was still chugging along!

168 hrs / 25 min call time / 1.5 hrs SOT / cellular, location, wifi and bluetooth left on the entire time. Looks like the last 22 hours, battery saver mode kicked on because wifi and bluetooth active time are slightly lower at 146 hrs. Less than 2 hours kept awake out of 168 hours. Nice kernel!

It's been a while since the U12+ was my daily driver, but I sure do miss them days. Taking this time to thank you for your contributions over the years, @Freak07! Anyways, see ya back on the P4XL forums, hehe.
 

Attachments

  • Feb-16,-2021-11-11-21-PM.jpg
    Feb-16,-2021-11-11-21-PM.jpg
    505.6 KB · Views: 72
  • Feb-16,-2021-11-11-37-PM.jpg
    Feb-16,-2021-11-11-37-PM.jpg
    521.2 KB · Views: 73
  • Feb-16,-2021-11-11-21-PM.jpg
    Feb-16,-2021-11-11-21-PM.jpg
    505.6 KB · Views: 61
  • Feb-16,-2021-11-11-37-PM.jpg
    Feb-16,-2021-11-11-37-PM.jpg
    521.2 KB · Views: 71

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    Kirisakura-Kernel for HTC U12+

    Hello everyone,

    Kirisakura kernel is designed to bring a handful of beneficial features to the device, while ensuring excellent performance and smoothness to get you safely through the day!

    This includes upstreaming to latest linux stable for enhanced security and stability. As well as bringing in important new CAF patches, as soon as CAF releases the sources for the SD 845!

    Revisiting the stock EAS implementation for further efficiency enhancements is also on my current roadmap for future development. I´m sure there is potential!
    To have a read about our scheduler, which is called EAS, take a look here:
    https://developer.arm.com/open-source/energy-aware-scheduling



    Main Features:
    - Based on latest kernel sources from HTC for the HTC U12+ (2.45)
    - Upstreamed to latest 4.9.246
    - CAF-Upstream merged
    - Pixel 3/XL EAS ported over
    - Cleanslate features from @tbalden included! (big thanks to him!)

    CPU related features:
    - Dynamic schedtune boost from @joshous
    - CPU Input boost from @Sultanxda
    - Disclaimer: please take a look at post 2 on how to set them up!
    - Power saving workingqueues enabled by default (toogleable in EXKM)
    have a read here: https://lwn.net/Articles/731052/
    this complements EAS in general
    - DDR bandwidth boost from @Sultanxda

    Graphic related features:
    - KCAL to control the display
    - Adreno Boost
    - Enabled NAP power saving state of Adreno 630

    Network related features:
    - Wireguard Support

    Misc Features:
    IO-Schedulers:
    - cfq
    - bfq
    - maple
    - deadline
    - noop
    - tripndroid
    - fiops
    - zen

    TCP Congestion Algorithms:
    - advanced algorithms enabled
    - includes new bbr and sociopath tcps

    Wakelock Blocker:
    - advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
    - common wakelocks that are safe to be blocked are blocked by default


    Feature section for the "non visible" but perceptible improvements:
    - mark certain IRQ and kthreads as performance critical
    - updated schedutil governor
    - updated binder section (responsible for interprocess communication)
    - updated sdcardfs (have a read about it here: https://www.xda-developers.com/divi...les-fuse-replacement-will-reduce-io-overhead/ )
    - Speculative Page Faults (1. 2)
    - Memory allocation overflow protection (kernel hardening feature)
    - proc gate vulnerability fixed



    Requirements
    - unlocked Bootloader
    - USB-Debugging in developer options enabled
    - latest adb and fastboot binaries
    - working adb and fastboot environment


    How to flash the Kernel:

    1. Download the kernel.zip to your device
    2. Reboot to TWRP
    3. Flash the kernel.zip in TWRP
    4. The kernel zip will detect if you´re rooted and keep root in that case! :)
    5. Reboot and Profit :)


    IMPORTANT NOTICES

    1. After rooting, the option to enable face unlock from htc may be greyed out.
    How to fix:
    a. Open Magisk Manager
    b. Open the side menu and tap on magisk hide
    c. Tick faceunlock to be hidden



    DOWNLOAD:
    Download is located always in this folder:
    https://www.androidfilehost.com/?w=files&flid=278195

    Important: Read after Download
    Please take a look at the second post after flashing the kernel!


    Changelog:
    0.1 Initial Release
    0.2 https://forum.xda-developers.com/showpost.php?p=77002100&postcount=32
    0.5 https://forum.xda-developers.com/showpost.php?p=77092842&postcount=46
    1.0 https://forum.xda-developers.com/showpost.php?p=77131607&postcount=61
    1.1 https://forum.xda-developers.com/showpost.php?p=77187557&postcount=82
    1.3 https://forum.xda-developers.com/showpost.php?p=77228675&postcount=85
    1.4 https://forum.xda-developers.com/showpost.php?p=77234128&postcount=88
    1.7 https://forum.xda-developers.com/showpost.php?p=77255692&postcount=90
    2.0.3 https://forum.xda-developers.com/showpost.php?p=77515446&postcount=115
    2.1.1 https://forum.xda-developers.com/showpost.php?p=77585106&postcount=136
    2.2.0 https://forum.xda-developers.com/showpost.php?p=77663581&postcount=167
    2.2.3 https://forum.xda-developers.com/showpost.php?p=77757758&postcount=181
    2.3.4 https://forum.xda-developers.com/showpost.php?p=77856442&postcount=195
    3.0.2 https://forum.xda-developers.com/showpost.php?p=78204561&postcount=244
    4.1.1 https://forum.xda-developers.com/showpost.php?p=78315932&postcount=261
    5.0.0 https://forum.xda-developers.com/showpost.php?p=78767277&postcount=301
    5.2.1 https://forum.xda-developers.com/showpost.php?p=78856374&postcount=321
    7.0.0 https://forum.xda-developers.com/showpost.php?p=79353529&postcount=337
    9.1.0 https://forum.xda-developers.com/showpost.php?p=79696218&postcount=355
    10.0.0/1 https://forum.xda-developers.com/showpost.php?p=79973617&postcount=364

    Pie and forward (please not this release is a hacked base OREO-base to work on Android Pie):
    10.7.0 https://forum.xda-developers.com/showpost.php?p=81035393&postcount=378

    Pie:
    1.2.0_NEXT https://forum.xda-developers.com/showpost.php?p=84014357&postcount=388

    Donations:
    Donations are not mandatory but very welcome if you want to support development or just buy me a coffee :)
    If you like my work: http://paypal.me/freak07

    Credits:

    @osm0sis for all his work, including the ak2 installer!
    @tbalden for being the best HTC wingman!
    @LeeDroid for his awesome roms!
    @Captain_Throwback for all the mentoring and guidance!
    @Eliminater74 for bringing me into the game and the Inspiration
    @nathanchance for his upstream guidance and assistance
    @RenderBroken for helping me out
    @flar2 for all his work
    @joshuous for all the help he provided to me

    XDA:DevDB Information
    Kirisakura-Kernel , Kernel for the HTC U12+

    Contributors
    Freak07
    Source Code: https://github.com/freak07/Kirisakura_Imagine/commits/master_bluecross_eas

    Kernel Special Features: Linux Upstream, KCAL, CAF, Cleanslate Features, Pixel 3 EAS

    Version Information
    Status: Stable

    Created 2018-06-28
    Last Updated 2020-11-28
    14
    How to set up the kernel


    as with release 4.1.1 it’s advised to change no boost settings at all! It’s all flash and forget :)




    This is a short guide on how to set up the kernel. This is currently required because TWRP is not yet ready and therefore I have no ak2 zip to set that all up.





    The following is deprecated as with 0.5 Release!


    Basically I decided to disable pnpmgr. This is htc’s daemon for controlling the CPU boosts.
    I integrated a few other boosts to the kernel that work way better to replace HTC´s mechanism.
    The phone is more smooth and more efficient now.

    This is not a requirement at all. It´s entirely optional in case you aren´t satisfied with the current state of things!

    1. With a root explorer go to /system/vendor/etc and rename pnp.xml to pnp.xml.bak
    That will disable pnpmgr on the next reboot.

    2. In EXKM navigate to CPU -> Boost Settings

    3. Set the values like on the attached screenshot! and toogle the arrows to set it on reboot


    4. cpu input boost currently has no interface in EXKM. The predefined values are fine. But if you navigate to Tools -> User Settings, you can call any file and change the values exactly to your liking.
    Just hit the + and add the following paths:
    sys/module/cpu_input_boost/parameters/input_boost_freq_lp boost freq of the little cluster
    sys/module/cpu_input_boost/parameters/input_boost_freq_hp boost freq of the big cluster
    sys/module/cpu_input_boost/parameters/input_boost_duration boost freq duration

    5. Reboot and profit



    The following is advised as with the Release of 0.5!

    1. If you previously renamed pnp.xml found in /system/vendor/etc, to pnp.xml.bak, rename it back to pnp.xml!

    Now reboot!

    2. Here is a screenshot of the optional boost settings I´m currently running. These are a bit more aggressive than stock, provide more smoothness but cost a tiny bit of battery. In the end I still achieve way better battery results on 0.5 than on 0.2 even with additional boosts enabled. That is due to the energy saving commits I mentioned in the changelog of 0.5.
    Here is the screenshot!

    jfaflx.png


    13
    Update to 10.7.0

    hello guys and girls,

    Long time no update I know :) The update is only for Pie, see the previous release if you decide to stay on Oreo.
    I was busy working on the kernel, but never go around to release the kernel.

    So it is pretty much upstreamed to latest linux-stable (at least at the time of compilation) and has many fixes from kernel/common merged.

    I added LDAC support along with adaptive bitrate and heavily updated the audio driver.

    A huge thanks to @p50kombi for all the testing and keeping up with me. He encouraged me to look into the LDAC issue.
    So thanks to him!


    Pie Kernel issue:
    The only issue for now, is that the dialog to choose the type of connection upon connection to a PC is not popping up automatically.
    But you can set this in developer options easily.

    Make sure to flash the proper module in magisk manager before flashing the kernel!

    Latest upstream is included. More changes in the changelog and on github :)





    have fun everyone!


    Please report back how this kernel works for you! :)

    Changelog:


    - Linux-Stable Upstream updated from 4.9.184 to 4.9.201 :)
    - updates from kernel/common
    - heavily updated audio driver
    - add adaptive bitrate to the audio driver and enable LDAC properly
    - improve bluetooth driver
    - improve EAS-Scheduler with latest CAF upstream patches
    - more other changes check my github :)


    Installation:
    please take a look at the OP!
    Magisk root is getting detected and automatically kept at install!
    Works on Android Pie!
    Touchscreen patched to work for permanently flashed TWRP
    Don´t forget to install the latest cleanslate-config apps! Maybe consider supporting @tbalden by purchasing his apps on playstore.



    PIE:
    Download:

    Kernel:
    https://www.androidfilehost.com/?fid=4349826312261647827
    Module:
    https://www.androidfilehost.com/?fid=4349826312261647828



    Donations are not mandatory but very welcome.
    If you like my work and want to support development or buy me a coffee: http://paypal.me/freak07

    Have a nice day all and enjoy your phone :)
    12
    hello guys and girls,

    so finally here it is! This kernel has the Pixel 3 smoothness in it as good as it currently gets :) There are many other features included that further help with performance!
    Please enjoy! This was tested extensively again to make sure it´s stable :)


    have fun everyone!


    Changelog:

    Linux Stable:
    - Upstream to 4.9.142

    CAF-Updates
    - merge latest CAF tag
    - updates to camera driver
    - patched up soc driver
    - net changes
    - patches to ufs storage driver

    Other patches
    - Fully Ported Pixel 3 Kernel-Side EAS Integration

    - Mimic rom side pixel EAS integration with various kernel boosts/features!

    - Patch up EAS to latest CAF state/ the same as on my pixel 3 kernel

    - Fix memory leak in EAS

    - Close proc gate vulnerability (install the app on the link and hit check, no need to apply the fix as it´s fixed kernel side!)

    - Add hold functionality to schedtune boost
    The best explanation on this one is found in the commit description itself.
    It basically ensures that tasks that need to be boosted stay boosted. Before it accidentally could happens that some RT (Real Time) tasks get deboosted before they are finished, which could lead to the case that the CPU frequency could not be raised again when it needed to be raised in order to ensure the task gets completed as fast as possible.
    I enabled this boost for all task classes not only RT tasks. It did not have a negative impact on battery life at all. In some situations the phone feels even more snappy. Please test that for yourself!

    - Introduce Speculative Page faults
    This was added to the SD845 kernel Base also by CAF. You can read more about it here.
    As can be seen on this page a CAF developer tested it on the 4.9 kernel (which the HTC U12+ also uses) and reported
    Code:
    "We ported the SPF (Speculative Page Faults") to kernel 4.9 in android devices.
    For the app launch time, It improves about 15% average. For the apps
    which have hundreds of threads, it will be about 20%.
    Thanks."
    The above response in quotes can be read here.
    I´m not sure if the difference is really 15% but it´s app dependant for sure!


    Please report back how this kernel works for you! :)




    Installation:
    please take a look at the OP!
    Magisk root is getting detected and automatically kept at install!
    Works on bases 1.15, 1.21 , 1.25 and also 1.30
    Touchscreen patched to work for permanently flashed TWRP
    Don´t forget to install the latest cleanslate-config apps!
    Works also on the full viper rom!

    Download:
    https://www.androidfilehost.com/?fid=11410963190603864202


    Donations are not mandatory but very welcome.
    If you like my work and want to support development or buy me a coffee: http://paypal.me/freak07

    Have a nice day all and enjoy your phone :)
    12
    hello guys and girls,

    Here´s the big update.
    This release provides many improvements.
    Further update EAS implementation to mimic my pixel 3 xl kernel. Thereby improve efficiency of the Scheduler itself, update schedutil, use only cgroups instead of autogroups.
    Enhance GPU profiling to make user experience even smoother.
    Disable auditing to make the kernel a bit lighter.
    Improve Deep sleep by allowing to enforce the deepest idle state selection
    Add sound control to tune microphone gain
    Tune various boosts to EAS to greatly enhance user experience, smoothness and especially reduce app opening times!
    Linux-stable upstream updated from 4.9.142 to 4.9.152
    Include exfat no fuse driver. This allows to use external micro sdcards which are formatted as exfat to be used when a GSI Rom is used!


    have fun everyone!


    Please report back how this kernel works for you! :)




    Installation:
    please take a look at the OP!
    Magisk root is getting detected and automatically kept at install!
    Works on bases 1.15, 1.21 , 1.25 and also 1.30
    Touchscreen patched to work for permanently flashed TWRP
    Don´t forget to install the latest cleanslate-config apps!
    Works also on the full viper rom!

    Download:
    https://www.androidfilehost.com/?fid=11410963190603908838


    Donations are not mandatory but very welcome.
    If you like my work and want to support development or buy me a coffee: http://paypal.me/freak07

    Have a nice day all and enjoy your phone :)