[Q] Random shutting down issues after root - G2 and Desire Z Q&A, Help & Troubleshooting

Hey guys, I have a little problem with my DZ after rooting.
It randomly shuts down and I can't restart the phone until I pull the battery out and reinsert it.
It only happens when I temproot it with Visionary+ and overclock it with coolbho3k's vision_oc.ko
The problem started last night when I noticed that my phone was off all of the sudden and can't turn back on.
I had temproot on boot on then, which made my desire z reboot multiple times until I removed that option. Once my phone wasn't temproooting on boot, everything worked fine as usual. No root, no overclock, stock ROM.
After a few hours, I temprooted and overclocked my DZ again. Everything was fine just like a couple of days ago before this problem popped up. Well, until the next day when I found my phone off again. Can't restart until I removed the battery.
Is it possible that I'm overclocking my DZ a little too much?
I configured my setCPU app to:
Charging/full - 1340max 245min onDemand 50% priority
Batt < 35% - 768max 245min onDemand 80% priority
Temp > 45C - 768 max 245min onDemand 80% priority
Screen off - 245 max 245min onDemand 90% priority
I've read in a few places that changing the Governor to Interactive solves this issue, but there's no interactive option on coolbho3k's oc kernel.
Can someone please enlighten me? Thanks so much!

Related

Setcpu troubleshooting

I have setcpu running on desire with neophyte v1.2 ROM. It was running perfectly until I put it to charge overnight while sleeping.. when I woke up, the display shows that the phone is running at max speed constantly when it was set to "ondemand". I also have a profile with 245 min/max when screen off but when I wake up after 8hrs, I go to the info tab, I see that my phone is spending more time on max speed than 245 which doesn't make sense because the phone has majority of time with screen off..
What am doing wrongly here?
Sent from my HTC Desire using XDA App
webber2109 said:
I have setcpu running on desire with neophyte v1.2 ROM. It was running perfectly until I put it to charge overnight while sleeping.. when I woke up, the display shows that the phone is running at max speed constantly when it was set to "ondemand". I also have a profile with 245 min/max when screen off but when I wake up after 8hrs, I go to the info tab, I see that my phone is spending more time on max speed than 245 which doesn't make sense because the phone has majority of time with screen off..
What am doing wrongly here?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
need help....
what other profiles do you have?
i have 2 profiles.
one is 245 min 245 max when screen off (priority 100)
the other is 245 min 998 max when charging or full when charging (priority 50)
did i do anything wrong?
Has ur SetCPU got granted by SuperUser?
lpachuong said:
Has ur SetCPU got granted by SuperUser?
Click to expand...
Click to collapse
yup it is. in fact it was working properly until i leave it to charge. i tried uninstalling and re-installed but still it clocks at 998. the sleep profile doesnt seem to work well too
Try using a different ROM.
I experienced the same with the other ROMs when using the ondemand governor. I'm now using Nextsense 5.3 and the kernel allows "interactive" governor in SetCPU and my CPU speed stays at the lowest limits when idle.
amf said:
Try using a different ROM.
I experienced the same with the other ROMs when using the ondemand governor. I'm now using Nextsense 5.3 and the kernel allows "interactive" governor in SetCPU and my CPU speed stays at the lowest limits when idle.
Click to expand...
Click to collapse
do u have any profile for screen off? does it work?
from the info tab, i see my phone spent more time on max speed than min even though most of the time the screen is off
webber2109 said:
do u have any profile for screen off? does it work?
from the info tab, i see my phone spent more time on max speed than min even though most of the time the screen is off
Click to expand...
Click to collapse
Yup it works. Screen off profile--> Max=384 // Min=245
Try a ROM that supports interactive governor.
EDIT:
My "Time in State"
245 = 1352167
998400 = 18389

New to SetCPU!

