build and flash aosp source code on android emulaor - General Questions and Answers

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

Related

[Completed] how do the Android developer adapt os to latest version?

Hey, guys! May I ask you a question, how do you adapt a phone to latest version?
I flash LeWa OS based on android 5.0, this is officially released test version, but open source code is 4.4. I want to know how did the developer make 5.0?
please tell me the way, thanks!
Nick-0113 said:
Hey, guys! May I ask you a question, how do you adapt a phone to latest version?
I flash LeWa OS based on android 5.0, this is officially released test version, but open source code is 4.4. I want to know how did the developer make 5.0?
please tell me the way, thanks!
Click to expand...
Click to collapse
Hi and thank you for using XDA Assist
When a new Android Version comes up the developers modify the native sources of the device and adapt it in order to make it compatible with the latest version, that's how it works. There is much work to do beyond the final product which your see.
Regards

[Completed] Nexus5X - Create A Custom ROM

Hi! I own the Nexus5X and I am interesting in creating a custom ROM for the device. I have synced the AOSP source tree, gotten everything set up and flashed a build on to my device.
How can I start creating a ROM for the device? What are some general guidelines? How do I start tweaking apps, adding features, etc.
Also, if someone could take a look at these errors I am getting with my AOSP build that would be awesome: https://forum.xda-developers.com/nexus-5x/help/issues-aosp-built-source-bullhead-t3555439
Thanks
NateDev said:
Hi! I own the Nexus5X and I am interesting in creating a custom ROM for the device. I have synced the AOSP source tree, gotten everything set up and flashed a build on to my device.
How can I start creating a ROM for the device? What are some general guidelines? How do I start tweaking apps, adding features, etc.
Also, if someone could take a look at these errors I am getting with my AOSP build that would be awesome: https://forum.xda-developers.com/nexus-5x/help/issues-aosp-built-source-bullhead-t3555439
Thanks
Click to expand...
Click to collapse
Hello,
If you have interest in develop a custom rom, i suggest you start at XDA University to learn a bit of everything about Android.
You have some great guides on Android Software Development (look at stick posts)
I have my own guide which is not finished but I will teach everything you need to know about build a custom ROM from source, how to use github, git, mergetool etc... You can follow my progress HERE
FSadino said:
Hello,
If you have interest in develop a custom rom, i suggest you start at XDA University to learn a bit of everything about Android.
You have some great guides on Android Software Development (look at stick posts)
I have my own guide which is not finished but I will teach everything you need to know about build a custom ROM from source, how to use github, git, mergetool etc... You can follow my progress HERE
Click to expand...
Click to collapse
OK thanks, I will take a look at that. If possible, could you take a look at the errors I am getting with my AOSP build? I posed the link in the original post. Also, do you have to run extract-files.sh or can you simply download the vendor binaries from Google and run the extracting script? (AOSP)
NateDev said:
Also, do you have to run extract-files.sh or can you simply download the vendor binaries from Google and run the extracting script? (AOSP)
Click to expand...
Click to collapse
If you fork/download vendor binaries you don't need to run extracting script

how to verify the custom ROM on android studio emulator

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.

android version to build AOSP code and run Emulator

Hello All,
I am trying to build the AOSP source code (Android Oreo, R11) (aosp-arm-eng)and launch emulator using "emulator " command, but when i do so the emulator is launched but it shows blank screen and it seems that does not boot up . I am thinking that that emulator support is not proper for android oreo version.
Hence, if anyone can please suggest me android version which can be checked for android emulator check on post build aosp.
any pointers to help will be appreciated.
Thanks
RitU Raj

Questions about building a custom ROM from AOSP

Hi, I am currently building custom rom for my Lenovo a7000-a (aio_row) and I have a few questions regarding the device section of the AOSP build.
1. I have seen that to build the custom ROM for a device, I would need the following .mk files from topic "Android device configuration AOSP" in Stackoverflow.
However, from the device configuration/device-tree(?) from user rohantaneja in Github, I see that I would also need files that look like drivers for the devices based on the files on that github. May I ask how would I obtain these files?
2. Would flashing an arm64 generic build of custom AOSP into any Android device work or not? If so, why?
Seems like the amount of knowledge that I faced off with confused me a lot.
Any help is appreciated.
Thanks in advanced.

Categories

Resources