yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] justlovejoy:
What phone are you using?

Via OG Epic 4g Cm9 & NYGiants 2012 Champions!!!!!
[Android Q&A, Help & Troubleshooting] cdesai:
A no rule to make target error generally points to a non-existent file which you want the Makefile(s) to copy

Simply add egl.cfg from a stock ROM to device/samsung/c210-common/configs.
[Android Q&A, Help & Troubleshooting] bdds13:
Thanks. I checked device/samsung/c210-common/configs/ and i already have an egl.cfg file there. Then I checked out/target/product/plus/obj/ETC/egl.cfg_intermediates/egl.cfg' and for some weird reason I don't have a directory called /etc and much less have a "egl.cfg_intermediates" file.

Is this normal? or could that be the reason why its getting messed up?

Edit: Nevermind, I'm dumb lol. I had to rename the product name, and other stuff to "c210-common" Thanks for all your help anyways!
[Android Q&A, Help & Troubleshooting] Aspire:
Getting this error

when i run

I followed the complete tutorial step by step. I'm running Ubuntu 11.10 and trying to download the code to make ICS for Fit.
[Android Q&A, Help & Troubleshooting] bdds13:
Oh man! I got another problem, I believe this time it has something to do with the gcc toolchain.

host C: emulator <= external/qemu/android/main-emulator.c

prebuilts/tools/gcc-sdk/gcc: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory

make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/android/main-emulator.o] Error 127

I went to the out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/android/ directory and found out I have no main-emulator.o

Would anybody mind uploading their "main-emulator.o" please?
[Android Q&A, Help & Troubleshooting] Salv0:
Use

repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.3_r1
[Android Q&A, Help & Troubleshooting] lanternslight456:
when i try to build the crespo build I get an error about not having the make file for rom-manager. How do i get this file?
[Android Q&A, Help & Troubleshooting] mDroidd:
Are you building ICS or CM9?

Greets!
[Android Q&A, Help & Troubleshooting] lanternslight456:
CM9

this has been a message from the dead pool.
[Android Q&A, Help & Troubleshooting] dmeadows013:
Alright so if I have a tree that builds CM9 will it build AOSP ICS?
[Android Q&A, Help & Troubleshooting] cdesai:
Nope, for building aosp ics you need to get branch android_4.0.3_r1 from android.googlesource.com

@lanternslight456, in your source tree, type

vendor/cm/get-prebuilts
[Android Q&A, Help & Troubleshooting] justlovejoy:
Lmao that it needed to be said Even though I've had my share of the same, I guess. My ics didn't go right for flashing to phone but I learned a lot building it. My first flashable was cm9 though. I still refer to this guide a lot like over and over so much its crazy, lmfao :eek::banghead::D:sly: But, I'm learning!?!!???!!!! Lml. Yeah um... the post#2/2 that's a common action that I always forget too, lmao.

@OP u rule! 8)

Via New O.G. Epic 4g Touch, Cm9 & NYGiants 2012 Champions!!!!!
[Android Q&A, Help & Troubleshooting] Aspire:
Still the same error.
[Android Q&A, Help & Troubleshooting] theboo7:
Alright so on a fresh install of Ubuntu 11.10, I followed this guide step by step up until the "repo sync"

It'll run for about 30 minutes or so until I get this error. Any ideas?

http://pastebin.com/ZF70XMmm
[Android Q&A, Help & Troubleshooting] cdesai:
DownloadError: HTTP 500 (Internal Server Error: Server got itself in trouble)

Ain't your problem, re-run repo sync, if still the same error occurs, wait for a while

On a sidenote, i'm surprised how many of you use /home/<username>/WORKING_DIRECTORY - u r supposed to name it anything u want, WORKING_DIRECTORY is just used to show where you've synced the source, as the folder name will not be the same for all
[Android Q&A, Help & Troubleshooting] theboo7:
Thanks, I tried resyncing multiple times and didn't work, but coincidentally after you said to it worked. lol
[Android Q&A, Help & Troubleshooting] stoff_1980:
has anyone report syncd with 4.0.4 then made a full-eng build and tried to run it in emulator? I just have and its taking ages to load. Wondering if anyone else done this. 4.0.3 build on emulator went quick but not this.

Stoff
[Android Q&A, Help & Troubleshooting] nitin1978:
thanks! Good info to start! Will try developing ics for my device...
[Android Q&A, Help & Troubleshooting] dmeadows013:
Lol I know but do I need to modify the tree at all for it?
[Android Q&A, Help & Troubleshooting] NJC_430:
I just managed to compile ICS using an Amazon EC2 insurance. I was real impressed with how fast it compiled. Plus, downloading the source took all of 2 seconds with their amazing bandwidth.

