yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] brenix:
Just saw a post from viperboy here and a script he has to control the voltage settings. One of the features I found handy was to raise/lower all voltages by 5 or whatever.. Just as a suggestion/thought, I think this would be a really cool addition to Proton..Like a button to raise or lower..
[Nexus S Android Development] Jonathon Grigg:
It shouldn't be too hard to do once I get separate boxes ready for each frequency. Give me some time though, I have plenty of things on at the moment.

Sent from my Nexus S
[Nexus S Android Development] Dazog:
No rush, app works great.

Thanks
[Nexus S Android Development] Paleryder:
Great app. May I suggest CPU spy also. You can look at what steppings your CPU is at and how long you were there. I used it alot when clocking my epic
[Nexus S Android Development] Seikoom:
Great app man. Easy.
[Nexus S Android Development] Jonathon Grigg:
Cheers :)

Updates will be here tomorrow hopefully :) translations and such, major updates are coming later.

if anyone can help with translations it would be greatly appreciated!

Sent from my Nexus S
[Nexus S Android Development] ilnanny:
Thank you so much ,
[Nexus S Android Development] spiicytuna:
Forked your source code, per our PM convo, and did a 20 minute breakout of the voltages. I'll do some more tonight and rework the interface a lot more...I am thinking sliders kinda like the voodoo app uses for color would be best for each mhz step. None the less I fixed the one box at the top was driving me nuts. Also put me down for the chinese translation. My quick edits are here for install: http://spiicytuna.com/com.jonathongrigg.proton.voltagecontrol.tuna.apk — obviously if anyone else wants to try and has VoltageControl installed now you'll have to uninstall it first since my computer certs are different than Jonathon's.
[Nexus S Android Development] Jonathon Grigg:
0.2.0 is now up! http://download.jonathongrigg.com/apps/ProtonVoltageControl-020.apk

Please

UNINSTALL

all existing versions before installing 0.2.0, as I had to change the release keys, so the signature won't match, and the install will fail otherwise.

Changes are as follows:

Korean translations (thanks iamxeph)

Italian translations (thanks vivmar)

Adjusted suggested voltages to be -20 rather than -25 for better compatibility with a range of phones

Minor code changes to allow for further translations

Major updates are coming later once again :)
[Nexus S Android Development] Jonathon Grigg:
That is a nice improvement there! Please let me know the details of the fork when you're done. Also, AFAIK its 1.2ghz not 1.1ghz ;) Awesome job!
[Nexus S Android Development] spiicytuna:
Let me resync to your most recent changes, add in my quick tweaks, and push... then u can pull.
[Nexus S Android Development] Jonathon Grigg:
Thanks, added in the changes to github last night for the translations and such.

No rush though, I wont be able to do anything until I get home :) a whole day of classes ahead of me now...

Sent from my Nexus S
[Nexus S Android Development] spiicytuna:
Fixed the 1.2 :o

Merged your changes

Applied my basic [quick] graphix changes

Sent a pull request via github

ps. you'll see 1-2 extra files as I started to build out the more detailed layout I see in my head, but then I had to do some "real" work so I reverted back to the 20 minute fix. It won't affect anything to pull it as is as I have the references commented out for now.

Cheers!
[Nexus S Android Development] iamxeph:
I installed 0.2, but I still get English not Korean.
[Nexus S Android Development] Jonathon Grigg:
Translations are definitely in there, probably forgot to use the correct filenames or something.

I will try and release v1.0 on the weekend with spiicytuna's new UI as well as some new safety features and error checking by me.

Sent from my Nexus S
[Nexus S Android Development] window7:
Good! Thanks spiicytuna for helping. Take your time, I love your NV apps :D

Will donate when I get my pay next week :D
[Nexus S Android Development] bringonblink:
That looks seeeeeeeeeexay, could i be a pain and request black :D
[Nexus S Android Development] thedauntlessone:
I have to say, a 25mv UV increased my battery life significantly. Never would've thought a slight UV can increase battery life so much that I notice it.
[Nexus S Android Development] Jonathon Grigg:
I almost finished 1.0 yesterday which includes the new UI, as well as fixed translations, code optimization and the emergency boot flashable zip.

Still needs some work though, could be a few days.

Sent from my Nexus S
[Nexus S Android Development] luckylui:
+1

Its also snappy my apk open faster and smoother. Great work OP!!

Evo 4G --> Nexus S 4G
[Nexus S Android Development] Vandam500:
Snappy? Lol when you UV it doesn't make things faster, on the contrary it should either stay the same or be a little slower depending on how much you UV.

