AT&T Samsung Galaxy S2 Randomly rebooting - AT&T Samsung Galaxy S II SGH-I777

Hi everyone,
I have a problem with my S2, it keeps randomly rebooting at random moments. Sometimes it would give hints that it is about to reboot by randomly popping up the "Device Option" window which has the power and restart option (this is when you hold the power button). So I figured that something must be wrong with my power button. I then remapped the power button (not sure if its 100% right) to volume up instead. Now my volume up is my power button. However, my S2 is still rebooting. I then bought a new battery because of the "spin test" I read somewhere (the battery had a tiny bulge in the middle). The new battery was created December of 2013, so pretty new. To my dismay, the problem still persisted. I tried flashing a rom for the first time (Slim Bean 4.2.2) but still to no avail. I did system testing of ram and cpu, everything checked...
I am at a lost here... If any one can give any advice that would be great.

US variants have their own fora, belongs here. I've asked mods to move your thread, sit tight until they do.

Sounds like the power button is going bad. That power menu you mention popping up generally occurs when you hold the power button down briefly, so the fact that it appears on its own would lead me to believe that's your problem.

Baldomero13 said:
...So I figured that something must be wrong with my power button. I then remapped the power button (not sure if its 100% right) to volume up instead. Now my volume up is my power button. However, my S2 is still rebooting....
Click to expand...
Click to collapse
Are you sure that your power-to-volume remap completely disables the power button? I am also leaning toward the power button being the issue.
What button remap method did you use? I would like to see if it disables the power button on my i777.

cyril279 said:
Are you sure that your power-to-volume remap completely disables the power button? I am also leaning toward the power button being the issue.
What button remap method did you use? I would like to see if it disables the power button on my i777.
Click to expand...
Click to collapse
Using root explorer, I went to system > usr > keylayout....
I simply switched VOLUME_UP with POWER on "Generic.kl" (only on key 115 and 116 for this file), then on "Gpio-keys.kl," then on "qwert.kl" It seemed to have worked but there might be some conflict because it would reboot in a minute or so if i pressed the power button.
I don't think I was thorough enough with my changes... I honestly wasn't sure on what I was doing, I was just so frustrated. I tried an app from this forum
http://forum.xda-developers.com/showthread.php?t=850464
but that didn't work.
I changed everything back to normal now. I returned it to bone stock 2.3.4 and did not install any app, it still rebooted, so it must be a hardware problem somewhere. I just updated it through samsung kies to 4.1.2 and ran Framaroot and got it rooted.
Click to expand...
Click to collapse
Click to expand...
Click to collapse

check out my post here: http://forum.xda-developers.com/showthread.php?t=2635602
Sent from my SGH-I777 using XDA Premium 4 mobile app

Related

Power Button Question

Is there an app that allows you to reassign the functions of the power button to another key? I am trying to minimize how often I have to use the power button because of the issues several of us are having with the power button.
What are the issues with the power button?
Its hard to describe, its as if the Power Button is moving into the phone it is not sticking out nearly as much as it was when it was new as a result it is becoming tougher to push as it becomes flush with the top of the phone.....
http://forum.xda-developers.com/showthread.php?t=1046425
HarlyFan said:
Its hard to describe, its as if the Power Button is moving into the phone it is not sticking out nearly as much as it was when it was new as a result it is becoming tougher to push as it becomes flush with the top of the phone.....
Click to expand...
Click to collapse
I know what you mean. I came from the Droid X and my first thought when using the Thunderbolt was "WTF at the power button!?" It sits too damn flush with the top of the phone. It took me a good 2-3 days to get used to it. I kept having to look at the top of the phone to get my finger in the right spot.
Anyways... are you rooted? Das BAMF has a feature that allows the volume rockers to be used to wake up the phone. You could then download something like SwitchPro and use a widget to turn to the screen off. Essentially you'd never have to use the power button then.
dbisch said:
I know what you mean. I came from the Droid X and my first thought when using the Thunderbolt was "WTF at the power button!?" It sits too damn flush with the top of the phone. It took me a good 2-3 days to get used to it. I kept having to look at the top of the phone to get my finger in the right spot.
Anyways... are you rooted? Das BAMF has a feature that allows the volume rockers to be used to wake up the phone. You could then download something like SwitchPro and use a widget to turn to the screen off. Essentially you'd never have to use the power button then.
Click to expand...
Click to collapse
Yes I am rooted, I have not tried any custom roms yet. I will try SwitchPro and see how that works. Thanks for the info!!!
SwitchPro does not have anything that looks like it would work as a power button, are there any other suggestions?
I use the free version of quick boot and hardly ever use the power button it allows:
reboot
recovery
bootloader
Power off
crookshanks said:
http://forum.xda-developers.com/showthread.php?t=1046425
Click to expand...
Click to collapse
don't ignore this link because its the only way to get it to wake with the volume rocker buttons
I also downloaded Screen Off to put my device in sleep mode. With these two apps the only time I need to use the power button is when I'm updating ROMs or I need to power on my phone.
Good luck
HarlyFan said:
SwitchPro does not have anything that looks like it would work as a power button, are there any other suggestions?
Click to expand...
Click to collapse
Did you even follow the link I posted?
HarlyFan said:
SwitchPro does not have anything that looks like it would work as a power button, are there any other suggestions?
Click to expand...
Click to collapse
Hmm... I could have sworn that it had a button to turn the screen off. My bad man.
Sent from my ADR6400L using XDA Premium App