I know there are quite a few threads on setCPU BUT this is my first time using and i was wondering for my rom, kernel, and phone usage what you guys think is best to save battery but still be snappy when the screen is on.
My phone setup:
2.2 Android
2.15.00.09.01 Baseband
King CFS 10 kernel
Evervolv v0.2.1 rom
pri 1.77_003
PRL 60670
I have the phone on wifi about 90% of the time because some of my reading says it saves battery. I use my phone for browsing facebook and a few forums, send a few hundred texts a day, talk on the phone maybe 10 times a week ( im a college student), regularly on email. NOW with that said how would YOU set up the set cpu for battery life but no lag while operating.
You need to update your PRL ...
twigums said:
I know there are quite a few threads on setCPU BUT this is my first time using and i was wondering for my rom, kernel, and phone usage what you guys think is best to save battery but still be snappy when the screen is on.
My phone setup:
2.2 Android
2.15.00.09.01 Baseband
King CFS 10 kernel
Evervolv v0.2.1 rom
pri 1.77_003
PRL 60670
I have the phone on wifi about 90% of the time because some of my reading says it saves battery. I use my phone for browsing facebook and a few forums, send a few hundred texts a day, talk on the phone maybe 10 times a week ( im a college student), regularly on email. NOW with that said how would YOU set up the set cpu for battery life but no lag while operating.
Click to expand...
Click to collapse
I always leave my main profile at 245 mhz min and 998 mhz max (ondemand mode). Then, of course, you'll want a screen off profile, and as far as that goes, I've heard that 128 and 245 draw the same voltage, so I have mine set to 128 min, 245 max (powersave mode). Other than that I just have some low battery profiles and a temp one. I don't really get any lag with this setup, but I've heard some people do. If that's the case, and I'm only talking about lag when first turning on, just up the 245 to 384 or something and I'd make it ondemand.
do i need to check set on boot under the scaling option
twigums said:
do i need to check set on boot under the scaling option
Click to expand...
Click to collapse
No. I would leave it unchecked. This has been known to cause some issues.
grouse130 said:
No. I would leave it unchecked. This has been known to cause some issues.
Click to expand...
Click to collapse
what kind of issues are you talking about? i've only heard and practice leaving it off when experimenting with overclocking (since it can put you in a boot loop). once you find a stable overclock speed, you can check it to start on boot so that you don't have to open setcpu every time you reboot if you decide to run it at that speed.
on-demand is a little less laggy (barely noticeable to me) but may consume more juice than conservative.
most kernels will step down to 245 when the screen is off so creating a profile to do that is redundant. you can verify this with the app android system info under the system tab > cpu.
having said that, i don't use setcpu unless i'm benchmarking and want to overclock.
kings #6 bfs kernel is awesome for battery life (default is conservative governor). it's what i use. give it a go when you've gotten a good feel on how kings #10 cfs is working out for you.
Here's what I would hit up..
set it to conservative. Conservative starts your phone at your minimum clock speed and works its way up, as opposed to on demand which starts at the highest and works its way down.
then for advanced i have sampling rate at 50000
Up threshold at 95% <- that's saying that when the workload hits 98%, crank up the processing speed
Down threshold at 70% <- when the load hits 70% turn it down
That stuff right there is agressive as hell, and when I say agressive, i mean...you probably won't ever hit your max frequency unless you are seriously doing some heavy lifting. The settings there are what I use to save up battery, you can get through a day easy with everything on (GPS, Wifi, sync, 3g, the works) and with your current usage, since its similar to mine (except that i also run beejive, skype and twitter at refresh rate of 5min).
grouse130 said:
No. I would leave it unchecked. This has been known to cause some issues.
Click to expand...
Click to collapse
Yeah I think you've probably just seen that on some custom kernel pages. They only say not to do that because if you're testing battery life with say...HAVS, it could interfere w/o you realizing it. Set on boot just means you don't have to turn setCPU on everytime you reboot your phone.
just go set a profile on minimal mhz and on powersave mode if kerenal allows if not just use ondemand
My problem with the "Set on Boot" option is if you accidentally fat finger the slider past your stable clock with it checked, you're looking at boot loops and possibly having to restore from a backup to sort it out. SetCPU really needs the "Set on Boot" option grayed out and a "Lock Settings" option that must be checked before "Set on Boot" becomes accessible (unchecking "Lock Settings" would also uncheck "Set on Boot").
Another option would be a user defined field for max stable clock in the advanced settings that would limit the slider on the main tab. Either one should eliminate accidental boot loops.

[Q] Default screen off profile setcpu

