yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] ktempleton:
OK my man I'm at work but you can hit me up in the morning I'll pm you my gmail for gtalk don't worry progress happens in phases
[Android Q&A, Help & Troubleshooting] :
Where to sync from? LGE E400 has official Cynogenmod 9! I wanna develop CM10 for it! Please help ;)
[Android Q&A, Help & Troubleshooting] speed_bot:
update kgsl genlock drivers in kernel..download new blobs for your gpu .and change wpa supplicant and you can use cm9's tree to build cm10
[Android Q&A, Help & Troubleshooting] :
You made my day ^_^ I had already updated kgsl genlock driver in kernel and had already implemented the new blobs for gpu :D Now I have to change wpa supplicant ;) Thanks!
[Android Q&A, Help & Troubleshooting] speed_bot:
that command must be followed by your device name . like rom-build.sh maguro , rom-build.sh crespo , rom-build.sh your device board name
[Android Q&A, Help & Troubleshooting] krislibaeer:
You have to type ./rom-build.sh tf101

And i hope you have a file called pa_tf101.mk in vendor/pa/products/ if not all is explained in the link you posted
[Android Q&A, Help & Troubleshooting] cj360:
When you run . build/envsetup.sh what's in your lunch menu? It looks like you are missing the cm-zeus-userdebug in any of your vendorsetup.sh files. Add this line to your vendorsetup.sh under device/semc/zeus

add_lunch_combo cm_zeus-userdebug

. Unless it's cyanogenmod-devicename-userdebug for gingerbread I can't remember.
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Building Domination ROM I get a system ui parse error }

...... ... ^

I'll paste the full error later but it complains about base/packages/ system ui/src /com/systemui/android/ ..... NotificationPanelView.java here's the source on my github https://github.com/Domination-personal