I highly recommend trying it out.
[Android Q&A, Help & Troubleshooting] tman7510:
I'm trying to compile using debian instead of ubuntu and there are no packages named E: Unable to locate package lib32ncurses5-dev

E: Unable to locate package ia32-libs

E: Unable to locate package lib32readline5-dev

E: Unable to locate package lib32z-dev

not that it makes a difference when syncing repo I am getting same error as you when running repo init -u git://github.com/AOKP/platform_manifest.git -b master

I get remote: Compressing objects: 100% (463/463), done.

remote: Total 918 (delta 408), reused 831 (delta 327)

Receiving objects: 100% (918/918), 23.35 MiB | 695 KiB/s, done.

Resolving deltas: 100% (408/408), done.

From http://github.com/AOKP/android_device_lge_star-common

* [new branch] gb-release-7.2 -> gh/gb-release-7.2

* [new branch] gingerbread -> gh/gingerbread

* [new branch] gingerbread-release -> gh/gingerbread-release

* [new branch] ics -> gh/ics

* [new tag] cm-7.1.0 -> cm-7.1.0

remote: Total 425 (delta 215), reused 392 (delta 184)

Receiving objects: 100% (425/425), 103.85 MiB | 1.23 MiB/s, done.

Resolving deltas: 100% (215/215), done.

From http://github.com/AOKP/android_device_lge_p999

* [new branch] gb-release-7.2 -> gh/gb-release-7.2

* [new branch] gingerbread -> gh/gingerbread

* [new branch] gingerbread-release -> gh/gingerbread-release

* [new branch] ics -> gh/ics

* [new tag] cm-7.1.0 -> cm-7.1.0

Fetching projects: 9% (27/297)

error: Exited sync due to fetch errors
[Android Q&A, Help & Troubleshooting] justlovejoy:
Any Clues? any build i try to create if its successful this is what happens. Not the first though, its like i have to reinstall ubuntu after every build? ive done make clean and clobber... back to this...
[Android Q&A, Help & Troubleshooting] Ron G:
@dastin1015 thanks for your ics guide. your guide really helped me to start aosp ics for optimus me thanks
[Android Q&A, Help & Troubleshooting] Aspire:
Need some help with

Fatal branch stable had not been signed...
[Android Q&A, Help & Troubleshooting] justlovejoy:
Dude if ur going to follow a guide for Ubuntu try using Ubuntu? Idk. If u aren't skilled to use another distro then Google setting up the environment for what u like.

Via OG Epic 4g Cm9 & NYGiants 2012 Champions!!!!!
[Android Q&A, Help & Troubleshooting] Aspire:
You're using 32bit debian instead of 64bit
[Android Q&A, Help & Troubleshooting] justlovejoy:
Thought both needed?

Via OG Epic 4g Cm9 & NYGiants 2012 Champions!!!!!
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
Amazing resource. Well put together. Going to be very helpful when I get the source in a few days.. I have the slowest connection ever.

Will repo work if it is in multiple sessions because my connection dies after a few hours.

Sent from my GT-S5360 using something
[Android Q&A, Help & Troubleshooting] justlovejoy:
ifdef INSTALLED_RAMDISK_TARGET

/bin/bash: ifdef: command not found

Any Clues ?

---------- Post added at 12:46 PM ---------- Previous post was at 12:45 PM ----------

yes u can do that!
[Android Q&A, Help & Troubleshooting] PipelinerArd:
I'm very new to developing and I'm in the process of setting up my kitchen and I just wondered is it a requirement to have Ubuntu or is it just recommended? I'm running a windows pc, is that alright?
[Android Q&A, Help & Troubleshooting] justlovejoy:
Your kitchen isn't an Ubuntu environment where you would follow this tutorial. If you'd like to follow this tutorial, you need to be on Ubuntu. Check the kitchen thread to find out about the specs for using kitchen. It's in here but I'm not on PC to link it easy. Go to Ubuntu website to learn more about how to install or try Ubuntu using windows. If youd wish to follow this tutorial.
[Android Q&A, Help & Troubleshooting] justlovejoy:
How do i make it so usb debugging is already enabled straight from the out folder?
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
So I am downloading the ics branch of cyanogen and was wondering a few things. First just how big is it cause I'm at 7 gig now and its still goin strong. Also currentlly my .repo directory is in my working directory(/home/android/cyanogen) I was just wondering if someone could give me a basic rundown of the directory structure or point me in the right direction.
[Android Q&A, Help & Troubleshooting] dastin1015:
CM is much more feature laden so it will take longer to download because there is much more to download. I don't know the exact size plus my CM source has much more because of added device repos and whatnot. All the folders will be inside the cyanogen folder when the repo sync is complete.

