xdaforums.com
Open in
urlscan Pro
3.214.214.173
Public Scan
URL:
https://xdaforums.com/t/kernel-07-12-2023-android-14-0-0-stable-kirisakura_raviantah-2-1-0-for-pixel-7-pro-aka-pantah....
Submission: On January 20 via manual from DE — Scanned from DE
Submission: On January 20 via manual from DE — Scanned from DE
Form analysis
3 forms found in the DOMPOST /t/kernel-07-12-2023-android-14-0-0-stable-kirisakura_raviantah-2-1-0-for-pixel-7-pro-aka-pantah.4509795/poll/vote
<form action="/t/kernel-07-12-2023-android-14-0-0-stable-kirisakura_raviantah-2-1-0-for-pixel-7-pro-aka-pantah.4509795/poll/vote" method="post" class="block js-pollContainer-31367" data-xf-init="poll-block ajax-submit">
<div class="block-container">
<h2 class="block-header">
<i class="fa--xf far fa-chart-bar" aria-hidden="true"></i> Are you interested in a magisk module introducing a so called summer mode(explanation in the thread)
</h2>
<div class="block-body">
<ul class="listPlain">
<li>
<div class="">
<div class="pollResult ">
<h3 class="pollResult-response">Yes</h3>
</div>
</div>
</li>
<li>
<div class="">
<div class="pollResult ">
<h3 class="pollResult-response">No</h3>
</div>
</div>
</li>
</ul>
<hr class="block-separator">
<div class="block-row block-row--minor">
<span class="u-muted">Results are only viewable after voting.</span>
</div>
</div>
</div>
<input type="hidden" name="simple_display" value="">
<input type="hidden" name="_xfToken" value="1705770937,ad2c8dfbb7882f46e141f0f0e2fd2a37">
</form>
POST /search/search
<form action="/search/search" method="post" data-xf-init="quick-search">
<div class="menu-row">
<input type="text" class="input js-uix_syncValue uix_searchInput uix_searchDropdown__trigger" autocomplete="off" data-uixsync="search" name="keywords" placeholder="Search…" aria-label="Search" data-menu-autofocus="true">
</div>
<div class="menu-row" style="display: none;">
<div class="inputGroup">
<input name="keywords" class="js-uix_syncValue" data-uixsync="search" placeholder="Search…" aria-label="Search" type="hidden">
<select name="constraints" class="js-quickSearch-constraint input" aria-label="Search within" style="width: 99px; flex-grow: 0; flex-shrink: 0;">
<option value="{"search_type":"post","c":{"thread":4509795}}">This thread</option>
</select>
</div>
</div>
<div class="menu-row">
<label class="iconic"><input type="checkbox" name="c[title_only]" value="1"><i aria-hidden="true"></i><span class="iconic-label">Search titles only</span></label>
</div>
<div class="menu-row">
<div class="inputGroup">
<span class="inputGroup-text">By:</span>
<input class="input" name="c[users]" data-xf-init="auto-complete" placeholder="Member" autocomplete="off">
</div>
</div>
<div class="menu-footer">
<span class="menu-footer-controls">
<button type="submit" class="button--primary button button--icon button--icon--search rippleButton"><span class="button-text">Search</span></button>
<a href="/search/" class="button rippleButton" rel="nofollow"><span class="button-text">Advanced…</span></a>
</span>
</div>
<input type="hidden" name="_xfToken" value="1705770937,ad2c8dfbb7882f46e141f0f0e2fd2a37">
</form>
<form style="display:none" hidden="hidden">
<input type="text" name="_xfClientLoadTime" value="" id="_xfClientLoadTime" title="_xfClientLoadTime" tabindex="-1">
</form>
Text Content
WE VALUE YOUR PRIVACY We and our partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised ads and content, ad and content measurement, and audience insights, as well as to develop and improve products. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our partners’ processing as described above. Alternatively you may access more detailed information and change your preferences before consenting or to refuse consenting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. Your preferences will apply to this website only. You can change your preferences at any time by returning to this site or visit our privacy policy. MORE OPTIONSAGREE * Home * Forums TOPICS For Phone/Device Forums (Click/Tap) 3D Printing Android Auto Android Mods Android TV Apps & Games Themes Wear OS Smartwatches TOPICS Windows 11 XDA Computing Artificial Intelligence AI & Machine Learning ML ****Contact Us Regarding Forum or Account Issues**** * Devices Phone/Device Forums (Click/Tap) Asus News Asus Forums Google News Google Forums HTC News HTC Forums Honor News Honor Forums Huawei News Huawei Forums Lenovo News Lenovo Forums LG News LG Forums Motorola News Motorola Forums Nokia News Nokia Forums Nubia News Nubia Forums OnePlus News OnePlus Forums OPPO News OPPO Forums Razer News Razer Forums RealMe News RealMe Forums Samsung News Samsung Forums Sony News Sony Forums Vivo News Vivo Forums Xiaomi News Xiaomi Forums ZTE News ZTE Forums * Guides What's new Log in Register * New posts * Manufacturers * What's new New posts Latest activity * Members Current visitors Menu Install the app Install * Topics 3D Printing Android Auto Android Mods Android TV Apps & Games Themes Wear OS Smartwatches Windows 11 XDA Computing * Terms and rules * Privacy * Security JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding. DEVELOPMENT [KERNEL][07.12.2023][ANDROID 14.0.0 STABLE]KIRISAKURA_RAVIANTAH 2.1.0 FOR PIXEL 7/PRO AKA "PANTAH" * Thread starter Freak07 * Start date Oct 24, 2022 * Tags battery freak07 kernel kirisakura performance * Home * Forums * Google * Google Pixel 7 Pro ••• BREADCRUMB Home Forums Google Google Pixel 7 Pro ARE YOU INTERESTED IN A MAGISK MODULE INTRODUCING A SO CALLED SUMMER MODE(EXPLANATION IN THE THREAD) * YES * NO -------------------------------------------------------------------------------- Results are only viewable after voting. * 1 * 2 * 3 * … GO TO PAGE Go * 93 Next 1 of 93 GO TO PAGE Go Next Last Search This thread This thread Search titles only By: Search Advanced… FREAK07 RECOGNIZED DEVELOPER / RECOGNIZED CONTRIBUTOR Jan 2, 2011 6,419 22,890 * Oct 24, 2022 * * #1 Kirisakura-Kernel for the Pixel 7/Pro Hello everyone, To keep it short: Here is Kirisakura - Kernel for the Google Pixel 7 Pro aka Cheetah and the Pixel 7 aka Panther, together Pantah. I would appreciate if everybody that flashes the kernel, reads at least once through this opening post and the following ones. The kernel aims to keep most of the subsystems updated, way ahead of the stock kernel, thereby improving security, stability and performance! This includes Linux-Stable, F2FS-Stable and kernel/common! If that got you curious, have a read about linux-stable and why it is important here. The stable-process is not the same for every subsystem, but the general idea, rule of thumb and benefits are applicable for other subsystems as well. By merging linux-stable regularly we get most security updates months ahead of the stock kernel and also before they even end up in the android security bulletin. The kernel includes a lot of improvements and contributions from other developers as well. Without those contributtion this kernel would not exist as it is. A big part of improvements originate from @arter97´s, @kdrag0n´s and @Sultanxda´s work. Many others contributed in some way or another to this kernel. A big thanks to all of them at this place! Now lets continue with a list of features in the next paragraph! Features: Main Features: - Based on latest A14 kernel sources from Google, Kernel is made for Android 14 Stable - Linux-Stable-Upstream included to 5.10.197 - Compiled with prebuilt Google clang 17.0.4 - EEVDF scheduler patches - lockless slab shrinker - Backport entire RCU subsystem to latest linux - Lazy RCU which should result in power-savings while the device is lightly-loaded or idling, more information here - Backport Maple tree from Linux 6.1 - improve preallocations from maple tree (affects especially android) - reduce necessity to rewalk the maple tree - Per VMA-locks in conjunction with Maple Tree RCU-Mode (improve app launch time, this feature in general benefits greatly from lazy rcu!) - further improve maple tree/per-vma locks introduced in an earlier release - Dynamic Energy Models depending on device state - make TEO-Cpuidle util-aware (improves latency, performance and decreases energy consumption for certain workloads, more information here) - introduce runnable boosting, wire it up with pixel_sched - improve CPU throttling behaviour - improvements to uclamp, prevent capacity inversion (reduce missed frames) - greatly speed up camera launch time! - merged kernel/common (improvements to android-common-kernel straight from google) - MM subsystem reworked (more info and some patchsets linked in this post) - Multi-gen LRU backported/reworked and enabled (more info here, here as well and here) to improve mm and reduce cpu cycles, latest V15 state (current state disabled, as google remotely controls the prop) - pelt multiplier tied into powerhal to speed up scheduler during interaction (more info here) - prevent frequency spikes caused by small transient tasks when the device is idle(more info here) - tie mechanism to prevent frequency spikes caused by small tasks also into powerhal - scheduler improvements for RT (realtime) tasks - introduce and setup PMU limiter (prevents CPU from spiking to max when it isn´t needed, based on PMU reads, more information here) - improve camera performance by tuning the powerhal during recording - bias tasks of rt, sf and ta groups to prefer high capacity cpus during app launches, interactions - improve app launches via powerhal - restrict maximum CPU-Freqs during screen off/ idle to 1.4GHZ for all clusters to save power - introduce unfair f2fs rwsems to prevent writer starvation and improve IO perf under heavy load - fuse: give wakeup hints to scheduler to speed up compress/decompress in internal storage (details) - enable RCU_BOOST (details here), also fix RCU_BOOST behaviour - F2FS-Stable updated - merge and enable f2fs block_age-based extent cache (improve the accuracy for data temperature classification, reduce the garbage collection overhead after long-term data updates) - TCP backports from mainline - SSG IO scheduler for reduced overhead and less CPU cycles (more lightweight and android optimized) - scheduler backports from linux-main - mm updates from linux-main - locking updates frm linux-main - improve memory performance by tweaking google´s eh zram implementation - fix sysfs endpoint for googles eh zram - affine IRQS to CPU 7 during camera usage for improved performance as it tends to overload the little cores - use bbr as default TCP congestion algorithm (fasted algo according to this excellent research from @kdrag0n found here ) - include bbrv2 from google, more info here - Enable support for TTL spoofing - important patches from kernel/common for 5.10 (here are more details) - increase priority of GPU work - several updates from QPR beta, and a few from Pixel 6 that googles missed to include in the pixel 7 kernel - improve thermals - change compaction proactiveness based on device state for improveed memory management - improve ZRAM usage - reduce overhead - improve performance and efficiency by properly wiring up pixel_sched with teo util awareness (thanks @ada12 for spotting this!) - update to cpuset/cgroup subsystem (speeds up camera launches, device unlocks etc as cpusets are switched on those conditions, patches reduce overhead in those conditions) - flashing the kernel will preserve root CleanSlate Features - CleanSlate Features from @tbalden, big applause here! (s2s, notification booster, battery saver, flashlight notifications. Please note: cleanslate features that work otherwise with rooted devices like kadaway (adblocking) are not implemented on this kernel since I´m running rooted) - Check the CleanSlate thread for more information about those features - The CleanSlate thread also contains the apps that allows you to control those features! - If you consider those features useful, maybe consider purchasing the apps in the PlayStore or a small donation to @tbalden, he deserves it! Don´t forget to switch to beta channel for those apps, as this is needed for device running A13! Various Optimizations: - update several drivers to use power efficient workingqueues (for example wlan driver) - f2fs: reduce timeout for uncongestion - f2fs: Demote GC thread to idle scheduler class - f2fs: set ioprio of GC kthread to idle - tcp: enable advanced tcp, give user more options for tcp alorithm - mm: vmstat: use power efficient workingqueues Wakelock Blocker: - advanced wakelock blocker with the ability to block kernel wakelocks (dangerous, use with caution, please read this for further info). You should only block kernel wakelocks in case you face uncontrollable scenarios, like company wifi causing a wakelock to be active 100% of the time! Blocking kernel wakelocks to "improve" battery life almost always backfires and causes issues! Powerhint Module: - restrict little cluster to 1,4ghz mid cluster to 1,4ghz and big cluster to 1,4ghz during screen off, to reduce battery usage for example during music playback - only use little cores during screen off/device suspend - account for scheduler and other changes done to the kernel - boost memory interface controller during interaction (decreased missed frames, improved soc efficiency according to google docs) - tie pelt multiplier into the powerhal (more info here) - prevent frequency spikes caused by small transient tasks during idle operation (more info here) - boost scheduler using the pelt multiplier during fingerprint unlock operation - setup and control PMU limiter via powerhal (more info here) - switch between default and custom idle energy model on device is being interacted with / device idle. - reduce missed frames during scrolling/device interaction by adjusting uclamp boosts - dynamically adjust target load for memory interface during interaction. - remove dynamic GPU policy change as it´s causing instability and is unneeded due to GVFS period - implement handling during video recording of CPU like Google did on QPR A13 - more small improvements DOWNLOAD: Downloads are attached to the release posts linked below in the changelog section. Please note that androidfilehost is currently not working properly. Link to AFH: Spoiler Deprecated afh download, still here for old releases: https://www.androidfilehost.com/?w=files&flid=336658 Changelog: Android 13.0.0 Stable (not QPR beta!) 1.0.0 Initial Release | Mirror for Download in case AFH is not working 1.1.0 https://xdaforums.com/t/kernel-24-1...-pixel-7-pro-aka-pantah.4509795/post-87743627 1.2.0 https://xdaforums.com/t/kernel-18-1...-pixel-7-pro-aka-pantah.4509795/post-87822161 1.2.1 https://xdaforums.com/t/kernel-06-1...-pixel-7-pro-aka-pantah.4509795/post-87878321 1.2.2 https://xdaforums.com/t/kernel-19-1...-pixel-7-pro-aka-pantah.4509795/post-87944505 1.2.3 https://xdaforums.com/t/kernel-04-0...-pixel-7-pro-aka-pantah.4509795/post-87960183 1.2.4 https://xdaforums.com/t/kernel-07-0...-pixel-7-pro-aka-pantah.4509795/post-88108123 1.3.0 https://xdaforums.com/t/kernel-07-0...-pixel-7-pro-aka-pantah.4509795/post-88286027 Raviantah_1.0.0 https://xdaforums.com/t/kernel-14-0...-pixel-7-pro-aka-pantah.4509795/post-88316285 Raviantah_1.0.1 https://xdaforums.com/t/kernel-21-0...-pixel-7-pro-aka-pantah.4509795/post-88323527 Raviantah_1.0.2 https://xdaforums.com/t/kernel-23-0...-pixel-7-pro-aka-pantah.4509795/post-88399915 Raviantah_1.0.4 https://xdaforums.com/t/kernel-11-0...-pixel-7-pro-aka-pantah.4509795/post-88497279 Raviantah_1.1.0 https://xdaforums.com/t/kernel-04-0...-pixel-7-pro-aka-pantah.4509795/post-88645103 Raviantah_1.1.2 https://xdaforums.com/t/kernel-14-0...-pixel-7-pro-aka-pantah.4509795/post-88719667 Raviantah_1.1.3 https://xdaforums.com/t/kernel-06-0...-pixel-7-pro-aka-pantah.4509795/post-88847285 Raviantah_1.1.4 https://xdaforums.com/t/kernel-08-0...-pixel-7-pro-aka-pantah.4509795/post-88866285 Raviantah_1.1.5 https://xdaforums.com/t/kernel-12-0...-pixel-7-pro-aka-pantah.4509795/post-89038079 Raviantah_1.1.6 https://xdaforums.com/t/kernel-23-0...-pixel-7-pro-aka-pantah.4509795/post-89079103 Raviantah_2.0.0 https://xdaforums.com/t/kernel-03-1...-pixel-7-pro-aka-pantah.4509795/post-89085294 Raviantah_2.0.2 https://xdaforums.com/t/kernel-06-1...-pixel-7-pro-aka-pantah.4509795/post-89149195 Raviantah_2.1.0 https://xdaforums.com/t/kernel-08-1...-pixel-7-pro-aka-pantah.4509795/post-89205141 Requirements - vbmeta flags for verity/verification disabled (this requires a wipe if you´re coming from stock with those flags enabled), check the FAQ for information on how to do this -> not required starting from Raviantah 2.0.0 - unlocked Bootloader - USB-Debugging in developer options enabled - latest adb and fastboot binaries - working adb and fastboot environment so you can flash back to stock in case something goes wrong - working magisk environment (a device rooted with latest magisk, use stable in case you want to be absolutely safe) - IMPORTANT: Unrelated to the kernel, but update both slots of your phone to A13 before you flash anything to your device! - it´s handy to have a backup and a way to return back to stock (check the faq for that) - make sure to download the correct kernel version for your firmware. (you can´t flash a kernel made for stable firmware on a QPR beta or dev preview and expect there to be no isses, the release posts mention which firmware the respective kernel releases are compiled for) - this kernel is tested on stock google firmware. If you want to use it on custom roms you´re kind of on your own as I can´t account and give support for any changes custom roms apply that could render the kernel incompatible. (e.g. if you´re custom rom is still on the previous months update, there may be issues flashing an updated kernel for the next month on top or custom roms requiring specific kernel changes to work correctly ) - it´s always best to start on stock images and don´t have another custom kernel flashed when flashing this kernel for the first time. consecutive flashes can just be installed on top, if not I´ll mention it in the release post - read the first and second post, there's a lot of valuable information How to flash the Kernel: 1a. Make sure you tick all the requirements above 1b. Make sure to flash the release made for your firmware! Usually the release post contains information on that 1. Download the kernel.zip (unified for both devices) and the correct powerhint module depending on your device (Pixel 7 = panther || Pixel 7 Pro = cheetah, starting from raviantah 2.0.0 the module is unified ) no longer necessary since Raviantah 2.0.2 2. Flash the powerhint module via magisk manager as you would any other magisk module! Make sure to flash the latest one. It will be mentioned in the release post if there´s an update. No longer necessary since Raviantah 2.0.2 Make sure to remove all previous installed powerhint modules before flashing Raviantah 2.0.2 and later 3. Flash the kernel.zip via EXKM, FKM or kernel flasher. Root will be preserved. 4. Reboot and profit. Donations: Donations are not mandatory but very welcome if you want to support development or just buy me a coffee/tea/beer If you like my work: http://paypal.me/freak07 Credits: @osm0sis for all his work on AK3. @tbalden for being the best HTC, Pixel, OnePlus and Asus wingman! @capntrips for all his work on the pixels, avb, hashtree patcher, the counsel and the kernel flasher! @LeeDroid and @mwilky for their awesome roms and work I used on multiple devices! @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 in the past! @arter97 for giving me advice @kdrag0n for his help and advices! @topjohnwu for magisk and his entire work! Source Code: https://github.com/freak07 Last edited: Dec 7, 2023 * * Reactions: Slim2none4u, maddad99362, xdagee and 89 others FREAK07 RECOGNIZED DEVELOPER / RECOGNIZED CONTRIBUTOR Jan 2, 2011 6,419 22,890 * Oct 24, 2022 * * #2 F.A.Q: Question: How do I check the state of avb flags for verity/verification on my phone? Answer: Check @capntrips post here and get the magisk module for this from here. After flashing the magisk module reboot your phone. You can now use the commands from @capntrips post to check. Question: How do I update my phone to a new monthly update if this kernel is installed? Answer: The easiest solution is to just use any full firmware package to update your phone to the new stock firmware. You can do so with the android web flash tool, a factory image or a full OTA image. An excellent guide on how to use the factory image to do so was posted by @roirraW "edor" ehT on this thread. Feel free to use this as a reference. I also posted what I do each month to update my phone here. This also serves as the easiest way to return back to stock, if you don´t like the kernel and feel not comfortable flashing anything via fastboot. Just remember to disable verity/verification vbmeta flags each time you update your phone as described in the next question below. If you boot once, without them disabled a wipe is required to disable them again. Question: How do I disable the vbmeta flags for verity/verification? Answer: The easiest solution is to use the android web flash tool and tick the correct checkbox. Alternatively extract the vbmeta.img from the matching factory image and flash it in fastboot via: Code: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img Please note that disabling those flags will require a full wipe for the device to boot if coming from flags enabled state! And a further note: You need to repeat this command every time you flash a full firmware zip ( a factory image or a full OTA.zip) to update the firmware of your phone as those contain a vbmeta image. Otherwise the flags will be reset to default enabled and it will require another wipe to disable them again! As with the firmware.zips, you need to tick the checkbox in the webflasher every month you update your phone or flash a firmware there! Question: How do I return back to stock? Answer: Extract boot.img, dtbo.img, vendor_kernel_boot.img and vendor_dlkm.img from the matching factory image provided on googles download page. Before flashing those modules make sure to remove powerhint module called AK3 Helper Module via Magisk Manager! Flash those images via fastboot/fastbootd and you will be back on stock kernel. If you don't know the fastboot commands to flash the images, check the instructions how to flash those images in post #4. Starting from Raviantah 2.0.0 it´s only required to flash boot.img, dtbo.img and vendor_kernel_boot.img from original firmware to return back to stock. Alternatively dirty flash the whole firmware without wiping by using either the android web flash tool, a factory image or a full OTA image. If you disabled the vbmeta flags, don't forget to disable them again (or tick the correct options on the web flash tool) after flashing a full firmware package and re-root. Kernel flasher has the capability to backup those partitions as well, but if your phone doesn´t boot, because you flashed a kernel for stable firmware on dev preview that backup will not help you. Question: Does this kernel include a mod similar to the well known KCAL modification? Answer: No it does not, as KCAL is tapping into a QCOM specific driver and that´s not included in the tensor source as it´s based on exynos. There´s a very powerful app called CF Lumen from @Chainfire, that serves the same purpose and even includes far more options that were available from kernelspace. Link to the thread here. Question: How to report bugs properly? Answer: Have a look at post #3 in the linked thread. The linked guide is a pretty good starting point. Before reporting any bug make sure you´re running on a supported firmware. Usually I'm announcing in the release post, the firmware the kernel.zip is compatible with, but most of the time the kernel is updated when a firmware update drops. Please make also sure you're running a stock configuration. That´s means you´re not using any mods, tweaks in kernel managers or other root tweaks , magisk modules, xposed/lsposed etc, scripts or other modifications that alter various functions like sound mods, data traffic, sleeping behaviour, scheduler, magical battery tweaks etc. Try to describe the issue as detailed as possible! Give your exact setup, like rom, magisk version, kernel version. Is the issue reproducible? Does it happen frequently? Please make sure to meet the points described above, provide logs as detailed in the link above, otherwise debugging is a lot more time consuming and harder. (kernel flashing apps usually support exporting logs of flashes too) If these requirements aren´t met and I don´t find time to either reproduce the issue myself or I´m not able to reproduce the issue myself, reports might just be ignored. If you can already reproduce the issue and provide logs it greatly limits the amount of time I have to spent until I figure out how to reproduce it. Question: What about unlocking, rooting, passing safetynet, apps detecting root/modifications and other topics that are vaguely related, but not really subject of this thread? Answer: If you want to modify your phone via root/magisk in any way you need to unlock the bootloader. Unlocking will result in safetynet not passing. This has nothing to do with the kernel. At the moment of writing this, safetynet not passing can be worked around with a magisk module called "Universal SafetyNet Fix". Not passing safetynet is unrelated to the kernel since hardware attestation is enforced on nearly all newly released devices now. If you´re not passing safetynet banking apps might for example be detecting root. There are various tricks to hide root/modifications to the phone from banking apps or others but that´s not really subject of this thread. I recommend taking a look at this excellent collection of helpful threads from @roirraW "edor" ehT! It can be found following this link! Question: I get a device corrupted message after flashing the kernel or just reboot to bootloader. How to get rid of it? Answer: There seems to be an issue with verity on Pixel devices that can trigger randomly. That means even if the expected hashes match the device refuses to boot due to this bug. Short answer, flash magisk patched init_boot.img via fastboot, afterwards flash stock init_boot.img. That should clear this situation. Last edited: Nov 8, 2023 * * Reactions: Slim2none4u, wheelbarrel, Sek0n and 28 others FREAK07 RECOGNIZED DEVELOPER / RECOGNIZED CONTRIBUTOR Jan 2, 2011 6,419 22,890 * Oct 24, 2022 * * #3 AOSP Build Environment and Standalone Kernel builds (monolithic builds) I´m sure some of you followed the movement towards the Generic Kernel Image (GKI) and Qcoms adaption to it called QGKI. You can find more information about GKI following this link. What does that mean for custom kernels and this custom kernel? The last few years the kernel on android devices was more or less compiled as a monolith. That means the kernel is in the zImage with all (most) drivers compiled inline. However with GKI this changed. There´s the base kernel image while vendor/device specific drivers are compiled as dynamically loadable kernel modules. On last years devices like the Pixel 5 (using a 4.19 kernel) and this years devices with SD888 on a 5.4 kernel base, there was the possibility to change the QGKI kernel back into a monolithic kernel image. (building the drivers that are on stock kernel external modules back into the zImage to end with a monolithic kernel) On the Pixel 6 I wasn´t able to achieve this yet. Same goes for the Pixel 7. But during my tries I also wondered if maybe finally the time has come to follow suit, instead of trying to enforce old ways, when there´s a new way going forward. What does that mean. This means that at this point the kernel is shipped as images that are to be flashed via fastboot. At a later stage I´m sure we can modify anykernel3 to allow flashing zips again, but at this early stage fastboot flashable images will be provided. Those images can be flashed the same way the device is rooted, therefore I think everybody should be able to flash it easily since the device can´t be rooted any other way. The kernel was compiled using the aosp kernel build environment. Information about it can be found on the documentation page from google. This kernel needs to be compiled in the aosp kernel build environment just like the stock kernel. All necessary and modified repos are available on my github. Otherwise please refer to the aosp build environment and the instructions there. Last edited: Nov 18, 2022 * * Reactions: Slim2none4u, Sek0n, Homeboy76 and 17 others FREAK07 RECOGNIZED DEVELOPER / RECOGNIZED CONTRIBUTOR Jan 2, 2011 6,419 22,890 * Oct 24, 2022 * * #4 Fastboot commands: This serves just as a reference to restore the images via fastboot. This is not to install the kernel. Flash the images in this order: Boot to bootloader: Either select Reboot to bootloader option via magisk manager, use the button combinations or run the following command while in the OS: or type: Code: adb reboot bootloader Now in fastboot flash boot.img, dtbo.img and vendor_kernel_boot.img Commands: Code: fastboot flash boot boot.img fastboot flash dtbo dtbo.img fastboot flash vendor_kernel_boot vendor_kernel_boot.img Now boot to fastbootd Code: fastboot reboot fastboot Once in fastbootd: Code: fastboot flash vendor_dlkm vendor_dlkm.img 4. Reboot either via buttons or by typing Code: fastboot reboot 5. Profit! Last edited: Oct 24, 2022 * * Reactions: Slim2none4u, Jwtiyar, smurfmeat and 18 others FREAK07 RECOGNIZED DEVELOPER / RECOGNIZED CONTRIBUTOR Jan 2, 2011 6,419 22,890 * Oct 24, 2022 * * #5 Prebuilts for custom roms. ATTACHMENTS * Kirisakura_Pantah_1.2.4.zip 688 MB · Views: 320 * Kirisakura_Pantah_1.3.0.zip 450.9 MB · Views: 217 * Kirisakura_Raviantah_1.0.1.zip 463.1 MB · Views: 78 * Kirisakura_Raviantah_1.0.2.zip 486.5 MB · Views: 97 * Kirisakura_Raviantah_1.0.4.zip 466.5 MB · Views: 93 * Kirisakura_Raviantah_1.1.3.zip 397.2 MB · Views: 61 Last edited: Feb 14, 2023 * * Reactions: Sek0n, Homeboy76, Lilien and 6 others FREAK07 RECOGNIZED DEVELOPER / RECOGNIZED CONTRIBUTOR Jan 2, 2011 6,419 22,890 * Oct 24, 2022 * * #6 last one I promise * * Reactions: Slim2none4u, Homeboy76, Lilien and 11 others S SAM2C SENIOR MEMBER Feb 8, 2012 285 113 * Oct 24, 2022 * * #7 So glad to see you here * Reactions: i5lee8bit and Freak07 I5LEE8BIT SENIOR MEMBER Jul 18, 2006 480 1,047 escaped New Jersey 🙏🙌 youtube.com * Oct 24, 2022 * * #8 Woowoo, let's GOOOO * Reactions: Freak07 WRONGWAY213 RECOGNIZED DEV & CONTRIBUTOR / RETIRED FORUM MOD Jul 27, 2014 5,115 8,924 35 Canton, OH Google Pixel 7 * Oct 24, 2022 * * #9 Kiri is here! Thanks for this awesome kernel! * Reactions: Freak07 FREAK07 RECOGNIZED DEVELOPER / RECOGNIZED CONTRIBUTOR Jan 2, 2011 6,419 22,890 * Oct 24, 2022 * * #10 So unfortunately we´re at the moment out of ideas and options for the vbmeta verity/verification disable requirement. @tbalden and me tried a few things and failed with our final idea this morning, which worked on a similar device. Maybe somebody finds a way so we can actually flash custom images with the avb/vbmeta flags enabled, but at the moment not. I didn´t want to delay the release any further so here we go. I understand this is a pain for many, but unfortunately that´s how it is now. It was a pain for me too, because on the final test, we really hoped it would work, but we we´re trapped in the wipe ourselves. Anyway, have fun everyone with the release. It basically includes everything from the Pixel 6 kernel, as they branches are similar. Last edited: Oct 24, 2022 * * Reactions: kkjb, swieder711, Deleted member 11872899 and 12 others PHANTOMZWEI SENIOR MEMBER May 14, 2013 71 21 Harrisburg Google Pixel 7 Pro * Oct 24, 2022 * * #11 Well this is awesome. Haven't modified my phones since Pixel 4 but this is very enticing SWIEDER711 SENIOR MEMBER Aug 31, 2011 1,766 622 Boston Amazon Fire HD 8 and HD 10 Google Pixel 3 XL * Oct 24, 2022 * * #12 This made me smile. Loved your kernel on the P6P. So glad to see it available for my P7P. QQ: Is High Brightness Mode (HBM) supported in this kernel? Last edited: Oct 24, 2022 N NEKROMANTIK SENIOR MEMBER Apr 1, 2010 7,037 1,029 London Google Pixel 7 Pro Google Pixel Watch * Oct 24, 2022 * * #13 nice to see you on here I do hope its a firmware issue and next month update fixes issue and then workaround you guys been testing for flashing without disabling verity and verification works * * Reactions: Mrcactuseater and swieder711 K KY0SHIR0 SENIOR MEMBER Aug 30, 2013 269 44 * Oct 24, 2022 * * #14 @Freak07 Thank You very much for this kernel! May I ask if this one from CleanSlate is included? How is this works? VoLTE call properties patched in - no root/magisk needed for non supported carriers/countries and VoLTE calls. G GHISY SENIOR MEMBER Mar 27, 2010 2,198 1,068 HTC Desire Google Nexus 4 * Oct 24, 2022 * * #15 Duuuuude! This kernel sounds amazing. And the Powerhint module? WHAT?! Probably moving to the 7 Pro this weekend so this is very welcome! Thanks Edit: I'm a little confused: should we flash the zip as usual through EXKM/Kernel flasher or use the fastboot commands from post #4?? Because the OP also mentions the usual way of flashing... Last edited: Oct 24, 2022 * Reactions: Freak07 and i5lee8bit RCZRIDER SENIOR MEMBER May 20, 2015 733 543 Markarth * Oct 24, 2022 * * #16 Very excited for the kernel, thanks for your hard work! * Reactions: Freak07 I5LEE8BIT SENIOR MEMBER Jul 18, 2006 480 1,047 escaped New Jersey 🙏🙌 youtube.com * Oct 24, 2022 * * #17 > Ghisy said: > Duuuuude! This kernel sounds amazing. And the Powerhint module? WHAT?! > > Probably moving to the 7 Pro this weekend so this is very welcome! > > Thanks > > Edit: I'm a little confused: should we flash the zip as usual through > EXKM/Kernel flasher or use the fastboot commands from post #4?? > > Because the OP also mentions the usual way of flashing... > Click to expand... > Click to collapse I think that was just a copy and paste from the older P6 thread (also now deprecated for that device, from what I understand). Just use EXKM or Kernel Flasher and you'll be good to go! Edit: and the companion zip in Magisk Manager. Whoops. In other words, you don't need to manually flash each image to install the kernel. Last edited: Oct 24, 2022 * Reactions: Freak07 R RAV101 SENIOR MEMBER Dec 1, 2013 2,416 1,404 Walsall Google Pixel 7 Pro Google Pixel 8 Pro * Oct 24, 2022 * * #18 > i5lee8bit said: > I think that was just a copy and paste from the older P6 thread (also now > deprecated for that device, from what I understand). Just use EXKM or Kernel > Flasher and you'll be good to go! > Click to expand... > Click to collapse Nope, The powerhint module was never actually depreciated, on P6 he was able to have it included in the kernel zip and it auto-installed into magisk at the same time. That isn't working here at the moment so you have to manually flash it yourself again * Reactions: Hurt Copain, i5lee8bit and Freak07 G GHISY SENIOR MEMBER Mar 27, 2010 2,198 1,068 HTC Desire Google Nexus 4 * Oct 24, 2022 * * #19 > i5lee8bit said: > I think that was just a copy and paste from the older P6 thread (also now > deprecated for that device, from what I understand). Just use EXKM or Kernel > Flasher and you'll be good to go! > Click to expand... > Click to collapse Sorry, maybe I wasn't being clear: should I use quote #1 or #2 down there? > Freak07 said: > How to flash the Kernel: > 1a. Make sure you tick all the requirements above > 1. Download the kernel.zip (unified for both devices) and the correct > powerhint module depending on your device (Pixel 7 = panther || Pixel 7 Pro = > cheetah) > 2. Flash the powerhint module via magisk manager as you would any other magisk > module > 3. Flash the kernel.zip via EXKM, FKM or kernel flasher. Root will be > preserved. > 4. Reboot and profit. > Click to expand... > Click to collapse > Freak07 said: > Fastboot commands: > > > Flash the images in this order: > > Boot to bootloader: > Either select Reboot to bootloader option via magisk manager, use the button > combinations or run the following command while in the OS: > or type: > > Code: > > adb reboot bootloader > > > Now in fastboot flash boot.img, dtbo.img and vendor_kernel_boot.img > Commands: > > Code: > > fastboot flash boot boot.img > fastboot flash dtbo dtbo.img > fastboot flash vendor_kernel_boot vendor_kernel_boot.img > > > Now boot to fastbootd > > Code: > > fastboot reboot fastboot > > > Once in fastbootd: > > Code: > > fastboot flash vendor_dlkm vendor_dlkm.img > > 4. Reboot either via buttons > or by typing > > Code: > > fastboot reboot > > 5. Profit![/SPOILER] > Click to expand... > Click to collapse * * Reactions: Mrcactuseater and Freak07 LUGHNASADH SENIOR MEMBER Mar 23, 2015 5,957 7,318 Google Nexus 5 Huawei Nexus 6P * Oct 24, 2022 * * #20 > Ghisy said: > Sorry, maybe I wasn't being clear: should I use quote #1 or #2 down there? > Click to expand... > Click to collapse The fastboot commands are for if or when you want to return to stock. * Reactions: Samuel Holland, i5lee8bit, roirraW "edor" ehT and 1 other person * 1 * 2 * 3 * … GO TO PAGE Go * 93 Next 1 of 93 GO TO PAGE Go Next Last You must log in or register to reply here. Share: Facebook Twitter Reddit WhatsApp Email Share Link SIMILAR THREADS How To Guide January 3, 2024 UQ1A.240105.004 Global / UQ1A.240105.004.A1 Verizon - Unlock bootloader / Root Pixel 7 Pro [Cheetah] / SafetyNet * roirraW "edor" ehT * Oct 7, 2022 176 177 178 Replies 4K Views 332K Yesterday at 9:32 PM ikhelladi10 Themes / Apps / Mods 📳🔥PixelFlasher for Google Pixel 7 Pro Support Thread. * badabing2003 * Oct 14, 2022 70 71 72 Replies 1K Views 98K B Tuesday at 3:14 PM bird333 General January 10, 2023 - Android 14 QPR2 Beta 3 AP11.231215.007 - "Upside Down Cake" - Pixel 7 Pro [Cheetah] * roirraW "edor" ehT * Feb 8, 2023 48 49 50 Replies 984 Views 108K Jan 13, 2024 Lughnasadh H How To Guide [Guide] [January 3, 2024] Root Pixel 7 Pro Unlock Bootloader + Pass SafetyNet + Both Slots Bootable + More * Homeboy76 * Oct 14, 2022 42 43 44 Replies 866 Views 113K B Thursday at 2:37 PM bahriphonewala N Development [ROM][UNOFFICIAL][cheetah/panther] LineageOS 20.0 for the Pixel 7 Pro/7 * neelchauhan * Nov 17, 2022 17 18 19 Replies 378 Views 66K Jan 2, 2024 fillwithjoy1 * Home * Forums * Google * Google Pixel 7 Pro ••• BREADCRUMB Home Forums Google Google Pixel 7 Pro TOP LIKED POSTS 24 Hours 30 Days All time * There are no posts matching your filters. * 20 Freak07 no kernel changes in january source for this kernel. Feel free to flash away 2.1.0 I wish a Happy New Year to everyone! Jan 6, 2024 View 6 Freak07 no sources yet for january. previous kernel should still work fine as was reported to me already. Jan 4, 2024 View 6 S Sek0n Can confirm it still works on the Jan update. Jan 4, 2024 View 2 G Ghisy > Freak07 said: > no sources yet for january. previous kernel should still work fine as was > reported to me already. > Click to expand... > Click to collapse I can wait a few days for an updated kernel. No big deal! Jan 4, 2024 View 2 Oswald Boelcke > Acai1415 said: > Mod edit - translated by https://translate.google.com/. Oswald Boelcke, > Senior Moderator. > My system version is UQ1A.240105.004. Can I flash the latest version 2.1? > ********************* > 我的系统版本是UQ1A.240105.004。我可以刷最新版本2.1吗? > Click to expand... > Click to collapse Hello and good morning, @Acai1415 Welcome to XDA! I hope you'll always get the support you require and have enjoyable times on our platform. However, as a one-time courtesy I've translated your above post. With reference to rule no. 4 of the XDA Forum Rules, please post in English or add at least an English translation to your Chinese posts. Spoiler: Rule No. 4 4. Use the English language. We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature). You could try :- https://translate.google.com/ , https://www.babelfish.com/ or https://fanyi.baidu.com/#auto/en or use one of your choice. Thanks for your cooperation. Regards Oswald Boelcke Senior Moderator Thursday at 5:07 AM View * 92 Freak07 Kirisakura-Kernel for the Pixel 7/Pro Hello everyone, To keep it short: Here is Kirisakura - Kernel for the Google Pixel 7 Pro aka Cheetah and the Pixel 7 aka Panther, together Pantah. I would appreciate if everybody that flashes the kernel, reads at least once through this opening post and the following ones. The kernel aims to keep most of the subsystems updated, way ahead of the stock kernel, thereby improving security, stability and performance! This includes Linux-Stable, F2FS-Stable and kernel/common! If that got you curious, have a read about linux-stable and why it is important here. The stable-process is not the same for every subsystem, but the general idea, rule of thumb and benefits are applicable for other subsystems as well. By merging linux-stable regularly we get most security updates months ahead of the stock kernel and also before they even end up in the android security bulletin. The kernel includes a lot of improvements and contributions from other developers as well. Without those contributtion this kernel would not exist as it is. A big part of improvements originate from @arter97´s, @kdrag0n´s and @Sultanxda´s work. Many others contributed in some way or another to this kernel. A big thanks to all of them at this place! Now lets continue with a list of features in the next paragraph! Features: Main Features: - Based on latest A14 kernel sources from Google, Kernel is made for Android 14 Stable - Linux-Stable-Upstream included to 5.10.197 - Compiled with prebuilt Google clang 17.0.4 - EEVDF scheduler patches - lockless slab shrinker - Backport entire RCU subsystem to latest linux - Lazy RCU which should result in power-savings while the device is lightly-loaded or idling, more information here - Backport Maple tree from Linux 6.1 - improve preallocations from maple tree (affects especially android) - reduce necessity to rewalk the maple tree - Per VMA-locks in conjunction with Maple Tree RCU-Mode (improve app launch time, this feature in general benefits greatly from lazy rcu!) - further improve maple tree/per-vma locks introduced in an earlier release - Dynamic Energy Models depending on device state - make TEO-Cpuidle util-aware (improves latency, performance and decreases energy consumption for certain workloads, more information here) - introduce runnable boosting, wire it up with pixel_sched - improve CPU throttling behaviour - improvements to uclamp, prevent capacity inversion (reduce missed frames) - greatly speed up camera launch time! - merged kernel/common (improvements to android-common-kernel straight from google) - MM subsystem reworked (more info and some patchsets linked in this post) - Multi-gen LRU backported/reworked and enabled (more info here, here as well and here) to improve mm and reduce cpu cycles, latest V15 state (current state disabled, as google remotely controls the prop) - pelt multiplier tied into powerhal to speed up scheduler during interaction (more info here) - prevent frequency spikes caused by small transient tasks when the device is idle(more info here) - tie mechanism to prevent frequency spikes caused by small tasks also into powerhal - scheduler improvements for RT (realtime) tasks - introduce and setup PMU limiter (prevents CPU from spiking to max when it isn´t needed, based on PMU reads, more information here) - improve camera performance by tuning the powerhal during recording - bias tasks of rt, sf and ta groups to prefer high capacity cpus during app launches, interactions - improve app launches via powerhal - restrict maximum CPU-Freqs during screen off/ idle to 1.4GHZ for all clusters to save power - introduce unfair f2fs rwsems to prevent writer starvation and improve IO perf under heavy load - fuse: give wakeup hints to scheduler to speed up compress/decompress in internal storage (details) - enable RCU_BOOST (details here), also fix RCU_BOOST behaviour - F2FS-Stable updated - merge and enable f2fs block_age-based extent cache (improve the accuracy for data temperature classification, reduce the garbage collection overhead after long-term data updates) - TCP backports from mainline - SSG IO scheduler for reduced overhead and less CPU cycles (more lightweight and android optimized) - scheduler backports from linux-main - mm updates from linux-main - locking updates frm linux-main - improve memory performance by tweaking google´s eh zram implementation - fix sysfs endpoint for googles eh zram - affine IRQS to CPU 7 during camera usage for improved performance as it tends to overload the little cores - use bbr as default TCP congestion algorithm (fasted algo according to this excellent research from @kdrag0n found here ) - include bbrv2 from google, more info here - Enable support for TTL spoofing - important patches from kernel/common for 5.10 (here are more details) - increase priority of GPU work - several updates from QPR beta, and a few from Pixel 6 that googles missed to include in the pixel 7 kernel - improve thermals - change compaction proactiveness based on device state for improveed memory management - improve ZRAM usage - reduce overhead - improve performance and efficiency by properly wiring up pixel_sched with teo util awareness (thanks @ada12 for spotting this!) - update to cpuset/cgroup subsystem (speeds up camera launches, device unlocks etc as cpusets are switched on those conditions, patches reduce overhead in those conditions) - flashing the kernel will preserve root CleanSlate Features - CleanSlate Features from @tbalden, big applause here! (s2s, notification booster, battery saver, flashlight notifications. Please note: cleanslate features that work otherwise with rooted devices like kadaway (adblocking) are not implemented on this kernel since I´m running rooted) - Check the CleanSlate thread for more information about those features - The CleanSlate thread also contains the apps that allows you to control those features! - If you consider those features useful, maybe consider purchasing the apps in the PlayStore or a small donation to @tbalden, he deserves it! Don´t forget to switch to beta channel for those apps, as this is needed for device running A13! Various Optimizations: - update several drivers to use power efficient workingqueues (for example wlan driver) - f2fs: reduce timeout for uncongestion - f2fs: Demote GC thread to idle scheduler class - f2fs: set ioprio of GC kthread to idle - tcp: enable advanced tcp, give user more options for tcp alorithm - mm: vmstat: use power efficient workingqueues Wakelock Blocker: - advanced wakelock blocker with the ability to block kernel wakelocks (dangerous, use with caution, please read this for further info). You should only block kernel wakelocks in case you face uncontrollable scenarios, like company wifi causing a wakelock to be active 100% of the time! Blocking kernel wakelocks to "improve" battery life almost always backfires and causes issues! Powerhint Module: - restrict little cluster to 1,4ghz mid cluster to 1,4ghz and big cluster to 1,4ghz during screen off, to reduce battery usage for example during music playback - only use little cores during screen off/device suspend - account for scheduler and other changes done to the kernel - boost memory interface controller during interaction (decreased missed frames, improved soc efficiency according to google docs) - tie pelt multiplier into the powerhal (more info here) - prevent frequency spikes caused by small transient tasks during idle operation (more info here) - boost scheduler using the pelt multiplier during fingerprint unlock operation - setup and control PMU limiter via powerhal (more info here) - switch between default and custom idle energy model on device is being interacted with / device idle. - reduce missed frames during scrolling/device interaction by adjusting uclamp boosts - dynamically adjust target load for memory interface during interaction. - remove dynamic GPU policy change as it´s causing instability and is unneeded due to GVFS period - implement handling during video recording of CPU like Google did on QPR A13 - more small improvements DOWNLOAD: Downloads are attached to the release posts linked below in the changelog section. Please note that androidfilehost is currently not working properly. Link to AFH: Spoiler Deprecated afh download, still here for old releases: https://www.androidfilehost.com/?w=files&flid=336658 Changelog: Android 13.0.0 Stable (not QPR beta!) 1.0.0 Initial Release | Mirror for Download in case AFH is not working 1.1.0 https://xdaforums.com/t/kernel-24-1...-pixel-7-pro-aka-pantah.4509795/post-87743627 1.2.0 https://xdaforums.com/t/kernel-18-1...-pixel-7-pro-aka-pantah.4509795/post-87822161 1.2.1 https://xdaforums.com/t/kernel-06-1...-pixel-7-pro-aka-pantah.4509795/post-87878321 1.2.2 https://xdaforums.com/t/kernel-19-1...-pixel-7-pro-aka-pantah.4509795/post-87944505 1.2.3 https://xdaforums.com/t/kernel-04-0...-pixel-7-pro-aka-pantah.4509795/post-87960183 1.2.4 https://xdaforums.com/t/kernel-07-0...-pixel-7-pro-aka-pantah.4509795/post-88108123 1.3.0 https://xdaforums.com/t/kernel-07-0...-pixel-7-pro-aka-pantah.4509795/post-88286027 Raviantah_1.0.0 https://xdaforums.com/t/kernel-14-0...-pixel-7-pro-aka-pantah.4509795/post-88316285 Raviantah_1.0.1 https://xdaforums.com/t/kernel-21-0...-pixel-7-pro-aka-pantah.4509795/post-88323527 Raviantah_1.0.2 https://xdaforums.com/t/kernel-23-0...-pixel-7-pro-aka-pantah.4509795/post-88399915 Raviantah_1.0.4 https://xdaforums.com/t/kernel-11-0...-pixel-7-pro-aka-pantah.4509795/post-88497279 Raviantah_1.1.0 https://xdaforums.com/t/kernel-04-0...-pixel-7-pro-aka-pantah.4509795/post-88645103 Raviantah_1.1.2 https://xdaforums.com/t/kernel-14-0...-pixel-7-pro-aka-pantah.4509795/post-88719667 Raviantah_1.1.3 https://xdaforums.com/t/kernel-06-0...-pixel-7-pro-aka-pantah.4509795/post-88847285 Raviantah_1.1.4 https://xdaforums.com/t/kernel-08-0...-pixel-7-pro-aka-pantah.4509795/post-88866285 Raviantah_1.1.5 https://xdaforums.com/t/kernel-12-0...-pixel-7-pro-aka-pantah.4509795/post-89038079 Raviantah_1.1.6 https://xdaforums.com/t/kernel-23-0...-pixel-7-pro-aka-pantah.4509795/post-89079103 Raviantah_2.0.0 https://xdaforums.com/t/kernel-03-1...-pixel-7-pro-aka-pantah.4509795/post-89085294 Raviantah_2.0.2 https://xdaforums.com/t/kernel-06-1...-pixel-7-pro-aka-pantah.4509795/post-89149195 Raviantah_2.1.0 https://xdaforums.com/t/kernel-08-1...-pixel-7-pro-aka-pantah.4509795/post-89205141 Requirements - vbmeta flags for verity/verification disabled (this requires a wipe if you´re coming from stock with those flags enabled), check the FAQ for information on how to do this -> not required starting from Raviantah 2.0.0 - unlocked Bootloader - USB-Debugging in developer options enabled - latest adb and fastboot binaries - working adb and fastboot environment so you can flash back to stock in case something goes wrong - working magisk environment (a device rooted with latest magisk, use stable in case you want to be absolutely safe) - IMPORTANT: Unrelated to the kernel, but update both slots of your phone to A13 before you flash anything to your device! - it´s handy to have a backup and a way to return back to stock (check the faq for that) - make sure to download the correct kernel version for your firmware. (you can´t flash a kernel made for stable firmware on a QPR beta or dev preview and expect there to be no isses, the release posts mention which firmware the respective kernel releases are compiled for) - this kernel is tested on stock google firmware. If you want to use it on custom roms you´re kind of on your own as I can´t account and give support for any changes custom roms apply that could render the kernel incompatible. (e.g. if you´re custom rom is still on the previous months update, there may be issues flashing an updated kernel for the next month on top or custom roms requiring specific kernel changes to work correctly ) - it´s always best to start on stock images and don´t have another custom kernel flashed when flashing this kernel for the first time. consecutive flashes can just be installed on top, if not I´ll mention it in the release post - read the first and second post, there's a lot of valuable information How to flash the Kernel: 1a. Make sure you tick all the requirements above 1b. Make sure to flash the release made for your firmware! Usually the release post contains information on that 1. Download the kernel.zip (unified for both devices) and the correct powerhint module depending on your device (Pixel 7 = panther || Pixel 7 Pro = cheetah, starting from raviantah 2.0.0 the module is unified ) no longer necessary since Raviantah 2.0.2 2. Flash the powerhint module via magisk manager as you would any other magisk module! Make sure to flash the latest one. It will be mentioned in the release post if there´s an update. No longer necessary since Raviantah 2.0.2 Make sure to remove all previous installed powerhint modules before flashing Raviantah 2.0.2 and later 3. Flash the kernel.zip via EXKM, FKM or kernel flasher. Root will be preserved. 4. Reboot and profit. Donations: Donations are not mandatory but very welcome if you want to support development or just buy me a coffee/tea/beer If you like my work: http://paypal.me/freak07 Credits: @osm0sis for all his work on AK3. @tbalden for being the best HTC, Pixel, OnePlus and Asus wingman! @capntrips for all his work on the pixels, avb, hashtree patcher, the counsel and the kernel flasher! @LeeDroid and @mwilky for their awesome roms and work I used on multiple devices! @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 in the past! @arter97 for giving me advice @kdrag0n for his help and advices! @topjohnwu for magisk and his entire work! Source Code: https://github.com/freak07 Oct 24, 2022 View 51 Freak07 Update to 1.2.4 Hey guys and girls, So here´s the next release. February source did basically not contain anything new for this kernel (as all patches were already included since months due to merging linux-stable and kernel/common in advance) except a stability and a security fix for the GPU driver (which is vendor specific so of course not impacted by linux-stable etc). Nonetheless this is a very big release with large underlying changes. Short explanation follows below. Please note that this release is not for the QPR Beta firmware, but the stable android 13 firmware! Make sure to update/flash the new powerhint module attached to this post via magisk manager as it´s been updated! Maple Tree / Per VMA-locks via Maple Tree in RCU-Mode Linux 6.1 finally merged the Maple Tree patchset. I had my eyes on that patchset for quite a while now. I backported it a few months ago (back in november iirc) but at that time I still ran into a few problems with it so it never made it into a release on XDA. However after discovering work done on per vma-locks, which builds directly on the benefits that maple-tree provides interest was sparked again. Decided to pull it in again and fix the remaining issues. If you´re interested in details read the linked topics. Basically those patches reduce app launch time as well as lock contention. Additionally per vma-locks directly utilizes lazy-rcu, which was backported in 1.1.0. Usually I´m very hesitant when it comes to kernel changes actually translating to real world power consumption improvements, but lazy-rcu is one of the few patchsets that translate to a small improvement for everyone regardless of the usage. So the new per VMA-lock patchset directly benefits from the previous backport of lazy-rcu. App launch times in ms for cold launching slack app with and without the Per-VMA lock patchset: F2FS block_age-based extent cache Latest f2fs-stable update contained an interesting new feature called block_age-based extent cache. It´s another optimization done in hindsight to android needs. It´s always nice to see different OEMs (in this regards xiaomi) cooperating and improving android as a whole and not just keep those patches to themselves. Since it´s pushed to f2fs-stable it will sooner or later (probably rather later as trickling through until it ends up on actual production devices always takes a lot of time) find its way to the majority of android devices. The features allows to record data block update frequency of the extent per inode, in order to provide better temperature hints for data block allocation thereby improving the accuracy for data temperature classification and reducing the garbage collection overhead after long-term data updates. Memory Interface Controller Boosting Boost Memory Interface Controller slightly to a fixed min_freq value during interaction, instead of relying solely on the governor taking the decision as it doesn´t ramp up fast enough during interaction in some cases. Research of exynos/tensor characteristic shows that the SOC does not perform optimally when cpu freqs ramp up quickly (during interaction, scrolling, touch the screen) and memory interface controller not following suite quite fast enough. This makes the soc overall perform less efficient. The boost aims to correct this behavior. The boost also results in a tiny few less missed frames during interaction as a bonus. There are other small improvements as well. Please check my github for those. The kernel is made for stable A13 firmware, not beta. I wish everyone a nice day. Changelog: - Linux-Stable bumped to 5.10.167 - Backport Maple tree from Linux 6.1 - Per VMA-locks in conjunction with Maple Tree RCU-Mode (this benefits greatly from lazy rcu!) - bump f2fs to latest f2f2 stable state - merge and enable f2fs block_age-based extent cache (improve the accuracy for data temperature classification, reduce the garbage collection overhead after long-term data updates) - improvements to the scheduler from QPR2 Beta 2 and Beta 3 - improvements to memory management from QPR2 Beta 2 - improve ZRAM usage - boost memory interface controller during interaction (decreased missed frames, improved soc efficiency according to google docs) - import security fixes and performance improvments to camera driver from QPR2 Beta - fixes/improvements to to memory management - security fixes/ improvements from kernel/common - other fixes please check github Download: Attached to release post as AFH is currently down. Make sure to update and keep the powerhint module installed via Magisk Manager! If you´re coming from another kernel restore stock boot.img, dtbo.img, vendor_kernel_boot.img and vendor_dlkm.img before flashing. Thank you. Make sure to meet the requirements and read the OP as well as the FAQ before flashing. I wish everybody a great day/evening! Have fun, enjoy the kernel and your phone. If you like my work please consider a donation. Donations are not mandatory but very welcome. If you like my work and want to buy me a coffee/green tea: http://paypal.me/freak07 Feb 7, 2023 View 49 Freak07 Update to 1.2.1 Hey guys and girls, So here´s the next release. As already hinted it includes some of the kernel changes from the QPR2 Beta. Please note the kernel is made for the stable firmware! You need to be on December stable firmware release to be able to install and run this kernel properly! Make sure to flash both, the kernel.zip and the powerhint magisk module as both are updated. Google did some significant updates in that latest qpr2 update, which is great to see. The GPU driver is now based on version r38p1. This fixes several vulnerabilities that made the news recently. AOC driver and WiFi driver were also updated and most of those improvements ended up in this kernel release as well. There were several improvements to memory management done by google, which should result in improved efficiency, improved reclaim and also reduced jank. There are a few other nice patches that should improve performance and generally improve system responsiveness. For specifics please check those on github. Scheduler patches from linux-main are also included. The lazy rcu patchset was updated to the latest state that was also recently merged into the linux kernel. (more info about lazy rcu check here) Kernel is now compiled with latest 16.0.2 prebuilt Clang from Google. There are other small improvements as well. Please check my github for those. I wish everyone a nice day. Changelog: - Linux-Stable bumped to 5.10.159 - Bump prebuilt clang to latest 16.0.2 from Google - include most of the QPR2 improvements so we can enjoy them ahead of time - fixes/improvements to to memory management - import all improvments from google QPR2 to powerhint module - other fixes please check github Download: Attached to release post as AFH is currently down. I´ll push to AFH once it´s back up. https://www.androidfilehost.com/?w=files&flid=336658 Make sure to update the powerhint module via Magisk Manager! If you´re coming from another kernel restore stock boot.img, dtbo.img, vendor_kernel_boot.img and vendor_dlkm.img before flashing. Thank you. Make sure to meet the requirements and read the OP as well as the FAQ before flashing. I wish everybody a great day/evening! Have fun, enjoy the kernel and your phone. If you like my work please consider a donation. Donations are not mandatory but very welcome. If you like my work and want to buy me a coffee/green tea: http://paypal.me/freak07 Dec 19, 2022 View 43 Freak07 Update to Raviantha 1.0.4 Hey guys and girls, So here´s the next release for stable May firmware! (although technically it should still work on April as there were no changes that weren´t already present.) This release is not including the bigger changes I was alluding to during my last post in this thread, but it still includes some big improvements that warrant a new release. More information below. Important: Make sure to flash the powerhint module attached to this post via magisk manager if you haven´t already done so. Please note that this release is not for the QPR Beta firmware or dev preview, but the stable android 13 firmware! Please make use magisk stable if you don´t know your way around bugs and don´t want to actively help debugging magisk development. You should download magisk stable only from official magisk release site! Latest platform tools have issues flashing super.img, please use platform tools 33.0.3 when updating your firmware There are other small improvements as well. Please check my github for those. The kernel is made for stable A13 firmware, not beta. I wish everyone a nice day. Changelog: - Linux-Stable bumped to 5.10.179 - bump clang to 17.0.1 stable - bump f2fs-stable to latest - loads of improvements, bugfixes etc to memory management from latest linux main - improvements to memory management from 6.1 kernel common - improvements to MGLRU (check first post for more info about MGLRU) - updates/improvements to RCU from latest linux main - updates to lazy RCU from latest linux main - fixed screen-off max cpufreq restriction (thanks to @elesbb for making me aware) - other fixes please check github Download: Attached to release post as AFH is currently down. Make sure to update and keep the powerhint module installed via Magisk Manager! If you´re coming from another kernel restore stock boot.img, dtbo.img, vendor_kernel_boot.img and vendor_dlkm.img before flashing. Thank you. Make sure to meet the requirements and read the OP as well as the FAQ before flashing. I wish everybody a great day/evening! Have fun, enjoy the kernel and your phone. If you like my work please consider a donation. Donations are not mandatory but very welcome. If you like my work and want to buy me a coffee/green tea: http://paypal.me/freak07 May 4, 2023 View 42 Freak07 Update to Raviantha 2.0.0 Hey guys and girls, So here´s the next update. It´s for stable Android 14 and it´s a really big update. It contains a lot of the changes I worked on during the previous months and I finally feel they are ready to be pushed. I´m short on time so here´s a brief writeup on the changes introduced. EEVDF scheduler patches from latest linux are included. Have a read here. You can find more details here and also here. Alternatively use Google, there are a lot of resources. I tested this for a few months now. Since it´s merged to linux, it will be properly updated and tested for regressions in case there are any. That was what finally pushed me over the edge. The powerhint module was reworked. This results in less energy usage for various scenarious, scrolling in apps, watching videos, most games. (thereby also improves thermals within the boundaries of what's achievable on tensor/exynos ) This was achieved by "abusing" the PMU limiting feature from Google and expanding it with a switch that makes it work the opposite. The powerhint module was adjusted for all recent scheduler changes, such as EEVDF patches, scheduler updates from linux and the latest ones from 14 QPR Beta. Lockless slab shrinker was backported as well. There are a lot of other changes and patchsets for various subsystems, that should be mentioned as well, but I simply lack the time. For RCU, Maple tree, per-VMA locks etc etc. You can find them on the changelog and on my git if you´re interested. Thanks to @Sultanxda this kernel is now build in a monolithic fashion. That means all drivers are compiled into the zImage. This means no more modules and vendor_dlkm does not need to be modified any longer, which in return means users won´t have to disable the avb flags for veritiy/verification any longer to be able to boot the kernel. However there´s something I want to keep everyone in mind. If you currently run with the flags disabled you might want to keep them disabled just like you did over the last months while updating. There´s the slight chance that kernel changes introduced by google in the future, changes to partition layout or undiscovered bugs will screw the monolithic build up. I tested it as best as I could and didn´t find any issues, but that´s just an advice I want to put out. There are loads of other changes as well, but I don´t have enough time for a more detailed writeup. Please make sure to delete the old module powerhint from magisk manager before flashing the new one. Important: Make sure to flash the powerhint module attached to this post via magisk manager if you haven´t already done so. Please note that this release is not for the QPR Beta firmware or dev preview, but the stable android 14 firmware! Please make use magisk stable if you don´t know your way around bugs and don´t want to actively help debugging magisk development. You should download magisk stable only from official magisk release site! There are other small improvements as well. Please check my github for those. The kernel is made for stable A14 firmware, not beta. I wish everyone a nice day. Changelog: - Update kernel to Android 14 - Retain all previous features and updates - Bump prebuilt clang to 17.0.4 - Linux-Stable 5.10.197 - EEVDF scheduler patches from latest linux-kernel - kernel is build in a monolithic fashion, thanks to @Sultanxda - latest f2fs-stable patches - lockless shrinkers - loads of improvements from latest linux to mm subsystem - latest updates/fixes to maple tree - scheduler improvements from latest linux - scheduler improvements from QPR 14 beta - improvements/fixes to RCU subsystem - improvements to QoS from @Sultanxda - improved IRQ balancing, thanks to @Sultanxda - improvements to GPU driver performance from QPR beta - lockless slab shrinker - unify powerhint module for panther and cheetah (please delete the old powerhint module before flashing the new one) - rework powerhint module to account for all changes - rework powerhint module to reduce energy usage - more changes please look at my github Download: Attached to release post as AFH is currently down. Delete the old powerhint module in Magisk Manager before flashing the new one as the Module ID changes! If you´re coming from another kernel restore stock boot.img, dtbo.img, vendor_kernel_boot.img and vendor_dlkm.img before flashing. Thank you. Make sure to meet the requirements and read the OP as well as the FAQ before flashing. I wish everybody a great day/evening! Have fun, enjoy the kernel and your phone. If you like my work please consider a donation. Donations are not mandatory but very welcome. If you like my work and want to buy me a coffee/green tea: http://paypal.me/freak07 Oct 6, 2023 View NEW POSTS * M Question [ROOT] Hide navigation bar * Latest: MrIlikeit * A moment ago Google Pixel 8 * J [TMMKOO Q5 & Q3E] Official Custom Firmware Modding Updates & Downloads (First Release!!) 1/5/24 * Latest: Jaydenstowe10 * 1 minute ago General Topics * T Question Fastboot and Windows 11 (Trying to install NEC lavie FW on 2022 Y700 and FAILING!) * Latest: tm2016 * 1 minute ago Lenovo Legion Y700 * General [INDIA] Galaxy S24 Ultra pre-order, offers etc. discussion thread * Latest: anil84 * 1 minute ago Samsung Galaxy S24 Ultra * B Acer android tv unable to get into recovery mode. * Latest: BIHARI * 4 minutes ago Philips, Sony, TCL Android TV XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. | Crafted by Audentio MORE INFO Contact Us (Forum Issues) Advertise Terms and rules Suggest Content Change Ad Consent Do not sell my data USEFUL LINKS Best Phones Tutorials Recognized Developer Program Admin & Moderators Delete XDA Account * * XDA - Dark * Contact us * Terms and rules * Privacy policy * Help * Home * * RSS | Crafted by Audentio * * * * * *