BrowserStack does not offer 'rooted' devices on the platform. However, we do make a few modifications to our devices for our proprietary implementation which is device-specific. We also ensure that none of the apps or users on the device have root access, and our security processes ensure that a customer does not need to check for compromised devices on our cloud.
BrowserStack believes that the modifications implemented on certain android devices are being incorrectly flagged by the root detection mechanism of the application under test and this seems to be the reason for the reported behavior.
BrowserStack recommends using special debug builds with disabled root checkers and SafetyNet calls as a workaround to the firmware modifications on our devices.