yashsingh1/xdaforums huggingface dataset:
[Nexus S Themes and Apps] loonieryan:
I'm on CM9 stable (9.1.0) with Semaphore 1.3.0 and have run into a problem changing the CPU's minimum frequency:

E/Utils (10426): Error writing to /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq. Exception:
E/Utils (10426): java.io.IOException: write failed: EINVAL (Invalid argument)
E/Utils (10426): at libcore.io.IoBridge.write(IoBridge.java:452)
E/Utils (10426): at java.io.FileOutputStream.write(FileOutputStream.java:187)
E/Utils (10426): at java.io.OutputStreamWriter.flushBytes(OutputStreamWriter.java:167)
E/Utils (10426): at java.io.OutputStreamWriter.close(OutputStreamWriter.java:140)
E/Utils (10426): at com.android.settings.Utils.fileWriteOneLine(Utils.java:481)
E/Utils (10426): at com.android.settings.cyanogenmod.Processor.onPreferenceChange(Processor.java:233)
E/Utils (10426): at android.preference.Preference.callChangeListener(Preference.java:885)
E/Utils (10426): at android.preference.ListPreference.onDialogClosed(ListPreference.java:265)
E/Utils (10426): at android.preference.DialogPreference.onDismiss(DialogPreference.java:381)
E/Utils (10426): at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1228)
E/Utils (10426): at android.os.Handler.dispatchMessage(Handler.java:99)
E/Utils (10426): at android.os.Looper.loop(Looper.java:137)
E/Utils (10426): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/Utils (10426): at java.lang.reflect.Method.invokeNative(Native Method)
E/Utils (10426): at java.lang.reflect.Method.invoke(Method.java:511)
E/Utils (10426): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/Utils (10426): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/Utils (10426): at dalvik.system.NativeStart.main(Native Method)
E/Utils (10426): Caused by: libcore.io.ErrnoException: write failed: EINVAL (Invalid argument)
E/Utils (10426): at libcore.io.Posix.writeBytes(Native Method)
E/Utils (10426): at libcore.io.Posix.write(Posix.java:178)
E/Utils (10426): at libcore.io.BlockGuardOs.write(BlockGuardOs.java:191)
E/Utils (10426): at libcore.io.IoBridge.write(IoBridge.java:447)
E/Utils (10426): ... 17 more

Any ideas how to fix this?
[Nexus S Themes and Apps] Athhar:
Wow simply awesome... used it to hide my capacitive buttons in aokp..
[Nexus S Themes and Apps] RoomiiShami:
Very gud app simply luvng it on my Nexus S pa 2.22
[Nexus S Themes and Apps] :
https://github.com/bedalus/marmite/commit/1233dccbb628d2b96a69c08553af7f7283c42c3a

I've just solved a notorious and annoying bug that occurs in ICS and Jellybean when you try to set 100MHz for the minimum frequency, it resets to 200MHz.

It turned out to be a kernel issue introduced in the PVR power management code.

A lot of crap has been said about this bug being caused by NSTools, and it turns out this was completely false.
[Nexus S Themes and Apps] shrekdaklown:
as far as the 100mhz 200 mhz goes the cpu's in our phones use less power at 200mhz than 100mhz that's why most kernels have it set like that and its more efficient to run it at a 200mhz min because the proccesser can complete tasks quicker again using less power its a very tiny difference but every little bit counts when it comes to smart phone batterys
[Nexus S Themes and Apps] sperelli:
+3 :good:
[Nexus S Themes and Apps] djlukas1983:
How to enable governor setting in nstools on SGS CM10? I tried to fix permissions in CWM but it didn't help me.

Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
[Nexus S Themes and Apps] assassinoid:
best tool i've ever used on Nexus S
[Nexus S Themes and Apps] getburnt:
hi there, may i know why does this app need the permission to access personal data / contacts?

sorry i didn't read the first post before asking.

so why it would read missed calls?
[Nexus S Themes and Apps] dpeeps74:
For BLN when you miss a call.
[Nexus S Themes and Apps] amicog:
quote, i have the same problem with my nexus s...

