yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] houzuoguo:
By the way, this is my voltage table, I've been running this table for the whole time with IR's CAVS kernel:

cd /sys/module/avs/parameters
echo 128000,875,875 > avs_adjust
sleep 1
echo 245000,875,875 > avs_adjust
sleep 1
echo 256000,875,875 > avs_adjust
sleep 1
echo 384000,875,875 > avs_adjust
sleep 1
echo 422400,875,875 > avs_adjust
sleep 1
echo 460800,875,875 > avs_adjust
sleep 1
echo 499200,875,900 > avs_adjust
sleep 1
echo 537600,875,925 > avs_adjust
sleep 1
echo 576000,875,950 > avs_adjust
sleep 1
echo 614400,875,975 > avs_adjust
sleep 1
echo 652800,875,1000 > avs_adjust
sleep 1
echo 691200,875,1025 > avs_adjust
sleep 1
echo 729600,875,1050 > avs_adjust
sleep 1
echo 768000,875,1075 > avs_adjust
sleep 1
echo 806400,875,1100 > avs_adjust
sleep 1
echo 844800,875,1125 > avs_adjust
sleep 1
echo 883200,875,1150 > avs_adjust
sleep 1
echo 921600,875,1150 > avs_adjust
sleep 1
echo 960000,875,1175 > avs_adjust
sleep 1
echo 998400,875,1175 > avs_adjust
sleep 1
echo 1036800,875,1200 > avs_adjust
sleep 1
echo 1075200,875,1225 > avs_adjust
sleep 1
echo 1113600,875,1250 > avs_adjust

Would the new kernel (interface) support me to set each frequency's voltage individually?
[Nexus One Android Development] intersectRaven:
Yes but you need to change the syntax to something like this:

echo "998400" "875" "1250" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs

:)
[Nexus One Android Development] meechto:
My N1 seemed pretty stable using BSM -100mV with IR's CAVS kernel. However, as soon as I plugged in my charger it went into a boot loop. Finally had to flash the PSM_Reset.zip in order to stop the boot loops :( Will test again with IR's AVS kernel later.
[Nexus One Android Development] k3vink3vin:
Flashed iR's latest AVS kernel (2.6.38.5_AVS-CM7_CFS_20110505_1701.zip) followed by some BSM.

SetCPU is set to 128mhz - 1075mhz ondemand.

-100mV

boot loop, loops at boot animation

-75mV

boots up then froze after 1min, requires battery pull

-50mV

boots up but unstable, launcher reloads itself sometimes

-25mV

a FC at boot, will keep using this for the rest of the day and update.

I guess my N1 doesn't like UV :(

19200: 925 950
128000: 925 950
245000: 925 975
384000: 925 1000
422400: 925 1025
460800: 950 1025
499200: 975 1050
537600: 975 1050
576000: 1000 1075
614400: 1025 1075
652800: 1050 1100
691200: 1075 1125
729600: 1100 1150
768000: 1125 1175
806400: 1150 1200
844800: 1175 1225
883200: 1175 1250
921600: 1200 1250
960000: 1200 1250
998400: 1200 1250
1036800: 1250 1250
1075200: 1250 1250
1113600: 1250 1250
[Nexus One Android Development] meechto:
Tested the -100mV BSM with IR's AVS Kernel. But experiencing boot loops on/off the charger. Flashed the -75mV BSM and the phone seems to be running smooth whether on or off the charger. It seems that my N1 is not quite comfortable with voltages lowered by more than 75mV no matter which kernel it is run on - Tiamat or IR. I guess I will stick to IR's latest and the -75mV BSM for the time being ;)
[Nexus One Android Development] -viperboy-:
Thanks for keeping up with my thread even though I know you have a million other things you have to do :)

Sorry man, some phones are just like that. How do you think I feel? I wrote Extreme and Insane BSMs and I can't use them lol I have to rely on others to test and report back.

Hmm, I don't know what could cause it to freeze when the phone gets plugged in. I'm only hearing about this happening on N1's and it seems like this is being reported on both of iR's kernels.

@iR - do you have something coded into your kernel that upon getting plugged in, the phone hits the voltage floor or something like that so it consumes less power while charging? Only thing I could think of at the moment.
[Nexus One Android Development] kpjimmy:
I am running the Tiamat kernel and using -75bsm. Using Setcpu I set the max to a 500k value and when I tried to play a video off of youtube or vimeo the vid would freeze up and had to do a battery pull to reset my n1.
[Nexus One Android Development] meechto:
Just to clarify - the phone froze and rebooted. I had not started any other program but 3G was on at the moment. I let the phone boot up while the charger was still plugged in and it rebooted again soon after bringing up the desktop at the point where it usually sets the SetCPU profiles. One of my SetCPU profiles is Charging AC set at 245 MHz min and 1113 MHz max. Don't know whether the OC might have caused it. I will test the -100mV BSM again with the Charging AC profile set to 245 MHz min and 998 MHz max and with 3G turned off. Hope that helps ;)

Update: With the Charging AC profile set to 245 MHz min and 998 MHz max and with 3G turned off and the charger plugged in, the phone did boot up :) I let it stabilize for a min or two and then ran the 'cat' command on the OP to check the voltage table. I was able to capture a screen shot of the terminal. Then I played a video which played for 5-7 seconds and the phone froze again for 4-5 seconds and rebooted. I let it reboot this time with the charger unplugged and followed the same steps that I did when the charger was plugged in. But the phone did freeze and reboot after playing the video for about 5-7 seconds. So I guess it might not have to do much with the charger being plugged or unplugged. It runs perfectly fine with the -75mV BSM however whether plugged in or not. Most probably my phone is not stable enough with voltages lowered by more than 75mV.
[Nexus One Android Development] kpjimmy:
Reporting back on the -75 BSM and the phone would not boot up properly upon changing a theme. Tried -50 BSM and tried to look at google maps and that forced boot my phone. Heading to the last -25 BSM to see if that works and will report back.
[Nexus One Android Development] intersectRaven:
To those using my kernel with this mod, please don't use the CAVS version with this since CAVS set's all voltages to SVS equivalents:

e.g.

245Mhz -> 975 - 975

384Mhz -> 975 - 975

etc.

So if you apply the mod here to those kernels, you'll get:

e.g. (-25mV)

245Mhz -> 925 - 925

384Mhz -> 925 - 925

Which means you're foregoing the AVS part and just setting the voltages to a static voltage that is undervolted by the mod amount you applied. If you're to use this mod, please use the AVS kernels. :)
[Nexus One Android Development] -viperboy-:
Or...........

I could just make an iR CAVS mod for the peopel who wanna use SVS ;)
[Nexus One Android Development] jameztcc:
Using -50 with IR avs cfs. Much stable for me than -75.
[Nexus One Android Development] jameztcc:
Possible to release mod that doesn't format / clear cache/dalvik? Prefer to do it manually.
[Nexus One Android Development] -viperboy-:
I guess, but I don't see the benefit or how it would hurt anything?
[Nexus One Android Development] k3vink3vin:
I feel for you..

At -25mV, my phone didn't wake me up this morning, the battery was drained.