Sent from my Nexus S
[Nexus S Android Development] luckylui:
Deff snappy man. I can tell difference, you know why? Cause before doing this my phone was slouching and its easy to tell when its changed from lazy to beasty.

Evo 4G --> Nexus S 4G
[Nexus S Android Development] spiicytuna:
I am almost done with an even cleaner interface. After you push 1.0 I pull down your changes and then apply what I have and post pix. Then we can go from there. Tag team :p
[Nexus S Android Development] luckylui:
I like the team work! :)

Knowing this we should all be gold.

Evo 4G --> Nexus S 4G
[Nexus S Android Development] Jonathon Grigg:
Sweet :D I'm just cleaning up some of your code and separating them into separate methods to make everything look cleaner ;) also made the recommended voltages use the string for values rather than hard coded.

Is your cleaner UI using sliders?

Sent from my Nexus S
[Nexus S Android Development] tatwamasi:
This seems to be my experience too.
[Nexus S Android Development] DaX05:
Everything looks good! Nice app!
[Nexus S Android Development] Ok_Kaleidoscope5109:
when you check the apply on boot button, does it just initiate a script upon boot? i want to make the least dent in system resource usage as possible.
[Nexus S Android Development] window7:
Good! I am waiting for it :p
[Nexus S Android Development] spiicytuna:
Good deal. I was trying to leave all of your code alone except for the bare necessities to break out the mhz steps...yes gonna use sliders instead—well at least give it a go to see how it looks/works.
[Nexus S Android Development] ilnanny:
This app is a fantastic for my nexus. Thanks a lot
[Nexus S Android Development] window7:
Just a question to ask,

what will be the worst case if undervolt too much?

I mean, undervolt wil cause what problem?

Will it cause our processor to spoilt?

I'm now on

Mhz mv

1400 1475

1300 1375

1200 1300

1000 1200

800 1100

400 100

200 850

100 850

Is the setting above recommended? Is it okay to use the setting above?
[Nexus S Android Development] iamxeph:
According to my *experiences* on Nexus S UV, you will get an random reboot while your screen off or do nothing because of too low voltages on 100 and 200 Mhz.
[Nexus S Android Development] bringonblink:
If you uv too low the screen will freeze or reboot. Just do recommended settings for now which us -20mv and work from there
[Nexus S Android Development] Jonathon Grigg:
Undervolting too much has no real bad effect. You will just get a reboot and black screen, no harm is caused to the processor. It does have safety limits in place :)

Overvolting on the other hand, can fry your processor if you're not careful, so be warey if you do overvolt (not that you would usually need to).

Sent from my Nexus S
[Nexus S Android Development] Jonathon Grigg:
Emergency boot restore zip works perfectly, just tested it myself :)

Just need to add in the relevant code to the app, then I can release v1.0 :D

Sent from my Nexus S
[Nexus S Android Development] :
-35mV for all have no problem.With conservative governor.
[Nexus S Android Development] Jonathon Grigg:
I'd like to get a general opinion here:

Red theme as used in Spiicytuna's UI, or a black based theme (exactly the same UI though, just not background etc) to save battery on our SAMOLED displays?
[Nexus S Android Development] stavros86:
I vote black!
[Nexus S Android Development] DaX05:
I say Black!!
[Nexus S Android Development] asafru:
Definitely black!
[Nexus S Android Development] Jonathon Grigg:
I already have a red version of v1.0 compiled and about to upload, and right now I will try to create a black version as an optional version. Both should be kept separate though, ie if you install one, then want the other, uninstall the first one.
[Nexus S Android Development] DaX05:
Cool, thanks! Options are always a good thing.
[Nexus S Android Development] window7:
Good! Waiting for it :D
[Nexus S Android Development] Custodian:
So this only works for nexus kerns or what jon¿
[Nexus S Android Development] bringonblink:
Netarchys unvdervolting is based on the voltage control app from the market that usings the sysf (i think) interface, so in theory if the kernel was based on the voltage control app then it should work?

^ the above may be totally wrong xD i'm sure i read it somewhere here though...^

also.. BLACK
[Nexus S Android Development] Jonathon Grigg:
Currently, only Netarchy kernels are supported. It requires a custom sysfs interface, and the way Netarchy has modified it means it outputs slightly differently to the way many other Galaxy S kernels have used it in the past. For this reason, I had to code Proton to recognise the Netarchy outputs and deal accordingly, so it won't work with any other kernels (especially other phones).

