http://sourceforge.net/p/necessitas/home/
Welcome on the home of the android lighthouse project.
What is Necessitas ?
Necessitas is the codename for the port of Qt on the Android Operating System and of the user-friendly Qt Creator Integration with Android,
This project provides you Qt for the Android Operating System, and a first-class citizen IDE letting you manage, develop, deploy, run & debug your Qt Applications on Android Devices.
How does the AOSP and the Android SDK relate?
If I repo the AOSP do I by default now have the SDK?
Do I have to download it separately?
Or can I/Should I compile it from the AOSP?
I ask because after following the instructions up until: source.android.com/source/building.html. I successfully compiled full-eng and ran the emulator and everything works just fine. It also seems like adb is installed which from what I understand is a part of the SDK. I can't seem to find an answer to this.
So I am going to do my best at answering my own questions and posting for the benefit of anyone else who may be confused; if any of the statements I make are wrong feel free to correct me. This is just from my experience. There seems to be little information regarding how the two relate excepting the build/core/build-system.html, and sdk/docs/howto_build_SDK.txt included with AOSP and airtower.wordpress.com/2010/07/25/building-the-android-sdk/ and of course, trial and error.
NB: jindroid.com/2009/06/08/howto-build-sdk-from-android-source-code/ points to documentation that has since moved to the above location it seems. At least it wasn't there for me as of the most recent repo sync against master.
rpowell8 said:
How does the AOSP and the Android SDK relate?
Click to expand...
Click to collapse
The android SDK is a subset of the ADT (Android Developer Toolkit). The SDK as you download it today is basically just a few binarys for getting the actual content SDK.
I think the best way to describe the SDK is that it is divided into to parts tools, and libraries. The tools are for managing the sdk (tools/android) and misc tools to build apk's, align them, emulate an api etc, and then there are the tools in platform-tools which allow you to perform operations on your device (adb fastboot etc). The "libraries" are a set of API's , system images (file for running an android virtual device (emulator)), and documentation for each release of Android. These seem to reside under platform/
You can either download the above components from the command line, or from eclipse. Eclipse is actually included in the ADT as well with the plugin for android apps preloaded. If you don't have the plugin, you can get it vie Help/Install New Software. This launches what seems to be a front end for the android SDK Manager which allows you to graphically choose which platforms you want to support and emulate.
Now, how does the SDK (the tools and libraries) relate to the AOSP as you repo init/sync from the master repository? It seems you can't build apps from the code downloaded from the AOSP git repo (I'm not sure about this but doesn't seem like it). Instead, what you do, is you use the AOSP to build the SDK (NB: when you use the SDK Manager as mentioned above, you are getting prebuild SDKs, if you want to build the SDK yourself you use the AOSP code) as described in the above mentioned howto. Once the build for the Android SDK is complete it is located in out/host/linux-x86/sdk or similar directory. You can actually point the eclipse plugin to this directory as the location for the SDK...but I recommend using the .zip file that is in that directory and putting it somewhere other than the out directory. Reason being if you decide to do a lunch full-eng after you did the lunch sdk-eng, and then proceed to make, it will force a make cleaninstall and that will basically do a rm -rf on the out directory, deleting all of your SDK and any other platforms you downloaded through the sdk manager.
After you've built the sdk, you now have the necessary tools and API's to build for the platform you repo'd. A word of warning is that it seems if you repo the master branch, it is labeled as "AOSP" for the version indicating to Eclipse that the minimum platform required is the one you just built and so if you want to run it on your device you'll need the full platform loaded onto it or it will show you are running a version earlier than AOSP (also called 'Preview'). Example, as of this writing the version of AOSP is 4.2.1 and the API level is 17 (An API level is just a set of functions/datastructures available for a particular release of Android OS, so for Level 17 it corresponds to 4.2, You can use a higher API than your target (accept in the case of AOSP Preview) and still make sure you are compatible, but you can't use a lower API and expect to have functions/datastructures that were only implemented in later versions of Android). If you have downloaded the Android SDK for API level 17 it will be 4.2, not 4.2.1. You will not be able to run your app that you built using the API level 17 "Preview" based on 4.2.1...on your 4.2 emulator (or device for that matter). You will need to use the emulator based on the AOSP Preview build.
So in short the AOSP contains the sources to build the SDK, but you can also get prebuilt SDK's if you don't want to go through and build each API level.
rpowell8 said:
If I repo the AOSP do I by default now have the SDK?
Click to expand...
Click to collapse
No, you have the components to /build/ the SDK
rpowell8 said:
Do I have to download it separately?
Click to expand...
Click to collapse
No, you can either build it from the AOSP, or you can download it separately.
rpowell8 said:
Or can I/Should I compile it from the AOSP?
Click to expand...
Click to collapse
Probably should if you're building against the latest android development, but I don't see the need if you are building apps for already released API levels.
I have a few questions, they are as follows:
1) Is virtualbox (or any vm) suitable for rom development?
2) what is a suitable fixed drive size for installing Ubuntu? Or should i use dynamically allocated drive?
3) which version of ubuntu is recommended? (The current 16.04.1 release is laggy) (I'm on a 4gb ram machine with one core)
4) what tools/programs are necessary for rom porting from source code (git)? And what should i install for said task?
Hello Friends~!
I decided to write out a step by step guide to install WSL - Windows Subsystem for Linux, with an Ubuntu Distro, and integrated GUI using Xserver. As well as how to update WSL to WSL2.
Spoiler: GUIDE
Begin by Enabling the Virtual Machine Platform Windows Feature and WSL. (simply search feature and it will popup)
Spoiler: PIC
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Open Powershell as Admin, then paste:
Code:
wsl --install -d Ubuntu
Spoiler: PIC
Set a Username and Password when prompted, then paste:
Code:
sudo apt update
Close Ubuntu
Download and install the WSL Kernel update from Microsoft
https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
To Upgrade our WSL to WSL 2, Open Powershell as Admin and paste:
Code:
wsl --set-version Ubuntu 2
wsl --update
wsl --shutdown
Spoiler: PIC
Download X Server
VcXsrv Windows X Server
Download VcXsrv Windows X Server for free. Windows X-server based on the xorg git sources (like xming or cygwin's xwin), but compiled with Visual C++ 2012 Express Edition. Source code can also be compiled with VS2008, VS2008 Express Edition and VS2010 Express Edition, although current project...
sourceforge.net
Change X Server's desktop shortcut Target property to:
"C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl -dpi auto
Spoiler: PIC
Run the shortcut
Open Powershell as Admin and paste:
Code:
netstat -abno|findstr 6000
Spoiler: PIC
Open Ubuntu and Paste:
Code:
sudo apt-get install terminator -y
Then Paste:
Code:
DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0 terminator &
This will open the Terminator app allowing us to have GUI for our Apps we install.
This next step sets up a system and script that will allow us to easily run Terminator, IE the GUI for Ubuntu.
Open Run, paste:
Code:
shell:startup
Paste the shortcut in this folder
Spoiler: PIC
Create a new text document on your desktop, name it what you like. Mine will be terminator.
Open the text document and add this code:
Code:
args = "-c" & " -l " & """DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0 terminator"""
WScript.CreateObject("Shell.Application").ShellExecute "bash", args, "", "open", 0
Save and change the filetype to .vbs
I used the command sudo apt install nautilus, then sudo nautilus to run the file explorer app, it loaded a window successfully~!
If you learn better seeing it done first, here is a video of the steps
Spoiler: REFS
Using WSL 2 with X-Server — Linux on Windows
What is WSL 2
medium.com
Run Linux GUI apps with WSL
Learn how WSL support running Linux GUI apps.
docs.microsoft.com
Install Ubuntu on WSL2 and get started with graphical applications | Ubuntu
Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things.
ubuntu.com
Spoiler: PREMADE UBUNTU VIRTUAL MACHINE
I made a vmware machine with ubuntu preinstalled, jdk, python and other needed components to run certain Android Kitchens, as I found WSL to be Lacking for what I need..
VMWARE 17
UBUNTU PREMADE VMWARE MACHINE:
Ubuntu.zip (3.5G)
PASSWORD IS 0110
How to install:
Extract the folder and save it anywhere you like (the default vm area for vmware is in Documents\VirtualMachines)
In vmware, select open a new machine, navigate to where you saved your ubuntu folder and open the .vmx file
If you want a premade Virtual Box Ubuntu Machine
SUPERR'S KITCHEN
Super Guide write up! Kudos
I've made a short video guide for any other nerds out there looking for a working method to unpack Android 11 system images. It involves the use of the PREMADE UBUNTU VM, located in the OP, and SuperR's Kitchen. (Or make your own linux machine~!)
I have updated the prebuilt Ubuntu machine listed in the OP. I will leave the original link in the OP as the file size is smaller, the only sacrifice with that edition is your time in updating.
If you value your time and would like a machine with jdk, python, adb and fastboot preinstalled and working, here is the updated copy:
Ubuntu.zip
drive.google.com
Ubuntu.zip (5.4G)
My Nvidia Shield posted to the VM immediately after running adb connect 192.168.0.5:5555 no fastboot drivers needed unlike windows. Adb pull commands work better in linux as well, as the windows file system is a little wonky and it wants to treat some items that are files on linux as folders in windows, which is obviously bad..
The linux machine was able to run 10-12 pull requests at once without bogging down the adb shell to the shield, allowing me to research and explore while pulling.... where as 2 pull requests at once in windows will cause a noticeable lag within the adb shell
To Use:
And you are all set~!
0110 = PASSWORD
Hello I wanted to share something I found too funny and made a mirror of it. If you haven't seen it already, deep on the interwebz lies the most Spooky of Spooky Linux distro...
That of, Miss Hannah Montana Herself~!
Here is a mirror of this silly piece of history, linking it here cause idk what else to do with it and I want to remember where I put it XD
hannahmontanalinux.iso
drive.google.com
Original links
hannahmontana.sourceforge.net
Hannah Montana Linux - ArchiveOS
Web site: hannahmontana.sourceforge.net/ Origin: Category: Desktop Desktop environment: KDE Architecture: x86 Based on: Ubuntu Wikipedia: Media: Live CD The last version | Released: 2 | June 30, 2009 Hannah Montana Linux - a live Linux distribution based on Kubuntu with a Hannah Montana...
archiveos.org
Was able to run it in VMWARE without any troubles. Just too funny I can't even
This is a work in progress for another thread I am going to eventually create. This is in regards to known android x86_64 working images in vmware, as well as forks for that OS and Forks of Chrome OS. None of these are perfect but are still awesome in their own ways, and their nuances will be explained at a later date in the thread I will create
Spoiler: android box premades and knowledge backup
DOWNLOADS
ANBOX BUILT ON UBUNTU: Is super difficult to install this year idk why. I installed it last year no problem. Will be relooked into later
ANDROID X86_64:
Android9.zip
drive.google.com
BLISS OS:
BlissOS.zip
drive.google.com
CHROME OS:
ChromeOS.zip
drive.google.com
FLINT OS:
FlintOS.zip
drive.google.com
FYDE OS:
FydeOS.zip
drive.google.com
PRIME OS:
PrimeOS-Classic.zip
drive.google.com
REFERENCES FOR KNOWLEDGE
ANBOX BUILT ON UBUNTU:
Anbox - Android in a box
anbox/README.md at master · anbox/anbox
Anbox is a container-based approach to boot a full Android system on a regular GNU/Linux system - anbox/README.md at master · anbox/anbox
github.com
ANDROID OS:
Android-x86
Android-x86: Free software download for windows, linux.
www.fosshub.com
BLISS OS:
Bliss OS For PC
Open Source OS for PC's, based on AOSP
blissos.org
FLINT OS:
Flint OS - ArchiveOS
Web site: flintos.io Origin: United Kingdom Category: Desktop Desktop environment: Chromium Architecture: ARM, x86_64 Based on: Chromium OS Wikipedia: Media: Live IMG The last version | Released: 1.3 | September 30, 2017 Zobacz po polsku: Flint OS Flint OS - a fast, simple and productive...
archiveos.org
FYDE OS:
FydeOS - Your lightning-fast, rock-solid and always-ready OS
FydeOS offers a choice for regular PCs to behave like Chromebooks with alternative supporting services, on-premise or in the cloud, with or without Google. More choices, greater possibilities.
fydeos.io
GOOGLE CHROME OS -CLOUDREADY:
How to Install Chrome OS Flex on VMware [Guide]
Want to try out the brand new Chrome OS Flex on your PC? Here is a step by step guide on how to install it onto a Virtual Machine.
www.ytechb.com
PRIME OS:
Download | PrimeOS
Download the PrimeOS ISO image or exe installer for Windows from here and install/live-boot on your PC. Choose the ISO according to your PC hardware age.
www.primeos.in
PrimeOS Virtual Machine Images for VMware and VirtualBox
www.osboxes.org
HOW TO INSTALL CHROME OS TO USB:
Chromebook Recovery Utility
Create recovery media for your Chromebook.
chrome.google.com
How to Download and Install Chrome OS
The Chrome operating system (OS) is reserved only for Chromebook users, but now, you can install Chromium OS on other devices because it's the open-source version of Chrome OS. It's a little different than Chrome OS but
www.alphr.com
Quick Start Guide
HOW TO FIX YOUR USB IF THE RECOVERY TOOL BREAKS IT INTO 13 SEPARATE PARTITIONS...
Using Diskpart to re-partition a USB stick
Some USB keys have been found to have various partition table set-ups that the USB software will not work with. You can use Windows Diskpart to re-format a USB key and re-partition it. Open a Command Window (cmd) Enter disk...
tabernusupport.freshdesk.com
HOW TO INSTALL ANDROID IN VMWARE:
How to Install Android on VMware: A Step-by-Step Guide
The advantages of using an Android VMware VM include the possibility of creating snapshots and cloning a VM during the development or testing process.
www.nakivo.com
HOW TO BOOT OFF OF USB IN VMWARE:
HOW TO EDIT SCREEN RESOLUTION:
How to Change the Screen Resolution + DPI on Android x86
Everybody knows that lowering your screen resolution reduces the strain on your graphic card and stuff on your screen becomes larger, but there’s no obvious way to change it in Android x86, is ther…
helpahoy.tech.blog
VMWARE TOOLS DIRECT DOWNLOAD LINK:
https://customerconnect.vmware.com/downloads/details?downloadGroup=VMTOOLS10310&productId=742
vmtools.zip
drive.google.com
I found that the vmware workstation comes with vmware tools isos for all the distros, they are just not aptly named as such..
POSSIBLE VMWARE TOOLS FIX?
GitHub - vmware/open-vm-tools: Official repository of VMware open-vm-tools project
Official repository of VMware open-vm-tools project - GitHub - vmware/open-vm-tools: Official repository of VMware open-vm-tools project
github.com
https://kb.vmware.com/s/article/1018414
BUILD ANDROID FROM SOURCE
anbox/docs/build-android.md at master · anbox/anbox
Anbox is a container-based approach to boot a full Android system on a regular GNU/Linux system - anbox/docs/build-android.md at master · anbox/anbox
github.com
Source control tools | Android Open Source Project
source.android.com
I need help fixing vmware tools in the machine. I have gotten really close and can explain how if anyone is bored enough to try. I get hung up here ---THIS USES PRIMEOS
I think this may be the one to make me make a stack exchange account XD
A LINK WITH TONS OF PREBUILT BOXES TO PLAY WITH
OSBoxes - Virtual Machines for VirtualBox & VMware
Homepage of site that offers virtual machines (VDI & VMDK & VHD) for VirtualBox and VMware. Run VMs inside VirtualBox and VMware on any host.
www.osboxes.org
Here's a prebuilt Ubuntu Machine Similar to the one in the OP except it's for vbox
Spoiler: PREMADE VIRTUALBOX MACHINE
Ubuntu.zip (3.9G)
HOW TO INSTALL:
I am looking for an Android Studio Client/Server USB Sample/Example code. I have gotten a basic Java Based Android Studio App built successfully running through Android Studio and debugged by representing it on a physical Samsung Android device through a USB port. What I would like to do now is the following:
Build a small Java example code to run separately on Ubuntu that is not necessarily build on Android Studio but some other development platform that can communicate through USB to software build on the first program mentioned here.
Build an APK based on the code from the first project mentioned here and deploy it to an Android device.
Test the communication between these two programs.