私のEVO 3Dから送信される。
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
Ya I figured that was the case because the vanilla source is supposed to be around 6. Ya it was a little confusing going thru the directories in the .repo folder. I thought I missed something(ya patience).

I have seen make used with several different variables (-1 -4 -16) what is the difference and which is better for a 32 bit system.(found it. Number of jobs done at once.)
[Android Q&A, Help & Troubleshooting] Aspire:
Is there a way to directly dowload a tarball of the source?
[Android Q&A, Help & Troubleshooting] cdesai:
Nope, as it isn't just one repository, about ~250 repositories are fetched :)
[Android Q&A, Help & Troubleshooting] lithid-cm:
I don't have the best connection either. There have been reports that if you are having connection issues you should do a repo sync and forcing one job "-j1". You can also edit your tcp throughput on the kernel level to help keep packets alive longer locally. Both settings in detail can be found at android.googlesource.com

Also, repo doesn't care. You can restart it as many times as you want. Doesn't break anything.
[Android Q&A, Help & Troubleshooting] lithid-cm:
This only applies to the gingerbread branch. Cm9 uses room service and not keep any extra devices local.
[Android Q&A, Help & Troubleshooting] dastin1015:
I know. I've added devices with a local_manifest.xml

私のEVO 3Dから送信される。
[Android Q&A, Help & Troubleshooting] Ron G:
any link to initialize cm9 local repository with your Mainfest
[Android Q&A, Help & Troubleshooting] dastin1015:
No I don't. I could post my local_manifest.xml though and you can edit it so that it pulls your device.

私のEVO 3Dから送信される。
[Android Q&A, Help & Troubleshooting] Ron G:
ok :)
[Android Q&A, Help & Troubleshooting] lithid-cm:
On cm9 just type:

python build/tools/roomservice.py crespo4g

As an example. That builds the local manifest and adds any dependency devices.
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
So ya the repo sync -j1 worked well seems like more things are getting completed. 8.7 gig (17,115 objects) and climbing just incase anyone was wondering. I do still have 100 gigs left for builds so I should be ok (I think).

Also can anyone direct me to info on how to modify a gingerbread kernel to run cm9. I know I read it somewhere and bookmarked it but I can't remember which device lol. I do have the manufacturers gb source.
[Android Q&A, Help & Troubleshooting] cdesai:
Depends on the chipset, minimum changes needed are modifying the BOOTCLASSPATH in init.rc and adding the new classes, and patching the touchscreen driver

Other changes might also be needed, but that depends on the device you are building for
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
Its for a samsung galaxy y and its just a project at the moment. I did see the init.rc edits and adding the classes somewhere. New to kernel development as well as building from source so i'm learning as i go. I am however pretty good t trouble shooting and try to search as much as possible before asking. Like i said... just a project for myself.

I do have a OG TF101 that i'm going to be building for so that will be the main use for compiling.
[Android Q&A, Help & Troubleshooting] justlovejoy:
Device Tree or Source Tree, which files are associated with the device booting past splash screen and then booting past boot animation?

besides kernel? Thanks Unltd.
[Android Q&A, Help & Troubleshooting] justlovejoy:
joyride@joyride:~/aosp$ repo sync -j1

... A new repo command ( 1.15) is available.
... You should upgrade soon:

whats up wit dat?

Thanks Unlimited!
[Android Q&A, Help & Troubleshooting] cdesai:
As it says in plain English, a new version of the repo tool is available :p
[Android Q&A, Help & Troubleshooting] justlovejoy:
was trying to stay away from asking but ?????
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
I haven't seen it (yet) and I've been running repo ugh for about 2 weeks. (15 gigs and still going.... will it ever end lol) . I must say that this waiting has done me some good. Reading reading reading. Understanding git a little better now.

I am more confidential now about this process than when I started downloading the sources. Bloody slow connection works to my advantage for once.

Sent from my GT-S5360
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
I'm getting this error now with github:

fatal: Unable to look up github.com (port 9418) (name or service not known)

Anyone had this?

Edit:well its working again even though the whole time github never reported a problem.

