how to verify the custom ROM on android studio emulator - General Questions and Answers

Hello XDA members,
I am preparing custom ROM binary for my device and I would like to verify it on android studio emulator.
Please let me know steps to be followed also the location where i need to keep SW images.
Thanks
Ritu Raj

androidtutoracademy said:
Hello XDA members,
I am preparing custom ROM binary for my device and I would like to verify it on android studio emulator.
Please let me know steps to be followed also the location where i need to keep SW images.
Thanks
Ritu Raj
Click to expand...
Click to collapse
In my knowledge, you cannot test a device specific rom in an emulator. You need to flash the rom on your phone directly, unless your custom rom was made for the emulator.

Hello,
how to compile/build android source code for emulator only.
Please let me know
Thanks

androidtutoracademy said:
Hello,
how to compile/build android source code for emulator only.
Please let me know
Thanks
Click to expand...
Click to collapse
Android Studio includes prebuilt system images for emulators.
You do not need to compile one.

Related

How to build a best compatible ARM binary for Android system

Hi, all
I'd like to build busybox from source code and I would like to make it to be most compatible, i.e to be able to run on most ARM HW for Android phone, I'm wondering if I should choose codesoursery or Android NDK?
Pls suggest. Thanks!
You should use "original" Software.
So try Android NDK.
crinca15 said:
You should use "original" Software.
So try Android NDK.
Click to expand...
Click to collapse
Thanks, I will have a try on your suggestion!

[Q] Building a UnORom on Gentoo

Hi there,
as I don't have permission to write on the Unofficial Rom Project Thread, I am asking here for a GUIDE to setup a jenkins server that automatically builds ROMs for my Sensation aka Pyramid.
Is anyone here who can help me to get into the build process for the first time on an continious integration server.
What did I already did?
I have set up Java 1.6 to build a Cyanogenmod 11 and I m not sure if it should be Java 7?
I downloaded the entire sources from github. I m sorry I m not allowed to post a link.
via
so I hope that isnt the wrong way as I am following multiple guides to accomplish my target.
So I wanted to set up it all for the first time to run a compilation without jenkins then I 'm stuck at the point where I integrate the UnORom files - I only could set up a
Code:
git clone https://github.com/UnORoms/android_device_htc_pyramid.git
and then i succesfully executed
Code:
./extract-files.sh
so it downloaded a couple of files from my phone.
But when I do a
Code:
lunch
there don't exists a cm_pyramid?
So I m stuck at this point and I m politely asking for help.(Maybe to accomplish my personal goal of using a continious integration server at least
Thanks in advance for your replys
Nobody knows how to build a android rom for a specific device?
In my case the HTC Sensation?
I would be glad if there where some tutorials of implementing the necessary files into my cm11-tree.
Could anyone please give it a try?
chiefdome said:
Nobody knows how to build a android rom for a specific device?
In my case the HTC Sensation?
I would be glad if there where some tutorials of implementing the necessary files into my cm11-tree.
Could anyone please give it a try?
Click to expand...
Click to collapse
I'm not 100% familiar with building roms, but I once compiled them completely from source for testing purposes.
Do you have device files and kernel in your local manifest to sync them from somewhere or did you take what you need from your phone? Not sure if it's required or not.
When I had everything ready I had to run
Code:
./device/htc/pyramid/repo-patcher.sh
then I could run
Code:
lunch cm_pyramid-userdebug
and it worked.
Not sure if it works same way here too, since I did that when I used Team-Sennyc2 device tree.

[Completed] kernel compile

I have cygwin installed on windows 10
I have kernel extracted in android directory in cygwin home/user/android/kernel
now I want to compile the kernel
could someone help me with this ?
[edit] I have the samsung kernel source
ok I will try to explain my problem more
I have cygwin installed with all required packages
I have kernel source
now I want to compile the kernel without config
can this be done ?
please help
AlMaghraby said:
I have cygwin installed on windows 10
I have kernel extracted in android directory in cygwin home/user/android/kernel
now I want to compile the kernel
could someone help me with this ?
Click to expand...
Click to collapse
AlMaghraby said:
[edit] I have the samsung kernel source
Click to expand...
Click to collapse
AlMaghraby said:
ok I will try to explain my problem more
I have cygwin installed with all required packages
I have kernel source
now I want to compile the kernel without config
can this be done ?
please help
Click to expand...
Click to collapse
Greetings,
Please read the description and Sticky threads for XDA Assist. This is not a help desk. Our purpose here is to guide NEW members to the correct section or thread relative to their issues. We don't help Senior members here. As a Senior member, you are expected to use the search tools provided to you and find the correct location to post your questions.
Thanks for understanding.
Thread closed.

[Completed] can I make an AOSP in a virtual machine?

Hi everybody!
I am new in this community and I am sorry if a post this thread in the wrong forum.
I want to start making a AOSP or a "custom ROM" for Android, I have some experience with "Linux from scracth" and linux in general, but I think that I still beeing a newbie in OS development.
I really love OS develoment and thats why I want to try with Android. (I know that is very hard, but I am making this for experience)
The AOSP requirements says that I new a Android device and its kernel source. (I am new and I can not post links)
I want to know, if there is any way to make a AOSP or custom ROM in a virtual machine? maybe using google pixel or nexus code?
I have an Android device but I am a complete newbie and I dont want try on real hardware yet.
Thanks for any help!
david_pjimenez said:
Hi everybody!
I am new in this community and I am sorry if a post this thread in the wrong forum.
I want to start making a AOSP or a "custom ROM" for Android, I have some experience with "Linux from scracth" and linux in general, but I think that I still beeing a newbie in OS development.
I really love OS develoment and thats why I want to try with Android. (I know that is very hard, but I am making this for experience)
The AOSP requirements says that I new a Android device and its kernel source. (I am new and I can not post links)
I want to know, if there is any way to make a AOSP or custom ROM in a virtual machine? maybe using google pixel or nexus code?
I have an Android device but I am a complete newbie and I dont want try on real hardware yet.
Thanks for any help!
Click to expand...
Click to collapse
Greetings and welcome to assist. Plenty of devs use a virtual machine to build or even dual boot linux. There are plenty of prebuilt virtual machines at osbox and there are plenty of excellent guides to building in xda university
http://forum.xda-developers.com/general/xda-university
Good Luck and welcome to xda
Sawdoctor
sawdoctor said:
Greetings and welcome to assist. Plenty of devs use a virtual machine to build or even dual boot linux. There are plenty of prebuilt virtual machines at osbox and there are plenty of excellent guides to building in xda university
http://forum.xda-developers.com/general/xda-university
Good Luck and welcome to xda
Sawdoctor
Click to expand...
Click to collapse
Thanks for replying!
I have no problem to install Linux on real hardware, actually I have Arch Linux installed on real hardware and I used as my main OS.
What I want to know is, can I put AOSP or a Custom Android in a Virtual Machine? I mean, modify some code in a custom android and tested in a Virtual Machine?
Thanks for your time and help!
david_pjimenez said:
Thanks for replying!
I have no problem to install Linux on real hardware, actually I have Arch Linux installed on real hardware and I used as my main OS.
What I want to know is, can I put AOSP or a Custom Android in a Virtual Machine? I mean, modify some code in a custom android and tested in a Virtual Machine?
Thanks for your time and help!
Click to expand...
Click to collapse
You mean you want to run a custom rom on a virtual machine on your pc ? I think android studio can do something along these lines
sawdoctor said:
You mean you want to run a custom rom on a virtual machine on your pc ? I think android studio can do something along these lines
Click to expand...
Click to collapse
I mean that I want to modify Android OS to add functions, optimize, maybe modify the UI of the system, learn how Android is programed and that kind of things. I want to modify Android Source Code but I want to tested that code on a Virtual Machine on my PC.
Where can I get Android Source Code or any Custom ROM to start working on it?
Thanks for your help and time!
david_pjimenez said:
I mean that I want to modify Android OS to add functions, optimize, maybe modify the UI of the system, learn how Android is programed and that kind of things. I want to modify Android Source Code but I want to tested that code on a Virtual Machine on my PC.
Where can I get Android Source Code or any Custom ROM to start working on it?
Thanks for your help and time!
Click to expand...
Click to collapse
Here is the link for android studio
https://developer.android.com/studio/index.html#features
For source code you can use cm/aosp or anything opensource. Resurrection remix is quite easy to set up as they have a lot of pre built scripts to help you set everything up
Sent from my SM-N930F using Tapatalk
sawdoctor said:
Here is the link for android studio
https://developer.android.com/studio/index.html#features
For source code you can use cm/aosp or anything opensource. Resurrection remix is quite easy to set up as they have a lot of pre built scripts to help you set everything up
Sent from my SM-N930F using Tapatalk
Click to expand...
Click to collapse
Thanks for your help and time!
You have resolved everything that I needed!

build and flash aosp source code on android emulaor

Hello XDA Developers,
I am new to this forums and development of android stock rom so my question may sounds stupid and basic.
I need to download AOSP source and build for ANDROID Emulator and flash the ROM on Emulator.
I need to flash and check the SW image on Emulator and I don't have the actual Nexus devices with me.
Hence, please let me know the procedure to do so.
if it is feasible to prepare android image for emulator and flash it on the same.
Please help me for the same.
Thanks

Categories

Resources