yashsingh1/xdaforums huggingface dataset:
[Android] :
Hey guys,

I want to throw in an error that I expected after successfully compiling jelly bean for my i9100g.

Everything is working - except the sd card. Rootexplorer just says sd card not correctly mounted.

The logcat says:

E/Vold ( 158): Filesystem check failed (unknown exit code 8)

E/Vold ( 158): /dev/block/vold/179:0 failed FS checks (I/O error)

D/Vold ( 158): Volume sdcard0 state changing 3 (Checking) -> 1 (Idle-Unmounted)

Full one: http://pastebin.com/rv1EzyFH

Any ideas? :/ It also happens when I compile aokp (but another developer compiled it successfully and I used his source for testing, but no success).

What am I doing wrong?

Thanks for your help :)
[Android] mg2195:
I am really confused...so who wants to help me :P

im trying to port an aosp rom (slim bean) from source...and i need to edit my manifest.xml (i think)

heres the manifest.xml of the rom im trying to port https://github.com/krarvind/Manifest/blob/master/default.xml#L13

from what i understand i need to edit the top part of my manifest.xml to include this

<manifest>

all the way through

<default revision="master"
remote="aosp"
sync-j="4" />

( the above codes being replaced with actuall full code from the manifest.xml linked above...just didnt wanna paste the whole thing here)

and then add some stuff to the bottom...

my problem is that that manifest is for ics...so what do i need to change for jelly bean? i think i just change the revisions...but im not positive...like i need to change the cyanogenmod revision to "jellybean" instead of "ics"

also what about the ones that are on master? do i just leave those at master? or do i need to figure out what the jellybean revisions are for those as well?

any help is appreciated...even if its just with one part of question...

BTW, i do have permission to port as long as it is from source i dont really want to bother krarhind with these questions as he maintains the slim roms for a TON of devices...until i hear back from anyone i think im just gonna try and port slim ics for practice (since thats what the manifest is already setup for...)
[Android] mingolianbeef:
Ur sd card mount is broken lol
[Android] yosterwp:
I have never dealt with anything like that, but does things work when you change every instance of "ics" to either "jellybean" or "jb?

By the way, if any one is able to build AOSP for their Verizon Samsung Galaxy SIII, can they let me know if it boots and/or how they get it to boot?
[Android] mg2195:
havent attempted it yet...im working on the ics one for practice right now...what about the ones at master? when i attempt the jellybean version should i leave those as master?

For anyone else, im getting this error right now

build/core/config.mk:152: *** TARGET_ARCH not defined by board config: device/samsung/infuse4g/BoardConfig.mk. Stop.

** Don't have a product spec for: 'full_infuse4g'
** Do you have the right repo manifest?

any suggestions? im currently comparing this working directory with another directory that i can compile successfully...but if someone can speed up my looking process for the problem that would be great!
[Android] dastin1015:
Android.mk in bionic/tests:

LOCAL_MODULE_TAGS := optional

Always put that value in the Android.mk of any module it requires.
[Android] dastin1015:
You haven't defined what type of processor your device has in the BoardConfig.mk in your device repo. For example the HTC Evo 3D is an armv7 processor so I have these lines:

TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_ARCH_VARIANT := armv7-a-neon

The thing about this manifest is that he only uses a master branch and not one that specifies ICS, JB, etc. Changing the CM part to jellybean will only pull jellybean for the repos he is calling from CM. The rest will be pulled from his repos and whatnot and they are all ICS.

Let me see the source. I need to see if your mount points for sdcard in the xml of frameworks, vold.fstab and init file of your ramdisk are properly adjusted to JB specifications.
[Android] dastin1015:
Windows already has a partitioning tool and it doesn't take hours, just a few minutes at most. http://technet.microsoft.com/en-us/magazine/gg309170.aspx
[Android] mg2195:
i tried putting it in the android.mk inside bionic/tests and still got the same error...maybe i didnt put it in the right place? id th bionic/tests even neccesary? can i just delete the whole folder? i ask this only because this is the only workin g directory i have that contains bionic/tests...the tests sub-folder does not exist in any other working directory on my computer...

