[mod][fix]frequecy fix for all roms and kernels - YU Yureka Android Development

You may have faced this bug
-Not Able to Lock Frequencies
-Not able to Change Governor
Here is the Solution
Just Boot to recovery and flash this zip
Download Link
ANDROID FILE HOST - FREQFIXbyRAZORSHARP.zip
GOOGLE DRIVE - FREQFIXbyRAZORSHARP.zip
CREDITS
VARUN CHITRE( FOR HELP)

Where are the settings for governor and frequency?

Related

[ROM] [TF201] [JB Bootloader] AOKP JB Unofficial - JZO54K - Oct 31 2012

This is an unofficial build of AOKP (Android Open Kang Project) for the new Jelly Bean bootloader for the Transformer Prime.
This uses a modified version of my Jellybean CM device & vendor tree... including the new 3.1 Jelly Bean kernel and the new Jelly Bean drivers and proprietary files. THIS REQUIRES THE NEW JELLY BEAN BOOTLOADER.
For the most case, this ROM uses the official commits to the AOKP github. The exceptions are the TF201 device specifics. This ROM uses the new 3.1 Jelly Bean kernel and the new Jelly Bean drivers and proprietary files.
Highlights of this ROM:
1) Android Jelly Bean 4.1.2 JZO54K
2) Built using the latest AOKP changes as of 31 Oct 2012 6:30PM Pacific Time (GitHub / Gerrit)
3) Uses the a modified and tweaked version of my CM10 TF201 device tree with the Jelly Bean 10.4.2.15 kernel (3.1) and proprietary files & drivers with some changes (GitHub)
4) Needs the new Jelly Bean 10.4.2.15 bootloader [IMPORTANT: Flashing over an incorrect bootloader can permanently brick you device.]
5) HDMI audio/video streaming and bluetooth audio streaming (AVRCP 1.3 ready)
6) Camera and microphone
7) 4-way reboot menu (Reboot, Recovery, Fastboot & APX Mode)
8) Includes all the files and changes need for the Google Widevine DRM [untested!!]
9) CIFS and NTFS (read-only) support
10) Dock battery display
12) All other features of AOKP and Jelly Bean (full hardware acceleration, Project Butter, HD video, customisable notification toggles & many more)
13) Some custom addons and feature ports by me...
New in Oct 31 2012 build:
1) BFQ v5, SIO & V(R) I/O schedulers. SIO set as default
2) Lulzactive & Pegasusq CPU frequency governors.
3) Standardise CPU frequency tables' values & disable Asus system mode CPU speed restrictions
4) Enabled zRam/Compcache & KSM (Kernel SamePage Merging) support
5) Fixed model number & LCD density
6) Several device overlay updates and cleanups (bunch of updates for JB)
7) Auto-brightness turned off by default
8) Cleaned-up & updated release tools script (this creates the zip packages)
9) Set correct permission for BtService.sh (Bluetooth DUN) script
10) Force NV_FPS_LIMIT to 60 for all performance modes
11) Device Advanced settings menu to set Asus performance modes (defaulted to Balanced). This is not for the CPU speed, rather the Tegra performance setting (cpuX.sh like functionality) [Read know issues below]
13) Updated device power profile based on official JB release
Known issues:
1) Some locale specific layout for the dock keyboard may not work
2) Auto-brightness is funky [Use the app Lux for auto-brightness]
3) NTFS support is read-only
4) exFAT is not yet supported
5) Torch does not work
6) The "Device Advanced settings" does not show up in the Setting menu. If you want to use it, use an after-market launcher (Apex, ADW, Nova, etc.), and create a Shortcut to the Asus Transformer Prime settings...
Important:
1) Wipe data/factory reset if coming from any other ROM
2) After flashing a build, it is a good idea to wait for 5-10 mins after bootup to allows everything to settle in
3) If you have not upgraded to the official Jelly Bean ROM yet, you will need to flash my CM10 Oct 13 2012 build or a stock JB ROM first to upgrade your bootloader, and then you may flash the latest build here.
4) Make sure you use a recovery compatible with the new Jelly Bean bootloader after flashing this ROM.
The usual 9 yards:
1) Have you read this post properly. Read it again!!
2) You need to have an unlocked bootloader
3) You need to have a custom recovery (CWM or TWRP)
4) It is a good idea to have enabled nvFlash (thanks to AndroidRoot) so that you can recover from almost any brick
5) Neither I, nor the AOKP team, nor the AndroidRoot team take any responsibility if anything goes wrong. Use at your own risk
6) Always make sure you create nandroid backups regularly
aokp_tf201_unofficial_Oct-31-12-jbbl.zip [IMPORTANT: You need to upgrade to the JB bootloader before flashing this. You must do a full wipe!!]
Google Apps Pack 20121011
GitHub Sources:
Device Tree
Kernel
Vendor Tree
Tweaks & Mods:
1. GPS Config Tweaks (Multi-Region):
This has various regionally optimized GPS configuration tweaks to inprove GPS locking.
Download tf201-GPSTweaks.zip and flash using TWRP recovery
tf201-GPSTweaks.zip - Dev-Host
tf201-GPSTweaks.zip - Goo.Im
2. SysCtl And DNS Tweaks:
This has a set of SysCtl tweaks to improve multi-tasking and overall performance as well as makes use of the Google DNS servers which are generally faster.
Download tf201-SysCtlAndDNSTweaks.zip and flash using TWRP recovery
tf201-SysCtlAndDNSTweaks.zip - Dev-Host
tf201-SysCtlAndDNSTweaks.zip - Goo.Im
3. Build.Prop Tweaks:
A compilation of build.prop tweaks tested on the TF201
Read here
4. EXT4 Journaling Tweaks: (Advanced Users Only. Manual Steps Involved)
If you don't understand these commands, you probably should lean more about them before using these tweaks.
Read here
Useful threads:
TF201 NVFlash
TF201 nvFlash General Users Guide [Unbrick/Recover/Downgrade/Upgrade]
[ADB/FB/APX Driver] Universal Naked Driver
TWRP Recovery For JB Bootloader
Support the project:
Donate to AOKP
Donate to AndroidRoot
Donate to me (craigacgomez)
Credits:
AOKP Team & Contrbutors, AndroidRoot Team, CyanogenMod Team & Contributors, Jermaine, TeamWin
Google, Asus, nVidia
Goo.im, Dev-Host
Me!!
New in Oct 28 2012 test build:
1) Latest AOKP changes and kernel & drivers from the official Jelly Bean update
2) Uses the stock Jelly Bean kernel (no extra features like the Oct 27 build)
3) Fully functional dock keyboard
Older Releases:
New in Oct 27 2012 test build:
1) Latest AOKP changes and kernel & drivers from the official Jelly Bean update [The kernel has all the same features as my unofficial CM10 kernel which are listed below]
2) Low memory killer tweaks (memory compaction) [Ported from CM10 Nexus 7 kernel]
3) Standardise CPU frequency tables' values.
4) Disable Asus system mode CPU speed settings
5) Enabled KSM (Kernel SamePage Merging) & zRam/Compcache support
6) Added LCD density property to build.prop
7) Lulzactive CPU Frequency Governor v2: Created by Tegraak. Based on "interactive" governor, inspired by erasmux's "smartass" governor [Ported from clemsyn's Nexus 7 kernel]
8) Pegasusq CPU Frequency Governor: Samsung's own multi-core aware governor. Based on "on demand", controls hotplugging [Ported from clemsyn's Nexus 7 kernel]
9) SIO I/O Scheduler [Ported from clemsyn's Nexus 7 kernel]. Set as default.
10) V(R) I/O Scheduler [Ported from clemsyn's Nexus 7 kernel]
11) BFQ v5 I/O scheduler [Ported from CM10 Nexus 7 kernel]
Going to be testing this once download and backups are finished nice to see a new ROM here.
After "Initiating swagger" tablet just restarts.
nizhnyk said:
After "Initiating swagger" tablet just restarts.
Click to expand...
Click to collapse
Keep the issue reports coming.... it'll help me...
craigacgomez said:
Keep the issue reports coming.... it'll help me...
Click to expand...
Click to collapse
ok will try to re-install, since nobody else has similar issue.
AOKP Wallpapers doesn't work not a big deal, some navigation bar settings dont stick like setting the spacing between the soft buttons, also the recent apps button has the glow cut off. All minor bugs that don't affect performance at all. I feel performance is below that of cm10 but for an early test build it is fantastic
Not sure if its just mine but the Navigation soft keys are not space correctly. Too wide. With 4 soft keys it takes up half of the left side. Just reporting. Can't wait for more. Thanks Craig.
xxxdroidxxx said:
Not sure if its just mine but the Navigation soft keys are not space correctly. Too wide. With 4 soft keys it takes up half of the left side. Just reporting. Can't wait for more. Thanks Craig.
Click to expand...
Click to collapse
Yes you can change the space in settings.
Will go back to cm10, don't think I like AOKP, it's basically same cm10 just loaded with a lot of stuff that I don't need, and looks like it's slowing the performance, animations from changing apps or from pop-up's are very slow and laggy.
craigacgomez, any way you could fix MTP connection (I have to use it a lot) ?)) On this rom it does't work too.. or maybe that's just me. But other than that your cm10 rom is great)
nizhnyk said:
Yes you can change the space in settings.
Will go back to cm10, don't think I like AOKP, it's basically same cm10 just loaded with a lot of stuff that I don't need, and looks like it's slowing the performance, animations from changing apps or from pop-up's are very slow and laggy.
craigacgomez, any way you could fix MTP connection (I have to use it a lot) ?)) On this rom it does't work too.. or maybe that's just me. But other than that your cm10 rom is great)
Click to expand...
Click to collapse
AOKP focuses more on extra customisation... CM10 more on features & stability... there is a lot of cross merging between th e two...
I haven't had any issues with MTP, so could you provide a logcat?
So far so good, installation with only one hiccup, a hot reboot while opening for the first time Play and a freeze while navigating in Performance Menu.
Fr a try it's already a masterpeace !
wifi won't turn on
craigacgomez said:
AOKP focuses more on extra customisation... CM10 more on features & stability... there is a lot of cross merging between th e two...
I haven't had any issues with MTP, so could you provide a logcat?
Click to expand...
Click to collapse
saved those logs right after restarting tablet and connecting to computer. (Shows message: Unfortunately, the process android.process.media has stopped)
nizhnyk said:
saved those logs right after restarting tablet and connecting to computer. (Shows message: Unfortunately, the process android.process.media has stopped)
Click to expand...
Click to collapse
Do you have a micro SD card? What is it formatted as??
craigacgomez said:
Do you have a micro SD card? What is it formatted as??
Click to expand...
Click to collapse
ext4, used for data and cache, I think I should try to remove the mounts from vold.fstab, but really never had that problem before and always using SD card.
nizhnyk said:
ext4, used for data and cache, I think I should try to remove the mounts from vold.fstab, but really never had that problem before and always using SD card.
Click to expand...
Click to collapse
Yes, that's your problem... vold won't handle ext4... your logcat says it could not understand the volume type...
W/MountService( 415): getVolumeState(/storage/sdcard1): Unknown volume
Unless you modify the kernel ramdisk to handle the data to sd, it will fail....
craigacgomez said:
Yes, that's your problem... vold won't handle ext4... your logcat says it could not understand the volume type...
W/MountService( 415): getVolumeState(/storage/sdcard1): Unknown volume
Unless you modify the kernel ramdisk to handle the data to sd, it will fail....
Click to expand...
Click to collapse
ok I removed the mounting from vold, still doesn't work. still shows "getVolumeState(/storage/sdcard1): Unknown volume" I think its going to show it even if there is no sd card inserted, and normally bad sd card will not cause MTP to not work.
nizhnyk said:
ok I removed the mounting from vold, still doesn't work. still shows "getVolumeState(/storage/sdcard1): Unknown volume" I think its going to show it even if there is no sd card inserted, and normally bad sd card will not cause MTP to not work.
Click to expand...
Click to collapse
Can you share the output of the "mount" command???
nizhnyk said:
After "Initiating swagger" tablet just restarts.
Click to expand...
Click to collapse
That may not have anything to do with the ROM
Sent from my Transformer Prime TF201 using XDA Premium HD app
If you have HarryBean 1.3 correctly installed you can safely install this rom correct?

