yashsingh1/xdaforums huggingface dataset:
[HTC One S] Bowmanspeer:
Funny, no hilarious! Kept getting the same error. Figured i didnt have anything to lose so i played around. I Deleted Samsung folders and changed the name of HTC folder to Samsung and still the closest it would get to ville is msm8960-common. Besides your other suggestions that is. Deleted Baked folder and started over. :P

Edit: i know you said update sync. Haven't done that one yet so now sure now. Still a lot to learn.

Edit again: So after another complete download, this is the result of lunch menu again:

29. baked_stingray-userdebug

30. baked_tf201-userdebug

31. baked_tf300t-userdebug

32. baked_tf700t-userdebug

33. baked_vibrantmtd-userdebug

34. baked_ville-userdebug

35. baked_wingray-userdebug

Which would you like? [full-eng] 34

build/core/product_config.mk:193: *** _nic.PRODUCTS.[[device/samsung/i9100/full_i9100.mk]]: "device/samsung/galaxys2-common/common.mk" does not exist. Stop.

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

** Do you have the right repo manifest?

So why does this insist on looking for ville in all the wrong places?

Edit: So I go back to what $droyd$ suggested in removing devices from the lunch menu and what not. It just goes to another device on the list. I've removed 6 or 7 devices following those same steps. This is what it was doing before.

28. baked_tf700t-userdebug

29. baked_vibrantmtd-userdebug

30. baked_ville-userdebug

31. baked_wingray-userdebug

Which would you like? [full-eng] 30

build/core/product_config.mk:193: *** _nic.PRODUCTS.[[vendor/baked/products/crespo.mk]]: "device/samsung/crespo/full_crespo.mk" does not exist. Stop.

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

** Do you have the right repo manifest?
[HTC One S] Bowmanspeer:
So, I change the name of the HTC folder in devices to Samsung and I get this:

26. baked_tf700t-userdebug

27. baked_vibrantmtd-userdebug

28. baked_ville-userdebug

29. baked_wingray-userdebug

Which would you like? [full-eng] 28

build/core/product_config.mk:193: *** _nic.PRODUCTS.[[device/Samsung/ville/device_ville.mk]]: "device/htc/msm8960-common/msm8960.mk" does not exist. Stop.

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

** Do you have the right repo manifest?

Then it can't find the htc folder so I copied the samsung folder (which was the htc folder) and renamed htc. Then I get this:

27. baked_vibrantmtd-userdebug

28. baked_ville-userdebug

29. baked_wingray-userdebug

Which would you like? [full-eng] 28

build/core/product_config.mk:193: *** _nic.PRODUCTS.[[vendor/baked/products/d2att.mk]]: "device/samsung/d2att/full_d2att.mk" does not exist. Stop.

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

** Do you have the right repo manifest?

I moved the original Samsung folder to trash. This is crazy! All the ville parts are there for it to see but it won't see them. And this was supposed to be NOOB Proof...

and looking to be a bust. Sorry, my patience with this is wearing thin.
[HTC One S] Darknites:
Think you going have to wait in till Black_Prince had done his updating unless he already finished that.
[HTC One S] $droyd$:
Its kinda dumb I know.. People add stuff and don't give a damn about others.. Its up to your maintainer to speak up and let them know that the stuff they added is screwing his device otherwise know one will know.. Till then don't use the lunch command try

. build/envsetup.sh && brunch ville

