Emulate my custom Rom in Android Studio Emulator - Black Screen - Android Q&A, Help & Troubleshooting

Good Morning,
I tried to emulate some custom Roms in Android Emulator but at every Rom I get only a black screen.
I tried with the system images from the emulator from the sdk package. This roms works. Then i create a avd for the custom roms. I put the roms into the avd path where are the data of the created avd. I tried with different settings how device, ram an so on. But with all settings I only get a black screen.
The Roms are flashable from a sd card to the device. The Device have a mcu.
The Kernel for the images with Android 4.2.2 is 3.4.35. I tried with some Qemu´s but all qemu´s don´t work / or I only get the black sreen.
Before I flash a rom to the device I want to test it with the emulator that I know that the rom works fine. But with a black screen it isn´t possible.
A qemu for emulating the kernel 3.4.35 I don´t find on the internet.
I have a custom rom for android 6.0 and there I have the same problem with the emulator.
Who can help me to make it possible to emulate the roms at the emulator and get the roms to start?
Thank you very much

Related

Android Live for phones.

Hello all,
Was thinking if there could be way to have some android live versions of the rOM images similar to the OSes having Live CD/DVD Where in you could boot up your machine with the Live CD/DVD and work on the OS from the CD/DVD.
We could have all the different ROM mods being put on the SD card, boot up the phone via SD card and test the ROMs before really flashing them on to the Phones.
I know the Gurus and geniuses here can make it happen.
Waiting for this to happen.
I am not sure if its version 1.5 or 1.6 but after one or the other Android stopped being able to boot to x86 chips. Which means you could build a live CD to do this but it would have to be a relatively old version of android. I believe google did this because if I remember correctly they were starting to support x86 architecture on chrome.
jvward said:
I am not sure if its version 1.5 or 1.6 but after one or the other Android stopped being able to boot to x86 chips. Which means you could build a live CD to do this but it would have to be a relatively old version of android. I believe google did this because if I remember correctly they were starting to support x86 architecture on chrome.
Click to expand...
Click to collapse
I am not sure If I was clear. What I am talking here is about having a mechanism for the Modified Phone ROMs to be on the SD card, boot up the phone with the ROM on the SD card and test the ROM before flashing it on the Phone.
jvward said:
I am not sure if its version 1.5 or 1.6 but after one or the other Android stopped being able to boot to x86 chips. Which means you could build a live CD to do this but it would have to be a relatively old version of android. I believe google did this because if I remember correctly they were starting to support x86 architecture on chrome.
Click to expand...
Click to collapse
I believe he want's a way to test the roms on his phone using some kind of a virtual machine type of program on his phone.
sada23 said:
I am not sure If I was clear. What I am talking here is about having a mechanism for the Modified Phone ROMs to be on the SD card, boot up the phone with the ROM on the SD card and test the ROM before flashing it on the Phone.
Click to expand...
Click to collapse
I do not know of anything like this for the phone itself, but what you can do is get the Android SDK and use the emulator to run the rom you want to run and test it out that way.
Cody,
Thanks for the hint. I do have the andoid emulator installed on my machine and will try your suggestion. I have interest in developing some apps or even compile the android ROMs . Will have to start somewhere.

[Q] Create theme without phone ?

I want to create a theme for my rom, but I do not want to adb with my own phone. Is there a way to get the samsung firmware working on an emulator, or are there any other smart ways to create a theme without working with your own phone.
Maybe dual booting a rom could be an option, I do not know if it's possible.

Emulate Android phone on PC

Hello users i got question.
I want emulate my current android system of my phone.
I want have full duplicate system of my current phone (i mean files\programms\ etc) at PC with possible to use it (things like 2-step auth of google, and others)
I think the way to do it is restore image of system that can do ClockWorkMod. But i dosnt know how use it on emulator on my Win7.
Is there some advice?
P.S. if dosnt understand something, ask.
P.P.S. sorry not my native language.
You can try THIS, or this HERE.
Here are the first steps you have to make
go to developers dot android dot /sdk/installing.html and here you will find the first steps you have to make.
The emulator included with the Android SDK is really slow and laggy IMHO. If you want to use the complete Android OS in emulator form, check out this video for installing Android-x86 inside VirtualBox. It will be much smoother and more versatile than the standard emulator:
www[dot]youtube[dot]com/watch?feature=player_embedded&v=vp1S23I0N6s
If you just want it for running Android apps and not for the OS itself, and you need to run it on Windows, check out BlueStacks.
www[dot]androidemulatorforpc[dot]com/2012/05/install-bluestacks-android-emulator-for.html

[Q] Question for developers: How to test system.img file after building from source

Hi,
I have build jelly bean from android source and cyanogenmod device files for p4. My build was successful and it generated system.img, ramdisk.img,etc..
How can I test them to see if they are properly built or not?
I tried running emulator command, it opens up a emulator screen but nothing shows up, only black screen and buttons on the right side..
Could someone help me regarding this..
Thanks in advance
Just now I built again for lunch-> full-eng
After it was built I ran the emulator command and the OS loaded smoothly for this build.
Does this mean my p4 build img file has some problem or emulator runs only with full-eng build?
I have done build for full_grouper and full_crespo. These two also didn't start emulator. So I am thinking that emulator will work only with the system.img which generated from full-eng build.
I don't know how I can test my build before actually trying to flash it to the device. Can anyone throw some light on this please

How to build a Nougat system image for the emulator

Just starting out with Android and I thought I'd start with something easy. Except it's not.
I'm trying to build a Nougat system image for the emulator, like the images you can download with AVD Manager in the SDK.
I've tried getting the latest (?) tagged 7.1.2 system from "refs/tags/android-7.1.2_r39" and then building "aosp_x86-userdebug".
It builds without error and I can run it with the emulator in prebuilts, but not a recent emulator. The image seems to be specific to the goldfish kernel and not recent (3.10+) kernels, which are required by recent versions of the emulator.
I think that goldfish is the default for x86 devices, but I have no idea where to override it..
Any advice would be greatly appreciated!

Categories

Resources