yashsingh1/xdaforums huggingface dataset:
[Epic 4G General] tbob18:
I can't say how stable 400mhz is as I got a reboot last night, I am using the ondemand governor. 1000mhz/1000mhz was 100% stable for me.
[Epic 4G General] tazfanatic:
I get the random reboot in the middle of usage and in strong signal area. :(

Also it is so random I wouldn't be able to test some times a couple times a day some times 3 or 4 days apart.

For the record I am running B14

Setcpu 1000 - 100 ondemand. Never had a issue with my phone set to this in the pass.
[Epic 4G General] ac16313:
Try using all of them except 400, single out the frequency.

Sent from my SPH-D700
[Epic 4G General] tbob18:
Well, at 100mhz, 200mhz I also got reboots/freezes although they were much more often then at 400mhz... At 400mhz I only got one reboot in 24 hours. If I get another reboot at 400mhz, 800mhz will be the next one to test.
[Epic 4G General] poit:
I'm running EC05 stock rooted, just installed Tegrak and it shows the same voltages you list above.
[Epic 4G General] toadlife:
I just flashed the EF02 modem mylsef (after reading your post ;) ) and will report back.

No reboots so far.
[Epic 4G General] ae69ae:
Reboots are caused by memory leak

The reboots are not caused by deep-sleep, they may happen during deep-sleep, but why would they also happen during me playing a song, or texting, or tethering? it doesn't make sense. Just because some people die during sleep, doesn't mean sleep causes death!!!

Anyways, Samsung should hurry up and patch all this stuff up or release another "leak," they sure are taking their lovely time.
[Epic 4G General] JohnCorleone:
I have been running Vendetta and Hurricane (about 4 days each) with V6 script. I only got one reboot in that time while on Hurricane but I was tethering with Hotspot, on XDA App and charging. I think my reboot was either heat related or because of the combo of processes I am running. I will give this fix method a try the next time I am on a GB leak

Sent from my OG Epic running Miui
[Epic 4G General] tbob18:
Sorry.. Double post.
[Epic 4G General] tbob18:
Well, I'm not so sure it is caused by a memory leak. My phone worked 100% for four days at 1000mhz min/max with absolutely no random reboots or crashes.

As soon as I set it back to default clocks it will start rebooting every few hours (or at least once a day).

The reboots may be delayed with the V6 script... I'm really not sure, but I get reboots at minimum one per day, even with V6.
[Epic 4G General] KennyG123:
That's unusual Taz. Most of us seem to get the random reboots when the phone is on standby.

---------- Post added at 04:02 AM ---------- Previous post was at 03:59 AM ----------

Just want to thank everyone on this thread. Throwing around suggestions and ideas for problem solving is EXACTLY what I come to XDA for.
[Epic 4G General] tbob18:
Yeah, it could be an issue with an application if it randomly reboots when in use.

Agreed! I love experimenting and trying to solve problems! Thanks everyone! :D
[Epic 4G General] toadlife:
My phone just rebooted three times in a span of an hour, so the EF02 modem didn't do the trick. :(
[Epic 4G General] Gersonian:
I have tried several modems and had reboots with all of them on eh17. After seeing this last night I used system tuner (from the market) to set the screen off frequency to 400. I had no reboots today and my phone lasted over 13 hours with moderate usage.

This is the first "fix" I have had work so far. Hopefully it will also work tomorrow. BT dubs, I am also using the ondemand governor and 100-1000 settings.

Thanks, guys, for pointing us in this direction!
[Epic 4G General] tbob18:
Thanks for your feedback! As a note I did still experience reboots when I had the screen off set to 400mhz, but reboots did not occur nearly as often as normal. At stock speeds I get reboots about once every 2-5 hours (it varies), but at this setting it was more like every 10-15 hours.
[Epic 4G General] radji:
See my attached screenshots for my scaling settings. The downside (as poit stated) is that it does kill the battery. Mine only lasted 11 hours where it used to last 26 hours without the CPU scaling. However under these settings, I've gone 39 hours with no random reboots.

As for ae69ae, if it is rebooting mid-text, mid-song, or mid-call, you might have a bad flash on your hands. I know when I flashed to EF02, I suddenly had this horrendous problem that if I move from my house (which has an airave) out to normal coverage two or so blocks away, the home screen would come up, but the startup ringtone would sound and my homescreen would be frozen. After 30 sec's to 1 minute it would completely reboot again, and the phone would be fine until I made or received a call, which after I answered the call the call would NOT drop, but I would hear the startup ringtone again and the homescreen would be frozen on the screen again and after the 30 sec's to 1 min, the call would drop because the phone would reboot. I found it was a bad update.zip flash and was told be others in this forum to ODIN EF02 again instead of flashing a CWM zip. Low and behold, that solved it and I never had that rat's nest of crap happen to me again. As for rebooting mid-song, I STRONGLY recommend spending the $4 and buying PowerAmp. I had a problem with the stock music player since I first got the phone (with unrooted EC05). Whenever I answered a call, right after I answered it, the music player would come on and start playing songs in my library through the loud speaker. I had to freeze the music player, but I'm glad I did because Poweramp has been a great alternative. But you do whatever you choose.

