23

Note: All the following commands below require root access. On Android Oreo, this works and does a graceful shutdown: adb shell su -c 'am start -a com.android.internal.intent.action.REQUEST_SHUTDOWN' adb shell su -c 'am start -n android/com.android.internal.app.ShutdownActivity' #alternative; the aforesaid intent is supposed to be passed to this component ...


12

For Tab S and Tab A and Tab gt-5100 Should work with 8.4 or 10.5 Hold the Power button, Volume Down button, and Menu key for 10 seconds. You will enter download mode, simply press the volume down button to restart tablet. After reboot, you tablet should perform as normal


10

OMG, I have found the following posting: http://community.skype.com/t5/Security-Privacy-Trust-and/Skype-invading-and-changing-people-s-online-status/m-p/2961695/highlight/true#M28546 According to above the "always on" concept was a deliberate decision by Microsoft: (...) we have changed the way online status presence works: (...) we are showing you as ...


7

Based on the platform/system/core repository you linked above, I think the key is in libcutils/android_reboot.c. And important definitions are in include/cutils/android_reboot.h; namely: /* Commands */ #define ANDROID_RB_RESTART 0xDEAD0001 #define ANDROID_RB_POWEROFF 0xDEAD0002 #define ANDROID_RB_RESTART2 0xDEAD0003 Usually in normal ...


6

Prowler answers your first question well: "Why does this happen" -> Prevents data corruption. To answer your question "How can this behavior be overridden?" You can try: setprop status.battery.level 50 from a shell terminal. Note that bypassing the shutdown is 10x more risky than a battery pull. However, in a true emergency, benefit > risk. Why it's ...


6

This is a partial answer based on the output of logs provided. Okay, after looking at the logcat, my guess would be a buffer overrun error originating/stemming from mm-camera and connected services/processes and ion memory allocation. Snippets, 08-11 17:51:19.504 E/libaprpmem( 1539): Ion allocation success virtaddr : ret=2996989952 fd=48 heapid=33554432 ...


6

In fact without removing battery it's not possible to shut down a device completely in order to avoid the loss that could possibly occur due to short circuit caused by water. Let's have a brief look at what shut down means and what are possible options to achieve this. HOW SHUTDOWN WORKS? Android is based on Linux kernel which is the very first executable ...


5

If nothing can be retrieved from logcat you are probably running into a kernel panic. You could check via adb the output of: dmesg Some devices also have a kernel feature where, on critical errors, the last received kernel message can be read from /proc/last_kmsg Maybe this will give you some hints whats going wrong. If not you could stream the full ...


4

here is an another method, go to android shell then shutdown the phone! adb shell shutdown


3

Why does my phone power off? It looks like that Android code automatically shuts down when the voltage is 3.4V , battery is 0% . See this answer Purpose of shutdown as in this answer and also clarified here This is intended to make sure applications save any required information to disk that is specific to shutting down to prevent loss of user ...


3

Send any of Your contacts: /showplaces It will show You all devices currently online for this account: [18:47:36] System: You have 3 online endpoints: {25cf308c-73a9-ddfe-c6c7-c4a2507cf657}) my_desktop Linux Skype {e00a3a04-9ff8-1ad3-4b45-4a3a6d2caf95}) my_notebook Linux Skype {8440a849-0209-4ffb-25c8-c5bdbbe1035b}) localhost Android Skype ...


2

Root your phone with Kingo root. Use a root browser, like ES File Explorer, to find the the file (probably mp3, ogg, or wav) and rename it to have .bak on the end. Paste your sound in the same spot and name it what the original used to be. The file could be under /system/media/audio/ui or under/etc/ called something obvious like PowerOn.mp3. I'm not really ...


2

Other Stack Exchange users have already answered this question in posts elsewhere. t0mm13b writes that, while displaying your carrier's shutdown animation: Android is safely shutting down vital parts of the runtime. The OS is also broadcasting intents to tell apps and services to gracefully close. These, in turn, flush their caches of all data and ...


2

Power save conserves better battery since rebooting or switching the device on typically drops battery charge by a minimum of 1 to 1.5 % , as you can test yourself. This is hardware related and pretty much independent of OS version Restarting the device twice an hour (to check time), puts the loss in the range of 2 to 3 % , if not more Device running in ...


2

