Skip to main content

Choosing a Smartphone for Flashing


Info about firmware

  • Google provides Clean Android firmware (GSIs) for developers. There are both Root and standard user versions. The phone must support Treble.
  • Indian Samsung firmware gets updated more often, so it's usually newer than other regions and comes with extra features (like call recording), since India is a test region.
  • Some firmware (including GSI) and bootloaders may have hidden settings. For example, fastboot oem off-mode-charge 0 makes the phone power on when the charging cable is connected instead of just showing the charging animation.
  • Some firmware sometimes includes a property (prop) for a backdoor: debug.rootbackdoor=1, with third-party access keys already embedded. You can read more about this on 4PDA.

Info about devices

  • Sometimes, to save money at work, you can use demo versions of smartphones. These usually don't have a cellular module and are sold used (ex-display).
  • Devices with MediaTek-based processors still support dumping and flashing a full image of the flash memory. This platform is considered cheap, which is probably why you get such direct access.
  • Almost all Huawei smartphones use their own processors—Kirin.

Choosing a Smartphone for Enterprise Use

Device NameSamsung Galaxy S8Xiaomi Mi 9T ProRedmi 4X 3/32
FirmwareLineageOS 20-20231226-UNOFFICIAL-dreamlteCustom: XTB UI 14.1.1.0 (Android 12)Android 13 (unofficial, like SparkOS)
Install MethodTWRPOrangeFoxTWRP
Custom RecoveryTWRP 3.5.0_9.0OrangeFox/TwrpTWRP 3.1.1-0
MagiskTWRPMagisk 26.4Not required
BusyBoxNot requiredPre-installedNot required
Useful InfoWe recommend installing LineageOS for more stabilityIf the connection drops, block background launch of all emulation-related apps (Zennodroid, Appium, etc.)Use Mi Unlock 5.5.224.55 to unlock the bootloader
Price on AvitoAbout 2,000 RUBFrom 7,000 RUBAround 1,000 RUB
Overall ratingReliable and easy to flash, no big issuesExcellent for everyday use. Durable, fast and bezel-less.These devices work 24/7 without a battery, no ADB disconnects. Best value for money
Other good options:

Samsung: S8–S21 series (including ultra and note) with Exynos chips.
Xiaomi: MI8 and MI9 (SE, Lite, Pro), Redmi 8 and 9 (Note, T, Pro), Redmi Note 7 and 10.
Poco: Poco X3 (Pro), Poco M3 (Pro), Poco M4 (X4, Pro, 5G), Poco F1 and F3.
Google: Pixel 5, 6 and 7 (avoid carrier-locked models).


Tips for installation and setup

  • The Enterprise version works via ADB, so you can use any emulators. But you'll have to handle setting them up yourself.

Removing packages

Android can be slimmed down by removing certain packages (including system ones) using the command pm uninstall --user 0 package.path.name. This works for both physical devices and virtual machines (at the very least for ad packages).

If you need to restore system packages, you can either do a full reset or individually restore them using:
cmd package install-existing package.path.name

You can get a list of all packages using the pm command:
pm list packages plus extra arguments as needed.

Packages we recommend removing:

  1. For Android 12
  2. For Android 11
We recommend looking up info about your particular device before deleting anything.

Removing certain packages on some smartphones can cause serious loss of functionality or even a bootloop (endless reboot).


Partition layout

Before editing partitions on a physical device, make a full flash memory dump with all partitions included. Then test the method you plan to use for restoring the dump. If the device works fine after that, you can move on to editing.

What methods are there?

  • Recovery. Gives you pretty broad access and features. But without its own partition, plus with no bootloader, it won't start.
  • Fastboot. Supports making logical partitions, but not all devices have it. For example, in Samsung phones, it's just a dummy, and the phone uses its own custom protocol.
  • Bootloader. Has pretty limited capabilities—basically resetting existing partitions and flashing images over already present ones.