yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] mikrotik:
compile just apk from source done..

just write " make trebuchet " on terminal..
[Android Q&A, Help & Troubleshooting] antonio8297:
Building for maguro bu have this error

How fix it???

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Q&A, Help & Troubleshooting] krislibaeer:
you have to use the right java version

delete old one with this

sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*

and install new one with

sudo apt-get install oracle-java6-installer

hope this works if not you have to add packages
[Android Q&A, Help & Troubleshooting] antonio8297:
Worked with Dustin method

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Q&A, Help & Troubleshooting] antonio8297:
i've some question about suorces:

1)how can I change the name of kernel in the suorce???

2)can i totally invert app and framework,before building???how can i do it???

3)can deodex the rom before the compile????

thanks at all
[Android Q&A, Help & Troubleshooting] cbucz24:
1. Depending on what your building, the kernel is normally defined in a board.config file.

Not sure why you should need to change its name unless your building one yourself.

2. Yes you can build any app inverted, transparent, etc. You only need to edit the png files and xml files to what you want. Keep in mind, when you start changing up files you need to keep the same name or you will have to change out a lot more.

3. Ive never de-odexed a rom before. But I've never seen a rom built from source that needed that done? That normally refers to oem (touchwiz, sense) neither of those can be built from source as the companies do not release it openly.

Hope this helps

-Team Nocturnal

-Galaxy Note II Lab Rats Edition
[Android Q&A, Help & Troubleshooting] #define:
Hey guys, i have a small question..

I have switched my kernel compression method to xz from the std gzip2..

Now i'd also need to change the ramdisk compression to xz right?? For both rom and recovery..

How would I do that??
[Android Q&A, Help & Troubleshooting] antonio8297:
1.because the name reported is google....

2.can i do it on suorce,not after???
[Android Q&A, Help & Troubleshooting] Shiv K:
Thanks for all the info.
[Android Q&A, Help & Troubleshooting] mikshepard:
Hey guys, I put together a script to send out a email when our compile finishes. It'll include the last 6 lines of the log and the time it took to finish. I thought maybe some of you might find it useful, and it also allows me to finally give back to this thread, it's been a huge help to me. It's here

Cheers,

Mike
[Android Q&A, Help & Troubleshooting] cbucz24:
Well if you just want to change the kernel name you can do that in the build.prop file.

You can theme any apk before or after. Either way your doing the same thing. Your changing xml and png files...as long as you do it correctly it doesn't matter

-Team Nocturnal

-Galaxy Note II Lab Rats Edition
[Android Q&A, Help & Troubleshooting] galaxyfreak:
In kernel source, go to arch/arm/configs/<your defconfig> and there look for CONFIG_LOCALVERSION (most often at line 40) and change that. :)
[Android Q&A, Help & Troubleshooting] cj360:
Building pure cm10 jellybean branch and it stops on error 41 on framework_intermidates and the only real error I think I see is this:

frameworks/base/telephony/java/com/android/internal/telephony/semcRILCDMA.java:39: class SemcRILCDMA is public, should be declared in a file named SemcRILCDMA.java
public class SemcRILCDMA extends RIL {
^

But I thought this line does just that? :

public class SemcRILCDMA extends RIL {

Here's the rest of the file github.com/cj360

Edit- fixed it, turns out I forgot that the file itself was named semc instead of the Semc that was the public class in the file.
[Android Q&A, Help & Troubleshooting] antonio8297:
Thanks....

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Q&A, Help & Troubleshooting] TroNit:
whats up guys im trying to build rootbox for my device [supersonic] and im having this error prolly someone can help me out

Supersonic/rootbox
[Android Q&A, Help & Troubleshooting] Ravikirancg:
Hey guys, I am trying to build PAC-man ROM for my device. Pa, aokp and cm are all unofficially available for my device and also their source code. Since they are unofficial, I have to get sources using local manifest. There are some prebuilt lib files like the wlan and Bluetooth that need to be included from vendor/moto/edison instead of building them from source again. How can I make my build process to just copy those files to required places from my folder instead of it trying to build them again? What files should I modify? Any help is appreciated..
[Android Q&A, Help & Troubleshooting] #define:
Open device.mk, and look for PRODUCT_COPY_FILES...

Add the files u'd like to just copy ovr there.. The syntax is,

File/in/source:file/in/device

ғг๏๓ ҭђє ғเรђ™
[Android Q&A, Help & Troubleshooting] Ravikirancg:
Well, device.mk calls a blobs.mk which contains all the files to be copied. But for some reason, it tries to build from proprietary-open folder.. is there any ways to force it to use blobs? I am trying with commenting out a line that's calls the wlan mk file. Also where can I find the line that calls to make audio libs? The audio files too have to be copied instead of building them..
[Android Q&A, Help & Troubleshooting] SohamJ:
javac error

Hey guys i am a Samsung Galaxy fit user , trying to compile cm7 from source . when i start building i get this error-

You are attempting to build with the incorrect version

of javac.

Your version is: /bin/bash: javac: command not found.

The correct version is: 1.6.

Please follow the machine setup instructions at

http://source.android.com/download

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

build/core/main.mk:134: *** stop. Stop.

my java version is -

java version "1.6.0_45"

Java(TM) SE Runtime Environment (build 1.6.0_45-b06)

Java HotSpot(TM) Server VM (build 20.45-b01, mixed mode)

I am on ubuntu 12.04 32 bit . I tried to delete open jdk7 from software centre and downloading the jdk6 but no use...

please help

Thanks
[Android Q&A, Help & Troubleshooting] speed_bot:
'

dude pm me from next time coz i stopped monitering this thread because of exams... and post the 134 line of that build/core/main.mk

edit

do this

javac -version

then you will know your error.
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
You have to be on 64 bit .
[Android Q&A, Help & Troubleshooting] speed_bot:
32 bit works for gingerbread .
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Sorry I didn't see that so use to these new ROMs
[Android Q&A, Help & Troubleshooting] SohamJ:
No the 32 bit thing was not the problem

The problem was with Java JDK 7 . The javac compiler has to be of version 1.6.x for compiling while i add 1.7.45

That is what was causing the problems. I had to downgrade it to 1.6 and it compiled then

Thanks :)
[Android Q&A, Help & Troubleshooting] speed_bot:
the truth is you dint have any version of javac installed

edit

thread closed till may 2

#exams
[Android Q&A, Help & Troubleshooting] hell_lock:
Click here for the error and logcat

Desire x

https://github.com/hell-lock-xda/android_device_htc_protou

cm9

no guide
[Android Q&A, Help & Troubleshooting] speed_bot:
which is your board and does your wifi use a bcm chip ?
[Android Q&A, Help & Troubleshooting] hell_lock:
Msm 8225 s4play

How to know whether it has bcm chip or not? Seeing the files in kernel and phone, I guess it has bcm chip
[Android Q&A, Help & Troubleshooting] extremetempz:
GB AOSP

find: `frameworks/base/frameworks/base/docs/html': No such file or directory

find: `out/target/common/docs/gen': No such file or directory

find: `frameworks/base/frameworks/base/docs/html': No such file or directory

find: `out/target/common/docs/gen': No such file or directory

find: `frameworks/base/frameworks/base/docs/html': No such file or directory

find: `out/target/common/docs/gen': No such file or directory

find: `frameworks/base/frameworks/base/docs/html': No such file or directory

find: `out/target/common/docs/gen': No such file or directory

find: `frameworks/base/frameworks/base/docs/html': No such file or directory

find: `out/target/common/docs/gen': No such file or directory

/bin/bash: out/target/product/generic/obj/PACKAGING/updater_extensions_intermediates/register.inc.temp: Permission denied

Header: out/target/product/generic/obj/include/libexpat/expat.h

Header: out/target/product/generic/obj/include/libexpat/expat_external.h

Header: out/target/product/generic/obj/include/libpng/png.h

Header: out/target/product/generic/obj/include/libpng/pngconf.h

