yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] aways:
no more galaxysmtd on github CyanogenMod i did'nt see lol ?
[Galaxy S I9000 Android Development] rubervalrfl:
OMG, what happened? not even exist.

But if you enter the url below appears.

https://github.com/CyanogenMod/android_device_samsung_galaxysmtd
[Galaxy S I9000 Android Development] aways:
anyone have problem on repo sync ?
[Galaxy S I9000 Android Development] kasper_h:
more specific?
[Galaxy S I9000 Android Development] aways:
like this :

Fetching projects: 99% (355/358) fatal: The remote end hung up unexpectedly

fatal: The remote end hung up unexpectedly

Fetching projects: 100% (358/358), done.
[Galaxy S I9000 Android Development] ts1506:
I synced 3 days ago and it was fine back then , didnt sync after that. Will report after trying tomorrow.
[Galaxy S I9000 Android Development] kasper_h:
No problems like that. I had them sometimes on the first sync of a new repo. Then another repo sync would run without errors...
[Galaxy S I9000 Android Development] Nick0703:
Uhm??

Hey guys, can someone help me with this error? I'm trying to do a repo sync and I got this error.

nick@nick-System-Product-Name:~$ cd ~/android/cm101
nick@nick-System-Product-Name:~/android/cm101$ repo sync
Fetching projects: 100% (352/352), done.
Traceback (most recent call last):
File "/home/nick/android/cm101/.repo/repo/main.py", line 408, in <module>
_Main(sys.argv[1:])
File "/home/nick/android/cm101/.repo/repo/main.py", line 388, in _Main
result = repo._Run(argv) or 0
File "/home/nick/android/cm101/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/nick/android/cm101/.repo/repo/subcmds/sync.py", line 585, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/nick/android/cm101/.repo/repo/project.py", line 1041, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/home/nick/android/cm101/.repo/repo/project.py", line 1816, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/nick/android/cm101/.repo/repo/project.py", line 1961, in rev_list
p.stderr))
error.GitError: CyanogenMod/android_frameworks_base rev-list ('^24369cdae7fd0765d493728af31067491ddea004', 'HEAD', '--'): fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

nick@nick-System-Product-Name:~/android/cm101$

EDIT: I removed that commit from the head file and deleted the setting folder, and now the repository is syncing...

I'll make a build and see if it's working or not.
[Galaxy S I9000 Android Development] Zippy Dufus:
breakfast galaxysmd?

Greetings!

I recently installed the nightly on my phone and it is awesome! I also build and install CM10.1 for the Nook Tablet all the time.

So I tried to switch my development virtual machine to build galaxysmd and didn't get very far. Below is the second time that I ran breaksfast to capture the output.

$ breakfast galaxysmd
ls: cannot access device/*/galaxysmtd/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_galaxysmtd". Stop.
sh: repo: command not found
Device galaxysmtd not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_galaxysmtd
Default revision: cm-10.1
Checking branch info
CyanogenMod/android_device_samsung_galaxysmtd already exists
Syncing repository to retrieve project.
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
ls: cannot access device/*/galaxysmtd/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_galaxysmtd". Stop.

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

Can someone give me a hint or a local_manifest.xml to get me going?

I first tried to search this thread and got "Search is temporarily unavailable. We apologize for the inconvenience."

In advance, thanks.
[Galaxy S I9000 Android Development] yadavjpr:
CM10 to CM10.1

I have cm10 source on my machine and build is working fine. Now I want to checkout CM10.1 source. Should I repeat all steps once again for CM10.1? or is there a way for upgrade CM10 source to CM10.1?

Thanks
[Galaxy S I9000 Android Development] kasper_h:
My local_manifest.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_galaxysmtd" path="device/samsung/galaxysmtd" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_device_samsung_aries-common" path="device/samsung/aries-common" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_kernel_samsung_aries" path="kernel/samsung/aries" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-10.1" />
</manifest>

You could try to go to the CM10 folder and do:

"repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1"

Your repo should then be reinitialized to CM10.1. But if you have local branches, I don't know what happens to them...
[Galaxy S I9000 Android Development] sada23:
Getting the following error while building

command executed: brunch vibrantmtd

make: *** No rule to make target `/home/root/android/system/out/host/linux-x86/framework/jarjar.jar', needed by `/home/root/android/system/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes-jarjar.jar'. Stop.

What could be wrong?

Your help is geatly appreciated.
[Galaxy S I9000 Android Development] wogfella:
This. ^^^^^

I had to edit my .repo/local_manifest.xml and replace with the above and it's now building.

Prior to the edit there was no mention of the revision="cm-10.1", and I kept getting errors telling me that I should breakfast first.

Been. Driving. Me. Nuts.
[Galaxy S I9000 Android Development] kasper_h:
Are you sure your local repo is complete? If you do a fresh repo sync, does it finish without errors?

Did you already have a successful build, or is this your first try?
[Galaxy S I9000 Android Development] wogfella:
Huh...ignore this...my damned PC crashed out and I had to reinit another sync....now it's freaking out.

I've had to re-do from scratch because my Ubuntu install corrupted...we're talking a complete fresh install.

Trying to perform the initial Repo sync....

.....I'm having errors with the repo sync now altogether.

I'm getting the following:

"Fatal: Not a Git repository"....[snip]....".repo/projecrs/packages/wallpapers/Galaxy4.git" and

"Error: Cannot fetch CyanogenMod/android_packages_wallpapers_Galaxy4"

Anyone else having issues here?

EDIT:

I went to the manifest.xml file and deleted the line for Galaxy4 altogether - it's just a wallpaper isn't it?
[Galaxy S I9000 Android Development] yadavjpr:
Please help me, whats going wrong!

kailash@kailash-vaio:~/android/system$ . build/envsetup.sh && breakfast galaxysmtd && mmm Email
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=cm_galaxysmtd
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-21-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/kailash/android/system/out
============================================

No Android.mk in Email.
kailash@kailash-vaio:~/android/system$

Android.mk is exist in /home/kailash/android/system/packages/apps/Email folder.
[Galaxy S I9000 Android Development] kasper_h:
You need to do "mmm packages/apps/Email"
[Galaxy S I9000 Android Development] yadavjpr:
I am also trying but not working :)

http://pastebin.com/q2Nn8JmG
[Galaxy S I9000 Android Development] kasper_h:
The problem may be the relation of email to other packages, making it impossible to build it on it's own. Did you already do a full cm10.1 build? Because I'm only works if the most recent code has been fully build...
[Galaxy S I9000 Android Development] aways:
try repo sync and re build.
[Galaxy S I9000 Android Development] yadavjpr:
Yes I have full cm10.1 build. I have compiled ROM last night and working fine. After repo sync mmm packages/apps/Email is working fine but mmm packages/apps/Apollo is not working.

Question: If there is nothing changes in project mmm packages/apps/Email will not work? Because in repo sync, I got changes in Email project and there is nothing new in Apollo. Second time Email compile is also not working because there is nothing new after first compile.
[Galaxy S I9000 Android Development] kasper_h:
Recompiling only works if there are changes, otherwise it will not compile anything (makes sense doesn't it :)).
[Galaxy S I9000 Android Development] kasper_h:
Please see this:

http://review.cyanogenmod.org/#/c/31811/

I did the .repo/repo git pull action and downloaded the latest repo using curl.

I then made local_manifests folder and put my existing local_manifest.xml in it and renamed it to roomservice.xml

Problem solved, no more errors :)
[Galaxy S I9000 Android Development] edgardurao:
Hello,

i'm trying to compile my first build, so followed the steps from post #1.

OS is latest Ubuntu x64 as suggested. All goes well, but after some time compile stops with the following below. Java used is jdk-6u39-linux-x64.bin

Can anyone help ?

Tks in advance.

host C++: libdvm <= dalvik/vm/os/linux.cpp

host C++: libdvm <= dalvik/vm/alloc/HeapSource.cpp

host C++: libdvm <= dalvik/vm/arch/x86/Hints386ABI.cpp

host C++: libdvm <= dalvik/vm/mterp/out/InterpC-x86.cpp

host StaticLib: libdex (/home/edurao/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libdex_intermediates/libdex.a)

target thumb C++: libttspico <= external/svox/pico/tts/com_svox_picottsengine.cpp