thanks for the reply though :D
[Android] dastin1015:
Where is that tests folder even being pulled from?

That line also has to be added after every instance of:

include $(CLEAR_VARS)

Or:

include $(BUILD_SHARED_LIBRARY)
[Android] mg2195:
Thanks, i wasnt entering it in the right place...i am now past that error and onto this one :

build/core/java.mk:30: *** cts/apps/CtsVerifier: Invalid LOCAL_SDK_VERSION 'current' Choices are: . Stop.

im gonna go to bed though...its getting too late...i need a fresh brain :P

anyways...i think it was getting the tests folder from here: https://android-review.googlesource.com/ ...but idk for sure...
[Android] yosterwp:
Many of us use xda on our phones, so for output that large, it is better you put it in a pastebin or a service similar to that.
[Android] mg2195:
Yeah....the hide tags are not working....I still see everything...no "unhide" or "spoiler" button...just a ton of code...

Hide tags need to be lower case like this:

hide

Please edit all three of your posts with the correct hide tag...
[Android] CallMeVentus:
Delete your libssl_intermediates folder
[Android] gokussjx:
I tried everything lower case, & tested on Tapatalk... wow, I don't think Tapatalk can hide that much code at all.

Gimme some time, I'll remove them... Computer's compiling.

Anyway, is it normal to see hundreds of 'undefined variable', 'error', etc? Compilation doesn't stop, but I see millions of such notifications many times.

Thanks

------------

Yeah, tried that just a few minutes ago. Will know if it worked.

PS: If my screensaver comes up while compiling, my system shuts down instantly.Too much for the CPU?
[Android] xT4Z1N4TRx:
im getting a similar error. i get

build/core/product_config.mk:193: *** _nic.PRODUCTS.[[device/htc/vision/vision.mk]]: "device/htc/common/common.mk" does not exist. Stop.

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

** Do you have the right repo manifest?
[Android] danielgek:
you have to download common folder a put it in ;)
[Android] xT4Z1N4TRx:
where is the common folder? and where do i put it? cheers
[Android] ATMOSF3AR:
Thanks

Looks good but no idea of this :rolleyes:
[Android] Supervenom:
Use ICS folder.
[Android] elia222:
Can I build jb for an arm6 device with this guide?
[Android] danielgek:
where did you get your device specific files??
[Android] Messi10:
problem

root@ali-Satellite-L655:~/WORKING_DIRECTORY# lunch

You're building on Linux

Lunch menu... pick a combo:

1. full-eng

2. full_x86-eng

3. vbox_x86-eng

4. full_grouper-userdebug

5. mini_armv7a_neon-userdebug

6. mini_armv7a-userdebug

7. full_wingray-userdebug

8. full_crespo-userdebug

9. full_maguro-userdebug

10. tass-eng

11. tass-userdebug

12. full_panda-userdebug

Which would you like? [full-eng] 10

build/core/product_config.mk:193: *** _nic.PRODUCTS.[[device/samsung/tass/device_tass.mk]]: "device/common/gps/gps_ww_supl.mk" does not exist. Stop.

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

** Do you have the right repo manifest?

anyone can help???:confused:

EDIT: NVM I figured it out
[Android] xT4Z1N4TRx:
I used ./extract-files.sh (can't remember the exact command, its in the op, I'm on my phone :p ) and used the AOKP rom
[Android] danielgek:
from what repositorie did you download you vision folder?? that what i wanna mean sorry
[Android] xT4Z1N4TRx:
you mean the github thing? then i used this one https://github.com/CyanogenMod/android_device_htc_vision
[Android] danielgek:
you need this one: https://github.com/CyanogenMod/android_device_htc_common