[Q] Disable power button menu in lock screen

Is there a way to disable the menu option when long pressing the power button when the phone is in lock mode?
My phone is switching its self off sometimes while in my pocket.
I have tried widget locker but that does the same as the stock screen and still offers this menu while the phone is locked.
I'm using Redmi Note 8 pro Miui 12 Global Rom Android 10 i not found the option sec_key.kl
I can't answer your question directly other than to say you may be blaming the wrong thing - is it really possible that you can keep sustained preasure on the switch for about 8 seconds?
Is it possible that your phone may be rebooting / hanging / freezing in your pocket like mine and many others are?
Have a look here and here to start
Two seconds is enough in my stock lockscreen. So it's very much possible.
Stupid how the shutdown-window is accessible through the lockscreen. Takes away the whole function of this so called lockscreen..
prodygee said:
Two seconds is enough in my stock lockscreen. So it's very much possible.
Stupid how the shutdown-window is accessible through the lockscreen. Takes away the whole function of this so called lockscreen..
Click to expand...
Click to collapse
I agree. For me, it's just under a second. I mean come on. Really?
prodygee said:
Two seconds is enough in my stock lockscreen. So it's very much possible.
Stupid how the shutdown-window is accessible through the lockscreen. Takes away the whole function of this so called lockscreen..
Click to expand...
Click to collapse
But you then have to select "Power off" and then click "OK". Are you suggesting that's happening in your pocket?
naddie said:
I agree. For me, it's just under a second. I mean come on. Really?
Click to expand...
Click to collapse
Tapping or pressing thepower button will bring the swipe screen / lock screen back but this does not stitch off the phone!
From OFF, if I press and hold the power switch, the lock screen comes on, then goes off after 5 seconds. At this point, the phone has not shut down.
From OFF, if I hold the button down for about 9 seconds, it does shut down.
As I said, I don't think this is all that easy to do by accident - maybe even impossible! BTW, my phone is stock.
I'd still say it's the dreaded phantom rebooter
johncmolyneux said:
But you then have to select "Power off" and then click "OK". Are you suggesting that's happening in your pocket?
Click to expand...
Click to collapse
Never mind, you're right about that. I stand corrected. It takes a lot of effort to shut your phone off with the power button, so that can't be the reason OP's phone is shutting off.
http://forum.xda-developers.com/showthread.php?t=1098981
.hide said:
http://forum.xda-developers.com/showthread.php?t=1098981
Click to expand...
Click to collapse
Thanks very much for this
Just removed the wake option from the power button.
To answer a few other posts. The few times it has switched off it has only been while in my jacket pocket. Carrying my niece, seat belt on/off etc. I know it appears difficult to replicate but I have not had any other issues like mentioned in the other forums linked in post 2.
The reason I think its the power button is because I have taken my phone out of my pocket recently and noticed that the menu to shut down has been visable on the screen. I haven't had an issue of it turning off while on a desk etc which is why I think its the power button.
I may be wrong and if it carries on turning off I will look at other options but I do think its silly (how ever hard to replicate) that an option to access the shut down menu while in lock mode is stupid.
By removing the option to wake from the power button and setting widgetlocker to block homehelper there is no way to access the menu the power button had until the phone is unlocked. Which is how the lock screen should work regardless of if it solves my problem or not.
For SGS2 users, I used Root Explorer to edit:
Code:
/System/usr/keylayout/sec_key.kl
I found the following line:
Code:
key 116 POWER WAKE
To disable the Power button from waking up your device, simple delete the word 'WAKE', save the file, and reboot.
Cheers to the others in the HD2 thread for the tip.
same problem with galaxy w
jonamafun said:
For SGS2 users, I used Root Explorer to edit:
Code:
/System/usr/keylayout/sec_key.kl
I found the following line:
Code:
key 116 POWER WAKE
To disable the Power button from waking up your device, simple delete the word 'WAKE', save the file, and reboot.
Cheers to the others in the HD2 thread for the tip.
Click to expand...
Click to collapse
i have the same phantom restart problem......but i cant access the phone to use the root explorer ....wat should i do????
Hi all i made an app to avoid this, blocking power menu on lockscreen no need of root working on 2.2+ and you can set up a custom menu (power and reboot need root) so you should take a look and if you like please leave a 5 stars, or let me know any issues
Play Store Link
zen kun said:
Hi all i made an app to avoid this, blocking power menu on lockscreen no need of root working on 2.2+ and you can set up a custom menu (power and reboot need root) so you should take a look and if you like please leave a 5 stars, or let me know any issues
Play Store Link
Click to expand...
Click to collapse
Nice, this was exactly what I was looking for on my Nexus 4 running 4.3 and Cerberus. Unfortunately only the power off menu is disabled (it just flashes for a millisecond) but long pressing the power button still shuts off the phone...
Sent from my Nexus 4 using Tapatalk 2
itenos said:
Nice, this was exactly what I was looking for on my Nexus 4 running 4.3 and Cerberus. Unfortunately only the power off menu is disabled (it just flashes for a millisecond) but long pressing the power button still shuts off the phone...
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
yeah, i cant do anything without change whole rom :/ its just a workaround :/

