yashsingh1/xdaforums huggingface dataset:
[Android] Kayant:
If you have like gigabit speeds yh ;)

From my understanding the amount after the J represents how many things will be downloaded at the same time....

So if you have a slower connection and lower bandwidth then less is better and if you have more increase it.....

For me I have 1.3+ MB on average where I live so I usually use anything between j2-j5 and I get everything downloaded in about 3-4 hours...
[Android] tnpapadakos:
i thought the number after the j related to how many cores your cpu has in the box your building on...at least thats how i read it from one of the tutorials...
[Android] Kayant:
It is but here you are downloading not compiling so it represents the number of simultaneously connections instead ;)

Let's Go ^_^
[Android] guiceu:
Hey dudes! When I do "repo sync", it just stucks at 100%. Like this: Fetching projects: 100% (329/329), done.

I've tried to cancel and do it again a lot of times, and also I've tried "repo sync -f" and "repo sync -j4". But nothing works.

Anyone with a similar problem? Or just someone know how I'm supposed to do. Thanks! Btw, I know. Bad english....
[Android] :
Wait to complete. Just wait

™
[Android] Hjax:
- Nevermind -

great work dastin :D
[Android] pongnamu:
Well, mine stuck on Fetching Project 99%!!!
[Android] dastin1015:
Just wait and let it finish.
[Android] jbats:
I've tried uninstalling iced tea and getting java se 6, but ended up with version 7. When i start i get this javac: target release 1.5 conflicts with default source release 1.7

javac: target release 1.5 conflicts with default source release 1.7

make: *** [out/host/common/obj/JAVA_LIBRARIES/jsr305lib_intermediates/javalib.jar] Error 41

make: *** Waiting for unfinished jobs....

make: *** [out/host/common/obj/JAVA_LIBRARIES/antlr-runtime_intermediates/javalib.jar] Error 41

How do i get this version everytime I try it cannot find package

Ive also removed the error line in main.mk and it still happens

Ok i got it
[Android] pongnamu:
I waited like an hour. Is it normal? Should I have waited more? Thanks! :)
[Android] Black_Prince:
Post the codes getting error ...
[Android] jjaacckk94:
I got this:

jack@Jack-Ubuntu:~/WORKING_DIRECTORY$ make -j5 otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_ariesve
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-35-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=out
============================================
hardware/broadcom/wlan/bcm4329/config/Android.mk:34: external/wpa_supplicant/wpa_supplicant_conf.mk: File o directory non esistente
build/core/base_rules.mk:79: *** Module name: lights.msm7x30
build/core/base_rules.mk:80: *** Makefile location: hardware/msm7k/liblights
build/core/base_rules.mk:81: *
build/core/base_rules.mk:82: * Each module must use a LOCAL_MODULE_TAGS in its
build/core/base_rules.mk:83: * Android.mk. Possible tags declared by a module:
build/core/base_rules.mk:84: *
build/core/base_rules.mk:85: * optional, debug, eng, tests, samples
build/core/base_rules.mk:86: *
build/core/base_rules.mk:87: * If the module is expected to be in all builds
build/core/base_rules.mk:88: * of a product, then it should use the
build/core/base_rules.mk:89: * "optional" tag:
build/core/base_rules.mk:90: *
build/core/base_rules.mk:91: * Add "LOCAL_MODULE_TAGS := optional" in the
build/core/base_rules.mk:92: * Android.mk for the affected module, and add
build/core/base_rules.mk:93: * the LOCAL_MODULE value for that component
build/core/base_rules.mk:94: * into the PRODUCT_PACKAGES section of product
build/core/base_rules.mk:95: * makefile(s) where it's necessary, if
build/core/base_rules.mk:96: * appropriate.
build/core/base_rules.mk:97: *
build/core/base_rules.mk:98: * If the component should be in EVERY build of ALL
build/core/base_rules.mk:99: * products, then add its LOCAL_MODULE value to the
build/core/base_rules.mk:100: * PRODUCT_PACKAGES section of
build/core/base_rules.mk:101: * build/target/product/core.mk
build/core/base_rules.mk:102: *
build/core/base_rules.mk:103: *** user tag detected on new module - user tags are only supported on legacy modules. Arresto.
jack@Jack-Ubuntu:~/WORKING_DIRECTORY$