Don't forget the period and space at the beginning..if that still gives you an error there's more we can do but it'll be hard to explain so try that first..
[HTC One S] Darknites:
Shame that the maintainer sucks at it :(.
[HTC One S] $droyd$:
Lol not saying that... your new at it.. just throwing a heads up cause you said to wait for dude to finish his update... I'm sure he's done but has no idea since he doesn't build ville...
[HTC One S] Darknites:
Ya Im not understanding this error I look at the file Black_Prince said and thats makes no different but I tried to see if I could build for any of the other phones and It comes up with the same error.
[HTC One S] $droyd$:
Its to complicated to explain with my thumb...but basicly you will need to remove the files in question it has nothing to do with the ville...
[HTC One S] Darknites:
I been looking what the error said and to me there is already a folder missing for the i9100. And for fun I removed the line it was on about and I get this instead. build/core/product_config.mk:210: *** No matches for product "baked_ville". Stop, which is this line INTERNAL_PRODUCT := $(call resolve-short-product-name, $(TARGET_PRODUCT))
[HTC One S] mteezey:
Yea I deleted the files black_prince said in his post and got then same error. So I then deleted the make files for Samsung/i9100 and n7000 and removed them from android products.mk . I have a build compiling now its been going for about a half hour I'll let you know of it builds without any errors.
[HTC One S] $droyd$:
That's what I said to do a few posts back..
[HTC One S] Darknites:
Lol dumb me lol thanks and I had to remove n7100 as well.

---------- Post added at 07:07 PM ---------- Previous post was at 07:05 PM ----------

But why don't just removing them from AndroidProducts.mk work?
[HTC One S] $droyd$:
All that does is take them out of lunch menu...what is happening is your calling ville.mk and there's something in those other files that confuses the build system.. If you don't remove the actual files its still confusing maybe more so...

You guys can save time by using

. build/envsetup.sh && brunch ville

You don't have to run the lunch stuff...things may even work with that command without altering..
[HTC One S] Darknites:
Did look in the ville file in the same folder and looked fine but will try your command next time since I got it building already and can save me a minute lol.

Edit, and it's done.
[HTC One S] Black_Prince:
Sorry for inconvenience guys but I thought you knew how to edit the AndroidProduct.mk file ... :p

When you build for any device two files are imp in vendor ...

AndroidProduct.mk file and second vendorsetup.sh ... If you getting above kinds of errors just edit and remove all devices in AndroidProduct.mk file , just put your device path there with common device path if needed ... It's just basic compiling concept , I thought you knew ... And second just add your device to vendorsetup.sh to have it in lunch menu... It was this simple ... :)

And if you don't know how to compile ROMs , please don't blame me :p ... Its basic things you must know before start to compile any ROM ... Why doesn't OP of this thread have replied , he must have know what to do ...
[HTC One S] Darknites:
Klin don't come round these parts any more, thats why the noob me took over as maintainer even tho I suck at but will keep trying and push/pull something one day.
[HTC One S] Black_Prince:
Nobel efforts ...

Keep it up bro ... :)
[HTC One S] Darknites:
Thanks I will. My main goal is camera(that comes up with many errors and one that just confused the crap out of me lol) then headphones because they the 2 things that really need doing.
[HTC One S] Black_Prince:
Camera is closed binary for Samsung they aren't open source for it ... So we have to rely on aosp camera for Samsung Galaxy ... For headphones , best luck ... :)
[HTC One S] Darknites:
Ya think its the same but the camera can record video if use another app just not with the stock one so I'm trying to fix that by updating it but like I said many errors to over come, think I need to ask klin about it since he set it up.
[HTC One S] $droyd$:
Sorry man but that shouldn't be necessary all the products in the android.mk should be able to remain in it.. Thought you knew how to add stuff without errors lol. If things are done right on your end all ROMs should be able to be built in mass not one by one and with no altering and like you stated basic android compilation.. Not trying to rub you wrong but these statements are true and you know it so if you don't correctly add things to the source don't blame these guys for throwing you under the bus..
[HTC One S] Black_Prince:
The repo are always at addition and substraction... I added only devices , I'm not at all responsible if these boys can't adjust the repo to build ... The team or me not changing repo so that the users can build... We are not CM or donated like CM ... Can you blame cm not to include the prebuilt stuff , you have to add it manually, device tree and kernel too , there you won't blame cm .... You can Blame me here safely ... Likewise you have to make little adjustment everywhere ... If users wanna build so user must have knowledge to build... We will be adding stuff continuously , user must know how to adjust if something goes wrong and if he can't then wait for team to resolve the issue... Come on mate it was a just little editing thing... And if I haven't told here what to do you guys would have no idea what were wrong ... Blaming someone for our sake is very easy mate and taking responsibility and apologizing require daring and honesty ... Actually i commit mistakes to help people out , this is where i loose... I am done here ... Please do not quote or comment on my post , I don't want MOD to be involved ... Thank you for your great support here ... Best wishes ...
[HTC One S] $droyd$:
Lmfao..
[HTC One S] Bowmanspeer:
Thanks guys for your help. Starting over again. Why? Because i want to learn. I'm thankful somebody had the foresight and gumption to post this. Working or not it helps me see what all is involved. Nothing but respect from me for you Black_Prince, $droyd$ and so many others. Yeah I'm still gonna get a little short after downloading 3 times (going on 4) and it not working. So never intended any disrespect.

Sent.
[HTC One S] $droyd$:
Your good man anything I can do to help.. If you post an error I'll see it and pitch in...
[HTC One S] Bowmanspeer:
I am assuming (eeek I hate that word) I should this command instead of Lunch (at the same point in the instructions).