Inviato dal mio GT-P7510 con Tapatalk 2
[Nexus S Themes and Apps] tisazalay:
Excuse me for posting here because I have an international S3 and just got know this wonderful app but sadly I can't change the governor either, while using NSTools 1.16 and Siyah kernel 1.7.

Is there anything special I need to do to be able to change it?

Feel free to PM if I posted wrong or am cluttering the thread and in the later, please delete my post.

Best regards,
[Nexus S Themes and Apps] arifhn:
Did you grant superuser permission?
[Nexus S Themes and Apps] amicog:
.... obviously... :D

Inviato dal mio Nexus S con Tapatalk 2
[Nexus S Themes and Apps] eddy_nugroz:
hey :confused:

I can't set cpu Governor

please fix it :)

Thanks
[Nexus S Themes and Apps] ej8989:
Your kernel does not support changing governors.
[Nexus S Themes and Apps] raducux:
You need to fix permissions ...after that ..if your kernel has multiple governor options, you'll be able to change it
[Nexus S Themes and Apps] Cu8eR:
Feature request:

add option to BLN:

- turn off BLN notification below XX% of your battery

- add sheduler - for example from 21:00 to 4:00 led notification is turn off automatically

- add an option for time out for leds
[Nexus S Themes and Apps] yum1096:
Hi,

Instead, thanks for this userful app ;)

But, using marmite kernel 7.1.4 on jellyshot (rom based on android 4.2 jelly bean) I can't change the governor, so I download rom toolbox....

can you add the support fot the marmite kenel?? thanks ;)

_____________

Sorry for my bad english :D
[Nexus S Themes and Apps] metalmoot:
I think it's a ROM related problem 'cause I have slimbean 3.1 with marmite and it works like a charm with nstools

Envoyé depuis mon Nexus S avec Tapatalk
[Nexus S Themes and Apps] ui10:
Hello,

I installed NSTOOLS and activate BLN Notification which works fine. But when i reboot there was a "bootloop". So i reboot on recovery and change the kernel (wippe cache). After that the app Nstools whas not more installed. So I re-install it with the play Store and have the error "24". I try after on recovery the 'reset_nstools_20120405' which do not work cause it dont find files whereas the /data and /system was mounted.

Now i cannot install the great app Nstools : the error is application not installed.

I have Nexus S 4.2.1 Kernel Marmite 7.1.2 CM.

Is there file to delete somewhere ? Is there any log of the setup ?

Sorry for my bad english
[Nexus S Themes and Apps] pacorrop:
Hi folks,

On CM10 - Marmite v7.2 the charge and BLN options are missing for me. Any suggestions? Previously I had AOKP and everything OK.

Yeah, suspicious... :) but can you confirm is a CM issue?

EDIT: OK, updated kernel Marmite with the CM I/O functions. Never mind
[Nexus S Themes and Apps] yum1096:
I've done a fix permission and now it's work fine ;)
[Nexus S Themes and Apps] ilnanny:
Thanks for your awesome work! :thumbup:

Inviato dal mio Nexus S
[Nexus S Themes and Apps] Gingo21:
Thanks for you good apps ! Awesome :)
[Nexus S Themes and Apps] darius0519:
I missed this app on my new nexus. I wish you can also develop a tool like this for the Nexus 4. :D
[Nexus S Themes and Apps] androidgalaxyman:
NS Tools not working

Dear arifhn,

i can't able to see the governor settings in Ns tools. even i did fixed permissions. can you please suggest any ideas?

I9000/BackedBean Macaky 0.239/Ns tools 1.16:silly:
[Nexus S Themes and Apps] leap_ahead:
intall nstools again then fix permission
[Nexus S Themes and Apps] shakeebfarhat:
thnx
[Nexus S Themes and Apps] androidgalaxyman:
No use i tried it

No use i tried it...:mad:
[Nexus S Themes and Apps] helmkeren:
Same.. Happened to me also..

Governor not available
[Nexus S Themes and Apps] amicog:
You have to perform a fix permission in recovery :thumbup:

It works for me

