Overclocking - Lenovo ZUK Z2 (Plus) Questions & Answers

I have been using this file to overclock(2.3GHz) my zuk in every rom without any problems. But with latest ViperOS I am facing a lag in fingerprint scanning.
Can anyone help me with understanding how this file (init.qcom.post_boot.sh) works?
And is it possible to overclock to 2.4GHz as I have read everyline of this file but there is nowhere the maximum clock is mentioned.
Thanks In advance.

Kuch_Bhi said:
I have been using this file to overclock(2.3GHz) my zuk in every rom without any problems. But with latest ViperOS I am facing a lag in fingerprint scanning.
Can anyone help me with understanding how this file (init.qcom.post_boot.sh) works?
And is it possible to overclock to 2.4GHz as I have read everyline of this file but there is nowhere the maximum clock is mentioned.
Thanks In advance.
Click to expand...
Click to collapse
that is because the purpose of the file is to enable the "overfreq" feature present in the original ZUI rom, which is through this command
"echo 1 > /sys/module/msm_performance/parameters/overfreq"
now because it's a set feature, and zuk had 1.7ghz & 2.3ghz already in the kernel, that we are able to "overclock" the phone. other cpu frequencies need to be manually added via the kernel sources.
as for how the file works, I think it just execute a bunch of command at boot. It might cause conflict with the one currently using by viper, so instead of replacing the whole file, you can simply insert the required command so that it would looks like this
Code:
# input boost configuration
echo "0:1324800 2:1324800" > /sys/module/cpu_boost/parameters/input_boost_freq
echo 40 > /sys/module/cpu_boost/parameters/input_boost_ms
echo "0:4294967295 1:4294967295 2:4294967295 3:4294967295" > /sys/module/msm_performance/parameters/cpu_max_freq;chmod 444 /sys/module/msm_performance/parameters/cpu_max_freq
echo 1 > /sys/module/msm_performance/parameters/overfreq
echo 1 > /sys/devices/system/cpu/cpu0/rq-stats/mpctl
Im not sure if it works, but you can give it a try, just backup before editing

ViperOS has no such file, I simply copied the modified one without replacing anything. As for the code you suggested it is not working, that is if I replace everything in the file with this code alone.

Kuch_Bhi said:
ViperOS has no such file, I simply copied the modified one without replacing anything. As for the code you suggested it is not working, that is if I replace everything in the file with this code alone.
Click to expand...
Click to collapse
Then it doesnt work with viper's kernel. That file only works on roms that dont heavily modified the kernel source from zui stock. Some dev even outright remove overclock like in EAS AEX 4.6

pipyakas said:
Then it doesnt work with viper's kernel. That file only works on roms that dont heavily modified the kernel source from zui stock. Some dev even outright remove overclock like in EAS AEX 4.6
Click to expand...
Click to collapse
Ok. Thanks for helping.

Related

FEB-9-15 [] Post_boot tweaks - An *interactive* boost

