[Q] shutdown via script - Sprint Samsung Galaxy S III

i would like a script that would shutdown from a script but not immediately ( like not a battery pull) because i know off an app that does that but i don't want to do that i want a safe shutdown. if you ask why i need this and not just hold the power button then it is because when i hold down the power button i dont get the menu.........

I'll post this here as well.
Hold the power button for 8 seconds and it will turn off. Or so says the stock Task Manager.
Posted by Mr. Z's Galaxy S3.

zanderman112 said:
I'll post this here as well.
Hold the power button for 8 seconds and it will turn off. Or so says the stock Task Manager.
Posted by Mr. Z's Galaxy S3.
Click to expand...
Click to collapse
But that's a instant shutdown. Can't that damage data?
Sent from my SPH-L710 using xda app-developers app

jamcar said:
But that's a instant shutdown. Can't that damage data?
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
It won't hurt anymore than a battery pull.
Sent from my SPH-L710 using Tapatalk 2

I backed up this script a long time ago and just recently found it on my SD. It shuts down the phone
#!/system/bin/sh
reboot -p
Sent from my SPH-L710 using Tapatalk 2

Khilbron said:
It won't hurt anymore than a battery pull.
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
A battery pull could hurt it....
Sent from my SPH-L710 using xda app-developers app

Related

Power button rarely works in cwm

Its hit or miss and makes flashing anything a pain in the a$$. Is this common or did I some how manage to bork something?
Sent from my SPH-D710 using xda premium
What version of cwm do you have?
Sent from my MB855 using XDA App
I for one am actually having issues with the volume up portion of my volume rocker. Some apps it doesn't even function...
qbking77 said:
What version of cwm do you have?
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
5.0.2.7
Sent from my SPH-D710 using xda premium
mikel719 said:
5.0.2.7
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
I think when you are in recovery, its volume up, volume down, volume up that enables power button
Sent from my Nexus S 4G using Tapatalk
JohnCorleone said:
I think when you are in recovery, its volume up, volume down, volume up that enables power button
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
I've cycled through the menu up and down and the power burton wouldn't work. I had to hit it about 8 times for it to work.
I'm going to test that now.
Sent from my SPH-D710 using xda premium
I thought the home key was used to make a selection? Am i misunderstanding your issue?
Sent from the future.
SocialReject said:
I thought the home key was used to make a selection? Am i misunderstanding your issue?
Sent from the future.
Click to expand...
Click to collapse
My issue us with making a selection using the power button.
Sent from my SPH-D710 using xda premium
JohnCorleone said:
I think when you are in recovery, its volume up, volume down, volume up that enables power button
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
I tried that and it worked on the first try. Will have to test it out some more to make sure it wasn't a fluke.
Sent from my SPH-D710 using xda premium
I had the same problem. I came across the solution by accident when I hit the volume up and down buttons in succession several times (up down up down up down). Give that a try!
I hit volume up really fast about 10-15 times and that is what activated the power button for me.
mikel719 said:
I tried that and it worked on the first try. Will have to test it out some more to make sure it wasn't a fluke.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Nope, its no fluke if you start at the top. Thanks to Tiffany84 and qbking for the tip when I asked about scrolling 15 or 20 times
Sent from my SPH-D710 using Tapatalk
mikel719 said:
My issue us with making a selection using the power button.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
I've got 5.0.2.7 and for me the power button is the back button and home is for making a selection.
_MetalHead_ said:
I've got 5.0.2.7 and for me the power button is the back button and home is for making a selection.
Click to expand...
Click to collapse
That is correct. If u way the power button to be the enter button then when cwm loafs up it volume up, down, and up again and then u should see "back button enabled" and then the power button makes the selection.
Sent From My Evo Killer!!!
I read this as power button rarely works on cm
I was so exicited only to be let down :'(
Sent from my SPH-D710 using xda premium
It has to do with scrolling through the options completely and going around. So If you go to a screen with less options it will be faster to hit the volume up or down. I believe it is 3 loops that enables/disables it.(maybe 2...)
Sent from my SPH-D710 using XDA App
Uhh... just use the home button to select? Power button is for going back.
Thats what was figured out.
Sent from my epic touch B=====D {()} (o)(o)

SD Card is Inserted Notification

I get it every time I turn it on. That's not normal right? Sorry if its been discussed. I searched for an hour.
Sent from my Xoom using xda premium
I have the same notification all the time too. So I think it's normal
Sent from my A100 using Tapatalk
Thanks! This is the first time I've ever seen it on any HC tablet.
Sent from my NexusHD2 using xda premium
i get it also but only when I power it on. not coming from sleep
max69power said:
i get it also but only when I power it on. not coming from sleep
Click to expand...
Click to collapse
Same thing here. I meant power on...
Sent from my NexusHD2 using xda premium
Me too. I think it's normal. No need to worry.
Same here, get the SD Card inserted on start-up from power down.
Guess it's normal