What's wrong?
[Android] dastin1015:
Read the error. That is the most straightforward error you'll ever see. It tells you how to fix it within the error.
[Android] djmatt604:
This guide helped me successfully compile ICS for my tablet. Finally up and booting today. I now have a fantastic new project!! Thanks for everything!

Sent from my Infamous Tab.
[Android] kevin130:
Use the search function. Or just read the error.
[Android] lordcheeto03:
question removed.
[Android] ask107:
alloc_device.cpp

can you help me fixing this part

asses.dex'...

hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp: In function 'int gralloc_alloc_buffer(alloc_device_t*, size_t, int, const native_handle_t**, int, int, int, int, int, int)':

hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:182:21: error: 'GRALLOC_USAGE_HW_ION' was not declared in this scope

hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:182:53: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope

hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:227:27: error: 'GRALLOC_USAGE_HW_ION' was not declared in this scope

hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:227:59: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope

hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp: In function 'int gralloc_lock(const gralloc_module_t*, buffer_handle_t, int, int, int, int, int, void**)':

hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:390:17: error: 'GRALLOC_USAGE_YUV_ADDR' was not declared in this scope

hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp: At global scope:

hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:484:1: error: 'gralloc_module_t' has no non-static data member named 'getphys'

hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp: In function 'int alloc_device_alloc(alloc_device_t*, int, int, int, int, const native_handle_t**, int*)':

hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:407:25: error: 'GRALLOC_USAGE_HW_ION' was not declared in this scope

hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:407:57: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope

make: *** [out/target/product/n7000/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/gralloc_module.o] Error 1

make: *** Waiting for unfinished jobs....

make: *** [out/target/product/n7000/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/alloc_device.o] Error 1
[Android] Aimen7:
.bashrc

********************************************************************************************************

-Android SDK:

Download the SDK here: http://developer.android.com/sdk/index.html

Extract the SDK and place it in your home directory.

I renamed my SDK to android-sdk to make it easier to navigate to.

Go to your home folder, press Ctrl+H to show hidden files, and open up your .bashrc file.

Add these lines at the bottom of the file:

Code:

# Android tools

export PATH=${PATH}:~/android-sdk/tools

export PATH=${PATH}:~/android-sdk/platform-tools

export PATH=${PATH}:~/bin

********************************************************************************************************

I couldn't find the .bashrc file in my Home directory !!!

any help please ?

I'm using Linux Mint 14 Nadia Xfce
[Android] lordcheeto03:
It's located in /home/yourname

from the command line:

cd ~

gedit .bashrc
[Android] Aimen7:
nothing in /home/yourname even by the Terminal !!!

there are: .bash_history and .bash_logout

help please, or I can make a new one ?
[Android] Black_Prince:
It's in home folder...

Write gedit in command prompt or while in fodder vie press crt h to see hidden file...

You can't create it because it must be there...
[Android] lordcheeto03:
Open terminal, type these commands and post the output if you don't see .bashrc.

cd ~

ls -a
[Android] franco-c:
Thanks!

It's very easy to follow ! :o
[Android] tnpapadakos:
wow, it just took mine about 2 minutes, what do you have, dial up?
[Android] mg2195:
That's for the first initial sync...after that it takes seconds-minutes depending on when I last synced

-I don't have dial up...I have high speed internet from cox...since I'm connected through WiFi (along with 5+ other devices) I usually get 6-8mbps down

Anyways...not sure why you felt the need to reply to my post...but whatever :)
[Android] jarjar124:
hey i am trying to cherry pick http://review.cyanogenmod.org/#/c/29118/

i tried to fix it but still get an error when building it. did i do something wrong? help please

jarman@jarman-laptop:~/testrasbean/frameworks/base$ git fetch http://review.cyanogenmod.org/Cyanog...rameworks_base refs/changes/18/29118/12 && git cherry-pick FETCH_HEAD

From http://review.cyanogenmod.org/Cyanog...rameworks_base

* branch refs/changes/18/29118/12 -> FETCH_HEAD

error: could not apply 6bbe7b7... Quick Settings: Swipe to switch

hint: after resolving the conflicts, mark the corrected paths

hint: with 'git add <paths>' or 'git rm <paths>'

hint: and commit the result with 'git commit'

Recorded preimage for 'packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java'

