2022 Developer Survey is open! Take survey.

Hot answers tagged

72 votes

Android x86 Marshmallow not booting on Virtualbox and VMware Workstation

Found the solution! You have to edit menu.lst file. Here is how: boot in debug mode (usually the second option in boot menu) when booting stops (for me it just hangs there with flashing cursor and ...
user avatar
  • 721
25 votes

ADB can discover devices but not fastboot

To make the system recognize the Android device, in their several modes, one needs to set permissions for his user in udev. You need to repeat this process of loading Android udev IDs, for every mode ...
user avatar
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
17 votes
Accepted

What is the difference between aboot and boot?

The Application Bootloader ABOOT boots the Android kernel/Recovery kernel. It is the mechanism to download images onto the device from a host machine (like Windows/Linux PC). On Samsung devices it ...
user avatar
  • 5,100
10 votes
Accepted

Why does Android boot so relatively slow?

Few years back, I worked on Android boot time optimization, as a Android developer. Obviously, as part of this work, we first needed to analyse where Android spends time during booting. Below is the ...
user avatar
9 votes

Android x86 Marshmallow not booting on Virtualbox and VMware Workstation

I'd like to extend and improve @Jay Smith answer based on personal experience. He is right in the core thing that the cause of the issue is VGA resolution used by Android, but he is wrong in his ...
user avatar
8 votes

ADB can discover devices but not fastboot

I had the same problem with InFocus M512, recognized by adb but not by fastboot when in download mode. I've found that specifying vendor ID with -i works (0xID). fastboot -i 0x0489 worked for me.
user avatar
8 votes

Is it possible to boot an Android phone from a USB drive?

It is possible in a sense, however. Given the limitations mentioned in @t0mm13b 's answer, it makes sense that the mentioned boot loader (lk) is incapable of doing this. So, we boot a custom kernel ...
user avatar
8 votes

Nexus 5 stuck on "flying color dots lollipop" screen after Hard Factory Reset

If you have been waiting an excessive amount of time for your phone to boot (eg. leaving it overnight to boot) but it is still at the boot animation, you may be in bootloop. This is when the phone ...
user avatar
  • 2,191
8 votes
Accepted

Using Android phone without battery

AFAIK, no. The fundamental reason is usage and the design that evolved based on it- mobile phone, as the name suggests, is meant to be used whenever and wherever, with periodic charging, unlike ...
user avatar
  • 37.7k
8 votes
Accepted

Backup/dump kernel image (and full ROM) without root for Mediatek Devices

To answer my own question! Warning, in some very rare cases this doesn't work or could be dangerous. For example, Amazon Fire devices refuse to communicate with these tools despite being MediaTek. ...
user avatar
  • 918
7 votes

Nexus 5 stuck on "flying color dots lollipop" screen after Hard Factory Reset

Posting this not so much for the asker, since it was asked ten hours ago, but for others who find this question: Lollipop's first boot can take a long time. On my Nexus 4, after the OTA update from 4....
user avatar
  • 1,044
7 votes
Accepted

Booting kernel from fastboot

When you use fastboot boot FILE.img, the image is downloaded and written into the RAM and than the normal procedure to boot a boot.img is followed. No changes to any partition takes place. If the ...
user avatar
  • 23.3k
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
6 votes
Accepted

How to run a script on boot in CM12.1?

there is a simple method to add init.d support to any rooted android for versions 4.0 and above ,google made a script that runs at boot as superuser the script is install-recovery.shit is used to ...
user avatar
6 votes
Accepted

Marshmallow not bootlooping, but not starting

I just came across this problem myself on my Nexus 5 running Android 6 and after tinkering with it for a few days I was able to resolve it without wiping all my data, so I wanted to share what I did ...
user avatar
5 votes

How to fix a phone stuck at firmware update screen?

It may be an update to your device, but it sounds unusual because no device is allowed to update its firmware when the device battery is running below 30% anyhow, unless you clicked on Update Now ...
user avatar
  • 365
4 votes

How can I run a script on boot?

Look to /etc/ directory. Usually it is placed in /system/ partition which you can mount as RW: $ ls -l /etc lrwxrwxrwx 1 root root 11 Jan 1 2009 /etc -> /system/etc $ su $ mount -o remount,rw /...
user avatar
  • 293
4 votes

Turn phone on with ADB or Fastboot?

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 ...
user avatar
4 votes
Accepted

Can't pass the initial setup wizard on SG3 with broken screen digitizer

Finally found solution via editing /data/data/com.android.providers.settings/databases/settings.db file via sqlite3. Just adb pull that file to your computer, if you use stock recovery you must mount ...
user avatar
  • 171
4 votes

Why does Android boot so relatively slow?

Android boot is slow? My phone has a Quad Core, 3 Gig of RAM ... Android (Both KitKat and Lollipop) takes some 80 seconds to boot to completion. My phone is only dual core with 1G RAM (Zenfone 4) ...
user avatar
4 votes

I Accidentally Deleted the Launcher

You can find a launcher on the Google Play Store and remotely install it that way. Then reboot the phone after it installs. Once the phone reboots it should prompt you to pick a launcher and then you ...
user avatar
  • 618
4 votes

Booting Android from SD card

I have been successfully able to boot from SD card on QMobile Z8 by: Replicating eMMC partition table by partitioning SD card on a Ubuntu machine using parted and fdisk Flashing factory firmware ...
user avatar
  • 17.5k
4 votes

Android x86 Marshmallow not booting on Virtualbox and VMware Workstation

Some progress here, but not the real thing. The following allowed me to boot Android x86 6.0 under VirtualBox correctly - but only once: 1) When booting the installation image, the initial screen ...
user avatar
4 votes

Android x86 Marshmallow not booting on Virtualbox and VMware Workstation

I also had problems with Android x86 vitual box on a Windows 7 Pro x64 AMD machine. I suppose we are all going to have slightly different issues depending on our architecture/hardware but they all ...
user avatar
4 votes

Using Android phone without battery

My Infinix Hot 4 battery exploded and was left without one at home. I did this by drawing a circuit with a pencil on the motherboard from the GND pin to -ve pin. This tricked the phone that it has a ...
user avatar
4 votes
Accepted

Is my Android device booting into a "stealth" partition?

Seems I’ve found the answer at https://andi34.github.io/faq.html Quote: I can't change my rom, wipe / format doesn't work. Nothing changed after flashing with Odin. 16 GB Tab 2 have a known ...
user avatar
  • 201
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.5k
4 votes

Where is Boot flow screen displayed in android

This is all happen in OEM bootloader (proprietary) before android is started. This screen is displayed before splash screen only in yellow/orange/red state
user avatar
  • 3,130

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