this auto corrected post sent from my Galaxy Y running something.
[Android Q&A, Help & Troubleshooting] lithid-cm:
Usually happens during an unknown networking issue. Sometimes switching from using git -> https works.
[Android Q&A, Help & Troubleshooting] justlovejoy:
Didn't know you could do that, well yes but not in this circumstance, lol, now that I think about it, I realize I just didn't think about it but did I fart in the elevator? I'm getting build errors trying to make aosp left and right, when I post its like no comment. I'd like to know though! Lol nvm. Feed me more information please nurse, you guys be cool. Icu
[Android Q&A, Help & Troubleshooting] pspunderground:
Does anyone have experience with the Supersonic? I'm getting some weird errors involving hwcomposer and libqcomui.
[Android Q&A, Help & Troubleshooting] lithid-cm:
Post your logs. I had the evo before the nexus s 4g.
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
Well after trying to sync to the cm9 repos I've had to abandon it due to files failing to complete (at 95 percent it would always say unexpected EOF) and then restart. Little bit of a drag since it has taken ages to get to this point (started it on the 12th and it has been running basically 24/7 since then and was up to 23 gigs). Gonna just stick with the aosp until I get back to a high speed connection.

this auto corrected post sent from my Galaxy Y running something.
[Android Q&A, Help & Troubleshooting] pspunderground:
http://logcat.miui.us/709018

Here you go.
[Android Q&A, Help & Troubleshooting] Deltatiger:
First time building.

Ok now i just got my PC up and running with the source and started compiling. But i get the following error message (Look at the attachment below.)

Here are the things i did (I like to log my stuff so i can revert if i screw up)

2. After the syncing process was done downloaded the vender files from [link] https://github.com/koush/android_vendor_htc_buzz[/link]
place them in home/WORKING_DIRECTORY/vendor/htc/buzz
3. Download the device specific files from ErwinP's github [link] https://github.com/ErwinP/android_device_htc_buzz [/link] and place them in home/WORKING_DIRECTORY/	device/htc/buzz
4. Set up adb using guide from [link] http://xdaforums.com/showthread.php?t=1550414 [/link]
ADB setup cheanged a bit and the ~/.bashrc file was changed with the new stuff which is commented out to make the adb work and thus the project to move ahead

5. Changing common_mini_phone.mk to common_tiny_phone.mk under vendor/cm/config
6. moving device/htc/buzz/common to BACKUP_ICS_SOURCE

http://img407.imageshack.us/img407/2964/error2gk.png
[Android Q&A, Help & Troubleshooting] Att.Fan1982:
How do I run the emulator after downloading the android source and building from that source? I get an error stating,

"No command 'emulator' found, did you mean:

Command 'qemulator' from package 'qemulator' (universe)

emulator: command not found"

but I thought the emulator was installed with the build?
[Android Q&A, Help & Troubleshooting] dastin1015:
Android SDK
[Android Q&A, Help & Troubleshooting] c-pimp:
Thanks for the guide
[Android Q&A, Help & Troubleshooting] justlovejoy:
Alright I fixed a bunch of errors and got boot, now I have no camera. the app yes, but it fails to connect. or led flash light.
[Android Q&A, Help & Troubleshooting] cj360:
I vote for this thread to be stickied as there are multiple tut on how to compile it has the best questions or at least answered many that I've run into.
[Android Q&A, Help & Troubleshooting] superbeak:
I can second that.
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
I want to add a device for my AOSP source. The problem is my device is a Samsung galaxy y and there is not alot of work on it. Ideally I would like cm9 but I am on a slow connection and it just wont complete.

So I'm guessing that I should find a device that is close to it and go from there. Suggestions?