Anyway, I will see how far my current CPU scaling settings go before I get a random reboot. It hasn't happened yet, but I won't hold my breath.

radugb out
[Epic 4G General] KennyG123:
Awesome work guys. It seems we are narrowing it down to something in deep sleep or transition to that causes the majority of the reboots. If we had something that could boost the deep sleep voltage by 100 mV or so it would be worth a try.
[Epic 4G General] Gersonian:
I forgot to mention that my reboots almost are always while screen off/deep sleep. I will follow up after day 2.
[Epic 4G General] johnbarry3434:
Used to have reboots once a day, using "SetCPU" set to 400/1000 MHz with the OnDemand governor. Made a screen off profile with 400/400 MHz on the performance governor with priority set to 100, haven't had a reboot in almost 2 days now...

I am on stock deodexed eh17 btw.
[Epic 4G General] radji:
That would be a power state in the kernal that needs to be edited, right? Or because the power scaling is set to ondemand (supposedly), would all the lower frequency states need to have their voltage boosted up 100 mv?
[Epic 4G General] tbob18:
It does seem to be a voltage issue. I tried using Tegrak alongside SetCPU with the settings as followed:

Tegrak:

Min: 100mhz

Max: 1000mhz

Governor: Ondemand

Only 200mhz set to 1.275v, the rest stock

Setcpu:

Min: 100mhz

Max: 1000mhz

Governor: Ondemand

Screen off Profile: 200mhz/200mhz - Ondemand - Priority 100

This worked perfectly for 20 hours, no reboots, no freezes.

I'm now testing how high the voltage needs to be, 1.000v is too low and still randomly reboots for me (no freezes, unlike .950v).

I am now testing 1.025v.
[Epic 4G General] JohnCorleone:
what is the stock minimum frequency? Is it 400 out of the box?
[Epic 4G General] tbob18:
I believe it is 100mhz.
[Epic 4G General] radji:
Well stock voltage on GB for 100MHz and 200 MHz is 950mV, the only difference being the overhead voltage on 1000mV for 1000MHz and 1100mV for 200MHz. If that is the case and we know the voltage is mostly stable at 400 MHz, then to me that goes with what someone posted previously, that the GB voltages are 100 less than the Froyo. What if we were to just up the voltage by 100 on 100MHz and 200MHz and run it like that without interference from Tegrak or SetCPU to see how stable that is. Does that sound somewhat sane? Or will we have to up the voltage on 400, 800, and 1000 MHz too to balance out the rest of the frequencies (I remember that core voltages have to be stepped a certain amount in between)?

---------- Post added at 01:19 AM ---------- Previous post was at 01:17 AM ----------

PS: My Epic has been running with my current SetCPU settings for over 48 hours now and no random reboots!!!! Battery life is still only 9-11 hours though /_\

radugb out
[Epic 4G General] tbob18:
I already tried that, if you look at the spreadsheet in the OP you will see that I tried bumping all the voltages up to 1275mv (100-1000), it still reboots.

Setting up a screen off profile with 200mhz@1275mv ran for 20 hours with no reboots.. That means 200mhz should be stable at a voltage between 950mv and 1275mv. I have tested 1000mv and it still reboots. I am currently testing 1025mv.

Maybe GB (2.3.4 at least) has a bug where a certain voltage is required to jump from Deep Sleep to awake mode (no matter the mhz?).

According to poit, GB and Froyo have the same voltages.

Good to hear that it is stable! Too bad about battery life, it is nice having a stable phone though. :)
[Epic 4G General] sollord:
This is a very interesting lead so I'll give you a hand. I'm gonna start by testing 200Mhz@1050mv on stock eh17 since your testing 1025mv.
[Epic 4G General] tbob18:
Thanks! That should make it go quicker.

If you did not see my previous post, I am running Tegrak and SetCPU. Both apps are set to 100-1000mhz using the ondemand governor, while Tegrak overvolts only 200mhz and SetCPU handles the screen off profile.. I was skeptical that this would work, but I have confirmed that it is working using CPU Spy. (4 hours in Deep Sleep, 5 hours at 200mhz, and 45min at 100mhz)

