[TWEAKS][SCRIPT] Init.d script to change governor and scheduler - Samsung Galaxy W I8150

Hey guys, not sure if I should be posting this in this section, but I'm not certain that is dev issue too and even if it I can't post in dev section yet. What I want to say is: if it is in the wrong section, please, move it ^^
I'm posting this for those who is seeking improvement in performance and battery saving just using tweaks in governors.
Q:What did I do?
A: I just made a init.d script with some tweaks that I wanted.
Q:What was your objective?
A: I wanted to save some battery and not lose performance. I wanted much?
Q:Where did get that from?
A: All credits to droidphile. His guide that helped me. If you want to make your own script for your favorite governor and i/o scheduler, look at his guide in http://forum.xda-developers.com/showthread.php?t=1369817
Explanations:
What I did was take droidphile tips and mod it a little bit. In his guide and explanations, he gave two types : battery friendly and for perfomance. A just merged one and other and made one that don't lost much perfomance neither sacrificies much battery. I'm ver happy with the result.
The script is in appendix. To use the file, rename without .pdf format
Explanations:
The governor in use is ondemand. I'm using arco68 CM9 for our SWG and waiting for CM10. Unhappily, I don't have enough experience to help debug CM10 and help the beta release come faster. The best I can do in the momment is wait. And I'm using supercharger V6 RC10, by zeppenlinrox.
Some tips if you want to make your on script:
- If you're using Windows, use Notepad++ to write it. You've to set up it in ANSI code (in format). Also go to edit>end line conversion>UNIX.
- Before you save, check every line and don't leave any left space, just to be sure that the script will be read right.
- Save with no format. No ".txt", no ".sh", no nothing.
- Follow to the letter droidphile steps.
That's it
*******************05/fev/2013*********************************************
Hey guys, I discovered that my attachment didn't work properly. So I made the right changes and now every line on the script run alright. Recently, I flashed another kernel (I'm using arco68 CM9 for i8150) because I wanted some new features such better governors and SIO scheduler. This kernel can be found in http://forum.xda-developers.com/showthread.php?t=1855557, credits to forfivo for it
And after flashed forfivo kernel, I made some changes and scaled my governor as ondemandx, so I'll attach this file here too. If someone want to flash his kernel too, try v2 because I think that v3 is still instable.

Related

DroidX CPU Governors and SIO Kernel Scheduler V2.2