Recorded preimage for 'packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java'

jarman@jarman-laptop:~/testrasbean/frameworks/base$ git status

# Not currently on any branch.

# You are currently cherry-picking.

# (fix conflicts and run "git commit")

#

# Unmerged paths:

# (use "git add <file>..." to mark resolution)

#

#	both modified: packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java

#	both modified: packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

#

no changes added to commit (use "git add" and/or "git commit -a")

jarman@jarman-laptop:~/testrasbean/frameworks/base$ git add packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java

jarman@jarman-laptop:~/testrasbean/frameworks/base$ git add packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

jarman@jarman-laptop:~/testrasbean/frameworks/base$ git commit -c 6bbe7b7

[detached HEAD 13e45b8] Quick Settings: Swipe to switch

Author: Thiago Vinícius Freire de Araújo Ribeiro <thiagovfar@gmail.com>

2 files changed, 188 insertions(+), 8 deletions(-)

jarman@jarman-laptop:~/testrasbean/frameworks/base$

trying to build...in the middle

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2547: class, interface, or enum expected

}

^

734 errors

make: *** [out/target/common/obj/APPS/SystemUI_intermediates/classes-full-debug.jar] Error 41

make: *** Waiting for unfinished jobs....

Preparing output jar [/home/jarman/testrasbean/out/target/common/obj/APPS/Mms_intermediates/proguard.classes.jar]

Copying resources from program jar [/home/jarman/testrasbean/out/target/common/obj/APPS/Mms_intermediates/classes.jar]

DroidDoc took 15 sec. to write docs to out/target/common/docs/api-stubs

jarman@jarman-laptop:~/testrasbean$
[Android] Aimen7:
here u r
[Android] Aimen7:
I did (ctrl+h), but nothing there !!!

So ?
[Android] dastin1015:
Then just create the file

私のEVO 3Dから送信される。
[Android] Aimen7:
is it ok ? I mean no troubles later ?
[Android] mose_pe:
Thanks to all for sharing all these useful information
[Android] lordcheeto03:
Ok, try this one:

Upon creation of a user account, .bashrc should be automatically copied from /etc/skel. So, if .bashrc doesn't exist in your home folder, try this:

cp /etc/skel/.bashrc ~

That should copy the default .bashrc into your home directory where it's supposed to be.
[Android] ErwinP:
As passing trough knowledge is important, I was able to solve my problem trough this commit.

An other thing now.

My sources are located on an USB-connected external HDD. I am able to make succesful builds, but I'm loosing more and more free space on my laptops (ubuntu, of course) internal hdd. before my latest build I had 2 Gb free space on my internal hdd, after the build only 64 mb... and 'make clean' or rebooting my laptop does not solve it.

So does anybody know where all 'temporary' files during the build are stored? I know there are some files located in the tmp/ folder, but if I remove them, I only free up about 150 mb space. If I know where the others are, I can manualy remove them.

Thank you in advance,

Erwin
[Android] ktempleton:
Hey guys I'm building cm10.1 for my phone and I'm getting an error that i can't figure out nor anyone else that has seen it i sure could use some help on this one thanks

target Dex: core-junit-hostdex

target Dex: apachehttp-hostdex

----- Making recovery image ------

error: no output filename specified

usage: mkbootimg

--kernel

--ramdisk

[ --second ]

[ --cmdline ]

[ --board ]

[ --base ]

[ --pagesize ]

[ --ramdisk_offset ]

-o|--output

make: *** [/home/ken/android/cm10_1/out/target/product/i577/recovery.img] Error 1
[Android] Black_Prince:
I couldn't get your device tree and kernel on cm...

Could you post cm repo link...
[Android] ktempleton:
Device tree

Ktempleton. On github. Android device sghi577 msm8660 common kernel

All of my files are there I'm not near a computer and my phone isn't acting right
[Android] spirol:
Hi.

First of all, this is a great guide !

I've been trying to build RootBox for Samsung Galaxy Tab 10.1 Wifi GT-P7510, also known as p4wifi. It currently has CM10.1-support, and I use the device tree from the maintainer pershoot(github device tree).

RootBox is a source-build rom with AOKP and CM features, and it's available for several Galaxy phones and Nexus 7.

