You cannot (barring any hardware tweaks.)
If you root your phone and install a custom ROM, you may be able to remove the "Turn off" and "Reboot" options from the Power menu. However, Nexus 5 (as do most modern phones) has a hard-wired feature, where holding the power button for 10 seconds shuts the phone off. This is done so that you can restart the phone ...
The battery charging graphic is displayed by /system/bin/playlpm file on Samsung devices.
If you are root, you can edit this file to:
And be sure to add those permissions to the file:
chmod 0755 /system/bin/playlpm
chown root.shell /system/bin/playlpm
Your device will now boot when plugged
That is expected behavior. It allows you to turn the phone off if you need to ensure the battery doesn't drain (or whatever other use-case you can think up) and still have a usable alarm clock. It's not new, many Android devices do something similar, and every iPhone since the first-generation models also had that feature. I can also recall an old Nokia 3310 ...
There was a question here asking if it is an expected behavior, it has two answers saying not much more as simple yes.
I am going to answer this question as a question of why is it so, whether Android is running, and how it works if not.
The answer is: no, Android is not running nowhere, nor is Linux underneath him. Wake up on alarm is a hardware feature ...
There are some apps who have this feature, Like switch off, reboot and etc.
One of them is Notification Toggler , This app isnt particularly for switch off and reboot stuff, but you can do that also. :)
I think you have to root your device to use reboot and shutdown , You can't do it without Root unless applications are signed with the System ...
fastboot oem off-mode-charge 0 is the genuine method if your device supports. It's Google's recommended method but not all OEMs/vendors implement the command in bootloader. Or on some devices it's reset on next reboot. If off-mode-charge is disabled, bootloader won't pass androidboot.mode=charger commandline parameter to kernel when charger is inserted, so ...
I also recently upgraded my Note2 from 4.1 to 4.3 and was having the same problem. I installed the Wakelock Detector by UzumApps and found that the Noom Walk pedometer app was waking the screen. I uninstalled the Noom Walk app and the screen no longer wakes. The Noom developers have posted a test APK which can be found here: http://noom.uservoice.com/forums/...
So, there are many ways to do so. The most proper one, as always supported by Google (and more and more by others, e.g. nvidia from nougat) is this fastboot command
fastboot oem off-mode-charge 0
Otherwise, you can either hijack the charging binary (not guaranteed to be possible on all devices, but just requires root) or patch your ramdisk (theoretically ...
Following solution worked for me:
Take your battery out (needs to be a charged battery).
Press and hold the "Home" + "Volume Down" button. While holding them down plug in the battery. This should get you into Recovery mode.
Press "Volume Down" button to cancel Recovery and it should reboot your phone.
With my testing you need ...
No, this isn't possible. Some CM versions allow you to use the trackball to turn the screen on, but there's no way to turn the device on from cold this way. When the device is off, Android isn't running, so nothing in Android can listen for a button press. The handling of the power button is much lower-level in the device firmware, and isn't available for ...
I have a OnePlus2 and I got a new phone to replace it. I turned the OnePlus2 off and left it unplugged overnight but didn't disable the alarm. It automatically powered on and rung the alarm in the morning twice for me so far.
So, depending on your phone model, this does seem to be a thing these days.
I'm assuming you have a power cable plugged in.
In that case you'll have to unplug the cable, turn it on and plug it in as soon as something appears on the screen.
I've had this problem several times when trying to flash the phone while tethered to a computer and forgot to take out the USB cable when rebooting.
It's none of the two. Turning of the screen of an Android device will not hibernate it (thinking of a phone: What about incoming calls if the device would be hibernated?). Android handles things a little different.
In the best case, with the screen switched off Android enters a very energy-saving mode called "deep sleep". It will cycle down the CPU to a ...
The problem with understanding any physical buttons on an Android, is that they are extremely hardware dependent. Usually they're connected to some GPIO port on either the application processor (AP) or cellular processor (CP/modem), and on some devices (MTK,Qualcomm) these are combined in a SoC. In other devices, there is a separate touch screen MCU, that ...
I have the same problem once a week and have a little different solution (workaround):
Unplug the phone from the charger
Press and hold the volume down button plus power button for 15 seconds
Plug it into the wall-charger (while still holding both buttons!)
-> the red light should start to blink.
After 4-5 blinks release the buttons
Wait some seconds and ...
I had some trouble with the accepted answer as I'm not hugely familiar with shell scripting on Android/Unix/Linux so I thought I'd add my experience here for anyone in a similar boat.
To get this working with Tasker or similar the line you need is:
echo 0 > /sys/class/leds/lcd-backlight/brightness
For tasker put this in the 'command' field with 'Use ...
Even stock ROMs have a feature named Scheduled Power-On.
Phones have a built-in battery to allow RTC (real time clock) to run while the device is powered off, and it's the base that scheduled power-on is designed.
Here's Settings -> Advanced -> Scheduled Power On/Off on my phone (OnePlus 5, Stock 7.1.1)
(click image to enlarge)
Depending on the device that you are using, this setting can easily be configured, in fact it comes natively on some devices like Xiaomi (MIUI), LG, Oneplus or Lenovo.
For example on my device running MIUI 9, I can easily configure the timer like so:
Open the Security App → Battery → Settings (Gear icon on top right corner) → Schedule power on or off:
This hasn't been a stock Android feature. Some sources including this Missing "Scheduled Power On/Off" option in Android 5.0.2 on Swipe Elite Plus phone talk of it being on Lollipop but I jumped that version so can't comment
For sure, it's not a stock feature from 6.0 to 8.1. You can use some automation app to schedule power off not power on
Disabling the power button and changing the volume_up button to power did end up working (i.e., prevents faulty restarts at random times.) I also verified that long pressing the actual power button does end up restarting the device, which means that restart is somehow programmed at the hardware level.
Just got this working for ZTE Force (Boost Force, Sprint Force, etc).
I used IET_DEMO's answer, but replaced the file located at /system/bin/battery_charging with this code:
If it's a hardware defect, I would suggest sending it to a service center for repair. You could plug it to a portable power bank so it lasts longer. But before you do that, you might want to back up your data to your PC or somewhere else first.
Problems after dropping the phones typically come from two reasons:
Brown out (unclean voltage drop)
The voltage drop may temporarily lock up the circuit, so you could take out the battery for some time to let it properly reset. Else inspect the connector springs if they're bent and measure the battery voltage, try a spare battery, etc.
"plug into charger or computer while u press power button + vol down + home when the os screen"
Should be without power button pressing because power button does not work.
But when this is followed it DID WORK! Thanks!
(exiting firmware menu boots the phone)
Worked with Galaxy Note 3.
I had luck holding the power and volume down button for 10 seconds, then plugging in the usb charger. I was presented with the technical boot screen which gave me a few options (start, recovery mode, etc) - I just selected start and it began to power on as normal. Now charging with the white icon from 0% charge.
Not going to beat around the bushes here - take it to a repair shop as soon as you can.
The problem with water damage is that it's impossible to diagnose the extent of the damage by just seeing what the average user can do (ie. turning it on and off). It needs to be opened up and inspected by someone who knows what they're doing so they can let you know if ...
One solution could be following: you need to edit boot.img ramdrive content and have su installed it to work.
unpack boot.img and extract init.rc from ramdrive.
Add following to the end of file:
#Check if chargermode and start rebootit service.
and after it added following:
#rebootit service which ...