Questions tagged [recovery-mode]

Android's recovery mode allows ROM flashing even if the device is currently unusable. Invoking it usually involves a key combination that is pressed when starting the device. These combinations differ from device to device.

Filter by
Sorted by
Tagged with
3 votes
1 answer
11k views

Enable ADB and/or change USB connection mode on Galaxy S7 w/ broken screen

My Galaxy S7 Edge has a broken screen (totally black, and doesn't respond to touch). However, the phone does turn on and is recognized by Kies 3 and SmartSwitch. I am also able to unlock the phone via ...
Nathan's user avatar
  • 31
2 votes
1 answer
2k views

Recovering data from Mi 4c able to get only to fastboot

my phone has fallen and it cannot boot. The only accessible thing is fastboot, but even there I cannot flash TWRP. When I try to flash TWRP 3.1.1 or 3.1.0 I get: >fastboot.exe flash recovery twrp....
Filip's user avatar
  • 51
8 votes
1 answer
9k views

Is there a way to root an Android phone without unlocking the bootloader?

I've tried almost any method to root my ASUS ZenFone Live, but no one seems to work. Also I only need root, no unlocked bootloader (don't want to wipe data) or custom recovery (not essential ATM).
K-FLOW's user avatar
  • 81
22 votes
2 answers
505k views

How to enable USB Debugging in Android if forgotten pattern for screen-unlock?

I want to use some third party software to clear my device's screen unlock pattern which I forgot. They require USB debugging enabled but I don't have it enabled in my Android. How do I turn on USB ...
Jenabictak's user avatar
3 votes
1 answer
7k views

How to pull data from internal memory on an unrooted phone?

Yesterday, I suddenly discovered that I had lost all the user files on the internal memory of my android phone. All my photos, my music, my PDFs, audio recordings, everything. I will explain the ...
Nostromo's user avatar
8 votes
1 answer
36k views

Entering safe mode from adb shell

My question is similar to this one, but I don't necessarily have a powered off device. How can I enter Android' safe mode (or make it boot into safe mode the next time) from within my recovery image? ...
Frederick Nord's user avatar
6 votes
2 answers
33k views

How to extract .backup files created by android stock recovery?

I'm using Coolpad note 3 lite, running Android 5.1. I created internal memory backup using stock recovery. Files were created in this format: userdata_yyyymmdd_HHMMSS.backup = 2GB ...
Jones's user avatar
  • 161
10 votes
2 answers
55k views

Enter recovery mode from command line

Does anyone know if there's a way to get an Android phone to reboot into recovery mode, from the Android command line? Note: I do NOT have adb access. I do NOT know the magic power-on sequence to ...
David Given's user avatar
8 votes
1 answer
14k views

Why can't I write to recovery using fastboot on A/B device?

I'm trying to flash TWRP Recovery into my Mi A2 recovery. However I get the error when flashing: ~$ fastboot flash recovery twrp.img FAILED (remote: '(recovery_a) No such partition') Does anyone ...
Simkoo's user avatar
  • 83
5 votes
7 answers
31k views

how to add a custom lock for the recovery and/or bootloader?

Unlocking the bootloader and/or the recovery is very popular discussion across many devices. But doing so exposes a very obvious and inevitable issue with security! An unlocked recovery means that no ...
reubenjohn's user avatar
4 votes
1 answer
5k views

If I reset my phone, will it also TRIM the fragmented eMMC?

I know that Android supports fstrim but it only works if the phone is idle for a long time while charging. I think my phone is too fragmented and is lacking performance so I want to reset it but I am ...
Sbeve's user avatar
  • 159
1 vote
1 answer
230 views

Is the root file different if a custom rom is installed? [closed]

Do I need a different root file if I have installed a custom rom on Android? Who creates root files for devices?
Waqas Shah 's user avatar
26 votes
3 answers
27k views

Will a Custom Recovery work with an encrypted device?