v1.0 is up! Includes a black theme as well to satisfy those who want it ;)
[Nexus S Android Development] spiicytuna:
I'll add a prefs screen where the user can choose between red/black... no sense in having 2 versions.
[Nexus S Android Development] Jonathon Grigg:
Great idea, I am going to be using that prefs screen a fair bit for future things like custom limits, saved profiles and such. Good to get a working base started :)

Sent from my Nexus S
[Nexus S Android Development] Babydollll:
I'm getting a parsing error when I download and try to install it. (black or red versions)

Edit: even when I try downloading from my computer, same thing...Parsing error.

Sent from my NS running NSCollab cuz I lost my tin cans and string....
[Nexus S Android Development] treUse:
Same here.
[Nexus S Android Development] Jonathon Grigg:
Thanks, I'm getting it now too.

Recompiling and uploading in a few minutes.

Sent from my Nexus S
[Nexus S Android Development] luckylui:
I cannot get the black to download for me?! It keeps giving me a parse error. Is there a mirror round?
[Nexus S Android Development] bringonblink:
Nice work guys, NICE FREAKING WORK

EDIT

Let us know when new upload is ready, wanna try this bad boy out (even though im at work XD)
[Nexus S Android Development] Jonathon Grigg:
New uploads are up :D turns out my internet dropped out when I was uploading originally (smaller file sizes). They install fine, checked by me :)

Same download locations, just redownload the files in the OP and install.

Sent from my Nexus S
[Nexus S Android Development] luckylui:
Thank you!!!!! Im going in :)
[Nexus S Android Development] Babydollll:
All good now. Thank you for all your hard work. Also looking forward to pro/paid version :)
[Nexus S Android Development] Jonathon Grigg:
What would you like to see in a pro version that isnt in say the free version?

Sent from my Nexus S
[Nexus S Android Development] iamxeph:
Still no Korean on 1.0 :confused:
[Nexus S Android Development] DaX05:
Thanks! Downloading now. :)
[Nexus S Android Development] Jonathon Grigg:
Could you PM me the correct 2 letter country code for Korea (north or south or both, I don't mind) so I can see if it fixes it. Translations are definitely present in the source...

Sent from my Nexus S
[Nexus S Android Development] Babydollll:
Maybe more options to change the undervolting? (in the first (alpha) release you had it undervolt by ~25, now it's ~20 {I understand why you changed it, more phones can handle ~20 than ~ 25}) I'm REALLY LAZY however, ;) and would prefer to just click a button as opposed to manually going thru and changing it. Also maybe the slider option or different themes and/or backgrounds?

I Absolutely Love This App! Great work (and will donate once I get paid... :) )

Thank you.

Sent from my NS running NSCollab cuz I lost my tin cans and string....
[Nexus S Android Development] bringonblink:
the more default settings thing seems like it would just clutter the app :/

Good sir, what be this emergency boot zip i spy in the settings?
[Nexus S Android Development] spiicytuna:
I'll be adding this as soon as I am done with "real" work today. I'll likely be able to add the bg prefs just before I go to an afternoon meeting but the layout changes with the sliders will have to wait until I am home.
[Nexus S Android Development] etoy:
there's some imperfections in multi-dpi usage.

here's mine at 210dpi and comfortaa font,if it helps.

very nice utility btw,thanks for your work!
[Nexus S Android Development] spiicytuna:
I'll be tightening that up tonight when I add the sliders and what not. For the time being I have merged Proton Red and Black into one application. From within Proton, hit menu, preferences, and you can now chose between 2-themes. Perhaps I'll add 1-2 more at a later date. Being that I only had 15-20 minutes I didn't 100% finish meaning that after choosing a theme you have to exit out of proton and go back in for it to read the change. I'll update that tonight (so it automatically refreshes into the new theme) and/or when Jonathon gets back and pulls what I've done already he should be able to do it in <5 min — I just dont have time as I have meetings all afternoon.
[Nexus S Android Development] raiderep:
Nice work guys! Using the default -20mv settings for starters and will see how it goes. I originally thought black but the red is dark enough and looks really nice. Thanx again for your efforts ;)
[Nexus S Android Development] Serious_Beans:
Will this only work on Netarchy kernels or can I use it for the jame bond kernel?
[Nexus S Android Development] Serious_Beans:
Turn off compatibility mode in spare parts, see if that works.
[Nexus S Android Development] luckylui:
It should work w any kernel that has vdd in it.
[Nexus S Android Development] Serious_Beans:
This app is great, testing out a whole bunch of voltages for best battery life. Good job. Keep it up!
[Nexus S Android Development] Ok_Kaleidoscope5109:
can people not quote an entire OP especially if its got pictures and a long post? come on... lol