heres the error

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: packages/providers/TelephonyProvider/src/com/android/providers/telephony/SmsProvider.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java:282: reached end of file while parsing
}
^
1 error
make: *** [/home/unjust/android/domn/out/target/common/obj/APPS/SystemUI_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: packages/providers/TelephonyProvider/src/com/android/providers/telephony/SmsProvider.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java:282: reached end of file while parsing
}
^
1 error
make: *** [/home/unjust/android/domn/out/target/common/obj/APPS/SystemUI_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
[Android Q&A, Help & Troubleshooting] extremetempz:
i cant fix this error what ever i do i do what it says and it chucks the same error any help

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

build/core/base_rules.mk:73: unusual tags optional, on lights.msm7x30 at hardware/msm7k/liblights

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

build/core/base_rules.mk:79: *** Makefile location: hardware/msm7k/libgralloc-qsd8k

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.
[Android Q&A, Help & Troubleshooting] KerryWood34:
Error while building AOSP for mako

Hello everyone,

I am trying to make my first ROM and kernel and am planning on starting with stock and modify it from there. I followed the guide at source.android.com, but have hit a snag. here is where I am stuck:

/home/angel/MY_ROM_AND_KERNEL/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/mako/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a(RenderSVGResourceLinearGradient.o): in function WebCore::RenderSVGResourceLinearGradient::buildGradient(WebCore::GradientData*, WebCore::SVGGradientElement*) const:external/webkit/Source/WebCore/rendering/svg/RenderSVGResourceLinearGradient.cpp:58: error: undefined reference to 'WebCore::Gradient::setSpreadMethod(WebCore::GradientSpreadMethod)'
collect2: ld returned 1 exit status
make: *** [out/target/product/mako/obj/SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so] Error 1
make: *** Waiting for unfinished jobs....

I am not sure what happened or how to fix it. Is there a more noob friendly guide to building aosp from source? I have read through a lot of guides here at xda and other sites, but they all seem to assume you know too much to begin with. Any help would be greatly appreciated.

KWood34
[Android Q&A, Help & Troubleshooting] speed_bot:
dude post full log..and your error can be fixed by recompiling after make clean
[Android Q&A, Help & Troubleshooting] KerryWood34:
Ok I did make clean and build was removed. How would I get the full log and how would I recompile. Where can I find the commands necessary?

Thank you
[Android Q&A, Help & Troubleshooting] speed_bot:
just type "make" again..
[Android Q&A, Help & Troubleshooting] KerryWood34:
I did that and it stopped at the exact spot it did last time in my previous post. How can I get you a log?
[Android Q&A, Help & Troubleshooting] speed_bot:
copy paste the last two pages in the terminal
[Android Q&A, Help & Troubleshooting] Red Devil:
got the same error before.. reinstall packages.. !!
[Android Q&A, Help & Troubleshooting] rob54321:
SOLVED SOLVED at last

SOLVED SOLVED at last

I had set

export CPATH=/usr/include:/usr/local/include

for my environment variables. This pulled in the wrong headers and the build failed as a result.

I remove the line and the build works.

Thanks to Ying Wang of google for pointing that out to me.

Thanks for all your help.

rob
[Android Q&A, Help & Troubleshooting] hell_lock:
I have this error:

brunch protou
including vendor/cm/vendorsetup.sh
build/core/config.mk:348: *** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com. Stop.
Device protou not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

I am using the build server.
[Android Q&A, Help & Troubleshooting] Red Devil:
For one do you have Jdk 6? Jdk 7 I have learnt will not do.. Jdk 6 is ideal..

Open build/core/config. Mk and check the 348th line and try to make sense of it.. You should try to modify device trees by taking a reference of already existing trees..

I'm on my tab
[Android Q&A, Help & Troubleshooting] #define:
We cn only compile on the servers.. Packages n everything is handled by pulsar_g2....

ғг๏๓ ҭђє ғเรђ! ™
[Android Q&A, Help & Troubleshooting] Red Devil:
Oops my bad. I never used a server before.. I didn't know he was an rd / rc..

I'm on my tab
[Android Q&A, Help & Troubleshooting] KerryWood34:
Ok I was able to resolve my building issues and was able to get the .img files in my /out folder, and I also made 2 zips using make otapackage and make package commands. I then transferred these zips to my phone and tried flashing them though recovery (twrp). the otapackage zip seemed to install ok, but it would not boot past the google screen. It would just stay on a blank black screen and I had to restore a nandroid I had. The other zip would fail to install. I am now stuck again and can't seem to find anything using google to help me out. Has anybody gone through this before who can help me out?
[Android Q&A, Help & Troubleshooting] Red Devil:
Display derped..
[Android Q&A, Help & Troubleshooting] #define:
Gralloc problem most probably..

Look into gralloc_priv.h... Might help u..

ғг๏๓ ҭђє ғเรђ! ™
[Android Q&A, Help & Troubleshooting] KerryWood34:
Thanks for the advice, but everything I seem to find about gralloc has to do with cyangoenmod. I am trying to build from source. Would that matter? I also am not finding any solutions to the problem. I think I'm going to start from scratch and see what happens.
[Android Q&A, Help & Troubleshooting] Der_Schubi:
Hi!

Normally I build for the N4, yesterday I added the files for the HTC One X to my environment.

Building for the HTC works fine, but building for the N4 fails at the very end, while packing the zip files, with this:

building image from target_files BOOT...
running: mkbootfs -f /tmp/targetfiles-9q48Cj/META/boot_filesystem_config.txt /tmp/targetfiles-9q48Cj/BOOT/RAMDISK
running: minigzip
running: mkbootimg --kernel /tmp/targetfiles-9q48Cj/BOOT/kernel --cmdline console=ttyHSL0,115200,n8 androidboot.hardware=makoTraceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 865, in <module>
lpj=67677 --base 0x80200000 --pagesize 2048 --ramdisk_offset 0x01600000 --ramdisk /tmp/tmptg_OFk --output /tmp/tmp2Wihpg
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 833, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 438, in WriteFullOTAPackage
common.CheckSize(boot_img.data, "boot.img", OPTIONS.info_dict)
File "/home/schubi/Android/CM10.1/build/tools/releasetools/common.py", line 444, in CheckSize
if not fs_type or not limit: return
UnboundLocalError: local variable 'fs_type' referenced before assignment
make: *** [out/target/product/mako/cm_mako-ota-eng.schubi.zip] Error 1

And Ideas?
[Android Q&A, Help & Troubleshooting] elia222:
I'm building SlimBean 4.1.2 for Sony Xperia U (https://github.com/CyanogenMod/android_device_sony_kumquat).

I get this error:

Do you know how I can fix it?

Thanks in advance.
[Android Q&A, Help & Troubleshooting] firered365:
PAC for Otter

I am trying to build PAC-ROM for Otter, but I get this error:
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Post what it says lol I can't see it.
[Android Q&A, Help & Troubleshooting] firered365:
Traceback (most recent call last):

File "vendor/pac/tools/removeprojects.py", line 109, in <module>

process_removes(def_file)

File "vendor/pac/tools/removeprojects.py", line 90, in process_removes

projects = json.loads(projects_file.read())

File "/usr/lib/python2.7/json/__init__.py", line 338, in loads

return _default_decoder.decode(s)

File "/usr/lib/python2.7/json/decoder.py", line 365, in decode

obj, end = self.raw_decode(s, idx=_w(s, 0).end())

File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode

raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded

build/core/product_config.mk:239: *** _nic.PRODUCTS.[[vendor/pac/products/pac_otter.mk]]: "device/amazon/otter-common/common.mk" does not exist. Stop.

Device otter not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Found repository: android_device_amazon_otter

Default revision: cm-10.1

Checking branch info

CyanogenMod/android_device_amazon_otter already exists

Syncing repository to retrieve project.

fatal: remove-project element specifies non-existent project: CyanogenMod/android_vendor_cm

Repository synced!

Looking for dependencies

Dependencies file not found, bailing out.

Done

Traceback (most recent call last):

File "vendor/pac/tools/removeprojects.py", line 109, in <module>

process_removes(def_file)

File "vendor/pac/tools/removeprojects.py", line 90, in process_removes

projects = json.loads(projects_file.read())

File "/usr/lib/python2.7/json/__init__.py", line 338, in loads

return _default_decoder.decode(s)

File "/usr/lib/python2.7/json/decoder.py", line 365, in decode

obj, end = self.raw_decode(s, idx=_w(s, 0).end())

File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode

raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded

build/core/product_config.mk:239: *** _nic.PRODUCTS.[[vendor/pac/products/pac_otter.mk]]: "device/amazon/otter-common/common.mk" does not exist. Stop.

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

** Do you have the right repo manifest?

Here is another piece that I don't undestand:

============================================

external/bluetooth/bluedroid/Android.mk:8: NO BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR, using only generic configuration

No private recovery resources for TARGET_DEVICE generic

build/core/tasks/kernel.mk:84: **********************************************************

build/core/tasks/kernel.mk:85: * Kernel source found, but no configuration was defined *

build/core/tasks/kernel.mk:86: * Please add the TARGET_KERNEL_CONFIG variable to your *

build/core/tasks/kernel.mk:87: * BoardConfig.mk file *

build/core/tasks/kernel.mk:88: **********************************************************

make: *** No rule to make target `bacon'. Stop.
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
It looks like your trying to remove a project and your missing

device/amazon/otter-common/common.mk" does not exist. Stop
[Android Q&A, Help & Troubleshooting] firered365:
weeks what should I do?
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
You need to download that project from CyanogenMod and go to manifests and remove .adds and .removes for your device if you don't know if that's necessary nor what to add or remove.
[Android Q&A, Help & Troubleshooting] firered365:
So I just download the CM repo stuff and get it from there?
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Download this https://github.com/CyanogenMod/android_device_amazon_otter-common place it in device/manufacturer name/otters-common note that its the same place as your device is just rename the file to otters-common after you unzip or if you know how to git clone
[Android Q&A, Help & Troubleshooting] firered365:
Edit: I got it.

Now these are the two problems:

build/core/product_config.mk:243: *** vendor/pac/products/pac_otter.mk: PRODUCT_BRAND must be defined.. Stop.

Device otter not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Found repository: android_device_amazon_otter

Default revision: cm-10.1

Checking branch info

CyanogenMod/android_device_amazon_otter already exists

Syncing repository to retrieve project.

fatal: remove-project element specifies non-existent project: CyanogenMod/android_vendor_cm

Repository synced!

Looking for dependencies

Dependencies file not found, bailing out.

Done

build/core/product_config.mk:243: *** vendor/pac/products/pac_otter.mk: PRODUCT_BRAND must be defined.. Stop.

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

** Do you have the right repo manifest?

And

external/bluetooth/bluedroid/Android.mk:8: NO BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR, using only generic configuration

No private recovery resources for TARGET_DEVICE generic

build/core/tasks/kernel.mk:84: **********************************************************

build/core/tasks/kernel.mk:85: * Kernel source found, but no configuration was defined *

build/core/tasks/kernel.mk:86: * Please add the TARGET_KERNEL_CONFIG variable to your *

build/core/tasks/kernel.mk:87: * BoardConfig.mk file *

build/core/tasks/kernel.mk:88: **********************************************************

make: *** No rule to make target `bacon'. Stop.
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Look at *** vendor/pac/products/pac_otter.mk: . take a look at other phones see how it has a line for manufacturer you need that line on your file saying amazon
[Android Q&A, Help & Troubleshooting] firered365:
How about these two lines?:

build/core/config.mk:153: *** No config file found for TARGET_DEVICE . Stop.

** Don't have a product spec for: 'pac_otter'
[Android Q&A, Help & Troubleshooting] happysmile:
Hi guys. I had a question but didn't know where to ask. Sorry if asking in a wrong place. And would you please make a thread for asking general question? Thanks.

Guys i had a eken W90 tablet.It's board faced a problem and i changed it's board with eken A90.now with this new board which boots nicely! But there is just a problem which the camera app give fc!

You know the problem is that the new board is for A90 but the camera is for W90!

The rom boots correctly. Now would please give me some guids on how cook the A90 rom for this tablet? If I only change the camera app of W90 rom with the A90 and install the rom does the camera become fixed?

And my idea for this is to installing CW on the newboard, backup the rom, change the camera app with W90 ROM and restore the new rom?

Thanks guys.
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
That I get confused on take a look at other phones like the epic and fascinate those are the ones I did.
[Android Q&A, Help & Troubleshooting] firered365:
I downloaded your ROM. What do I search up now?
[Android Q&A, Help & Troubleshooting] ravike14:
This is not a source build problem but since everyone In here mess a lil deep with their phones, does anyone know any htc phone which uses qualcomm cpu with ti wilink?? From sense 4 to up?? Thanks :)
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
I meant in the source in vendor/PAC/products open a config and make sure you defined all the configs necessary for it to find your device files
[Android Q&A, Help & Troubleshooting] firered365:
OK Thanks
[Android Q&A, Help & Troubleshooting] makaveli187:
Could you please tell me, how you resolve the building issues?