Inviato dal mio GT-I9100 con Tapatalk 2
[Nexus S Themes and Apps] schorsch.funke:
This does not work for me

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Nexus S Themes and Apps] dundee81:
Missing settings

I can't enable blink status, because I can't see it in application on Galaxy Ace (GT-S5830).

Could someone help me with it, please?

I use CM9 by MaclawStudio. I'm able to enable backlight notification, but without blinking.
[Nexus S Themes and Apps] newbie1908:
Blinking i not working anymore. Should i change kernel? What's kernel supports JB 4.3
[Nexus S Themes and Apps] Pee Pie:
Mamadien

[YOUTUBE][/YOUTUBE]Hi, You.
[Nexus S Themes and Apps] jellspawn766:
Good 👍
[Nexus S Themes and Apps] falco-tek:
Para ajustar perfeitamente tem que atualizar por módulos. Assim atualizando por módulos.
[Nexus S Themes and Apps] arifhn:
the new version have a setting to disable restore on boot

if you want to reset config, uncheck that setting.

On next reboot all setting will back to default (make sure you don't have init scripts that changing those values)

which kernel do you use?
[Nexus S Themes and Apps] bearsblack:
i keep up to date with the matr1x
[Nexus S Themes and Apps] thoth77:
Thanks for your work :)
[Nexus S Themes and Apps] :
Just wanted to say thanks!

Sent from my SNES
[Nexus S Themes and Apps] thoth77:
New Version

The New Version!

Cool! :)
[Nexus S Themes and Apps] lukappaseidue:
GREATTTTTTTTTTT

Ottimo lavoro

Good job.
[Nexus S Themes and Apps] N3RO815:
Thx for the new Version.
[Nexus S Themes and Apps] Mecid8:
Thanks for new version! man you are great!
[Nexus S Themes and Apps] d_phekt:
I'm not sure what it may be related to, but I installed the updated NSTools on the latest MIUI 1.11.11 with GLaDOS V1.4 My phone would instantly freeze as soon as Superuser granted permissions to NSTools after reboot. I uninstalled and haven't had a freeze up yet. Anyone else with the same Rom/Kernel have the same issue? I used NSTools on MIUI 1.11.4 and GLaDOS V1.4 with no problems. Since both MIUI and NSTools were both updated today I don't know which one could be causing my problem.
[Nexus S Themes and Apps] X1111:
mine with Matr1x 10.5 and NSTools 1.4 it crashes and hangs a few seconds after boot :confused:
[Nexus S Themes and Apps] thoth77:
Try this

Try this please

http://xdaforums.com/showpost.php?p=19283313&postcount=4679
[Nexus S Themes and Apps] arifhn:
Do you set very low voltage before? Try reset nstools setting.
[Nexus S Themes and Apps] arifhn:
Also apply reset_nstools.zip if you can't boot.

Because nstools running after init script.
[Nexus S Themes and Apps] Romonster:
I dunno how this is happening but I noticed a good thing. If I reboot normally, the voltages stick but if the phone crashes the voltages get back to stock values.

This is convenient :)
[Nexus S Themes and Apps] arifhn:
After reading several people got problem with voltage setting (even with default)

I will add checkbox 'use default voltage' on custom voltage tab. So if user want to change voltage, they must uncheck that seting first. Otherwise nstools won't touch the voltage value.

What do you think?
[Nexus S Themes and Apps] bearsblack:
so no idea why i cant download this from the market? maybe u can hook me up with a flashable zip or some alternative?
[Nexus S Themes and Apps] HeavenlyWinds:
This is amazing. Great work man. I can tweak everything from ezekeels mods to the cpu max frequencies. Thanks!!
[Nexus S Themes and Apps] thoth77:
Good Idea

Good Idea :)
[Nexus S Themes and Apps] X1111:
i knew reset_nstools.zip but i want to use the app

hey man i should thank you for your great tool :)

that can be good
[Nexus S Themes and Apps] idelgado782:
Very nice additions!!! Thank you so being so responsive to the thread and us posters! Do you have a donate link? You definitely have earned a donation!
[Nexus S Themes and Apps] mixtapes08:
Thanks to you man. Life is so much easy now...
[Nexus S Themes and Apps] elk80:
Hey I have a problem with your tool.

