Flashing newly created Andorid AOSP Build on an Android Emulator? - Android Q&A, Help & Troubleshooting

Hi,
I am trying to make an Android Custom ROM for work purpose. I have been able to compile the AOSP Source files into a series of .img files, but I'm a little stumped on actually transferring my AOSP Build on a device. Currently, I am trying to test on an emulator within Android Studio.
Are there any useful guides out there that show clearly how to go abouts putting the image on the emulator to test it?
Thank you, any help is greatly appreciated.

Related

How to test Cyanogenmod 10 in a VM

Hi
does anyone know if it's possible to test Cyanogenmod (v.10) in a virtual environment without installing it first on my phone (sg2)? I'm really interested a ROM without touchwiz but would like to assess some features i think are missing (as i tried the android sdk emulator with JB)
thanks
Hmmm...
I'm just thinking about the same thing!
ark0n3 said:
Hi
does anyone know if it's possible to test Cyanogenmod (v.10) in a virtual environment without installing it first on my phone (sg2)? I'm really interested a ROM without touchwiz but would like to assess some features i think are missing (as i tried the android sdk emulator with JB)
thanks
Click to expand...
Click to collapse
good question mate I was also looking for this i will replay here if i get anything
Edit : A found a thread http://forum.xda-developers.com/showthread.php?t=906161 i this this will work

How to create a ROM?

Hi guys! I have an android kitkat 4.2.2 on my computer and it's in an .iso format. I was just wondering if you could teach me how to run that kitkat on my alcatel one touch t10? thanks guys
gmarlon7 said:
Hi guys! I have an android kitkat 4.2.2 on my computer and it's in an .iso format. I was just wondering if you could teach me how to run that kitkat on my alcatel one touch t10? thanks guys
Click to expand...
Click to collapse
iso format for android...? I don't believe there are any iso formats for android phones or tablets. Maybe a version of x86 for the PC or something perhaps. Anyway, don't think there are any options for KK for it, as without source, it would be a HUGE undertaking, even for a skilled developer, to be able to get all the drivers and stuff updated without the source code from the manufacturers. I suggest to read through this thread for info on available versions of CyanogenMod that are compatible as well as tools and files to install a custom recovery or to return to stock if needed: http://forum.xda-developers.com/showthread.php?t=2016643
hey! thanks for the reply but i already did that thing above. Anyway, I just figured out that i really can't do the thing. thanks

Testing custom ROM in PC android emulator?

I want to test custom ROMs before installing them on a phone, but all i have found is this outdated guide being copy-pasted everywhere:
https://paperknots.wordpress.com/20...sdk-emulator-before-installing-to-your-phone/
Current Android SDK doesn't work like that and neither seem to do older SDK versions, making this guide useless.
Is there a way i can test custom ROMs on a PC android emulator before actually doing it on a phone?
Bump~
hi, any new for your question, i want test my rom too.

Smartbook S10 building AOSP from scratch

Hello guys,
I hope I'm in the right forum.
I've studied several days, if it is possible to update my Smartbook S10 (smartbook.de/produktfeatures/72/technische-daten is the link from the manufacturer) from Android 4.4.2 to at least 7 (best case to the newest 9, that I'm trying atm).
It has got only 8GB of space, so I wanted to ask, if it's even possible with that low space and processor (RK3026)? Couldn't find clear information about this.
I've come that far, that I've created a new AOSP device tree and inserted all data I know/could find. But it fails now at the kernel.
I've tried to compile the common actual kernel 4.19 with Google's Android tools and getting this error:
Code:
/home/test/Android_Kernel/build/_setup_env.sh: line 28: /home/test/Android_Kernel/build.config: No such file or directory
My build repo lays at /home/test/Android_Pie. What am I missing or doing wrong?
Thanks in advance
Greetings
Andi448 said:
Hello guys,
I hope I'm in the right forum.
I've studied several days, if it is possible to update my Smartbook S10 (smartbook.de/produktfeatures/72/technische-daten is the link from the manufacturer) from Android 4.4.2 to at least 7 (best case to the newest 9, that I'm trying atm).
It has got only 8GB of space, so I wanted to ask, if it's even possible with that low space and processor (RK3026)? Couldn't find clear information about this.
I've come that far, that I've created a new AOSP device tree and inserted all data I know/could find. But it fails now at the kernel.
I've tried to compile the common actual kernel 4.19 with Google's Android tools and getting this error:
Code:
/home/test/Android_Kernel/build/_setup_env.sh: line 28: /home/test/Android_Kernel/build.config: No such file or directory
My build repo lays at /home/test/Android_Pie. What am I missing or doing wrong?
Thanks in advance
Greetings
Click to expand...
Click to collapse
Hello Andi,
I've got a similar question about the device, although I'm not at all an expert as you seem to be. Just want to run it with an COS (lineage, etc). So I am looking for a COS for this device.
Did you manage to solve your problem?
Do you have any idea what COS would run on a smartbook S10?
Thanks for your answer
Hi Willi,
I'm sorry to disappoint you, but I gave up this project after a few days, because I couldn't find any further information and I'm no dev at all. This was my very first attempt to compile a new kernel for an (additionally pretty unknown) Android device. The thing, which helped me the most was watching YouTube videos from https://www.youtube.com/channel/UCnGqG_jyyXmTzdamBpKfeHA (AlaskaLinuxUser AKLU).
Maybe some more experienced users can help you here.
Greetings

Question [Custom AOSP] Installing Pixel 6

Hello all,
Im newbie in the site and also in Android AOSP.
I would like to know if is possible:
I have a AOSP X86 Emulator and I made some changes in HAL . So I desire to test in a Pixel 6 . i believe that I need to install the custom ROM.
Some Steps that I identified.
1- Convert my X86_64 AOSP Android 12 Custom ROM => ARM.
2- De-activate BootLoader .
3- Flash my Pixel 6.
Would you help me if these steps are correct?
I have no idea where to start. Any suggestion to tacke the task is well apreciated.
Thanks a lot
Convert? I'm not sure that is the right word here, though I know it can be done if you have the source code. In essence you would be compiling with ARM as the target processor instead of x64. From there your steps are essentially correct, though I would take steps to ensure you can recover from a problem prior to unlocking the bootloader and flashing the ROM.
Thanks a lot for your reply!. Sorry to bother again.
In my case I did some changes in HAL AOSP Master X86_64 and I've tested in Cuttlefish Emulator (aosp_cf_x86_64_phone-userdebug).
If I didn't misunderstand, what you suggest firstly is to compile, Im a little confused in which I have to use:
lunch:
1-armv8-eng
2-aosp_arm64-eng
3-aosp_cf_arm64_phone-userdebug
4-aosp_oriole-userdebug ->( I guess this one).
and then continue with the steps detailed above.
Many Thanks for your help!
@Palinamarne And I wouldn't be able to tell you which one to use. My days of tinkering that deeply beneath the hood of Android are long since behind me.
@Strephon Alkhalikoi No problem! I'll play around a bit and put the details here. Thank you very much for your help.
Were you able to run this custom aosp build in an emulator?

Categories

Resources