Drop this file in your /system/etc folder, replacing the stock one. Cleaned up, and modified to work with a stock kernel or lean kernel.
Please open up the file, and read some of the notes I added, so you know what this does and how to change it if you so desire. It is very basic and straightforward.
Also, please remember one thing, if you want to go to the stock kernel, simply change any words in the scripts from "interactiveX" to "interactive".
Recommended lean kernel 3.16 with these scripts.
Designed to work with ALL Galaxy Note 3's running touch wiz 4.4.2 ROMs and running lean kernel or stock kernel. Other kernels are not guaranteed due to the voltages applied.
This will make a huge difference in performance and battery. Been using this (developed by me) for a long time now.
Summary:
*I/O optimization
*tuned interactive parameters
*fixed sysfs permissions for cpu's (root now has full control of sysfs tuneables)
*GPU sysfs identified for user to customize
*screen off frequency set to 1.2 GHz (can be changed by user)
*custom voltage set for bin 2 device. (Read instructions within file to adjust for others bins accordingly)
*custom mpdecision tuning and other relevant instruction regarding mpdecision binary
*general CPU tweaks for better performance, responsiveness and battery life (yes all 3 can be achieved, and are)
Again, open the file with a file explorer (or notepad+ in windows). Read it, understand it, adjust what you want, or leave it be. These settings are very much dialed in for the interactiveX governor of LK. It won't get much better. I'd say take a look at the voltage portion and mpdecision for now (found at the end).
Once more, drop file into the /system/etc directory... Replace the existing one, and reboot.
FILE DOWNLOAD
Updated today... many useful changes, and fixes (set up for stock kernel for now)
https://www.dropbox.com/s/tjlygujptls3lks/init.qcom.post_boot.sh?dl=0
Reserved for any common questions, or general information.
red_can_soda said:
Reserved for any common questions, or general information.
Click to expand...
Click to collapse
Nice bud, I'll have to see if it works on Lollipop TW
Using it in pvs bin 0 lol
So far so good. Make sure to set permissions to 755
i'll have to see if theres a difference between replacing the current file.... or firing it off in init.d
kevp75 said:
i'll have to see if theres a difference between replacing the current file.... or firing it off in init.d
Click to expand...
Click to collapse
Needs to be done post boot, otherwise the stock "post_boot" file does what it does post boot. Make sense?
Init.d executes earlier in the boot sequence. Therefore, some of the parameters will be overridden.
red_can_soda said:
Needs to be done post boot, otherwise the stock "post_boot" file does what it does post boot. Make sense?
Init.d executes earlier in the boot sequence. Therefore, some of the parameters will be overridden.
Click to expand...
Click to collapse
ehh but those if us who need a hack for init.d runparts inside this script (u have it in yours as well)
i have it in my init.d and it appears (notice the appears) to be working.
Im definately noticing a bit more responsiveness... as well I toned down the screen off max freq a bit and am getting pretty decent battery life.
kevp75 said:
ehh but those if us who need a hack for init.d runparts inside this script (u have it in yours as well)
i have it in my init.d and it appears (notice the appears) to be working.
Im definately noticing a bit more responsiveness... as well I toned down the screen off max freq a bit and am getting pretty decent battery life.
Click to expand...
Click to collapse
Forgot I had that there... Lol. Threw that in a while back so init.d would operate with a 100% stock boot.img
@kvp75, can I drop this into Phoenix Rom?
Chefedogg said:
@kvp75, can I drop this into Phoenix Rom?
Click to expand...
Click to collapse
It will work with any galaxy note 3 using Qualcomm hardware.
Chefedogg said:
@kvp75, can I drop this into Phoenix Rom?
Click to expand...
Click to collapse
shuld be able to... but dont really need to. phoenix has cpuntweaking built intobthe settings doesnt it?
sry been workin on DomPop
red_can_soda said:
Drop this file in your /system/etc folder, replacing the stock one.....
Click to expand...
Click to collapse
Lmao....Cob
kevp75 said:
shuld be able to... but dont really need to. phoenix has cpuntweaking built intobthe settings doesnt it?
sry been workin on DomPop
Click to expand...
Click to collapse
All good, I went ahead and did it anyway, it's def making a difference, battery life was not great but now it's better! Thanks for all the hard work guys, keep it up! I'll reflash DomPop again soon, it was unstable for me but Phoenix has been great
This activated all cores and set to performance... when i selected interactive the min value was 422... Am I doing something wrong? Everything stock and rooted 442
Edit. .. Ok I changed from interactivex to interactive and that fixed gov problem but all cores activated and min set to 422... Is that right?
Yes, minimum is 422 MHz because the l2 cache is bumped into action at that speed (as opposed to not being so at 300) and the voltage is the same.
In short, 300 is no5 used because 422 is faster, and without the extra hit on battery
Will this work with 4.4.4 w/o any issues? Been thinking on trying it on but I don't want it to mess anything and re-install stuff.
d-wad,
I cannot give you a definite answer there, as I have not yet looked at anything in 4.4.4.
If you can provide me a copy of the post_boot file for 4.4.4, I can take a look at it and see. I can't imagine why anything would have changed in this file, but you never know. All it takes is one line of code to cause something to go a little wonky for you.
Thanks, and just shoot me a PM.
Just giving you all a heads up.... I think there may have been a few errors in the stock init.qcom.post_boot file (they are human too, remember).
I am testing a few small changes to certain lines in the "factory" script to make sure. A brief explanation of it is that there are certain lines I removed from the one you all are using right now, and I did so because the file paths being called out did not exist!
However, I was going over this again tonight, getting ready for the official LP release and decided to review this odd discrepancy one more time. After doing some digging, I found that the file that some of those values were intended to be written to, were actually somewhere else!
Doh! - Sammy/QC. It is very possible that this location changed from a previous design or fs structure and somebody simply forgot to modify the script. Very interesting indeed.
Anyways, after I run this for a couple of days and do a little bit more investigating, I'll post the updated script for all of you.
Updated file and link... I recommend using this file or implementing these items into your current set up. Many of the changes are critical errors existing in the stock post_boot file, or simple optimization enhancements for our devices.
How to revert?
Sorry... TOTAL NOOB here...Do I just copy the orig file somewhere else, and drop this in place as you instruct? ( may have answered my own Q)
Seems a wise precaution.
I am running effortless rom rev 8 (lovin it too)