When I reboot the nexus s it shutdown while loading the homescreens.

I have all options disabled but it is still the same.

ROM: NSCollab 1.0.50

Kernel: Matr1x-cfs_v10.5

I have a i9023.
[Nexus S Themes and Apps] bearsblack:
anyone else have a ns4g and not able to download this from the market??
[Nexus S Themes and Apps] skinner12:
Great tools!! Very useful that new upgrade...
[Nexus S Themes and Apps] belvedere:
I've got a NS4G and have not had an issue downloading from the market. What's the error?
[Nexus S Themes and Apps] arifhn:
I have no idea. Maybe try using web browser on pc, and see why your device incompatible.

Its caused by int voltage problem. In some kernel the default value is too low.

I will change nstools in voltage settings to prevent that problem.
[Nexus S Themes and Apps] bearsblack:
it just says this item is not compatible with my device. so theres no download/install option... weird....

---------- Post added at 06:25 PM ---------- Previous post was at 06:20 PM ----------

same issue. can u please pm me with the file directly?
[Nexus S Themes and Apps] arifhn:
Ok i will create flashable zip for you.

The reason i put it only on android market is to make people easy to update.
[Nexus S Themes and Apps] chinopski:
can someone please

can someone please upload the latest nstools, im also having a hard time getting it from the app market :) help will be very much appreciated. :)

---------- Post added at 02:13 AM ---------- Previous post was at 02:11 AM ----------

is the attachment on the first page the flashable zip? and may i know if it is the latest version? :)
[Nexus S Themes and Apps] mrpdaemon:
Great work, thanks for putting this app together. Could you explain what exactly "set on boot" does? Does it create/modify init scripts or does it just run the app at boot time to change the kernel configuration?
[Nexus S Themes and Apps] aic719:
I kinda have a problem.. When I turn my phone on and nsmods starts up and gets super user permission my screen goes crazy and then I have to do a battery pull. I'm running brainmasters miui and I also have no frills CPU installed.. could that be the problem? I'd also like to state that I had no problems till I calibrated my battery.. I've tried it with both matr1x and franco
[Nexus S Themes and Apps] Braneless:
This app is an awesome tool. A suggested improvement for future updates is sliders for the voltage adjustment settings.
[Nexus S Themes and Apps] arifhn:
Its run the app on boot complete to change kernel settings. The effect is same as init scripts.

Old version of nstools always restore settings on boot, but now you can enable/disable it.

I think because you use matrix kernel, its default volt settings are too low. When you change to franco, the value from previous kernel still exists. You need to reset it every time switching kernel.
[Nexus S Themes and Apps] kecinzer:
Thank you for reset_nstools.zip. I installed franco.Kernel after Ezekeel's one and had problems after boot. This helps me.
[Nexus S Themes and Apps] elk80:
ok, can you send me a message or write it in your 1st post if the matr1x kernel is supportet?
[Nexus S Themes and Apps] arifhn:
Its supported, but for now just don't open the custom voltage tab. Once you open the tab it will crash when reboot.

Actually the problem is in the kernel, but i will released new version soon to prevent that problem.
[Nexus S Themes and Apps] aic719:
Yea I had a feeling it was the voltage but I expected franco to fix it. Any suggestions to what I should keep it at?
[Nexus S Themes and Apps] elk80:
don't worked for me.
[Nexus S Themes and Apps] X1111:
today i was thinking about going back to the first version of NSTools

but seems in new version the problem with Matr1x 10.5 is solved

thanks arifhn
[Nexus S Themes and Apps] phone_user:
Super App

must-have app :)
[Nexus S Themes and Apps] phone_user:
Live OC

Live OC included kernels

GLaDOS, franco, Trinity and Matr1x?
[Nexus S Themes and Apps] fede91it:
After setting BLN to OFF and save settings, next time I open NSTools BLN Status is set to "not available". The BLN will be really deactivated, but i can't change it's status more, untile next reboot.

Model i9023

MIUI rom