I have a battery current logger, which stopped logging when there was 33% charge left. I suspect that the phone froze at that point and the battery drained itself completely. (the battery was calibrated by Roger's app so it usually dies at 0%)

The current consumption during sleep was higher than the days I use redstars' kernel. (avg. 8-11mA as oppose to 5-8mA)

I guess I will have to pass :(
[Nexus One Android Development] kpjimmy:
Running stable so far on -25 BSM running the latest MIUI. I'll need to test this out again tomorrow when MIUI updates to the new bugfix version of android 2.3.4.

I'll report back after that update heh...we'll see!
[Nexus One Android Development] den_breacker:
First, I tried the -100mV BSM , but then the phone bootloopt.

So I tried the -75mV BSM and this looks very stable so far with IR's latest kernel :-)

Now let's hope the battery life improves, although it already lasted for 48 days, with the latest MIUI.
[Nexus One Android Development] -viperboy-:
Pshhh, 48 days is nothing. I get 2+ months with heavy usage with my mod on MIUI. And that's with full brightness and GPS on all the time too :p
[Nexus One Android Development] briandarrel:
Does anyone have the +25 file? The link just redirects to mediafire homepage...
[Nexus One Android Development] -viperboy-:
Fixed the link. Sorry about that.
[Nexus One Android Development] den_breacker:
whoops!

days = hours! ;-)
[Nexus One Android Development] kpjimmy:
Using -25 BSM on 2.3.4 Miui ver 1.5.6

So far so good! Had to reflash the kernel and then the BSM. Took about 3 mins to reboot and booted up without a hitch.

Will report back later when using the phone.
[Nexus One Android Development] briandarrel:
Thanks. Currently using +50 which appears to have fixed my phone from randomly resetting :D
[Nexus One Android Development] kpjimmy:
Ok, on the latest MIUI 1.5.6 and has 2.3.4. Using the -25BSM I was still getting horrid battery life per min just viewing my email, under 3g/3g+ on my N1. I have reverted back to the stock rom to test to see if its GB or the Tiamat kernel that doesn't sit well for me..well for my phone lol...
[Nexus One Android Development] nextlife74:
Hey I was pretty psyched to try this mod and followed your instructions to a T but the terminal values are the same before and after the flash (I tried -100 and -50) could setcpu be messing something up? I'm running Tiamat v3.3.8

Here are the values

19200: 950 950

128000: 950 975

245000: 950 975

384000: 950 975

422400: 950 975

460800: 950 975

499200: 950 1000

537600: 950 1025

576000: 950 1050

614400: 950 1075

652800: 950 1100

691200: 975 1125

729600: 975 1150

768000: 975 1175

806400: 1150 1200

844800: 1175 1225

883200: 1200 1250

921600: 1200 1275

960000: 1225 1275

998400: 1225 1275

1036800: 1275 1350

1075200: 1275 1350

1113600: 1275 1350

1152000: 1300 1350

1190400: 1325 1350

1228800: 1350 1350

1267200: 1350 1350
[Nexus One Android Development] clustered:
Running Nightly #64 with latest IR kernel ( 07/05 - AVS CFS )

Output values:-

19200: 950 975

128000: 950 975

245000: 950 1000

384000: 950 1025

422400: 950 1050

460800: 975 1050

499200: 1000 1075

537600: 1000 1075

576000: 1025 1100

614400: 1050 1100

652800: 1075 1125

691200: 1100 1150

729600: 1125 1175

768000: 1150 1200

806400: 1175 1225

844800: 1200 1250

883200: 1200 1275

921600: 1225 1275

960000: 1225 1275

998400: 1225 1275

1036800: 1275 1275

1075200: 1275 1275

1113600: 1275 1275

Flashed -100mV

Output values:-

19200: 850 875

128000: 850 875

245000: 850 900

384000: 850 925

422400: 850 950

460800: 875 950

499200: 900 975

537600: 900 975

576000: 925 1000

614400: 950 1000

652800: 975 1025

691200: 1000 1050

729600: 1025 1075

768000: 1050 1100

806400: 1075 1125

844800: 1100 1150

883200: 1100 1175

921600: 1125 1175

960000: 1125 1175

998400: 1125 1175

1036800: 1175 1175

1075200: 1175 1175

1113600: 1175 1175

For now seem like working fine n smooth, I can't say it's fully stable... Will update more later. Thanks viperboy... ;)

Update: -100mV makes the phone didnt wake up when i turn off the screen, device is running on the background... able to adb... now trying -75mV
[Nexus One Android Development] clustered:
Not really smooth too on -75mV... Now trying -50mV...
[Nexus One Android Development] :
-25mV looks quite stable for me.. provide more feedback later :)