1025mv has not rebooted yet, just over 12 hours so far..
[Epic 4G General] JeffATL:
Hows battery life? Any reboots today?
[Epic 4G General] johnbarry3434:
Going on three days without a reboot. Battery life is good.
[Epic 4G General] radji:
Battery life is still only 9-11 hours, but going on 5 days without a reboot
[Epic 4G General] toadlife:
I tried this exact confi today. Had no reboots and battery life seemed normal.
[Epic 4G General] ae69ae:
I'm using Bonsai B16, My reboots are due to memory leak. Task manager shows my RAM 300ish/342MB, by this time--the phone is already about to die "reboot."

What extends it's life? a simple click on "Clear Memory," eventually I reboot it myself because clear memory doesn't do anything. I have re download and re flashed multiple time--same issue. If it's not GB then its Bonsai B16. but I have a memory leak on my phone. :) aslo, to stop reboots while phone is off, get titanium back up pro and freeze GTalk, this solved that issue for me.
[Epic 4G General] CASHVILLEBOS:
Running EH17 Urban Warfare 1.5, V6 Script and OC'd at 1200/1200 using Tegrak and haven't had a single reboot all day battery life still good I'm at 17% goin on 21hrs....

Sent from A.I ran Epic 4G a.k.a Sprints RunWorst Nightmare....
[Epic 4G General] sollord:
I copied your setup with setcpu and tegrak and I've been reboot free for 21hours and I got around 9.5hours on battery using 1050mv and I've got 10% battery left. I used a get a random reboot at least 3 times a day if not more.

10hours at 200MHz and 2hours a 100Mhz and 7hours in deep sleep and 2 hours at 1000MHz
[Epic 4G General] tbob18:
Again, there could very well be a memory leak, but I'm pretty sure it has little to do with the reboots...I have been running B16 for the last few weeks and have done all my testing on it.

In the last ~32 hours I have not cleared my memory once, and have not had any reboots. At stock clocks/voltages I get reboots every 2-5 hours.

It might be worth noting I am running the V6 script as well.
[Epic 4G General] KennyG123:
It's not memory "leaks". Download Memory Booster Lite and look at the task killer. You will see all the crap sucking your memory dry that Task manager does not see. I run a steady 150 MB free and will still reboot randomly on B16and EH17. I have not seen any evidence of real "memory leaks". Caches fill up the longer the phone is on. Watching this carefully I can start out with 190MB free with clearing memory with Memory Booster Lite, then by the end of the day can get to 155 MB free clearing it. Caches fill. The stock browser does NOT give back memory it caches, so don't use it unless you plan on rebooting right after to get your memory back.
[Epic 4G General] Bobulus:
So here's a weird one:

I used SetCPU to have my Epic go to 200mHz on screen-off. I turned the screen off, set the phone down. Less than a minute later, the phone rebooted. This happens repeatedly.

Yet if I set it to 100mHz, it takes a bit longer for the screen to turn on (a solid one-mississippi, rather than instantly), but doesn't immediately reboot. Weird.
[Epic 4G General] tbob18:
Try to raise the voltage for 200mhz using Tegrak (1025mv is solid for me).
[Epic 4G General] Bobulus:
I haven't had time to read the whole thread yet, just the first post and the last page: Do I want to run both SetCPU and Tegrak, or one or the other?

And, yeah, I will play with voltage, but I posted more because I'm stumped why 100mHz would work when 200mHz doesn't.
[Epic 4G General] tbob18:
Yes, both Tegrak and Setcpu.

200mhz and 100mhz run at the same core voltage, which would explain why 200mhz reboots/freezes.
[Epic 4G General] jeffro18:
I mirrored the most current setup posted in the op a few hours ago and just got my first random reboot. I am running random rom hawk v4 currently. I'm going to try to bump 200 to 1050mv for a bit and see if that helps. My average without this setup was 2-3 random reboots a day with no fc issues for over a week now.

I have played with voltages in the past on genocide and srf on 2 epics and know each device can yield different results. My girlfriends phone could handle undervolting much better than mine could.
[Epic 4G General] tbob18:
Yeah, just like 400mhz @ stock voltage works for radugb but randomly reboots for me.
[Epic 4G General] sollord:
I was reboot free for 23hours at 1050mv before I forgot to plug it in before I went to bed and it died. I'm gonna stick with 1050mv for a few days to see if it stays reboot free then I'll drop down to 1025mv. I'm running stock eh17 as I had issue with custom roms and force closes
[Epic 4G General] jeffro18:
Just had a reboot with 200mhz set to 1050mv...
[Epic 4G General] tbob18:
You are using SetCPU with a screen off profile alongside Tegrak?
[Epic 4G General] jeffro18:
Yes sir
[Epic 4G General] sollord:
What rom are you running?
[Epic 4G General] tbob18:
Well, I guess you can try 1075mv. If you still get reboots, it might be worth a try to test 400mhz.

