2022 Developer Survey is open! Take survey.
32 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,825
10 votes

Nexus 5 Reboot loop

I think you encountered the issue with a stuck power button. I had the exact same behaviour that also went away without explanation to return a few weeks later. I read the one trick is to bang it in a ...
user avatar
8 votes
Accepted

Boot loop after flashing Android 6.0 Marshmallow on Nexus 5

I too faced this issue and issuing the fastboot commands manually (instead of relying on flash-all) and it worked well. These are the commands to use (just forget everything and make sure these ...
user avatar
  • 7,114
7 votes
Accepted

Trying to flash a system.img I took with dd - failing

Episode 3: Return of the Shell. If I ever had any chance of solving this, I first had to figure out why the shell wasn't working. adbd itself was responding, so it was started on the tablet side - ...
user avatar
  • 701
6 votes
Accepted

Moto E Not Starting Properly After Changing runtime to ART

/data/property/persist.sys.dalvik.vm.lib contains the name of the runtime library you wish to use - libart.so or libdvm.so. So, you can switch back to Dalvik like so: adb shell 'echo libdvm.so >/...
user avatar
  • 716
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
6 votes
Accepted

Soft bricked Moto G4 (XT1625) after SuperSU install

Proper research would have prevented this, in the future if you need information on rooting a device, go to a REPUTABLE source like XDA or a similar forum and make sure the information is specific to ...
user avatar
  • 5,816
5 votes
Accepted

Xposed Framework with KitKat ART?

As of this moment, it is a known fact (not necessarily an issue) that the Xposed framework DOES NOT WORK with ART. So, you either: Stay with Dalvik runtime, and get the advantage of using Xposed; ...
user avatar
  • 17.2k
4 votes

Nexus 10 stuck in bootloop after Lollipop flash no ADB and no Fastboot

Had the same issue right now. fastboot oem lock didn't find the device. Disconnected the device from USB and held the power button for 10s to reset. Booted like a charm afterwards
user avatar
4 votes

Nexus 5, I'm getting remote: flash write failure while trying to fix a bootloop

The flash-all.sh script does not take into consideration that your bootloader is locked after each restart. I opened the shell script and executed each command one by one, re-unlocking with the ...
user avatar
4 votes

Trying to flash a system.img I took with dd - failing

It seems you've already found some kind of solution to your problem (there's a lot of text to read on this page), but it seems this probably could have been resolved much more simply. linuxbox# ...
user avatar
  • 171
4 votes
Accepted

How can I factory reset a European Huawei phone in China without access to Google?

To reach Google and proceed with the next steps, you need to set up a PC that's capable of penetrating through that wall (e.g. with VPN), and make it a proxy server on the local network for your phone ...
user avatar
  • 9,360
3 votes

Changed device DPI now stuck in a bootloop

The reason for a boot loop after editing build.prop is its permissions. Just go to TWRP > Advanced > File Manager and navigate to /system/build.prop. Select it and change its permissions to -rw-...
user avatar
  • 31
3 votes

Stock Nexus 5 reboots randomly

Find problem apps by rebooting to safe mode If your device keeps restarting itself, freezing, crashing, or is slow to respond, it could be caused by an app you’ve installed. You can use safe mode to ...
user avatar
  • 133
3 votes

Nexus 5 Reboot loop

On an earlier version of Lollipop, after an update, my Nexus 5 would turn off randomly and enter a boot loop. I tried entering recovery just as you did but it too kept rebooting. I researched reasons ...
user avatar
  • 31
3 votes

Xperia Z3 boot loop after TWRP installation

Now that you can enter into fastboot, you can execute the commands below fastboot flash recovery ~/Downloads/bootZ3monxtest01.img and fastboot reboot and install a custom rom. flash boot boot.img is ...
user avatar
  • 3,100
3 votes
Accepted

Backup an app's complete data when phone is stuck in bootloop

You would need a custom recovery for this solution and it appears that you already have TWRP installed. Setup adb in PC, if not already. Boot into recovery mode. Mount data partition. Find the ...
user avatar
  • 23.3k
3 votes
Accepted

Can system apps be enabled/disabled directly from the filesystem?

Whether an app is enabled or disabled is stored in a single file /data/system/users/0/package-restrictions.xml. I took the following steps to re-enable the Google App and solve my bootloop problem: ...
user avatar
  • 404
3 votes

Android Emulator: How to avoid boot loop after rooting?

Been busy working on the issue for a couple of hours now... I have tried to reproduce the boot loop issue and I think when you update the su binaries somehow the system.img file is getting fried for ...
user avatar
3 votes

Please help! Bootloop. Can't get into recovery

You just erased your boot image, I think you should stick with the proper terminology. When reading from /dev/zero it simply yields an infinite amount of (ASCII) zero bytes (after all it's a ...
user avatar
  • 1,586
3 votes
Accepted

How to debug boot loop?

In practice, the only way to debug early boot loops is to read the kernel log as follows: Minimum steps to get log if you have a working adb and TWRP: When the device is boot looping, press and hold ...
user avatar
3 votes
Accepted

How can I boot into TWRP from LineageOS Recovery?

To boot into TWRP from LineageOS Recovery, from LineageOS Recovery Click Advanced Click Reboot to Bootloader Jump to the console on your machine, and run fastboot boot twrp-*.img That'll get you ...
user avatar
  • 3,677
3 votes

How to decrypt a phone in bootloop mode

I had same problem and I'll write tips how i fixed this situation. You can fix it by just dirty-flash any rom. Flash any rom by using external storage or by adb sideload(Advanced -> ADB Sideload -&...
user avatar
3 votes

Can I copy data to be restored, if phone is stuck in bootloop?

This was a long process with lots of side problems coming up. Somethings I don't know why they worked or did not work. I will give a recount of what did work in hopes the information will be useful in ...
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
2 votes

Android won't boot after unsuccesful wipe operation

I was having the same issue as this. I was in a "recovery boot loop" and could not get to the recovery options. I did have ADB access to the device after I installed the "Naked Drivers". Once I did ...
user avatar
2 votes

Sony Xperia Z stuck in a bootloop

You have to download a rom for your mobile. Download it from https://xperiastockrom.com/category/firmware Download a flashtool from https://developer.sony.com/develop/open-devices/get-started/...
user avatar
2 votes

Nexus 5 stuck in boot screen

Okay, same thing happened to me: I disabled the Google search (on Kitkat 4.4.4) because it was draining battery and then my homescreen disappeared. I restarted my phone and it got stuck on the four ...
user avatar
  • 21
2 votes

Nexus 5 stuck in boot screen

Apparently, the 'Google Search' app now contains large parts of the application launcher in Android 4.4.4. Thus, disabling it also stops the launcher and the next reboot leaves you in a catch-22 ...
user avatar
2 votes

How to do a fresh install of Android : Nexus 5

Note: I have tried to make below a bit more generic than your specific Mac OS option, but the Mac is covered in the below answer, but this may help other Nexus 5 users. Full credit to the OP on XDA. ...
user avatar
  • 5,100

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