and depending on your device i dont know if visio is msm7x30:https://github.com/CyanogenMod/android_device_htc_msm7x30-common or if its msm8660 its :https://github.com/CyanogenMod/android_device_htc_msm8660-common
[Android] xT4Z1N4TRx:
so do I need to put those files inside the vision folder that was made from the other git?

also, yes it is msm7x30, do I need to use the ics branch or the default one its on?

THANKS :D
[Android] danielgek:
no you need to put those folders inside of .../device/htc
[Android] dan-fish:
You have to fork the htc common folder or get it from somewhere else. It's no longer on the cyanogenmod page so you cannot clone it.
[Android] xT4Z1N4TRx:
Ok thanks guys, let me get this straight

where does the cloned files of https://github.com/CyanogenMod/android_device_htc_vision go in? Does it go in device/vision or device/htc/vision?
[Android] NineInchNails:
device/htc that's it. Clone it there as Daniel said.

Also if you've never built from source before Jelly Bean won't be the best place to start learning tbh. Everyone is going to get errors upon compiling for their perspective devices. It won't immediately build for your device like magic unless its the Nexus. This takes a ton of debugging, patience and persistence. Willing to bet a lot of people here will help but also keep in mind they maybe trying to get past errors themselves.
[Android] xT4Z1N4TRx:
thanks a lot man, got it, its compiling now, cheers :):)

its funny how, as i said that, i got another error. after typing make -j5, i get this

any ideas? cheers :D
[Android] NineInchNails:
see above edited post.. gotta do some of this on your own man.

Hint: look at what that says. It kind of spells out the error already.
[Android] jmromanos:
Can somebody help me? I don´t know how to fix it, and I've tried a lot of possible solutions without good results.

Thanks in advance.
[Android] CallMeVentus:
Sleep mode in Ubuntu

"Friends forever." - Ventus
[Android] mg2195:
Your hide issue is because of this (hide)(CODE)words(/hide)(/CODE)

You need to be like this (CODE)(hide)words(/hide)(/CODE)

Of course switch the parentheses with brackets...just did that so you can see..

Go to your computer settings and set it to never sleep...that's what I do
[Android] gokussjx:
Okay, here's new status:

[hide]Copy: out/target/product/i9300/system/lib/libUMP.so
Copy: out/target/product/i9300/system/lib/libfimc.so
WebCore Yacc: libwebcore <= external/webkit/Source/WebCore/css/CSSGrammar.y
WebCore Yacc: libwebcore <= external/webkit/Source/WebCore/xml/XPathGrammar.y
Generating libraries.cc
python out/target/product/i9300/obj/STATIC_LIBRARIES/libv8_intermediates/js2c.py out/target/product/i9300/obj/STATIC_LIBRARIES/libv8_intermediates/libraries.cc CORE off external/v8/src/runtime.js external/v8/src/v8natives.js external/v8/src/array.js external/v8/src/string.js external/v8/src/uri.js external/v8/src/math.js external/v8/src/messages.js external/v8/src/apinatives.js external/v8/src/date.js external/v8/src/debug-debugger.js external/v8/src/json.js external/v8/src/liveedit-debugger.js external/v8/src/mirror-debugger.js external/v8/src/regexp.js external/v8/src/macros.py
Traceback (most recent call last):
File "out/target/product/i9300/obj/STATIC_LIBRARIES/libv8_intermediates/js2c.py", line 36, in <module>
import bz2
ImportError: No module named bz2
make: *** [out/target/product/i9300/obj/STATIC_LIBRARIES/libv8_intermediates/libraries.cc] Error 1
make: *** Waiting for unfinished jobs....

Total time elapsed: 33 minutes (2006.195510715 seconds) [/hide]

This time, before compiling, I had cleared out the complete WORKSPACE/out directory.

Also tried individually clearing the intermediates.

After 33 minutes, this is what I get.
[Android] CallMeVentus:
Why did you delete the entire folder ?!!

Fine . Run make clobber then compile again