target thumb C++: libttspico <= external/svox/pico/tts/svox_ssml_parser.cpp

make: *** No rule to make target `/home/edurao/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar', needed by `/home/edurao/android/system/out/target/common/obj/APPS/SamsungServiceMode_intermediates/classes-full-debug.jar'. Stop.

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

target StaticLib: libsvoxpico (/home/edurao/android/system/out/target/product/galaxysmtd/obj/STATIC_LIBRARIES/libsvoxpico_intermediates/libsvoxpico.a)
[Galaxy S I9000 Android Development] kasper_h:
Are you sure sync successfully finished. A new repo sync sometimes helps...
[Galaxy S I9000 Android Development] edgardurao:
Tryed again a repo sync -j16 followed by a make installclean but, it's in the same state.

...

Notice file: external/svox/pico/tts/NOTICE -- /home/edurao/android/system/out/target/product/galaxysmtd/obj/NOTICE_FILES/src//system/lib/libttspico.so.txt

Notice file: external/svox/pico/lib/NOTICE -- /home/edurao/android/system/out/target/product/galaxysmtd/obj/NOTICE_FILES/src//system/lib/libsvoxpico.a.txt

Notice file: packages/apps/Provision/NOTICE -- /home/edurao/android/system/out/target/product/galaxysmtd/obj/NOTICE_FILES/src//system/app/Provision.apk.txt

make: *** No rule to make target `/home/edurao/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar', needed by `/home/edurao/android/system/out/target/common/obj/APPS/SamsungServiceMode_intermediates/classes-full-debug.jar'. Stop.

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

Notice file: packages/apps/QuickSearchBox/NOTICE -- /home/edurao/android/system/out/target/product/galaxysmtd/obj/NOTICE_FILES/src//system/app/QuickSearchBox.apk.txt

edurao@ubuntu-desktop:~/android/system$

---------- Post added at 12:16 PM ---------- Previous post was at 12:10 PM ----------

Tell mey something. My SGS currently have 4.2.2, and noticed that in the #1 post says this : "4.6 - Extract files from phone: NOTE: You need to have cm10 installed on the phone."

Can this be a problem?

Guess i have to update the repos to compile the CM 10.1 but was trying to setup this first and produce a first build using this instructions.
[Galaxy S I9000 Android Development] kasper_h:
The instructions don't matter. If you want to build cm10.1, you should also extract the files from a phone with cm10.1

Do you have SamsungServiceMode in your local manifest?
[Galaxy S I9000 Android Development] edgardurao:
Yes, i'm using a local_manifest.xml provided above, guess it's from you.

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="CyanogenMod/android_device_samsung_galaxysmtd" path="device/samsung/galaxysmtd" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/android_device_samsung_aries-common" path="device/samsung/aries-common" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/android_kernel_samsung_aries" path="kernel/samsung/aries" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-10.1" />

</manifest>

---------- Post added at 02:05 PM ---------- Previous post was at 01:17 PM ----------

OK, i think i saw the prob. Using branch jellybean, and trying to use stuff for cm-10.1 branch must be wrong. Repo ininting the cm-10.1 branch to my computer. Drinking some beer for ... let's see :P
[Galaxy S I9000 Android Development] kasper_h:
Seems you found the problem. Good luck! :beer:

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] wogfella:
Hi guys

My PC crashed hardcore on me the other week, so I started from scratch.

Re-did everything from OP, excepting the change to the repo init to be cm-10.1 instead of jellybean.

Additionally, I entered kasper's local manifest details into the roomservice.xml file that's happening now with CM10.1

Repo sync seems to run fine, but for some reason I can't build.

I keep getting an Error 41 issue, googling it tells me there is an issue with my Java libraries but....I'm using the one form the OP ...

any ideas what I could be doing wrong? Or should I clobber the whole thing and start from scratch?

On a VMware machine so while time consuming....not a huge issue.

Any advice?
[Galaxy S I9000 Android Development] kasper_h:
Can you post the terminal output with the error, makes it easier to try and problem solve :)

I actually build using openjdk-6, easier to install and works fine.