UPDATE 2015\08\01 ICS & JB Patch
Since ICS and JB contain boosted (modified boostedass) and sio by default now, I made a cwm zip to patch the default values of boosted and sio's correct values (they're for cfs in CM9\10). This is not for CM7 and won't work with it.*
Link to Post
UPDATE 2015\05\16 DroidXGovernorsV2.2
Removed blank bootmenu folder
Cleaned up init script, removed unsupported lines, added supported lines
Included SD Card Cache Tweak with 2048 value, to match io tweaks
**The lines weren't supported on Bravo Froyo Kernel, added new lines from /sys/block/mmcblk0/queue/iosched**
**If the removed lines are supported on GB Kernel, let me know and I'll make a zip for each kernel.**
**Just remove the last 2 lines of the init script if you don't want\need the SD Cache Tweak**
UPDATE 2015\05\15 DroidXGovernorsV2.1
Screenshots showing battery savings and usage
Fixed dumb script error
UPDATE 2015\05\15 DroidXGovernorsV2
Removed Undervolted Cpu Clocks -- Gave problems for Defy+ useres on GB kernel
SIO IO Scheduler now properly loads -- No market app needed now.
This CWM compatible zip will install the DroidX smartassv2 and BOOSTEDassV2 cpu governors as well as the SIO Kernel Scheduler. While I've only tested this on CM9, it should work on ANY rom with init.d support and Defy 2nd-init Bootmenu....meaning all CM7\9 and Miui roms. I'm unsure if MS2Ginger and Stock Froyo have init.d support. It also undervolts the rom to [email protected], [email protected], and [email protected] Those values work fine with CM9 on my phone, meaning no fc's due from being too undervolted.
To install, simply flash the zip in cwn and you're done. Wiping Cache and Dalvik Cache isn't necessary.
To use the Governors, select the governor in the CM Performance Menu and select apply on boot, or use a CPU Governor program from the market. I recommend No Frills CPU Control --- its free, no ads, no bs permissions, and you can select the io scheduler.
To use the SIO Kernel Scheduler, install No Frills Cpu Control from the market and select SIO (or noop) from the bottom menu.
I haven't used SIO very much (5-10 mins now), but it seems to be working well. The noop scheduler works great, and is what I normally use; but I've always read good things about SIO (and wanted to use it), so I thought I'd include it as well.
I'd give thanks to the authors of the Governors and Schedulers, but I have no idea who wrote them....I only found them in Beanstown106's DroidX Miui V4 rom and they happen to work wonderfully on the Bravo.
UPDATE Post
SimpleOverclock
An alternative to No Frills CPU Control with profile support, apply on boot, io changer, governor changer, & more features to come. Probably going to be my new overclock app, need to test for more than a few minutes.
My Little Experiment
I uploaded the governors here for the Bravo, and to Mediafire for the Defy. In the first 2 hours of posting -- 6 Bravo downloads to 45 Defy Downloads (and a page full of posts). Not very surprising, but interesting none-the-less.
*CM7 - The modules for boosted and sio aren't included with this patch making it useless for CM7. I've already released a patched CM7 with this in my Kang thread.
skeevy420 said:
UPDATE 2015\05\15 DroidXGovernorsV2
Removed Undervolted Cpu Clocks -- Gave problems for Defy+ useres on GB kernel
SIO IO Scheduler now properly loads -- No market app needed now.
Download DroidXGovernorsV2.zip
This CWM compatible zip will install the DroidX smartassv2 and BOOSTEDassV2 cpu governors as well as the SIO Kernel Scheduler. While I've only tested this on CM9, it should work on ANY rom with init.d support and Defy 2nd-init Bootmenu....meaning all CM7\9 and Miui roms. I'm unsure if MS2Ginger and Stock Froyo have init.d support. It also undervolts the rom to [email protected], [email protected], and [email protected] Those values work fine with CM9 on my phone, meaning no fc's due from being too undervolted.
To install, simply flash the zip in cwn and you're done. Wiping Cache and Dalvik Cache isn't necessary.
To use the Governors, select the governor in the CM Performance Menu and select apply on boot, or use a CPU Governor program from the market. I recommend No Frills CPU Control --- its free, no ads, no bs permissions, and you can select the io scheduler.
To use the SIO Kernel Scheduler, install No Frills Cpu Control from the market and select SIO (or noop) from the bottom menu.
I haven't used SIO very much (5-10 mins now), but it seems to be working well. The noop scheduler works great, and is what I normally use; but I've always read good things about SIO (and wanted to use it), so I thought I'd include it as well.
I'd give thanks to the authors of the Governors and Schedulers, but I have no idea who wrote them....I only found them in Beanstown106's DroidX Miui V4 rom and they happen to work wonderfully on the Bravo.
UPDATE Post
SimpleOverclock
An alternative to No Frills CPU Control with profile support, apply on boot, io changer, governor changer, & more features to come. Probably going to be my new overclock app, need to test for more than a few minutes.
My Little Experiment
I uploaded the governors here for the Bravo, and to Mediafire for the Defy. In the first 2 hours of posting -- 6 Bravo downloads to 45 Defy Downloads (and a page full of posts). Not very surprising, but interesting none-the-less.
Click to expand...
Click to collapse
wow you are amazing skeevy420 to try.....
mataflakitas said:
wow you are amazing skeevy420 to try.....
Click to expand...
Click to collapse
Don't use the V2, I uploaded the wrong file. Its fixed now with 2.1 attached to the first post.
skeevy420 said:
Don't use the V2, I uploaded the wrong file. Its fixed now with 2.1 attached to the first post.
Click to expand...
Click to collapse
Ok your best friend I hope I will not have problems updating....
mataflakitas said:
Ok your best friend I hope I will not have problems updating....
Click to expand...
Click to collapse
You won't. The script crapped out on the first command.....I left in a single space and forgot to put () around the code. It was fixed on my phone when I tested it, but I uploaded my pc's first copy (which was bad) by mistake.
skeevy420 said:
You won't. The script crapped out on the first command.....I left in a single space and forgot to put () around the code. It was fixed on my phone when I tested it, but I uploaded my pc's first copy (which was bad) by mistake.
Click to expand...
Click to collapse
Ok best friend did not move to my device I am a newbie and do not want to damage it ....
skeevy420 friend buy my wife a cell phone is locked you can help me unlock it, now I live in mexico the phone is a Samsung 4G Exhibit II, or I can assign any web page that does not cost
mataflakitas said:
Ok best friend did not move to my device I am a newbie and do not want to damage it ....
It won't damage it. In fact, you'll get really good battery with it. I really recommend using this.
skeevy420 friend buy my wife a cell phone is locked you can help me unlock it, now I live in mexico the phone is a Samsung 4G Exhibit II, or I can assign any web page that does not cost
Click to expand...
Click to collapse
If it requires calling ATT then no, I don't have the account's password.
skeevy420 said:
If it requires calling ATT then no, I don't have the account's password.
Click to expand...
Click to collapse
skeevy420 the company's phone is T-MOBILE
You know someone from that company
mataflakitas said:
skeevy420 the company's phone is T-MOBILE
You know someone from that company
Click to expand...
Click to collapse
No, only Verizon. But she's my friend's wife and a total ***** who wouldn't help.
skeevy420 said:
No, only Verizon. But she's my friend's wife and a total ***** who wouldn't help.
Click to expand...
Click to collapse
jajaja do not worry I hope to find someone who can help me...
I figured that I'd let you all know that Epsylon3 is going to add BOOSTEDassV2 (boosted) to the bootmenu, and its already supported with his Touch Recovery. No eta on anything, but its good news.
I'm loving the BOOSTEDassV2 governor! I have my voltages a bit high right now and I'm still getting great battery life with the really slick scaling. Thanks a ton for these!
sdrawkcab3 said:
I'm loving the BOOSTEDassV2 governor! I have my voltages a bit high right now and I'm still getting great battery life with the really slick scaling. Thanks a ton for these!
Click to expand...
Click to collapse
Me too. I was using them for about a week before I released them. I didn't realize how good they were until I installed CM9 2012\05\12 without them and used conservative. Boosetdass stock runs more efficient and smoother than a heavily tweaked conservative (which I usually get good results with).
I'm just glad that they picked up support from Epsylon3.
I'm currently working on an init script to tweak the BOOSTEDassV2 and smartassv2 settings like the other governors have in the bootmenu. Placing them in 04govandio causes boot to freeze, so I'm gonna make a 98govloader (pick governor) 99asstweaker (tweak smart\boosted) and go from there.
While Epsy is adding them into the bootmenu, there's no telling when Quarx will merge in those changes and provide a new build with them. Besides, its nice having a script that's easy to edit.
skeevy420 said:
Me too. I was using them for about a week before I released them. I didn't realize how good they were until I installed CM9 2012\05\12 without them and used conservative. Boosetdass stock runs more efficient and smoother than a heavily tweaked conservative (which I usually get good results with).
I'm just glad that they picked up support from Epsylon3.
I'm currently working on an init script to tweak the BOOSTEDassV2 and smartassv2 settings like the other governors have in the bootmenu. Placing them in 04govandio causes boot to freeze, so I'm gonna make a 98govloader (pick governor) 99asstweaker (tweak smart\boosted) and go from there.
While Epsy is adding them into the bootmenu, there's no telling when Quarx will merge in those changes and provide a new build with them. Besides, its nice having a script that's easy to edit.
Click to expand...
Click to collapse
skeevy420 wow I have really wanted to try that on my motorola bravo....
New version up.
Removed blank bootmenu folder--caused Touch Recovery issues
Cleaned up init script to almost match Epsylon3's new overclock script
Removed unsupported lines from init script
Added all Bravo SIO commands into init script
Added SD Card Cache Tweak
skeevy420 said:
New version up.
Removed blank bootmenu folder--caused Touch Recovery issues
Cleaned up init script to almost match Epsylon3's new overclock script
Removed unsupported lines from init script
Added all Bravo SIO commands into init script
Added SD Card Cache Tweak
Click to expand...
Click to collapse
skeevy420 which I recommend you smartassv2 governor or BOOSTEDassV2 ...?
mataflakitas said:
skeevy420 which I recommend you smartassv2 governor or BOOSTEDassV2 ...?
Click to expand...
Click to collapse
BOOSTEDassV2
On another note -- I managed to fully compile Patchrom MIUI v4 with Quarx CM9 2012\05\12, but ALL MIUI apps force close. It does fully boot, but it doesn't work....Damn I wish I knew just a bit more about coding.
skeevy420 said:
BOOSTEDassV2
On another note -- I managed to fully compile Patchrom MIUI v4 with Quarx CM9 2012\05\12, but ALL MIUI apps force close. It does fully boot, but it doesn't work....Damn I wish I knew just a bit more about coding.
Click to expand...
Click to collapse
We skeevy420 sure that you can not ask for help to master wajik
mataflakitas said:
We skeevy420 sure that you can not ask for help to master wajik
Click to expand...
Click to collapse
I sent him a few PM's with no response back; same with Quarx, but not about MIUI.
skeevy420 said:
I sent him a few PM's with no response back; same with Quarx, but not about MIUI.
Click to expand...
Click to collapse
skeevy420 no longer carries the [ROM] [MIUI] Pikachu Edition 2.4.20b * Rom For Lovers *
because....

[MOD] Trickster MOD [2012-07-09]