I wanted to know whether using Android's built-in encryption (introduced in 3.0) would affect my ability to use a custom recovery (Clockwork Mod in my case). More specifically if I will still be able ...
Dracs's user avatar
  • 363
20 votes
2 answers
99k views

After flashing TWRP with Odin, nothing happens and the OEM recovery is still there

I'm using a Samsung Galaxy S5, and after flashing the TWRP with Odin 3.07 and 3.10 I'm finding that my recovery is still the default. I'm using these instructions exactly. Android system Recovery &...
Evan Carroll's user avatar
  • 4,083
13 votes
3 answers
161k views

How to check if your bootloader is unlocked

I'm about to flash a custom recovery, but I'm not sure if my bootloader is unlocked or not (phone is rooted, but I did it a while ago, so I can't remember the process I went with), and I don't want to ...
Drazen Bjelovuk's user avatar
13 votes
1 answer
44k views

Difference between installing SuperSU using Play Store versus a custom recovery that installs it from a file?

I see that some rooting guides say that rooting involves: Download a SuperSU as a zip file that would be accessible to the phone (e.g. the sdcard). Unlock the phone's bootloader. Booting into a "...
user29020's user avatar
  • 321
12 votes
4 answers
38k views

How to flash a custom recovery with heimdall (without touching the main system)?

The first recommended step in the installation of CyanogenMod on Samsung Galaxy S is flashing a custom recovery like ClockworkMod or the one from Replicant with a command like: heimdall flash --...
imz -- Ivan Zakharyaschev's user avatar
5 votes
1 answer
6k views

Access encrypted /data Partition over ADB and recovery (TWRP, LineageOS 16, Redmi Note 4)

I have a Redmi Note 4 (mido) Android phone with a broken screen: the screen lights up, but otherwise it stays entirely "black". I already replaced the screen, but with no luck - the cause of the error ...
x-ray's user avatar
  • 151
4 votes
2 answers
74k views

FastBoot recovery failed: partition 'recovery' not support flash

My mobile is Lenovo S920 running official Android OS 4.4.2. I am trying to install cwm recovery through fastboot. I tried executing the command fastboot flash recovery recovery.img But I am ...
Guna Sekaran's user avatar
3 votes
2 answers
3k views

About the android recovery mode

Question 1: what's the android recovery mode? Does it run a full linux kernel? Question 2: where the recovery.img is installed? (/somewhere_in_filesystem)
lovespring's user avatar
  • 1,185
3 votes
2 answers
21k views

Can't flash custom TWRP recovery image on Motorola Moto G7 Power phone

I've got a brand new Motorola Moto G7 Power running Android 9. I also have Ubuntu 19.04 running on my desktop. I want to root the phone. I've managed to unlock the bootloader using Motorola's online ...
tensor's user avatar
  • 31
2 votes
2 answers
7k views

Is it possible to flash a custom ROM without a custom recovery image?

For a non-rooted device, almost all articles/forum posts I've read say that in order to flash a custom ROM you first need to flash (or boot) a custom recovery image like TWRP. I'm not sure I ...
catanman's user avatar
  • 193
1 vote
0 answers
245 views

I need help with my bricked tablet!

I recently rooted my tablet,using kingoroot.I messed up and now my tablet is stuck on the manufacturer logo...If I try to connect it to a pc,it does not recognize it.It is a chinese turbo-x rubik ii ...
Billyboyy's user avatar
1 vote
1 answer
926 views

How to copy / modify data from a soft-bootlooping Samsung Galaxy S2 (GT-I9100)

The Samsung Galaxy S2 (GT-I9100) I have at hand was turned off after getting hot during standby. When trying to start it again, it was in a bootloop: Like usual, it first shows "Samsung Galaxy S2 GT-...
Manuel Jacob's user avatar
1 vote
1 answer
766 views

I've installed a custom recovery image, but not yet rooted my phone. How can I install SuperSU and subscribe to automatic updates?

I own a Samsung smartphone. I'm running Android 4.1.2 "Jelly Bean". I've also installed ClockworkMod Recovery 6.0.4.5. Each time I exit ClockworkMod Recovery, it offers to root my phone. I haven't ...
unforgettableidSupportsMonica's user avatar
19 votes
3 answers
55k views

Can we backup the stock recovery.img in any way?

Suppose I plan to flash my recovery with TWRP/CWM, but then later suppose I would like to move back to the stock recovery. Is it possible to take a backup of stock recovery just like we can take a ...
Sumit Trehan's user avatar
13 votes
2 answers
3k views

Why is custom recovery a prerequisite for flashing a custom ROM?

I have read in many guides that before flashing, we need to have a custom recovery like CWM installed. I am not able to understand why is this a prerequisite for flashing a custom ROM. Can I flash a ...
user1004985's user avatar
9 votes
1 answer
20k views

Why isn't Clockworkmod Recovery "Sticking"?

I've tried multiple times to flash ClockworkMod recovery onto my unlocked Galaxy Nexus (LTE\CDMA variant "toro" build) device. Each time I can boot into recovery and ClockworkMod displays. However, if ...
Wesley Wiser's user avatar
  • 1,451
9 votes
2 answers
3k views

Why can't I boot into recovery mode?

I think I'm actually missing something here still. Everything I read suggests I need to boot into recovery mode as a first step, and that I ought to be able to do that by holding down the "home" key ...
Amanda's user avatar
  • 3,423
8 votes
1 answer
4k views

Recover Android system with TWRP Recovery

Note that I am running Mac OS X. I tried installing an unofficial version of Cyanogenmod I found on XDA Developers that supports kltemini (SM-G800F). However, I messed up somewhere in the ...
John K's user avatar
  • 479
8 votes
2 answers
37k views

Can't connect to the device with ADB when it's in recovery mode

I am having some problems with my Samsung Galaxy S2 and I want to start an fschk session on the device. So, I installed Android SDK with platform-tools. I can access to the device when it's normally ...
Tim's user avatar
  • 183
4 votes
1 answer
67k views

Is there a way to enable USB debugging from fastboot?

I have a Nvidia Shield Tablet that froze on me. After powering down it hangs on the nvidia boot up screen when I try to boot it up. Nvidia support says it is a 'soft-brick', as I can't get into ...
EvanH's user avatar
  • 41
4 votes
1 answer
8k views

Enable USB debugging through recovery mode and ADB sideload

This is a follow-up question to Apply update from ADB: how to use it when you are locked out of the device. Basically, I intend to somehow use this command to remove the lock screen: adb sideload ...
Megidd's user avatar
  • 183
2 votes
0 answers
15k views

Apply update from ADB: how to use it when you are locked out of the device

My cousin's kid has played with his Samsung A8 (2018) phone and has changed his unlock pattern. So, nobody knows the pattern the child has set. The phone has no Google account set up The USB ...
Megidd's user avatar
  • 183
2 votes
5 answers
36k views

How to enter password for decrypt without system keyboard on android

I was trying to release some internal memory on my CUBOT GT-99, so I started disabling some system apps using one rooted app. One of apps I was disabled is system keyboard because I don’t use it ...
djlabat's user avatar
  • 21
2 votes
1 answer
782 views

How to back up encrypted /data atomically in Android 12?

I accidentally upgraded my phone to Android 12 instead of a newer Android 11 and, to my dismay, it seems encryption was changed in a way that makes TWRP unable to decrypt my /data. For backups, I ran ...
Atemu's user avatar
  • 550
1 vote
2 answers
1k views

A way to automate the creation of flashable ZIPs

So, my question is: is there a way to automate the creation of flashable ZIP archives, in order to avoid having to write the updater-script and update-binary by myself each and every time I want a ZIP ...
Grimoire's user avatar
  • 2,969
1 vote
0 answers
1k views

Is there a way to Modify Recovery Menu Options?

Hi guys I am setting up an android system for a company, one of the requirements is that "employees can't factory reset/ wipe out data of a device". I have already done the proper implementations on ...
Dr Jfrost's user avatar
1 vote
2 answers
2k views

Analyzing boot loop Root cause from console-ramoops-0 ( & logcat)

Summary - Update 2: I am not deleting the question content, to preserve history ( but an admin may if appropriate delete that content) but things have change since. A day after I can into the below ...
user1874594's user avatar
1 vote
0 answers
57 views

What creating bootloop when flashing TWRP? [duplicate]

I follow this XDA tutorial to flash TWRP and rooting Samsung Galaxy J250F. However, after flashing TWRP via Odin, the phone only boots into recovery, not system. Even factory reset or empty the misc ...
Ooker's user avatar
  • 506
0 votes
1 answer
3k views

ADB sideload doesn't work, no drivers

Sometimes on my Nexus 9 (LMY48M)ADB sideload doesn't work as the device doesn't have a driver. This is true for both stock and TWRP. However, ADB from booted Android works perfectly. I have ADB ...
Tamoghna Chowdhury's user avatar
0 votes
1 answer
4k views

Cannot get into recovery mode from boot-loop on BLU phone

I have BLU Life One X which is at 0% battery and in boot loop: It shows 0%, then "BLU/Bold Like Us", then "Android is starting/optimizing app AAA of BBB", then cycles. I tried to follow the ...
sds's user avatar
  • 137
21 votes
1 answer
22k views

Manually switch from ART to Dalvik

I wanted to try out the new ART runtime, but didn't realize my custom ROM doesn't support it. So now I am getting recurring Force Closed messages after booting, and can't get through to the settings ...
David B.'s user avatar
  • 213
12 votes
8 answers
75k views

Removing encryption from recovery

I'm running CyanogenMod 12 nightly on my G900T (klte). Everything works great except for the default encryption password, which causes my phone to boot loop. I've formatted data and done factory ...
Naftuli Kay's user avatar
  • 2,582
10 votes
2 answers
58k views

How to install new Recovery image from .img file

I recently found that I could upgrade to the new CWM touch recovery version for my EVO 4g! However, to do this through the ROM manager app or get it directly onto the phone at all, it required a ...
jlehenbauer's user avatar
  • 9,853
10 votes
3 answers
132k views

Flash boot.img without using fastboot USB

So I've recently rooted my phone and tried a ROM or two. I find it really handy that you can use TWRP recovery to install another ROM from the SD card, you don't need to have it connected to a PC. ...
MarioDS's user avatar
  • 299
9 votes
4 answers
99k views

Galaxy S GT-I9000: how to fix boot to recovery with Volume up+Power?

I have Samsung Galaxy S (GT-I9000) and I've installed Cyanogenmod 10 M2. I can reboot into recovery from Cyanogenmod (Hold Power button, select Reboot and Recovery). However, I cannot boot directly to ...
Mikko Rantalainen's user avatar
9 votes
3 answers
26k views

Is there a way to get a disk image of the user storage space on modern Android devices?

I want to know if it's possible to get a "disk image" of the storage space on Android devices when they don't use external storage like SD cards. I'm mostly interested because my kids factory reset ...
Joshua's user avatar
  • 161
8 votes
3 answers
28k views

Cyanogenmod custom recovery can't backup, restore or apply an update!

I just installed Cyanogenmod. It's my understanding Cyanogenmod is a ROM so I was bit suprised when my TWRP custom recovery was replaced by Cyanogenmod's own recovery. Why is this? Cyanogenmod's ...
Celeritas's user avatar
  • 1,795
5 votes
4 answers
66k views

Can't use `adb shell` in recovery mode

I have a Chinese tablet named Quest. I have accidentally repeated the pattern lock more than 5 times. Now I have also forgotten the email address. So for a factory reset of my tablet, I simply booted ...
ShihabSoft's user avatar