Android First Run Setup in Emulator

Gary Burch 1 Reputation point
2021-03-15T09:54:58.64+00:00

Does anyone know if it's possible to get to the Setup wizard that runs on a new android phone within an emulator?

I'm trying to test enrolling into an MDM as a fully-owned corporate device.

I have tried running a factory reset from within the emulator, but the factory reset button doesn't seem to do anything.

Community Center | Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-03-15T11:42:31.143+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    I have tried running a factory reset from within the emulator, but the factory reset button doesn't seem to do anything.

    I test it, I get the same result as you, and I get the following log message: it is by google's design

       /system_process E/MasterClear: Can't perform master clear/factory reset  
           java.io.IOException: Reboot failed (no permissions?)  
               at android.os.RecoverySystem.bootCommand(RecoverySystem.java:935)  
               at android.os.RecoverySystem.rebootWipeUserData(RecoverySystem.java:773)  
               at com.android.server.MasterClearReceiver$1.run(MasterClearReceiver.java:75)  
       /system_process I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@7f1448f)  
    

    Best Regards,

    Leon Lu


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.