SGS2 debug possibilities with JB ROMs - Galaxy S II Q&A, Help & Troubleshooting

yesterday I had 2 blackouts. I did not much things, some photos, facebook and whatsapp.
But anytime when I want to use it, screen stayed black and SGS2 did not answer any longer. Also it seems to be very hot on the rear. After removing battery and switching on again, I mention that there was a big battery drain. These two things (hot back side and high battery drain) sounds to me that there was maybe one process which "killed" the system. I recognize this since I have JB ROMs on my phone, that my phone don't react sometimes, becomes very hot and had a big battery drain after switching it on again after having removed the battery.
Is there any debug possibility to see wich processes are running and might cause this issue?

I also sometimes have this problem. This even happened on ICS (can't remember for GB).

maybe it is also a kind of memory shortage?
Do you have the same behaviour? Hot back and battery lost after you have hard reset your phone by removing the battery?

I read that JB is running out of memory from time to time.
I now use Smart RAM Booster to see if this maybe the reason for our "crashes".
Nevertheless it would be great if someone could tell how to log CPU, top10 processes and memory to see if there is anything which causes those lags.

changed kernel to Dori 9.33. I hope this will fix my SoDs

Related

[Q] Battery Drain Problem

Hello all,
I purchased a Galaxy S2 at the end of July, I live in the US, so it was from Amazon. The phone has been phenomenal, an amazing piece of technology.
I rooted the phone and flashed Lite'ning Rom 6.1 XXKH3. Still worked great, with no problems at all.
However, starting about a week ago, I am getting an extremely fast battery drain. Since then, I have spent hours looking at threads trying to figure out what was going on. I updated the rom to UltraToxic Rom v8.0 XWKK5, still no change.
I used Titanium Backup to freeze many widgets and app processes, still no change. I am currently using better battery stats to monitor wake locks, however after managing the wake locks, still no change.
I then bought a replacement battery thinking that the battery may have been bad, sadly, there was no change.
I have been trying to find a solution to this and had tried many other suggestions in other threads to no avail. As of now I have come to the conclusion that the device might have some type of malfunction that is causing this.
Am I going crazy or am I missing something obvious? Any help would be greatly appreciated.
Thanks
I have also re-calibrated the battery, still no positive changes.
Seeing the battery graph, you have your screen on a lot of time. Screen sucks battery a lot, so there might be one of the causes of battery draing.
Also you seem to have all day enabled 3G/WiFi, that also sucks some battery with it.
You can try JuiceDefender and see if it can help you extend a little your battery.
change kernel
Try flashing hardcore's "SpeedMod Kernel" and you will never complain about your battery life.....
After flashing this kernel my worse battery life was 1day and 12h with 3.5h screen on and wifi 85% ON.
http://forum.xda-developers.com/showthread.php?t=1182498&highlight=speedmod+kernel
AzureusPT said:
Seeing the battery graph, you have your screen on a lot of time. Screen sucks battery a lot, so there might be one of the causes of battery draing.
Also you seem to have all day enabled 3G/WiFi, that also sucks some battery with it.
You can try JuiceDefender and see if it can help you extend a little your battery.
Click to expand...
Click to collapse
Lol.... It's obvious he has some kind of battery problem, he is not using the phone much, and galaxy S 2 should have at least 5-6 hours screen on time and the phone lasted 3 hours.
Sent from my GT-I9000 using xda premium
Since I had all data on the phone backed up, I did a factory reset. I also flashed the UltraToxic Rom v8.0 XWKK5 as well as the suggested SpeedMod Kernel. When the battery was at 100%, I calibrated the battery. I tried to leave the phone idle as much as possible, I did use the internet for about 10 minutes to check e-mail, news, etc. So now the phone is essentially "empty" in terms of apps downloaded, I got rid of all widgets on all home screens.
There was still no positive change, I do really like the SpeedMod Kernel though, I do notice faster responsiveness from the phone.
I am beginning to think that the problem may be the hardware and not the software or battery.
I've got similar problems here. I am suspecting a hardware problem (I damn well hope it isn't coz i got mine from hong kong) because my phone never goes into deep sleep mode for more than 50% while the screen is off. I've tried at least half a dozen different kernels and roms and nothing helps, this is even in airplane mode i.e. with pretty much everything turned off. I've tested wakelocks and dont get anything more than a couple of seconds. I had my battery charged to full at 6:30am this morning, went to work and got home and it was dead after just under 12 hours with being idle 75% of the time. This is worrying as most people's battery lasts at least a whole day.
So I know it can't be the kernel, I know it cant be wakelocks, I know it cant be wifi or 3g data or anything of that nature so the only thing it comes down to now is hardware...
Funnily enough I've had exactly the same issue since about a week ago. Even when I take it off charge it's almost immediately down to around 80%. It's lasting around 4-5 hours, even when I'm not using the phone much, plus it gets really hot.
A couple of times Social Hub has appeared high up on the list of battery draining apps, although I don't use it. It doesn't always show up though. I switched to the CF-Root kernel and started using GO Launcher EX recently and wondered if that (or one of it's addon widgets) could be the cause.
It's really bugging me now!
SOLVED!
After days and days of trying to fix the issue of the phone not sleeping (and therefore draining excess battery whilst idling) I have finally fixed it!!!!!
First i noticed that along with the sleep problems, I was getting the problems with car mode popping up randomly, the phone going into mtp connection mode, and thinking its charging when it was unplugged. After looking into these issues (and i thought it was a longshot) I decided to do what people were saying and CLEAN THE MICRO USB PORT.
Now you're probably thinking I am a crazy man, but now im just crazy happy that I don't have to send my phone back to Hong Kong!
Instructions:
1. Get a clean, dry, soft-bristled toothbrush.
2. Take any case you have off the phone.
3. Gently insert the bristles into the port and "flick" it out softly.
4. Repeat this about 10-15 times
No matter what ROM, what kernel, what modem i tried flashing, my phone was always sitting on no more than 50% deep sleep mode when idle and had no wakelocks or "rogue apps".
I am now getting 90% - 98% DEEP SLEEP MODE!
I obviously can't guarantee that it will work for everyone, heck how it solved the issue is a mystery to me, one which probably an electronically-minded/computer systems person could answer. What I can say though is I searched high and low online for about a week. I tried different kernels, I tried different ROMs, I tried "re-calibrating" the battery, I used BBS to check for partial wakelocks. If you too have tried all this and have had no success please PLEASE try this and see if you have success!!
Thanks for reading!
....
Or if you didnt...
TL;DR: If you're having battery drain problems clean the micro USB port with a soft toothbrush.
The phone never sleeps when charging, the CPU idles at 200 MHz, whatever was in your USB port was probably making contact with the pins that tells the phone it is connected to a charger when it actually is not, so it was idling at 200 MHz and was not receiving power, that's the only explanation I could fathom
Do two things:
Install CPU spy and show us what the deep sleep percentages are,
and try disabling wifi. Also, what is the router?
I have a battery drain issue; but its kind of screwey as i will reboot my phone and lose about 20% of the phones charge. If i turn it off and leave it off for an hour the charge comes back. Its random as well; only happens once a week. I have had this problem on different roms. You might have a similar problem to me. Possible the hardware that detects battery state is knackered.
Sent from my GT-I9100 using Tapatalk
try to reduce screen brightness it might help, and when on wifi turn off data plan might help too
kamazaki said:
try to reduce screen brightness it might help, and when on wifi turn off data plan might help too
Click to expand...
Click to collapse
Since you didn't seem to realize, I thought I'd tell you. This thread was 5 months old before you posted in it...
lol

[Q] [HELP] Battery Drain, probably hardware issue

Hi guys, this is not an usual battery drain problem. I am more or less an advanced user of android but I´m writing here because I tried all my ideas and none of then worked.
I have 2 Neo V, stock. One day one of them started to have battery drain. Im talking about 6-7%/hour with no usage, the other one is around 1-2%. So with any use my phone don´t last more than 14h.
I started to check the usual(wifi policy, services running..), and don´t found anything, I switched the batteries between both to see if that was the problem but drain was still in the same phone.
I rooted the phone, tried BetterBatteryStats and CPUspy and all is OK, most of the time DeepSleeep etc.
After all I unlocked the bootloader with the S1tool testpoint etc and flashed some Cyanogen 9 rom + kernel, and the problem still persists.
I think there is nothing I can do and my phone is useless because I suppose I don't have warranty anymore.
Any ideas about what could be? Even if its hardware, what kind of hardware problem can make this high battery drain if the CPU is not working ?
Thx in advance
edit: In HTC we can also flash different RIL´s (radio interface layer) to improve signal db, avoid high battery consumes etc. There is something similar in NEO V? Because I didn´t find anything.
There are a couple things you can do:
1) Did you check that you had mobile signal all the time??, because losing mobile signal is THE biggest battery drain possible
2) Post some BetterBatteryStats screenshots so we can see what's happening under the hood
3) Try a different ROM/Kernel combination, that sometimes helps
And no, there's no RIL flashing here, just different ROMs/Kernel/Baseband combinations
I HAD the same problem
Even I faced a similar problem on my Neo V after getting FXP CM9. FXP 122 was fine. But FXP 123 and 124 drained the battery very badly(No considerable Deep Sleep in CM 9). So I switched to AOSP Polish blood. Battery life was excellent but it lacked customization, so I switched to AOKP v38+ AOSP kernel. Superb ROM but again not so good on battery (but better than CM 9). Yesterday I flashed the FXP 125 kernel. More than 5-6 hrs of WiFi, 15-20 calls and texting and some instagram and I still have 20%. I'm charging my phone now!!
I´ve uploaded some screens of bbs, cpuspy and batterydrain with wifi on and after switching it off.
Hope it reveals something, what really annoy me is the deep sleep activated most of the time, so I don´t really know what to search.
Just as I thought, what's happening to you is what happened to me a year ago and I thought changing phones would help.
Your problem is basically, bad signal, as you can see in screens 4,5 and 7,8 "No Data Connection" and "No or Unknown Signal" are preventing your phone from going into Deep Sleep, the problem comes from bad 3G signal (or just bad network signal if you don't have 3G) and that is known to basically eat up all your battery.
How is the network signal where you are???, because it looks like it's realllllyyyyy bad.
Akath19 said:
Your problem is basically, bad signal, as you can see in screens 4,5 and 7,8 "No Data Connection" and "No or Unknown Signal" are preventing your phone from going into Deep Sleep
Click to expand...
Click to collapse
Are you sure? Take a better look.
Or at least deep sleep graph. And those graphs "No Data Connection" and "No or Unknown Signal", are also ok(ven though the name is confusing a bit), I have the same.
I'm not COMPLETELY sure but this is exactly what happened to me a year ago with a Samsung Galaxy Mini, also if you look at graphs 4 and 7 Deep Sleep doesn't have as much time as the data and signal bars, to me that seems like those two are keeping the phone in wakelock state more than it is spending on Deep Sleep.
I´ve been experiencing this problem for weeks. About signal I tried everything because:
- Phone worked perfect with SIM and all bars (I live in the downtown of a big city)
- When the problem started to happen I switched to another phone and this one was working without SIMcard so there was no signal at all.
- Some days ago I used another SIM which also have all bars.
I Don´t think there is a problem of the signal . Also in my other phone, and as you can see, Deep sleep is working fine.
I reread your first post and the only hardware problem that I could think of is a faulty battery, did you use to leave it charging all night??, because that tends to burn the battery and it does hold a lot less charge.
According to what I've read, everything seems to be fine software side, my only idea would be that you reflashed stock ROM and check if the problem persists, reflash but don't restore any data, the problem could be a misbehaving app.
I have 2 Neo V (my father´s and mine) I switched batteries, and the problem persist in the same telephone. Also both of them have less than 2 months, so batteries are new.
Also revised the voltage in the CPU and it is alright.
Well, the only thing left to check (IMHO) is a misbehaving app or service, maybe check for task killers or battery savers in the "broken" phone, those are known to eat up the battery like it's ice cream!!
I believe I have the same problem. I can't remeber when it started since I tried lots of roms,
but I flashed latest ICS from pccompanion with no other tweaks for some days and it
continued the same.
I also thought about bad signal, but at night in flight mode it also spent 40% of the battery.
With a good kernel, undervolting, 2G... I can get to 15% 20% at night.
I've also switched batteries with other neo's and no difference.
Phone is 5 months old.
Not sure if it might come from the rooting process. If I understand right, the 0% issue
that some were having was more of hardware issue (or I'm completely wrong?) Then maybe
there is also something related?
ambrosiosanchez said:
I believe I have the same problem. I can't remeber when it started since I tried lots of roms,
but I flashed latest ICS from pccompanion with no other tweaks for some days and it
continued the same.
I also thought about bad signal, but at night in flight mode it also spent 40% of the battery.
With a good kernel, undervolting, 2G... I can get to 15% 20% at night.
I've also switched batteries with other neo's and no difference.
Phone is 5 months old.
Not sure if it might come from the rooting process. If I understand right, the 0% issue
that some were having was more of hardware issue (or I'm completely wrong?) Then maybe
there is also something related?
Click to expand...
Click to collapse
0% was a software related error (flashing GB 2.3.3 after having 2.3.4 broke the battery gauge firmware), however that problem doesn't exist on ICS, I find it reallt strange that both your phones have that problem, I've had my Neo for 8 months and the most battery I've lost overnight has been 10% (with CM9 and really bad signal).
Maybe the best thing you guys can do is send your phone to service.
I have a similar problem with my mt15:
when I buy my phone battery was ok. about two days with intensive social use, no gaming.
5 months later, battery drain begins: deep sleep and 8% per hour , airplane mode 8% per hour
tried almost every popular rom in development forum ICS stock, codename, tweaked, cm7.2, cm9, jjhybrid, KA, ...
tried every popular kernel: stock gb, stock ics, alliance, suave, super, nightelf, cm kernels...
battery drain happens while phone ON, happens with airplane mode, AND happens with PHONE TURNED OFF.
I thinked about battery fault. replaced my battery with a new genuine one. Same results.
If I remove the battery from phone, IT does not drain. 24h later battery is still 100%
So my neo has a hardware problem I think. And there are many people with same problem. look for "neo battery drain while off"
Neo is a buggy phone. you can be lucky, or not. but many people has these issues or 0%batt.
I give up!
After sony abandoned x10 mini pro (random reboots, eclair), I had given another chance to sony with neo. I like sony designs, but Im really tired.
sorry about my creepy english
Try freezing "Calendar" with Titanium Backup and see if battery lasts longer. It helped for me.
genyt said:
I have a similar problem with my mt15:
when I buy my phone battery was ok. about two days with intensive social use, no gaming.
5 months later, battery drain begins: deep sleep and 8% per hour , airplane mode 8% per hour
tried almost every popular rom in development forum ICS stock, codename, tweaked, cm7.2, cm9, jjhybrid, KA, ...
tried every popular kernel: stock gb, stock ics, alliance, suave, super, nightelf, cm kernels...
battery drain happens while phone ON, happens with airplane mode, AND happens with PHONE TURNED OFF.
I thinked about battery fault. replaced my battery with a new genuine one. Same results.
If I remove the battery from phone, IT does not drain. 24h later battery is still 100%
So my neo has a hardware problem I think. And there are many people with same problem. look for "neo battery drain while off"
Neo is a buggy phone. you can be lucky, or not. but many people has these issues or 0%batt.
I give up!
After sony abandoned x10 mini pro (random reboots, eclair), I had given another chance to sony with neo. I like sony designs, but Im really tired.
sorry about my creepy english
Click to expand...
Click to collapse
about battery drain when phone is off
its not consuming your battery while its off
when you are turning the phone on
cpu usage will be on 100% to run all necessary sevices and apps and most use goes to get signal
that's normal
i suppose its aroumd 3-5% of battery consume
im not gonna be at the same side with you
actually neo is a wonderful phone
i beated the score of sensation xe in antutu benchmark with it
just google it around the internet
there will be some fix mate..
Neo is not buggy at all maybe yours but not mine
this might work for you
i just found it
1-flash build 42 official rom on your device
2-root the rom (there are plenty of ways around internet)
3-flash this kernel via flashtool forum.xda-developers.com/attachment.php?attachmentid=780407&d=1321113977
4-now turn on the phone its gonna show 85% of battery
5-install this forum.xda-developers.com/attachment.php?attachmentid=897721&d=1329003275
6-plug the charger into your phone
7-from the menu of app select start full charge
its gonna take 3-3:30 to be full
may be you've seen it around web
i translated it from a persian forum
HIT THANKS IF I HELPED YOU
In my opinion, a phone broken by a software update/downgrade is buggy.
About battery draining while off, not all neo have this issue, but mine is not the only one.
On the other hand, about power consumption while booting, if i remove battery while off, wait some hours, and replace, after boot battery is 100%
Sent from my JJ's Hybrid MT15i
I had this problem too, even when the mobile was off, the battery was drained...
I sent my phone to after sales service and now it's normal drain 2 - 3% per hour when idle. (I was on stock rom and kernel, never changed).
There is maybe a bad hardware series

[SOLVED] Background Data - Flattens battery

Hi Peoples,
I have a Mini Pro SK17i the phone has been absolutely fine for 6 months or so but now the battery is flattening in a matter of hours. This appears to be being caused by the background data, I use y5 battery saver and I've noticed when I get home my internet connection is being rinsed by my phone which causes the battery to flatten very quickly. The phone is also getting hot in my pocket presumably as it's constantly transferring data.
Now I'm presuming this is a particular app that is causing this as it wasn't like this from new.........the only thing is I haven't installed anything for months but this problem has appeared!
I have tried installing Watchdog Lite but no apps are reporting as being bad.
Is there another way to find out what is causing the problem or do I just need to bite the bullet and rebuild my phone?
It's incredibly annoying that I have a phone that I can't use!
Any help would be appreciated.
Thanks,
I think is a Battery Problem. Anyway, you should try installing a custom ROM, and if you can a custom kernel too. If battery still drains so fast, then it´s a battery broblem and you would need to buy a new one
Finally found the problem.............it seems K9 Mail had got itself in a knot about something and was using 100% CPU hence the battery dying real quick.

[Q] Battery drain

Hi. My att galaxy s2 seems to drain a lot of battery no matter which rom or software it is running. Even on stock. It is usually the messaging app, media, android os, and screen that are all taking up large portions of battery. I just wanted to know is there anything I could do/flash that would help this problem? If not could it possibly be a hardware problem? I could replace it but I wanted to know for sure first.
You could try a custom kernel. AJ's and STI both have battery saving tweaks you can use. Not sure if that will help you or not. If you are getting 2 to 3 hours of screen time that is probably all you will ever see. I rarely get more than 3 hours of screen time.
If you are on 4.0 or higher OS, you can also use Greenify to identify and put bad behaving apps into hibernation.

[Q] Is less than 2 hours of battery life normal for Galaxy S2 with

Screen darker than | 5 times darker than | normally possible thanks to Screen Filter app,
removed more than 70 system apps (I have less than 40 now) with the rest except absolutely essential being frozen,
WiFi GPS and all the rest turned off,sound muted, CPU and GPU undervolted and underclocked,(flashed 4.4.2 ROM and Dorimanx 10.43v98.4 Kernel which noticeably boosted battery life, especially after tweaking with the settings) disabled error reporting and everything else battery using I could think of while playing any game?
I doubled the battery life thanks to all the changes I made (read above) because the battery lasted barely an hour, often less.The issue was ever since I got the phone and I thought it was caused by the Samsung bloatware and Android 2.3.4.Being very UNsatisfied with the battery I bought a new one and it doesn't help except that I have double the battery life again (4 hours max) which is still very bad for Me.
The screen gets hot but the battery is even hotter and the area around the SoC (CPU, GPU etc) gets the hottest, I believe
**So is this normal? What else can I do apart from the improvements I wrote above to improve the situation?**
If a battery gets hot maybe try flashing different modem.Can eat alot of battery if it's poorly suited for your country.
TheImpossibleEnemy said:
If a battery gets hot maybe try flashing different modem.Can eat alot of battery if it's poorly suited for your country.
Click to expand...
Click to collapse
Even with airplane mode on wifi always off, no simcard, phone etc apps removed? (In about phone baseband entry is blank!)
It shouldn't be so.
This could be a problem.Try flashing one suitable for your country or one of the so called global ones,like xxms2,xxms4 etc.
Wrong modem+ril may eat your battery even on airplane mode.

Categories

Resources