Advanced Interactive Governor Tweak - Sony Xperia XZ Themes, Apps, and Mods

NOTE:
1- First tnx to @soniCron for his amazing work for governor profile... here
2- I edited GhostPepper in to the init.d script and values completly with XZ cpu cores frequency.
3- No need to run terminal any more for set profile at any boot! or use third-party kernel manager or profile manager apps. only copy/past, set permissions, reboot and BINGO
BACKGROUND:
I test Butterfly (from HTC10) profile and MadDog from (Nexus 5x) and edit that for xperia xz. After multi time test and check diffrent values... i fine GhostPepper v1.3 is a complex of smooth like butter, good performance in games and best battery life for day to day use.
Quote from @soniCron :
Uses a quantized, frequency-aligned parametric curve to influence low core clock rates while providing extremely smooth transitions from each clock rate and exceptional battery life. The current favorite, albeit not very well tested so far. HIGHLY RECOMMENDED
Click to expand...
Click to collapse
REQUIREMENTS:
1- rooted xperia xz
2- enable init.d (see post2)
3- TWRP recovery installed (for enable init.d)
4- any file manager with root browsing feature. (or use twrp built-in file manager!)5- enough knowlage about linux permissions, governor, init.d
CREDITS:
@Ryuinferno for add init.d support to any android kernel here
@soniCron for interactive governor tweaks here
@AndroPlus for kernel and twrp for Xperia XZ here & here
DOWNLOADS:
https://drive.google.com/file/d/0Bx-04WhcoxYlLUdLd2txSXN6VEk/view?usp=sharing
SCREENSHOT:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

enable ini.d at Xperia XZ
1- download term-init.sh
2- copy the sh file in root of sdcard
3- reboot device to recovery mod
4- in TWRP, go to advanced/mount then mount the "system" partition
5- go to advanced/terminal and run built-in terminal
6- type this commend line by line in terminal:
Code:
cd /sdcard
sh term-init.sh
7- reboot device. go to /data folder and check any Test.log file is there? YES??? woow you now can run any init.d scripts from boot :laugh:
-------------------------------------------------------------------------------------------------------------
NOW copy 99governor file from last post to /system/etc/init.d/
set all permissions "rwxrwxrwx" then reboot your phone
-------------------------------------------------------------------------------------------------------------
​

Working fine
I will test in some hours and days and give a feedback

karrouma said:
Working fine
I will test in some hours and days and give a feedback
Click to expand...
Click to collapse
Phone speed lower than before.
Before flashing my phone running fast, but now battery are a bit better

Tanks for your feedback
karrouma said:
Phone speed lower than before.
Before flashing my phone running fast, but now battery are a bit better
Click to expand...
Click to collapse
The interactive tweaks change to cpu clock jump step. In medium usage like web surfing or lesson to music you don't need max freq.
Now cpu need more time to raise to max frequency
This profile set gpu clock at maximum for little frame drop in games (play AAA games drain battery fast)
If you no need that only delet init.d folder or delet governor file.

please, help!
sh: can't open 'term-init.sh'
why is it happening?

First mount /system in twrp (your device must be rooted and busybox installed)
Run terminal and
cd /sdcard
sh term.init.sh
OR
sh /sdcard/term-int.sh
Check sh file saved at root of sdcard and check file name

GenomeX said:
First mount /system in twrp (your device must be rooted and busybox installed)
Run terminal and
cd /sdcard
sh term.init.sh
OR
sh /sdcard/term-int.sh
Check sh file saved at root of sdcard and check file name
Click to expand...
Click to collapse
UB - done
TWRP - done
SuperSU - done
in TWRP:
mount system - done
run terminal - done
"cd /sdcard
sh term.init.sh" - done
terminal says "sh: can't open 'term-init.sh' "
term-init.sh is in the root of sdcard, redownloaded it several times (file size 8kb)
what am I doing wrong?
kernel is stock with restored ta and drm fix

Can you make one for drunksauce gov it's the best on Nexus 5X and is used in D.U. has crazy SOT on my Nexus can we get this ported to XZ. If not what do I do to get it ported just open the init file and edit the frequencies and how many CPU like ex: cpu0 cpu1?

Well I tried to port drunk sauce my self using the 99gov for Xperia XZ I found in this thread as a reference for the frequencies on our device. I'm running it now can confirm it is a success. I'll m working on it over the week. If anyone wanna try and give me feedback that be cool. I'm noticing a small drop in proformance in stamina mode but there no lag and SOT seems to be great. Give it a shot :good:
https://drive.google.com/file/d/0B2bXgjj9jECcZkVXOFNfVGYtMXM/view?usp=drivesdk

It´s necesary keeping root to use your modded governor?
thanks in advance

sonice21 said:
It´s necesary keeping root to use your modded governor?
thanks in advance
Click to expand...
Click to collapse
Of course...

:good::good:

The latest update to my port, tried doing a pull request to get help from original devs. I cleaned up some code and changed some values. much better now
https://drive.google.com/open?id=0B2bXgjj9jECcSU5mcmZ0ajFpR3c

Smacksmack206 said:
The latest update to my port, tried doing a pull request to get help from original devs. I cleaned up some code and changed some values. much better now
https://drive.google.com/open?id=0B2bXgjj9jECcSU5mcmZ0ajFpR3c
Click to expand...
Click to collapse
TNX
I check your tweak and feedback.

GenomeX said:
TNX
I check your tweak and feedback.
Click to expand...
Click to collapse
I appreciate it fam. let me know what you think