You should use State > Battery Level as a profile context with minimum and maximum battery as 3%. In the task, You can use %SMSRN to get phone number of last received SMS. Then to check the condition of whether Last SMS text is received less than 10 minutes. %TIMES has the current time in seconds. You need to use Variable Convert to get %SMSRT time ...


2

That is the default behavior of Android from Lollipop onwards. See this blog which talks of that ( Recents (or Overview)). It is only a list of apps that you used is shown and it doesn't mean that these are running after reboot, so it shouldn't be a concern (unless you want to hide some app or web page that you visited). You can check running apps from ...


2

Long read with plenty of links. I will summarize so that one gets the key points and if needed dive in for details Battery levels are not accurate Firstly, battery levels based on voltage are an approximation and not accurate.Android battery levels are based on voltage See Are battery monitors accurate ? . Key points: See this answer to understand why ...


1

The most probable reason of your Auto-shutdown could be low battery. (I know its "duh", but bear with me) Reason 1: Wrong Battery Stats: This is most probably the problem, because some time ago, I was also in the same position as yours. Here, you will see that your battery is well above 15%; yet it shutsdown in middle of it, and act asif the ...


1

Just tested on my Nexus 7 2012. When I hold the Power and Volume Up. It powers down. Had to hold the power button to get it to turn back on, So I can only assume it powered all the way down.


1

I have owned several Samsung galaxy devices (including an S3 which is somewhat similar to your phone). Often I find that the battery becomes faulty after 2 years of usage. The symptoms you mention also sounds like battery related problems. The key giveaway is that you unable to sustain download mode before your screen goes dark. Troubleshooting Try ...


1

The same thing has happened to me. The fact I also have a Note 3 with exactly the same symptoms makes me believe it is a faulty system update or other service installation/upgrade error. Google Play Services v7.3 (according to https://play.google.com/store/apps/details?id=com.google.android.gms but maybe it's 9.0.82 or 83 or something) rolled out from May ...


1

ANSWER: So this took me some troubleshooting to fix. During this process I was using the Linux Archive Manager GUI to work with my animation files. This was my mistake. At one point, as a test, I deleted folder part0 from the archive, and then added it right back in and pushed it back to the phone. Black screen. This was my "A-Ha!" moment. My archive ...


1

Our default answer on questions like this is tasker – whenever it comes to automation, this is the most powerful tool to be mentioned. Tasker combines Contexts (Events, states, location, time) with Tasks to be fired when such a context is met. For your case, there's an event called Device Shutdown – which you could combine with the task Code › Run Shell to ...


1

You can use Tasker (paid; 7 day free trial) and its Scenes to achieve the goal. Example: (Click image to enlarge) Instructions (Note: root access is needed to shutdown the device.) Go to Tasker → Scenes and create a scene named Auto off. Per your taste, set the size of the scene. You can add text using Text element. The Yes and No in the images ...


1

Provided that HP has not messed up with AOSP much in your device, you can use Tasker with AutoInput (both are paid apps with 7 day free trial) to reboot/shutdown without using power button and without requiring root access. In essence, what we're going to do is show the power dialog (the one you see when you long-press the Power button). (Solution tested on ...


1

To mute them, Simply do the Following : In System > Sound and Display > System volume you can set it, unfortunately the power on/off sound is also tied to the touch feedback sound. You can also use Silent Boot. Note:Disable annoying startup sounds! Silent Boot mutes your phone on shutdown to keep it silent on boot and restores previous volume ...


1

Usually, when the system crashes a Popup is launched. Its options usually are Inform or Cancel. If you click Inform, an app is launched and it lets you see the Log (Which is the one you'd send to Google to inform the bug). You cannot see the Logcat errors because when an app is compiled for release and with Proguard enabled, then the Logs sent by the app ...


1

ADB: Once you have the Android Debugging Bridge (available with the Android SDK or packaged separately) installed on your system and authorized on your device, you can simply run this command from a terminal: adb reboot -p Replace the missing button with a Pressy clone that plugs into your headphone jack. You can then use it with an app like KeyCut to ...


1

If you have got root acces then install an app from the play store that can shut down your phone. Like this one: https://play.google.com/store/apps/details?id=GRuV.PowerOff.PowerOff Hope it helps!


Only top voted, non community-wiki answers of a minimum length are eligible