thanks OP
[Nexus One Android Development] wang1404:
No setcpu shouldn't have anything to do with this. Make sure you flashed it cuz rarely the phone boots up normally after undervolted. If you experience freezing or bootloop, that's when the magic is working lol
[Nexus One Android Development] SubatomicGenome:
Can we get the BSMv2 on N1? This cause my evo loves it and I want my N1 to love it just as much =D
[Nexus One Android Development] SubatomicGenome:
Looks like you're using a CAVS kernel? try just AVS then run the mod..
[Nexus One Android Development] meechto:
Experiencing issues with my N1 recently :( Unlocking it after being idle for sometime causes it to reboot within 4-5 seconds. Not sure whether it is the script, the IR kernel or the SetCPU settings. Will try the script again with the latest IR kernel and lenient SetCPU settings

Update: Seems to be working fine with the -75mV BSM script after flashing the latest IR kernel and setting the SetCPU screen off profile to 245 MHz min and 245 MHz max. Haven't experienced reboots after waking up the phone after being idle for sometime :) However, the phone still reboots occasionally at night. Don't know why :(
[Nexus One Android Development] clustered:
-50mV works great for me!
[Nexus One Android Development] -viperboy-:
I'm going to get a few more reports on the EVO first before bringing that over since there seem to be issues with alot of the people getting it to work.
[Nexus One Android Development] SubatomicGenome:
I've just begun running BSMv2 +25 on my N1 with IR 5/10/11 kernel and it's running fantastic so far, Tiamat should have a fresh N1 kernel out today I'm gonna try it on that as soon as I can, will post feedback.

Update: So far so good with BSMv2 +25 on the N1 with my previous specs, normally I'd be anywhere in the 30% range after a day like today, but I just got off the phone and I'm at 51% after extensive use, (including using the phone as a phone =)

BSMv2 gave me app issues (Gallery, browser, and latitude widget and such) and would FC, not consistently but, it wasn't stable. Making phonecalls worked fine, but would hang initializing the call out, not long but enough to wonder if it froze.. I haven't had a chance to mess with the other scripts but I figure +25 is working just fine I don't see why the others would give me problems.

CM7 #68, IntersectRaven 20110510 AVS_CFS_NOBOOST
[Nexus One Android Development] meechto:
Experienced freezing and reboots again

My N1 is pretty stable after flashing the -75mV BSM. It is currently running CM7 #69 with IR 2.6.38.6 AVS CFS WIFIFAST kernel. I have had no issues while making or taking calls, recording or watching vides, browsing the internet, playing games etc. But, as was reported by me earlier, I still experience freezing and rebooting of the phone once or twice a day. This usually happens 4-5 seconds after waking it up only if it has been lying idle for a few hours.

However, today it froze and rebooted 3-4 times when I was testing live video streaming on WIFI. I had to flash the reset script in order to stabilize it and continue with the testing. I did not get a chance to flash the -50 mV and the -25 mV BSM scripts though.

Any guesses as to why it might have rebooted so many times during normal use?
[Nexus One Android Development] -viperboy-:
Just seems like your particular phone can't handle the low voltage.
[Nexus One Android Development] spania85:
I've been testing the -75 BSM along with iR's latest and even though it felt a bit choppier (just a bit), I gave it a long try. I don't know if this is just my phone or what happened, but after 3 days of testing or so, I dont feel any improvement in Battery life. It looks to me that now it sucks up more juice than before and I end the day at very lower %. My battery is calibrated since last month with the app for nexus one, and I'm running nightly #69 (right now, #65 before). It is my understandy that undervolting should save me juice right?

Note: Thanks Viperboy for porting your mod for us N1 users. Highly appreciatted.
[Nexus One Android Development] meechto:
I think I have found a clue to the occasional freezing and rebooting and that it has nothing to do with the -75mV BSM script - As reported yesterday, I had flashed the PSM reset script which had reset the voltages to kernel default. Yet when I unlocked my phone in the morning today, it froze but didn't restart. After a few seconds the ADW Launcher Ex force closed but none of the buttons on the Force Close box would respond. I noticed that the status bar was still functional and was showing the fluctuations in the operator signal and also the charging icon was changing as I had the charger plugged in.

I will give it one more shot by changing the default launcher to ADW Laucher before moving on to the -50mV BSM script. Also will check whether the phone freezes and/or reboots during the live streaming testing with the ADW Launcher.
[Nexus One Android Development] maxib123:
i dont have that directory in my phone, and can anyone tell me why?
[Nexus One Android Development] -viperboy-:
So that I don't forget :)

To-Do list for tonight and tomorrow:

Global

updater-script enhancements (tired of making 8+ revisions per phone :p)

--- Better detection for kernels without HAVS support when flashing

--- Update wording

Redo naming system and make the OP look pretty

Rehost mods on Tiamat-AOSP.com

EVO

Update v2 scripts with 825mv floor

Incredible

Bring over support for v2 scripts with 800mv and 825mv floor versions

Nexus One

Bring over support for v2 scripts with 800mv and 825mv floor versions

Desire GSM

Release of v1 and v2 scripts
[Nexus One Android Development] bimasakti85:
Viperboy, I dont know why, but if i uses tiamat's latest kernel with the extreme and -100mv mod, I'm getting constant error. So I think, tiamat's latest kernel doesnt compatible with your mod. So I'm reverting to tiamat's previous kernel, its working good with your extreme mod.

Sent from my Nexus One
[Nexus One Android Development] -viperboy-:
What do you mean constant error? Voltages are reduced in 4.x kernels so your phone might be freaking out since you're trying to lower voltages even more. Try the -75 or some of the v2 scripts.
[Nexus One Android Development] bimasakti85:
Constant error are such hang and always rebooting. Hmm... gonna try that one...

Sent from my Nexus One
[Nexus One Android Development] bimasakti85:
Its working now, with the -75mv mod... thanks viperboy

Sent from my Nexus One
[Nexus One Android Development] Docmjldds:
On my Nexus one, flashed latest Tiamat_N1-v4.0.2.zip. I installed the -100mV file first. Using MIUI 1.5.13 ROM from MIUI-DEV installed yesterday, BTW. No lags, no freezes. all is well. Gallery has 0ver 500JPGs and the thumbnails populates almost instantly. Using a 32Gb SD card, BTW because I listen to flac files which use a lot of space. Ran the Netflix app that recently was added for the Nexus one support. Streaming was smooth. No problems. I then tried the extreme version. Noticed some lagging. Gallery was much slower Just more sluggish. Went back to the -100V file and this is rock solid. BTW, same results with the older Tiamet 3.3.8 from Apr24th time frame.

Edit: And I did verify voltages using ADB and cmd window on my PC.

EDIT:!!!!!! Found a bad bug at least using Tiamat Kernel 4.0.2 and my N1. Not sure it's an MIUI related issue, but noticed when I needed to run an su command in Terminal, I was getting Bash error and Segmentation Fault error. When I uninstalled the kernel, and reinstalled a prior 3.x kernel, the error was fixed. Going to report this over on his thread and PM him also.
[Nexus One Android Development] -viperboy-:
OP updated! Sorry about the delay with getting this up, I've had alot going on the past few days with the new website and everything. Please check the OP and my new site for everything you need to know!

BIG thanks to Cayniarb for the site and a place to host my mods and to morph3k for helping me get my site up and running! Can't thank you guys enough!! :D
[Nexus One Android Development] ericjwill:
-75 mod and 15-May-2011 intersectraven kernel has given me a noticable boost in battery life. Hats off for a great mod!
[Nexus One Android Development] -viperboy-:
Thank you very much :D
[Nexus One Android Development] xxsashixx:
-800mV 2.1 lowest works on my N1 using taimat 4.0.2 kernel
[Nexus One Android Development] -viperboy-:
OK guys, worked for about 10 hours on this last night and pulled an all-nighter. v3 beta is out and it's really awesome. It's a shell script that will allow you to change everything on the fly! Please see the Downloads page on my site for v3. You will see all the info you need when you flash it in recovery, I will update the changelog later (already running late for work!)

Please keep in mind this is in BETA! Also, READ THE "CURRENT BUGS" SECTION IN THE SCRIPT! I want as much feedback on this as I can get, I will be fixing as much as I can tonight.

Enjoy :D
[Nexus One Android Development] -viperboy-:
OP Updated! Please take a look there and at my site!
[Nexus One Android Development] falkenbein:
i´m using u´re v3 script on my nexus one. vaoltage set to via point 2 upt -50mV is ok.

But when i using -75mV i become freezes. Kernel = tiamat 4.0.3
[Nexus One Android Development] -viperboy-:
Your phone just can't handle more of an undervolt, that's normal.
[Nexus One Android Development] christiankk:
Works like a charm. Could go 25mv lower. Thanks for the mod!
[Nexus One Android Development] -viperboy-:
OP updated! viperMOD v3 beta RC1.1 is live!
[Nexus One Android Development] bimasakti85:
Instead putting the script in /system, how about if u put it in /system/bin so we can type it directly the script name?also it is better to use lowercase for the file name.

Sent from my Nexus One
[Nexus One Android Development] -viperboy-:
I can do that, good suggestion! And the file name is all lowercase.
[Nexus One Android Development] clustered:
what's different between this mod and ss4n1 mod ? thx....
[Nexus One Android Development] -viperboy-:
Link please?
[Nexus One Android Development] -viperboy-:
OP updated! v3 beta RC1.2 is out now, please download and report back!
[Nexus One Android Development] clustered:
http://xdaforums.com/showthread.php?t=1090800 - SS4N1 by ch33kybutt
[Nexus One Android Development] -viperboy-:
Mine is focused on just voltages with more options, he has alot more options for other settings. I do plan to add some things like that probably in v4.
[Nexus One Android Development] -viperboy-:
Anyone having a problem with getting this to work, please redownload RC1.2. I forgot to make the bin folder in the .zip so it was causing issues. Thanks to Nikolai2.1 in the Thunderbolt forums for catching this!
[Nexus One Android Development] -viperboy-:
I forgot to change the updater-script when I fixed the folder issue. I just deleted vipermod on my phone, downloaded the updated file from the website, and flashed it. I can confirm that it's working now 100% Sorry about that!

If you download it and it's still not working, your browser may have cached it. Chrome did that to me, had to download in Firefox and verify that it downloaded the updated file.
[Nexus One Android Development] Docmjldds:
Hope this is why I keep getting not found in terminal. Tried every which way to run this and keep getting the dreaded not found when I try to run vipermod after su command. I had no problems with the older manual versions. And yes, I use Chrome. Will redownload with FF and see if that's the issue.

Edit: Yep....saw a 5 byte difference after redownloading with Firefox. Grrr....Spent the better part of an almost two hours scratching around trying to figure this out. Maybe rename a revision in the future to prevent this. Just a thought. Not meant to be any more than that :) I even tried using the reset file and just saw that somehow I have a different kernel that the Tiamat version I was using. Haven't read up on the reset file....Is it supposed to revert to a prior kernel out of curiosity. I thought it would only reset voltage changes.
[Nexus One Android Development] -viperboy-:
Thanks for the suggestion and I know I should have changed the name, but for consistency, I wanted to try to keep it the same. And bit.ly generates the link based on the characters of the link you're giving it, so I couldn't generate a new link. Sorry for keeping you busy working on this for so long.

The reset file just takes away my init.d file so that your voltages are back to kernel stock when you reboot.
[Nexus One Android Development] pseudoheld:
running on -50mv with Savaged-Zen Kernel going down to 128mhz when screen off!

lets see what impact this has on battery life!

couldn't go any lower. (-75mv made it crash almost immediately ;) )

thanks for making this mod mate!