New update to my DrunkSauce port now on Version 4, Noticed that when I was checking CPU statistics I was showing the most used frequency on LITTLE Cluster was 1593MHz, Also noticed the associated battery drains from this. Added 3072MHZ Target load to LITTLE Cluster and Also changed the Input boost to have LITTLE Cluster firing at lowest frequency 3072MHz for CPU cores 0-3.
Enjoy!!!! Because im loving this thing right now buttery smooth and power saving.
https://drive.google.com/open?id=0B2bXgjj9jECcUVpHQXlYVUFrTDg

Here's what I was talking about earlier

Just updated here is my GitHub so anyone can snag my recent edits. Major improvements overy last commits. Got the original devs looking over my commits. Happying Drunksauce FTW!
-Edit- Drunksauce is the 99governor for our device in my GitHub. And 100drunksauce is the original file from Nexus 5x in my branches. and download from the readme branch
https://github.com/Smacksmack206/Sony-Xperia-XZ/tree/readme-edits

hi! I've installed everything and activated the last edition of governor99, but still get about 3-4 hrs SOT
what am I doing wrong?

Related

Motorola Xoom Overclocked: 1.5GHz Dual Core Honeycomb! [v2 2/28]

Please do not flash this on the WiFi only Xoom yet. An update will be coming. In the meantime, you can just recompile the source from my github and it should work on the WiFi only Xoom.
I have successfully brought the Tegra 2 in the Xoom to 1.5GHz. A few kernel modifications make the dual core chip in the Xoom even more powerful than the recently announced Tegra 2 3D! 1.5GHz through two Cortex A9 cores is truly a force to be reckoned with.
2/28: Applied L2 prefetching patch. This increases Linpack to about 63 MFLOPS @ 1.5GHz. Flash the kernel and push the wifi module again: http://www.setcpu.com/files/xoom_ocboot_v2.zip (thanks ccfries for the heads up!!!)
Instructions:
1. Make sure you've unlocked your Xoom's bootloader for flashing first, then root it.
2. Grab this zip and extract it. It includes a boot.img with the overclocked kernel and a corresponding wifi module: http://www.setcpu.com/files/xoom_ocboot_v2.zip. Thanks to Koush for the rooted ramdisk in this boot.img!
3. Reboot into the bootloader by running:
adb reboot bootloader
4. Flash the boot image to your boot partition, then boot back into Android by running:
fastboot flash boot xoom_ocboot.img
fastboot reboot
5. Push the bcm4329.ko to your /system/lib/modules folder and reboot to re-enable wifi:
adb remount
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
adb reboot
The usual disclaimers apply here. Only do this if you know what you're doing. Though the long term stability/reliability of similar overclocks on other Android based ARM devices is known, this software is provided with no warranty, and I can't be held responsible if you fry your Xoom or anything.
The kernel defaults to 1GHz max for safety, and also includes 1.2GHz and 1.4GHz steps in addition to the 1.504GHz step. I've also updated SetCPU to support the Xoom, so grab that (I know the interface currently looks bad on the Xoom; a tablet optimized interface is coming soon!). SetCPU versions prior to 2.1.1 will not work for setting speeds on the Xoom.
Source code: Based on Google's android-tegra-2.6.36-honeycomb with some overclock specific modifications by me.
Video:
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I get ~47 MFLOPS in Linpack for Android, 35 MFLOPS stock. Linpack seems to hit a wall somewhere and isn't really accurate for the Xoom:
I get ~355ms in SetCPU's native bench (C only, the Tegra 2 sadly doesn't support NEON), ~534ms stock. This scaled almost precisely with clock speed, but the native bench isn't multithreaded:
3105 in Quadrant at 1.5GHz, compared to 2226 stock (though Quadrant tests more than just the CPU):
Keep in mind that the benchmarks I tested often aren't multithreaded enough to show a large difference between the Xoom's Tegra 2 and a similarly clocked single core Cortex A8. Some operations benefit more from the Cortex A9's improved architecture and/or the two cores more than others.
Enjoy your even faster Xoom!
Niiiiiceeee work! How about stabilty? is it stable at that speed? good for everyday work?
Holy sheep ****! A 50% overclock is very impressive. Nice job, here's to hoping overclocking eventually makes it's way to the Atrix.
Just awesome!
amazing work. I flashed it, and it's working great!
nice work! Going to give this a shot now
I get to step 5:
5. Push the bcm4329.ko to your /system/lib/modules folder and reboot to re-enable wifi:
adb remount
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
adb reboot
and get error: device not found. isn't bcm4329.ko suppose to be in tools folder?
actually how do I push the bcm4329.ko to /system/lib/modules folder
bishop72 said:
I get to step 5:
5. Push the bcm4329.ko to your /system/lib/modules folder and reboot to re-enable wifi:
adb remount
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
adb reboot
and get error: device not found. isn't bcm4329.ko suppose to be in tools folder?
Click to expand...
Click to collapse
ADB doesn't seem to be able to find your Xoom. Sometimes you can just unplug it and plug it back in and run adb kill-server to get it to detect again, and/or re-enable USB debugging.
As for stability, I did not have crashes at 1.5GHz on my Xoom.
how do you run adb kill server
tried adb remount and device still not found. help
Did you reboot the device after doing the fastboot command? If not, run
fastboot reboot
ok did that now when I try to push the file it says there is no such file or directory
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
I looked and I do not have a modules folder. Is there suppose to be one in the android/tools/lib folder on my pc?
bishop72 said:
ok did that now when I try to push the file it says there is no such file or directory
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
I looked and I do not have a modules folder. Is there suppose to be one in the android/tools/lib folder on my pc?
Click to expand...
Click to collapse
You need the bcm4329.ko to be in the same directory as adb, Program Files (x86)/Android/android-sdk/platform-tools/
The modules folder is a folder on the actual Xoom itself, it's just where you're copying the file to, and it most certainly should have one.
ok finally got it to work! no when I look in setcpu the max is 1504 and min is 216 but the numbers up top (big, bold and in white) keeps changing. From 312 Mhz, 216Mhz, 1504Mhz and so on. Is that suppose to happen? I thought the number was suppose to stay the same. And is the set on boot suppose to be checkmarked?
thanks for all your help
bishop72 said:
ok finally got it to work! no when I look in setcpu the max is 1504 and min is 216 but the numbers up top (big, bold and in white) keeps changing. From 312 Mhz, 216Mhz, 1504Mhz and so on. Is that suppose to happen? I thought the number was suppose to stay the same. And is the set on boot suppose to be checkmarked?
thanks for all your help
Click to expand...
Click to collapse
What CPU Governor are you using? I use On Demand, it's going to scale if it doesn't need all that horsepower... I always set it on boot myself, I actually found after first boot it was defaulted to 1504mhz instead of 1ghz... I set up profiles for good power saving.
p.s. I'm still using SetCPU 1.4.4 from a LONG time ago when I originally got it on my Droid, works perfectly on the Xoom.
bishop72 said:
ok finally got it to work! no when I look in setcpu the max is 1504 and min is 216 but the numbers up top (big, bold and in white) keeps changing. From 312 Mhz, 216Mhz, 1504Mhz and so on. Is that suppose to happen? I thought the number was suppose to stay the same. And is the set on boot suppose to be checkmarked?
thanks for all your help
Click to expand...
Click to collapse
Yes. Change the scaling to performance if you want to see it at the highest value all the time, but leave it at interactive for battery life, because it will only scale up based on need.
how does this affect video play back speed? Likely software mode rather than hardware mode.
a visitor from the atrix forum! i was just wondering anyone with this kernel if they could test HQ flash performance over at gomtv.net for SC2 GSL games. I know super nerdy but I watch these often and on the atrix at qHD there is some noticeable stuttering (about ~20fps) i estimate where a overclock to tip that over to around~25fps would be really helpful. does the OC help alot from stock with flash performance?
tassadar898 said:
a visitor from the atrix forum! i was just wondering anyone with this kernel if they could test HQ flash performance over at gomtv.net for SC2 GSL games. I know super nerdy but I watch these often and on the atrix at qHD there is some noticeable stuttering (about ~20fps) i estimate where a overclock to tip that over to around~25fps would be really helpful. does the OC help alot from stock with flash performance?
Click to expand...
Click to collapse
There is no Flash on the Xoom, not until Adobe gets off their ass and pushes out 10.2...