[PROFILES][Benschholds Custom Kernel][UNOFFICIAL]Benschhold Kernel Profiles

Welcome to the Unofficial Benschholds Custom Kernel Profile Sharing Thread for OnePlus 2
Introduction
I've been inspired by the Boeffla Kernel Profile Sharing thread from @v7
Boeffla Profile Sharing Thread
Links
Original Benschholds Kernel Thread
[KERNEL] [OnePlus2] [CM 13] Benschhold Kernel
Credits
@benschhold for his amazing work on the OnePlus 2.​
I will refresh the Third Post your Kernel Audiutor profiles with a small description and maybe
the SOT time which you reached with your Profile.​
How to Backup and Restore profiles in Synapse​.
Backup your Profile
1. Start Synapse and tap on the upper left Corner
2. Go to the Profile Tab
3. Input profile name (Should not have any special characters) and press enter
4. Press check mark at the top
5. Press backup current profile.
6. If the backup was successful you'll get a toast saying so ​
Restore a profile​1. Place profile .tgz file in /sdcard/Synapse/saved_profiles
2. Press restart synapse
3. Go into profile section and select profile you want (can't have any special characters) press the check at the top.
4. Press apply profile
5. Open synapse again and hit the "X" at the top and wait for settings to apply
6. Close synapse and open it again and press the X again
7. Repeat step 7 until the "X" no longer appears ​
Apply the profile on boot​1. Go into settings and check apply on boot
2. Do not reboot for at least 2 minutes or the settings will get reset.
PS: Make sure you have set SeLinux to Permissive.
​NOTE : If a profile doesn't setup correctly, Clear synapse data.. Reboot if necessary.
Note 2 : For best results, Reboot and charge till 100% after applying a profile.
How to save Profiles in Kernel Adiutor​
Just place the Profiles.json in "/data/data/com.grarak.kerneladiutor/files/"
This is the place where you Profile is saved too.
recently it is impossible to save more than one Profile at the same time in the Profile
Bensch decided to go forward with Kernel Adiutor instead of Synapse.
So feel free to post your profiles for benschs kernel
Kernel Adiutor Profiles.
Daily-Usage Profile​
@benschhold Battery Profile
@xdvs23 Daily & Benchmark Profile
Performance Profile​
@magnamentis ExtremeScoreProfile
@xdvs23 Daily & Benchmark Profile​
Hybrid Profile​@[B]ollimi1[/B] Battery & Performance Profile​
@Darth
pls bringt it to the right section (general)
and thanks @Xendetor
But where are the profiles?
No one posts his profiles xD
Xendetor said:
No one posts his profiles xD
Click to expand...
Click to collapse
Hi Xendetor,
I want to suggest to rename the thread into "Aduitor 'and' Synapse" profiles because since v1.9 bensch-kernel comes with Aduitor.
It is indeed possible to flash the ukm.zip and using Synapse furthermore as kernel tweaker but I think the most people are too lazy to set up Synapse and disable Aduitor and/or they have problems with Synapse(like me) and prefer to use the build-in Kernel Aduitor.
You could create an area for Aduitor profiles and another for Synapse profiles.
I know @benschhold has create an Auditor profile for better battery usage and other forum members like @magnamentis also posted their profiles in benschholds kernel thread.
I think it would help to ensure that your site will be used from more peoples like now and If you decide to do this, I'll be the first sharing my profile here!!:good:
Okay, today i've no possibilities to change the thread Name, tomorrow i will post the profiles from bensch and magnamantis here.
23.03.2016 *Updated... 2 Profiles in 1 .zip from ollimi1 added
22.03.2016 *Updated... 2 Profiles from Magnamentis and Benschhold added
Xendetor said:
*Updated... 2 Profiles from Magnamentis and Benschhold added
Click to expand...
Click to collapse
Hi Xendetor,:highfive:
nice to see you follow my recommendations. :good:
Here are my profiles for all day usage and with a second high performance benchmark and gaming profile.
- The "all-day-profile" is well balanced to achieve best possible screen on "and" off times, good performance, fast response and best battery.
- The bench/gaming profile is probably self-explanatory and was made to get every single bit of performance from your device.
If you want you can put it into the list of other profiles
(And guys, do not forget to enable "apply on boot" for all sections with modifications and full reboot the device to apply the applied profiles properly! If something goes wrong, disable all "apply on boot" settings, full reboot and start from scratch with modifications.
Although I didn't have any temperature problem with the gaming profile, I recommend to not permanently use it, because of the thermal settings I've made.)
ollimi1 said:
Hi Xendetor,:highfive:
nice to see you follow my recommendations. :good:
Here are my profiles for all day usage and with a second high performance benchmark and gaming profile.
- The "all-day-profile" is well balanced to achieve best possible screen on "and" off times, good performance, fast response and best battery.
- The bench/gaming profile is probably self-explanatory and was made to get every single bit of performance from your device.
If you want you can put it into the list of other profiles
(And guys, do not forget to enable "apply on boot" for all sections with modifications and full reboot the device to apply the applied profiles properly! If something goes wrong, disable all "apply on boot" settings, full reboot and start from scratch with modifications.
Although I didn't have any temperature problem with the gaming profile, I recommend to not permanently use it, because of the thermal settings I've made.)
Click to expand...
Click to collapse
thanks ollimi1 for sharing your profiles. Also the thread is updated.
Xendetor said:
thanks ollimi1 for sharing your profiles. Also the thread is updated.
Click to expand...
Click to collapse
Hello how can i use this profile i tried to put the json file on root/data/data/com.grarak.kernelauditor then files and then go to kernel auditor and then profiles but i says that there is none profiles.
Should i flash by recovery (there is a meta-inf folder)
Ps: i'm on RR with Benschold kernel 2.7
Chris-woods said:
Hello how can i use this profile i tried to put the json file on root/data/data/com.grarak.kernelauditor then files and then go to kernel auditor and then profiles but i says that there is none profiles.
Should i flash by recovery (there is a meta-inf folder)
Ps: i'm on RR with Benschold kernel 2.7
Click to expand...
Click to collapse
I too am having trouble using these profiles. Are we just overwriting the existing profiles.json in files?
Doesnt seem to show up in the profiles section in Kernel Adiutor.
Probably a stupid question but I may as wel ask..
Edit: It works now. you have to enable lord boeffla's core control option for it to show up. idk why but when i enabled that i found the profile
SometimesMonday said:
I too am having trouble using these profiles. Are we just overwriting the existing profiles.json in files?
Doesnt seem to show up in the profiles section in Kernel Adiutor.
Probably a stupid question but I may as wel ask..
Edit: It works now. you have to enable lord boeffla's core control option for it to show up. idk why but when i enabled that i found the profile
Click to expand...
Click to collapse
I don't understand how did you do. Where do I have to put the json file and where can I activate the module on Kernel Auditor
Thanks in advance
Chris-woods said:
I don't understand how did you do. Where do I have to put the json file and where can I activate the module on Kernel Auditor
Thanks in advance
Click to expand...
Click to collapse
You put the json file in data/data/com.grarak.kerneladiutor/files
There should be a profile.json file in there so just copy the one youve downloaded and overwrite the one already there.
there should be a profile section in the kernel adiutor and it should have the profile there, if so just apply the profile.
SometimesMonday said:
You put the json file in data/data/com.grarak.kerneladiutor/files
There should be a profile.json file in there so just copy the one youve downloaded and overwrite the one already there.
there should be a profile section in the kernel adiutor and it should have the profile there, if so just apply the profile.
Click to expand...
Click to collapse
Thanks will try when my battery will be charge at 100%
Its recommended to restart kernel adiutor after replaced profile.json
So, I seem to be having the same problem as @Chris-woods. I've copied the "profiles.json" file into the correct place (Though I don't have a "data/data/com.grarak.kerneladiutor/files," mine is under "Android/data/com.grarak.kerneladiutor/files"), restarted Kernel Adiutor, and nothing is shoing under the "Profile" section. I wanted to try what @SometimesMonday mentioned, but it seems Core Control is already enabled.
I have the same problem, can someone help us, please ?
Okay, i dont have a solution for this, but just try one thing... Installiert es Explorer and uninstall kernel adiutor. After that, es Explorer asks you for delete the kernel adiutor folder. Press Yes.
After that, install the kernel adiutor from the ZIP file from benschs kernel. After that open kernel adiutor and save Any profile. Go to the folder of it and replace the downloaded profile.json with that in the folder and try to load it in the profile tab of kernel adiutor.