Introducing Trickster MOD, bringing Trickster experience to virtually every ROM out there.
Users using Trickster ROM 1.2.1 or newer can use this MOD to update
This CWM zip include the binaries and scripts I used for optimization in Trickster ROM. What it can do/set:
- Zipalign and sqlite DB optimization at boot
- Some android properties tweaks with mobile network speed tweak
- Screen state optimization for kernel task scheduler and virtual memory management (ch33kybutt)
- Set I/O scheduler, read ahead buffer, CPU scaling governor, min and max CPU speed
Following features are dependent on kernel features:
- Color (applied by default), contrast and gamma tweaks
- Generic hotplug
- CPU Temp limit
- Minimal SmartReflex voltage of Core, IVA, and MPU domains
- Nominal SmartReflex voltage for Core, IVA, and MPU domains
- Regulator voltages
- GLaDOS live OC of Core, GPU and MPU
- WIFI mode for screen off (power saving or full speed)
- Vibrator strength
- Headset volume boost
- High performance sound
- Force fast charge
- Battery live extender
- Touch wake and touch wake duration
- fsync control
Download
Trickster MOD 20120709
Control App​
Changelogs
Requirements:
- CWM
- Someone who understands instructions below​
Installation/Update instructions:
- Reboot to CWM recovery
- Do a nandroid if you're scared (recommended in case you have problem)
- Install zip from sdcard
- Reboot the phone
- If you see /sdcard/trickster directory with configuration files inside then this mod installed successfully​
Usage:
By default Trickster color, some android property regarding UI smoothness and mobile data speed tweaks and screen state optimization are applied. If you want to change additional settings then either use the app or :
- Go to /sdcard/trickster directory, you'll see at most four following configuration files, depending on kernel features:
. color.conf: color related tweak
. general.conf: generic tweaks like zipalign, sqlite, and screenstate optimization
. kern_general.conf: generic kernel tweaks like CPU speed, governor, IO scheduler and readahead buffer
. kern_specific.conf: specific kernel features like sound control, WIFI power, fast charge...​ - Edit any above file to change the settings you want using app like ES Explorer, Root Explorer..., instructions included inside
- Settings are automatically applied when user saves any of these files
- Some changes require restarting your phone
- To check log to see if it works use "logcat|grep Trickster" from adb/terminal​
Reinstall boot service, Reset settings, Removal instructions:
- If you install a new kernel that includes ramdisk (boot.img format like franco or leanKernel), you can either reinstall Trickster MOD, run "tricks install" from adb root shell or terminal, or apply this CWM zip from recovery.
- You can delete a configuration file, files, or entire /sdcard/trickster directory to reset to default settings for a file, files or all configuration respectively
- If you mess up and can't boot, say aggressive OC/UV , use this CWM zip to reset
- If you want to uninstall, use this CWM zip​
Credits:
- Google
- Our great kernel devs
- chainfire for SuperSU and su
- stericson for busybox
- ch33kybutt's for his brilliant idea on screen state optimizations
- Beta testers for your dedication in testing this
- nexus.prime for his unintallation script
- phone_user for init.d CWM zip
- Anyone I learnt from
Disclaimer: This is provided with NO GUARANTY whatsoever. Use your common sense.
Beta test: If you want to test my stuffs, including other things beside this. Contact me through PM.
First
Thanks for this! Downloading now
Sent from my Galaxy Nexus using XDA
tanner4137 said:
First
Thanks for this! Downloading now
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
DERP!
Looks great! @OP, I remember your contributions in Franco's thread. Will any of these modifications conflict with his setup?
Cheers,
mazubo said:
Looks great! @OP, I remember your contributions in Franco's thread. Will any of these modifications conflict with his setup?
Cheers,
Click to expand...
Click to collapse
No, it won't. This is supposed to be a unification for all the stuffs that one can unite on the GNex. I will try to create an app to do this along side of improving this script in the future.
TBH with the recent CM episode I felt this is needed even more, screw them all. My script or app won't include things that won't work with CM like what they did, I assure you.
bigeyes0x0 said:
No, it won't. This is supposed to be a unification for all the stuffs that one can unite on the GNex. I will try to create an app to do this along side of improving this script in the future.
TBH with the recent CM episode I felt this is needed even more, screw them all. My script or app won't include things that won't work with CM like what they did, I assure you.
Click to expand...
Click to collapse
Awesome, thank you! I'm currently running paranoid android which is cm9 base.
I'll report back!
bigeyes0x0 said:
...
This is supposed to be a unification for all the stuffs that one can unite on the GNex. I will try to create an app to do this along side of improving this script in the future.
...
Click to expand...
Click to collapse
Cooool!
---------- Post added at 02:39 PM ---------- Previous post was at 02:14 PM ----------
Hi bigeyes0x0
Air kernel V1.3 changed many things
http://forum.xda-developers.com/showpost.php?p=26318191&postcount=3
Woooow, Thank you !!
nexus.prime said:
Hi bigeyes0x0
Air kernel V1.3 changed many things
http://forum.xda-developers.com/showpost.php?p=26318191&postcount=3
Click to expand...
Click to collapse
It's fine, the mod is already written in a way that it can handle update like this with ease. If there's actually a new sysfs that isn't exist anywhere else, I will add it if I deem it necessary. If that were not the case I would be in for maintenance hell for every kernel of every dev's update .
r_data said:
Woooow, Thank you !!
Click to expand...
Click to collapse
You're welcome. I actually wanted to get into kernel dev before but it seems like destiny is a ***** and I am stuck with these, as I am not going able to find enough time to care for my ROM, this mod, the app that I wanted to create and a kernel to add to these. Ranting aside, I'm fine with how things are .
Where is trickster.conf?
Don't understand, I installed the zip, but no trickster.conf appeared in /sdcard...
Ok, probably a dumb question,
But can these literally be used on ANY rom?
Or at least any ICS rom?
For example, would this be useful on a moto atrix running ICS? (CM9 based)
There a few ICS roms for the atrix floating around and I just wanna know if I should share this thread with some of the devs over there?
I do have a G-nex that ive been able to play with over the last couple days, and its sweet! If I flash this mod, are there any noticeable changes right off the bat, or just after imputing a command through terminal?
Thanks, and nice job
sperug said:
Don't understand, I installed the zip, but no trickster.conf appeared in /sdcard...
Click to expand...
Click to collapse
Your ROM does not have init.d function, I think
forum.xda-developers.com/showpost.php?p=21232559&postcount=2
Sent from my Galaxy Nexus
Will this work without a custom rom, 4.04 boot unlocked with root and custom kernel?
Sent from my BlackBerry 9700 using Tapatalk
ATRIXXIRTA said:
Ok, probably a dumb question,
But can these literally be used on ANY rom?
Or at least any ICS rom?
For example, would this be useful on a moto atrix running ICS? (CM9 based)
There a few ICS roms for the atrix floating around and I just wanna know if I should share this thread with some of the devs over there?
I do have a G-nex that ive been able to play with over the last couple days, and its sweet! If I flash this mod, are there any noticeable changes right off the bat, or just after imputing a command through terminal?
Thanks, and nice job
Click to expand...
Click to collapse
Theoretically, it should work anywhere with an ARMv7 CPU and Android 2.3 or higher but this has been tested only on GNex varieties by me and my testers. Still as I wrote this for GNex kernels, this script of course can't change kernel features that this script does not have. Basically I think it should work but with limited functionality, to be sure just nandroid first before applying it. Still I do not support this in anyway so don't come crying to me later if anything happens and I won't answer question regarding this script and other devices further. I do believe it has some values for any device out there, but it needs ppl with some knowledge to tweak it.
EVERED78 said:
Will this work without a custom rom, 4.04 boot unlocked with root and custom kernel?
Sent from my BlackBerry 9700 using Tapatalk
Click to expand...
Click to collapse
Yeah, it should.
nexus.prime said:
Your ROM does not have init.d function, I think
forum.xda-developers.com/showpost.php?p=21232559&postcount=2
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Thanks for this, I will add this info in the first post.
any pics?
There's no pic for this, it's for tweaking and enhance ROM usability, battery life and performance.
ds4 said:
any pics?
Click to expand...
Click to collapse
Rotflmao. Apparently some people have alot to learn.
Sent from my i9250 (GSM) Galaxy Nexus
Anyone tried it on AOKP b37? Any noticeable improvement?
eRajesh said:
Anyone tried it on AOKP b37? Any noticeable improvement?
Click to expand...
Click to collapse
Don't work for me... Lost navbar and notification bar..
Sent from my Galaxy Nexus using XDA
Works lovely on Liquid 1.4
Sent from my i9250 (GSM) Galaxy Nexus