[APP][18/06/2012]Thoravukk Control [RELEASED] for Thoravukk Kernel

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
HI, I am new member of team-blockbuster.
I am developing an android application for thoravukk kernel made by pinpong.
Lets start with screenshots:
Reboot options for rebooting device in 3 modes.
Cpu- Change governors, Change IO schedulers, Change min-max Frequencies
Gpu- Change Frequencies and voltages
Misc- Change charging voltages( Charger,Misc,USB )
Set level for Vibrator from 0-6
Set gamma level, Set LED timeout
Ntfs mount option for sdcards and hdd
Save as boot settings option
Still many to come in next versions.
Changelog beta v2
Script generation failed error fixed .
New icon added
Changed LED min- max timeouts
Changelog beta v3
New screen added - lulzactive settings
Added BLN toggle button
Added Touch screen sensitivity
Added Fuel gauge reset
Changelog beta v4
New Screen Cpu voltages added
New Screen Cpu States added
Script now have lulzactive commands
Reset fuel gauge yes buttons fixed
Orientation is fixed to portrait now until beta finish
New screen added- screen & soft key
Blinking effect control added
Changelog Final Version
Minor bugs fixed
Script fixed , hope now works properly
***Please uninstall old app before installing new one***
To download application use the link below
DOWNLOAD
Great Thanks to-
All of them which are there in credits section of pinpong thread
---Team Blockbuster---
fuss132 for supporting me
pan cit for excellent graphics,icons in application and thread
and
pinpong for all information needed to build this app
For more information related to my development visit my page
For information related to kernel,apps,roms and more .. visit our homepage
FAQ:-
Q.The application is crashed ( Force close) , what should I do ?
A. Give me logcat using adb logcat or aLogcat application
Q.Can I use this application with some different kernel ?
A. No. ( currently it only supports thoravukk)
Q.If anyone getting script generation failed error ?
A. Consider giving me logcat
There is no blink toggle and blink on/off interval features in application, they will be added in next release ^^
Just give me feedback about the app after using it
Welcome
Can't wait for this wonderful application
Sent from my GT-I9100 using Tapatalk 2
im the one who are using this great kernel..keep up good work...
I use it too !!! Great job at the team !!!
But i have too look more seriously, it seems that settings arn't saved after reboot ... i retest it !
EDIT : it's probably script related ... i take a look at this. It doesn't work at all after reboot
Tom_2b said:
I use it too !!! Great job at the team !!!
But i have too look more seriously, it seems that settings arn't saved after reboot ... i retest it !
EDIT : it's probably script related ... i take a look at this. It doesn't work at all after reboot
Click to expand...
Click to collapse
Btw application is still in beta version, I ll look at it. is there any file named "thoravukk" in /system/etc/init.d folder ?
rohitiskul said:
Btw application is still in beta version, I ll look at it. is there any file named "thoravukk" in /system/etc/init.d folder ?
Click to expand...
Click to collapse
Maybe he got wrong permissions for folder "init.d"? Was installing kernel 2.45 and i had to set permissions to 775 (rwxrwxr-x). On v2.43 I only needed 755 to set up thoravukk init.d script.
Gesendet von meinem GT-I9100
rohitiskul said:
Btw application is still in beta version, I ll look at it. is there any file named "thoravukk" in /system/etc/init.d folder ?
Click to expand...
Click to collapse
Yes the script is correctly written, the init.d folder works, the VC's script is loaded but when i try with the thoravukk it isn't
Envoyé depuis mon GT-I9100 avec Tapatalk
Script creation failed...
Set permissions for init.d to 775 and 755 but still same issue.
Using kernel v2.45...
Gesendet von meinem GT-I9100 mit Tapatalk
Tom_2b said:
Yes the script is correctly written, the init.d folder works, the VC's script is loaded but when i try with the thoravukk it isn't
Envoyé depuis mon GT-I9100 avec Tapatalk
Click to expand...
Click to collapse
I tested the script on my galaxy sl i9003, the script works fine on my phone.
my init.d permissions are rwxr-xr-x and script with rwxrwxrwx permission.
Even pinpong also said me its working fine on his galaxt s II i9100. So just check permissions of init.d folder.
Ok thanks i ll take a look
Envoyé depuis mon GT-I9100 avec Tapatalk
OK .. If anyone facing script generation failed problem , pls send me logcat.
Also, report me about .. how much cpu screen lags while changing the values of min,max,scheduler,governor ?
rohitiskul said:
OK .. If anyone facing script generation failed problem , pls send me logcat.
Also, report me about .. how much cpu screen lags while changing the values of min,max,scheduler,governor ?
Click to expand...
Click to collapse
OK, seems App doesn't mount /system/etc/init.d as R/W but keeps it as R/O only:
I/System (13356): at com.stericson.RootTools.b.run(Unknown Source)
W/System.err(13356): java.io.FileNotFoundException: /system/etc/init.d/thoravukk: open failed: EROFS (Read-only file system)
(Changed CPU from 100 -1200Mhz)
EDIT: manually mounted R/W (using root explorer) and script is created
Thanks, for checking the script logcat.
And can u tell me when u changed cpu values do you feel stuttering while swiping value gallery ?
rohitiskul said:
Thanks, for checking the script logcat.
And can u tell me when u changed cpu values do you feel stuttering while swiping value gallery ?
Click to expand...
Click to collapse
no swiping seems still smooth for me, neither within swiping the values nor in swiping the menues
rohitiskul said:
Thanks, for checking the script logcat.
And can u tell me when u changed cpu values do you feel stuttering while swiping value gallery ?
Click to expand...
Click to collapse
You could use a simple Runtime for executing the command "su", and then "busybox mount -o rw,remount /system", then no more EROFS. This is how my apps does it. Also FileWriter class doesn't work over /system files, at least not on some times. You better use runtime for "busybox echo "+string+" > /system/somewhere"
fine kernel , fine apk fine team
Charge Power
Hi. I love this app in Combination of the Kernel!
I used the Kernel V 2.45 and all works fine.
Now i have a question about the App.
in the App i can change the charge power by usb, misc and Charger.
I change it by +50mA on every Port but i seems no effect or just a little bit.
has someone experience of it? Can i only crash my Battery or my Handy also if i reach to much?
Can i raise it? I think the carger gives me the max of it or?
The max of my Charger is 1 Amp. I think USB 2.0 max Power is 500mA.
And what means the Misc Option?
Is it possible to add an option to have backlight for keylights to be always on?