mkdir: cannot create directory `out/target/product/generic/obj/include': Permission denied

make: *** [out/target/product/generic/obj/include/libexpat/expat.h] Error 1

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

Header: out/target/product/generic/obj/include/libpng/pngusr.h

Header: out/target/product/generic/obj/include/libwpa_client/wpa_ctrl.h

mkdir: cannot create directory `out/target/product/generic/obj/include': Permission denied

mkdir: cannot create directory `out/target/product/generic/obj/include'make: *** [out/target/product/generic/obj/include/libexpat/expat_external.h] Error 1

: Permission denied

make: *** [out/target/product/generic/obj/include/libpng/png.h] Error 1

mkdir: cannot create directory `out/target/product/generic/obj/include': Permission denied

make: *** [out/target/product/generic/obj/include/libpng/pngconf.h] Error 1

mkdir: cannot create directory `out/target/product/generic/obj/include': Permission denied

make: *** [out/target/product/generic/obj/include/libpng/pngusr.h] Error 1

mkdir: cannot create directory `out/target/product/generic/obj/include': Permission denied

make: *** [out/target/product/generic/obj/include/libwpa_client/wpa_ctrl.h] Error 1

justin@ubuntu:~/android/aospgb$

any ideas?
[Android Q&A, Help & Troubleshooting] speed_bot:
compile in a root terminal .. do sudo gnome-terminal in normal terminal

see the kernel source..WIFI_BOARD_SELECT
[Android Q&A, Help & Troubleshooting] hell_lock:
Nothing like that in kernel config
[Android Q&A, Help & Troubleshooting] Red Devil:
Any clues to how to fix this ?

system/core/libion/ion.c: In function 'ion_alloc':
system/core/libion/ion.c:65:3: error: unknown field 'heap_mask' specified in initializer
system/core/libion/ion.c:67:17: warning: initialized field overwritten [-Woverride-init]
system/core/libion/ion.c:67:17: warning: (near initialization for 'data.flags') [-Woverride-init]
system/core/libion/ion.c: In function 'ion_sync_fd':
system/core/libion/ion.c:160:26: error: 'ION_IOC_SYNC' undeclared (first use in this function)
system/core/libion/ion.c:160:26: note: each undeclared identifier is reported only once for each function it appears in
make: *** [/media/akshat/9738b8a5-b796-4e3c-92d7-b24ae9274ea8/android/aokp/out/target/product/pico/obj/EXECUTABLES/iontest_intermediates/ion.o] Error 1
make: *** Waiting for unfinished jobs....

Trying to compile AOKP JB-MR1 4.2.2 on HTC Explorer using CM10.1 device tree..

From what I have learnt source is trying to compile PMEM

Our device config already has

BOARD_USE_QCOM_PMEM := true

Any clues on where the error lies ? how it can be fixed.. Thanks :)
[Android Q&A, Help & Troubleshooting] speed_bot:
# Camera Sensor Selection
#
CONFIG_MT9T013=y
# CONFIG_MT9D112 is not set
# CONFIG_WEBCAM_OV9726 is not set
# CONFIG_MT9P012 is not set
# CONFIG_MT9P012_KM is not set
# CONFIG_MT9E013 is not set
# CONFIG_S5K3E2FX is not set
CONFIG_S5K4E1=y
# CONFIG_MSM_CAMERA_FLASH_SC628A is not set
# CONFIG_IMX072 is not set
# CONFIG_S5K6A1GX is not set
# CONFIG_MSM_CAMERA_FLASH is not set
CONFIG_QUP_EXCLUSIVE_TO_CAMERA=y
# CONFIG_V4L_MEM2MEM_DRIVERS is not set
CONFIG_RADIO_ADAPTERS=y

something like this..if it has bcm it has bcm then it will have bcm blah blah =y
[Android Q&A, Help & Troubleshooting] Cristiano Matos:
Hy people.

I need some help on mako build.

CM team merge a new commit for camera and i can't finish my builds anymore.

I'm using openJdk 6

case ENABLE_SAMSUNG_ZSL_MODE:
// I don't know the significance of 1508, it was discovered
// by reading logs and reverse engineering.
mCamera.sendRawCommand(1508, 0, 0);
break;

