yashsingh1/xdaforums huggingface dataset:
[Android] mg2195:
This is the only jellybean kernel for our device...and I know it works...I built cm10 a while ago using it...but the original dev working on cm10 left due to loss of upstream support a while ago...so I though I would try and fight through the errors...

Thanks for the suggestion though
[Android] cowsquad:
How do I add toro-userdebug to my lunch list men?. I don't see it on it. And if I lunch full_toro-debug menu I get an error about not having device product something
[Android] lithid-cm:
In your device tree you can add another line to the vendorsetup,sh
[Android] sjoerd0301:
Maybe you can trie another toolchain,

The CM10 one if that one worked...

My kernel won't compile either. Ill trie it with ubuntu 12.04 and 10.04.

And another toolchain.
[Android] cpwshf:
Sorry to bother you, I was trying to make this change as I am getting errors of "fatal error: linux/genlock.h: no such file or directory" as well and I verified the files/folders are there, however I cannot seem to figure out where I need to Define this in the device tree? Are you talking about the mk files for the device?

Thanks
[Android] cybojenix:
Has no one really had this issue?

It seems to be an issue with msm7x2k devices

It I affecting around half the packages for audio.

Someone suggesting using srec from cm, but I don't understand them and they haven't replied since

Please help
[Android] mg2195:
I got it! I was starting to think maybe it was the kernel so I did the command make bootimage and was getting the same error...

So I did make clobber to clean out my out directory, I then did make boot image and the kernel finally compiled, once the kernel was compiled I did mka bacon

Still gotta test it out on my HTC vivid though...happy I got a build to finish though :D
[Android] sjoerd0301:
Hmm, i got a full build ready, but except that the .img files don't work...

Maybe without the -s option in make_ext4fs.

I heard that parsed img files will not mount.

The kernel won't boot either, compiled with GCC 4.6.3.

Ill trie to fix it, any help would be appreciated.

(Htc evo 3D gsm)
[Android] triptosyll:
What kernel tree were u using? And for what device? And what errors were u getting before u got it working? I was getting the 'cannot open .../.../..ramdisk.img' and 'cannot open .../.../..recovery.img'
[Android] mg2195:
Previous page in the middle...was a completely different error then you, it was kangbang rebirth branch...something about undefined references, also this was for cm10 not aosp
[Android] triptosyll:
K well thanks for letting me know. I'd go look at the last page, but there's a problem with my xda app. Every time I get to the top of your post on the last page, the app force closes. So for right now, the previous page is inaccessible to me. Are u working on inline kernel building?
[Android] mg2195:
No, I gave up on that a while ago...I don't mind compiling a kernel separately with cm10 then adding the new kernel to aosp based ROMs
[Android] triptosyll:
:crying: haha man. I thought u got the inline thing taken care of. U had my hopes up. :banghead: haha

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] rubervalrfl:
I saw that the repo changed:

repo init-u-b android-https://android.googlesource.com/platform/manifest 4.1.1_r6

Mine was still the r4, how do I update, because when I try to reset the repo the error.
[Android] Jwtiyar:
im on 12.04 , some packages are not exist in 12.04 , how i can get it and start building?
[Android] rubervalrfl:
Ques packages? just do the same in this initial post that works, today I have more than three repositories and compiling installed in my machine, quietly not be this last change I mentioned above.
[Android] mg2195:
Lol that's why I said earlier this is for cm10 not aosp
[Android] triptosyll:
yeah but like I said, I can't view certain places in the thread without the app crashing.

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] mg2195:
OK...in the middle of a build and my computer appears to have frozen...mouse won't move, terminal output is stuck at the same part...never had this happen while compiling...should I let it sit or pull the plug?

Edit just pulled the plug and then restarted my computer and have continued where it left off
[Android] Jwtiyar:
but some of these does not exist in 12.04 .

E: Package 'lib32ncurses5-dev' has no installation candidate
E: Package 'ia32-libs' has no installation candidate
E: Unable to locate package lib32readline5-dev
E: Unable to locate package lib32z-dev
jwtiyar@Jwtiyar:~$
[Android] mg2195:
Are you 64 bit? You have to be running a 64 bit Linux operating system... I use Ubuntu 12.04 and the first post got my build environment up and running
[Android] triptosyll:
OK this is irritating the **** outta me. Its giving me this error:

Build/core/product_config:211: no matches for product full_fascinatemtd. stop.

Now I know the guide says make sure everything matches up. That u have to change something in a file to match what ur trying to build, but I've been scanning all over. I've looked at all the mk files and the seem to all have the right info in it. Does anyone know exactly what file it is that I'm supposed to edit, and which line in the file? I'm pretty sure I've changed everything that need to b changed, but its still spitting out the error.

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] siddharth1102:
help needed

i am using htc explorer(pico) with cm9 and want to compile raw/stock/pure jellybean for my device. As explorer is not officially supported how can i add this device tree?

_______________________________________________________________________________________________

2nd thing when i command to install

$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

i get an error \/

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:01:03 --:--:-- 0curl: (7) Failed to connect to 2404:6800:4008:c00::5d: Network is unreachable

why isnt it getting speed? While other things downloaded without any problem.
[Android] cpwshf:
Hello,

I have been making some progress with building AOSP for the Samsung SGS3, unfortunately I have been unable to find a solution for the current issue I have. I was able to make a build and flash it to my phone, however there was no audio and no display... I found there was part of a device tree I had missed as well as a few /hardware folders/files, which I was able to clone. Now however when I try to build I get the following:

Export includes file: hardware/qcom/audio/alsa_sound/Android.mk -- out/target/product/d2vzw/obj/SHARED_LIBRARIES/audio.primary.msm8960_intermediates/export_includes
Import includes file: out/target/product/d2vzw/obj/SHARED_LIBRARIES/audio_policy.default_intermediates/import_includes
make: *** No rule to make target `out/target/product/d2vzw/obj/SHARED_LIBRARIES/libaudioparameter_intermediates/export_includes', needed by `out/target/product/d2vzw/obj/SHARED_LIBRARIES/audio_policy.msm8960_intermediates/import_includes'. Stop.

i'm just trying to figure out what I have missed, and coming up short. I would really appreciate some direction on this.

Thank You

UPDATE: I also tried to build this using -d option, however the output I logged doesn't get me any closer to figuring this out.
[Android] mg2195:
Step 6.1 in he op....

Replace r1 with r6...
[Android] triptosyll:
Any ideas on this anyone?

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] cybojenix:
In cm.mk check it says

PRODUCT_NAME := full_device-name

---------- Post added at 07:15 AM ---------- Previous post was at 07:11 AM ----------

Replace external/srec folder with the found in cm10

You can get the cm10 one from github
[Android] cpwshf:
Thank you for responding.

I replaced the external/srec folder with the cm10 one like you mentioned, however I still get that same error when trying to build.

---------- Post added at 09:00 AM ---------- Previous post was at 08:51 AM ----------
[Android] triptosyll:
Does ANYONE have any idea how to fix this? I've tried many things, and nothing. Can anyone help?

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] cybojenix:
It seems there is a problem with the sources

A patch that we use on camera is this

mkdir out/target/product/d2vzw/obj/SHARED_LIBRARIES/libaudioparameter_intermediates
touch out/target/product/d2vzw/obj/SHARED_LIBRARIES/libaudioparameter_intermediates /export_includes

Add this to your device.mk file

---------- Post added at 11:37 PM ---------- Previous post was at 11:25 PM ----------

Instead of doing lunch, try brunch

So

. build/envsetup.sh && brunch device

If a similar error comes up, change product name in cm.mk (might be aokp.mk)

Or

Look in vendor/aokp/products

Is there a mk file for your device? If there isn't, make one based on another device file
[Android] triptosyll:
The only thing in my vendor folder is: vendor/Samsung/fascinatemtd. And the files in there are:

1: boardconfigcommon.mk

2: fascinatemtd-vendor.mk

3: fascinatemtd-vendor-blobs.mk

Am I supposed to have more in the vendor directory? And where would I get it if I do?

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] mg2195:
Can you give us a link to the device and vendor trees your using? Maybe I or someone else can take a look
[Android] triptosyll:
Gimme a few, I'll get the link for the device tree. For the vendor tree, the vendor directory was made with the extract-files.sh. Is there more needed than that?