[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.

[TUT] How to Optimize your CM13

OPTIMIZE YOUR CM13​
PREREQUISITES:
CyanogenMod 13 ROM
Nokia X
You
First of all, this thread's purpose is to make our Marshmallow Experience better. I have been using a CM13 ROM and it's good, but it can never surpass Stock ROM in stability, smoothness and other things alike.
Now, assuming that you've already done all the things that has to be done on successfully booting the ROM (repartitioning, flashing Gapps, etc), we're gonna start .
TIPS
NO. 1
Code:
Do not use too many apps! I mean, we have a very low end phone right here and were aiming to make it better. Use only the apps that you need. Much less apps, much less lag :good:
NO. 2
Code:
If you're gonna have to flash Gapps, flash the [I]pico[/I] one. Since it's the most logical thing to use in this device.
NO. 3
Code:
Refrain from using themes. They consume RAM and lags the UI.
NO. 4
Code:
Replace Trebuchet(CM's default launcher) with any other third party launchers. *cough*Nova*cough*
NO. 5
Code:
Use other root solutions (SuperSU, Magisk etc). I had problem with CM su.
More to come
TRICKS
NO. 1
You're gonna have to enable developer options in setting (tap build no. until it's enabled). The go to Hardware accelerated rendering. Enable Force GPU rendering and Disable HW overlays. You can optionally tweak the animation speed if you like.
NO. 2
The DPI of the ROM is 240, which I think is okay for our phones. But on my opinion, the best one that suites or device is 220. You can change it in Setting > Display & lights > LCD density
NO. 3
Having only the back button working is a pain. We can enable the Navigation Bar by adding this line to /system/build.prop
Code:
[FONT="Courier New"]qemu.hw.mainkeys=0[/FONT]
NO. 3
Enable root in Settings > Developer options > Root access. Choose Apps and ADB
REMOVING CM BLOATWARES
Assuming you already have Root access, Install Terminal Emulator.
After that type:
Code:
su
Which will then prompt you with Root authentication, grant it.
Now, we can disable (not delete/uninstall) bloats using this command,
Code:
pm disable <name of the app>
Here's the list of what we don't need:
org.cyanogemod.screencast (Screen Recorder)
org.cyanogenmod.theme.chooser2 (Theme Chooser, we don't need it )
com.android.email (Do you use email?? If you do, do not include this)
com.android.exchange (Exchange Services)
All of the live wallpapers and Live wallpaper picker (i think you can find them on your own)
com.android.cellbroadcastreceiver (Cell Broadcast)
com.cyanogenmod.updater (CM Updater)
com.android.printspooler (Print Spooler)
com.svox.pico (Pico TTS)
org.cyanogenmod.screencast (Screen Recorder)
org.cyanogenmod.weather.provider (Weather Provider)
org.cyanogenmod.weather.service (Weather service)
BUILD.PROP TWEAKS
Next thing we do is to add these on build.prop
Code:
debug.performance.tuning=1
persist.sys.ui.hw=1
persist.sys.composition.type=gpu
dalvik.vm.dex2oat-filter=interpret-only
dalvik.vm.image-dex2oat-filter=interpret-only
debug.composition.type=gpu
video.accelerate.hw=1
ro.kernel.checkjni=0
profiler.force_disable_ulog=0
profiler.debugmonitor=false
debugtool.anrhistory=0
# more to come
KERNEL ADIUTOR
Install this one Kernel Adiutor and you can edit many things.
Go to CPU section, then choose ondemand as default governor since it's basically more performance driven that other governors (except performance governor ).
MORE TO COME :highfive:
XDA:DevDB Information
CM13 Optimizer, Tool/Utility for the Nokia X
Contributors
veez21, weritos
Version Information
Status: Beta
Created 2016-12-31
Last Updated 2017-05-01
Reserved
Reserved
let me add some..open kernel adiutor...
1) change io scheduler...its most important.. better choose cfq bcoz default is deadline which means single task only...that is you can't pull even status bar while an app is opening!!!
2) my CPU settings ( to prevent overheating and greater performance)
choose conservative governor
then choose its settings and set
low/min threshold=65
high/max threshold=90
its just the best setting for everything
ani00 said:
let me add some..open kernel adiutor...
1) change io scheduler...its most important.. better choose cfq bcoz default is deadline which means single task only...that is you can't pull even status bar while an app is opening!!!
2) my CPU settings ( to prevent overheating and greater performance)
choose conservative governor
then choose its settings and set
low/min threshold=65
high/max threshold=90
its just the best setting for everything
Click to expand...
Click to collapse
Thanks for the suggestion. I will add that but not now. It's almost New Year :laugh:
can you give me kenrel and boot.img and build.prop for xl
UPDATED
New Tricks
Added more build.prop tweaks
New bloats
Fixed some typos
please make a patch for nokia xl...
We Need All This Is The Most Important On Cyanogen ROM
i still not have cm13 rom....where can i get it????
abhijit1998 said:
i still not have cm13 rom....where can i get it????
Click to expand...
Click to collapse
sorry, I'm not allowed to do that, but you can actually just apply these in cm11 based roms, we have plenty of those here. :good:
veez21 said:
sorry, I'm not allowed to do that, but you can actually just apply these in cm11 based roms, we have plenty of those here. :good:
Click to expand...
Click to collapse
ok.....:crying:
veez21 said:
sorry, I'm not allowed to do that, but you can actually just apply these in cm11 based roms, we have plenty of those here. :good:
Click to expand...
Click to collapse
Do I have to bought cm13 ROM from weritos?
UPDATED
New build.prop tweaks
veez21 said:
New build.prop tweaks
Click to expand...
Click to collapse
Where to get cm13 ROM?
https://forum.xda-developers.com/an...od-ultimate-performence-blazing-fast-t3482317
just try this bro...
you will love it
ani00 said:
https://forum.xda-developers.com/an...od-ultimate-performence-blazing-fast-t3482317
just try this bro...
you will love it
Click to expand...
Click to collapse
lol, most of the scripts inside it doesn't work. Placebo of you ask me. The dev(or is he?) doesn't even know what he's doing. He was just putting things together not knowing what they do and how they work. Trust me. All guys who complimented the so called mod has no idea what's going on with the scripts inside and what they do and if they work. I don't even want to comment there.
veez21 said:
lol, most of the scripts inside it doesn't work. Placebo of you ask me. The dev(or is he?) doesn't even know what he's doing. He was just putting things together not knowing what they do and how they work. Trust me. All guys who complimented the so called mod has no idea what's going on with the scripts inside and what they do and if they work. I don't even want to comment there.
Click to expand...
Click to collapse
agreed...but bro if it works theoretically or not, doesnt matter..
what finally matter is the performance amd battery,
with 1st boot, i can feel a massive difference... i actually cant feel if its old slow nokia..
even i have tried many mod, none worked before
anyways its your opinion
ani00 said:
agreed...but bro if it works theoretically or not, doesnt matter..
what finally matter is the performance amd battery,
with 1st boot, i can feel a massive difference... i actually cant feel if its old slow nokia..
even i have tried many mod, none worked before
anyways its your opinion
Click to expand...
Click to collapse
Actually, the difference you feel comes from the cpu/governor something script, which pushes the cpu to it's limits. Every other script won't do anything, that's why they have another guy managing the beta thread because the orig guy doesn't know how to
any place for getting cm13 ROM????

