69 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
user avatar
  • 805
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.
user avatar
15 votes

How to fix SELinux "avc: denied" errors when launching DNSCrypt as init.d script?

Pardon me if I fail to sum up the vast subject in a brief answer :) SELINUX AND AVC DENIALS Android is based on Linux kernel that makes use of Discretionary and Mandatory Access Controls (DAC, MAC) to ...
user avatar
  • 17.7k
14 votes

Google Pinyin Input (IME) keeps asking for Google account permission

I had this problem. I'd half installed Pinyin so continual prompting for a login account. Go to Google play store and search for Google Pinyin Input. When that appeared there was an option to ...
user avatar
  • 141
14 votes
Accepted

Does LineageOS allow us to install apps via Google Play?

LineageOS is Open Source OS. Google apps like Play Store, Gmail, Maps etc are proprietary Google products and cannot be bundled with LineageOS due to licencing issues. However, you can always download ...
user avatar
  • 37.9k
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
user avatar
  • 156
12 votes
Accepted

Fakestore, blankstore, gms, microg, unifiednlp - what's best for Android without Gapps?

Some basics first: NoGAPPS is deprecated and got replaced by its successor, µG (read: microG). µG includes the core (basically, GServices) and also UnifiedNlp. No GService replacements will support ...
user avatar
  • 89.1k
12 votes
Accepted

How to flash Android O image in Moto G4 Plus

I'll supplement the answer of @beeshyams: since Android O is still in Dev Preview phase, the source code is still incomplete, and no custom ROM (LineageOS, etc.) could even base their work off it. ...
user avatar
  • 9,370
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 ...
user avatar
  • 9,370
10 votes

While updating LineageOS, do I need to update Gapps too?

You normally don't need to re-flash GApps as most GApps installers will install an addon.d script which restores GApps automatically after flashing a new ROM that supports addon.d (LineageOS does so). ...
user avatar
10 votes

Which version of Gapps to install for Lineage?

You can download Gapps package for your lineage from this website source opengapps.org. Site contains several fields such as : 1.Platforms: ARM64 - For 64-bit devices ARM64 means the devices that are ...
user avatar
  • 2,167
9 votes
Accepted

How can I tell whether I am booted into the A or B partition?

The right-most way (bootctl) The command to provide this information is bootctl. As root (having run adb root), you can use this like this, $ adb shell bootctl get-current-slot Note this is the slot'...
user avatar
  • 3,677
8 votes

Installing LineageOS OTA update from the recovery manually

If the auto install doesn't work you can go to /data/lineageos_updates and install the update manually. Remember to wipe dalvik cache after flash ends. Updated (thanks to Sup3rHugh): LOS changed the ...
user avatar
8 votes

How to flash Android O image in Moto G4 Plus

Impossible If Moto themselves did not update your device, there is no way you can obtain an authentic system image. Even when your device is updated, Motorola is very slow to update the latest image ...
user avatar
  • 37.9k
8 votes
Accepted

How can I enable last_kmsg?

Back in 2012, /proc/last_kmsg (1) used to be a dump of kernel console messages, exported after reboots by Android's ram_console functionality (CONFIG_ANDROID_RAM_CONSOLE), which used persistent_ram (...
user avatar
  • 17.7k
7 votes
Accepted

Do I have to install every nightly on LineageOS?

Every update would fully overwrite /system and carry all history changes, therefore just installing the latest build would sync you up to progress. There will be (rare) occasions where the developer ...
user avatar
  • 9,370
7 votes

E3004: This package is for device: gts210vewifi; this device is

OK, so this means that you have an outdated version of TWRP which, apparently, does not correctly report the device model name (it's empty). -- Updating TWRP from 3.1.0-0 to latest is 3.2.2-0 solved ...
user avatar
  • 201
7 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 ...
user avatar
  • 261
7 votes
Accepted

Pixel Launcher crashing due to missing STATUS_BAR and MANAGE_ACTIVITY_STACKS permissions

I rebooted into TWRP and edited /data/system/packages.xml. Under <package name="com.google.android.apps.nexuslauncher" and <perms>, I added the following lines: <item name="android....
user avatar
7 votes

How to build LineageOS for a device without official support?

Firstly you need to setup the build environment. You should be running Ubuntu 18.04. LineageOS build guide for a random device can be used as a reference. Reproducing the steps here: Install the ...
user avatar
6 votes

Flashed addonsu-arm-signed.zip on LineageOS, still no root

Go to Settings. Click on About phone and then tap 7 times on the Build number. Navigate back, open Developer Options. Tap Root Access. Select Apps or Apps and ADB. Now you have root and Titanium ...
user avatar
6 votes
Accepted

Which part of Android directories contains so-called proprietary blobs?

Yes, binary blobs are part of Android filesystem. Android can't boot without them as they are kind of hardware drivers for the device. Most of those are found under /vendor/lib(64), some also under /...
user avatar
  • 17.7k
5 votes

Using LineageOS native SSHD over ADB

AFAIK with LineageOS 14.1 (I have a rooted FairPhone 2), sshd is enabled by default and ready to use. Its config file is /system/etc/ssh/sshd_config which points to /data/ssh/ for keys storage. I ...
user avatar
  • 191
5 votes

Which version of Gapps to install for Lineage?

I would suggest the Pico version for the specific platform you have. It gives you the ability to access google where you can download only the apps that you need or want.
user avatar
  • 51
5 votes

Risks of removing the stock browser on LineageOS

I ended up going ahead and just removed the Jelly browser – initially manually by using TWRP's file manager and later – since it came back when I updated the system afterwards (duh) – using a handy ...
user avatar
  • 199
5 votes
Accepted

Where to get old LineageOS ROMs?

To answer the question (getting old builds) directly - there are people who foresaw the need and stashed some of the builds elsewhere: 1, 2. As for the reason to it, it's right in their FAQ. The main ...
user avatar
  • 9,370
4 votes

Difference between Lineage os and Cyanogenmod

At the birth of Lineage OS, it's a direct fork (i.e. full copy) of CyanogenMod sources at that time, so it's obvious that LOS is a continuation of CM, not a replacement to it. Thus, aside from ...
user avatar
  • 9,370
4 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.
user avatar
  • 41
4 votes
Accepted

How to control user installed apps?

On a rooted device, it is possible to disable/enable user apps using a terminal emulator. To do so, open a terminal of your choice, enter su to acquire root privileges and then enter pm disable &...
user avatar
  • 2,907
4 votes
Accepted

Is it possible to reinstall S Notes after flashing Lineage OS 14.1 on Samsung Galaxy Note 8?

S Note is tightly integrated with Samsung's framework and thus can't be ported to non-stock-based ROMs. In the meantime, try Squid as an alternative. Lots of available pre-defined notes, export to ...
user avatar
  • 9,370

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