"Friends forever." - Ventus
[Android] gokussjx:
I have it backed up.

Will try using it then.

I'm using self-compiled Python. I hope that's not got anything to do with this issue.

Thanks again.

---------- Post added at 07:12 PM ---------- Previous post was at 06:59 PM ----------

New problem:

[hide]Install: /home/bidyut/android/system/out/target/product/i9300/system/usr/icu/icudt48l.dat
Install: /home/bidyut/android/system/out/target/product/i9300/system/vendor/etc/audio_effects.conf
Traceback (most recent call last):
File "out/host/linux-x86/obj/EXECUTABLES/mksnapshot_intermediates/js2c.py", line 36, in <module>
import bz2
ImportError: No module named bz2
Traceback (most recent call last):
File "out/host/linux-x86/obj/EXECUTABLES/mksnapshot_intermediates/js2c.py", line 36, in <module>
import bz2
ImportError: No module named bz2
make: *** [out/host/linux-x86/obj/EXECUTABLES/mksnapshot_intermediates/libraries.cc] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/host/linux-x86/obj/EXECUTABLES/mksnapshot_intermediates/experimental-libraries.cc] Error 1
[/hide]

So, every INTERMEDIATE that causes problem, I should delete?

I can do that, but can you tell me why it happens? I better know the cause before treating such.

Also, wouldn't this lead to a faulty build?
[Android] csking33:
Yes, I know windows has it's own tool, but this is much easier to use and more powerful, in my opinion at least. Also free! It's worth the download to not have to deal with the windows software.
[Android] CallMeVentus:
I think your self-compiled Python is the problem , or rather it can't find a module named "bz2"

"Friends forever." - Ventus
[Android] graffitiwriter:
Ok i think i actually won this time (maybe). This is what i got.

Please install pngcrush,optipng, or pngout.

Zipping package

Zipping package

Cleaning up

package complete.home/edaps/aokp_jb/out/target/product. My.zip

Sorry im not actually in front of my cpu,made my girl read all that to me over the phone.lol. So am i good or the png programs going mess me up?
[Android] gokussjx:
Python was indeed the problem :)

If anyone ever needs help with 'bz2', you either didn't install bzip2, or you have it installed but not properly symlinked.

If former, just install bzip2 files & dependencies.

If latter, simply adding proper python PATH parameter helps.

Again, thanks Ventus, mg2195, dastin.

Your help & instructions are highly commendable :)

Keep it going
[Android] sakindia123:
Yo,anybody has a idea about this?

target thumb C: libbcc <= out/target/product/pico/obj/SHARED_LIBRARIES/libbcc_intermediates/libbcc-stamp.c
/home/sakindia123/cm10/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/pico/obj/SHARED_LIBRARIES/libhwcexternal_intermediates/hwc_external.o: in function qhwc::ExternalDisplay::setActionSafeDimension(int, int):frameworks/native/include/utils/Mutex.h:115: error: undefined reference to 'overlay::utils::ActionSafe::sActionSafe'
collect2: ld returned 1 exit status
realmake: *** [out/target/product/pico/obj/SHARED_LIBRARIES/libhwcexternal_intermediates/LINKED/libhwcexternal.so] Error 1
realmake: *** Waiting for unfinished jobs....

i m building for Htc Explorer...and i can build fine for other devices,so machine is in mint condition ;)

Device config for 4.1.1 cm10-->https://github.com/sakindia123/android_device_htc_pico_ics
[Android] dastin1015:
No. Those are optimizations of the zip files used by custom source built ROMs like CM. Just do:

sudo apt-get install pngcrush

私のEVO 3Dから送信される。
[Android] graffitiwriter:
Will do thanks..So is it safe to flash that .zip or should install and recompile? I used aokp source.
[Android] dastin1015:
All it really does is squish the ROM by optimizing the apks in the ROM. Since you didn't have pngcrush you just had a renamed otapackage as opposed to an optimized one.
[Android] :
Hi Everyone,