[Q] Power Off Shorcut

Hello, i`ve upgraded my s2 to ics and i have a inconvenient.On gingerbard, holding the power off button would showed up some shorcuts including the 3g activation.On ics if I hold the power off button it shutdowns directly.Is there any possibility to make it do the same action as on gingerbard?Is there any alternative for activating the 3g without going deep into the settings?Thanks
saddameu said:
Hello, i`ve upgraded my s2 to ics and i have a inconvenient.On gingerbard, holding the power off button would showed up some shorcuts including the 3g activation.On ics if I hold the power off button it shutdowns directly.Is there any possibility to make it do the same action as on gingerbard?Is there any alternative for activating the 3g without going deep into the settings?Thanks
Click to expand...
Click to collapse
That's strange. I don't think that holding power shuts it down directly without power menu (unless you hold it for 8-10 seconds, then yes it's normal, but I don't think that's what you mean). Maybe something went wrong during the update. Try reflash maybe, or reset to default...
antonio1475 said:
That's strange. I don't think that holding power shuts it down directly without power menu (unless you hold it for 8-10 seconds, then yes it's normal, but I don't think that's what you mean). Maybe something went wrong during the update. Try reflash maybe, or reset to default...
Click to expand...
Click to collapse
ive tried like 4-5 diff ics versions today.Everything is working perfectly but the phone shutdowns directly when I keep it pressed instead of showting shorcuts like gingerbard does.Maybe i`m missing some option, some check box unchecked but I didin`t find any option.
saddameu said:
ive tried like 4-5 diff ics versions today.Everything is working perfectly but the phone shutdowns directly when I keep it pressed instead of showting shorcuts like gingerbard does.Maybe i`m missing some option, some check box unchecked but I didin`t find any option.
Click to expand...
Click to collapse
Official Samsung firmwares? I find it really strange. It should have a power menu. (you are holding it just 2-3 seconds right? Not 8 so you are forcing it to shut down).
I'm sorry, some other expert will help you. But stock firmwares and custom ROMs, they all have power menu. I've never seen any firmware/ROM that shuts down directly.
Sounds like you're missing /efs/imei/keystr
Create a file called keystr in /efs/imei and put "ON" in it.
wow, you are a genius.Everything was fine and working except that holding thing and I also had no screenlock, it was just getting to the menu if i would have pressed home button or power off.I fallowed your instructions and they were both fixed.Thank you very much.

[Q] Broken power button problem

my htc amaze has a broken power button and would flash on and off unless i take out the battery. the power button is gone, but the power sensor is still there. the phone will stay on if i push on the power sensor correctly.
you guys have any advice on fixing this and how much would it cost to repair?
thanks a bunch
have you checked on ebay for any repair parts?
Should be warranty.
yeah i checked around ebay and google for a power ribbon flex, but no luck finding one.
i found this searching around, but does it work for htc amaze? (http://forum.xda-developers.com/showthread.php?t=1524858)
heres a picture if it helps:
http://postimage.org/image/hw25joisb/
I used Button Remapper to map the power on/off to the camera button. Never used the camera button anyway.
You can remap the power button to nothing.
dkb218 said:
I used Button Remapper to map the power on/off to the camera button. Never used the camera button anyway.
You can remap the power button to nothing.
Click to expand...
Click to collapse
Does it work to turn the phone on when its off? I only ask because I would like to set it up like you did with camcorder button.
Live and Die on this day....
chozyn said:
Does it work to turn the phone on when its off? I only ask because I would like to set it up like you did with camcorder button.
Live and Die on this day....
Click to expand...
Click to collapse
It won't be able to, since the power button is assigned to turn on the device. There's one way I know of that you can use to turn the phone on when it's off. It requires a computer though.
You will need 4ext recovery installed. After that, have the phone connected to a computer and then (assuming you have adb drivers set up) type in the following command:
adb reboot
That should boot up the phone.
Sent from my HTC Ruby using xda app-developers app
Thanks that is great to know!
Live and Die on this day....
chozyn said:
Does it work to turn the phone on when its off? I only ask because I would like to set it up like you did with camcorder button.
Live and Die on this day....
Click to expand...
Click to collapse
Sorry for the delay in answer. You can map the power button to whatever button you like. It does turn the phone off and on. I will act exactly as the power button does.
It won't be able to, since the power button is assigned to turn on the device. There's one way I know of that you can use to turn the phone on when it's off. It requires a computer though.
Click to expand...
Click to collapse
That's incorrect. Once the cam button is mapped as a power button, it will behave exactly as the power button.
dkb218 said:
Sorry for the delay in answer. You can map the power button to whatever button you like. It does turn the phone off and on. I will act exactly as the power button does.
That's incorrect. Once the cam button is mapped as a power button, it will behave exactly as the power button.
Click to expand...
Click to collapse
No it doesn't behave like a power button. Sure it can wake the device and put it to sleep, but it CAN NOT power up the device once it's off. The power button sends a different kind of signal when the phone is off, and cannot be remapped with software means. It's a hardware button that tells the phone to turn on.
Before you go and tell me that it's not true, I even tested it out myself just to be sure and yep, it doesn't power on the device once it's off.
Sent from my HTC Ruby using xda app-developers app
Keylogger_0 said:
No it doesn't behave like a power button. Sure it can wake the device and put it to sleep, but it CAN NOT power up the device once it's off. The power button sends a different kind of signal when the phone is off, and cannot be remapped with software means. It's a hardware button that tells the phone to turn on.
Before you go and tell me that it's not true, I even tested it out myself just to be sure and yep, it doesn't power on the device once it's off.
Sent from my HTC Ruby using xda app-developers app
Click to expand...
Click to collapse
I stand corrected. I thought he was talking about stand-by off. I also tested if the button works to power on the device and you are correct, it doesn't work.
To the OP. My power button does work if I remove the battery case and press the spot where the battery case button would make contact with the phone. It would seem to be a problem with the button making contact with the phone.

[Q] Phone freezes up and screen stays black when pressing lock button twice quickly

Every time I press the lock button twice quickly when the screen is off it gets locked up. I do this on accident sometimes. Is this always going to be a problem or can it be fixed?
Which button are you referring to? Do you have SGH-I777?
Yes I have the SGH i777 and I am talking about the power button.
ddmanfire said:
Yes I have the SGH i777 and I am talking about the power button.
Click to expand...
Click to collapse
That would be abnormal behavior for the power button. When the screen is off, pressing the button once or twice quickly should make no difference. The screen should come on in either case.
What firmware do you have on the phone? Unless the power button is somehow programmed to recognize a double press somewhere in the firmware, then it is possibly a failing button.
That would be abnormal behavior for the power button. When the screen is off, pressing the button once or twice quickly should make no difference. The screen should come on in either case.
What firmware do you have on the phone? Unless the power button is somehow programmed to recognize a double press somewhere in the firmware, then it is possibly a failing button.
Click to expand...
Click to collapse
Thank you for helping me. I am running the stable build of Cyanogenmod 10.1 (4.2.2) directly from their website. However, I do not quite believe that my power button is failing. It works fine when i click it once. Is there a way to know if its just a software problem vs a hardware problem? Thanks
ddmanfire said:
Thank you for helping me. I am running the stable build of Cyanogenmod 10.1 (4.2.2) directly from their website. However, I do not quite believe that my power button is failing. It works fine when i click it once. Is there a way to know if its just a software problem vs a hardware problem? Thanks
Click to expand...
Click to collapse
Yes, of course. Just flash back to stock and see if the problem persists. I would suggest you try 4.1.2 UCMD8, but it really doesn't matter which version. If the problem goes away, then the issue is in firmware. You should be able to make a nandroid backup of your current configuration, and restore it after you finish the test. (I assume you would understand the necessary steps.)

Categories

Resources