Edit: OMG! Its building! And then NOT!

"You are attempting to build with an unsupported version

of java.

Your version is: java version "1.7.0_15".

The correct version is: Java SE 1.6 or 1.7.

Please follow the machine setup instructions at

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

When it rains...

I have to laugh...

Checked out that website for a couple minutes then went back to terminal and saw it building anyway. COOL!
[HTC One S] $droyd$:
No use the command in place of . build/envsetup.sh is stead of . build/envsetup.sh

Lunch

The number all that just use

. build/envsetup.sh && brunch ville at the beginning....
[HTC One S] Bowmanspeer:
Good. That's what i did. Been going for a while now...uh since my last post here.

Sent.
[HTC One S] Darknites:
Lol time for a better pc.
[HTC One S] Bowmanspeer:
And it was still going when I went to bed:laugh:. Imagine my surprise this morning when I found a completed zip package of Baked 8--signed, sealed ready to deliver!:victory: Don't have time this morning to flash it. I'll do it after work. As for my computer (laptop), well, it may not be the latest and greatest but it serves its purpose. The best computer in the house is an HTPC with a 50" monitor ;). When I got this laptop about 4 years ago I didn't buy it with the thought of building anything with it. Next time I will.

BTW--Forgive me for the sidetrack. I'm trying to use Ubuntu for everything I can now. If I had to fastboot flash boot boot.img what would be different about doing it in Linux than in Windows? I'm not S-off yet (something about the process didn't make sense to me yet) I am Hboot 1.06 and have gotten away without fastboot flash on some AOSP based ROMs before.
[HTC One S] Darknites:
Not sure for fastbooting but adb works the same.
[HTC One S] Bowmanspeer:
I figured it out. It had output a boot.img as well as the zip. I put that in the platform-tools folder with fast boot. Opened terminal and changed directory to that folder and did fast boot flash. I'm on it right now BTW. Seems its everything from latest baked. I even had to go grab the fix zip to flash. Definitely going to run this for a while. I'm happy.

What's the next project? ;)

Sent.
[HTC One S] sumasage:
I am trying to compile the latest version of Baked rom. I've followed the guide but ran into some problems. After downloading the sources terminal report the following error:

From git://github.com/TeamBAKED/kernel_samsung_manta
* [new branch] jb-4.2 -> baked/jb-4.2
* [new branch] jb-mr1 -> baked/jb-mr1

error: Exited sync due to fetch errors
linh@linh-VirtualBox:~/baked$ cd ..
linh@linh-VirtualBox:~$ ls
baked Desktop Downloads Music Public Videos
bin Documents examples.desktop Pictures Templates
linh@linh-VirtualBox:~$ cd baked
linh@linh-VirtualBox:~/baked$ cp external/kernel-headers/original/sound/asound.h prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/
cp: cannot stat ‘external/kernel-headers/original/sound/asound.h’: No such file or directory

I tried to run the kernel command but seem like it cant find the directory.

The guide is a few months old maybe thing changed.... Can you update the guide?

Thanks for your hard works.
[HTC One S] Darknites:
Em I think that command is for ville so you might not need that, try building without using that command.

Hmm looking again it seems it didn't fully sync so you can't build it untill you do.
[HTC One S] PippoX3:
Em... I'm steady to the first pass "installing the required packages":

stelix@ubuntuSTELIX:~$ sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.8-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev openjdk-6-jre openjdk-6-jdk pngcrush schedtool g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline-gplv2-dev gcc-4.5-multilib g++-4.5-multilib libxml2-utils libxml2 xsltproc

[sudo] password for stelix:

Lettura elenco dei pacchetti... Fatto

Generazione albero delle dipendenze

Lettura informazioni sullo stato... Fatto

E: Impossibile trovare il pacchetto gcc-4.5-multilib

E: Impossibile trovare alcun pacchetto tramite l'espressione regolare "gcc-4.5-multilib"

E: Impossibile trovare il pacchetto g++-4.5-multilib

E: Impossibile trovare alcun pacchetto tramite l'espressione regolare "g++-4.5-multilib"

It say that can't found "gcc-4.5-multilib"...

Did I lost something? I'm on Ubuntu 13.04 x64.
[HTC One S] Darknites:
Hmm was working like 2 hours ago when I did it, Did you install 13 like you said in the other thread because think you better off using 12.

Edit, silly me you said you on 13 so ya best off using 12.04.
[HTC One S] Darknites:
When you get sorted and do the first sync you will need to use a local_manifest and then resync. If you not sure of this PM me and I help you out.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="hardware/qcom/media-caf" name="hardware_qcom_media-caf" remote="baked" revision="jb-4.2" />
</manifest>
[HTC One S] PippoX3:
Ah ah ah... nothing better... just I would to try new gnome interface... now I'm tryng a ubuntu 11.10 in virtualbox.

Seems better... but I have a lot of updates to accomplish passage 1. See ya tomorrow. Thanks Darknites.

Update: Fantastic! With Ubuntu 11.10 completely updated, I'm downloading the source, all smooth! After I will build my first rom...! Thanks!
[HTC One S] Darknites:
Remember to use the local_manifest.
[HTC One S] PippoX3:
Uh? Sorry I don't know local_manifest....

I see the https://github.com/TeamBAKED/platform_manifest where I read instructions about terminal strings for sync of repo.

Anyway I tryed on a VirtualBox guest and must break the sync of repo... tooooooooo long! And My pc was too busy. (11.10 or 12.04 was fine)

Now I restart on a real pc... ubuntu 12.04.

Curiosity: I would to build baked and carbon too (ville). I see the procedure are similar... especially within repo sync:

1) repo init -u https://github.com/TeamBAKED/platform_manifest.git -b jb-4.2

2) repo init -u git://github.com/CarbonDev/android.git -b jb2

I suppose, in second case too, it will build a JB 4.2? And I will have the latest build with latest changes? Kernel 3.4 or 3.0? :silly:

Sorry for the too quests! I'm so excited to build... I would like to do too many things at the same time! :victory:
[HTC One S] Darknites:
You need to make a local_manifest folder in the .repo folder thats hidden in the baked folder and then put what I put in a local_manifest.xml.

I can't comment on carbon but willing to bet you need local_manifest to work but [MENTION=5022537]$droyd$[/MENTION] should know what you need to know to build that.

If done right then both roms will be on JB 4.2.2 and 3.4 kernel.
[HTC One S] PippoX3:
Thanks DarkNites. With this: "http://wiki.cyanogenmod.org/w/Doc:_Using_local_manifests" is a little more clear. :p

In the meanwhile I'm preparing a new ubuntu to re-sync repo. And after will see... a step at time... I hope! :D

PS. Carbon is no more under droyd's attentions... anyway I will ask him, when will be... thanks!
[HTC One S] Darknites:
Lol ya I'm not that good at explain stuff like that but it makes sense to me lol.

Ya but he will know whats needed to get a working build unless Ville is on there already.
[HTC One S] Darknites:
Other then the other issue you need a dev on there team who supports the One S.
[HTC One S] T.C.P:
im pretty sure this

# Inherit AOSP device configuration for d2tmo.

needs to be this

# Inherit AOSP device configuration for ville.
[HTC One S] essentialmindz:
I was able to repo sync again and finish that massive dl, but when I added the local_manifest listed in tutorial and tried to repo sync again I got an error wouldn't sync at all... might be related if manifest is missing something??

I deleted baked, going to restart... I'll report error if I encounter again.
[HTC One S] ultimul:
why is the local manifest code empty?

I just finished the first huge sync without any error but for some reason all downloads goes into home directory and not into baked;

can I just move everything from one place to another?
[HTC One S] klin1344:
Yes that's how it should be. That's exactly how I typed it, don't know what happened in the OP. Thanks for the catch, I'll fix it right now.
[HTC One S] klin1344:
I have no idea why it became empty. I have fixed it now.

I think you probably repo init in the home dir rather than baked. Do 'rm -rf .repo' in your home dir and then follow the steps to repo init and sync in the baked folder.
[HTC One S] essentialmindz:
before you did the sync did you cd to baked dir? Downloaded fine for me. i find that most the files are hidden, i had to ctrl+h.
[HTC One S] klin1344:
It doesn't really matter because the line is commented out anyway :p

I used the d2tmo one as a template. But thanks for the catch, I'll change it in the OP.
[HTC One S] ultimul:
actually I did changed to baked dir; checked to see if I'm really there

and is going always into the home dir; tried two times with same results everything is going into the home

It has something to do with repo init command

at the end it always saying repo initialized into home dir

anyway, tried with this files and came into this error just after lunch

Which would you like? [full-eng] 3

vendor/baked/products/AndroidProducts.mk:31: *** missing separator. Stop.

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

** Do you have the right repo manifest?
[HTC One S] klin1344:
Check your AndroidProducts.mk and make sure it looks like the example in the OP. I'm guessing that you forgot the \ at the end of ville.mk.
[HTC One S] ultimul:
double checked; the \ is there