I'd like to know the exact steps, I cannot get past this error...

Thanks in advance!
[Android Q&A, Help & Troubleshooting] KerryWood34:
I was never able to resolve this error. Nobody would answer me when I posted that. I ended up giving up on building my own ROM...
[Android Q&A, Help & Troubleshooting] speed_bot:
well i was inactive here since a long time..so im back now.can you tell me what the error was?
[Android Q&A, Help & Troubleshooting] KerryWood34:
I don't even remember. I may have posted it before. I'll go look through this thread.
[Android Q&A, Help & Troubleshooting] wilfredcool007:
Guys... need some help...

Building aokp-mr1 for Baffin ( Galaxy Grand )

target R.java/Manifest.java: DownloadProvider (/home/rish/android/aokp-mr1/out/target/common/obj/APPS/DownloadProvider_intermediates/src/R.stamp)
target R.java/Manifest.java: DownloadProviderUi (/home/rish/android/aokp-mr1/out/target/common/obj/APPS/DownloadProviderUi_intermediates/src/R.stamp)
target R.java/Manifest.java: DrmProvider (/home/rish/android/aokp-mr1/out/target/common/obj/APPS/DrmProvider_intermediates/src/R.stamp)
target R.java/Manifest.java: Email (/home/rish/android/aokp-mr1/out/target/common/obj/APPS/Email_intermediates/src/R.stamp)
invalid resource directory name: packages/apps/Email.2/res/values-inverted
invalid resource directory name: packages/apps/Email.2/res/color-inverted
invalid resource directory name: packages/apps/Email.2/res/drawable-inverted-hdpi
invalid resource directory name: packages/apps/Email.2/res/layout-sw600dp-inverted
invalid resource directory name: packages/apps/Email.2/res/drawable-inverted
invalid resource directory name: packages/apps/Email.2/res/layout-inverted
invalid resource directory name: packages/apps/Email.2/res/drawable-inverted-nodpi
invalid resource directory name: packages/apps/Email.2/res/drawable-sw600dp-inverted-hdpi
invalid resource directory name: packages/apps/Email.2/res/values-sw600dp-inverted
invalid resource directory name: packages/apps/Email.2/res/drawable-sw600dp-inverted-xhdpi
invalid resource directory name: packages/apps/Email.2/res/drawable-sw600dp-inverted-mdpi
invalid resource directory name: packages/apps/Email.2/res/drawable-inverted-mdpi
invalid resource directory name: packages/apps/Email.2/res/drawable-inverted-xhdpi
make: *** [/home/rish/android/aokp-mr1/out/target/common/obj/APPS/Email_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....
/home/rish/android/aokp-mr1/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/org/apache/http/impl/c

Getting this damn thing.. Any help would be appreciated !!
[Android Q&A, Help & Troubleshooting] Nihar.G:
Hello guys,

I've been trying to build PA for HTC Pico. The build boots and most things work fine, but I have a weird problem. The WiFi gets connected, and mobile data also shows the 'E' symbol, but I cannot access internet. Browser shows page not found and I could not sign into google either.

Heres the logcat: http://pastebin.com/9dUYZYfb

Any help will be appreciated.

Thank you in advance.
[Android Q&A, Help & Troubleshooting] shimp208:
After taking a look at your logact one error that stands out is:

If a critical library is missing that is related to data networking this could defiantly prevent mobile data from working. I would recommend trying a new build and making sure that the missing library is present.
[Android Q&A, Help & Troubleshooting] Nihar.G:
I have already tried that. Doesn't work. :(

PS: Internet works fine in all other 4.2.2 ROMs without that lib.

PS: Logcat when library is present: http://pastebin.com/SjvP8uNZ
[Android Q&A, Help & Troubleshooting] speed_bot:
they patched the stuff so cherry pick them simple
[Android Q&A, Help & Troubleshooting] Moihack:
Could you please be a little more specific? Who are "they" and where is the stuff I need to cherry pick?

I found this repo here: https://github.com/ShenduOS/android_hardware_qcom_media

Tried all ics/cm9 related branches but still the same errors...
[Android Q&A, Help & Troubleshooting] speed_bot:
contact any developer of that platform..as i havent worked on that platform i cant excalty say.