when comes in that part of the code i receive an error and my build is stoped when reach this line: mCamera.sendRawCommand(1508, 0, 0);

Could it be openJdk? I thinking in switch to Oracle JDK.
[Android Q&A, Help & Troubleshooting] cj360:
Seems more like the line isn't defined, unless you know the commit fixes something crucial you could just undo the changes and build again.
[Android Q&A, Help & Troubleshooting] Cristiano Matos:
Yes. I comment all the codes related with this commit since it will only affect Samsung devices and I'm building for nexus 4.

Doing this a manage to build again.

I'm trying now with new java version...
[Android Q&A, Help & Troubleshooting] Cristiano Matos:
That's my problem

target Java: MagicSmokeWallpapers (/home/cristiano/cm10.1_test/out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates/classes)
packages/apps/Gallery2/../Camera/src/com/android/camera/CameraManager.java:254: cannot find symbol
symbol : method sendRawCommand(int,int,int)
location: class android.hardware.Camera
mCamera.sendRawCommand(1508, 0, 0);

1 error
make: *** [/home/cristiano/cm10.1_test/out/target/common/obj/APPS/Gallery2_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....

The file classes-full-debug.jar was not created.

Someone can help me?
[Android Q&A, Help & Troubleshooting] speed_bot:
for now you can uncomment that app from building (just a temp fix)
[Android Q&A, Help & Troubleshooting] Red Devil:
Happened to me a couple of times now till date. I move the app package from source to somewhere else then see what happens when

I'm on my tab
[Android Q&A, Help & Troubleshooting] krislibaeer:
Revert this commit and it should be solved https://github.com/CyanogenMod/andr...mmit/9466393eee8abe82ec1ceee4e13e48ef8f0222f5
[Android Q&A, Help & Troubleshooting] Cristiano Matos:
Thanks guys.

I found the solution -> i will merge this commit into my frameworks_base.

I'm forked with a non CM10.1 stock frameworks_base. Every time i run roomservice.xml that one was synchronized.
[Android Q&A, Help & Troubleshooting] Der_Schubi:
Just to clarify:

Error 41 / classes-full-debug.jar is a very common error. It can occur if you did some changes to source and build without make clean. Or it can happen if you did a cherry pick on frameworks base and missed its settings part. Just for example.

If you get this you should always try to build clean, if you didn't before.
[Android Q&A, Help & Troubleshooting] Cristiano Matos:
Thanks for the answer.

This is my mistake. CM merged a new camera commit in packages/apps/camera/CameraManager.java and this also modified lines of code in frameworks/base/core/java/android/hardware/Camera.java and frameworks/base/core/jni/android_hardware_Camera.cpp.

In compilation process when reaches mCamera.sendRawCommand(1508, 0, 0); it simply didn't find the method sendRawCommand (included in Camera.java).

Since i'm not forking stock CM frameworks all i need to do is cherry pick this commit.

By the way, i always run at least make clean all the time.
[Android Q&A, Help & Troubleshooting] ktempleton:
If I were you I would make sure all the dependency's were installed because since you can't get a good compile of cm also that seems to me it might be missing packages
[Android Q&A, Help & Troubleshooting] #define:
Hi.. For your AOSP error, i believe this will help..

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

Also, find out which version of gcc you've installed.. That seems to be the culprit here..

Also, make sure you have the package "gcc-multilib" installed...

ғг๏๓ ҭђє ғเรђ! ™
[Android Q&A, Help & Troubleshooting] rob54321:
I installed all packages as per the instructions which i got on this and other forums. I don't think i'm missing any packages. The multilibs are installed.

Rob

---------- Post added at 09:25 PM ---------- Previous post was at 09:22 PM ----------

I did not find a -Werror switch for compiler flags in Android.mk.

Thanks any way.
[Android Q&A, Help & Troubleshooting] extremetempz:
another error

ok thanks for tackling my last error but i got another :(

Which would you like? [generic-eng] 6

build/core/product_config.mk:203: *** No matches for product "full_zeus". Stop.

** Don't have a product spec for: 'full_zeus'

** Do you have the right repo manifest?

ive edited the vendorsetup.sh file to say full_zeus-userdebug and the other file with all the product name and stuff is full_zeus what else do i need to do i dont understand
[Android Q&A, Help & Troubleshooting] ktempleton:
Looks like you need a Zeus.mk vendor/ROM NAME/products folder
[Android Q&A, Help & Troubleshooting] extremetempz:
what I don't understand what do I need to do where do I get Zeus.mk and I'm xompliling aosp GB does that make a difference
[Android Q&A, Help & Troubleshooting] ktempleton:
You need to open vendor/romname/products

Then you should see mk files for other devices open one that has similar specs then create a empty file and name it the same as the other ones are named but for zeus then copy the other one and paste it in the one you made for your phone and change the names and whatever else to reflect your phone then save and open the android products mk and add a line just like the other ones but for your phone
[Android Q&A, Help & Troubleshooting] extremetempz:
in vendor theres semc/zeus nothing about my rom name or device your confusing the crap out of me in device/semc/zeus/semc theres a whole lot of mk files for other devices do i use those and i have a zeus.mk file in device/semc/zeus and also vendor/semc/zeus this is the context of the file what do i add

# proprietary side of the device

$(call inherit-product-if-exists, vendor/semc/zeus/zeus-vendor.mk)

DEVICE_PACKAGE_OVERLAYS += device/semc/zeus/overlay

$(call inherit-product, device/semc/zeus-common/zeus.mk)

$(call inherit-product, device/common/gps/gps_eu_supl.mk)

# These are the hardware-specific features

PRODUCT_COPY_FILES += \

frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml

PRODUCT_AAPT_CONFIG := normal hdpi hdpi

PRODUCT_AAPT_PREF_CONFIG := hdpi

# Init files

PRODUCT_COPY_FILES += \

device/semc/zeus/prebuilt/init.semc.usb.rc:root/init.semc.usb.rc \

device/semc/zeus/prebuilt/hw_config.sh:system/etc/hw_config.sh \

device/semc/msm7x30-common/prebuilt/logo_H.rle:root/logo.rle

# Device specific part for two-stage boot

PRODUCT_COPY_FILES += \

device/semc/zeus/recovery/bootrec-device:recovery/bootrec-device

# Device specific configs

PRODUCT_COPY_FILES += \

device/semc/zeus/config/cy8ctma300_touch.idc:system/usr/idc/cy8ctma300_touch.idc \

device/semc/zeus/config/synaptics_touchpad.idc:system/usr/idc/synaptics_touchpad.idc \

device/semc/zeus/config/atdaemon.kl:system/usr/keylayout/atdaemon.kl \

device/semc/zeus/config/keypad-game-zeus.kl:system/usr/keylayout/keypad-game-zeus.kl \

device/semc/zeus/config/keypad-phone-zeus.kl:system/usr/keylayout/keypad-phone-zeus.kl \

device/semc/zeus/config/keypad-zeus.kl:system/usr/keylayout/keypad-zeus.kl \

device/semc/zeus/config/simple_remote.kl:system/usr/keylayout/simple_remote.kl \

device/semc/zeus/config/keypad-game-zeus.kcm:system/usr/keychars/keypad-game-zeus.kcm \

device/semc/zeus/config/keypad-zeus.kcm:system/usr/keychars/keypad-zeus.kcm \

device/semc/zeus/config/sensors.conf:system/etc/sensors.conf

$(call inherit-product, device/semc/msm7x30-common/prebuilt/resources-hdpi.mk)

# Device properties

PRODUCT_PROPERTY_OVERRIDES += \

ro.sf.lcd_density=240 \

ro.telephony.ril_class=SemcRIL \

com.qc.hdmi_out=false
[Android Q&A, Help & Troubleshooting] ktempleton:
What are you building man and what is your device is it zues

---------- Post added at 04:41 PM ---------- Previous post was at 04:40 PM ----------

Your problem seems to be that you have your vendor folder in with your device folder

OK look this is how your device structure should be set up I build for the d710 that is the sprint galaxys2 so i would have my device folder like this. device/samsung/d710 now now those other mk files you are talking about belong under the vendor folder vendor/semc/products/mk files you understand this is without me looking at the source but that is the general set up
[Android Q&A, Help & Troubleshooting] extremetempz:
ok thanks for your help i deleted the vendor folder in device/semc/zeus but still gives me same error heres what im building on and for

Ubuntu 10.04

Xperia Play (Zeus)

2.3.7_r1 AOSP Gingerbread

Using CM7.2 Sources For My Device

https://github.com/TheMuppets/propri...endor_semc.git -b gingerbread semc

https://github.com/CyanogenMod/andro...x30-common.git -b gingerbread msm7x30-common

https://github.com/CyanogenMod/andro...semc_zeus.git -b gingerbread zeus

https://github.com/CyanogenMod/andro...eus-common.git -b gingerbread zeus-common

https://github.com/CyanogenMod/semc-kernel-msm7x30.git -b gingerbread msm7x30
[Android Q&A, Help & Troubleshooting] ktempleton:
OK did you put the vendor folder where it belongs
[Android Q&A, Help & Troubleshooting] extremetempz:
yeah what else could be effecting these build errors???? I just want to build the damn thing
[Android Q&A, Help & Troubleshooting] ktempleton:
Patients Danielson ...:what:

Next open that vendor/semc/products

Then open the android products mk

Add your phone there it should be there since your mk there already but just check. If it's there close your terminal and start it again if it gives you the error post it so I can see what it is saying
[Android Q&A, Help & Troubleshooting] :
Can someone tell me how could I build CM10 Device Tree? The Device I am trying to make for is LG Optimus L3 E400 which already has a Official CM9! Any clues? I need to build a new device! Pls. help
[Android Q&A, Help & Troubleshooting] cbucz24:
Pull in the device files, you can use the official cm9 build as a guide.

Then sync with latest cm10 source
[Android Q&A, Help & Troubleshooting] extremetempz:
:banghead: theres no androidproducts.mk in vendor in vendor theres just all the xperia 2011 range stuff with the devices mk files inside but in device/semc/zeus theres one when i put that in the vendor file it gives me a new error about its already being used so what now can you justy teamviewer with me maybe i dont know what else to do

Edit: i found the problem now its chucking a new error

build/core/main.mk:292: implicitly installing apns-conf_sdk.xml

build/core/base_rules.mk:78: *** Module name: lights.msm7x30

build/core/base_rules.mk:79: *** Makefile location: hardware/msm7k/liblights

build/core/base_rules.mk:80: *

build/core/base_rules.mk:81: * Each module must use a LOCAL_MODULE_TAGS in its

build/core/base_rules.mk:82: * Android.mk. Possible tags declared by a module:

build/core/base_rules.mk:83: *

build/core/base_rules.mk:84: * optional, debug, eng, tests, samples

build/core/base_rules.mk:85: *

build/core/base_rules.mk:86: * If the module is expected to be in all builds

build/core/base_rules.mk:87: * of a product, then it should use the

build/core/base_rules.mk:88: * "optional" tag:

build/core/base_rules.mk:89: *

build/core/base_rules.mk:90: * Add "LOCAL_MODULE_TAGS := optional" in the

build/core/base_rules.mk:91: * Android.mk for the affected module, and add

build/core/base_rules.mk:92: * the LOCAL_MODULE value for that component

build/core/base_rules.mk:93: * into the PRODUCT_PACKAGES section of product

build/core/base_rules.mk:94: * makefile(s) where it's necessary, if

build/core/base_rules.mk:95: * appropriate.

build/core/base_rules.mk:96: *

build/core/base_rules.mk:97: * If the component should be in EVERY build of ALL

build/core/base_rules.mk:98: * products, then add its LOCAL_MODULE value to the

build/core/base_rules.mk:99: * PRODUCT_PACKAGES section of

build/core/base_rules.mk:100: * build/target/product/core.mk

build/core/base_rules.mk:101: *

build/core/base_rules.mk:102: *** user tag detected on new module - user tags are only supported on legacy modules. Stop.