Maybe try out 1000/1000.. If you still get reboots, you might have a different problem (data corruption, or something similar).
[Epic 4G General] sollord:
I did seem have more random reboots running custom kernels/roms. Also what rom are you running tbob so we have some reference given I'm running stock eh17?
[Epic 4G General] tbob18:
I'm currently running Bonsai 5 B16.
[Epic 4G General] toadlife:
48 hours of uptime so far with no reboots.

400mhz min/1000mhz max with a 400mhz screen off profile in setCPU. No voltage modifications.

Running Eh17 stocky-ish ROM.

I think we have a winner! ;)
[Epic 4G General] radji:
6 days and no reboots. I'm gonna put on Tegrak and set my minimums to 200 MHz as well as my sleep profile. I'm gonna try 200 MHz with 1050 mV first to see what battery life I get. With my current setup if I get 10 hours of juice

(100% drained to 5%), and that just really sucks. But hey, we made some headway. We got strong evidence that (in most cases), its an undervoltage issue.

radugb out

---------- Post added at 06:58 PM ---------- Previous post was at 06:34 PM ----------

Is Tegrak available to us Members like SetCPU? The free version of Tegrak won't change my voltages.
[Epic 4G General] jeffro18:
Random rom hawk v4. I have a clean install with no fc issues. I never restore data, and manually install apps. I posted earlier I run pretty solid except the 2-3 random android system reboots a day. This setup has kept it about the same, maybee even a little worse. I had about 4-5 today. I'll mess around with different settings over the next few days.
[Epic 4G General] sollord:
Huh there could be multiple reasons for random reboots I guess from the voltage to software bugs and each version could have its own issues given Samsung has rolled some many versions of GB for the epic, I've been reboot free for 2days running stock eh17 with 1050mv at 200MHz.

I'm currently testing 200MHz@975mv core. I noticed that on my phone the 100MHz internal voltage was set to 1000mv instead of 1100mv like every other clock speed so I'm also testing 100MHz@1100mv internal. I disabled the setcpu screen off profile while I test this.
[Epic 4G General] sollord:
5hours in and still stable 4hours running a 100mhz 30mins running at 200mhz the rest randomly used

That didn't work I got sleep of death after it went into deep sleep gonna try 200MHz@1025mv core with the 100MHz@1100mv internal and no setcpu
[Epic 4G General] tbob18:
I have been testing a new screen off profile. 100mhz-200mhz, 100mhz is running at 925mv and 200mhz is running at 1025mv. No reboots for 20 hours so far.

Battery life is much better.. So far it has been on the battery for ~15 hours and just hit 10%. I was on 3g the entire time, played music for ~7 hours and the screen has been on for 1 hour and 30 min (mostly web browsing/texting/changing music). Lighter usage would probably last about 20-25 hours.
[Epic 4G General] radji:
Is Tegrak available to us Members like SetCPU? The free version of Tegrak won't change my voltages.
[Epic 4G General] radji:
Also, on advice of counsel, I flashed my modem from EC05 up to EH17 last night. Has more than doubled my battery lie, but I'm just worried about my data speeds. Whenever 4G may come to my area, I want to get that 8-9 Mbps I experienced in LA (which I got on EC05). But for now, EH17 with the corresponding modem on my current SetCPU settings is getting me 24 hours of battery life. Has anybody mentioned this to Samsung that we have strong evidence of the random reboots being an undervoltage issue?
[Epic 4G General] sollord:
Not to my knowledge I bought both to support the authors.

I had a weird issue where my status bar would vanish for no reason during my last test run and I had to reboot to get it back not other issues showed up I'm now testing 100@925mv and 200@1025mv but no screen profiles active in set cpu
[Epic 4G General] KennyG123:
If Samsung listened to us they would release source to the DEVs here to fix all their problems for free.

---------- Post added at 03:00 PM ---------- Previous post was at 02:58 PM ----------

So what is the best config so far for no reboots? Just had one on Hurricane 1.6. My reboots seem to only come when on wifi and in deep sleep for a bit. It may be a partial wake that causes the reboot. So that means I probably need to boost the voltage in 100 Mhz or set screen off for like 400 mhz right?
[Epic 4G General] sollord:
using tegrak to set 200Mhz to 1025mv or 1050 mv and setcpu to set a screen off profile to 200MHz seems to be the best option so far
[Epic 4G General] greezestain:
When and if you guys do settle on a final best option, do you know if that's something that can be built into roms or kernels?

