These are some tweaks that i use in every rom , they work well for me so i though of sharing them , they should work with CyanogenMod 7 or any rom that has init.d support (infused rom)
Description :
. sysctl tweaks for better battery life and performance
. sdcard buffer tweaks for
. performance tweaks
. UI smoothness tweaks
. vm , memory management tweaks
. conservative governor tweaks
. kernel tweaks
. remove bootanimation for faster boots
. fugu tweaks (http://forum.xda-developers.com/showthread.php?t=981125)
Installation :
using root explorer or adb
.extract the "99tweaks" & copy it to "/etc/init.d" and give it full permissions
.extract the "app_process" & copy it to "/system/bin" and give it full permissions
.extract the "system_server" & copy it to "/system/bin" and give it full permissions
thanks. will give it a try.
benchs before and after?
seems to work nice so far bro. thankyou very much
Um how to give it permission?
infuse.....infused.......infusion.......
tyshemi said:
Um how to give it permission?
infuse.....infused.......infusion.......
Click to expand...
Click to collapse
are u using root explorer?
http://forum.cyanogenmod.com/topic/9781-buildprop-roril-meanings/
JordanElliott said:
are u using root explorer?
Click to expand...
Click to collapse
Yes
infuse.....infused.......infusion.......
tyshemi said:
Yes
infuse.....infused.......infusion.......
Click to expand...
Click to collapse
long press on the file after you copy it to the right place and hit permissions, then click all the boxes that dont have a checkmark. except for the special permissions
JordanElliott said:
long press on the file after you copy it to the right place and hit permissions, then click all the boxes that dont have a checkmark. except for the special permissions
Click to expand...
Click to collapse
Done deal do we need to disable other files permissions?
infuse.....infused.......infusion.......
tyshemi said:
Done deal do we need to disable other files permissions?
infuse.....infused.......infusion.......
Click to expand...
Click to collapse
nope .
JordanElliott said:
nope .
Click to expand...
Click to collapse
Done deal thanks brosky I kinda knew that but wanted reinforcement lol I'm on a no brick spree
infuse.....infused.......infusion.......
checking out your build.prob, some might have issues with it.
Code:
# Update TimeZone
persist.sys.timezone=America/New_York
MotoMudder77 said:
checking out your build.prob, some might have issues with it.
Code:
# Update TimeZone
persist.sys.timezone=America/New_York
Click to expand...
Click to collapse
lol ya.. idk what that means but i live in sunny FL
could you explain what these tweaks do?
docodine said:
could you explain what these tweaks do?
Click to expand...
Click to collapse
read this http://www.bbh-plus.net/showthread.php?5618-Syssctl-Config-tweaks-explained&
-Min Free KBytes (vm.min_free_kbytes) -This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size
-Dirty Ratio (vm.dirty_ratio) and Dirty Background Ratio (vm.dirty_background_ratio) control how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are deeling with solide state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk
-VFS Cache Pressure (vm.vfs_cache_pressure) -Now here is where it gets interesting! File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacraficing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.
-Oom Allocating Task (vm.oom_kill_allocating_task) (enable or disable, generally in Linux this value is either a "1" or a "0," representing as on or off.) -This enables or disables killing the OOM-triggering task in out-of-memory (oom) situations. If this is set to zero, or disabled, the OOM killer will scan through the entire tasklist and select a task based on heuristics to kill. This normally selects a rogue memory-hogging task that frees up a large amount of memory when killed. If this is set to non-zero, or enabled, the OOM killer simply kills the task that triggered the out-of-memory condition. This avoids the expensive tasklist scan, which can take mass amounts of time and "hang" or freeze the system.
just want to double check, but can we use the infused build.prop in any rom with a hellraiser base?
gb96 said:
just want to double check, but can we use the infused build.prop in any rom with a hellraiser base?
Click to expand...
Click to collapse
Just copy the additional lines at the bottom of the build.prop into your build.prop
Sent from my SGH-I997 using xda premium
JordanElliott said:
Just copy the additional lines at the bottom of the build.prop into your build.prop
Sent from my SGH-I997 using xda premium
Click to expand...
Click to collapse
but make sure they don't already exists in the build.prop
DynamicRam said:
but make sure they don't already exists in the build.prop
Click to expand...
Click to collapse
yea. woops. forgot that part
Related
Now that I have your attention, to make it Sense UI run faster, UNDERCLOCK it with overclock widget (the red/blue icon one) to 383mhz and let the phone accustomize to that speed for 2-3 minutes and the phone definitely runs faster. Or at least it did for me.
I run Swapper at 32mb/10 swappiness w/ the clock/weather and twitter widget, plus 6 icons, the overclock widget, and the wifi toggle widget and have noticed a HUGE difference in the past 24 hours since I first started running the underclock.
Don't ask cause I can't explain how this is either...
My next "quest" for better performance is to try w/o Swapper.
Heard about underclocking helping performance on hero before.... Ill try it out for a day and see what happens....
screwthe49ers said:
Now that I have your attention, to make it Sense UI run faster, UNDERCLOCK it with overclock widget (the red/blue icon one) to 383mhz and let the phone accustomize to that speed for 2-3 minutes and the phone definitely runs faster. Or at least it did for me.
I run Swapper at 32mb/10 swappiness w/ the clock/weather and twitter widget, plus 6 icons, the overclock widget, and the wifi toggle widget and have noticed a HUGE difference in the past 24 hours since I first started running the underclock.
Don't ask cause I can't explain how this is either...
My next "quest" for better performance is to try w/o Swapper.
Click to expand...
Click to collapse
Your right, seems weird but underclocking definately improves overall performance.
i posted a similiar suggestion in "the problem with hero" thread, as underclocking also solves the sms issue
A better tweak would be to add this to you init.rc:
Code:
write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold 40
write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load 1
write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate 200000
What this does is allow the CPU frequency to ramp up much faster.
cyanogen said:
A better tweak would be to add this to you init.rc:
Code:
write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold 40
write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load 1
write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate 200000
What this does is allow the CPU frequency to ramp up much faster.
Click to expand...
Click to collapse
So, what you're saying what you suggested would do what a standard overclocker app is intended to do, albeit with better results?
BTW, the script you wrote, enter it in terminal emulator?
screwthe49ers said:
So, what you're saying what you suggested would do what a standard overclocker app is intended to do, albeit with better results?
BTW, the script you wrote, enter it in terminal emulator?
Click to expand...
Click to collapse
Now, you have to add that to the init.rc file.
KyleK29 said:
Now, you have to add that to the init.rc file.
Click to expand...
Click to collapse
I'm adb ignorant, so I'm guessing it involves using adb, or if not, exactly how is that done? What program do you use to open/edit init.rc?
screwthe49ers said:
I'm adb ignorant, so I'm guessing it involves using adb, or if not, exactly how is that done? What program do you use to open/edit init.rc?
Click to expand...
Click to collapse
depends. The init.rc is in the boot.img.
You would have to extract the ramdisk from the boot.img, uncpio it, edit the init.rc file, repack the boot.img and either fastboot the boot.img or put it in an update package and reflash.
I can edit the init.rc.
ccyrowski said:
depends. The init.rc is in the boot.img.
You would have to extract the ramdisk from the boot.img, uncpio it, edit the init.rc file, repack the boot.img and either fastboot the boot.img or put it in an update package and reflash.
I can edit the init.rc.
Click to expand...
Click to collapse
So it looks like you would use notepad to add it to the file?
Or, couldn't you use root explorer on the phone itself to make the changes?
Time to PM Drizzy and JAC.
harpreet1988 said:
Time to PM Drizzy and JAC.
Click to expand...
Click to collapse
I already hit up cyanogen!
already on it haha
justanothercrowd said:
already on it haha
Click to expand...
Click to collapse
Let us know if it works, since it'd be so easy to make the change using root explorer.
harpreet1988 said:
Time to PM Drizzy and JAC.
Click to expand...
Click to collapse
ahha seriously.
johnnylicious said:
ahha seriously.
Click to expand...
Click to collapse
You wanna try making the file edit? It's so tempting!!
screwthe49ers said:
You wanna try making the file edit? It's so tempting!!
Click to expand...
Click to collapse
i wished i knew how sorry lol
johnnylicious said:
i wished i knew how sorry lol
Click to expand...
Click to collapse
It looks like root explorer could do it...
I'm about to try it myself.
Will post back with results asap.
DON'T DO THIS!!!
You know I am using setcpu and I had it set to max 528 but I changed it to 384, left it for a few minutes and now I am playing with it and it does feel a little snappier. I wonder why that is. I remember some discussion about overclocking and the restriction of the hardware/OS bottlenecking the processor at a certain point. Would this have something to do with it, or maybe it's just psychosomatic, we believe that it's faster so it feels that way. A placebo affect maybe
Edit: I also found that using Advanced Task Manager differently helped. I used to have it kill all process and it would feel like my phone would bog down afterwards. So I tried using it without killing anything and it felt snappier. So I set it up to leave the background processes and just kill apps that I exit out of and it feels a little better. Just FYI for anyone else that uses a task manager
Do we set max and min both to 384, or the default max 384, min 245?
harpreet1988 said:
Do we set max and min both to 384, or the default max 384, min 245?
Click to expand...
Click to collapse
Set 384 to the max. You can set the minimum to 245 to save a little on battery, or set it to 384 as well to eliminate the "hibernation" mode, like on a pc.
How do I check the CPU Temp on the tf? I tried d/l a few apps but none of them seem to work or compatible. Any suggestion?
Get a app fron Antutu called CPU MASTER. This is an app that allows for overclocking and such.....if you do not have an overclocking kernel....DO NOT USE IT!!!
However it comes with a nice little widget that will display your temp, battery life and other stuff. You can use that.
If you do decide to use an overclocking kernel just go to this thread.
http://forum.xda-developers.com/showthread.php?t=1109630
Digiguest said:
Get a app fron Antutu called CPU MASTER. This is an app that allows for overclocking and such.....if you do not have an overclocking kernel....DO NOT USE IT!!!
However it comes with a nice little widget that will display your temp, battery life and other stuff. You can use that.
If you do decide to use an overclocking kernel just go to this thread.
http://forum.xda-developers.com/showthread.php?t=1109630
Click to expand...
Click to collapse
Why shouldn't you use it with a stock kernel?
The kernel is what controls the possible speeds, not the app. The app is just an interface to allow the user to set what the kernel has already provisioned.
sassafras
sassafras_ said:
Why shouldn't you use it with a stock kernel?
The kernel is what controls the possible speeds, not the app. The app is just an interface to allow the user to set what the kernel has already provisioned.
sassafras
Click to expand...
Click to collapse
I know that but there is always a possibility that if a setting was activated higher than his stock kernel allows it COULD cause trouble.
It is a "Just in case" scenario.
Digiguest said:
I know that but there is always a possibility that if a setting was activated higher than his stock kernel allows it COULD cause trouble.
It is a "Just in case" scenario.
Click to expand...
Click to collapse
You don't understand what I am saying.
The kernel controls things like clock speed, voltage, yadda yadda, etc. This app just interfaces with these kernel settings to allow the user to select them.
Try it for yourself. You will see that it only lets you select up to 1Ghz with the stock kernel. It's actually kind of nice for people with the stock kernel because it allows you to _underclock_ your device if you want.
sassafras
sassafras_ said:
You don't understand what I am saying.
The kernel controls things like clock speed, voltage, yadda yadda, etc. This app just interfaces with these kernel settings to allow the user to select them.
Try it for yourself. You will see that it only lets you select up to 1Ghz with the stock kernel. It's actually kind of nice for people with the stock kernel because it allows you to _underclock_ your device if you want.
sassafras
Click to expand...
Click to collapse
Oh I understand what you are saying. Lower your ego and try to understand what I am saying as well please.
Digiguest said:
Oh I understand what you are saying. Lower your ego and try to understand what I am saying as well please.
Click to expand...
Click to collapse
Ok, sorry. I don't mean to be rude but you're wrong and telling someone wrong information.
Try it for yourself and you'll see that you can't change anything the kernel doesn't allow.
Plenty of people use the OC apps like this one (or SetCPU) to underclock their device or add speed profiles for certain situations.
sassafras
This free widget includes the TF temperature. Scroll down to see an example image of the System info it displays.
[APP] Resizable System Info Widget
3DSammy said:
This free widget includes the TF temperature. Scroll down to see an example image of the System info it displays.
[APP] Resizable System Info Widget
Click to expand...
Click to collapse
it's the battery temp, not cpu. i couldn't find any app or widget to see my cpu temp.
cat /sys/devices/platform/tegra-i2c.3/i2c-4/4-004c/ext_temperature
I wrote a script to display many other things (batt temp and current CPU mv) ... but that is the CPU temp. There is also
cat /sys/devices/platform/tegra-i2c.3/i2c-4/4-004c/temperature
But the thermal throttling policies refer to ext - and both values are very close to each other. Ext also happens to have more precision (.25 degC as opposed to rounding up or down to the nearest degree). So I look at ext.
echo -e "\033[0m Your CPU/System temp is: " "\033[1m `cat /sys/devices/platform/tegra-i2c.3/i2c-4/4-004c/ext_temperature`"
Writing this in a 'script', making it executable, and calling it whatever will make it so you do not have to type the long path above.
Thus, in term emulator - it would look like this.
# whatever
Your CPU/System temp is: 40.0
Wow. Fancy.
Blades said:
cat /sys/devices/platform/tegra-i2c.3/i2c-4/4-004c/ext_temperature
I wrote a script to display many other things (batt temp and current CPU mv) ... but that is the CPU temp. There is also
cat /sys/devices/platform/tegra-i2c.3/i2c-4/4-004c/temperature
But the thermal throttling policies refer to ext - and both values are very close to each other. Ext also happens to have more precision (.25 degC as opposed to rounding up or down to the nearest degree). So I look at ext.
Click to expand...
Click to collapse
You are the man ! I was looking for this.
Galaxy core is a mid-range android device with android 4.1.2....The device doesn't has many features and although the device lags too much!!!!
This thread is created for them who want there galaxy core lag free !!! But you can't make too fast and you can't remove all lag!!! You can use your device smoothly....
**Some of this tweaks will also improve your battery life**
**Before doing anything backup your current rom because device is yours...I'm not responsible for anything cause in your device....So, Let's start!!**
**You need**
1.A rooted galaxy core... {It'll be good if cwm is installed}
2.Stock rom will best for this!!
3.Some apps...Links are below!!
**Go to settings and do the next things**
1.Go to location services and unmark all google data.. {They are useful, So enable them when you need it}
2.Go to developer options and change animator duration scale to 0.5x..
3.Go to display settings and set screen timeout to 15 or 30 seconds...
4.Go to display settings and turn off your soft button light, if you don't need them....
5.Set your brightness low...
**Download the following apps from play store, they'll also make your galaxy core lag free and smooth**
+Startup Cleaner ( Title says everything )
Link: https://play.google.com/store/apps/...eaner&pcampaignid=APPU_PMbPU9D3AdK1uASOs4GAAQ
+Greenify (Hibernates apps without killing them)
Link: https://play.google.com/store/apps/...enify&pcampaignid=APPU_bsbPU5OwKcKfugSUhYHoAg
+Sd Booster ( The title says everything, i use
512 as value)
Link: https://play.google.com/store/apps/...oster&pcampaignid=APPU_pcbPU8fbOYOIuASutYHACw
+No frills CPU ( 1000-200, conservative governor)
Link: https://play.google.com/store/apps/...s+cpu&pcampaignid=APPU_1cbPU9SYLo2QuASbqIHYDQ
+Ram Manager ( I bought the pro version but you can select More free memory option)
Link: https://play.google.com/store/apps/...nager&pcampaignid=APPU__cbPU47QL8q8uASKs4KgDQ
That's all!!! Hope you like it!!!
Sorry, for posting this in themes and apps...how can I transfer it to Android development???
Trelivision said:
Wouldn't enabling Power-Saving Mode make it lag more?
Click to expand...
Click to collapse
Nope!!!
Trelivision said:
It would make it lag, tap on Power-Saving Mode in the Settings Option. (Don't enable it, just tap it). It limits the CPU and if you tap 'Learn More About Power Saving Mode. It says it reduces the frame-rate of the screen. That means lag
See the SS.
Click to expand...
Click to collapse
Bro enable power saving and remove the tick from limit cpu usage only tick on sceen power saving...that will not make device lag
Always press the thanks button if helped
Trelivision said:
It also reduces the screen frame-rate though, and there isn't a setting to control that.
Click to expand...
Click to collapse
It already said that, it'll not affect on normal usage..
Then why so serious???
Enabling Power Saving mode increases lag, see the help section,, it has two sections : Limiting CPU usage to full and other one is lower FPS both will increase lag.
If you wanna move thread to Android Development PM any mod to do so.
Mach5 said:
Enabling Power Saving mode increases lag, see the help section,, it has two sections : Limiting CPU usage to full and other one is lower FPS both will increase lag.
If you wanna move thread to Android Development PM any mod to do so.
Click to expand...
Click to collapse
Thanks, I've edited the post!!!!
Why so serious???
Press the Thanks button!!!
These settings reduces lags in heavy applications.
Mach5 said:
These settings reduces lags in heavy applications.
Click to expand...
Click to collapse
Yeah!!!
Why so serious???
Press the Thanks button!!!
How are u using 8192 as value in sd booster? (What is the colour of the number?)
without root..
Can I make my galaxy core fast without rooting....??
irish dean said:
Can I make my galaxy core fast without rooting....??
Click to expand...
Click to collapse
Yup.... I think you should use clean master....and always clean your ram and recent apps!!!
mushrat farshin said:
Yup.... I think you should use clean master....and always clean your ram and recent apps!!!
Click to expand...
Click to collapse
Hey, Can u answer my question? What is the colour of the number in the cache (SD booster)
MercuryxLion said:
Hey, Can u answer my question? What is the colour of the number in the cache (SD booster)
Click to expand...
Click to collapse
oh!sorry...I can't understand what are telling...
It will be good if you give me screenshots...
mushrat farshin said:
oh!sorry...I can't understand what are telling...
It will be good if you give me screenshots...
Click to expand...
Click to collapse
Let me explain myself, in SD booster. The value that you use its 8192 I only want to know if the colour of that number is purple, green or red. Can u put a screenshoot?
MercuryxLion said:
Let me explain myself, in SD booster. The value that you use its 8192 I only want to know if the colour of that number is purple, green or red. Can u put a screenshoot?
Click to expand...
Click to collapse
It's green...!!
mushrat farshin said:
It's green...!!
Click to expand...
Click to collapse
What class of sd do you use? And how many memory does it have? I mean, my sd is kingston 32 Gb class 10. And I can only use 512 as value.
MercuryxLion said:
What class of sd do you use? And how many memory does it have? I mean, my sd is kingston 32 Gb class 10. And I can only use 512 as value.
Click to expand...
Click to collapse
Sorry..I didn't check my post...I typed it wrong.. It should be 512..
mushrat farshin said:
Sorry..I didn't check my post...I typed it wrong.. It should be 512..
Click to expand...
Click to collapse
Ahhhh!! xDDD It was strange for me that with a high quality sd I was only able to use 512 as cache. Ty for you post
Other tips on battery saving and performance
1.Use another launcher. Touchwiz Home is quite laggy and uses alot of resources. Select a new default launcher and freeze Touchwiz using link2sd
(search for it in play store, it requires root)
2. Using link2sd, also freeze weather daemon and widget and yahoo news and widget. You can also freeze the native music player as it also uses alot of resources and use poweramp (for example) instead.
3. Uninstall useless, unused apps. This will save you memory and make your device faster.
4. Wipe Dalvik Cache. Every now and then, whipe your dalvik cache.
This is L Speed's suggestions thread.
You can suggest/request features for the app, and it might get approved.
Just tag Paget96 in your comment.
The "fake" dynamic f-sync from within the application, similar to the aggressive doze feature in how it works. @Paget96 knows what I'm talking about !
LazerL0rd said:
The "fake" dynamic f-sync from within the application, similar to the aggressive doze feature in how it works. @Paget96 knows what I'm talking about !
Click to expand...
Click to collapse
Yeah, i know, we already had a little discussion.
What if battery profile for hotplug gov in gov tuner is set like this
Down differential 5
Up threshold 95
I follow the tutorial for my device from here & it perhaps suitable for most device
https://forum.xda-developers.com/galaxy-s2/general/ref-kernel-governors-modules-o-t1369817
I have tried it, device is cooler & could save more battery especially with small number on down differential. With smaller number cpu freq will go down faster ?
Sent from my Z205 using Tapatalk
zputnyq said:
What if battery profile for hotplug gov in gov tuner is set like this
Down differential 5
Up threshold 95
I follow the tutorial for my device from here & it perhaps suitable for most device
https://forum.xda-developers.com/galaxy-s2/general/ref-kernel-governors-modules-o-t1369817
I have tried it, device is cooler & could save more battery especially with small number on down differential. With smaller number cpu freq will go down faster ?
Sent from my Z205 using Tapatalk
Click to expand...
Click to collapse
Will do a check and talk with GovTuner devs.
Sent from my Nexus 5 using Tapatalk
zputnyq said:
What if battery profile for hotplug gov in gov tuner is set like this
Down differential 5
Up threshold 95
I follow the tutorial for my device from here & it perhaps suitable for most device
https://forum.xda-developers.com/galaxy-s2/general/ref-kernel-governors-modules-o-t1369817
I have tried it, device is cooler & could save more battery especially with small number on down differential. With smaller number cpu freq will go down faster
Sent from my Z205 using Tapatalk
Click to expand...
Click to collapse
@Debuffer @N1m0Y
Add option to exclude apps from clearing cache is my suggestions.
I want to clear cache except NFS: No Limits that store game assets in cache partition
Developers that make the game store the cache in cache partition, don't know how to make proper OBB or store cache in /sdcard0/Android/data
evildog1 said:
Add option to exclude apps from clearing cache is my suggestions.
I want to clear cache except NFS: No Limits which store game assets in cache partition
Click to expand...
Click to collapse
That's a pretty good suggestion, hope he'll implement it
I have more suggestions.
Auto trim, with options to change Trim Time, Trim Frequency, and Trim Notification. I have older low-end tablets that require trimming often because they slow down after 1-2 days deep sleep. The kernel in my tablets are not well optimized.
Disable apps startup. It is very useful because some apps auto start and running in background and draining battery and transmit some data. I don't use Facebook and other heavy battery drain apps but it is annoying that some browsers auto start and running in background. Right now i'm using a cleaner app that have option to disable apps from startup
evildog1 said:
Disable apps startup. It is very useful because some apps auto start and running in background and draining battery and transmit some data. I don't use Facebook and other heavy battery drain apps but it is annoying that some browsers auto start and running in background. Right now i'm using a cleaner app that have option to disable apps from startup
Click to expand...
Click to collapse
+1
evildog1 said:
Add option to exclude apps from clearing cache is my suggestions.
I want to clear cache except NFS: No Limits that store game assets in cache partition
Developers that make the game store the cache in cache partition, don't know how to make proper OBB or store cache in /sdcard0/Android/data
Click to expand...
Click to collapse
Hope it's not too much of OT, but that is one great game for mobile! Apparently you can change the graphics or something.
---------- Post added at 01:03 AM ---------- Previous post was at 01:02 AM ----------
phoberus said:
+1
Click to expand...
Click to collapse
You'd need ADB for that, well actually you can use root. I've been using "App Ops" but yeah, that'll be cool to have in L Speed (^^)!
Paget96 said:
@Debuffer @N1m0Y
Click to expand...
Click to collapse
Oh it's different devs.
Maybe these could also help for building gov tuner scripts on mtk devices.
I got these links from someone here but forgot the name. He/she said that mtk mostly may come with these
https://android.googlesource.com/ke...-kitkat-mr2/drivers/cpufreq/cpufreq_balance.c
https://android.googlesource.com/kernel/mediatek/+/2b36ee80fc7af58da2213704ef39a0ca939de79a^!/
@Debuffer & @N1m0Y
Thank you so much for forwarding bro @Paget96
Sent from my Z205 using Tapatalk
L Speed will have few things from suggestions in next beta.
Stay tuned
Sent from my Nexus 5 using Tapatalk
@Paget96
How about this one?
https://forum.xda-developers.com/android/apps-games/root-battery-charge-limit-t3557002
evildog1 said:
I have more suggestions.
Disable apps startup. It is very useful because some apps auto start and running in background and draining battery and transmit some data. I don't use Facebook and other heavy battery drain apps but it is annoying that some browsers auto start and running in background. Right now i'm using a cleaner app that have option to disable apps from startup
Click to expand...
Click to collapse
i am quite a noob but im am sure that MOST rom already include this feature. am i wrong?
in miui like other roms...there are options to disable specific apps from starting themselves...... i think that L speed app should never become an oversized all in 1 app........ there are other apps for battery life that works differently.
however i still have to understand well how precisely this app works.... could someone say me what are the PRECISE POINTS where Lspeed make a tweak?
i think:
1) build.prop
2)scripts at startup that modify/optimize the governors
3) ??
4)????
realista87 said:
i am quite a noob but im am sure that MOST rom already include this feature. am i wrong?
in miui like other roms...there are options to disable specific apps from starting themselves...... i think that L speed app should never become an oversized all in 1 app........ there are other apps for battery life that works differently.
however i still have to understand well how precisely this app works.... could someone say me what are the PRECISE POINTS where Lspeed make a tweak?
i think:
1) build.prop
2)scripts at startup that modify/optimize the governors
3) ??
4)????
Click to expand...
Click to collapse
Read L Speed's OP. Every info you need is there.
realista87 said:
i am quite a noob but im am sure that MOST rom already include this feature. am i wrong?
in miui like other roms...there are options to disable specific apps from starting themselves...... i think that L speed app should never become an oversized all in 1 app........ there are other apps for battery life that works differently.
Click to expand...
Click to collapse
My device does not have this option unfortunately.
Maybe you can add compatibility in govtuner for Energy Aware Scheduling (EAS) govs.
I don't use a kernel with EAS, but there are more and more kernel with it
phoberus said:
Maybe you can add compatibility in govtuner for Energy Aware Scheduling (EAS) govs.
I don't use a kernel with EAS, but there are more and more kernel with it
Click to expand...
Click to collapse
I need a kernel with EAS support that i can do testing
Paget96 said:
I need a kernel with EAS support that i can do testing
Click to expand...
Click to collapse
We can look how EAS is developing in the future. If it is widespread, there will be for sure also a kernel for your smartphone
L Speed will again get new option, this time we will control laptop_mode. It allow us to reduce number of writes which improve battery life of our devices.
For HDDs it spin them down and flush the data every x second.
For SSDs (or any other flash storage) it will reduce the number of writes, which improves the lifetime of an SSD, and laptop mode makes writes bursty.
Download an APK from the attachment.
Governor tuner is broken on this build, so don't report it.
If you want you can support me over ad clicks or you can donate here:
http://paypal.me/Paget96
Thanks for support ^^
Paget96 said:
L Speed will again get new option, this time we will control laptop_mode. It allow us to reduce number of writes which improve battery life of our devices.
For HDDs it spin them down and flush the data every x second.
For SSDs (or any other flash storage) it will reduce the number of writes, which improves the lifetime of an SSD, and laptop mode makes writes bursty.
I have few questions:
1. Do you want simple toggle which will set flushing every 5 seconds or do you want a spinner where you can chose between (disabled, 1, 2, 5, 10)?
2. What do you think which name will settle good for it?
If you want you can support me over ad clicks or you can donate here:
http://paypal.me/Paget96
Thanks for support ^^
Click to expand...
Click to collapse
I'd like a simple toggle.
So I'm in favor of flushing every 5sec
mittalanmol22 said:
I'd like a simple toggle.
So I'm in favor of flushing every 5sec
Click to expand...
Click to collapse
Idea for the name?
Paget96 said:
Idea for the name?
Click to expand...
Click to collapse
Data Flush or Data Flusher
D1stRU3T0R said:
Data Flush or Data Flusher
Click to expand...
Click to collapse
What about "Reduce drive writes"?
Paget96 said:
What about "Reduce drive writes"?
Click to expand...
Click to collapse
Will you incorporate it in IO Tweaks or you will make a totally new "topic" for it in LSpeed?
Reduce drive writes sound like an exclamation, and that's (in my opinion) not soo good
D1stRU3T0R said:
Will you incorporate it in IO Tweaks or you will make a totally new "topic" for it in LSpeed?
Reduce drive writes sound like an exclamation, and that's (in my opinion) not soo good
Click to expand...
Click to collapse
It'll be in battery section, since main goal of it is battery improvement.
Read more:
https://wiki.archlinux.org/index.php/Laptop_Mode_Tools
What about calling it just "Reduce Drive Speed" or "Reduce Drive Performance"?
Banayat said:
What about calling it just "Reduce Drive Speed" or "Reduce Drive Performance"?
Click to expand...
Click to collapse
Mmm, nope, because it doesn't reduce drive speed or performance. In case it's HDD (rotational device) it'll spin it every x second to write data, in case of Flash storage (non-rotational) it'll write data every x seconds. So we have to find some good name for it.
Paget96 said:
Idea for the name?
Click to expand...
Click to collapse
Data flush timer?
mittalanmol22 said:
Data flush timer?
Click to expand...
Click to collapse
Mmm, "timer" not stands well, because in case we have "timer" in name we should provide a timer option, not a toggle On/Off.
Paget96 said:
What about "Reduce drive writes"?
Click to expand...
Click to collapse
I'll go with this one. Since it kind off gives idea about toggle without reading description.
Sent from my sprout4 using XDA Labs
Paget96 said:
L Speed will again get new option, this time we will control laptop_mode. It allow us to reduce number of writes which improve battery life of our devices.
For HDDs it spin them down and flush the data every x second.
For SSDs (or any other flash storage) it will reduce the number of writes, which improves the lifetime of an SSD, and laptop mode makes writes bursty.
I have few questions:
1. Do you want simple toggle which will set flushing every 5 seconds or do you want a spinner where you can chose between (disabled, 1, 2, 5, 10)?
2. What do you think which name will settle good for it (imo Reduce drive writes)?
If you want you can support me over ad clicks or you can donate here:
http://paypal.me/Paget96
Thanks for support ^^
Click to expand...
Click to collapse
Wow great.
1. I choose 5 sec.
2. Storage spinner :laugh:
harsh. said:
I'll go with this one. Since it kind off gives idea about toggle without reading description.
Sent from my sprout4 using XDA Labs
Click to expand...
Click to collapse
Ok thanks
zputnyq said:
Wow great.
1. I choose 5 sec.
2. Storage spinner :laugh:
Click to expand...
Click to collapse
Thanks, i already set 5 secs and took a simple toggle for it.
I can't still decide which name to use.
Paget96 said:
Ok thanks
Thanks, i already set 5 secs and took a simple toggle for it.
I can't still decide which name to use.
Click to expand...
Click to collapse
It's up to u mate drive writes reducer might be great too
Paget96 said:
I have few questions:
1. Do you want simple toggle which will set flushing every 5 seconds or do you want a spinner where you can chose between (disabled, 1, 2, 5, 10)?
2. What do you think which name will settle good for it (imo Reduce drive writes)?
Click to expand...
Click to collapse
- spinner (1-5 in 1 sec increments + 10-30 in 5 sec increments)
- data flush timer or write deferral timer
- "Reduce drive writes" implies a reduction in overall rates (inaccurate) vs write deferral
Davey126 said:
- spinner (1-5 in 1 sec increments + 10-30 in 5 sec increments)
- data flush timer or write deferral timer
- "Reduce drive writes" implies a reduction in overall rates (inaccurate) vs write deferral
Click to expand...
Click to collapse
Ok, thank you for suggestions
Apk uploaded, check first post.
Paget96 said:
Apk uploaded, check first post.
Click to expand...
Click to collapse
Thanks​ for the hard work
Hmm, I couldn't test your app as it cannot be started. There is just an error ("L Speed has stopped") appearing