RomType

object RomType

Android ROMs type tool.

Here is a collection of third-party in-depth customization of the identification functions of Android ROMs from some major manufacturers.

The identification function relies on reading the Class implementation that exists specifically in the system framework of the current running environment through Java reflection and SystemProperties.

Types

Link copied to clipboard
annotation class Value

The ROM type value annotation.

Properties

Link copied to clipboard
const val COLOROS: Int = 1005
Link copied to clipboard

Get the current ROM type.

Link copied to clipboard
const val DEFAULT: Int = 1000

The default type.

Link copied to clipboard
const val EMUI: Int = 1002
Link copied to clipboard
const val FLYME: Int = 1008
Link copied to clipboard
const val FUNTOUCHOS: Int = 1006
Link copied to clipboard
const val HARMONYOS: Int = 1001
Link copied to clipboard
const val HYPEROS: Int = 1004
Link copied to clipboard
const val MIUI: Int = 1003
Link copied to clipboard
const val NUBIAUI: Int = 1012
Link copied to clipboard
const val ONEUI: Int = 1009
Link copied to clipboard
const val ORIGINOS: Int = 1007
Link copied to clipboard
const val REDMAGICOS: Int = 1011
Link copied to clipboard
const val ROGUI: Int = 1013
Link copied to clipboard
const val VISIONOS: Int = 1014
Link copied to clipboard
const val ZUI: Int = 1010

Functions

Link copied to clipboard

Determine whether the current ROM is of the specific type.