I've been able to fix most of my errors up until now (searching for many of them on google actually brought me to this thread) however I haven't been able to get around this particular error. Any advice would be greatly appreciated!

http://pastebin.com/y1J3Pf7X
[Android] sakindia123:
even i face a similar toolchain error

target thumb C: libbcc <= out/target/product/pico/obj/SHARED_LIBRARIES/libbcc_intermediates/libbcc-stamp.c

/home/sakindia123/cm10/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/pico/obj/SHARED_LIBRARIES/libhwcexternal_intermediates/hwc_external.o: in function qhwc::ExternalDisplay::setActionSafeDimension(int, int):frameworks/native/include/utils/Mutex.h:115: error: undefined reference to 'overlay::utils::ActionSafe::sActionSafe'

collect2: ld returned 1 exit status

realmake: *** [out/target/product/pico/obj/SHARED_LIBRARIES/libhwcexternal_intermediates/LINKED/libhwcexternal.so] Error 1

realmake: *** Waiting for unfinished jobs....
[Android] mg2195:
Sooooo...can i get some help from the experts?

make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/framework2_intermediates/javalib.jar', needed by `out/target/common/obj/APPS/ApplicationsProvider_intermediates/classes-full-debug.jar'. Stop.
make: *** Waiting for unfinished jobs....

heres a pastebin of my full terminal output...http://pastebin.com/vhnpsP5S

edit...just ran make -j4 again...and it seems to be going fine...should i be worried about the previuos errors above?

edit 2: got the same error again...but the rest of my terminal output is differnt...here it isif you wanna look at it http://pastebin.com/rd0F8NaQ

so can someone help me with the error above?
[Android] dastin1015:
AOSP doesn't use the split frameworks. Apply this patch: https://github.com/CyanogenMod/andr...mmit/854f6f736b90d33b59b5a85bcecf72a416c43b7d
[Android] toxicthunder:
while compiling AOSP for N7000, I am getting an Android Magic Headers not found error. For the boot.img.

In CM variants I remember it was also, missing (when kanging using the kitchen)

Could someone please elaborate on this?
[Android] dastin1015:
Samsung uses a different method for their recovery, boot and kernels. Recovery and kernel are baked into the boot.img in a non-traditional way.
[Android] mg2195:
Thanks...just added that patch...compile now...hopefully no more errors...:)
[Android] mg2195:
a while ago you told me this...i was wondering if there was any way to add support for inline kernel building...i only ask because its a pain to update and compile the kernel separately...but its not really that big of a deal
[Android] dastin1015:
I don't know when in CM9 they added inline kernel building and where it's implemented. What you can do is pre-compile the kernel and modules and once you have those you include the kernel and modules to your device repo and use PRODUCT_COPY_FILES += to copy over the modules and in BoardConfig.mk you use TARGET_PREBUILT_KERNEL := to copy over the kernel.
[Android] mg2195:
Alright...I'm going crazy trying to figure this out...everytime I compile and flash I always end up with touch screen being extremely unresponsive...

There is cyanogen10 for my device and it runs almost flawless...I'm using the same device and kernel tree as well as proprietary files as cm10, but on aosp touch screen just doesn't want to work right....like it seems like it doesn't recognize when you stop touching...and you can somewhat navigate around using two fingers...

Why would touch work on cm10 and not aosp even though both are using the same device tree, kernel tree and proprietary files? The only difference in the aosp one is that I took out the overlays from my device tree...but I looked at those and saw nothing that referenced touch...

Any idea why touch isn't working? Any theories? Any possible solutions? I tried doing a logcat but no errors relating touch popped up...
[Android] CallMeVentus:
CM10 is a more optimized + more dirty-hacks version of AOSP and it contains more source files for other companies , take for example the hardware/qcom/gps in both .