EDIT:www.github.com/sbrissen/android_device_samsung_fascinatemtd

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] mg2195:
That should be good...and the prebuilt vendor setup with this: "add_lunch_combo full_fascinatemtd-userdebug" doesn't not work?

I'll download it in a little and see if I can get it going
[Android] triptosyll:
It added it to the lunch list, but spits out that error when I select that option.

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] mg2195:
Yeah...so I found out...I'll look more into it tomorrow...
[Android] triptosyll:
Ur awesome yo. I've been trying to figure this out for days. I'm no dummy, things click, things make sense to me, so this is extra irritating. I know what is happening, and I know what its telling me needs to b done, but as far as I can tell, its all in working order. So this don't make sense...

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] cybojenix:
I sent a pull request to you, please try it out
[Android] triptosyll:
U didn't send ME one lol

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] cowsquad:
What KIND of PC's spec. do we need to compile ICS.

I have a dual core 1.2 laptop with 4gb of ram. But my computer freezes in the middle of the building process.

t

tapatalked² from cowsquadGnex®
[Android] cybojenix:
Check your pull requests, I've just checked and I can see it with out being logged in

https://github.com/sbrissen/android_device_samsung_fascinatemtd/pull/1
[Android] triptosyll:
Oh. See I know nothing about pull requests. I don't know what to do with it, but I will change that part of the vendor setup.sh, the try and run it again. But it'll have to wait till after work. Thanks bud.

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] mg2195:
I have a dual core 2.8 GHz CPU with 4gb ram

Ram doesn't do much when it comes to source...its all in the CPU...

Make sure your not running any other programs when compiling, and just use the command "make otapackage" adding a -j# is just gonna it more stress on your CPU
[Android] triptosyll:
So, did to see anything worth changing in that tree?

And that pull request that someone sent me, I made the changes, but got the exact same error.

I'm lost. I have no idea how to even get this device tree to work so I can start building.

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] cowsquad:
What device are you trying to add?

tapatalked² from cowsquadGnex®
[Android] triptosyll:
The fascinate. I'm using http.github.com/sbrissen/android_device_Samsung_fascinate as the repo for the device tree. No matter what I do I get error build/core/product_config.mk:211:***no matches for full_fascinatemtd'. Stop.

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] cowsquad:
My build is done. But I haven't found any zip file in my out/target/product/toro. There are folders and some ramdisk.IMG. how do I make a zip?

tapatalked² from cowsquadGnex®
[Android] toxicthunder:
It means you didn't get a build. Check the last message that you get before returning to the prompt.
[Android] cowsquad:
I didn't get any errors that's for sure. I already closed the terminal. Should I run make again?

tapatalked² from cowsquadGnex®
[Android] toxicthunder:
Well if you can you should.

When it finishes, read the last line to check whether it states that a zip file is now ready under /out/target/product/device
[Android] mg2195:
For a zip you need to do make otapackage

As it said in the op...
[Android] cowsquad:
I did run make -j4 otapackage

tapatalked² from cowsquadGnex®
[Android] mg2195:
Then as said earlier something must have went wrong...it wouldn't hurt to run it again (don't delete or run make clean/clobber)
[Android] itzdarockz:
I know that this isnt cm but im having an error with a device tree i created for my phone

I entered . build/envsetup.sh && brunch chief

and i got

build/core/config.mk:136: *** No config file found for TARGET_DEVICE SPH-D600. Stop.

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

** Do you have the right repo manifest?

Any help here? Thanks will be given.
[Android] cowsquad:
I ran make j-4 otapackage And got this

Make:*** no rule to make target 'otapackage'. Stop

Any ideas?

tapatalked² from cowsquadGnex®
[Android] mg2195:
You need to do "make -j4 otapackage" you can't do "j-4"
[Android] cowsquad:
I did that but it didn't fix the error

tapatalked² from cowsquadGnex®
[Android] bieltv3:
Guys, I've a question, when I have my sources I make . build/envsetup.sh && brunch 'mydevice' then all goes good and says:

Package complete: /home/bieltv3/WORKING_DIRECTORY/out/target/product/my device'/cm-10-20120930-UNOFFICIAL-cooper.zip

But then I change some files today and when I try to compile says:

Package complete: /home/bieltv3/WORKING_DIRECTORY/out/target/product/my device'/cm-10-20120930-UNOFFICIAL-cooper.zip

It doesn't change the date, is it because I've to make a clean command or somehting, or is the zip updated?

thanks
[Android] cpwshf:
On stock AOSP depending on what files you have changed, you can use the make snod command, or you can do a make clobber, make clean, the run make . build/envsetup.sh && brunch 'mydevice' again.
[Android] semdoc:
That's right. It'll updated after make clean command.
[Android] cowsquad:
i am getting this trying to compile jelly bean on my galaxy nexus toro.

if I run make -j4 otapackage, I get the:

Make: *** no rule to make target 'otapackage'

when i run make -j4, i get this:

Docs droiddoc: out/target/common/docs/doc-comment-check

Docs droiddoc: out/target/common/docs/api-stubs

target SharedLib: libutils (out/target/product/generic/obj/SHARED_LIBRARIES/libutils_intermediates/LINKED/libutils.so)

target SharedLib: libhardware_legacy (out/target/product/generic/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/LINKED/libhardware_legacy.so)

target Symbolic: libdvm (out/target/product/generic/symbols/system/lib/libdvm.so)

Install: out/host/linux-x86/lib/libdvm.so

Install: out/host/linux-x86/lib/libSR_Core.so

javadoc: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

make: *** [out/target/common/docs/doc-comment-check-timestamp] Error 45

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

javadoc: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

make: *** [out/target/common/docs/api-stubs-timestamp] Error 45

any ideas guys?
[Android] lithid-cm:
You don't have to clean up your entire build to fix the date. It simply looks for the existing "out/target/manguro/system/build.prop"

Just remove the file and let the build.prop rebuild and the date will be updated again.

https://github.com/CyanogenMod/android_vendor_cm/blob/jellybean/config/common.mk
[Android] Jwtiyar:
i dont know where i can clone to pyramid??

thank you/

---------- Post added at 01:58 PM ---------- Previous post was at 01:57 PM ----------

i dont know where i can clone to pyramid??

thank you/
[Android] Jwtiyar:
its 7.7 GB and still syncing, when it complete?
[Android] lithid-cm:
When $? Equals 0.
[Android] Jwtiyar:
:) i didnt get it ? now its 10.4 gb
[Android] mg2195:
Don't worry your almost done...depending on what you sync I've noticed it can be anywhere from 8-12gb
[Android] triptosyll:
Hey mg, did u have any more luck with that device tree than I did? I tried a device tree from a different place Otto, and got the exact same error. Do u know of anywhere else that error might originate from? Something else that may need to b changed other than the device tree?

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] mg2195:
Only tried I that one time... haven't really gotten around to looking for a fix...been pretty busy with school and my own projects
[Android] triptosyll:
That's fine yo. I was just wondering. I've kind of put it off to the side for a bit anyway, cuz I can't figure it out. Thanks for the help Uve already provided so far!

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] Jwtiyar:
i don know it was 14 gb and did syncing , so i stpped it and deleted all cauza made me angry.

thank you.
[Android] cowsquad:
Were you syncing CM10 or Aosp? Aosp is like 8 and it takes one and 30 on my laptop using my phone's internet

tapatalked² from cowsquadGnex®
[Android] DragunKorr:
keeps failing here will not sync any further any ideas even if i force!

remote: Finding sources: 100% (75/75)
error: RPC failed; result=56, HTTP code = 200MiB | 5.18 MiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: Cannot fetch platform/prebuilt
[Android] Jwtiyar:
I did aosp not cm, it was 14 gb and keep syncing, i don know whats wrong.

Sent from my HTC Sensation.
[Android] mg2195:
Well...deleting it was a bad idea...now you have to start from 0...and if I may ask, how slow is your internet connection? Seems like you have been downloading for over two days now...if your internet is that slow...then I wouldn't even bother with building from source...its just not worth all that time...
[Android] DragunKorr:
building for pyramid what vendor should i use getting common_full.mk error from cm vendor