Home button wake up phone

Is there a mod like that...where I could use the home button to wake my
Phone because my power button just popped off yesterday...or know any to me that do that...I know Pacman Rom does...thanks in advance...
Sent from my SGH-T999 using xda premium
Thought all ROMs allowed it unless they removed it.
Sent from my SGH-T999 using xda premium
Where in the settings is that...?
Sent from my SGH-T999 using xda premium
mt3g said:
Thought all ROMs allowed it unless they removed it.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
I think the OP meant to have the phone POWER UP using that button, instead of wake up....
If that is the case, I've never seen that, would be interesting. Should not have said "wake" OP, wake insinuates it was sleeping (screen just off) not "dead". You said that it was in the Pac Man rom where did you find it there?
You can try to change key layout. Make nandroid backup for safty and go to system/usr/kaylayout. I don't know which key is which so you would have to look around in there. I can't guarantee that this will work because I never tried that, but it should. Let us know about results.
Good luck
Sent from my SGH-T999 using xda app-developers app
HajmeR said:
You can try to change key layout. Make nandroid backup for safty and go to system/usr/kaylayout. I don't know which key is which so you would have to look around in there. I can't guarantee that this will work because I never tried that, but it should. Let us know about results.
Good luck
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
No I just ment wake up...cause to get to my recovery i have to use a paperclip to push in where my power button was...but yeah I ment wake up so I could still wake it up to even use my phone but im gonna check yhose files ill tell you what I find...thanks for the help guys...
Sent from my SGH-T999 using xda premium
This thread should answer your questions. Instead of removing wake make sure wake is included.
http://forum.xda-developers.com/showthread.php?t=1836758
Pretty sure only a couple roms removed that, every rom I've tried wakes up with the home button. About all but 4 lol.
Sent from my SGH-T999 using xda premium
If you ment just wake up I'm going to look which files and keys I have for that and I will give you names of them so you can edit them.
Update: Ok, I've checked that and it seems that key 172 in sec_keys.kl is home button. So if you would just add "WAKE" after it then you should be ok. I think that if you would also add "POWER" then it should power on or off (?) your phone. I don't know how you would be able to get to recovery then but it's interesting. Maybe phone will think that you press both buttons? xD
Sent from my SGH-T999 using xda app-developers app
As a workaround to get into recovery without using a paperclip, you can use any of a number of apps that have a reboot to recovery option.
Sent from my SGH-T999 using xda premium
moto211 said:
As a workaround to get into recovery without using a paperclip, you can use any of a number of apps that have a reboot to recovery option.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Yeah I finally did that...lol

Recovery Mode

How do I enter recovery mode? It doesn't seem like its so straightforward as the GNexus. (Vol. Down + power button)
Just the booting process alone has ate up 20% battery in 5 minutes..
Sent from my LG-LS970 using xda app-developers app
It should. Use quick boot?
Sent from my LG-LS970 using Tapatalk 2
Vol up + power. When you see the bootloader hit vol down twice then power.
Sent from my LG-LS970 using xda premium
Is it possible to get into recovery on a stock phone?
megamaster2 said:
It should. Use quick boot?
Sent from my LG-LS970 using Tapatalk 2
Click to expand...
Click to collapse
Ya i use quick boot to eliminate wear and tear of the buttons.
Sent from my LG-LS970 using xda premium

[Q] Strange Brick Case

My brothers S3 is soft bricked, it boots but will not go into recovery mode. It will go into download mode but before I am able to flash anything it shuts off. I made sure that the battery was fully charged. Any suggestions?
android4545 said:
My brothers S3 is soft bricked, it boots but will not go into recovery mode. It will go into download mode but before I am able to flash anything it shuts off. I made sure that the battery was fully charged. Any suggestions?
Click to expand...
Click to collapse
Whwn you go into download mode are you connected to ODIN? Does Odin at least see the device?
Odin recognizes it but before it can do anything the phone shuts off
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
android4545 said:
Odin recognizes it but before it can do anything the phone shuts off
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sometimes the power button gets stuck. Will always reboot.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
KorGuy123 said:
Sometimes the power button gets stuck. Will always reboot.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
So how can I fix that? Will I have to send it to Samsung?
android4545 said:
So how can I fix that? Will I have to send it to Samsung?
Click to expand...
Click to collapse
Make sure it has a satisfying click when pressed. If yes than I'm wrong. If not than try pressing it a couple times or spraying compressed air at it.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
KorGuy123 said:
Make sure it has a satisfying click when pressed. If yes than I'm wrong. If not than try pressing it a couple times or spraying compressed air at it.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
It is a satisfying click, I don't think that its the issue, any other ideas?

Categories

Resources