RKNHardering Help

QEMU system properties

ID: EMULATOR_QEMU_PROPERTY Category: Emulation, profiles, and isolation Status in RKNHardering 2.10.0: Active check Role in the verdict: Medium

This page describes the actual implementation in RKNHardering 2.10.0. It distinguishes what can be done without root, what requires root, and where a mitigation only reduces one signal without hiding the VPN as a whole.

What is checked and why

C++ reads ro.kernel.qemu, ro.kernel.qemu.gles, ro.boot.qemu, and qemu.hw.mainkeys. Any existing nonempty value is emitted as qemu_prop; the checker assigns a high-confidence review finding.

Exact trigger condition

A nonempty property from the fixed list, regardless of its specific value.

What the result means

This is a strong indicator of a QEMU-oriented environment. These properties are normally absent on a physical production device.

How the line affects the report: The line does not produce a final verdict on its own, but it sets needsReview=true and adds medium-confidence evidence.

Limitations and possible false positives

A property may be left behind by custom firmware or a test vendor image. An emulator that filters properties may pass this particular vector.

This line must be evaluated together with neighboring signals. A clean result from a single API does not simultaneously cover Java Binder, libc, raw netlink/syscalls, procfs/sysfs, local sockets, and server-side indicators.

Recommendations for this vector

Without root

To avoid this class of indicators, use a physical device running a production build. QEMU properties, goldfish/ranchu markers, special devices, and the build fingerprint are part of the environment; an ordinary app cannot change them consistently without system modification. Treat a cloud phone or OEM clone as a separate environment as well, and compare it against a physical-device baseline.

With root

Spoofing a couple of getprop values does not turn an emulator into a physical device: drivers, /dev nodes, the hardware profile, ABI, and kernel behavior remain. Root modules used for spoofing can remove one marker while creating hook, property, or library mismatches. They may be acceptable as an experiment during development, but RKNHardering should be run on a real device for a valid result. Even if resetprop removes the line, pipe, goldfish/ranchu, and build-profile indicators remain available for cross-checking.

How to verify the result

for p in ro.kernel.qemu ro.kernel.qemu.gles ro.boot.qemu qemu.hw.mainkeys; do adb shell getprop "$p"; done

Match any nonempty output against the reported detail.

After any change, force-stop both RKNHardering and the VPN client, start them again, and repeat the full scan. Zygisk, Xposed, and kernel modules usually require a reboot. Compare not only this line but also neighboring signals: a partial hook often creates inconsistencies between APIs.

Required permissions and risks

The probe itself runs with ordinary app permissions and does not request root. The ADB commands below are for orientation only: adb shell runs under a different UID and may see either more or less than the app process. The decisive test is to run the check again after a force-stop.

Risks

Changing boot properties may break graphics, input, and init behavior in the emulator.

Rollback

Restore the snapshot or AVD configuration, or remove the resetprop rule and reboot the environment.

Evidence level

Medium. Verified against the kQemuProps array; the signal is high-confidence but review-only.

The status of a third-party solution does not automatically carry over to this device. A module developer’s claim is only the initial hypothesis; confirmation requires a reproducible RKNHardering result on the specific Android version, firmware, and kernel.

Sources and last verification date

Related signals: emulator-qemu-pipe, emulator-goldfish, emulator-build-profile.

Back to the Native signs reference