People who code: we want your input. Take the Survey

Questions tagged [twrp]

The "Team Win Recovery Project" provides an alternative Custom-Recovery.

Filter by
Sorted by
Tagged with
6
votes
1answer
46k views

How to perform a full system dump/backup with a broken screen?

So, yesterday my phone took a serious tumble. It is now essentially useless, as the screen either fails to turn on, or when it does, there is nothing useful to see (just lines of primary colors, ...
15
votes
2answers
50k views

How to uninstall a system app using adb uninstall command (NOT remove via rm or any other way)

Have to mention this to avoid possible confusion, this question is not duplicate. This question is specific to using adb to uninstall a package. There are several similar questions but are all ...
2
votes
3answers
3k views

How do I backup media, game data (internal storage) using TWRP?

It is known that TWRP does not back up /data/media as you can read here and on other posts on this site, also on TWRP FAQ How can one bypass this?
3
votes
1answer
5k views

How to take full image backup of partitions or eMMC?

I have an Archos 55 Platinum here. There is also a unofficial TWRP, if this might help. I would like to make a backup of the storage of the phone, like dd for any partition, so I can inspect the ...
8
votes
1answer
2k views

Attempting to brute force Android security pattern through TWRP via adb

Yesterday I somehow forgot the Android security pattern on my phone. Due to muscle memory I sort of know what it was, but can't figure out the true pattern. Therefore I'm attempting to brute force it ...
2
votes
1answer
5k views

Trying to understand the options in TWRP backup

This is a screenshot of the twrp screen after you choose "Backup": I have the following questions: What is the difference between the options "Boot, System and Data" on one hand, and "System Image" ...
3
votes
1answer
3k views

How to flash and root OnePlus 3T on Linux?

I Recently bought a OnePlus 3T and want to flash and root it. Most resource focus on OnePlus3 and on Windows. How do I do that on Linux?
3
votes
1answer
2k views

Setting/finding Android 7 encryption password

With some hassle I updated the 2016 firmware on my Lenovo P2 to Android 7 (I think my carrier decided that their own app was more important than security updates). Now that I wanted to put the TWRP ...
2
votes
1answer
2k views

Fastboot connection problem

I am trying to install Lineage OS 16.0 on my Moto 4X. I unlocked the OEM bootloader. But when I enter the command 'fastboot reboot bootloader' it shows '< waiting for any device >'. There it stays ...
1
vote
1answer
842 views

How to decrypt Island / Work profile and Parallel Apps user in TWRP?

TWRP 3.4.0.0 release introduced multiuser decryption which means no more error 255 or other multiuser backup errors on devices with multiple users setup. The problem is, TWRP requires all the users to ...
0
votes
1answer
936 views

What is the difference between twrp-[version]-[phone].img and twrp-installer-[version]-[phone].zip?

I know I can flash the image and boot it. But what are the zips used for? I'm asking this because I noticed that images are often accompanied/listed with corresponding zip files - not just for TWRP. ...
14
votes
3answers
49k 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 ...
14
votes
4answers
45k views

What does TRWP backup include?

If I would take a backup via TRWP, does it include all my apps, app data, messages, contacts or it would just take backup of the ROM only, so I could get a fresh ROM with factory restored when I ...
7
votes
2answers
52k views

TWRP decrypt password

TWRP 3.2.3 asks for a decrypt password at startup, which I never set. Ignoring with 'cancel' leads to the main menu, but then the internal storage is marked as 0 byte (e.g. when trying to backup), ...
6
votes
1answer
7k 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 ...
0
votes
1answer
6k views

TWRP OnePlus 5T not asking for encryption password

I want to flash the new Update for the OnePlus 5T but TWRP is not asking for a decryption password as usual and hence cannot mount the data partition. It's possible that this is not working since the ...
7
votes
2answers
20k views

How to extract stock apk from TWRP backup?

I installed TWRP recovery on my phone and backed up the system, data and boot partitions before installing CM12.1. I would like to extract one stock apk (FM radio) from the backup on a Linux system. ...
6
votes
1answer
6k views

What does TWRP “Fix Contexts” do?

In my blu_spark TWRP, I have an option (under "Advanced") named 'Fix Contexts'. When I press it, it says: Note: Fixing contexts is rarely needed Fixing SELinux Contexts may cause your ...
1
vote
2answers
4k views

How to create filesystem in TWRP? Getting error: “Unable to format to remove encryption”

The screen appears after booting into TWRP and trying to format memory: I was trying to flash a custom ROM using TWRP recovery but it's showing Unable to mount storage & Failed to mount '/data' (...
1
vote
1answer
75 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?
8
votes
1answer
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 ...
4
votes
6answers
35k views

TWRP createTarFork() error 255 when backing up data

I have installed FreedomOS on my OnePlus 5. I'm not sure if this is related to FreedomOS, but when I try to make a backup in TWRP with data, system, and boot, it has an error with createTarFork() ...
2
votes
1answer
1k views

Restore Whatsapp

I have formatted my phone, but I made a Nandroid Backup before. I then installed Whatsapp again, expecting it to download the chats from the cloud. It didn't. I then deleted Whatsapp and the newly ...
1
vote
0answers
31 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 ...
1
vote
0answers
649 views

How to install SuperSU using adb while the phone is in TWRP recovery with a broken screen

I have a Samsung Galaxy S4 SHV-E330S with a broken screen (cannot see or touch anything). Please see this and it's comments for more context I have managed to flash TWRP on this phone (https://twrp....
1
vote
0answers
482 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 ...
0
votes
1answer
35k views

How do I install Cyanogenmod 11 on a Samsung Galaxy Tab 2 (GT-P5113)?

I'd like to install Cyanogenmod 11 on a Samsung Galaxy Tab 2 (GT-P5113), is this currently possible? I see the Rom shows up in Cyanogenmod's Updater.
61
votes
2answers
74k views

Where does LineageOs store update files?

Back in cyanogenmod, updates were downloaded to the cmupdater directory. Then I could easily use twrp recovery to install the Upgrade. But where does LineageOs store its downloaded upgrade files?
10
votes
4answers
39k views

Extracting data from a TWRP backup

How can I extract individual files from a backup created with TWRP? I’ve come across this answer, which is about extracting an APK from the system partition. However, I want to extract files from /...
1
vote
1answer
14k views

What are the meaning of each category under WIPE menu in TWRP?

I'm new in using TWRP (version 3.0.0-0 to be specific), there are some menu or operation that confuses me. Under WIPE menu and inside Advanced Options there are many choices to wipe, which are: ...
9
votes
0answers
11k views

How to fix bootloop or decrypt /data in TWRP?

I am trying to recover the data from a default/factory encrypted Samsung Galaxy S7 Edge stuck in a bootloop (i.e.: restarting endlessly when booting the system). It is using the stock rom. Only the ...
5
votes
4answers
116k views

Installed CWM/TWRP but it isn't installed when booting to recovery mode

I have an LG G2-D800 running 4.4.2 KitKat and it is rooted using an app called Stump Root. I have been trying to flash a new ROM onto it and every time it boots into recovery, it boots into the ...
4
votes
2answers
7k views

How to re-unlock bootloader for OnePlus One

I have OnePlus One with CyanogenMod 12 from factory and I decided to update to CM 13 (nightly build). To achieve this I did the following from OSX: Unlock the bootloader (fastboot oem unlock) Boot ...
1
vote
1answer
725 views

Are there any downsides to using a nandroid recovery?

A nandroid backup is designed to provide a backup for an Android device. Are there any downsides to restoring a nandroid backup (besides losing any changes since the nandroid was created)? In other ...
11
votes
2answers
38k views

What's the difference between Data and Internal Storage?

I came across installing ROMs, but I can't install it because I need to wipe some things ... It told me to wipe / do a factory reset ... Then, when I go to the Wipe Section of the TWRP Recovery, ...
4
votes
1answer
7k views

Does TWRP recovery support encrypted /data/ partition?

I have a smartphone that is running Android 6.0 Marshmallow. I encrypted the device using the builtin mechanism. Unfortunately I forgot the password (intentionally). The only option to recover the ...
4
votes
4answers
14k views

lineage OS encrypt phone --> bootloop

I upgraded CM13 to LineageOS14.1 on a Xiaomi Note 3 (kenzo), setup everything, and decided to encrypt the phone (from settings/encrypt phone). It asked for a pattern, and then rebooted. I never got ...
3
votes
1answer
33k views

What happens when I wipe the internal storage of a device using TWRP?

When I wipe the internal storage using TWRP recovery, does this fully wipe the contents of the phone's hard disk, leaving a blank, unformatted space? After doing this, will I be able to restore the ...
3
votes
2answers
12k views

Where does Android store fingerprint data?

I am looking for the files that correspond to the recorded fingerprints on my Nexus 6P and a way to "reset" the fingerprint system. Something similar to how Android stores lock screen settings (...
13
votes
5answers
36k views

Where to find “adb” version 1.0.32 to install on Ubuntu?

My laptop has Ubuntu 14.04 as OS. I installed latest version of "android-adb-tools" available in "Synaptic Package Manager". After installation, adb command --help says that adb's version is 1.0.31. ...
8
votes
3answers
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 ...
7
votes
1answer
12k views

TWRP: Failed to mount '/data'

When I try to install a ROM with TWRP, I get Could not mount /data and unable to find crypto footer. Failed to mount '/data' (Invalid argument) Unable to recreate /data/media folder. Updating ...
5
votes
2answers
21k views

How do I install CyanogenMod on the Samsung Galaxy Tab Pro 10.1 Wi-Fi?

I put off buying a tablet or smartphone, because they seem like a kind of toy (not bad per se) and a way for big companies to use you. Even a laptop is not always practical though, and modern tablets ...
5
votes
4answers
32k views

Where are TWRP backups stored on SD card? Had to un-root

I had to un-root my LG G2 Verizon because recovery got corrupted. I created a TWRP backup some time ago from within its recovery and it was stored on the internal drive. I did a system reset, and then ...
3
votes
2answers
6k views

How do I update an OTA while retaining TWRP and Magisk, only with my phone?

I have a OnePlus 6 that uses the A/B partition schema. Previously with my OnePlus 5 with TWRP, I normally download the OTA package, reboot into TWRP to install it, and then TWRP img and Magisk ZIP ...
3
votes
1answer
9k views

Enable /system write in TWRP - Systemless root

Moto X Play (XT1562), SuperSU 2.78 (systemless root), TWRP 3.0.2-r3 When I flashed TWRP, I chose the option of not writing to system to enable OS update (and also made a Nandroid just after flashing ...
2
votes
2answers
2k views

Is erasing the `misc` partition a solution to automatic/unnecessary boot into TWRP after having installed LineageOS 15?

I'm sure this question has been asked before, but I'm unable to find a good answer that I can understand, so bear with me: I've recently installed TWRP & LineageOS 15 on my Moto G5 (cedric), ...
2
votes
1answer
1k views

Unable to flash TWRP on a LG G4 (LG H815)

I own an international LG G4 LG H815 and running Ubuntu 14.04 LTS. For the whole day I am unable to flash TWRP on the phone. First I unlocked the bootloader with succes. Now I am trying to flash TWRP ...
1
vote
1answer
6k views

/data's data is garbled in TWRP. How to decrypt

So this is quite another android story but I promise to keep is as short n dry as poss. The issue was some of my Apps weren't able to access /extsd folders with non root & so I deicided to give ...
1
vote
1answer
4k views

Problems installing Lineage on Moto G5 w TWRP

TWRP is fine. I have lineage-15.1-20180415-UNOFFICIAL-cedric.zip in the Downloads folder on the 'phone. On attempting to flash this, TWRP fails with: "Updater process ended with ERROR: 255". Advice ...