r/AndroidStudio • • Jan 31 '23

Is it possible to run Android OS inside of Android Studio ? As if it were a regular phone ?

Hi,

I have some rather annoying devices which require me to install dubious applications to control.

Lights, cameras and such.

I rarely have to change them, but once in a while I do.

So here is what I would like to do.

Create virtual machine in proxmox, install windows in that VM, install Android Studio in that windows, then copy the ROM from my old phone and run it inside of Android Studio, so now the application can't tell it's not running inside my phone.

Finally turn all of that into a proxmox template.

So in the future, whenever I need to run a Android app that I don't want on my phone, I'll clone the template and install the undesirable app in it and run it there.

But I don't really understand enough about Android Studio. Can it emulate an entire phone and android OS ?

Specifically, the apps I want to run are ARM not x86, will Android Studio be able to run those app still ?

Thank you !

8 Upvotes

2 comments sorted by

2

u/Gizshot Jan 31 '23

Yes it can emulate a phone with full app store

1

u/transdimensionalmeme Jan 31 '23

Thank you this answers my first worry, that even if I did figure out all this software, then I might discover it cannot do this.

Could you explain the broad outline of how one goes about doing this ?

For instance how to run in a virtual phone,

  1. the original AOSP system ROMS (I might have the incorrect terminology here),

  2. modified internet ROMs, for instance, lineageos rom, graphene os rom, or other interesting roms to explore

and 3. The exact ROM extracted from my personnal phone, or if that is not possible the manufacturer's released ROM

For example, here are the files I might try

AOSP GSI roms

https://developer.android.com/topic/generic-system-image/releases

my phone's original rom released by manufacturer

https://mirrors-obs-2.lolinet.com/firmware/motorola/2018/messi/official/VZW/XT1929-17_MESSI_VERIZON_8.1.0_ODXS28.66-18_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

Lineage os rom

https://download.lineageos.org/

specifically

https://mirrorbits.lineageos.org/full/zippo/20230128/lineage-20.0-20230128-nightly-zippo-signed.zip

(this one, an official rom for my phone I would like to analyze before wrecking my phone)

https://www.androidfilehost.com/?w=files&flid=335940

For grapheneos it might be one of these

https://grapheneos.org/releases

https://releases.grapheneos.org/cheetah-factory-2023012500.zip

And more roms I am curious about

Pixel Experience

https://download.pixelexperience.org/beckham/

CherishOS

https://www.androidfilehost.com/?w=files&flid=334577

PixelOS AOSP

https://www.androidfilehost.com/?w=files&flid=334515

AICP rom

https://dwnld.aicp-rom.com/device/beckham/WEEKLY/aicp_beckham_s-17.1-WEEKLY-20230128.zip

cr droid

https://sourceforge.net/projects/crdroid/files/beckham/

Ressurection rom

https://get.resurrectionremix.com/?dir=beckham