[KERNEL] Hushi Kernel - Virtuous Kernel with more governors and so..

Hi everybody. First of all I'm not developer. I just compile the latest 3.0.50 Virtuous Kernel with smartassV2 and lazy governors for myself but I decide to share it. I was really surprised when I saw only vanilla governors without the new modern and fancy smartass, lagfree, interactivex etc. On my old G1 smartassV2 give really good improve.
If someone doesnt know what are the governors in kernel - please read here.
If somebody wants to test it I will appreciate a lot some feedback. If the result from test isn't so satisfying I will pimp a bit the governor for more battery friendly settings.
My final idea is to pull the kernel with more from the good governors lagree, interactiveX and maybe Intellidemand and then to make pull request. I'm open for feedback and suggestions before commiting the changes.
Install:
Download kernel_with_governors.zip for sense roms and place it on sdcard. Flash into recovery. It's all! Enjoy of your new governors.
Change the covernor:
I recommend for changing the governors using of No-frills CPU Control , AnTuTu CPU Master (both of apps allow scheduler changing) or SetCPU ( search in forum for free version or donate in the market )
Setup:
I feel best performance with smartassV2 governor and deadline scheduler!
My Sources
My GitHUB
update 01.10:
Kernel code name "Hushi" - this kernel deserve some name
Implement DMA Buf - the biggest change in this release. More about Buffer Management
A lot of patches - For more info checkout my github
update 15.08:
Switch to SLOB allocator instead of SLAB
Used latest CB toolchain
update 30.06:
Added force fast charge patch!
notes to get it working :
1 Install Fast Charge app /it is free/
2. The most important - toggle fast charge on and then plug the pc cable otherwise fast charging don't work! /don't be noob like me/
update 24.06:
Added Row Scheduler
Added FIFO Scheduler
update 08.03:
Updated cpu frequency
Added patch to allow lower wifi signals
update 13.01:
Added Lionheart governor
Added interactiveX governor
Added patch for enable swaptoken only when swap is full
Build with CB toolchain instead of linaro
update 12.01:
SmartassV2 governor is set to be default instead ondemand
Added lagfree governor
Enabled BFQ scheduler by request
Added Patch for release swapcache more aggressively
Reboot phone 5 sec after update the kernel
Thanks to:
Linus Torvalds
Virtous Team
yozgatg
-ck
Linaro Team
Sourcery CodeBench
ps I get the kernel sources from yozgatg's git if somebody know more recent repository please to tell me.
ps2 Please have in mind - the zip isn't signed.
hey thanks for the added governors, in the gen y visionx r3 thread qriozum posted a compiled kernel that was v3.0.56.1 post #1489 you could probably ask him where his git is. also if you could, it would be nice to see a kernel with 2 way call recording, as i have heard that its easy to implement in the kernel.. but thanks for this.
btw, just saw that in his sig he has 3.0.57, also check his post history.
also, if you could include the new bfq scheduler and allow the minimum clock speed to be set to 128mhz, that'd be great. thanks!
pyrorob said:
hey thanks for the added governors, in the gen y visionx r3 thread qriozum posted a compiled kernel that was v3.0.56.1 post #1489 you could probably ask him where his git is. also if you could, it would be nice to see a kernel with 2 way call recording, as i have heard that its easy to implement in the kernel.. but thanks for this.
btw, just saw that in his sig he has 3.0.57, also check his post history.
also, if you could include the new bfq scheduler and allow the minimum clock speed to be set to 128mhz, that'd be great. thanks!
Click to expand...
Click to collapse
Thanks for reply. I will ask qriozum for the newer sources For the scheduler I don’t think the bfq is good chose because noop and deadline are more battery frendly than it, or if you use swap cfq work better with swap defragmentation For minimum clock speed I must research more if this is possible Thanks again.
Thanks for making this
Is this kernel flashable on aokp vision milestone 6 (ICS 4.0.4) since it has 2.6.35.14 kernel?
Thanks
ilbeppez said:
Thanks for making this
Is this kernel flashable on aokp vision milestone 6 (ICS 4.0.4) since it has 2.6.35.14 kernel?
Thanks
Click to expand...
Click to collapse
I thins so. I use gen y visionx r3 (ICS 4.0.4). Try it but make backup before flash just in case
Thanks, have this kernel running with viperZ rom. It respons very wel, seems more stable. Will test for some days
ineedone said:
Thanks, have this kernel running with viperZ rom. It respons very wel, seems more stable. Will test for some days
Click to expand...
Click to collapse
Great, I don’t have really good experience with viperZ rom. For me was a bit slow and laggy I planning to improve few options tonight for more performance but first I will test them.
I don't know if Virtuous Kernel maybe it's only for Sense based roms and not AOSP like cyanogen / aokp..
someone already tried this on other aosp roms?
ilbeppez said:
I don't know if Virtuous Kernel maybe it's only for Sense based roms and not AOSP like cyanogen / aokp..
someone already tried this on other aosp roms?
Click to expand...
Click to collapse
I dont think so. But if you are disturbed about it the safest way is to do backup in the recovery and if something goes wrong just restore the backup I rarely test new roms but before flash every time I make fresh backup of my current rom if I dont like the new one restoring is easy
there are big differences between sense-kernel and aosp-kernel... shouldn't work without trouble!
alexinc said:
there are big differences between sense-kernel and aosp-kernel... shouldn't work without trouble!
Click to expand...
Click to collapse
Huh sad news in this case. Can you give me something to see more about those differences?
Neo2SHYAlien said:
planning to improve few options tonight for more performance but first I will test them.
Click to expand...
Click to collapse
Lookin forward to it. Can you tell me what tweaks you've used?
I've not yet supercharged it , do you think this is a good idea, give improvement? Will try anyway just want your opinion
ineedone said:
Lookin forward to it. Can you tell me what tweaks you've used?
I've not yet supercharged it , do you think this is a good idea, give improvement? Will try anyway just want your opinion
Click to expand...
Click to collapse
Fo sho big :good: for supercharging. I use it from very log time About the improvements are only kernel related - first i will remove some unnecessary options like himem support( it's needed for system with 4G and more ram ) and some formats this will decrease a bit size and boot time(aron few ms), also I will play with CONFIG_HZ value and enabling of sysvipc, cgroups and bfq scheduler too
Beastmode mod kernel
Here is the github for beastmode mod kernel :
https://github.com/thachtunganh/beastmode-1.5/
Try compiling it for vision.
Updates and so...
Updated version with lagfree governor, BFQ scheduler and patch for Patch for release swapcache more aggressively is available.
For next version i plan to add ck's Brain **** Scheduler (BFS), interactiveX governor and some ck's memory and swap management patches.
All feedbacks and suggestions are welcome!
ajhavery said:
Here is the github for beastmode mod kernel :
https://github.com/thachtunganh/beastmode-1.5/
Try compiling it for vision.
Click to expand...
Click to collapse
I will try but right now I don't have enough time for solving drivers issues ( actually I'm weak kernel dev ). Thanks for source.
There is also a thread for the Beast Mode Kernel in DHD section, seems to be very interesting. Might help as well.
http://forum.xda-developers.com/showthread.php?t=2049368
[KERNEL][GPL][3.0.y][Beast Mode MOD][v0.4][30/12/2012]
Sent from my HTC Desire Z using xda app-developers app
olobex said:
There is also a thread for the Beast Mode Kernel in DHD section, seems to be very interesting. Might help as well.
http://forum.xda-developers.com/showthread.php?t=2049368
[KERNEL][GPL][3.0.y][Beast Mode MOD][v0.4][30/12/2012]
Sent from my HTC Desire Z using xda app-developers app
Click to expand...
Click to collapse
Thanks. Yes in quick view I saw a lot interesting things, later will dig more deep in the thread.
I just flashed this kernel on my DZ with aokp,
booted and restarted like the description,
testing it right now
ok data / phone works,
wifi is not activable, not working at all
I'll remove the battery and reboot.
edit nothing to do, still not working,
the toggle in notification bar is grey out and i'm having now the text scrambled on all icons.
I'm restoring
I think it's because this kernel is for sense based roms.
Maybe you sould try to compile this from cyanogen : http://forum.xda-developers.com/showthread.php?t=1492461
source here : https://github.com/jerl92/htc7x30-3.0
thanks
Can this kernel work with virtuous sense 2.0 gb??
Sent from my HTC Vision using xda app-developers app
ilbeppez said:
I just flashed this kernel on my DZ with aokp,
booted and restarted like the description,
testing it right now
ok data / phone works,
wifi is not activable, not working at all
I'll remove the battery and reboot.
edit nothing to do, still not working,
the toggle in notification bar is grey out and i'm having now the text scrambled on all icons.
I'm restoring
I think it's because this kernel is for sense based roms.
Maybe you sould try to compile this from cyanogen : http://forum.xda-developers.com/showthread.php?t=1492461
source here : https://github.com/jerl92/htc7x30-3.0
thanks
Click to expand...
Click to collapse
Sad news but will be easy to add all modifications to jerl92's repo. Expect soon version and for aokp Can I ask you for your /proc/config.gz file?? I have need to see compilation options for this kernel maybe and the are different too.
Steven How said:
Can this kernel work with virtuous sense 2.0 gb??
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
I don't think so. This is kernel for ICS. If you want test with backup and feedback, but I expect issues with GB roms

