2022 Developer Survey is open! Take survey.
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 ...
user avatar
  • 88.9k
21 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 ...
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
user avatar
  • 156
9 votes

Where can I find stock or custom ROMs for my Android device?

Custom Roms, Stock roms, Leaked Roms, Kernels, and how to guides.(For Korean and other Popular devices you can look for custom roms here.) Tinhte A vietnamese forum that mostly contains roms for ...
8 votes
Accepted

Can you install a generic ROM on any device?

You won't be able to install a ROM from a different device, unless it is ported to your device - there are write-ups on the XDA forums on this. There isn't any generic ROM for all devices. Each ...
user avatar
  • 2,430
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 ...
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 ...
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 ...
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 ...
user avatar
7 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 ...
user avatar
  • 2,377
6 votes
Accepted

Can i upgrade my firmware with another phone model's official rom (using odin)?

No, Official or custom firmware are only to be used with the device specified in its name Using a different phone model may result in your hard bricking your phone Is there a reason why you want to ...
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 ...
user avatar
  • 2,629
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 ...
user avatar
6 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
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/...
user avatar
  • 178
5 votes

Where can I find stock or custom ROMs for my Android device?

NeedROM The website provide Original & Custom ROMs for more than 65 brand (mostly Chinese). In addition it contains very useful Tools with their latest updates. MTK Firmware Contains a lot of MTK ...
user avatar
  • 735
5 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 ...
user avatar
5 votes

What are CyanogenMod and MIUI based phones?

CyanogenMod OS is a custom ROM derived from Google's Android OS. It is available for large number of devices and delivers updates as nightlies, release candidates, betas, snapshots etc. Frequency of ...
user avatar
  • 1,918
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"...
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 ...
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 ...
user avatar
  • 37.7k
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 ...
user avatar
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 ...
user avatar
  • 37.7k
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,360
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

Stuck on Boot Animation

It is stucked in boot-loop and maybe soft bricked. Its not bricked but can be soft bricked. I had also suffered this problem two times. Dont fear it will not damage any of your hardware function. It ...
user avatar
4 votes
Accepted

Install Google Play Store on ROM without Google apps

To install gapps, flash them from the recovery (the same way you installed the ROM), you shouldn't open the .zip file since it is automatically processed by the recovery.
user avatar
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 (...
user avatar
  • 174
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 ...
user avatar
  • 2,629

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