I've set environment up and tested it was done right by doing a build for my Galaxy S3, which is officially supported by RootBox. Everything seemed to work.

Then I went on to add the p4wifi by following the second part of your guide. Had to do some extra things like adding bootanimation in tabletsize and onandroid partition table to prebuilts.

Added repo's and remotes to the platform_manifest, and added entries for p4wifi where needed (i think i got them all) to makefiles and vendorsetup.sh .

Building-time

Sets it all of with:

Breakfast p4wifi

make -j4 otapackage

After about 1½ hour, the builds just stops.

I've posted the full terminal output here: http://dl.dropbox.com/u/12431608/build-error.txt (too big for pastebin, 870kb)

And a version where I cleaned it down to what I think seems most alarming, here: http://pastebin.com/ZPDHdM04

I really hope some of you can help me get this right, as there hasn't been happening much in our device-forum lately + our only aokp cook just left...

You can see which changes I've done to the different repo's at my github http://github.com/spirol

Thanks :)

'Warning': I'm pretty new to using linux, and totally new at using github, so please be as descriptive as possible.
[Android] ktempleton:
device tree

https://github.com/ktempleton/android_device_samsung_i577.git

kernel

https://github.com/ktempleton/vendor_lz-msm8660-common.git
[Android] djmatt604:
Hey!! Great to see another guy trying to produce stuff for this tab. I am updating the Infamous TW ICS rom in the 10.1 Dev area, and am working on a couple of AOSP projects just to do something new for our community too :) I've managed to get the first one to boot and am just working out some bugs before I can release it for everyone.

It looks like you're crashing out trying to compile the Gallery app. The error is saying that you have an image in the app manifest called ic_menu_cancel_holo_light.png where there is no such entry for 'hdpi'. My long shot guess would be to check out the /res area of the Gallery program source and look for the missing asset, perhaps if it exists in a different drawable folder you can copy it...I could be way wrong though. Have a look...

Or, a workaround could be to try removing the package for the build and injecting a working Gallery apk into the ROM when its done? Just another thought. I am a rookie with source too but always willing to learn with others.

Good luck and hope to see a thread up soon from you!!

Sent from my Infamous Tab.
[Android] dastin1015:
You are erroring out in Settings. Make sure you are synced by doing repo sync and make sure if you have forked repos that you update those repos accordingly.
[Android] djmatt604:
Haha see, there you go. Rookie. :) thanks Dastin! I hadn't looked closely enough at the paths.

Sent from my Infamous Tab.
[Android] bizcuite:
Binaries file compile like Sharedlib - after CM10 Compilation success

Hi guys!!

I have a big problem with my compilation of JB for a device (archos generation 8) that i have already ported under ICS.

I have already made a post about my problem without any answers, i hope that anybody can help me or guide me on the good way.

http://xdaforums.com/showthread.php?t=2089272

My question is in this post but i paste it here:

this is readelf -a on one files who appears like a ShareLib:

root@bizcuite-laptop:/media/_home2/bizcuite/JellyBean/out/target/product/g8/system/bin# readelf -a mediaserver
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
[B][U]Type: DYN (Shared object file)[/U][/B]
Machine: ARM
Version: 0x1
Entry point address: 0x878
Start of program headers: 52 (bytes into file)
Start of section headers: 4440 (bytes into file)
Flags: 0x5000000, Version5 EABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 8
Size of section headers: 40 (bytes)
Number of section headers: 22
Section header string table index: 21

[....]

From ICS (compilation works well):

root@bizcuite-laptop:/media/_home2/bizcuite/CM9/out/target/product/g8/system/bin# readelf -a mediaserver
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0x88b0
Start of program headers: 52 (bytes into file)
Start of section headers: 4740 (bytes into file)
Flags: 0x5000000, Version5 EABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 7
Size of section headers: 40 (bytes)
Number of section headers: 22
Section header string table index: 21

I have reinstalled all my system (ubuntu12 x64) and used the "how to" from google and cyanogen wiki, retry a full compilation => same result!

Re-installed all system again but with ubuntu10.04 x64, => same result!

Do you think that is related with my Device folder (works well under ICS)? Maybe i have missed a build option or one other parameter in mk files.

Thanks in advanced