large files not downloading when screen is locked

I'm using resurrection remix latest nougat nightly+ radon latest kernel.
while downloading large files on WIFI, 5 or 10 mins after the screen turns off, the download somehow getting discontinuous. as soon as the phone is unlocked, download continues again.
(wifi on during sleep: always,
cpu governors were changed, big:conservative & small:impulse
but these changes should not affect the download )
can somebody find out the problem why is this happening?
Dont enable dynamic fsync when you install radon. Its clear on description when isntall radon. Enable dynamic fsync will make trouble when screeen off. When copy large file

Spectrum Injector flashable zip for any kernel in kenzo/redmi note 3

Hello Friends
So I managed to share a little modifications of mine for making it easier to use spectrum on any kernel, as most of the kernels in Kenzo(RN3) don't have spectrum support(ROOT ACCESS REQUIRED)
Instructions:-
1. Install spectrum from play store(its free)
2. Download the flashable zip(attached)
3. Boot into Recovery Mode
4. Flash the zip
(Dont flash if spectrum is already supported in your kernel, to check if its already supported, follow step 1 and then open the app, if it doesn't support then you'll see a msg like this- ~Spectrum not supported by your kernel; else you'll see the 4 modes(balanced,battery,perf and gaming)
Suggestion:
-To get best results, restart the device before switching to your required profile
-Change the profile after you've restarted it
-Enjoy
I Hope you like it

Development [Kernel][GKI][05.03.2023][Android 13] Kirisakura 1.0.3 for Sony Xperia 1 IV aka "Nagara"

Kirisakura-Kernel for the Sony Xperia 1 IV
Hello everyone,
To keep it short: Here is Kirisakura- GKI - Kernel for the Sony Xperia 1 IV aka Nagara. Nagara is the internal codename for this years development platform of Sony Mark IV devices.
I would appreciate if everybody that flashes the kernel, reads at least once through this opening post and the following ones.
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!
If you expect a custom kernel to magically improve your devices battery life manifold and this is your only priority then this might not be the right place for you.
There´s also a cpu-battery saver mode that cuts back the CPU max- freqs, but without the disadvantages like delayed notifications from built into the system user-space power-saving modes.
If that got your curious, I welcome you to continue reading if you´re still interested!
Now lets continue with a list of features in the next paragraph!
Main Features:
- Based on kernel/common 5.10.149
- compiled with Clang 12.0.5
- CPU-Battery saver to be able to restrict max cpufreqs on the fly, without enabling powersaving modes that might cause missed notifications (see second post)
- SSG IO scheduler for reduced overhead and less CPU cycles (more lightweight and android optimized)
- Power saving workingqueues enabled by default
- Change various drivers to use power efficient workingqueues. This compliments EAS in general
- implement LRNG (thanks @arter97, see arter kernel OP for more info )
- Enable support for TTL spoofing
- wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
- please read [URL="https://arstechnica.com/gadgets/2018/08/p-is-for-power-how-google-tests-tracks-and-improves-android-battery-life/"]this for further info
- f2fs improvments for better efficiency
- scheduler improvements
- psi fixes
- Flashing the kernel will keep root!
- Flashable via EXKM, FKM or TWRP (if available) on a rooted system!
Flashing Guide, Download and Changelog
Requirements:
- unlocked Bootloader
- USB-Debugging in developer options enabled
- latest adb and fastboot binaries
- working adb and fastboot environment
- magisk root
- a backup of stock boot.img or your magisk patched boot.img in case you want to go back to stock.
How to flash the Kernel:
1. Download the latest kernel.zip and make sure you have properly updated to the latest matching Firmware (check the feature list for the current firmware the source is based on). When there´s an OTA update for the Sony Xperia 1 IV it takes Sony a while to release the source code for the new OS and me a while to build a new kernel. If you don´t want to face any issues, wait until I either release an updated kernel or give green light because there were no kernel changes.
If you want to be sure there are no issues, always make sure to run the firmware the kernel is built for!
If you feel adventurous and try in advance, make sure you have a backup ready!
2. Flash the kernel.zip via latest TWRP (if available), EXKM or FKM app and do a full reboot.
3. Reboot and profit.
DOWNLOAD:
Download is located always in this folder, or attached to the release posts in case AFH is wonky.
https://www.androidfilehost.com/?w=files&flid=335705
Important: Read after Download
Please take a look at the second post after flashing the kernel!
Changelog:
Android 12
1.0.0 Initial Release
Android 13
1.0.0 https://forum.xda-developers.com/t/...-xperia-1-iv-aka-nagara.4480653/post-87711541
1.0.1 https://forum.xda-developers.com/t/...-xperia-1-iv-aka-nagara.4480653/post-87945391
1.0.3 https://forum.xda-developers.com/t/...-xperia-1-iv-aka-nagara.4480653/post-88241223
Donations:
Donations are not mandatory but very welcome if you want to support development or just buy me a coffee/tea
If you like my work: http://paypal.me/freak07
Credits:
Sony for the development device, giving me the opportunity to create this project!
@osm0sis for all his work, including the ak3 installer!
@tbalden for being the best HTC, Pixel, OnePlus and now Asus wingman!
@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!
Source Code: https://github.com/freak07/Kirisakura_GKI_Nagara
F.A.Q:
Question: Is root preserved when flashing this kernel?
Answer: Yes, the AnyKernel.zip will detect root and keep it.
Question: Safetynet does not pass on my phone since I unlocked the phone, why is this so?
Answer: Google introduced hardware backed attestation recently. Unfortunately the old kernel tricks to still get safetynet passing won´t work. Instead you will have to rely on some magisk modules. Short guide in post #4 below.
Question: How do I return back to stock or another kernel.
Answer: Extract boot.img from the matching firmware you are on (you can do so by using this tool or similar ones found on XDA and when googling around) and flash via fastboot. If you want to keep root flash back the magisk_patched_boot.img. Or dirty flash your rom and re-root.
Question: Why is having Magisk installed mandatory for this kernel?
Answer: The kernel uses a ramdisk overlay to apply some settings after boot. If you are not rooted these settings will not get applied and you miss some of the optimizations.
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 stock configuration. That´s means you´re not using any mods, tweaks in kernel managers or other root tweaks , magisk modules, 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?
Provide logs, otherwise debugging is a lot harder. 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.
Feature Documentation:
Here´s a brief documentation about some of the features included in the kernel that can be changed as the user desires.
They can be accessed via either terminal, scripts or for example EXKM manager ( tools -> user settings).
CPU-Frequency Limiting:
Another option is CPU-Freq Limiting. You can now limit the CPU frequency to a few different levels with a sysfs interface. Original implementation is from @tbalden, I only changed it to be accessible via traditional root methods.
Main Switch:
sys/module/cpufreq/parameters/batterysaver
Set this option to "1" to enable the feature
Max-Frequency Selection (Input boosts, such as scrolling boost or app launching boosts will still apply, if touch boost restriction is not set to 1)
sys/module/cpufreq/parameters/batterysaver_level
Set this to "1" to restrict the max CPU-Freqs to 1,6GHZ/1,9GHZ/2,22GHZ (Little Cluster/Big Cluster/Prime Core)
Set this to "2" to restrict the max CPU-Freqs to 1,4GHZ/1,6GHZ/1,8GHZ (Little Cluster/Big Cluster/Prime Core)
Set this to "3" to restrict the max CPU-Freqs to 1,1GHZ/1,1GHZ/1,1GHZ (Little Cluster/Big Cluster/Prime Core)
Touch-Boost Restriction
sys/module/cpufreq/parameters/batterysaver_touch limiting
Set this to "1" to restrict the powerhal from boosting over the limit defined in batterysaver_level
Set this to "0" to allow the powerhal to boost above the values defined in batterysaver_level, but only during interaction with the Phone!
Screenshots:
View attachment 5309899View attachment 5309901View attachment 5309903
This is for example very useful during gaming to prevent additional heat, if not the highest performance from the CPU is required. Check if the game is running fine on level 1 or 2, and you´ll notice much less heat. Powerdraw will be reduced as well.
Another very useful trick while doing video calls or long extended navigation sessions with google maps to preserve battery or keep the phone from heating. Especially during summer if the ambient temperatures are high.
This is a very easy way to preserve battery or reduce heat without toggling the battery save mode in settings as that restricts background data usage, which can lead to delayed notifications.
How to pass Safetynet after unlocking the bootloader
With the introduction of hardware backed safetynet attestation, passing safetynet has become a lot more complicated.
Some probably remember a while ago, flashing a kernel that forced some flags was enough to pass it. However these days are gone.
Below is a short guide how to pass safetynet on phones that are flagged to use HW attestation (such as the ROG 5).
1. Make sure you´re running latest magisk canary.
2. In Magisk Manager enable both zygisk and deny list.
4. Download the latest Universal Safety Net Fix from @kdrag0n ´s github for zygisk cand flash it in Magisk Manager. Reboot.
5. Profit
Oh, my God! thank you so much for making the IV kernel
am I right to assume that CPU frequency limiting can help the phone not overheat when taking photos?
You are Awesome
tomatoketchup said:
am I right to assume that CPU frequency limiting can help the phone not overheat when taking photos?
Click to expand...
Click to collapse
yes. it should at least slow down the heat buildup. that´s the main goal behind it.
please note that 4k 120fps recording or other demanding tasks might not work without stutters if CPU gets restricted too much.
Apart from app loading times, if the usage is not super demanding level 3 works without major stutters in the UI on 120fps refresh rate.
htcmage said:
Oh, my God! thank you so much for making the IV kernel
Click to expand...
Click to collapse
Thaiban said:
You are Awesome
Click to expand...
Click to collapse
Freak07 said:
yes. it should at least slow down the heat buildup. that´s the main goal behind it.
please note that 4k 120fps recording or other demanding tasks might not work without stutters if CPU gets restricted too much.
Apart from app loading times, if the usage is not super demanding level 3 works without major stutters in the UI on 120fps refresh rate.
Click to expand...
Click to collapse
excellent <3, I don't need 4K 120fps recording I actually only do 1080p 24 because I like stabilization. so going to flash 64.0.A.8.25 and this kernel after that. million thanks!
It's a small amount, but I donated it, thank you always
htcmage said:
It's a small amount, but I donated it, thank you always
Click to expand...
Click to collapse
Thank you very much! I greatly appreciate it.
Hahaha... Hello my good friend @Freak07. Didn't know you were into Sony as well.
@Freak07 can you port it to xperia pro i ?
Developer, I have a question
If I use my work profile (shelter or island apk) I can't get into the settings menu I get a popup stating that the system UI is shutting down, maybe it's kernel related?
Should I uninstall Uperf before flashing?
Also thanks for this excellent work.
great work!Thx
to those who flashed, how is battery live ?
ist compüatible with latest sony update?
Would be interested to know, if it supports the old android kernels feature to emulate CD and DVD. Its a feature that DriveDroid needs to emulate a bootable DVD drive from an *.ISO hosted from an android device over USB. it was present in my older devices until XZ1 Compact and i was able to boot my pc off from a iso file hosted on my android device. It was much convinient than using silly PXE boot over eth0
No more update ?
Mrxyzl said:
No more update ?
Click to expand...
Click to collapse
OP will update when new Kernel sources are released and he has time. Mentioned in the first post.

Categories

Resources