anyway, is it just a bootup script without anything else running in the background?
[Nexus S Android Development] Jonathon Grigg:
The bootup script is just an init.d script. No extra services are used by Proton when starting up :)

Sent from my Nexus S
[Nexus S Android Development] Jonathon Grigg:
Depends how it is configured at kernel level. Netarchy tweaked the readout of the undervolt file so it is actually different to previous Galaxy S uses, so Proton has been coded for Netarchy's implementation. That said, Netarchy based kernels should work, as long as they are newer than 1.3.0.6

Sent from my Nexus S
[Nexus S Android Development] Jonathon Grigg:
Emergency boot zip is something requested by iamxeph and I agree with his request. Basically it is there in case someone chooses a set of voltages that is too low, and accidently (or on purpose I guess) sets it on boot. Then of course they couldn't boot up properly :(

The emergency boot zip cos a CWM flashable zip that removed the set on boot script, allowing you to boot up successfully. You can download it from within the app, or if that's too late, from the OP here.

Hope that helps!

Sent from my Nexus S
[Nexus S Android Development] obsanity:
So here are my final settings after about a week of testing:

1450 1400 1350 1250 1100 1000 875 875

I actually can run all 25 less but any more than that it starts crashing on all frequencies. So I bumped it up 25 each from my last stable and will call it done :)

Thanks for the app again. That 875 on the 200Mhz really saves a lot of juice when in sleep.
[Nexus S Android Development] window7:
Great. So far I'm using the settings as state before for 3days and it doesn't have any random reboot or freezing. And there is no rise in temperature too. I guess, I will just stick to that setting :)
[Nexus S Android Development] shubu000:
Just like to say that for me the settings are still not sticking after reboot :(
[Nexus S Android Development] Jonathon Grigg:
Rom, kernel and phone model? Just in case its something to do with those things. If anything, it would be an init.d error caused by a bad implementation of init.d support. Try the latest stable netarchy (1.3.0.12) and see how you go.

Sent from my Nexus S
[Nexus S Android Development] shubu000:
Rom:superaosp 8.2

Kernel :netarchy 1.3.4 bfs

Model : i9020

Might try an older build of netarchy
[Nexus S Android Development] thedauntlessone:
I think it's a superaosp problem. Didn't stick for me either when i was using that rom.
[Nexus S Android Development] shubu000:
I suspect the same thing but I think I will stick the rom for now. Love it. Look forward to the next version of this app
[Nexus S Android Development] Jonathon Grigg:
Has anyone else had issues with things not sticking on SuperAOSP? If so, I will tall to Juan (Superatmel) about it and see if he's changed anything.

Sent from my Nexus S
[Nexus S Android Development] mrnexus:
I'm just noticing that my voltages aren't sticking either

Superaosp 8.2 w netarchy 1.3.4 cfs

Sent from my super nexus s
[Nexus S Android Development] spiicytuna:
I'll be working on the silders gui in about an hour... and upload the changes after that...
[Nexus S Android Development] raiderep:
Yummy!

sent from the nexus of the 4g cosmos
[Nexus S Android Development] noobhero:
same thing here, after setting the voltage and applying.

1400 1350 1300 1200 1150 1000 875 875

when i go back into the app, it'll show me a list of grayed out voltages

1500 1400 1325 1275 1200 1050 925 925

how come it isn't show me my existing entries? :confused:
[Nexus S Android Development] Jonathon Grigg:
The greyed out list is a rough list of possible voltages, entered by spiicytuna when the UI was redesigned. unfortunately there appears to be no easy way to set the greyed out text to be your existing voltages, other than pressing existing voltages.

I think I will have a chat with superatmel about this, there's probably something different in SuperAOSP.

Sent from my Nexus S
[Nexus S Android Development] noobhero:
awesome! thanks mate!! appreciate that!!
[Nexus S Android Development] spiicytuna:
Actually I can think of a way to have it work. I never got to the slider ui due to a family emergency. I'll get to it in the morning.

Sent on the go from my android device using Tapatalk
[Nexus S Android Development] Jonathon Grigg:
No problems mate, family first :)