Did you change the revision to cm-10.1 in the roomservice.xml file as well?
[Galaxy S I9000 Android Development] wogfella:
I bit the bullet and didn't just clobber the repo but caned the whole VM install and started from scratch. The repo just finished syncing and it's currently breakfast-ing ...

How do you go about installing openjdk-6 ? I could google but all that typing after beer .... :P
[Galaxy S I9000 Android Development] wogfella:
Yeahhhhh...same problem. Error 41 again...

target Strip: libstlport (/home/wogfella/android/system/out/target/product/galaxysmtd/obj/lib/libstlport.so)
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.
64 errors
target SharedLib: libsync (/home/wogfella/android/system/out/target/product/galaxysmtd/obj/SHARED_LIBRARIES/libsync_intermediates/LINKED/libsync.so)
make: *** [/home/wogfella/android/system/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
target Strip: libicuuc (/home/wogfella/android/system/out/target/product/galaxysmtd/obj/lib/libicuuc.so)

happens on every build. Followed exactly as if for building CM10 except 2 main changes:

1. Repo init with CM-10.1 instead of Jellybean.

2. Added kasper's local_manifest (including revision for CM10.1) to the new roomservice.xml....

I previously tried pretty much everything I could find through googling the Error 41 error (java issue) and running any updates they recommended there...but this build is a from-scratch install of Ubuntu 64 bit on VMWare player, fresh repo...the lot.

Repo sync and try to rebuild does nothing......

Can anyone point me in the right direction ?
[Galaxy S I9000 Android Development] ryanmat:
I had this issue a while ago, it was because my VM wasn't up to date, and a lot of the needed build packages weren't installed. Have you tried running:

sudo apt-get update
sudo apt-get upgrade

I also found that the build package in the OP doesn't get me everything I need to build on my machine. I found the one below from here: http://www.kernel-xp.net/index.php/en/guide/25-android/32-build-cm10 this one seems to work better for me.

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev:i386 g++-multilib mingw32 openjdk-6-jdk pngcrush schedtool tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386

Hope this helps!
[Galaxy S I9000 Android Development] Nick0703:
Hey, I'm getting this error while I'm trying to compile for my Captivate.

http://pastebin.com/jYd4zPym
[Galaxy S I9000 Android Development] Nick0703:
Anyone?
[Galaxy S I9000 Android Development] kasper_h:
Can you send a bit more output of the terminal, or is the first line with an error. Hard to see what is wrong based on this...
[Galaxy S I9000 Android Development] Nick0703:
Alright thanks. I'll try to copy it again.
[Galaxy S I9000 Android Development] adisan2002:
just great :)
[Galaxy S I9000 Android Development] Nick0703:
Here's the new error.

http://pastebin.com/s4Gb1WLC

Edit: All of these errors seems to be related to the kernel files....

Edit 2: After a few tries, I've decided to make clobber and it seems to be compiling with errors now.
[Galaxy S I9000 Android Development] DerTeufel1980:
There are reported 64 errors, before you are getting error 41. What are those errors?
[Galaxy S I9000 Android Development] kasper_h:
I still do not see where the issue is coming from. Somewhere, the series of errors need to start: can you send the first error messages from the terminal (because even though you now posted more output, it still does not show how/where the errors started).
[Galaxy S I9000 Android Development] Nick0703:
Well it looks like after doing make clobber, I've successfully compiled cm-10.1 for my captivate again. If I get that error again, I'll try to catch it from the beginning. Thanks for helping me tho.
[Galaxy S I9000 Android Development] yadavjpr:
Could you please help me, how I can fix these warnings/errors when I run repo sync command.

http://pastebin.com/G3kvmnUX

Edit: and most of time repo sync take lots of time near 99%

Thanks
[Galaxy S I9000 Android Development] kasper_h:
I would try removing the prebuilt folder both in the cm10.1 root as well as in the .repo/projects folder and then resync.

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] ts1506:
For me, fetching repo from github is always very slow.

I barely touch 30-35kB/s while syncing the repo, whereas my internet connection could potentially reach 1MB/s.
[Galaxy S I9000 Android Development] kasper_h:
It also depends on time of the day and day of the week. Sunday afternoon is 20-30kB/s for me as well. But weekdays in the middle of the day are much better (200-300kB/s).
[Galaxy S I9000 Android Development] ts1506:
I am syncing the CM10.1 repo on my laptop now, its giving me speeds ranging from 15-40kB/s.