"Friends forever." - Ventus
[Android] :
I had to use "make clean" then the problem seemed to rectify itself. I also switched from inline kernel building to a prebuilt kernel at some point but I don't know if this had anything to do with solving the issue.
[Android] sakindia123:
i had to make changes to libqcomui to get it to compile and boot properly.Lucky you :)
[Android] :
Did it!

I managed to build my first ROM! I'm so satisfied! Thanks a lot to all of you helpful people in this thread!:D
[Android] kevin130:
Help

I am trying to compile cm10 on the HTC EVO 3D also. Whenever i do lunch and choose one i get this error. The file it is talking about isnt there when i look in the folder. How do i get passed this?

Lunch menu... pick a combo:

1. full-eng

2. full_x86-eng

3. vbox_x86-eng

4. full_grouper-userdebug

5. mini_armv7a_neon-userdebug

6. mini_armv7a-userdebug

7. full_wingray-userdebug

8. full_crespo-userdebug

9. full_maguro-userdebug

10. full_panda-userdebug

Which would you like? [full-eng] 1

build/core/product_config.mk:193: *** _nic.PRODUCTS.[[device/htc/shooter/shooter.mk]]: "device/htc/msm8660-common/msm8660.mk" does not exist. Stop.

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

** Do you have the right repo manifest?
[Android] sakindia123:
Add msm8660-common repo from cyanogenmod github
[Android] dastin1015:
shooter or shooteru? I'm currently working on CM10 for the shooter. My github repos do a complete compile, but no boot yet.

You can find the repo's here: github.com/TeamJB
[Android] kevin130:
How?

How would i do that? What lines of code?

---------- Post added at 08:47 PM ---------- Previous post was at 08:45 PM ----------

lol sorry but how do i add your github repos? And its the shooter (CDMA)
[Android] dastin1015:
Same as the previous git clone commands in the OP. Replace the CyanogenMod part of the git clone command with TeamJB:

$ git clone git://github.com/TeamJB/android_device_htc_shooter.git -b jellybean shooter
$ cd ..
$ git clone git://github.com/TeamJB/android_device_htc_msm8660-common.git -b jellybean msm8660-common
[Android] :
I think the luck is still with you. I'm getting it to compile but not boot properly. It appears to be a display driver issue.

http://pastebin.com/5UrkVsPY
[Android] kevin130:
..

Now im getting this error.

Lunch menu... pick a combo:

1. full-eng

2. full_x86-eng

3. vbox_x86-eng

4. full_grouper-userdebug

5. mini_armv7a_neon-userdebug

6. mini_armv7a-userdebug

7. full_wingray-userdebug

8. full_crespo-userdebug

9. full_maguro-userdebug

10. full_panda-userdebug

Which would you like? [full-eng] 1

build/core/product_config.mk:195: *** device/htc/shooter/shooter/shooter.mk: PRODUCT_NAME must be unique; "htc_shooter" already used by device/htc/shooter/shooter.mk device/htc/shooter/shooter/shooter.mk . Stop.

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

** Do you have the right repo manifest?

---------- Post added at 09:40 PM ---------- Previous post was at 09:24 PM ----------

WAIT! So i have to do Repo sync ALLLL over again?????
[Android] sakindia123:
hey,u can check out my github for libqcomui i use on htc exlorer,might help on your flyer

https://github.com/sakindia123/android_device_htc_pico_ics (it's jb,forgot to change name),it's works for me and my cm10 build boots fine(takes very long to boot though,90 sec for normal boot)

also,i recommend u check qualcomm's dev site for new jellybean adreno 2xx libs for arm v7 devices
[Android] kevin130:
Doesnt make Sense

IM getting this error when i try to compile. it doesnt really make sense.

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

Checking build tools versions...

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

You are attempting to build with the incorrect version

of java.

Your version is: java version "1.6.0_24".

The correct version is: Java SE 1.6.

Please follow the machine setup instructions at

https://source.android.com/source/download.html

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

build/core/main.mk:141: *** stop. Stop.
[Android] mg2195:
Look at bottom of op...