Sent from my Nexus S
[Nexus S Android Development] spiicytuna:
Just added the fix to load existing voltages on load. Perhaps not the most elegant of solutions but it works. I'll do the sliders in the morning. Sent you a pull request. . .
[Nexus S Android Development] Jonathon Grigg:
Version 1.1 is now up! Includes the quick fix to show the existing voltages upon start, and fixes up some stuff related to the theme chooser. Proton Red now shows as the default, the list appears better (black text rather than white) and there is an instruction below saying reboot to see changes.

Download here: http://download.jonathongrigg.com/apps/ProtonVoltageControl-110.apk

Enjoy!
[Nexus S Android Development] raiderep:
Coming along nicely! It defaulted to black for me but it loads existing settings upon startup, this is good stuff. Its kind of neat seeing this stuff develop first hand...go android aosp!

sent from the nexus of the 4g universe
[Nexus S Android Development] Graham19:
It defaulted to black for me too even though the preferences indicated I should be using red. I had to save the preferences before the change took effect.
[Nexus S Android Development] spiicytuna:
Yeah.. there is/was a better way to handle the theme prefs to make the red default. I changed it already and put a pull request into Jonathon.

Sliders are still being worked on as they are a bit of a pain the butt...
[Nexus S Android Development] Babydollll:
This app is really coming together in a very nice way. (I just found out my customers are paying me on the first. ;) so....donation time is very soon) I am constantly amazed at the ingenuity of the Dev Community. Thank you again for all your hard work!

Sent from my NS running NSCollab cuz I lost my tin cans and string....
[Nexus S Android Development] Jonathon Grigg:
Yeah, I'm pleased with how it's worked too actually. It started off as just something I wanted to do, and now look at it!

Anyone who donates, make sure you send spiicytuna something too, he's been loads of help :)

Sent from my Nexus S
[Nexus S Android Development] aeroxdefocu:
when I try to install v1.1 give me "application not installed"! Why??? First version work fine! :(
[Nexus S Android Development] zephiK:
uninstall and install. OP changed licensing or whatever. it was explained in a previous post
[Nexus S Android Development] Jonathon Grigg:
Yeah, silly me had a typo in the key password so now I can't remember it :(

Sent from my Nexus S
[Nexus S Android Development] thiagodark:
really great app, thank you very much dev! =oP

and btw, can confirm that, in superaosp, voltages are not stiking after reboot. =o\
[Nexus S Android Development] noobhero:
love to see this working with trinity. UV11
[Nexus S Android Development] spiicytuna:
disclaimer: I have never looked at trinity's kernel

Trinity is the one that would have to mod their kernel to work with proton and/or let us know how to echo the values for their kernel.
[Nexus S Android Development] Jonathon Grigg:
I am forking Trinity myself for a custom kernel with tweaks for infin1ty, so when its done proton will support it too.

Sent from my Nexus S
[Nexus S Android Development] bringonblink:
Here's an idea, what do you think about incorporating some sort of stress test into the app for pro users?
[Nexus S Android Development] Jonathon Grigg:
Neat idea! I will have to figure out how it would work when I have the time. Thanks :)

Sent from my Nexus S
[Nexus S Android Development] spiicytuna:
I threw together the next iteration of UI + settings changes earlier but haven't had time to post. Still needs some polishing but overall I think it's much cleaner like this. Depending on what Jonathon thinks we'll commit to these changes or roll back to the previous look+feel. I have sent a pull request for Jonathon but until he pulls you can install via the attacked apk.
[Nexus S Android Development] bringonblink:
lookin sweet
[Nexus S Android Development] Jonathon Grigg:
I have pulled through spiicytunas new changes, except its missing a few things and more changes need to be made by both of us, so the next release will be a bit off still. There's nothing wrong with the current version though, so this shouldn't be a problem.

If anyone has tried the new ideas in the apk a post or two above? What do you think of it?

Sent from my Nexus S
[Nexus S Android Development] bringonblink:
What i liked about version 1.1 was it was very simple , the newer version seems to just make things a tad complicated :/ I do like the sliders however, maybe you could incorporate that into 1.1, but instead of going to a new screen, just have a small popup or something.

Also i prefer increments of 5 :p

Anyhow good work guys keep it up
[Nexus S Android Development] mrnexus:
May I add a suggestion that in the next version you add a voltage control widget as well.

Sent from my super nexus s
[Nexus S Android Development] Luxferro:
It can also use a ganged slider that adjusts voltage delta +/- xV for all frequencies. So u can make coarse adjustments across the board. Then tweak individual frequencies.
[Nexus S Android Development] shubu000:
Hey Jonathan, have you managed to have a chat with Juan about superaosp?