Adding aosp source to Eclipse - Android

I want to include aosp source to eclipse.
I tried this guide.
http://source.android.com/source/using-eclipse.html
I had downloaded eclipse for JavaJuno sr1.
Installed the eclipse.
Copied the .classpath to source dir.
Then changed the permission.
Opened the eclipse and set workspace to source dir.
But eclipse did not show any source file in the project dir.
Is any step I missed?
Sent from my Galaxy Nexus using xda app-developers app

I don't think it makes much of a difference, but if you get the ADT bundle of the Android SDK, it already comes with Eclipse and the ADT plugin. That's what I'm using for my build environment.
The workspace for Eclipse can be anywhere, it doesn't have to be in the source directory. It's where Eclipse stores IDE settings that aren't related to the actual source files.
What's important is to set the project directory to the source directory. The project setup UI in the current version of Eclipse is set up slightly differently than what it says in the instructions though. When you create the Java project in Eclipse you need to untick "use default location", and specify your Android source directory as the location instead. Eclipse will detect that it contains the source files from which it then creates the project.

I'm talking about aosp source.
Sent from my Galaxy Nexus using xda app-developers app

Me too.

OK brother, I will try it and tell you.
Sent from my Galaxy Nexus using xda app-developers app

It was working.
Thanks bro.
Sent from my Galaxy Nexus using xda app-developers app

Related

Toolkit for a rom or open source for one?

Is there an open source available for a toolkit for a rom or an apk available for download that has lets say...
A root explorer/file manager, terminal, development, spare parts, ect all in one app? Something to save space in a rom?
Sent from my Ally using XDA App

[Q] How to create a custom ROM

What tools are needed to create a custom ROM for the Vibrant? Just looking for a few pointers on how to get started.
Coding knowledge. Android sdk etc.
Sent from my SGH-T959 using xda premium
HaloMediaz said:
Coding knowledge. Android sdk etc.
Sent from my SGH-T959 using xda premium
Click to expand...
Click to collapse
Were do I get the Android sdk and what ever else I would need?
chadhoard said:
Were do I get the Android sdk and what ever else I would need?
Click to expand...
Click to collapse
Here is SDK http://developer.android.com/sdk/index.html
But you are going to have to know how to run linux code. Try the library for that.

How To Make Cwm Recovery From Stock Recover On Windows

hi guys is there anyway to compile cwm on windows plz help me
i have cygwin installed
touseefiqbal said:
hi guys is there anyway to compile cwm on windows plz help me
i have cygwin installed
Click to expand...
Click to collapse
Unfortunately you can't compile Android or the Cyanogenmod source code that contains the Clockworkmod Recovery source code on Windows using Cygwin. Repo for example on the the critical tools for compiling from source doesn't work on Cygwin. Overall for compiling Clockworkmod Recovery from source a Unix based operating system such as Linux or OSX is needed.
Sent from my SCH-I535 using xda premium
shimp208 said:
Unfortunately you can't compile Android or the Cyanogenmod source code that contains the Clockworkmod Recovery source code on Windows using Cygwin. Repo for example on the the critical tools for compiling from source doesn't work on Cygwin. Overall for compiling Clockworkmod Recovery from source a Unix based operating system such as Linux or OSX is needed.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
but how the guy rua1 put auto port script in mtk droid tools it port cwm automatically on windoiws?
touseefiqbal said:
but how the guy rua1 put auto port script in mtk droid tools it port cwm automatically on windoiws?
Click to expand...
Click to collapse
From what I can tell his script takes a base already made CWMR for MTK processor devices and then modifies it through a series of hex edits to be compatible with that devices specific recovery partition block layout.
Sent from my SCH-I535 using xda premium
shimp208 said:
From what I can tell his script takes a base already made CWMR for MTK processor devices and then modifies it through a series of hex edits to be compatible with that devices specific recovery partition block layout.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Yes you are right bro.

Porting Paranoid Android to Hisense Sero 7 Pro

I tried porting using the standard cut and paste method from the Grouper version of PA onto Hisense stock rom but CWM touch recovery would not allow the installation of the .zip file. Anyone having any success getting PA onto this tab?
I tried something similar with a pac rom. It was from an Acer 7 inch or something like that. I used a device that said it had a tegra 3. I think it was a a700 but not sure. The result was the same would not even install.
Sent from my HTC Glacier using xda app-developers app
OK I tried doing a port of aokp with the grouper jb1 milestone 2. Basically what I did was extract the rom then unpack the kernel then modded the ram disk init.c and fstab to match some of the settings in the sero's files. Replaced the grouper kernel with the sero stock kernel. Then a repackaged of the kernel. Then I extracted randomblames vendor tree in to the grouper rom. Then I zipped it and tried to install it. I got the error 7 a couple of times the it installed. And then it froze at the hisense screen. When I tried building from source using rb device and vendor tree I kept getting a manifest error. I have followed all of the guides on how to port roms on xda and none have worked for me.
Sent from my HTC Glacier using xda app-developers app
Well I found out the manifest error was in relation to a missing .mi file full_adopted.mk I think. Anyways now it is building, just did make Bacon m470 . I am using randomblames device and vendor trees from taktik and the prebuilt kernel. So it might not even boot due to the sources being for 4.4 and the aokp source is from 4.2.2. This is my first build for android. I want to learn how to build the kernel from source with tweeks to run cm based roms.
Sent from my HTC Glacier using xda app-developers app
Would really rather have PA on my sero so keep up the effort!
Its my first rom so I picked something no one else was doing, aokp. If you want Paranoid Android just use the dopa rom and update the xposed framework and download the module that lets you set dpi per app and the module for phablet or tablet modes. It kinda makes pa redundant. But if I ever get this to boot I may do a rootbox/pac/schizoid type of super rom but I would need help. I'm learning. This is a learning experience.
Sent from my HTC Glacier using xda app-developers app

4.4 Build Environment

So let's say I want to start building CM11/AOSP/AOKP etc etc from source with the Linaro toolchain. How do I do this? All I know is I need Linux--I haven't tried to build anything since my old Droid Charge, and even then I had a complete step by step guide. Here, I have to pull from repos, compile, and LOKIfy everything....I have no idea where to begin.
Bump
Sent from my SCH-I545 using XDA Premium 4 mobile app

Categories

Resources