Open BlueStacks Settings → Advanced → Root Access → Enable. Restart the emulator.
Interceptor.attach(Module.findExportByName("libc.so", "fopen"),
onEnter: function(args)
var path = Memory.readUtf8String(args[0]);
if (path.indexOf("/proc/cpuinfo") !== -1)
console.log("[Bypass] Intercepted cpuinfo read");
// Redirect to a spoofed file
args[0] = Memory.allocUtf8String("/data/local/tmp/fake_cpuinfo");
);
Navigate to /system/build.prop. Open it in a text editor. Change the following lines: emulator bypass bluestacks
# Change from emulator defaults to real device values
ro.product.manufacturer=Samsung
ro.product.model=SM-G998B # S21 Ultra
ro.product.brand=samsung
ro.build.fingerprint=samsung/beyond1q/beyond1q:10/QP1A.190711.020/G973FXXU3BSLI:user/release-keys
ro.build.tags=release-keys
ro.kernel.qemu=0 # Add this line if missing
Save and reboot the emulator.
While often associated with cheating, there are legitimate reasons for this technology: Open BlueStacks Settings → Advanced → Root Access