google / android-emulator-m1-preview

Apache License 2.0
1.83k stars 161 forks source link

Change Serial Number (ro.serialno) on Android Virtual Device (Emulator) on Apple Silicon #69

Open simonhuwiler opened 2 years ago

simonhuwiler commented 2 years ago

Hi everyone

I am using the Android Studio Preview Version and thought, maybe this is the right place :) I need to change the Serial Number (ro.serialno, and other IDs) of an emulated Android Device. There are not many ressources concerning that issue.

Ideas:

Do you have any ideas?

Environment: MacBook M1, Android 11, arm64-v8a (Api-Level 30)

Thank you very much!

no-coder-here commented 2 years ago

Have you managed to find solution to your problem? Having the same issue and would appreciate any help.

simonhuwiler commented 2 years ago

No :-(

fielding commented 2 years ago

Any update on this? I'm basically at the same point @simonhuwiler was. I tried rooting the emulator and setting the serialno via setprop and also via the kernel params, but no luck.

Would love to know if you ever solved this @simonhuwiler

simonhuwiler commented 2 years ago

@fielding Unfortunately not. I switched to a real device.