25 votes

Is it a good idea to force stop apps after using them?

TL;DR: No, it's not a good or advisable idea. Explanation and some background: Force-stopping apps is not intended for "routine use", but for "emergency purposes" (eg. if an app runs out of control ...
Izzy's user avatar
  • 90.8k
22 votes

I installed a nightly or unstable build of a custom ROM and now my phone doesn't work

As our cyanogenmod tag wiki explains: Nightly builds are created each day, and represent a snapshot of development, with minimal testing and quality control. They often have missing features or ...
20 votes
Accepted

How dangerous is the fact that SELinux is in "Permissive" mode? What should I be wary of?

TL;DR: Feel free to jump directly to the conclusion at the bottom if you like :) ! SELinux goal is to prevent privilege escalation by enforcing a mandatory policy which restricts possible actions ...
WhiteWinterWolf's user avatar
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
9 votes

System partition locked to read only in Android 10

Android 10 prevents apps or pretty much anything from mounting system as R/W. Yes, even if you are rooted. Top John Wu, the creator of Magisk has covered this in a series of tweets. I will link them ...
singhnsk's user avatar
  • 2,417
8 votes
Accepted

"com.android.phone has stopped" after dirty flashing CM13

This was because of a change in the code. As Firelord has said, clear the data for the apps, This can be done like so (this will also delete your SMS/MMS database, so make sure to backup them ...
Aaahh's user avatar
  • 96
8 votes
Accepted

Is it possible to install Stock Android?

This page has a list of custom ROMS (some based on the stock ROM) for your phone. Since each phone has a different hardware configuration, stock Android has to be modified to suit each phone's ...
Dulanga's user avatar
  • 306
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 ...
Gerard Cuadras's user avatar
7 votes
Accepted

If I buy an Android phone today and want security updates for as long as possible, how should I choose a phone? I'm willing to use custom ROMs.​

The Dutch consumer organization retests their smartphones periodically for updates: https://www.consumentenbond.nl/acties/updaten/ruim-een-derde-smartphones-heeft-sterk-verouderde-veiligheidsupdate ...
Henk Poley's 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 ...
daltonfury42's user avatar
6 votes

What is Dalvik cache?

Found very insightful information on dalvik-cache at stackoverflow from reputed sources(Google's employees who worked on Dalvik virtual machine platform). Below is the summary of it, more from ...
AADAndroidEnthusiasts's user avatar
6 votes

Is it possible to clone a Phone then flash image on other phones?

Short answer. TWRP. Long answer. Team Win Recovery Project, the custom recovery. Now bad jokes aside, I really wanted to stress how this is the thing you'd like. Using TWRP you can create an image of ...
SarpSTA's user avatar
  • 2,682
6 votes

"com.android.phone has stopped" after dirty flashing CM13

I had the same problem while upgrading to CM13 from CM12.1. You can solve this problem without deleting your database files and therefore losing data as suggested in the other answers. The culprit ...
Sebastian Schrader's user avatar
6 votes
Accepted

Android Verified Boot and generation of vbmeta image

In this page there is a section called 'Disabling verified boot' that mentions a commands to create an empty vbmeta.img that can be used to disable verified boot : https://wiki.postmarketos.org/wiki/...
Lakindu's user avatar
  • 178
5 votes
Accepted

Stock recovery can flash root packages and custom recovery ZIPs but not custom ROMs

Now, you should be clear on 2 things: All flashable packages are signed. They can be stock OTA zips, root packages or even custom recovery or ROM zips. So what is the difference between the "signed"...
Tamoghna Chowdhury's user avatar
5 votes

How to tell if phone's ROM is original or tampered?

TheBro21's comment applies only if it's a KNOX enabled device. For most Android devices, when you boot into downloading mode it will read a few lines in "SYSTEM STATUS: custom" or "Custom Binary ...
David Hunt's user avatar
5 votes
Accepted

How to tell if phone's ROM is original or tampered?

I am assuming your device is NOT rooted by you You can Factory reset your device (of course after taking back up of data ) Root your device, flash a custom recovery and take a complete back up of ...
beeshyams's user avatar
  • 40.3k
5 votes
Accepted

Building ROMs & Kernels?

1) Building in Android could mean: - building a deliverable in the android build tree - building a deliverable on an android platform having build tools installed - building the AOSP (Android ...
Rémi Cohen-Scali's user avatar
5 votes
Accepted

Explain "Don't Downgrade!" warnings when flashing stock firmware

Bootloader itself will get updated with some firmware updates. Take the Galaxy S6 as an example - the firmware G920FXXU4DPJN comes with bootloader level 4, while G920FXXU5EQF1 comes with bootloader ...
Andy Yan's user avatar
  • 9,524
5 votes
Accepted

Cheating KNOX by cracking stock ROM certificate

If it was that simple it would have been broken long back. Knox is almost fool proof and prevents any such attempts Samsung KNOX addresses security using a comprehensive, hardware-rooted trusted ...
beeshyams's user avatar
  • 40.3k
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 ...
Andy Yan's user avatar
  • 9,524
4 votes
Accepted

Is it possible to overwrite the system factory reset option with my own backup?

When you start the factory reset in the settings it just runs recovery which the actual resetting is done by. Normally, recovery just wipes everything in /data and /cache in all (and /sdcard in most ...
SarpSTA's user avatar
  • 2,682
4 votes

What is the difference between: Rooting, Jailbreaking, ROM, Mod, etc.?

TL;DR version: Unlocking the bootloader The initial program when you boot is the bootloader. If "locked" it may: 1) block attempts at flashing 2) refuse to boot the phone if something unauthorized ...
4 votes
Accepted

Clean flash without SDCard

You don't have to worry if your internal storage gets wiped. There is another way called "ADB Sideload" which allows you to push and install a zip from your computer using CMD (Windows) or Terminal (...
Daksh's user avatar
  • 174
4 votes

"com.android.phone has stopped" after dirty flashing CM13

I tried Sebastian's solution, but the error persisted. The accepted answer results in losing all your SMS, therefore was not an option for me. However, after booting into recovery mode and deleting ...
gedenkt's user avatar
  • 41
4 votes
Accepted

How Do Custom Support So Many Phones?

CyanogenMod/LineageOS and other custom ROMs can't run on every device either. They have different versions for different devices. For example check this list for the newest LineageOS-compatible ...
bendaf's user avatar
  • 156
4 votes

Can applications predinstalled in system/priv-app be updated via Play Store?

If the "pre-installed app" uses the same signature as the one on Google Play, it of course can be updated that way – same as e.g. Google Maps and other pre-installed stuff is. Note that, however, ...
Izzy's user avatar
  • 90.8k
4 votes

What are the good practices of backing up of ROM's using TWRP if I change ROM's often

Without getting into specifics of which ROM you are currently using and which one you want to flash, TWRP isn't a good idea. Reasons : TWRP is used to make a nandroid image and as you can see from ...
beeshyams's user avatar
  • 40.3k
4 votes
Accepted

Verifying a (custom) ROM signature

In order to verify the signature of a ROM ZIP file on a PC, two things are required: The public key from the ROM creator (can be extracted from /system/etc/security/otacerts.zip if the creator is the ...
Irfan Latif's user avatar
  • 19.9k
3 votes

Feasibility of flashing a ROM (meant for original device) on a re-branded device

Okay first of all let me help you with some information. ROM means the Operating System. The visual interfaces of the ROMs for same version of Android can differ between brands but the codes the OS ...
SarpSTA's user avatar
  • 2,682

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