Does anybody know what the ondemand governor uses as it's default screen off settings. By that I mean if I have profiles disabled in setcpu and just allow the ondemand governor to determine frequencies and I leave the max min freq's at default values, then what happens when the screen is turned off?
I know the cpu will eventually go into deepsleep but there are inconsistencies.
If I dont use setcpu and just allow the default kernel settings (im on doomlords btw) to determine the frequencies, then when I turn the screen on after leaving the phone for a while, the cpu speeds up very quickly and the system becomes responsive before I can ever notice.
If I use setcpu however, with a screen off profile set to ondemand, max 245, min 120, then it still takes achieves deepsleep as often as not using setcpu but there is a noticeable lag and stutter for about 5-10 seconds as I turn the screen on to use it again.
Does anyone have any idea;
A) Why this happens?
B) What is the default screen off behaviour for the ondemand governor on doomlords kernel.
you may need a program like system monitor to record your % of cpu activity, im on stock rom and i have it at 100 - 300 mhz max when screen off, i used the program while im asleep to see if there was issues but there was none or lag when the screen turned on
there isnt any inconsistency with mine,but then again i removed alot of the programs i dont use to have very few programs running in the background,playing music with this setting doesn't cause issues
i havent read alot into his kernal yet,guess you wait till someone that has more knowlege in his rom.
[v03 onwards] added new CPU governors:
InteractiveX
Savaged-Zen
SmartAssV2

[Q] SetCPU Randomly Rebooting One X?