[KERNEL][UBERTC] CM12.1 based Modified (little bit :p) Kernel (23-05-2015)

Hi Guys ,
i would like to share my CM12.1 based kernel with very few features and i hope u like it
Code:
Features
CPU overclock 2.457 Ghz (Phone will boot @ 2.457Ghz)
Voltage adjustment
KCAL advance color control
Fast_hotplug
Faux Sound control
Compile with UBERTC GCC 4.9.3 ([url]https://plus.google.com/+ChetKener/posts/YzMJEkzPQgp[/url])
Graphite and Ofast flags
Cortex A15 optimized
selinux permissive
Thats it!! :p
Q&A
Q- Why overclock ?
A - Why not? .. Krait 400 is capable to run at 2.457 Ghz .. acording to me going over 2.457Ghz is overclock ...
Q- Why fast_hotplug and not intelli-plug ? and where can i find fast_hotplug settings ?
A- Well .. ill see if i can include intelli-plug also .. but you can use fast_hotplug for now as it is really fast compare to mp_decesion . i dont noe about any apps but u can control it manually using Root explorer (recommended) go to > sys > module > fast_hotplug (and do whateve u want
Q- how can i boot my phone on defualt freq instead of 2.457Ghz
A- you cant , beacuse i removed 2.105Ghz and replaced it with 2.265Ghz .. so if u want u can boot at 2.265Ghz using Kernel adiutor app (Recommended) and also dont forget to change thermalmanger.xml (found in system/etc ) values (find "control name = cpu" and change first value from 2105400 to 2265600)
Q- Your kernel is draining battery like hell !!! help me
A- i dont care ... unless i found unusual battery drain..
Q- Wow what a waste kernel no governer no i/o sched... other kernels has 10000 governers ... dafuq are u doing OP ?
A- Lol .. there is no need to add many gov and i/o schd as Interactive is best governer and u can tweak it for performance , battery and balaced (search on Xda) and ..
i want to keep my source clean and close to CM12.1 so that i can easily track if there is any issues .. and let me clear one more thing , m not a kernel developer i have 0% knowledge in C+ , 0% knowledge in linux/ubuntu and also very less knowledge related to github so i decided to pick most usefull features (for me atleast ) ..
Q- Can add "abc" or "xyz' features in your kernel ?
A- Well .. because of less knowledge i decided to pick limited features and not to mess with my source ..... but if feature is very usefull then ill surely look in to it and add it (if possible)
Click to expand...
Click to collapse
Here are some sceenshot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download Kernel :
V1 (16-05-2015)
View attachment 3315931
V2 (23-05-2015)
View attachment 3326746
EDIT - forgot to add source
https://github.com/Naitik2015/android_kernel_sony_msm8974
EDIT - forgot to add credit
Special Thanks to below mention ppls (without them it wouldnt possible)
Faux123
DooMLoRD
pec0ra
Myself5
AndroPlus
savoca
Cyanogenmod maintainers
UBERTC Developers
Code:
CHANGELOG
V1
CPU overclock 2.457 Ghz (Phone will boot @ 2.457Ghz)
Voltage adjustment
KCAL advance color control
Fast_hotplug
Faux Sound control
Compile with Linaro GCC 4.9.3
V2
Compile with UBERTC GCC 4.9.3 ([url]https://plus.google.com/+ChetKener/posts/YzMJEkzPQgp[/url])
Graphite and Ofast flags
Cortex A15 optimized
selinux permissive
INSTALL INSTRUCTION
1. Save kernel.zip on your SD card
2. Boot in to recovery
3. Wipe cache and Wipe Dalvik/ART cache.
4. Flash kernel.zip
My Settings -
CPU MIN - 300 Mhz
CPU Max- 2.457 Ghz (2.265 for battery)
Governor - Interactive
I/O sched - RAW
Gov Setting -
go high speed - 80 (90 for battery)
highspeed freq - 2.457 ghz (2.265 for battery)
Timer rate - 20000 (40000 or 30000 for battery)
Sound control
headphone gain (both) - 4
and use Viper4android with megabass IRS (Z-edition)
Hotplug
Fast_hotplug - enable it using Root Explorer
first disable mp_decesion
go to sys > module > fast_hotplug > parameters > open fast_hotplug_enabled in text editor and change value to 1 from 0
KCAL settings -
R- 255
G- 250
B- 245
Saturation - 60 (even 55 is ok )
Screen Value - 105
Screen Contrast - 120
Amazing Job!
I have yet to try this but it looks awesome, this is just the kernel a lot of people have been waiting for. Finally having all these features available in a stock build of cm is a huge step for lollipop, kudos.
My Color Control setup
Red-205
Green-200
Saturation-45
Value-115
Contrast-120
Everything else stays the way It came. I don't know if my cheapo screen guard has any negative influence on the view ability of my screen, but for me this setup provides a dim enough backlight for nighttime use, bright enough for direct sulight. While making colors pop on the screen without unrealistic saturation levels. The blacls also seem deeper and more inky. Just thought I'd share my setup
Great job dev looking forward to trying this out.
@Techpenguin5 Could you tell me what app you're using for colour control
GeoSpaceKing said:
@Techpenguin5 Could you tell me what app you're using for colour control
Click to expand...
Click to collapse
Kernel adiutor or http://forum.xda-developers.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080 (app developed by savoca)
Restarting when changing GPU governor. Also, can you share with us your recommended settings?
Good Kernel
nArdow said:
Restarting when changing GPU governor. Also, can you share with us your recommended settings?
Good Kernel
Click to expand...
Click to collapse
only cpubw_hwmon and simple ondemand causes reboot ... may be bug in CM kernel as i don't touch anything related to GPU.... Settings added in 2nd post ...
Im so glad you people like my Kernel
Thanks
Very thank's for this kernel! <3
I have some questions:
-Installation is only flash .zip in recovery?
-If i install this kernel i lose my data, apps and other?
-It's work on CM12 (5.0.2) or CM12.1 only?
-Why i can OC to 2.457GHz, not to 2.8?
Rygiel98 said:
Very thank's for this kernel! <3
I have some questions:
If i install this kernel i lose my data, apps and other?
It's work on CM12 (5.0.2) or CM12.1 only?
Why i can OC to 2.457GHz, not to 2.8?
Click to expand...
Click to collapse
1. Yes , its flashable using recovery..
2. You wont lose your data unless you choose to wipe your data on recovery ( Install instruction added on 2nd post)
3. Why you are still using CM12 ... my kernel is based on CM12.1 source so technically it wont work on CM12
4. Check my source i had included overclock to 2.8 Ghz and tested on my phone for some days but i found that it isn't stable and ppl will damage there SOC using excessive OC .. the only use of 2.8 Ghz is improve your Benchmark scores ( that too in fridge ) .. so i removed it
Thank's for answers.
naitik2012 said:
3. Why you are still using CM12
Click to expand...
Click to collapse
I must use 5.0.2 because Xposed didn't work on 5.1.1. You don't use this?
Rygiel98 said:
Thank's for answers.
I must use 5.0.2 because Xposed didn't work on 5.1.1. You don't use this?
Click to expand...
Click to collapse
No i don't use Xposed framework .. have you tried this > http://forum.xda-developers.com/xposed/super-alpha-posted-permission-xposed-t3072979
Can' t flash the Kernel..
I use TWRP on latest CM 12.1 nightly
Tried several times..
Any idea?
Sent by XDA Fax
Fast_hotplug - enable it using Root Explorer
first disable mp_decesion
go to sys > module > fast_hotplug > parameters > open fast_hotplug_enabled in text editor and change value to 1 from 0
I don't know it.. I want edit this file but i get error. :/
And next problem is in Antutu i have restart phone.. Why?
Duvel999 said:
Can' t flash the Kernel..
I use TWRP on latest CM 12.1 nightly
Tried several times..
Any idea?
Sent by XDA Fax
Click to expand...
Click to collapse
havn't tried on TWRP ... on CWM its working withour any issue.
Rygiel98 said:
Fast_hotplug - enable it using Root Explorer
first disable mp_decesion
go to sys > module > fast_hotplug > parameters > open fast_hotplug_enabled in text editor and change value to 1 from 0
I don't know it.. I want edit this file but i get error. :/
And next problem is in Antutu i have restart phone.. Why?
Click to expand...
Click to collapse
as i told always use Root explorer to edit system files ...
If Antutu restart at 31% or 35% means voltage issues ... incease voltage of 2.457 Ghz and 2.265 Ghz by 10 if still reboots then keep increasing +5 till you find stable voltage.......
That's strange, that CWM works & TWRP not?
Sent by XDA Fax
as i told always use Root explorer to edit system files ...
I use this file menager and error. :/
This kernel bootloops Euphoria 1.1 Rom.
Nothing else I can say...
What voltage i must set?
Tapped from Sony Xperia Z1. (CM12.1)
Rygiel98 said:
View attachment 3322382
What voltage i must set?
Tapped from Sony Xperia Z1. (CM12.1)
Click to expand...
Click to collapse
Depends on what PVS bin your phone has!
This is mine (PVS4)
Sent from my C6903 using XDA Free mobile app
What is PVS and how i can know what PVS i have?
Tapped from Sony Xperia Z1. (CM12.1)

5/14/2016 || Note 4 (msm 8084) || CPU, TCP, IO, RAM "Tweaks"

Hello from the V10 Forum! This is a mod I created and posted for V10 users, but as various devices use Qualcomm hardware and similar operational conditions, the biggest similarity being Linux , and by some requests from others here to post this, I am offering this modification to other devices as well. It is already thoroughly tested and the logic and rationale behind the conditions are cross compatible with many Linux systems/machines anyways. You should see positive results just as everybody else has.
You must be rooted to apply this mod.
**SEE POST 2 FOR CHANGE LOG**
***VERY IMPORTANT IF YOU ARE GOING TO USE THIS MOD, you need to navigate to the /system/etc folder on your device, and rename any files that exist in that sub-folder that have the words "ZRAM" in them to have a .bak extension rather than a .sh extension so it does not run at boot.
You will also need to navigate to the /system/bin directory with a root explorer and rename the "mpdecision" binary to "0mpdecision.bak" .... The added 0 is just to move it to the top of the list of files so you can find it easily if you need to.
This is a step by step instruction on how to replace the /system/etc/init.qcom.post_boot.sh file for the device. Be it known, however, that this instruction (and file) can be used with any device running the Snapdragon 805 SoC combo.
What does this do?
Simple. It turns your device into an even more efficient powerhouse. Here are is a list of everything done:
-Interactive Governor tuning for performance and better battery life, a quick description of what I did...
-low load, quick response, low frequency
-high load, quick response, higher frequency
-modified input boost settings for Interactive
-Locked cpu cores on - your battery life will not suffer, don't worry.
-Modified a bunch of system permissions to remove samsung garbage from controlling hardware.
-Switched IO scheduler to noop, and tuned accordingly
-Adjusted minfree values (RAM management, it is a little more multi-tasking friendly)
-Adjusted VM parameters - swappiness, dirty ratios, cache pressure, centisec values, etc (again to complement multi-tasking... your data will hang out a little bit more before being written to disk, but house cleaning won't happen all at once, so there is still good performance and your system won't bog down while it is flushing the toilet)
-DISABLED zRAM!!! - I have no idea why a device with 3 GB of RAM has zRAM enabled. This is purely a waste of CPU cycles and other system resources. You want physical memory, not compressed memory.
-Changed congestion algorithm to cubic (better network performance... assuming the network bandwidth is already there
-Cleaned up the shell file and fixed some errors.
-Removed calls to mpdecision
-More to come!
How to do this, we'll just get right to it.
Download this app https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Download this file https://drive.google.com/file/d/0BzM9W6qUvx-gX1I4UDlLV3VIUWM/view?usp=drivesdk
Very important you put the file on the root of your INTERNAL SDCARD!!!
Do not forget to do this.
After you do that, open terminal emulator, and type the following commands in the order they are presented (I would highly recommend just copying them from this post one by one and switching back and forth between your browser and the terminal app):
Code:
su
Code:
cd /
Code:
mount -o remount,rw /system
Code:
cd /system/etc
Code:
rm init.qcom.post_boot.sh
Code:
cd /sdcard
Code:
mv init.qcom.post_boot.sh /system/etc
Code:
chmod 0644 /system/etc/init.qcom.post_boot.sh
Double check the file has been replaced with a file explorer of some sort, double check permissions, then reboot. Good to go.
***CHANGE LOG
5/14/2016
-Modified scaling up activity to be a little less aggressive, this should help battery life quite a bit
-Switched scheduler to cfq and tuned it, huge increases in io throughput - the new cfq should be used for these devices, no comparison in performance to any other
-Moved. above_hispeed_delay module down the pole a bit (moAr batteries)
4/28/2016
-Initial Release
Why does it say ef you bro?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Not4 Mod using Tapatalk
souluneek said:
Why does it say ef you bro?
Sent from my Not4 Mod using Tapatalk
Click to expand...
Click to collapse
Lol. I originally did this for a good friend of mine, I left him a message in the file as a joke - forgot to change it lol.
Interested to see what others results are like. .
Sent from my SM-N910P using Tapatalk
the note 4 has 3gb ram..?
So just copy and paste and hit return after each line in terminal
Edit: i think it worked because my i/o is set to noop now
Sent from my Not4 Mod using Tapatalk
I just did this the old manual way in root explorer. Added .bak to post boot instead of .sh, copied the new post boot to system/etc and changed permissions. Added .bak to mpdecision. No zram files for us to edit. Rebooted. Ran antutu with a 5,000 point increase. With MM I steady got 70,450's and now.
This is great for now until we get some well built custom kernels. All the roms I flashed since I had the note 4 from launch day, and I don't think any devs worked on tweaking the post boot like they used to on the HTC eVo line like I was used to.
Hello only for sprint note 4? Can be used for 910c?
SM-910C EROBOT 13.4 SUEMAX 1.7.8
Can it be use on MM??
Sent from my SM-N920P using XDA-Developers mobile app
To the users above ↑
File can be used on ANY device running the snapdragon 805 processor.
And I fixed the typo about 4 GB of RAM. This device has 3, v10 has 4 (I copied the thread over from the other forum)
Says no such file or directory.?
Sent from my Not4 Mod using Tapatalk
souluneek said:
Says no such file or directory.?
Sent from my Not4 Mod using Tapatalk
Click to expand...
Click to collapse
Our directory is different, this needs to be corrected in the OP. Follow what I did a couple posts up.
]
Where did you find mpdecision in the file i don't see it
Sent from my Not4 Mod using Tapatalk
Death-Dealer said:
Our directory is different, this needs to be corrected in the OP. Follow what I did a couple posts up.
Click to expand...
Click to collapse
Fixed it for you
Well my experience with this is odd. I did what Death-Dealer suggested and I can tell things are working faster/better but my antutu score went down instead of up. As long as I'm happy with the performance I guess it doesn't matter what antutu says.
souluneek said:
]
Where did you find mpdecision in the file i don't see it
Sent from my Not4 Mod using Tapatalk
Click to expand...
Click to collapse
Kernel/Rom combo?
Death-Dealer said:
I just did this the old manual way in root explorer. Added .bak to post boot instead of .sh, copied the new post boot to system/etc and changed permissions. Added .bak to mpdecision. No zram files for us to edit. Rebooted. Ran antutu with a 5,000 point increase. With MM I steady got 70,450's and now.
This is great for now until we get some well built custom kernels. All the roms I flashed since I had the note 4 from launch day, and I don't think any devs worked on tweaking the post boot like they used to on the HTC eVo line like I was used to.
Click to expand...
Click to collapse
Hello, as the title says, wich setup are u using?
liriolebron said:
Hello, as the title says, wich setup are u using?
Click to expand...
Click to collapse
tx's stock deodexed PC1 rom with xposed
New file in the link in the OP, made some pretty drastic improvements for you note 4 guys.
You should see a good bump in performance with no hit to the battery life.
Check the change log in the second post.
I'll be around

5/14/2016 || Note 4 (msm 8084) || CPU, TCP, IO, RAM "Tweaks"

Hello from the V10 Forum! This is a mod I created and posted for V10 users, but as various devices use Qualcomm hardware and similar operational conditions, the biggest similarity being Linux , and by some requests from others here to post this, I am offering this modification to other devices as well. It is already thoroughly tested and the logic and rationale behind the conditions are cross compatible with many Linux systems/machines anyways. You should see positive results just as everybody else has.
You must be rooted to apply this mod.
**SEE POST 2 FOR CHANGE LOG**
***VERY IMPORTANT IF YOU ARE GOING TO USE THIS MOD, you need to navigate to the /system/etc folder on your device, and rename any files that exist in that sub-folder that have the words "ZRAM" in them to have a .bak extension rather than a .sh extension so it does not run at boot.
You will also need to navigate to the /system/bin directory with a root explorer and rename the "mpdecision" binary to "0mpdecision.bak" .... The added 0 is just to move it to the top of the list of files so you can find it easily if you need to.
This is a step by step instruction on how to replace the /system/etc/init.qcom.post_boot.sh file for the device. Be it known, however, that this instruction (and file) can be used with any device running the Snapdragon 805 SoC combo.
What does this do?
Simple. It turns your device into an even more efficient powerhouse. Here are is a list of everything done:
-Interactive Governor tuning for performance and better battery life, a quick description of what I did...
-low load, quick response, low frequency
-high load, quick response, higher frequency
-modified input boost settings for Interactive
-Locked cpu cores on - your battery life will not suffer, don't worry.
-Modified a bunch of system permissions to remove samsung garbage from controlling hardware.
-Tuned the cfq scheduler
-Adjusted minfree values (RAM management, it is a little more multi-tasking friendly)
-Adjusted VM parameters - swappiness, dirty ratios, cache pressure, centisec values, etc (again to complement multi-tasking... your data will hang out a little bit more before being written to disk, but house cleaning won't happen all at once, so there is still good performance and your system won't bog down while it is flushing the toilet)
-DISABLED zRAM!!! - I have no idea why a device with 3 GB of RAM has zRAM enabled. This is purely a waste of CPU cycles and other system resources. You want physical memory, not compressed memory.
-Changed congestion algorithm to cubic (better network performance... assuming the network bandwidth is already there
-Cleaned up the shell file and fixed some errors.
-removed calls to mpdecision
-More to come!
How to do this, we'll just get right to it.
Download this app https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Download this file https://drive.google.com/file/d/0BzM9W6qUvx-gX1I4UDlLV3VIUWM/view?usp=drivesdk
Very important you put the file on the root of your INTERNAL SDCARD!!!
Do not forget to do this.
After you do that, open terminal emulator, and type the following commands in the order they are presented (I would highly recommend just copying them from this post one by one and switching back and forth between your browser and the terminal app):
Code:
su
Code:
cd /
Code:
mount -o remount,rw /system
Code:
cd /system/etc
Code:
rm init.qcom.post_boot.sh
Code:
cd /sdcard
Code:
mv init.qcom.post_boot.sh /system/etc
Code:
chmod 0644 /system/etc/init.qcom.post_boot.sh
Double check the file has been replaced with a file explorer of some sort, double check permissions, then reboot. Good to go.
****CHANGELOG
May 14, 2016
-initial release
Sounds interesting.....would you mind linking to v10 forum so i can read what experiences people are having? Thanks and thanks for your work and time.
Last question (for now ) any reason this wouldn't work with a ported S7 rom?
Edit nvrmd found some threads......reading now
Awesome....something new haha. Thanks bud. I'm currently running Tekhds rom and using Kernel Adiotour with Senthils Nightmare profile and Project Skynet mod......is it a bad idea to try this while using those? Thanks in advance and thanks for your hard work too.
Good info. Thanks.
How effective is this mod on the note 4 n910t
Sent from my SM-N920T using Tapatalk
I'm trying it out now and it seems to be doing a damn noticeable job....on Tek Urv7.4 with Skynet installed. I can't provide data cuz it's only been a few hours but seems legit. Im open to any info on how to test from anyone.
rblckmnjr84 said:
How effective is this mod on the note 4 n910t
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
I'm trying it out now and will report back it a few hours. On a side note, I tried to install it per op instructions multiple times and it refused to work,so I just copied and pasted,fixed permissions and rebooted. Now the nodded init file is where it needs to be.
Sent from my SM-G935F using XDA-Developers mobile app
marseillesw said:
I'm trying it out now and will report back it a few hours. On a side note, I tried to install it per op instructions multiple times and it refused to work,so I just copied and pasted,fixed permissions and rebooted. Now the nodded init file is where it needs to be.
Sent from my SM-G935F using XDA-Developers mobile app
Click to expand...
Click to collapse
OK cool report back to let me knw how things are
Sent from my SM-N920T using Tapatalk
I'm running RR 5.6.8 on Marshmallow and I'm not seeing any of the files you listed on my phone. No ZRAM files, no mpdecision, and there isn't a init.qcom.post_boot.sh already on the phone. I went through the steps any way just to see if it would do anything and it all worked successfully, but I can't really comment on any performance gains. Is this a Kitkat/Lollipop only mod? Perhaps MM got away from the same file that this is intended to tweak?
Thanks for your help either way. Looking forward to trying it again when I have a rom it's intended for.
Joebroni said:
I'm running RR 5.6.8 on Marshmallow and I'm not seeing any of the files you listed on my phone. No ZRAM files, no mpdecision, and there isn't a init.qcom.post_boot.sh already on the phone. I went through the steps any way just to see if it would do anything and it all worked successfully, but I can't really comment on any performance gains. Is this a Kitkat/Lollipop only mod? Perhaps MM got away from the same file that this is intended to tweak?
Thanks for your help either way. Looking forward to trying it again when I have a rom it's intended for.
Click to expand...
Click to collapse
The file is there. Look in system/etc and scroll down to it.
Sent from my SM-G935F using XDA-Developers mobile app
How's it going for everyone?
So I went to edit the file to change the SD readahead value to 2048 and was greeted by a commented out "F*ck you bro" at the top of the file. Is this really the way we act on XDA now? Apparentry sadly...
necromnicon said:
So I went to edit the file to change the SD readahead value to 2048 and was greeted by a commented out "F*ck you bro" at the top of the file. Is this really the way we act on XDA now? Apparentry sadly...
Click to expand...
Click to collapse
Screens hot? If that is true, that's funny
Sent from my SM-A710F using XDA-Developers mobile app
I saw in the original thread someone post the same thing....dev explained he accidentally left that in....and that it was originally intended for his buddy.....not sure why he hasn't cleaned out the text yet though..
louforgiveno said:
I saw in the original thread someone post the same thing....dev explained he accidentally left that in....and that it was originally intended for his buddy.....not sure why he hasn't cleaned out the text yet though..
Click to expand...
Click to collapse
Can u plz post the link for the original thread?
Sent from my SM-G935F using XDA-Developers mobile app
necromnicon said:
So I went to edit the file to change the SD readahead value to 2048 and was greeted by a commented out "F*ck you bro" at the top of the file. Is this really the way we act on XDA now? Apparentry sadly...
Click to expand...
Click to collapse
Is this the value to edit to change read ahead?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SM-A710F using XDA-Developers mobile app
Duplicate. Tapatalk bug
ctrlaltdeln said:
Duplicate. Tapatalk bug
Click to expand...
Click to collapse
Yes that's the one
Sent from my SM-G935F using XDA-Developers mobile app
Yes that is the value for internal SD. If you scroll down you will find the one for external SD. It is set to 1024 in the file. I set mine to 2048 as it provides better performance with my SD caRd

Categories

Resources