franco.Kernel or GLaDOS (any version).

Let me know please.
[Nexus S Themes and Apps] Ezekeel:
Great updates. The new idle stats table looks very nice and clean and integrating the reset stats button into the popup is an elegant solution.

One suggestion I have is to rename the option 'Restore on boot' and change the help text. I was not sure if this option would mean that it would make these settings I chose on every boot or if it would revert to the kernel defaults. I think a less confusing name for that option would be 'Set on boot' like SetCPU' is using and change the help text to something like 'Settings will persist across reboots'.

Also please make sure that first the voltages and min/max frequencies are set and after that the OC value. I did not check the code so I dunno how you handle that. Just a reminder.

Confirmed. Something is broken with the BLN switch.

Update: I force-closed and restarted the app and everything is working fine now. Maybe just some remnants of an older version.
[Nexus S Themes and Apps] kancrutt:
+1

+1

it would be nice if BLN have duration settings :)
[Nexus S Themes and Apps] arifhn:
Whats the problem?

No. There is something wrong in BLN setting, i will check it.

About the voltage, i'm sure its the first one (before live oc) but the scaling min/max i'm not sure let me check and change it if incorrect

Thanks
[Nexus S Themes and Apps] phone_user:
Works fine with franco :) Thanks for your great work
[Nexus S Themes and Apps] Mecid8:
Thanks for great app. Can you add minfreemanager values input?
[Nexus S Themes and Apps] insomnia48:
Top app!!!

Just what we needed!

Thanks for all the great work!!!
[Nexus S Themes and Apps] supercluver:
I have the exact same problem using franco.Kernel.
[Nexus S Themes and Apps] bearsblack:
turns out it was the rom i was running, or something.. this is great! thanks a lot!
[Nexus S Themes and Apps] Braneless:
BLN setting is working perfectly for me. Running the latest version of NStools, Brainmaster Miui 1.11.11, Franco 11/13 cfs.

EDIT: I take that back. Just turned BLN off for the first time and now it's unavailable.
[Nexus S Themes and Apps] pyropup55:
this is awesome!!! thanks!
[Nexus S Themes and Apps] v3rk:
my framework crashed last night when i changed my live oc from 105 to 110 with nstools while listening to music. never seen that before, and i've no idea what the culprit could be so i'm posting it here and in ezekeel's kernel thread.

crespo4g

rom: carbon co2 1.1

kernel: glados 1.6

cpu: 1000/400 lazy, stock voltages

mods enabled:

bln

live oc 105 (changed to 110 right before crash)

deep idle
[Nexus S Themes and Apps] wild1z:
Restart your phone it will come back. The dev knows about this issue I believe.

My EDIT, I believe the problem is in Ezek's code, that is what I meant about the dev knowing. Also CM just posted what appears to be an LED clean up on 172. Don't know if that will be related but it might help things.
[Nexus S Themes and Apps] Braneless:
Yeah, it did come back. It's not an issue for me, since I never disable bln. I was just checking on behalf of the other poster.
[Nexus S Themes and Apps] arifhn:
No, the BLN problem is on nstools. (The one that can't enable after disable it. Its differ from Ezekeel's thread) I've found it, but i dont update now coz its not fatal.

I will wait until weekend when i have more time to improve or add more feature.

For this one, i don't think its nstools problem. I think you need to increase arm voltage.
[Nexus S Themes and Apps] wild1z:
If it makes you feel any better I had the same issue with the BLN app too. :) Cheers and thanks for treating us to this nice & easy software. :)
[Nexus S Themes and Apps] arifhn:
Just edit my post. Its another problem, not related to the one that mentioned in Ezekeel's thread
[Nexus S Themes and Apps] wild1z:
Ok thanks buddy. No worries. Glad you are on it. :)
[Nexus S Themes and Apps] Naa Laa:
Hi arifhn,

My problem with BLN is it doesn't work on BLN schedules. I have BLN to be disabled from 10pm to 8am in BLN app but since its active (or ON) in NSTools it runs 24 hours. Is that part of the solution/update you will bring this weekend?

