Skip to main content
70 votes
Accepted

Where does LineageOs store update files?

As of the new updates of August 31st, 2017, the updates are stored in /data/lineageos_updates
Shadab K's user avatar
  • 815
36 votes

Where does LineageOs store update files?

Browse to folder: /data/data/org.lineageos.updater/app_updates edit: per comments below, this is outdated and the top answer is correct.
mkultra329's user avatar
33 votes
Accepted

How to update TWRP from within TWRP?

Downloading coming from the list of devices allows to download a .img image which can be transferred via MTP-USB connection and installed after selecting Images in the Install file browser. When asked ...
Kalle Richter's user avatar
26 votes

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

I succeded adding the -k and --user options to the pm command, e.g.: pm uninstall -k --user 0 com.android.service The command was issued as root, no need to remount /system as rw. Android on the ...
RigacciOrg's user avatar
21 votes

Extracting data from a TWRP backup

cat data.ext4.win??? | tar xvfi - What this does is concatenate each file matching the pattern data.ext4.win??? and then pipe the concatenated files to tar for extraction. the - as the filename tells ...
Johnathon Havens's user avatar
15 votes

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

Also works without -k (keep user settings) option: pm uninstall --user 0 com.android.service and without opening adb shell: adb uninstall --user 0 com.android.service
Andrei Karcheuski's user avatar
14 votes
Accepted

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

That's expected. Devices with A/B partition scheme don't have a recovery partition. You can only boot in recovery mode with fastboot boot twrp.img. But to permanently flash recovery to device which ...
Irfan Latif's user avatar
  • 20.4k
14 votes
Accepted

TWRP failed to install ZIP for Lineage 16 Samsung Galaxy Note 2 GT-N7100 (t03g)

in TWRP go to advanced > terminal, then create /cache/recovery with mkdir /cache/recovery solved the problem for me
wizz's user avatar
  • 156
12 votes
Accepted

can't mount /data while installing LineageOS

These /data-related errors are likely because TWRP can't decrypt the current /data partition. This often happens with stock ROMs, since TWRP is only made to handle the encryption method of AOSP. To ...
Andy Yan's user avatar
  • 9,539
11 votes
Accepted

Extracting data from a TWRP backup

The files created by TWRP with a *.win or *.win??? extension are tar archives. If a partition gets split across multiple files, each is a tar archive in its own right. There is a slight difference, ...
user149408's user avatar
10 votes

Why is there no option to choose size in TWRP's resize partition feature?

First to clarify, Resize Partition is different than Resize File System, TWRP provides latter option. It resizes the ext2/3/4 filesystem to the size of partition it's created on. Filesystem size can ...
Irfan Latif's user avatar
  • 20.4k
9 votes
Accepted

Is it possible to flash a boot.img kernel with TWRP?

Boot into TWRP, select Install and follow the screenshots for the rest. (Click image to enlarge) It's not a problem for TWRP to which ROM your particular kernel belongs. The size should not be ...
Firelord's user avatar
  • 25.1k
9 votes

Where does Android store fingerprint data?

try removing these files also /data/system/users/0/fpdata/user.db /data/system/users/0/settings_fingerprint.xml Instead of removing files, appending the filenames with some random extension would be ...
lazykiller's user avatar
9 votes

TWRP: adb devices works in recovery but fails in sideload mode

Eventually, I found a workaround (which is not a fix but it allowed me to continue the installation). Since my device was detected in discovery, I did not used sideload. I just pushed the image to ...
Odin's user avatar
  • 291
8 votes
Accepted

TWRP: Failed to mount '/data'

What you need to do is remove Crypto on Data To do that, in TWRP Settings Format Data Type "yes" Done
Evan Carroll's user avatar
  • 4,257
8 votes

What does TWRP "Fix Contexts" do?

SELinux is a security mechanism which stops unauthorized access of processes to other processes, actions and filesystems (UNIX's "file" includes all regular files, directories, block devices, ...
Irfan Latif's user avatar
  • 20.4k
7 votes

TWRP: Wiped phone, can't put any data onto it through MTP

I had the same issue with MTP not working from TWRP (Windows 10 x64). I used adb push as a workaround way to put update on the phone after disabling MTP from TWRP "Mount" menu: adb.exe push update....
alexandroid's user avatar
7 votes
Accepted

How to mount in TWRP?

Can I mount directly from TWRP's mount screen? Yes. Under the category Mount you would see a range of partitions available to be mounted. Selecting an entry (check-mark) would automatically mount the ...
Firelord's user avatar
  • 25.1k
7 votes
Accepted

How to wipe OS partition in TWRP?

Let’s start with a list of standard internal memory partitions on Android phones and tablets. These are: /boot /system /recovery /data /cache /misc In addition, there are the SD card ...
Rahul Gopi's user avatar
  • 2,243
7 votes

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

I am not sure how much more self explanatory this can be... Dalvik / ART Cache - This is the runtime cache, where executable binaries are stored (after APK files are "optimized"). It is a unique ...
acejavelin's user avatar
  • 6,207
7 votes
Accepted

How to take full image backup of partitions or eMMC?

Yes you can boot in TWRP if bootloader is unlocked: fastboot boot /path/to/twrp.img Then you can simply dd whole eMMC or individual partitions. You need some extra memory (on external SD card) to ...
Irfan Latif's user avatar
  • 20.4k
7 votes
Accepted

Attempting to brute force Android security pattern through TWRP via adb

After a while I figured out what the problem was, with a freshly flashed phone. Here I'll be answering my own question. Does the twrp decrypt command output something else when decryption succeeds? ...
Tim Visee's user avatar
  • 261
6 votes

lineage OS encrypt phone --> bootloop

For future reference, choosing repair for /data in TWRP seems to solve bootloops right after encryption. The device stays encrypted. This worked on two of my devices and I didn't notice any data loss.
Guest's user avatar
  • 61
6 votes
Accepted

Is there any benefit to wiping Dalvik Cache after rooting my phone?

As you mentioned you're using Magisk for root, I'm assuming you're running on Android 5 or up. The answer would be no. You can safely ignore the "Wipe Dalvik Cache" after OTA updating and re-rooting. ...
iBug's user avatar
  • 7,757
5 votes
Accepted

Does TWRP make backup of recovery partition when backing up ROM?

For a full backup, you'll typically want to backup everything except cache. and-sec and data are optional as well if all you care about is a working ROM. So if you checked off all the partitions ...
Matthew Read's user avatar
  • 50.6k
5 votes

What does TRWP backup include?

It is very important to answer this question correctly as many people rely on this backup. Until when you actually need it, you realize that it is not exactly what you think it is, which is disastrous....
Saren Tasciyan's user avatar
5 votes

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

Generic Backup/ Restore If you are root you can backup/ restore all partitions (not only recovery) with native tools. To list all mountable partitions and block devices use find and grep adb shell ...
zzeroo's user avatar
  • 151
5 votes
Accepted

Is it possible to install a ROM from TWRP ADB shell?

The TWRP provides a command line utility called twrp and the official site has a guide to twrp's subcommands of which the command needed is simply install install FILENAME : install FILENAME zip ...
Andy Yan's user avatar
  • 9,539
5 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 the kernel log if you have a working adb and TWRP: When the device is boot looping, ...
Mikko Rantalainen's user avatar
5 votes
Accepted

Will installing TWRP wipe my device?

No. TWRP is only a custom recovery that replaces your stock recovery. But be sure to flash the right TWRP for your device. Searching in this XDA thread using your model number would be a good idea (On ...
beeshyams's user avatar
  • 40.8k

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