vendor/cm/config/common_full.mk:5: frameworks/base/data/sounds/NewAudio.mk: No such file or directory
vendor/cm/config/common_full.mk:8: frameworks/base/data/sounds/AudioPackageNewWave.mk: No such file or directory
make: *** No rule to make target `frameworks/base/data/sounds/AudioPackageNewWave.mk'. Stop.
[Android] cpwshf:
I was just wondering, what utilities folder are you referring to with CM10?
[Android] mg2195:
I think it may be specific to my infuse and other Samsung devices....but when you compile cm10 or a kernel using cm10 in the out directory there is a utilities folder...it basically contains flashing utilities for Samsung devices (we don't have normal boot.imgs) the folder contains about 5 files for me...here's what I can remember...bml_over_mtd, bml_over_mtd.sh, flash_image, dump_image, make_ext4s

I might've misspelled or forgotten a file...but that's what is in my utilities folder for my Samsung infuse...my HTC vivid doesn't have this folder for cm10...so, if your using a non Samsung phone...then what I stated earlier may be all you need for in line kernel building
[Android] cpwshf:
Hello,

I'm able to compile CM10 for my SGS3 without any problems, and I didn't see a utilities folder, even starting over from a clean CM10 source and running make bootimage, I do not see a utilities folder, even searching for some of those files, I couldn't find anything. There must be something else that's being done for the SGS3 ? The only other thing that comes to mind is maybe I don't have the right device tree....

Thank you for the response..
[Android] Jwtiyar:
Speed is not my problem, my internet speed 256 kbs.

Another question;

Where i can clone for pyramid not shooter?

Thank you.

Sent from my HTC Sensation.
[Android] triptosyll:
256kbs is VERY slow. Downloading full source will take forever at that pace.

EDIT: u can try this device tree:

https://github.com/jassycliq/android-device-htc-pyramid

Or if u wanna try another tree from somewhere else, search HTC pyramid github, and there should b a few choices.

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] lithid-cm:
256 is fine for your internet connection.

Here are some examples for 8G.

Best case full 256kbs for 9 hours.

8388608 kb
15360 kb/minute
546 minutes.
9.1 hours.

Realisic case 200kbs for 11.5 hours.

8388608 kb
12000 kb/minute
700 minutes
11.5 hours

Start the sync at night, should be fine by morning.
[Android] mg2195:
Well, if the cm10 you compile for sgs3 works then you don't need to worry about the utilities folder...I don't own an sgs3...wish I did, but I can't afford one...but its very likely they might've changed it up with it since it is such a high end device...

So if cm10 compiles without producing a utilities folder then you shouldn't have to worry about the utilities folder :)
[Android] rao_hamza:
thanks

this tutorial is awesome :)
[Android] cpwshf:
There's something definitely different about getting the SGS3 to work with a stock AOSP build(other than what;s out there). Just wish I could figure this out, everything I have tried leads to a dead end..
[Android] Jwtiyar:
My speed is not problem

, this 14 gb made me madd, thank you.

Thank you very much lithid, yes its one of the best in iraq cauz we dont have this good internet like you in europe and usa,

Ok i will try again tonight, but today i made some sync they were all synced to the root of home foldet not working-directory, i did cd working-directory and repo sync.

Sent from my HTC Sensation.
[Android] Speedkiller:
I am currently trying to do this on my Samsung gs2 skyrocket but the search is down atm so i am not able to try and find my error.

build/core/product_config.mk:223: *** Can not locate config makefile for product "cm_skyrocket". Stop.

** Don't have a product spec for: 'cm_skyrocket'
** Do you have the right repo manifest?
[Android] Jwtiyar:
when doing thias command

./extract-files.sh

it say some files is not exist , does it effect on build? or how to fix it?

http://paste.ubuntu.com/1265899/
[Android] triptosyll:
That's fine. No problem most of the time. I get some missing files when o do it too

___________________

Bacon in my coffee, please? You don't have any bacon?! Unacceptable!!
[Android] lithid-cm:
It all depends on the files, most of the time they are needed. Its just that you don't use whatever binary that is for, but without all the files your build isn't 100%. In order to fix it? Get a rom with those files.