Thank you!
[Nexus S Themes and Apps] GeorgesAbitbol:
Hi,

Thanks for your app, I'm using it for the deepidle function!

I have a question, could someone explain me the purpose of "screen off max freq" for the lazy governor in the CPU tab?

Thanks,

Max
[Nexus S Themes and Apps] v3rk:
Supposed to make the phone enter deep idle state faster, and therefore increase battery life

But there's a bug currently that actually increases battery drain with deep idle enabled, so wait until the kernels get patched up
[Nexus S Themes and Apps] GeorgesAbitbol:
Thanks,

But what's the difference beetween the deepidle function and this one, when the bug will be solved, do I'll have to activate both of them?
[Nexus S Themes and Apps] Flying Fox:
At this moment you´d better disable Deep Idle and reboot your phone. Otherwise this mod would have influence while your device is sleeping in terms of increasing battery drain. That is what the bug causes. You can find test-releases of GlaDOS and Franco, where the bug maybe is already fixed, but the devs. and users are still testing.

Only when deep idle is enabled you can change between screenoff maxfreq ON or OFF, both a behavior concerning deep idle. I´m not sure if this answers your question.
[Nexus S Themes and Apps] GeorgesAbitbol:
You partially answered my question :D I have disabled both until the battery drain is solved on my kernel.

Thanks.

I currently have deepidle disabled (phone rebooted after modification) but I'm able to switch screen off max freq beetween on and off :confused:
[Nexus S Themes and Apps] arifhn:
Screenoff max freq is lazy governor's tweak related to deepidle but not dependant each other.

To set screen off max freq you must use lazy governor.

If its value is on, when the screen is off the phone will use max freq (800mhz). With this behaviour the cpu will run task faster, and then can enter deep idle state soon.

You can read detailed explanation in ezekeel thread.
[Nexus S Themes and Apps] aic719:
And the update fixes all :)
[Nexus S Themes and Apps] hilton502:
can screenoff maxfreq save power？
[Nexus S Themes and Apps] Ezekeel:
I had the problem that after changing the OC value the frequencies in the CPU tab still showed the old frequencies. I had to force-close the app and restart it again to show the correct values. This could be solved by refreshing the available frequencies and the min/max freq every time the CPU tab is opened.
[Nexus S Themes and Apps] arifhn:
Thanks, will update soon.
[Nexus S Themes and Apps] notabene:
What about profiles?

For example I am using noLiveOC + UV for daily use, but for gaming i wanna use something like LiveOC 110 + voltage's up.. Is it possible to add profiles which can be able to set LiveOC, frequencies and voltages? Thanks :)

App is superb!
[Nexus S Themes and Apps] DaX05:
NSTool update is out! :)
[Nexus S Themes and Apps] mixtapes08:
What ia cm led setting? Which kernel support this tweak?

___________________________________

Device: Nexus S

Rom: Latest MIUI

Kernel: Latest GlaDos cfs

Baseband: I9023XXKD1
[Nexus S Themes and Apps] steve.garon:
CM7 default kernel supports it and one variant of my kernel supports it too. Its just a variant of BLN but made btly the CM team.
[Nexus S Themes and Apps] Hamletiano:
Amazing, thanks a lot for the info.

:)
[Nexus S Themes and Apps] Naa Laa:
After the latest update, do we still need to have setcpu installed?? I guess not but wanted to confirm before I uninstall.
[Nexus S Themes and Apps] Flying Fox:
Not necessary to keep installed.

@arifhn: thanks for the update and your great work/support!
[Nexus S Themes and Apps] Tordp:
First I would like to thank you arifhn for a great app. The latest version however introduced a problem with my min/max frequencies. If I OC to 110 and reboot with the "Set on boot" option selected the min frequency will be the same as max frequency (1100/1100) when the phone restarts. This only happens when I use LiveOC in NSTools.

I'm using NSCollab 1.0.60 (CM7 N259) and GLaDOS v1.7 BFS.
[Nexus S Themes and Apps] arifhn:
Thanks, i missed that one.

I've found that we must set liveoc value first, before set scaling min/max.

I'll ask ezekeel if its correct or not.