Hot answers tagged

31 votes
Accepted

How can I reboot into recovery from fastboot?

(Self answering here because I only found this answer after hours of dredging through 200 page threads of forum posts.) There are two non-standard but semi-prevalent methods that may work depending ...
user avatar
  • 1,805
25 votes
Accepted

Open an app on startup/after booting

I'm not sure about the configuration setting, but I believe this is not only limited to home screen managers since you can achieve this by using 3rd-party apps. Some related keywords: Startup ...
user avatar
  • 12.2k
16 votes

What's the best way to restart Android via command line (remotely)?

What is the device doing exactly when I'm pushing the (hardware) power button? I guess that's the most friendly way. You get to see a dialog with an option to power off the device (stock Android ...
user avatar
  • 23.3k
11 votes

What's the best way to restart Android via command line (remotely)?

killall zygote This will kill the root zygote process and cause a Android system refresh. This does not restart your phone's hardware, only the Android processes. By default (in Linux), the kill/...
user avatar
  • 293
8 votes

Why does "adb reboot" shut down my phone so much faster than usual before it reboots? Is it skipping important steps?

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: /* ...
user avatar
  • 531
6 votes
Accepted

Shell script to reboot into recovery and install zip

I ended up looking at Cyanongenmod's source code and figured out how they did it. Here is my working .sh script: echo 'boot-recovery ' > /cache/recovery/command echo '--update_package=/sdcard/...
user avatar
6 votes
Accepted

(Re)boot an Android phone from USB

Real Reboot Works on Android 2.1 - 4.2.1 No Root 4.2.2 and up needs root. For a PC method you will be using Android Debug Bridge, commonly called ADB. Here is a link for a download. It's from the ...
user avatar
  • 2,430
5 votes
Accepted

Is it always possible to reboot the phone without removing the battery?

As pointed out by my other answer, and confirmed by the OP for the given device with reference to a blog article on the Z1, most devices with non-removable batteries have other means to "disconnect ...
user avatar
  • 88.9k
5 votes

Samsung Galaxy S3 keeps restarting, stuck on Samsung logo

It does look like a stuck power button. (as ridiculous as it may sound) The behaviour in your phone is exactly as it is when I press and hold on my power button for an extended period. By right, the ...
user avatar
  • 262
4 votes
Accepted

How to disable bad RAM addresses and fix bad storage blocks?

This might not be a direct solution to your problem, but I'm sharing my thoughts on it. SHORT ANSWER It's not very likely for RAM on embedded systems to get defective. And if it does, solutions ...
user avatar
  • 17.3k
3 votes

What/How quick reboot works?

I've never seen this option built-in, but there are several apps/widgets on the Playstore offering a "quick boot" as well. The term is a little misleading, as it's usually not a boot at all. For some ...
user avatar
  • 88.9k
3 votes

Reboot option in power button menu for Nexus 4

No, without custom rom or root on your phone, you can't have this kind of menu. It will maybe appear in Android L ...
user avatar
  • 141
3 votes

Is it always possible to reboot the phone without removing the battery?

If the device freezes, usually you can long press the power button. Depending on the configuration of the device, it will either turn the device off completely (e.g. Nexus 7, HTC Butterfly S) or make ...
user avatar
3 votes

Samsung Galaxy S3 keeps restarting, stuck on Samsung logo

I can suggest to follow these steps: Remove USB cable and battery. Re-insert battery. Hold Volume Down and Home, then press Power. If you can enter the recovery system, try to clear caches. If that ...
user avatar
  • 156
3 votes

How to enable adbd to listen to a port at boot time in Android?

Replace "service" by "persist" to keep it upon reboot : setprop persist.adb.tcp.port 5555
user avatar
3 votes
Accepted

Why does "adb reboot" shut down my phone so much faster than usual before it reboots? Is it skipping important steps?

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 ...
3 votes
Accepted

How to restart android, without touch or removing battery?

Press and hold the power button for 10-20 secs and your phone will force reboot, in most cases anyway. If your phone still doesn't reboot, then you'll have to remove the battery and if its not ...
user avatar
  • 56
3 votes

Music stored on the External SD Card is removed from playlists at reboot

After more experimentation, I've made a breakthrough. Ultimately, this all happens cause Android's Media Scanner will scan the internal SD for media at startup. When it finds Playlist files it ...
user avatar
3 votes
Accepted

Optimizing Apps: Why?

This is something in Android that is called the dalvik-cache. It's basically an optimized version of the android package you usually install/download on your phone. This is usually done while ...
user avatar
3 votes

Android instantly reboots on incoming call

The answer was not obvious. It's because of the corrupted telecom.service (dialer) app. BLOX 2016 always had issues with ringtones, but I guess they completely ruined it in some of their updates. The ...
user avatar
  • 51
3 votes

How to set restricted user as default user on reboot?

I am suggesting two solutions. Both of them require root access, and both were tested on a OnePlus 6 running Android 10. Solution #1 Have the following script (let's call it switch-user.sh) run during ...
user avatar
  • 23.3k
3 votes

Wileyfox Swift won't turn on

Probably too late for you, but in case others stumble across this page while seeking help, like I did..... I had a similar problem and contacted them via their chat function on their website. I was ...
user avatar
3 votes

Cannot boot into fastbootd OnePlus 8T

I downloaded Android's SDK Platform-Tools, extracted the platform-tools folder and ran a terminal in side that directory. When I executed ./fastboot reboot fastboot it did boot into fastbootd ...
user avatar
3 votes
Accepted

Salvage Android Phone as Linux-Server (radio/wifi hardware broken)

I solved by myself so I'm sharing so it might be useful for others. Deeper disable wifi/radio = recompile android Linux Kernel disabling wifi/radio drivers First I tested the Lineage OS custom ROM for ...
user avatar
  • 188
3 votes

Reboot Android devices automatically at a specific time (i.e. 3 AM) every day

Run the following shell script from init.d (or /data/adb/*.d/ in case of Magisk). Or run directly from init's .rc file. See How to run an executable on boot and keep it running? #!/system/bin/sh -e # ...
user avatar
  • 17.3k
2 votes

Can adb start my android device that shows up as "offline"?

I only encountered device shown via ADB as offline in two cases: Device not authorized (ADB security features) No proper udev rules setup As the first case is most likely not your problem as these ...
user avatar
2 votes

Samsung Galaxy Ace GT-S5830 neither goes into Download Mode nor RAM Dump Mode

Plug it into your computer and see if by some offshoot chance you have adb available. If so, run a adb -d reboot-bootloader to reboot into download mode. If that's unavailable, you are SOL and will ...
user avatar
2 votes

Is it always possible to reboot the phone without removing the battery?

The answer to your original question is no. Sometimes, if a device DOES have an easily removable battery, it will not have a hardware reset option. You could build an Android device that had no ...
user avatar
2 votes

How to check logs with no adb on KitKat after a reboot crash?

Neither of those will help you. The log in Android isn't written to disk: it's stored in a ring buffer in memory, and is lost when the device reboots.
user avatar
  • 34.3k
2 votes
Accepted

Need to reboot Android to see new files

It's a bug in the app. Android has a thing called the media-scanner, which scans newly added files for metadata, so they can be included in media players, photo albums, etc. It relies on the app that ...
user avatar
  • 34.3k

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