4/19/2017 [] 7.1.1 UPDATE [] HTC 10 (msm 8996) [] CPU, VM, RAM, IO "Tune"

ORIGINAL THREAD HERE: https://forum.xda-developers.com/axon-7/development/2-15-2017-axon-7-msm-8996-cpu-vm-ram-t3557392
This mod was originally created for the Axon 7, but due to several requests, I've modified a version for the HTC 10, please see below, and post questions or comments in the original thread above. Please state you are a HTC 10 user if you have feedback in that thread, to consolidate user feedback and speed up response time.
Custom tuning for a device is always a necessity. "Canned" settings will get you by, but they are certainly never optimized for a specific device. In fact, Linux typically takes a general approach to find harmonic balance in default settings that will, for the most part, work in an acceptable manner for just about any device. There are a lot of resources available on this device, so we should utilize it in a manner appropriate to squeeze out as much battery life and performance as possible without sacrificing much of those outputs, don't you think? This is going to fix that for you.
Here is what is required of you before you begin:
1. Must be rooted
2. Must have the HTC 10 OR a device running the Snapdragon 820, as this modification is not so much device specific, but hardware specific. The important aspect being the snapdragon 820 and the RAM disk size.
3. Must have write protection disabled. If the HTC 10 requires write protection to be disabled, see the code and instruction below:
Using adb shell:
Code:
adb reboot disemmcwp
Using Linux terminal (from your phone, for example):
Code:
reboot disemmcwp
Let's begin.
Getting right to it, here's what I've done:
- modified parameters of the interactive governor, and quite extensively at that (search some of my threads if you want a little bit of a breakdown of the general approach I take)
- reconfigured input_boost parameters
- reconfigured vm parameters (again, the device has a lot of RAM resource, this will utilize it and give you a far better user experience. Basically, I've adjusted dirty_ratio, dirty_background_ratio, swappiness, and other parameters of the virtual machine.)
- disabled zRAM for 6 GB variants (RAM compression, again, not needed on this device really, this mod will save you CPU cycles and power) this will not apply to HTC 10 users, you will still have zRAM enabled.
- remapped minfree parameters for LMK (low memory killer) again only for 6 GB variants
- Tuned CFQ scheduler for flash storage devices
- Tuned "core_ctl" module (needs kernel support, I recommend freeza's latest version of BeastMode. For those wondering, yes, you can still use this mod with the stock kernel. It won't break anything.) again this will only apply to devices that support core_ctl at the kernel.
In a nutshell, that's what we're looking at here. I can guarantee you this will have a significantly positive impact on your device. Turbo time, homies.
How to install????
Easy. First, the file we are replacing is found in /system/etc... it is the "init.qcom.post_boot.sh" file - this file is basically shell scripts, which are applied at boot via this particular shell file.
All you have to do is download the file to your device, open up a file explorer (must have root capability), navigate to the /system/etc folder with said file explorer, mount your /system as RW (read write), delete your stock "init.qcom.post_boot.sh" file, and replace it with mine.
After you've successfully done this, change the new file's permissions to rw-r--r-- (0644), and then reboot!
Or, if you are brave, you can do it manually via a terminal app and get your fingers wet... if you choose to do that, see below:
Make sure the file is located on the root of your internal sdcard in /sdcard, open your terminal app (again, must have root) and type the following commands, hitting enter after each one (be careful to pay attention to the spacing).
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
I don't want credit, don't need you to give or offer donations, this is purely for the community in the spirit of Linux ideology. All I ask is for you to hit the thanks button :good:
That's pretty much it, guys. Enjoy!
DOWNLOAD
warBeard_actual said:
ORIGINAL THREAD HERE: https://forum.xda-developers.com/axon-7/development/2-15-2017-axon-7-msm-8996-cpu-vm-ram-t3557392
Hello everyone, I would like to provide this mod to the HTC 10. If somebody could grab me the STOCK file: init.qcom.post_boot.sh found in /system/etc I will modify it for you guys and post it here with instructions on how to install.
It will provide you a good boost in battery life without sacrificing performance.
Thanks!
Click to expand...
Click to collapse
Thanksss :angel:
I little bit more tuning can't be wrong I guess. Here you go. Just uploaded the respective file needed to do the trick.
5m4r7ph0n36uru said:
I little bit more tuning can't be wrong I guess. Here you go. Just uploaded the respective file needed to do the trick.
Click to expand...
Click to collapse
I'll have this done tomorrow night. Thanks for getting me the file
Hey guys, file is up, with instruction on how to install.
There were actually a lot of typos in the stock file from HTC
I cleaned up the file from redundancy, fixed a few things while adding my modifications to the file. For those wondering, YES the file is supposed to much smaller as a lot of unneeded code was removed that was specific for other SoC's.
Enjoy, feedback is welcome, but I can guarantee your experience will be postive results.
Phone booted, will be testing over the next few days
warBeard_actual said:
Hey guys, file is up, with instruction on how to install.
There were actually a lot of typos in the stock file from HTC
I cleaned up the file from redundancy, fixed a few things while adding my modifications to the file. For those wondering, YES the file is supposed to much smaller as a lot of unneeded code was removed that was specific for other SoC's.
Enjoy, feedback is welcome, but I can guarantee your experience will be postive results.
Click to expand...
Click to collapse
"The file we are replacing is found in /system/etc... it is the "init.qcom.post_boot.sh" file - this file is basically shell scripts, which are applied at boot via this particular shell file" - I could not find this file in /system/etc... Does the type of rom that I'm running matter. currently running ResurrectionRemix 5.8.3 (7.1.2) w/ tabp0le kernel
5m4r7ph0n36uru said:
I little bit more tuning can't be wrong I guess. Here you go. Just uploaded the respective file needed to do the trick.
Click to expand...
Click to collapse
Aloha,
Just to be clear.. So if I download this zip and flash through TWRP I will be on 7.1? I'm currently on stock with Majestic.
Mahalo
Sent from my HTC 10 using XDA-Developers Legacy app
devilman30 said:
Aloha,
Just to be clear.. So if I download this zip and flash through TWRP I will be on 7.1? I'm currently on stock with Majestic.
Mahalo
Sent from my HTC 10 using XDA-Developers Legacy app
Click to expand...
Click to collapse
No
Read the OP
Mike Grace said:
"The file we are replacing is found in /system/etc... it is the "init.qcom.post_boot.sh" file - this file is basically shell scripts, which are applied at boot via this particular shell file" - I could not find this file in /system/etc... Does the type of rom that I'm running matter. currently running ResurrectionRemix 5.8.3 (7.1.2) w/ tabp0le kernel
Click to expand...
Click to collapse
Well, I should have probably told you that CM-based ROMs don't have this file. Lol.
If you are an experienced user, you can add this to init.d
Using this without any problems, on top of ex kernel modifications and using PNP tweak v23. Do all of these play nicely together?
Sent from my HTC 10 using XDA-Developers Legacy app
warBeard_actual said:
Well, I should have probably told you that CM-based ROMs don't have this file. Lol.
If you are an experienced user, you can add this to init.d
Click to expand...
Click to collapse
I'm not an "experienced user" per-say but basically we take your edited init.qcom.post_boot.sh file and move into init.d (I'm on LOS ROM) folder and re-name and set permissions correctly?
I have re-named to 01init.qcom.post_boot
I'll upload a screenshot shortly to show what I have done.
Also, will it matter the kernel and write protection?
I'm assuming that I don't need to bother with it since I was able to move and edit this file?
MrRob0t said:
I'm not an "experienced user" per-say but basically we take your edited init.qcom.post_boot.sh file and move into init.d (I'm on LOS ROM) folder and re-name and set permissions correctly?
I have re-named to 01init.qcom.post_boot
I'll upload a screenshot shortly to show what I have done.
Also, will it matter the kernel and write protection?
I'm assuming that I don't need to bother with it since I was able to move and edit this file?
Click to expand...
Click to collapse
Yep, should be good. Make sure you leave your original stock file in /system/etc however... and line out any conflicting code in that stock file.
init.d loads during boot, as opposed to post boot, so any conflicting code with be overwritten after the .sh file executes (around the time you start seeing your lock screen)
warBeard_actual said:
Yep, should be good. Make sure you leave your original stock file in /system/etc however... and line out any conflicting code in that stock file.
init.d loads during boot, as opposed to post boot, so any conflicting code with be overwritten after the .sh file executes (around the time you start seeing your lock screen)
Click to expand...
Click to collapse
Original stock file. Does that mean the file that you edited or do i need to put the original file that was not edited. Using los based rom so original doesn't exist. Thank you
Mike Grace said:
Original stock file. Does that mean the file that you edited or do i need to put the original file that was not edited. Using los based rom so original doesn't exist. Thank you
Click to expand...
Click to collapse
Using LOS, you're good to go, as the file doesn't exist in /system/etc
Toss it in /system/etc/init.d and remove the .sh extension, good to go.
Delete