(I know it's gonna be rough going but I think it is better to try than wait for someone else to do it for me)

this auto corrected post sent from my Galaxy Y running something.
[Android Q&A, Help & Troubleshooting] cj360:
Trying to do the same ^ thing but for Gummy source and my Xperia play.

I keep getting new module errors when trying to build, I've added the optional line to all the zeus's make files and android make files. Can someone post an example of what a working optional line lloks like? I'm not sure why the error still comes up.

-------->>edit Can someone upload or make a pastebin of their android.mk with the "LOCAL_MODULE_TAGS := optional" line? I've added it to all the android make files for my device but I'm still geting the error that tells me to do just that^.
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
Ok so I managed to find a device tree for the galaxy y. But now it's saying that I have files in ALL_PREBUILT but I didn't copy add anything to the source and I can't find a directory called ALL_PREBUILT.

On a side note I did have the option error but went into the file listed and filled all the open spaces with option and that seemed to work for the moment.
[Android Q&A, Help & Troubleshooting] paxChristos:
Try adb remount before you do extract-files.sh
[Android Q&A, Help & Troubleshooting] MikeCriggs:
Ended up having to update the SDK. Everything is good now.
[Android Q&A, Help & Troubleshooting] lemonoid:
hey dastin, I saw in an earlier comment where you said that you have device support for the Eris? I have just got my 12.04 intsalled and i'm setting up repo and such right now, and I was just trying to find a good source to pull from for the Eris, because CM no longer has it as far as I can tell, and now I'm stuck without it. I was wondering if you could point me in the direction
[Android Q&A, Help & Troubleshooting] dastin1015:
Evervolv has source for the Eris I believe. Team ICS is for the Hero CDMA, but we work with the Hero GSM, Eris and a few other mdpi armv6 phones I think.

私のEVO 3Dから送信される。
[Android Q&A, Help & Troubleshooting] cdesai:
First of all, run a `repo sync` if you already havent || not made a change yourself

If you did change something, you'll know where it is, add @hide just above it :)
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
Example:

@hide

I didn't add anything to the tf101 device but I did change things in my totoro device.

Like that?

Duhhhh of course I should have synced it. It took 2 weeks to download. I will sync again when I have Linux booted.
[Android Q&A, Help & Troubleshooting] cdesai:
Na, if you changed anything in frameworks/base, anything 'java'

Just do a sync and it'll update the sources, this was fixed in the tree.

Updating the tree won't take long, just a few mbs to download)
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
Ok cool but still taking time (30 min already)and getting a few fatal HTTP request failed.

Edit: Perfect that issue solved and now on to the next which is:

intermediates/pcre/include/pcre.h
target Generated: libpcre <= external/pcre/pcre_chartables.c.dist
Notice file: dalvik/dx/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//framework/jasmin.jar.txt
target Generated: librslib <= frameworks/compile/slang/rslib.bc
make: *** No rule to make target `out/target/common/obj/APPS/com.replica.replicaisland_intermediates/classes.jar', needed by `out/target/common/obj/APPS/CtsOpenGlPerfTestCases_intermediates/classes-full-debug.jar'. Stop.
make: *** Waiting for unfinished jobs....
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[Android Q&A, Help & Troubleshooting] dastin1015:
Error with your compiler. Idk the cause of the error though.
[Android Q&A, Help & Troubleshooting] dastin1015:
This line needs to be added in every file that it puts out.

LOCAL_MODULE_TAGS := optional

First one is: lights.msm7x30

Location: hardware/msm7k/liblights
[Android Q&A, Help & Troubleshooting] Deltatiger:
Can i compile the ICS (cm9) on Ubuntu 12.04 LTS?

The google compile guide says its still experimental.?
[Android Q&A, Help & Troubleshooting] cdesai:
use make update-api then, but don't complain if koush finds you and boom

It works fine with OpenJDk 6
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
Ok..... but if koush comes knocking........I just deleted the lines.
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
Ok so "deleting" the lines went fine and it compiled for ages then i got this

Combining NOTICE files: out/target/product/tf101/obj/NOTICE.html
make: *** No rule to make target `out/target/common/obj/APPS/com.replica.replicaisland_intermediates/classes.jar', needed by `out/target/common/obj/APPS/CtsOpenGlPerfTestCases_intermediates/classes-full-debug.jar'. Stop.

I have been looking for a reference to this for hours. Can someone point me in the right direction. The only thing i can find is a repo for a game called replica island. I'm pretty sure this is it but i dont know where to put it.
[Android Q&A, Help & Troubleshooting] dastin1015:
system/packages I believe. Not exactly sure.
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
Well there is no system/packages but there is a packages directory in my working directory. Plus would putting it in the system directory make it a system app?
[Android Q&A, Help & Troubleshooting] dastin1015:
Packages. That's the directory to be placed in for apps to be compiled.
[Android Q&A, Help & Troubleshooting] Dreamboxuser:
Ya just tried. Still no go. Still saying no rule to make.

I have to start the compile over again don't I.

Edit: ya had to start over and do a few mods to the make file. Its gonna be a while before I hit that error again.... will let u know.

Thanks.

Edit: yup still there. Where would the rules be made?
[Android Q&A, Help & Troubleshooting] cdesai:
If you wanna compile a new app, it needs to be in packages/apps, with a proper Android.mk

To compile it, add it to PRODUCT_PACKAGES to your device, or build/target/core.mk
[Android Q&A, Help & Troubleshooting] lithid-cm:
It does not "HAVE" to be in packages/apps (though, it should to keep things sane), make trolls the directories and will find it as long as its defined in its folders Android.mk file.