The Linux installation in the laptop is clean , and when I downloaded Android SDK and the rest of the packages, they gave me about 600kB/s , so its not a connection fault here.

At that kinds of speed , its gonna take ages to finish.
[Galaxy S I9000 Android Development] kasper_h:
I think the bottleneck is github itself, not your home connection...
[Galaxy S I9000 Android Development] driodmaster92:
Hey,

Can u help me with few things ..i am trying to build a aokp rom from source...my internet connection is a little unstable so while syncing the repo ..if my internet disconnects will i have to start downloading from beginning again?
[Galaxy S I9000 Android Development] kasper_h:
No, it will continue where it stops. I actually always have to download in two or three sessions, it never finishes successfully for me the first time... And my internet connection is rather fine.

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] ayysir:
well i am about pissed TF off.... everything in my build is working except audio.. idk what i am doing wrong. re-did my whole source.... twice still no sound working

frustrated

http://pastebin.com/UwmBvK5S
[Galaxy S I9000 Android Development] kasper_h:
SGS1?

Did you get the vendor blobs correctly/completely?
[Galaxy S I9000 Android Development] ayysir:
it should, using the puppets repo to get proprietary files
[Galaxy S I9000 Android Development] ts1506:
Try extracting them from the device manually.

Sent from my GT-I9300
[Galaxy S I9000 Android Development] kasper_h:
I would say TheMuppets are fine, also used for official cm builds. I also use these vendor blobs myself....

Still it's good to check whether there it's a problem with the blobs. You can for example use meld program to compare the extracted cm zip file and your own to see whether there are differences in the zip file contents.
[Galaxy S I9000 Android Development] aways:
anyone have to try compile with ubuntu 13.04 ?
[Galaxy S I9000 Android Development] ts1506:
I work on Ubuntu 13.04 and it works perfect.

Some of the packages mentioned in this guide / CM official guide will give error (not available) while trying to install , but I ignored them , and they didnt matter.
[Galaxy S I9000 Android Development] aways:
hmm okey thank you will test it.
[Galaxy S I9000 Android Development] kasper_h:
Also succesfully building with 13.04 + 3.8 kernel. No errors or anything like that...
[Galaxy S I9000 Android Development] aways:
i need install any package after update ?
[Galaxy S I9000 Android Development] kasper_h:
No, I just updated 12.04->12.10 and then 12.10->13.04. Did not have to do anything, first compile was successfull with no errors or anything...
[Galaxy S I9000 Android Development] aways:
thank you bro ;)
[Galaxy S I9000 Android Development] driodmaster92:
I am getting an while building

make: *** No rule to make target `/home/aditya/aokp/out/target/product/galaxysmtd/modem.bin', needed by `TARGET_KERNEL_BINARIES'. Stop.

any help?
[Galaxy S I9000 Android Development] kasper_h:
Check you vendor blobs, probably it is missing there...
[Galaxy S I9000 Android Development] aways:
or put modem.bin on target/product/galaxysmtd/
[Galaxy S I9000 Android Development] kasper_h:
But you would have to do that for every clean build. Having it in the vendor blobs makes it automatic=easier :victory:
[Galaxy S I9000 Android Development] aways:
yes but for now good idea :victory:
[Galaxy S I9000 Android Development] kasper_h:
For sure :)

Already updated your linux version?

Just build a Mackay-CarbonROM on my Ubuntu 13.04 machine. Now see whether it boots :)
[Galaxy S I9000 Android Development] ficko_98:
[MENTION=4336480]aways[/MENTION] [MENTION=3033992]kasper_h[/MENTION] how much time you need to build a clean cm10.1? And can you tell me your computer spec?
[Galaxy S I9000 Android Development] aways:
yes i liked 13.04 ;)

---------- Post added at 11:46 AM ---------- Previous post was at 11:40 AM ----------

on my computer almost 2 hour for cm

Sony VAIO

ram: 4gb ddr3

display: 15.6\\\"

hdd: 500gb