VMWare image of the source building environment - G1 Android Development

Hi all, I'm sorry if this has already been asked, i looked for it using Google and the search forum option and while i found this http://forum.xda-developers.com/showthread.php?t=396782&page=145, (using this: http://www.google.com/cse?cx=000825...ource&sa=Search&cof=FORID:0&ie=utf-8&oe=utf-8) it didnt really help me because it's not exactly what i'm looking for
I want to be able to change some bits of code on the os and see how that affects the device (for example, i'd like to change the order of options in the menus and stuff like that) just to get to know the development environment better.
however, I'm using Microsoft windows (vista x64) and cannot build it on this env (according to: http://source.android.com/download --> "To build the Android source files, you will need to use Linux or Mac OS. Building under Windows is not currently supported.").
therefore i was wondering, did anybody make a vmware image that is ready to use that contains the environment and the sources that will only need a source update and can be built immediately after for noobs like me?
I'm sure I'm not the only one running a windows machine and so i guess somebody has already made one for himself, I'm asking if you could maybe share it somehow...
Thanks
E.
Clarification: I'm not talking about the SDK building but rather the actual OS source code so that i can re-build and put on my phone
note: tried this: http://www.koushikdutta.com/2008/12/building-android-source-and-deploying.html, didn't work, but it gives an idea of what I'm looking for...

did u try running a virtualbox with linux? or maybe a macOS off a usb?

vista x64
for windows, have you tried cygwin?

I've installed it just fine in ubuntu in vmware.
I'd about 8 gb. quite hard to make an image out of it.

Related

"Help" With Creating Rom.

Hello Guys,, Im Going 2 Install Linux " Ubuntu 9.10 " And i wanted 2 know if is that ( operating system ) the 1 i need for making rom's and such.
And if so then could anyone help me with the steps on how to create a rom.
im really getting serious about this soo please help.
and i have a cdma hero "sprint"
Rooted
Recovery Img 1.5.2
Rom: [Rom-dev] (2-18-10) AOSP 2.1 | Sensors Now Work by darchstar
Thankx In Advance
lonnie23 said:
Hello Guys,, Im Going 2 Install Linux " Ubuntu 9.10 " And i wanted 2 know if is that ( operating system ) the 1 i need for making rom's and such.
And if so then could anyone help me with the steps on how to create a rom.
im really getting serious about this soo please help.
and i have a cdma hero "sprint"
Rooted
Recovery Img 1.5.2
Rom: [Rom-dev] (2-18-10) AOSP 2.1 | Sensors Now Work by darchstar
Thankx In Advance
Click to expand...
Click to collapse
You should be okay using Ubuntu 9.10. I currently have that installed, but haven't done anything yet with it. Although, I actually plan on switching to Fedora 12 -- since I'm more familiar with the Red Hat distro's.
If you need help getting started, you should look into these tutorials below, provided and documented by Gbhil from Android Central.
How to create custom Icons:
http://forum.androidcentral.com/htc-hero-roms-hacks/6070-changing-hero-application-icons.html
ROM FAQ/How to Build ROMS:
http://forum.androidcentral.com/hacking/6037-general-rom-faq.html
How to setup Ubuntu for the Android SDK:
http://forum.androidcentral.com/hac...ramming-envrionment-using-ubuntu-windows.html
OR here:
http://www.futuredesktop.org/developing_android_apps_on_ubuntu.html
Gbhil does an excellent job explaining how things work and how to begin your journey with Android development, hope that helps.
I've used the links above to begin making a custom icon pack, and hopefully soon enough another AOSP ROM.
I use Ubuntu 9.10 for everything I do. Make sure you're root user in that by doing these commands in the terminal:
Code:
sudo passwd
*your root password here*
*repeat root password*
Then, log out of that user, and click "other" to log in. Type root for username, and the password you set with sudo passwd for password. Note, Ubuntu 9.10 is also referred to as Ubuntu Karmic or Karmic Koala, so those are the same as 9.10.
Thankx But could you help with more?
When i try to install the Sun's Java Runtime Engine (JRE) and Java Development Kit (JDK) thier both .bin files + i dont understand on how to make them work.
could you help?
lonnie23 said:
Thankx But could you help with more?
When i try to install the Sun's Java Runtime Engine (JRE) and Java Development Kit (JDK) thier both .bin files + i dont understand on how to make them work.
could you help?
Click to expand...
Click to collapse
I don't know about that, I just use the java built into ubuntu.
How did you set up yours then?
Doo you make roms and stuff??
Because i have a dual boot with my win7 and ubuntu
lonnie23 said:
How did you set up yours then?
Doo you make roms and stuff??
Because i have a dual boot with my win7 and ubuntu
Click to expand...
Click to collapse
All the links I gave you will give you the information to get started. Again, follow this think, it even says what its going to help you install:
We are now going to install these programs
• The Ubuntu Linux Desktop.
• Sun's Java Runtime (JRE) and Development Kit (JDK).
Java Runtime is only needed to run the Eclipse IDE. Android has its own optimized Java VM (Dalvik).
• The Eclipse IDE.
• The Android Software Developer's Kit (SDK).
• The Android Developer Tool (ADT), a special Eclipse plugin.
http://www.futuredesktop.org/developing_android_apps_on_ubuntu.html
If you want to test if Java works -- you can run the commands java --version, which java and echo $JAVA_HOME (which java and echo $JAVA_HOME should correctly state where you chose to set your environment variables when you run them). Otherwise you could open a text editor (I use VIM) and write the universal "hello world" in Java and test Java that way to make sure the program runs.
Lastly, everyone here is more than willing to help you -- but try to search for the information via Google, here on XDA, or other Android forums yourself first -- you'd be surprised that they probably already have your answer.
HeroMeng said:
I use Ubuntu 9.10 for everything I do.
Click to expand...
Click to collapse
I don't think Ubuntu 9.10 is bad -- but I've always worked with Red Hat/CentOS and at work we use RHEL servers, so Fedora is an easy switch for me.

Android Kitchen thread CLOSED

I just went to the android kitchen thread to see if there have been any updates to accommodate java 7 and the dev has closed the thread
Any one know how to get the kitchen to recognize java 7, it still is looking for java in the jre6 folder and that isn't there anymore. I have even done a fresh install of cygwin after installing java 7 and it still didn't automatically recognize the new version.
Hopefully dsixda doesn't take too long a break but I am sure it is well deserved, it is a priceless tool.
You can have more than one version of java installed on your system you know. Java 7 isn't going to just magically improve anything for you really unless you're a developer.
True but didn't know if it was an fairly easy change to a script or something to get it to check/recognize the new location. Before it would let me get to the "building a rom from working folder" portion before it would give me a message about java, now it won't even start the kitchen saying it can't find java version.
I wouldn't consider myself a dev by any means but I build roms for my own use and to just try different things out to see how things work/change things, basically to learn what does what.
Between this issue and fact that I can't get pc to recognize my phone as a storage device anymore...I am lost.
Symlink java7 to the old location for java6.
adrynalyne said:
Symlink java7 to the old location for java6.
Click to expand...
Click to collapse
Just to add to what adrynalyne said (since it's the easiest way), that would be using the "ln" command on linux/unix/cygwin or mklink on windows.
Thanks for idea, tried mklink but in process realized I had x86 version of java6 and x64 of java7. So I tried just installing x86 version of java7 and opened up kitchen and was able to create output .zip from my current working folder
Now if I could just get pc to recognize phone properly... then maybe I think I will avoid updates of software for awhile.

[Q] Gb Source Code/ Kernel developers who can work?

Has the source code for the att gingerbread kernel been released yet? And who can maybe work on compiling the new kernel? Ive contacted a few people but no answer... Does anyone have an old computer with ubuntu on it so maybe they can learn how to do it?
a not to my knowledge. Samsung is sometimes late with source code. they were doing good foe a while though.
check opensource.samsung.com
also Ubuntu is such an easy install why would someone give you a PC to get it? its easier than windows. infact you can install it in windows as if it was an application(wubi installer) but if you don't know terminal I suggest a vertual machine. ( sun/oracle virtual box is best IMHO) stumtzy has a ready made virtual environment based on debian somewhere in the i9000 section. plus it'll keep your system cleaner. it doesn't have a GUI but you can apt-get fluxbox or xfce or gnome or whatever.

[q] request linux support

Android being linux based i have to look out for windows for tweaking the phone.
For example
1. Android language project is windows based
2.real apk leecher also windows based
3. Root with bin4ry also windows based
4. Sp tools also WINDOWS based .
Please make Linux based programs in Gui so that we don't have to switch to windows for a few programs for operating on android which is a Linux kernel.
I find it very tedious.
Please make it asap so that we can keep with Ubuntu only.
Cwm recovery also we should be able to flash it from Ubuntu.
Using wine doesnt perfectly work on usb interface and does not give required results.
Please do this urgently.
Make it all in Linux why depending on windows whats the point.
While it would be great to get more Linux support you have to realize most people have Windows and are not going to install Linux just to take advantage of these tools. Also most developers are most familiar with Windows and even if they do have the Linux knowledge they probably don't have the time to develop and test on two platforms.
Sent from my SCH-I605 using xda premium
xander555 said:
Android being linux based i have to look out for windows for tweaking the phone.
For example
1. Android language project is windows based
2.real apk leecher also windows based
3. Root with bin4ry also windows based
4. Sp tools also WINDOWS based .
Please make Linux based programs in Gui so that we don't have to switch to windows for a few programs for operating on android which is a Linux kernel.
I find it very tedious.
Please make it asap so that we can keep with Ubuntu only.
Cwm recovery also we should be able to flash it from Ubuntu.
Using wine doesnt perfectly work on usb interface and does not give required results.
Please do this urgently.
Make it all in Linux why depending on windows whats the point.
Click to expand...
Click to collapse
By all means let us know when you have done it.

Ubuntu Touch Development Enviroment

Hey guys,
i didn't know where to ask exactly so excuse please if i'm in the wrong section.
I have set a new goal for me. To port Ubuntu touch to my Z3 Tablet. I have already build some cyanogenmod rom's in the past and did an Ubuntu touch build just for fun. But now i want to get a port for my Z3.
But i have some kind of issues with my development environment. The only machine with linux at the moment i can use is my server which runs Debian Jessie. So not really good for developing Ubuntu touch. So i thought about an VM, which can access a network drive. Installed Ubuntu 15.10 onto my Desktop VM and mapped a samba share via autofs onto it, but the problem is that i can't sync the repo. I always get permission denied. I think it has something to do with the repo tool and the network drive but i can't figure it out.
Can someone help me ?
Greetings
Moritz

Categories

Resources