Hi All,
After being a long time iPhone user i recently purchased htc one x, as a result my android skills are almost non-existent; so please bear with me.
I managed to flash clockworkmod recovery and rooted with SuperSU with no issues.
Purchased setCPU after reading the reviews and enabled. However the phone would reboot randomly a few times a day. Ususally when the screen was off.
After disabling setCPU there was no rebooting issue.
Has anyone got this app to work on the OneX, and if so which settings did you use?
Also has it been confirmed to work with all 4 cores?
FYI I had the following profiles setup.
Screen Off
Freq:640Mhz-51Mhz
Gov: conservative
Temp > 44.5
Freq:880Mhz-51Mhz
Gov: conservative
Battery < 30%
Freq:1000Mhz-51Mhz
Gov: powersave
Charging Any
Freq:1500Mhz-51Mhz
Gov: ondemand
Please note these profiles are based on no evidence, just on what I estimated to be about right...
Cheers
I did not start using SetCPU on my phone yet because it's not rooted, but first I would check if SetCPU doesn't require some kernel support? and if that's implemented in the custom ROM you're using? (if it's needed, I'm not sure).
Or maybe SetCPU needs an update to properly support our phones?
That Temp > 44.5 Profile, wouldn't that interfere with gaming? I have never used Temp profiles before (is it really needed?), only the other ones, like battery and screen-off and charging.
my one x has unlocked bootloader, recovery and root. I was running into some serious intermittent lagging issues, the phone in any app would just stall for 5+ seconds. after hours restoring after failure , it came down to the problem that using ANY cpu controll app, messed my phone up... BADLY! it seems at the moment (im assuming) apps like setcpu and cpu master are not quad core ready...
thanks for the responses guys.
I guess ill just wait until one of the devs can confirm this as working...
The reason is simple. We don't have rooted kernels yet. Until then stay away from messing with CPU speeds or under volting. Etc.
Sent from my HTC One X using xda premium
skywalker1970 said:
The reason is simple. We don't have rooted kernels yet. Until then stay away from messing with CPU speeds or under volting. Etc.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
+1
DO NOT mess with your CPU speeds yet. Undervoltage is causing reboots!
the software is not up to the hardware capability, i dont think the cpu control apps can handle quad core yet. and there is a lot of apps (esp. games) that lag a lot, and amazingly the cores are too lazy to work... im hoping for a better kernel that will address this issues.
If you want to at least see what's going on with the cores, I can confirm that Tablet CPU Usage Monitor works on HTC One X
It shows 2 icons in notification bar, each icon showing usage of 2 cores. Not sure how accurate it is, but so far had no problems with it and it seems to be reporting correctly. Developer is working on single icon with all 4cores in it, to save space.
I had the same problem, but if you delete your profiles you won't get reboots.
I'm just running default profile Max: 1500, Min: 760 Ondemand gov. and it has been a straight line for 6 hours when I was sleeping and no reboots.
jakejay said:
Hi All,
After being a long time iPhone user i recently purchased htc one x, as a result my android skills are almost non-existent; so please bear with me.
I managed to flash clockworkmod recovery and rooted with SuperSU with no issues.
Purchased setCPU after reading the reviews and enabled. However the phone would reboot randomly a few times a day. Ususally when the screen was off.
After disabling setCPU there was no rebooting issue.
Has anyone got this app to work on the OneX, and if so which settings did you use?
Also has it been confirmed to work with all 4 cores?
FYI I had the following profiles setup.
Screen Off
Freq:640Mhz-51Mhz
Gov: conservative
Temp > 44.5
Freq:880Mhz-51Mhz
Gov: conservative
Battery < 30%
Freq:1000Mhz-51Mhz
Gov: powersave
Charging Any
Freq:1500Mhz-51Mhz
Gov: ondemand
Please note these profiles are based on no evidence, just on what I estimated to be about right...
Cheers
Click to expand...
Click to collapse
I was having that problem too... In my opinion, I don't think that the phone can handle the Conservative governor setting. I set my governor to Interactive (On Demand works too)
Right now, I have my profile set to 1000mhz max and 475mhz min, with screen off profiles set to 475mhz max and min. I have not had any problems with the phone rebooting at all since setting those freqs. (And I don't want to quite go any lower yet). And I have it Set on Boot.
im now using rooted HTC One X(HOX) and installed RD-MIUI ROM quite sometimes. my kernel is still in stock. Im using setcpu and NO random reboot happen like what you have said. Yet, i am still confuse whether setcpu is good for my phone. based on my review, in the leading rom developer thread they not mention setcpu for their choice. they play alot with kernels to govern their hox cpu-s. could anyone do some comment.

How low can you go with screen off?

Having some major headaches with my Note 2 right now. I'd previously had System Tuner set to cap screen-off frequency at 800MHz, with the pegasusq governor still selected. That was causing heavy drain (1-2% per hour) while idle, so I tried yesterday evening to scale it down to 200MHz with the powersave governor for screen off. It worked in the sense that my battery stayed flat at 67% overnight, but the phone took forever to come out of sleep so I could turn off my alarm clock, and then it started some type of fresh torment where it would freeze at the lockscreen and need a battery pull to reboot.
I switched the frequency to 500MHz this morning, but it's still locking up. Struggling to boot, too. I'd really rather not go back to 800MHz and pegasusq, but will if I need to. How do you guys have your screen-off behavior set in System Tuner, and has it caused you any problems? I'm on stock rooted, by the way, debloated by myself a while back.
T.J. Bender said:
Having some major headaches with my Note 2 right now. I'd previously had System Tuner set to cap screen-off frequency at 800MHz, with the pegasusq governor still selected. That was causing heavy drain (1-2% per hour) while idle, so I tried yesterday evening to scale it down to 200MHz with the powersave governor for screen off. It worked in the sense that my battery stayed flat at 67% overnight, but the phone took forever to come out of sleep so I could turn off my alarm clock, and then it started some type of fresh torment where it would freeze at the lockscreen and need a battery pull to reboot.
I switched the frequency to 500MHz this morning, but it's still locking up. Struggling to boot, too. I'd really rather not go back to 800MHz and pegasusq, but will if I need to. How do you guys have your screen-off behavior set in System Tuner, and has it caused you any problems? I'm on stock rooted, by the way, debloated by myself a while back.
Click to expand...
Click to collapse
I don't use system tuner, but in setcpu my screen off profile is set for 200-500 with pegasusq/cfq. I use almost no battery when my screen is off, and the wake up time is no slower than stock.
P1 Wookie said:
I don't use system tuner, but in setcpu my screen off profile is set for 200-500 with pegasusq/cfq. I use almost no battery when my screen is off, and the wake up time is no slower than stock.
Click to expand...
Click to collapse
Thanks for that. I had to restore (luckily I'd done a Nandroid yesterday!) because the system wouldn't boot past the Samsung splash. I've been anti-Juice Defender for a while here, but it seems like a decent chunk of the problem with my battery has been wlan_rx_wake, most likely caused by network traffic. That's what I get for letting my wife share my phone's wifi router instead of leaving her on the house.
Much as I hate to do so, I've put JD Ultimate back on my phone in hopes that its control over wifi and data will prevent those wifi and data wakelocks from happening. Hoping that 500 max with pegasusq (I'd put it back at 600 after restoring) will alleviate things.

Categories

Resources