[KERNEL][AOSP 4.4.x][2GHz/1.89 GHz] UBER 4.1 | LINARO 4.7.4

Hey Everyone,
I'm by no means a pro at kernel building but I've put lots of effort into these kernels so I thought I'd share them with you. The Uber kernel will always be updated to the latest Kernel version and will be overclocked to 1890 MHz or 1998 GHz (2 GHz) you decide which option you are willing to do. Unlike some of the other T-mobile Galaxy S II Hercules developers out there, I actually have a Galaxy S II and plan on having it until Summer 2014. This means that EVERY KERNEL I POST HAS BEEN TESTED AND IS WORKING although it might not be perfect (few things in life ever are).
Even though I don't post anything unless it works I still don't want to be liable for user errors. In other words, if you flash one of these Kernels your warranty is void and I AM NOT RESPONSIBLE for any data loss or bricked devices etc. ​A Clean install is ALWAYS recommended. That does not necessarily mean you can't install these kernels on you current build it just means that you might have problems if you do. Recently apps have been getting corrupted for whatever reason whether on Stock or AOSP and in most cases they cause RRs and SODs. If you find yourself in one of those situations a clean install is the easiest fix. If you want to try and save you apps then connect to you phone while in recovery using adb. Then type adb shell. Now once you are in that shell you can run this command to fix your apps "e2fsck -yfDC0 /dev/block/mmcblk0p25" it could take anywhere from a few minutes to an hour depending on the state of your apps.
​
[AOSP 4.4.x UBER KERNEL LINK]
UBER 4.1 - 1.89 GHz RELEASE for AOSP 4.4 KitKat
UBER 4.1 - 2 GHz RELEASE for AOSP 4.4 KitKat​
​
All old Kernels can be found on Dev Host via this link (be careful you read file names and descriptions carefully if you choose to take a peek around) http://d-h.st/users/Cl3Kener/​
Installation Instructions
**** IMPORTANT!!! USE TWRP 2.6.1.0+ for 4.4 kernels!!! Failure to do so may result in bootloops due to changes made to TWRP to accommodate SELinux in 4.4 ROMs (Links include flashable TWRP installation zips credits to meekrawb. Just flash them in your current recovery! ) ****
1. For best results a install these kernel after a fresh ROM install (although it still should work if you don't do that)
2. Reboot into recovery (MAKE SURE YOU USE THE RIGHT ONE!!! (See red print above))
3. Flash Kernel Zip
4. Reboot and let Settle for ~10 minutes
5. Install Trickster MOD from the App Store for access to all of the options.
6. Change the settings to something other than INTERACTIVE (Especially if you run it with BFQ it will give you the worst screen lag ever). Then enable "Set at Boot" and push the check mark button at the top right hand portion of the screen or else you will lose your configurations.
7. Enjoy!!!
​
Error Reporting
I am always open to hearing about your errors although just telling me something went wrong without giving me details does me absolutely no good. So here are my expectations if you do want to complain about something not working:
1. Please list the ROM you are using,
2. The IO scheduler you were using
3. The CPU governor you were using
4. The CPU frequency range (192/1080 etc)
5. What you have done to attempt to fix it.
6. If you were able to simulate it again using the same settings.
7. Anything else you think is applicable to the issue
I would also hope that you would consider trying some of the following things to fix your issue before you ever report it because most of these things will fix the problem without me even having to change a thing.
1) Fix file permissions using a program that does a thorough job. I recommend using the fix file permissions in ROM manager because it is the best I’ve seen. For the record, I don’t actually use ROM manager for anything other than fixing permissions. Please consider trying this first because it tends to fix most of the FC/RR/SOD errors you might have.
2) Make a backup and install a clean version of the ROM you are running and see if you are still experiencing those same errors. You may have corrupted files if you’ve been dirty flashing.
3) If that doesn’t solve it, redownload and reflash, maybe something got corrupted but it still managed to flash. This happens sometimes and I can cause you grief.
4) For advanced users pull a logcat. I know not everyone knows how to do this but you can learn if you check out this OP or other ones like it
SPECIAL THANKS TO:
Android88 - because he is awesome and encouraged me to create this thread!
Samsung - for the source code to build these Kernel (and for making the phone)
Ayysir - for his wonderful tutorial on making a bash script to build kernels and for helping me out all of the time with everything!
Elbermu - For Bringing Thermal and Sweep2Wake to Hercules and for the help!
Bmg002 - For his extensive work fixing/rewriting my init.d scripts
Gruntparty - For completely redoing/fixing the build.prop injector I use for my AOSP Kernels
I Am The Frost - For being my first and best tester on xda. He's debugged several issues in these kernels for me
UBER Kernel Repositories can be found at https://github.com/Cl3Kener/HERC-KERNELS and are properly labeled for your convenience (see the branches)
Informational Links
Here is a fantastic guide on "Innards" of Kernels
Optimizing Linaro Keychains
Building a Bash Script to make Kernels​
JOIN MY GOOGLE COMMUNITY IF YOU WANT INSTANT UPDATES ON ANY OF ANDROID STUFF I DO. ​
​Reserved!
XDA:DevDB Information
[KERNEL][AOSP 4.4.x][2GHz/1.89 GHz] UBER 4.1 | LINARO 4.7.4, a Kernel for the T-Mobile Samsung Galaxy S II
Contributors
Cl3Kener
Kernel Special Features:
Version Information
Status: Beta
Created 2013-12-02
Last Updated 2014-01-30
Changelogs
Changelogs
Changelog UBER 4.1 Release
- ONLY FOR ANDROID 4.4.2 CM 12/16 Nightlies and beyond!!!!
- Kernel Version 3.0.101 - Linaro 4.7.4 2013.12
- USB fastcharge
- MORE TCP Options "Veno as default
- Fsync toggle - disable for better performance but beware that if your phone crashes you will lose data.
- Overclocked CPU 1890 or 2GHz/ GPU 3D = 320 2D = 266
- IO Schedulers - cfq, bfq, row, noop, deadline, sio, vr, FIFO, and zen
- CPU Governors - intellidemand, interactivex, lazy, wheatley, smartass, badass, lionheart, minmax, fantasy, savagedzen, scary, HYPER and samsung.
- Frandom Lag Reducer
- Smaller sized kernel due to xz compression.
- CPU link - elbermu
- Sweep2wake - thanks dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- Thermal - thanks once again to dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- IO Booster
- CPU Power - Vincent Guittot
- Frontswap Support
- Google "Snappy" compression/decompression
- KGSL GPU Control - carvsdriver​​
Additional Info
Terminal commands to enable/change a kernel features if you are don't like kernel tuning apps
Fsync
To enable - echo 1 > /sys/module/sync/parameters/fsync_enabled
To disable - echo 0 > /sys/module/sync/parameters/fsync_enabled
USB Fast Charge
To enable - echo 1 > /sys/kernel/fast_charge/force_fast_charge
To disable - echo 0 > /sys/kernel/fast_charge/force_fast_charge
Set Thermal Values
Go to /sys/kernel/msm_thermal/conf/ in a root file browser and change the values
Set MPDecision Values
Go to /sys/kernel/msm_mpdecision/conf/ in root file browser and change the values
Disable CPU Link
echo 0 > /sys/kernel/cpu_gov_sync/force_cpu_gov_sync
Recommended CPU Govs by Category
For Performance
Performance Governor - Full OC
HYPER - full oc
Lionheart - full oc
For good battery life with decent performance use
Intellidemand
Interactivex
Ondemand
Samsung
Lazy
Moderately Conservative
Badass
Conservative
Wheatley (debatable could be in the above category)
Very Conservative
Powersave
SavageZen
not sufficient info? checkout out this op
​
Sweet! New kernel!
Sent from my SGH-M919 using Tapatalk
Sweet! Will try this out right now :good:
Flashed beautifully thanks @CI3kener
Sent from my SAMSUNG-SGH-T989 using Tapatalk
gotta love the uber, thank you kener
Sent from my SAMSUNG-SGH-T989
Thank You !
Will this work on alpha 3??
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
JNMM said:
Will this work on alpha 3??
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
Click to expand...
Click to collapse
Yes ?
Sent from my SAMSUNG-SGH-T989 using Tapatalk
3 New Performance Boosters
Hey Everyone,
For those of you who haven't heard I've been using "Koding" as my new kernel build server. Space is very limited with my free account but if you'd like you can click here and signup to help me get more free space. You'll also find that you can learn how to code just about anything (java, html5, php, to name a few). Many developers and adding tutorials and sharing their projects so if you are interested in that stuff make sure to sign up!
I've made two nightlies this morning which need testing. For those of you who were around for my 4.3 you might recall that somewhere along the line there was suddenly a curious SD Card Mounting/Unmounting that would happen after unlocking the phone. I had made so many commits in such a short time frame that I was unsure which one caused the error. I've gone back and added my top three performance improving commits from the questionable series to see if any of these three commits caused the error (I certainly hope they did not, I really hope it was caused by the LZ4 compression and not the performance boosters). Let me know if you see any problems as you use these nightly kernels!!! Remember these are for 4.4 ONLY!!!
Here are the links!
UBER 1.89 GHz
UBER 2 GHz
Cheers!
Cl3Kener
just to let you know i have not been getting the sd card error on the 4.4 uber
Signed up on Koding maybe you can teach me a thing of two (^o^)
Sent from my SAMSUNG-SGH-T989 using Tapatalk
Confirmed working on almites cm build
Sent from my SAMSUNG-SGH-T989 using XDA Premium 4 mobile app
BETA2 For 12/16 CM Nightlies and Beyond
Hey Everyone!
Well Team Chopsticks finally got video working although from what I can tell all of the work was actually all done by our very own @bryan2894 who went and found the patches that fixed the video!!! Great work @bryan2894!!! Part of this video fix included the kernel so here is an updated kernel with the patch needed. This kernel will only have fixed video on CM 12/16 nightlies and beyond. I bet it might work with earlier but you might as well update if you are a CM user so what's the point?
Anyhow, enjoy the updates!
Cheers!
Cl3Kener
PS since I know someone will ask, This actually does work great with the 12-14 HellKat build since it also has working video because we grabbed the patches from CM before they were merged.
Sent from my SAMSUNG-SGH-T989
Question: for official CM 11 update, i am currently using recovery CWM 6.0.3.7, because CM officialssaid so or phone will run into problems. but this kernel requires TWRP, i am wondering can i update CM 11 nighlies with the given TWRP recovery?
Please advise. Thanks.
syan8182 said:
Question: for official CM 11 update, i am currently using recovery CWM 6.0.3.7, because CM officialssaid so or phone will run into problems. but this kernel requires TWRP, i am wondering can i update CM 11 nighlies with the given TWRP recovery?
Please advise. Thanks.
Click to expand...
Click to collapse
That stuff is nonsense. The latest TWRP in fact is much better for this phone and flashing this or any other ROM here IMHO. I tested both CWM and TWRP on more than one occasion and results were identical. For me TWRP is also much easier to get into when you have an issue with a new ROM booting and you need to get into recovery via the power & volume up buttons.
syan8182 said:
Question: for official CM 11 update, i am currently using recovery CWM 6.0.3.7, because CM officialssaid so or phone will run into problems. but this kernel requires TWRP, i am wondering can i update CM 11 nighlies with the given TWRP recovery?
Please advise. Thanks.
Click to expand...
Click to collapse
I've flashed CM11 (my builds) about 10 times in the last month and have been using TWRP 2.6.1.0 since Sept. without issue.
Just don't try to flash TWRP from within GooManager, either flash from recovery or use Odin (best).
Since the video recording is working now I moved to CM11 using the @Almite (Rom) and @Cl3Kener (Uber 2GHz kernel) and I can tel you this is solid Rock combination in performance and stability even those are still in Nightlies/Beta so thank you all for this amazing team work...
Is it possible to add the BLN notification (I know some don't like it but usually this the feature can be disabled)
Thanks

[Base 1.80][Root][SCRIPT] 08/07 Butterfly V12/Ghostpepper Inspired Interactive Values

Hey Guys,
I thought while waiting for the first custom kernels that maybe i should have a look at the interactive values and try to tweak them based on this way:
http://forum.xda-developers.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557
So i took a script from @Alcolawl and modified it to work with our device. Many thanks for his scripts.
I adjusted the values to our snapdragon 820 as the original scripts are for the nexus 6p which runs with a snapdragon 810. (octa on the 810 vs quad-core on the 820)
I´d highly recommend to try these values as it gave me a significant boost in battery life. here is a screenshot:
https://drive.google.com/file/d/0BxbxiBXaZVu-N1lsRTMyZ2hsY1k/view?usp=sharing
https://drive.google.com/file/d/0BxbxiBXaZVu-N1MzamRvM2FVZlk/view?usp=sharing
BIG UPDATE: with base 1.80 i´m not able to trick the touch/Input boost from htc´s pnpmgr with a chmod command like i did before. so all versions since Butterfly v11 will disable pnpmgr completely.
that means if you Play high end games and your device overheats like crazy please Report back. i had no Problem until now.
also there are now 2 versions. the oc one is for overclocked cpus with elementalx. without oc is for the default clock speeds.
here are explanations on what the 2 different stragies do:
Butterfly - A culmination of all strategies, provides smoothest performance of all currently published settings, though battery savings are a little more modest. Excellent for light and moderate users; heavy/marathon users might want to check out a different setting profile as it gets battery intense with heavy usage.
GhostPepper - 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. Good for light to medium usage and multitasking.
So basically there will be two ways of applying this mod.
First one is via scripts. this allows to set parameters outside of the interactive governor controls like cpu boost, editing of pnpmgr, min/max frequencies etc. so basically there´s more control.
Second one is via EX Kernel Manager. I will upload the profiles and you can apply them directly into the app. This will however only affect the tunables of the interactive governor. Touchboost has to be set manually for the profile to work exactly as intended.
when the phrase "elex" is in the zips name it is for use with ex kernel manager app (loading profile in governor options screen.
so to try the script method follow these steps. (and before do a nandroid as always)
1. download the attched file.
2. unzip the file, choose the correct script (oc if you have overclocked)
3. with a root explorer or terminal copy the file to system/su.d
4. set the correct permissions (rwxr-xr-x)
now you may either choose to change the settings temporary (step 5A) until the next reboot or permanently upon each reboot (step 5B)
5A. rename the file to 50ghostpeppertenv3.sh
use any script manager and run the script from this location (system/su.d)
alternatively use any terminal emulator app with the following commands
su
cd system/su.d
sh 50ghostpeppertenv3.sh
Be advised that the script takes in its current state 60 seconds to be applied. So the changes need a minute to be applied.
now check if the script has applied
- to do this go to sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
- if it looks like this: "25 480000:35 652800:45 844800:60 960000:75 1113600:85 1228800:90 1401600:95 1593600:100" the script was applied successfully
- the values changed with each update. what´s important to check is just the generel layout
5B. (-if you did the temporary approach beforehand remove the .sh)
- it should look like 50ghostpeppertenv3 (make sure there are now spaces at the end)
reboot and check if the script has applied
- to do this go to sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
- if it looks like this : "25 480000:35 652800:45 844800:60 960000:75 1113600:85 1228800:90 1401600:95 1593600:100" the script was applied successfully.
-- the values changed with each update. what´s important to check is just the generel layout
Important!!!
if you run permissive and run into no signal issue due to this look here
if you should run into a no signal issue where your baseband shows as unknown under software status ( currently on custom roms eg leedroid) you have to put a script to system/su.d that sets selinux to permissive. attached is such a script.
unzip it. copy it to system/su.d
set the same permissions as the ghostpepper script and your good to go.
running in terminal the command "getenforce" should return permissive.
Second method via Elemental App:
1. Download the desired profile from the attachments
2.Extract the Profiles from the zip
3. Choose the Overclocked(oc) version if you overclocked
4.Copy the file to sdcard/ElementalX/gov_profiles
5. Open the app and apply the values
let me know if it brings a little battery boost for you. you may also let me know if you face performance issues.
Thank you and have fun testing it.
Changelog:
Ghostpepper:
v1: Initial Release
v2: Tweaking The Script so the values will get applied properly on all roms
adding a permissive script in case of getting enforced
v3: Removed touchboost so the profile may unleash its full potential <<--- results in overall slower device.
v4: Added back short input boost
v4withtb: Added back original touch boost from htc
v8: New try on getting the interface smooth and disabling touchboost (minimal stutter remains)
v8withtb: same as v8 touchboost is still active
v9: only one version with touchboost now. tweaked target loads (lower freqs are used more), short input boost
there are now two files inside the zip.
v10: try to further improve frequency usage, less aggressive scaling
v11: fix in case Little cores might get stuck at highest clock
Butterfly
v4: Initial Release
v4withtb: Initial Release with original touch boost from htc (extremely smooth)
v6withtb: tuned the values and kept touchboost from pnpmgr, kernel touch boost is disabled, extremely smooth for me
v7: less aggressive scaling, performance should be really good while reducing less power than v6
v9: basically scaling is tuned to respect the crossover effieciency point from big and little cluster
v11: updated to work on base 1.80
- disable pnpmgr completely because the chmod trick for disabling pnpmgr´s touchboost is no longer working
- enable msm_thermal and core_control
v12: tweak some values to work better with the new base
v13: hotfix as i made a mistake in the previous version
credits:
thanks to @Alcolawl for the script template
also thanks to @soniCron for the original thread
reserved
Thanks for this - about to try it out now.
Question, though - Instead of using init.d, which requires a modified ramdisk, why not just use su.d, which only requires SuperSU?
EDIT: It doesn't seem to be loading when using su.d either.
Thanks. I'm using it now. Will let you know if there are any performance problems.
Can you also make a script that makes the phone smoother?
Captain_Throwback said:
Thanks for this - about to try it out now.
Question, though - Instead of using init.d, which requires a modified ramdisk, why not just use su.d, which only requires SuperSU?
EDIT: It doesn't seem to be loading when using su.d either.
Click to expand...
Click to collapse
Yeah it's strange. When flar will Releases his kernel, init.d will be hopefully working.
Seems like we have to apply it manually for now. When exkm gets updated we can switch profiles there so maybe we should just find good values now.
gusoldier said:
Thanks. I'm using it now. Will let you know if there are any performance problems.
Can you also make a script that makes the phone smoother?
Click to expand...
Click to collapse
Did you face a performance loss with these values? For me it's already pretty smooth.
But sure I may trim it more performance oriented yes.
Freak07 said:
Did you face a performance loss with these values? For me it's already pretty smooth.
But sure I may trim it more performance oriented yes.
Click to expand...
Click to collapse
Compared to stock I feel no performance loss, as smooth as stock. What I actually meant was a new script for buttery smooth nexus like experience.
Btw I will also check how hot it will get. On stock the phone gets sometimes hot watching youtube etc. Hopefully it'll better with this script
gusoldier said:
Compared to stock I feel no performance loss, as smooth as stock. What I actually meant was a new script for buttery smooth nexus like experience.
Btw I will also check how hot it will get. On stock the phone gets sometimes hot watching youtube etc. Hopefully it'll better with this script
Click to expand...
Click to collapse
yeah. I can try this later. But compared to my nexus 6 and my pixel c the 10 is about as smooth.
Freak07 said:
Yeah it's strange. When flar will Releases his kernel, init.d will be hopefully working.
Seems like we have to apply it manually for now. When exkm gets updated we can switch profiles there so maybe we should just find good values now.
Click to expand...
Click to collapse
Got it working with su.d. Just needed to add some sleep at the beginning of the script, otherwise it runs too early and the parameters can't be set .
P.S. You didn't answer my question about why you're not using su.d instead of init.d?
Captain_Throwback said:
Got it working with su.d. Just needed to add some sleep at the beginning of the script, otherwise it runs too early and the parameters can't be set .
Click to expand...
Click to collapse
Can you post it? I will add it to op thank you captain!
Edit: didn't think about it I'm not that knowledgeable.
Or is it just like "sleep 30"?
Edit2: it is indeed. thank you again.
Freak07 said:
Can you post it? I will add it to op thank you captain!
Edit: didn't think about it I'm not that knowledgeable.
Click to expand...
Click to collapse
Sure, right now I'm just trying to find the minimum sleep value that works, and once I do, I'll post it.
RE: su.d, see the 2nd paragraph here: http://su.chainfire.eu/#selinux-policies-supolicy
An additional advantage besides the ones listed there is that in a systemless root setup, su.d doesn't require modifying system at all, which is important for being able to take OTA updates in the future. On this device, I try to touch system as little as possible (if at all), so it might be a better alternative, and doesn't require a custom ramdisk.
Captain_Throwback said:
Sure, right now I'm just trying to find the minimum sleep value that works, and once I do, I'll post it.
RE: su.d, see the 2nd paragraph here: http://su.chainfire.eu/#selinux-policies-supolicy
An additional advantage besides the ones listed there is that in a systemless root setup, su.d doesn't require modifying system at all, which is important for being able to take OTA updates in the future. On this device, I try to touch system as little as possible (if at all), so it might be a better alternative, and doesn't require a custom ramdisk.
Click to expand...
Click to collapse
yeah you´re right. thanks for the reference and the hint. i knew about it but didn´t remember i could use this see my edited last post. with sleep 30 it´s working for me. i updated the op.
besides, do you had any luck in finding your pvs bin? i´m extremely intersted in this. i only found my voltage table so far. maybe you may post yours too. i opened a thread here:
http://forum.xda-developers.com/htc-10/how-to/post-voltage-table-chip-t3383494
if we had a way to check our pvs bin it would be even more helpful.
Freak07 said:
yeah you�´re right. thanks for the reference and the hint. i knew about it but didn�´t remember i could use this see my edited last post. with sleep 30 it�´s working for me. i updated the op.
besides, do you had any luck in finding your pvs bin? i�´m extremely intersted in this. i only found my voltage table so far. maybe you may post yours too. i opened a thread here:
http://forum.xda-developers.com/htc-10/how-to/post-voltage-table-chip-t3383494
if we had a way to check our pvs bin it would be even more helpful.
Click to expand...
Click to collapse
sleep 30 didn't work for me, as I have another script running before this one. It's probably safer to go with sleep 60 to make sure it loads for everyone (sleep 45 did work for me too, but 30 was too short - figured it's better to allow more time). Just a suggestion, or you could just tell people that if it doesn't load for them to increase the sleep value. Up to you, really.
EDIT: And I don't know anything about a pvs bin
Captain_Throwback said:
sleep 30 didn't work for me, as I have another script running before this one. It's probably safer to go with sleep 60 to make sure it loads for everyone (sleep 45 did work for me too, but 30 was too short - figured it's better to allow more time). Just a suggestion, or you could just tell people that if it doesn't load for them to increase the sleep value. Up to you, really.
EDIT: And I don't know anything about a pvs bin
Click to expand...
Click to collapse
Okay i'll edit it to 60.
This is what I'm talking about. Every Chip has a pvs bin. The higher the bin the lower the voltage for a certain cpu frequency.
And every bin has its own voltage table.
http://forum.xda-developers.com/htc-one-m8/general/guide-snapdragon-801-clocking-voltage-t2807173
Hey @Freak07,
Wondering if you can help.. Can't seem to get this working?? Please see attachment. I've set permissions and used terminal to get it working but no dice?
Edit: Nevermind.... I can't follow simple instructions to unzip a file (I was renaming the zip rather than unzipping and renaming that to .sh).... #Special
Edit 2: Went straight for option 5b (so it should have worked on reboot). When I rebooted I lost the radio and have had to clean flash my ROM? I was on Leedroid's Rom when it happened.
rav101 said:
Hey @Freak07,
Wondering if you can help.. Can't seem to get this working?? Please see attachment. I've set permissions and used terminal to get it working but no dice?
Edit: Nevermind.... I can't follow simple instructions to unzip a file (I was renaming the zip rather than unzipping and renaming that to .sh).... #Special
Edit 2: Went straight for option 5b (so it should have worked on reboot). When I rebooted I lost the radio and have had to clean flash my ROM? I was on Leedroid's Rom when it happened.
Click to expand...
Click to collapse
Which Kernel were you on?
This morning i had the same issue when flashing tbalden Kernel using leedroid and my Script.
Freak07 said:
Which Kernel were you on?
This morning i had the same issue when flashing tbalden Kernel using leedroid and my Script.
Click to expand...
Click to collapse
Hey buddy,
I was on the kernel built into Leedroid.
Hope that helps.
rav101 said:
Hey buddy,
I was on the kernel built into Leedroid.
Hope that helps.
Click to expand...
Click to collapse
How did you recover? Full Wipe?
Delete
Freak07 said:
How did you recover? Full Wipe?
Click to expand...
Click to collapse
Yeah, I tried a dirty wipe but that didn't work so had to do a full wipe.

Categories

Resources