however I had a blank space after;

looks like is advancing now. I had an warning about java version but didnt had time to read all; screen is flying now.

how long is taking to compile ? Am I gonna brick my phone tonight or tomorrow morning? :)

---------- Post added at 09:06 PM ---------- Previous post was at 08:40 PM ----------

looks like it's done;

how we are gonna use the dirs/files from the out dir to make a flashable zip? (/host /target and few files)
[HTC One S] klin1344:
Did it say package complete, with the directory of the zip package?
[HTC One S] ultimul:
no, just ended, no error no nothing

edit: problem solved: few package missing; browsed error messages and install what was missing

build finished, I'll try flashing tomorrow, one bricked device per day it's just enough (my satellite receiver just froze and is giving some stupid error message about boot sector)

edit no2: as is already tomorrow, I did it; flash-it and booted ok; however the gapps from baked6 are not working, gmail, play and maps are force closing;

have any ideea what gapps package to use?
[HTC One S] klin1344:
Glad you got it working. Use the latest gapps, which are for android 4.2.1. Or I think there are some justinbean inverted gapps out there, maybe you prefer those.
[HTC One S] essentialmindz:
woohoo... left it building last night. finished up... will flash when i get home from work. Thanks klin for the tut.

Acutually, no flashable zip. Some folders and files where zip supposed to be...This was on screen:

Building modules, stage 2.

MODPOST 6 modules

CC drivers/crypto/msm/qce40.mod.o

CC drivers/crypto/msm/qcedev.mod.o

CC drivers/crypto/msm/qcrypto.mod.o

CC drivers/media/radio/radio-iris-transport.mod.o

CC drivers/scsi/scsi_wait_scan.mod.o

CC drivers/staging/prima/prima_wlan.mod.o

LD [M] drivers/crypto/msm/qce40.ko

LD [M] drivers/crypto/msm/qcedev.ko

LD [M] drivers/crypto/msm/qcrypto.ko

LD [M] drivers/media/radio/radio-iris-transport.ko

LD [M] drivers/scsi/scsi_wait_scan.ko

LD [M] drivers/staging/prima/prima_wlan.ko

make[1]: Leaving directory `/home/essentialz/baked/kernel/htc/msm8960'

make -C kernel/htc/msm8960 O=/home/essentialz/baked/out/target/product/ville/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /home/essentialz/baked/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" modules_install

make[1]: Entering directory `/home/essentialz/baked/kernel/htc/msm8960'

INSTALL drivers/crypto/msm/qce40.ko

INSTALL drivers/crypto/msm/qcedev.ko

INSTALL drivers/crypto/msm/qcrypto.ko

INSTALL drivers/media/radio/radio-iris-transport.ko

INSTALL drivers/scsi/scsi_wait_scan.ko

INSTALL drivers/staging/prima/prima_wlan.ko

DEPMOD 3.0.57-g9187487

make[1]: Leaving directory `/home/essentialz/baked/kernel/htc/msm8960'

mdpath=`find /home/essentialz/baked/out/target/product/ville/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do mv $i /home/essentialz/baked/out/target/product/ville/system/lib/modules/; done; fi

mdpath=`find /home/essentialz/baked/out/target/product/ville/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi

any idea?
[HTC One S] ultimul:
I arrive at the same point at my first try; debugged after and it really works, the flashable zip will be the result.

if you start with a new Ubuntu installation, there are some packages missing;

I'll write them later when I'll have access at my linux box again.
[HTC One S] T.C.P:
there is a flashable rom on my site if anyone wants to mess with it while theirs finishes
[HTC One S] ultimul:
OK, for the ones with errors, or unfinished builds:

after step 1..1 you have to install 3 more packages:

sudo apt-get install libxml2-utils

sudo apt-get install libxml2

sudo apt-get install xsltproc

at the same time you have to be sure you're using the right java version

run the command: java -version

and the output should be:

java version "1.6.0_38"

Java(TM) SE Runtime Environment (build 1.6.0_38-b05)

Java HotSpot(TM) 64-Bit Server VM (build 20.13-b02, mixed mode)

at this point building should take +/- 25min depending on your hardware

however, imo, you should keep your builds for you, for testing/using only, we should respect the team baked decision to not release anything before they are

just my 2cents

and don't forget to thanks klin for the extended tutorial
[HTC One S] essentialmindz:
Sorry, this is actually my first attempts in using linux. I added packages you refer to, but my version is:

java version "1.6.0_24"

OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~12.10.1)

OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

does this matter, how do I update it?