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
  • 91.2k
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 ...
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

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

"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

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
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

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,554
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.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 ...
Andy Yan's user avatar
  • 9,554
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
  • 91.2k
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.7k
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
  • 20.4k
3 votes
Accepted

Can I flash a custom ROM and a separate custom kernel after?

Yes, flashing a kernel is mostly safe. The worst thing that could happen would be a boot loop aka soft brick, which can be fixed by flashing another, proper kernel. Remember that the kernel in your ...
GiantTree's user avatar
  • 4,062
3 votes
Accepted

Won't placing a cuostm ROM file before factory reset remove it from the phone?

It is noted in the link you mentioned: Depending on your device and its configuration, you may have options for wiping internal storage, external storage, sd-ext, android_secure, and/or an option ...
Firelord's user avatar
  • 25.1k
3 votes

How to create complete image backup(Nandroid) of rooted phone if no cwm or twrp available for my phone

Provided your device is rooted, you can do that with simple dd commands. Trouble is just to find out what partitions you might need to backup: some devices have more than 20 partitions, and you will ...
Izzy's user avatar
  • 91.2k
3 votes

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.​

Modular may offer official long-term support Not quite ready today are modular phones, like that for Project Ara. Be aware that the schedule for modular phones has already slipped by years, so I ...
mattm's user avatar
  • 4,231
3 votes

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.​

Other answers mention that aftermarket distributions can provide you with security updates. This is only true to some degree. They usually integrate low level-code (proprietary blobs) from the ...
Matthias Weiler's user avatar
3 votes
Accepted

Is a ROMs data (/data) from Nougat compatible with MM?

From one of my earlier answers: Older version of an app might not recognize the data created by the newer version of the same app. Although user apps are rarely affected, crucial system apps might ...
Andy Yan's user avatar
  • 9,554
3 votes
Accepted

Is it possible to root directly custom rom?

MI 5C is a fairly new phone and with Xiaomi's in-house SoC (harder to develop for than established ones like Snapdragon), therefore custom ROMs are expected to come out later and in fewer quantities. ...
Andy Yan's user avatar
  • 9,554
3 votes
Accepted

What happens if vendor partition is corrupted?

/vendor is sister partition of /system on Android devices which holds system applications and libraries that do not have source code available on AOSP but added by vendors (OEM's). It also contains ...
Irfan Latif's user avatar
  • 20.4k
3 votes

Is it possible to flash a custom ROM without a custom recovery image?

Yes it is possible to flash images via Fastboot ? With an unlocked bootloader you should be able to flash some partitions without overwriting the stock recovery, however each system usually requires ...
Empire of E's user avatar
  • 1,590
3 votes

How to recover data when everything is locked (FRP, OEM)

Data recovery and Screen lock by-pass are two different things. Both should be impossible due to security reasons. Android provides official unlock solution via a Google account (not anymore). A ...
alecxs's user avatar
  • 4,044

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