Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Hardware Emulation for Specific Device(s)?

OP FallenZen

12th January 2014, 01:43 AM   |  #1  
OP Member
Thanks Meter: 71
 
60 posts
Join Date:Joined: Apr 2011
More
Hey folks. First, I apologize if this isn't the right place to post this since it's not actually about hacking Android so much as it's about creating a test environment on a PC. I'll elaborate:

I'd like to know if it's possible to use an emulator, such as Oracle's VM VirtualBox, to emulate the actual hardware profile of a specific device. For example, when I emulate a PC in VirtualBox I am able to define the virtual machine's hardware specifications to a limited degree. I would like to be able to emulate the exact hardware profile of Sprint's version of the S3 (SPH-L710), but anything in the ballpark of Samsung's Galaxy S3/4 devices would be useful.

The intention here would be to generate a virtual environment for testing and logging the installation and modification of bootloaders (especially *ahem* secured bootloaders such as those infested with KNOX). Currently, if a user has a KNOXed bootloader, they've only got one screw up before their KNOX bit goes from 0x0 to 0x1. I'd like to be able to generate a virtual environment that is able to simulate a device's hardware so that I can experiment with tripping KNOX, and I'll probably have to trip it a couple thousand times... Since my phone only gave me one shot, I'm about 1,999 attempts shy of that.

So, is this even remotely possible or am I just wishing on stars with this notion?

Thanks,
-Zen
12th January 2014, 05:42 AM   |  #2  
hnkotnis's Avatar
Senior Member
Flag Sangli, Maharashtra, India, Asia, Earth, Solar System, Milky Way Galaxy, Local Galaxy Group,Universe
Thanks Meter: 449
 
1,012 posts
Join Date:Joined: Jul 2013
More
Quote:
Originally Posted by FallenZen

Hey folks. First, I apologize if this isn't the right place to post this since it's not actually about hacking Android so much as it's about creating a test environment on a PC. I'll elaborate:

I'd like to know if it's possible to use an emulator, such as Oracle's VM VirtualBox, to emulate the actual hardware profile of a specific device. For example, when I emulate a PC in VirtualBox I am able to define the virtual machine's hardware specifications to a limited degree. I would like to be able to emulate the exact hardware profile of Sprint's version of the S3 (SPH-L710), but anything in the ballpark of Samsung's Galaxy S3/4 devices would be useful.

The intention here would be to generate a virtual environment for testing and logging the installation and modification of bootloaders (especially *ahem* secured bootloaders such as those infested with KNOX). Currently, if a user has a KNOXed bootloader, they've only got one screw up before their KNOX bit goes from 0x0 to 0x1. I'd like to be able to generate a virtual environment that is able to simulate a device's hardware so that I can experiment with tripping KNOX, and I'll probably have to trip it a couple thousand times... Since my phone only gave me one shot, I'm about 1,999 attempts shy of that.

So, is this even remotely possible or am I just wishing on stars with this notion?

Thanks,
-Zen

Unfortunately what you exactly require is very good to be true.
You can emulate your exact device specifications and your phone's System image with official emulator that comes with Android SDK. But it doesn't have functions like boot loader, recovery etc.

If you use Android x86 in Oracle VM Virtual box, then you cannot create exact specifications of your SIII/SIV.

Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands
The Following User Says Thank You to hnkotnis For This Useful Post: [ View ]
12th January 2014, 06:56 AM   |  #3  
OP Member
Thanks Meter: 71
 
60 posts
Join Date:Joined: Apr 2011
More
Quote:
Originally Posted by hnkotnis

Unfortunately what you exactly require is very good to be true.
You can emulate your exact device specifications and your phone's System image with official emulator that comes with Android SDK. But it doesn't have functions like boot loader, recovery etc.

If you use Android x86 in Oracle VM Virtual box, then you cannot create exact specifications of your SIII/SIV.

Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands

Well, that's a bummer. I suppose it's not terribly surprising that there isn't a practical method for perfect hardware emulation, but I figured it was worth asking. Thanks for the information, I didn't realize I could install a module for Android in VirtualBox so at least I've still got something I can work with!

Thanks very much,
-Zen
12th January 2014, 08:01 AM   |  #4  
hnkotnis's Avatar
Senior Member
Flag Sangli, Maharashtra, India, Asia, Earth, Solar System, Milky Way Galaxy, Local Galaxy Group,Universe
Thanks Meter: 449
 
1,012 posts
Join Date:Joined: Jul 2013
More
Quote:
Originally Posted by FallenZen

Well, that's a bummer. I suppose it's not terribly surprising that there isn't a practical method for perfect hardware emulation, but I figured it was worth asking. Thanks for the information, I didn't realize I could install a module for Android in VirtualBox so at least I've still got something I can work with!

Thanks very much,
-Zen

Glad to help you. But I would suggest you Android SDK emulator as it can work with only system image of your phone. You can also set exact specifications. But only drawback is no boot loader. For Virtualbox you need bootable iso.

Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands
Post Reply Subscribe to Thread

Tags
emulator, galaxy, hardware, knox, security
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes