Question android emulator? - Sony Xperia 10 III

I am trying to run an android system.img file on any android emulator but am unable to do it. The system.img was built from Sony's aosp guide and the android version is aosp 12L. Please let me know if there is a way we can use this built image on an emulator to see if the build works. I have tried to do the same with android studio emulator and anbox but it is not working.

Related

[Q] What is the diffence between a SDK port and a rom?

Could someone explain the difference between SDK ports and normal roms? I had never heard of a SDK port till a few days ago when ICS came out.
Thanks.
The Android SDK is the Software Development Kit.
Its what most people install to get adb drivers etc. It isnt really for that, its for software development (duh).
The development kit has an emulator so you can run your applications in an android like environment on a PC. So if you develop a gingerbread application, from the sdk you choose to test it in the gingerbread emulator on your pc. Obviously the SDK has been updated for the ICS ROM, so now people can test their apps on ICS.
Because it is an emulator it is generic (i.e not for any device) which means it has no hardware drivers, device specific... anything. Also it is optimised for the PC so it wont necessarily have touch screen. It often has a mouse pointer as most pcs are not touch screen
These early sdk ports usually wont work entirely on a device. When the source code comes out, it will be better.##
AOSP Roms are built from this source. The code is downloaded to an individuals Linux PC and compiled using specific build tools. Any additions to a rom will be done by adding the code to the (literally) thousands of source code files and compiling. This is a true rom.
We also have sense roms which are not compiled from source code. These are created from RUU's and usually extracted in the dsixda kitchen. As to how they port these to other devices, I cannot answer.

Aircrack

For those of you who managed to install a linux distribution on android, is it possible to use aircrack?
I want to install linux on android for aicrack but the process is somewhat complicated so I would like to know if it's working at all?

openjdk / java in linuxonandroid using ubuntu 12.04

Hi!
I tried installing "complete linux installer" from Android Play Store on my galaxy Nexus, was successful in running linux on it. I downloaded the pre-built images from here.
I installed openjdk-7-jre (also tried openjdk-6-jre), but couldn't get it to work. even the policy editor is not working. But typing
Code:
java -version
gives me the java version. Running a java application wouldn't do anything.
oh yeah, I checked /var/cache/apt/archives, and here is the openjdk it installed:
openjdk-7-jre_7-u3-2.1.1-pre1-1ubuntu2_arml.deb
Click to expand...
Click to collapse
Has anybody made java to work on their nexus (running on linux of course)? on which linux distro? (though I prefer ubuntu)

[Q] Android 4.4.2 Clock app source code to modify in Android Studio?

I'm looking for the Android 4.4.2 Clock app source code to modify in Android Studio.
Is that possible to find?
I don't need to replace the clock app or to change the whole Android 4.4.2 OS. But I would like to use the built in Clock application (source code) to make another application with just a few modifications.
I saw a clock application on the Google Play store that said it was the stock clock with modifications. That's where I got the idea that finding the Google source code for its Clock application might be possible. Ideally it would be a project file ready to use in Android Studio.
Thanks.
Is this it?
https://android.googlesource.com/platform/packages/apps/DeskClock/+/eclair-passion-release
You can download whole android source tree including alarm app from here: http://source.android.com/source/downloading.html
VoiceScripter said:
I'm looking for the Android 4.4.2 Clock app source code to modify in Android Studio.
Is that possible to find?
I don't need to replace the clock app or to change the whole Android 4.4.2 OS. But I would like to use the built in Clock application (source code) to make another application with just a few modifications.
I saw a clock application on the Google Play store that said it was the stock clock with modifications. That's where I got the idea that finding the Google source code for its Clock application might be possible. Ideally it would be a project file ready to use in Android Studio.
Thanks.
Is this it?
https://android.googlesource.com/platform/packages/apps/DeskClock/+/eclair-passion-release
Click to expand...
Click to collapse
Thank you. Will I be able to run any of that in Android Studio (0.8.9)?
I am able to run the Android Studio included samples, but no luck running samples that were not included with Android Studio. Like the samples on this page...
https://developer.android.com/samples/index.html
Currently, I'm going to try the method on this page...
https://github.com/gdg-hudson-valley/android-samples
Thanks.
Run? you can compile any source code in Android Studio, whether it will run or not depends on which SDK you select and what target platform you use assuming you don't induce errors with mods.
VoiceScripter said:
Thank you. Will I be able to run any of that in Android Studio (0.8.9)?
I am able to run the Android Studio included samples, but no luck running samples that were not included with Android Studio. Like the samples on this page...
https://developer.android.com/samples/index.html
Currently, I'm going to try the method on this page...
https://github.com/gdg-hudson-valley/android-samples
Thanks.
Click to expand...
Click to collapse
When I say "Run", I'm talking about the little arrow in the Android Studio toolbar that says "Run".
I am able to run samples in Android Studio. The built-in applications were easy. The Android samples from this page were problematic.
http://developer.android.com/samples/index.html
Now I can run those Android samples too, thanks to this useful page.
https://github.com/gdg-hudson-valley/android-samples
Everything functions properly with the samples in Windows, the applications run on my USB-connected Android tablet.
So I looked at the webpage you provided.
http://source.android.com/source/downloading.html
There, it says that Linux (or a virtual machine in Windows) is necessary. So I installed Linux and then Java and then Android Studio. I didn't download the whole source code like on that page, but I imported (previously downloaded through Git in Windows) the Deskclock source code and ran it. Instead of 63 errors, it produced 67 errors.
I have installed every single SDK, in fact every single checkbox in the SDK Manager. Everything was there. Seems to me like its a problem with IDE configuration files. But I know it can be done. That's how ROM makers produce their ROMs.
I got the Deskclock application from this Android source repository page.
https://android.googlesource.com/?format=HTML
Must I use Linux as described on that page you provided to download the source described there in order to make any of the stock applications run in Android Studio? If so, I will get back into Linux and try that way.
Thanks.
No you don;t need Linux, you can download the source code in pieces rather than use GTHUB.
JUst Google "android clock example" you will find dozens of example apps and source code
VoiceScripter said:
When I say "Run", I'm talking about the little arrow in the Android Studio toolbar that says "Run".
I am able to run samples in Android Studio. The built-in applications were easy. The Android samples from this page were problematic.
http://developer.android.com/samples/index.html
Now I can run those Android samples too, thanks to this useful page.
https://github.com/gdg-hudson-valley/android-samples
Everything functions properly with the samples in Windows, the applications run on my USB-connected Android tablet.
So I looked at the webpage you provided.
http://source.android.com/source/downloading.html
There, it says that Linux (or a virtual machine in Windows) is necessary. So I installed Linux and then Java and then Android Studio. I didn't download the whole source code like on that page, but I imported (previously downloaded through Git in Windows) the Deskclock source code and ran it. Instead of 63 errors, it produced 67 errors.
I have installed every single SDK, in fact every single checkbox in the SDK Manager. Everything was there. Seems to me like its a problem with IDE configuration files. But I know it can be done. That's how ROM makers produce their ROMs.
I got the Deskclock application from this Android source repository page.
https://android.googlesource.com/?format=HTML
Must I use Linux as described on that page you provided to download the source described there in order to make any of the stock applications run in Android Studio? If so, I will get back into Linux and try that way.
Thanks.
Click to expand...
Click to collapse
I appreciate your attempts to help, but you should know by now that I'm putting much effort into doing this. It is apparently not a trivial thing.
When one "Googles" the term "android clock example" it produces a grand total of five results that are mostly off-topic.

Android Emulator source code

I am working on a research project for University where I need to build the Android Emulator and make some small changes, I saw some SO posts saying platform/external/qemu repo is where the emulator is located.
However many of the branches are out of date and the DEVELOPMENT.TXT document is also out of date. Mainly the development instructions say the studio-* branches are what Android Studio should build from but they haven't been updated in years and the Android Studio manifest doesn't point to this repo.
How old are the files?
Perhaps you can try with ADT if they are too old

Categories

Resources