[mod] cpu_tuning

Hello xda ppl!
may be it will be useful for you.
many time was spent trying to do something good with this cpu,
to make it not so hot but fast and efficient.
so, here cooling is priority.
1. global configs
memory, cpu, gpu, thermal, doze ...
for android 6-7-8
files "thermal-engine.conf", "init.qcom.post_boot.sh"
paths detecting via existing thermal config
existing files backup ("~" suffix)
installation output, at the end there should be listing of 2 new and 2 backuped files
to revert just rename backuped files (root/twrp file manager)
2. profiles switch from status bar
its simplification of this one https://forum.xda-developers.com/android/apps-games/app-spectrum-kernel-manager-users-t3601542
for android 6-7-8 (but only if your OS has support of initialization from "/system/etc/init" (its standard))
files "/system/app/Spectrum/Spectrum.apk", "/system/etc/init/init.spectrum.rc", "/system/etc/init/init.spectrum.sh"
installation output, at the end there should be listing of 3 new files
to revert just install "SimpleSpectrum-uninstall.zip"
global configs + performance profile should be good for games.
and cool. like COOL1 should be
XDA:DevDB Information
cpu_tuning-difrED, Tool/Utility for the Coolpad Cool1
Contributors
difr
Version Information
Status: Beta
Created 2018-08-29
Last Updated 2018-08-29
1. configs script didnt work and didnt make error in case of absent thermal config in system (i didnt expect such case). so, i've made small update.
2. spectrum app no need root so often. also updated.
3. i also recommend to disable standard power control, just rename "/system[/vendor]/lib64/hw/power.qcom.so" to "power.qcom.so~". attached zip is for this purpose.
4. i see some donwloads and no one review it. it's bad. bad community, sorry
I will try now on los 15.1 beta
Edit : Im Already flash on los 15.1 and installed but can't open spectrum app, in playstore say installed but cant open ? And in launcher not see icon spectrum, i replace with 1.5 version work nice
Fauzi Hamzah said:
I will try now on los 15.1 beta
Edit : Im Already flash on los 15.1 and installed but can't open spectrum app, in playstore say installed but cant open ? And in launcher not see icon spectrum, i replace with 1.5 version work nice
Click to expand...
Click to collapse
its hidden in launcher. its available in status bar as tile
difr said:
its hidden in launcher. its available in status bar as tile
Click to expand...
Click to collapse
Ok i will try replace again with your app
Edit : it work but not see gaming profile
Bro since leeco los have smanager maybe you can add mod for this https://4pda.ru/forum/index.php?s=&showtopic=911910&view=findpost&p=75788964 , i think it will be conflict
Edit again ?, not will conflict just delete profile in smanager if use this
@Fauzi Hamzah
3 modes.
difr said:
@Fauzi Hamzah
3 modes.
Click to expand...
Click to collapse
Ok thanks bro for now just test battery mode, because not have heavy game , lazy to download ?, waiting black desert mobile global need long time
Btw thermal config in oreo just in vendor/etc ?, not see in /etc
Fauzi Hamzah said:
Ok thanks bro for now just test battery mode, because not have heavy game , lazy to download ?, waiting black desert mobile global need long time
Btw thermal config in oreo just in vendor/etc ?, not see in /etc
Click to expand...
Click to collapse
right. means oreo also is without thermal config. didnt know it
seems like all le2 ports are without thermal config
did you see patch output?
it should show error, unable to find thermal config
means patch doesnt do his work
need to rewrite it again for oreo
please, confirm that you dont see /vendor/etc/thermal-engine.conf
difr said:
right. means oreo also is without thermal config. didnt know it
seems like all le2 ports are without thermal config
did you see patch output?
it should show error, unable to find thermal config
means patch doesnt do his work
need to rewrite it again for oreo
please, confirm that you dont see /vendor/etc/thermal-engine.conf
Click to expand...
Click to collapse
https://drive.google.com/folderview?id=1LRcwuqfzXldGofnPdxiH5_DaZxwIDuiY&usp=sharing , you mean logcat ? and i cant upload on attach xda ?
Edit : Oh i see already edit v6 on /vendor/etx
Btw is possible to add fast charge like another phone ?
difr said:
Hello xda ppl!
may be it will be useful for you.
many time was spent trying to do something good with this cpu,
to make it not so hot but fast and efficient.
so, here cooling is priority.
1. global configs
memory, cpu, gpu, thermal, doze ...
for android 6-7-8
files "thermal-engine.conf", "init.qcom.post_boot.sh"
paths detecting via existing thermal config
existing files backup ("~" suffix)
installation output, at the end there should be listing of 2 new and 2 backuped files
to revert just rename backuped files (root/twrp file manager)
2. profiles switch from status bar
its simplification of this one https://forum.xda-developers.com/android/apps-games/app-spectrum-kernel-manager-users-t3601542
for android 6-7-8 (but only if your OS has support of initialization from "/system/etc/init" (its standard))
files "/system/app/Spectrum/Spectrum.apk", "/system/etc/init/init.spectrum.rc", "/system/etc/init/init.spectrum.sh"
installation output, at the end there should be listing of 3 new files
to revert just install "SimpleSpectrum-uninstall.zip"
global configs + performance profile should be good for games.
and cool. like COOL1 should be
XDA:DevDB Information
cpu_tuning-difrED, Tool/Utility for the Coolpad Cool1
Contributors
difr
Version Information
Status: Beta
Created 2018-08-29
Last Updated 2018-08-29
Click to expand...
Click to collapse
seems to work in lineage 15.1! thank you very much, it's very convenient and useful! (on v6 version)
cant understand. does it work in oreo?
do you see /vendor/etc/thermal-config.conf (with my sign inside).
@Fauzi Hamzah, no i dont mean logcat. i mean installation output in twrp. there must be detailed listing of processed files or error message
i use it in jui7. didnt test it in other roms
difr said:
cant understand. does it work in oreo?
do you see /vendor/etc/thermal-config.conf (with my sign inside).
@Fauzi Hamzah, no i dont mean logcat. i mean installation output in twrp. there must be detailed listing of processed files or error message
i use it in jui7. didnt test it in other roms
Click to expand...
Click to collapse
Ok i will reflash again, but in vendor/etc already with you mod thermal v6 but not see init.qcom
Fauzi Hamzah said:
Ok i will reflash again, but in vendor/etc already with you mod thermal v6 but not see init.qcom
Click to expand...
Click to collapse
it must be in /vendor/bin in oreo
difr said:
it must be in /vendor/bin in oreo
Click to expand...
Click to collapse
Yeah you're right and already mod v6 :good:
This first time i use oreo so dont know at all
I think it work like a charm
Can you add fast charging like this https://forum.xda-developers.com/ne...d-xthermal-mod-fast-charging-cpu-gpu-t3477639
Fauzi Hamzah said:
Can you add fast charging like this https://forum.xda-developers.com/ne...d-xthermal-mod-fast-charging-cpu-gpu-t3477639
Click to expand...
Click to collapse
no, its enough hot without fast charging
wtf,
more than 50 downloads
noone reviewed.
difr said:
wtf,
more than 50 downloads
noone reviewed.
Click to expand...
Click to collapse
maybe you can create for universal not just this phone: D
I test pubg not heating like before (nougat without config) and now use this config with gpu turbo boost v2, I can get HDR 60fps in 960p resolution use gfx tool with some fps drop but still playable :good:
C107-9
Can all this tweak work for cool pad c106-9
---------- Post added at 05:42 AM ---------- Previous post was at 05:39 AM ----------
Can I install 7.0 ROM on my Cool pad cool changer 1c
difr said:
Hello xda ppl!
may be it will be useful for you.
many time was spent trying to do something good with this cpu,
to make it not so hot but fast and efficient.
so, here cooling is priority.
1. global configs
memory, cpu, gpu, thermal, doze ...
for android 6-7-8
files "thermal-engine.conf", "init.qcom.post_boot.sh"
paths detecting via existing thermal config
existing files backup ("~" suffix)
installation output, at the end there should be listing of 2 new and 2 backuped files
to revert just rename backuped files (root/twrp file manager)
2. profiles switch from status bar
its simplification of this one https://forum.xda-developers.com/android/apps-games/app-spectrum-kernel-manager-users-t3601542
for android 6-7-8 (but only if your OS has support of initialization from "/system/etc/init" (its standard))
files "/system/app/Spectrum/Spectrum.apk", "/system/etc/init/init.spectrum.rc", "/system/etc/init/init.spectrum.sh"
installation output, at the end there should be listing of 3 new files
to revert just install "SimpleSpectrum-uninstall.zip"
global configs + performance profile should be good for games.
and cool. like COOL1 should be
XDA:DevDB Information
cpu_tuning-difrED, Tool/Utility for the Coolpad Cool1
Contributors
difr
Version Information
Status: Beta
Created 2018-08-29
Last Updated 2018-08-29
Click to expand...
Click to collapse
Thanks man, this works great. Why do u want us to disable standard battery options?? Is that bound to create problems or conflict?
Thanks again

Categories

Resources