Thanks from us poor schmoes who are waiting for a fix to this issue before we update. You're doing the lord's work. Godspeed.
[Epic 4G General] omair2005:
Can't you just use tegrak to set 200-1000, and not need set cpu?
[Epic 4G General] tbob18:
You can try.. It still randomly reboots at that setting for me. I believe it has to do with 400mhz not being stable (on my phone) at stock voltage with the screen off. It seems to vary from phone to phone.

I get better battery life if I limit the cpu to 200mhz when the screen is off anyway.

Unfortunately I don't think it can be integrated into roms because tegrak is not free.

My current setup is working flawlessly and has great battery life. (it is in the op)
[Epic 4G General] KennyG123:
I load the overclock kernel in Tegrak but when I try to change voltages it vibrates but doesn't change anything.
[Epic 4G General] ugothakd:
Are you using the ultimate version?
[Epic 4G General] KennyG123:
Yes, but 7.0.1. I see it is up to 7.0.9 now. Don't see why that would make that big a difference. I change the voltage then the stability checker goes into the status bar but nothing ever changes.

NVM, I must have had an old broken version. I just bought it and reinstalled and it works fine.
[Epic 4G General] radji:
Yes, possibly increase the voltage at 100 MHz, but it might be less risky to set the screen off profile to 400 MHz. Someone mentioned that overvolting the lower states can "confuse" the kernel? It did not make much sense to me but I do remember being warned that messing with the voltages on custom kernels can cause very bad data corruption. But that's just me.

AS far as Samsung goes, in a perfect world, yeah the would listen to us and let us fix all the ROM problems. But you know what, in reality, if they at least take our suggestion with a gain of salt it might be worthwhile. If they can put their pride aside and at least look at our experimentations and results, that might bring them one step closer to an official GB release and I can't understand why they would allow anything to interfer with that.

radugb out
[Epic 4G General] KennyG123:
Any reason why we are not boosting 100 Mhz internal voltage to 1100 mV like the other frequencies?
[Epic 4G General] johnbarry3434:
I am testing that at the moment.
[Epic 4G General] tbob18:
Well, 100mhz does not cause reboots at stock voltage on my phone.. so there would be no advantage to running it at a higher voltage. I can actually run it slightly lower than stock.

200mhz and 400mhz at stock voltage seem to cause the reboots (again, YMMV).
[Epic 4G General] KennyG123:
OK, just as a notion I set it to 1100. I just want a big thanks to everyone in this thread. Yesterday I put on Hurricane 1.6 and had 3 reboots within 6 hours. I put on the new voltages you listed and not a single reboot since 6:00 yesterday! AWESOME! This should be stickied until official is released!

I may lower the 1100 down to 1000 again but don't think it really affects anything either way.
[Epic 4G General] InfDaMarvel:
This actually makes sense considering a PC can have the same reboot issues if its not supplied enough voltage to its Ram,CPU or North Bridge while being stressed.

My random reboots happen when I'm not using the phone at all.

So I'm assuming the voltages drop while the screen is off yet the phone is still running things in the background which causes the phone to require more voltages.

However the phone is not providing that while the screen is off.

Thus a random reboot.

Educated guess.

Only thing that boggles my mind is why wouldn't this have been fixed is previous leaks if it was that easy? Its not because they were dumb, because I know Samsung wouldn't hire a entire group of dummies.
[Epic 4G General] radji:
It can also depend upon the kernel. There is a disclaimer when you first install Tegrak that states it will not work on GB custom kernels because some have modified kernel source codes(added function symbols..etc).
[Epic 4G General] KennyG123:
We don't know if this is the only problem they are working on. There were modem issues, GPS issues and the reboots. There probably is OTA issues as well since Sprint won't allow the Epic on Kies.
[Epic 4G General] johnbarry3434:
Still going strong after 24 hours only changing the internal voltage of 100 MHz to 1100 mV.

Edit: Still going after 41 hours.
[Epic 4G General] KennyG123:
No SetCPU screen off profile?
[Epic 4G General] jeffro18:
I just set mine to that as well. I have not found any combination to work for me yet. I will also try it on my girlfriends epic.

On a side note I know a guy named John Barry in real life. Do you install and repair marine electronics for a living?
[Epic 4G General] johnbarry3434:
Lol, no just an alias.
[Epic 4G General] jeffro18:
Yeah, I figured it was a long shot. But he is a tech savy kind of guy...