Bizcuite
[Android] Aimen7:
it did not work, Help Please :(
[Android] lordcheeto03:
Have you tried just creating the file? I guess, from command line you could just 'gedit .bashrc' in your home dir, place the values you need in there, and save... from what I've read, the .bashrc is supposed to be put into the home dir upon account creation, but some distros don't do that. Those same sources say that because .bashrc isn't placed by default, it shouldn't be ignored if created.
[Android] myepicyear:
Cherry picking can be difficult to learn at first, and usually takes dozens of mistakes to start getting better at it. I cherry pick and review on Gerrit daily, (at least I try to) so I can help to a certain point.

First of all, are you buiding CM10.1, or are you trying to add that cherry pick to your own CM "remix" type build? Because what you were trying to cherry-pick was already merged days before. I know this because I was one of the reviewers. :) Let me say too, that I was hesitant to +1 this change, as it doesn't work very smoothly, but that's a story for another day, lol.

What you tried doing after getting that cherry-picking error is not a recommended way to resolve things..at all. Don't deviate from the simple methods until you understand them fully. Cherry-picks should always be done the way you attempted first.

The biggest point right now though, is that is a merged change already, so you should no longer need/attempt to do anything further. When you get errors like that, just physically go to the folder you attempted to add to, and delete it completely. So, go into frameworks and delete "base". Then go back to the terminal, and repo sync, and that will resolve itself. If you didn't do that afterwards, you'd have an error at the end of every repo sync, and your builds will not complete.

Let me know a bit more about what you're trying to do though, and I can advise further. All I can tell you now is what I've already said.

Don't get discouraged with this stuff, it helps you learn. Keep with the cherry-picking, and eventually join in on the code-reviews. There's no recognition in the project, but it's nice to be a part of something in the community. Take on only what you can handle, and leave the rest to those who can. You learn more as you go along.
[Android] dastin1015:
The error is pretty straight forward.
[Android] dastin1015:
Make sure that the android_kernel_htc_msm8690 is placed in kernel/htc/msm8690
[Android] Serious_Beans:
How do I find the proprietary blobs for mako to put in the extract-files.sh script?
[Android] dastin1015:
https://github.com/TheMuppets/proprietary_vendor_lge/tree/cm-10.1

Google removed the binaries from their site
[Android] Serious_Beans:
So I see that the files that I'm trying to extract with the extract-files.sh script are already uploaded to git, would I be able to just download them and put them in the vendor folder to build the rom or do I have to make the script work because atm I'm trying to modify the one someone sent me to build for galaxy nexus, but I'm unfamiliar with the process on how to actually setup the script from scratch and what goes in the parts that need to be replaced for the galaxy nexus to nexus 4.

If you can help at all that'd be great, thanks.
[Android] dastin1015:
Just take the mako folder and place it in vendor/lge/mako and to make sure that your device make file inherits the vendor.
[Android] djmatt604:
I have some weird stuff happening with my end product when I build aosp 4.1.2.

I noticed during the build process some messages scrolling by mentioning some config.XML files were being skipped and that a switch to mark them as 'skippable' existed somewhere in the source. I missed the location though and I think some important overlay detail got skipped as I am having some DPI issues. Keyboard smaller than touch screen mapping is one weird side effect I am noticing in my testing.

Can anyone advise as to where I might find what controls this and have the system not ignore my config files? Let me know if this makes or doesn't make any sense, Thx for your consideration...
[Android] dastin1015:
You can cancel the build with ctrl+C and scroll back up and read it
[Android] djmatt604:
I'm thinking I got lucky to catch it as I was only watching the console periodically and I have a dinosaur for a box so it took several hours to compile. I guess I'll have to try a new dummy build and look to see...thx
[Android] dastin1015:
What is your specs? Use ccache to help speed up builds

In the root of the source tree, do the following:

$ export USE_CCACHE=1
$ export CCACHE_DIR=~/.ccache
$ prebuilts/misc/linux-x86/ccache/ccache -M 50G

The suggested cache size is 50-100G.
[Android] dastin1015:
You don't extract the patch, you apply it. The changes you see are what you need to do in the file. The patch tells you what file to edit. You delete lines in red and add lines in green

私のEVO 3Dから送信される。
[Android] lithid-cm:
Looks to me like something else is wrong, for the patch to actually work there should only be 4 errors. Seems there are a lot more errors then what this patch will fix. Mind telling us what os you are running?