yashsingh1/xdaforums huggingface dataset:
[Samsung Captivate Glide] dbrannon79:
anyone know whats going on with github? I have tried syncing different repos and everytime I get this error!!

remote: aborting due to possible repository corruption on the remote side..58 MiB | 319 KiB/s
fatal: early EOF
fatal: index-pack failed
remote: Counting objects: 20814, done.
remote: Compressing objects: 100% (6064/6064), done.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
error: Cannot fetch android_prebuilt

error: Exited sync due to fetch errors
[Samsung Captivate Glide] dman3285:
That error is on your side. Not github.. error=fatal=index-pack failed.. reset your modem and or router.
[Samsung Captivate Glide] dbrannon79:
Thanks, Trying that now!!
[Samsung Captivate Glide] dbrannon79:
Still getting the same issue with syncing the repo!

From https://github.com/CyanogenMod/android_packages_apps_Trebuchet
b304f88..6847fa4 cm-10.1 -> cm/cm-10.1
Fetching projects: 90% (321/356) remote: Counting objects: 20814, done.
remote: Compressing objects: 100% (6064/6064), done.
remote: aborting due to possible repository corruption on the remote side..55 MiB | 307 KiB/s
fatal: early EOF
fatal: index-pack failed
remote: Counting objects: 20814, done.
remote: Compressing objects: 100% (6064/6064), done.

each time I re run the repo sync it gets a little further! Ive reset my dsl modem and router also rebooted my pc! are there some checks I can do to make sure all is good on my side?

Thanks
[Samsung Captivate Glide] dman3285:
Its a network connection error
[Samsung Captivate Glide] dbrannon79:
ok thanks! I might have been the kidos too, they were running netflix too!! :p

while I'm thinking about it, I built a second release of PA with the device trees updated by thegreatergood, I have noticed that I am not getting any notifications from apps like facebook or tapatalk! all was working in the first release before the back light fix. Is there some setting I can change or is this something that didn't build right?

Thanks
[Samsung Captivate Glide] ninthsense:
The fatal :early EOF error will keep coming, just retry and it will resolve (i've had the same quite a few no. of times).the device tree for JB was last updated by thegreatergood 3 days ago and that too the auto brightness stuff otherwise all the files are mostly 7 days old.
[Samsung Captivate Glide] dbrannon79:
Thanks bro.
[Samsung Captivate Glide] dbrannon79:
After using this command

repo sync -f

I get this message !

remote: aborting due to possible repository corruption on the remote side.2.40 MiB | 409 KiB/s
fatal: early EOF
fatal: index-pack failed
remote: Counting objects: 20814, done.
remote: Compressing objects: 100% (6064/6064), done.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
[B]error: Cannot fetch android_prebuilt[/B]
warn: --force-broken, continuing to sync

I hilighted what I thought might be the problem! can I just manually download the zip of android_prebuilt from the repo?

Thanks
[Samsung Captivate Glide] ninthsense:
http://xdaforums.com/showpost.php?p=20875598&postcount=1050 Probably worth giving it a try..
[Samsung Captivate Glide] dbrannon79:
any ideas here !

after I got everything cleared and updated sourcees, I'm getting this...

make: *** [/home/dbrannon79/android-source/utacka/out/target/product/i927/obj/SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so] Killed
make: *** Waiting for unfinished jobs....
make: *** [/home/dbrannon79/android-source/utacka/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes-with-local.dex] Killed

Total time elapsed: 73 minutes (4419.098229292 seconds)

but if I re-run the build again it will finish!!

is there something I did wrong?

Thanks
[Samsung Captivate Glide] inthepit:
thought this may be relevant and helpful

http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html

adb without having to install sdk
[Samsung Captivate Glide] roothorick:
"Killed" means the process got a SIGKILL. There's generally two sources for this: one, manual kill -KILL or killall -KILL by the user (you), or two, you ran out of memory and the OOM killer kicked in. I'm betting the latter. Enlarge your swap or upgrade your RAM.
[Samsung Captivate Glide] dbrannon79:
well I'm running 4g ram and a 8g swap!! I was thinking that was the prob. I had this happen after I used ccache setting that dman gave us to save time on the build. if I'm running other things on my pc like firefox it does this. if I leave it alone while it builds it will finish! maybe if I set it to 15gig instead of 20 it might work! :D
[Samsung Captivate Glide] dman3285:
Negative..

sudo apt-get install lzop

This will fix the libwebcore error
[Samsung Captivate Glide] dbrannon79:
already have that installed!!

here is the terminal output...

dbrannon79@brannon-portable-01:~$ sudo apt-get install lzop
[sudo] password for dbrannon79:
Reading package lists... Done
Building dependency tree
Reading state information... Done
lzop is already the newest version.
The following packages were automatically installed and are no longer required:
libdb5.1-java-gcj libdb-je-java gcj-4.6-jre-lib libecj-java ttf-dejavu-extra
eclipse-platform-data gcj-4.6-base libxerces2-java libswt-gtk-3-jni
libgcj-bc libgnomecanvas2-0 libjtidy-java libicu4j-java libservlet2.4-java
libswt-cairo-gtk-3-jni libcommons-beanutils-java libgnomeui-0 junit
libdb-java libwebkitgtk-1.0-common java-common libcommons-cli-java
libcommons-logging-java libcommons-compress-java libgcj12 libswt-gtk-3-java
libdb5.1-java libicu4j-4.4-java libswt-gnome-gtk-3-jni
libjavascriptcoregtk-1.0-0 libjsch-java jarwrapper
libxml-commons-resolver1.1-java libgif4 libapache-pom-java
libxml-commons-external-java tzdata-java libglade2-0 libcommons-el-java
libservlet2.5-java libcommons-httpclient-java libslf4j-java libasm3-java
libregexp-java libgnomeui-common fastjar libjasper-java libbonoboui2-0
libwebkitgtk-1.0-0 libcommons-codec-java libcommons-lang-java
libhamcrest-java liblucene2-java libequinox-osgi-java libcommons-parent-java
libcommons-collections3-java libgcj-common libbonoboui2-common
libcommons-digester-java libjetty-java libjline-java libswt-webkit-gtk-3-jni
libswt-glx-gtk-3-jni libgnomecanvas2-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
dbrannon79@brannon-portable-01:~$
[Samsung Captivate Glide] hazard1nc:
Thanks for sharing this bro! We are all gonna be busy little coders for a while ;)

«(-A-)» }-{azard1nc's Glide «(-A-)»

The following is running on this phone!

CM-10.1-20121224-UNOFFICIAL-i927.zip - 154.44 MB

gapps-jb-20121212-signed.zip - 89.99 MB

SuperUser 3.2 ARM7 Optimized & Zip Aligned
[Samsung Captivate Glide] ninthsense:
Anybody got any idea on how to resolve this ? I've been searching and reading for almost the whole day now without any helpful clue.

the build exits out after this :(
[Samsung Captivate Glide] dman3285:
Delete eternal/linux-tools. Replace with one from cm. Do make clean. Rebuild.
[Samsung Captivate Glide] ninthsense:
So for every error like this , i repeat the same steps ?

Copying it from CM also gave the same error. Can i delete this folder and continue building ?

Edit : Too many similar errors :
[Samsung Captivate Glide] dman3285:
No you can't delete the folder.. its needed
[Samsung Captivate Glide] scottbot95:
Could I have the kernel source? I have a feeling that the fix I'm trying to work on might be hidden in the kernel somewhere, as I can't find it anywhere else.
[Samsung Captivate Glide] dbrannon79:
It's in "The-Covenant" github
[Samsung Captivate Glide] scottbot95:
For CM10.1? I thought it only had the source for CM10....
[Samsung Captivate Glide] ninthsense:
It's all there, for CM 10.1 the kernel is inbuilt in the device tree and there is no seperate git for it.

---------- Post added at 09:01 AM ---------- Previous post was at 08:59 AM ----------

Is there anything else I can try ? Already tried replacing the folder from CM 10.1 and ithen make clean and build, but end up with the same error.
[Samsung Captivate Glide] scottbot95:
Ok.
[Samsung Captivate Glide] dman3285:
The kernel source for CM10 and CM10.1 are the same, only difference is the ramdisk which is built from the device tree.
[Samsung Captivate Glide] scottbot95:
Oh sweet! I seem to recall you saying that the bluetooth problem is with the ramdisk. Would using the cm10 kernel fix that?

Sent form my SGH-i927 running dman's cm10.1
[Samsung Captivate Glide] scottbot95:
Oh.... just curious, what's the progress on the bluetooth thing? I'll gladdly help however I can.

Sent form my SGH-i927 running dman's cm10.1

---------- Post added at 08:20 PM ---------- Previous post was at 07:34 PM ----------

Hey, does anyone know how, or if it's even possible, to debug the compiled c code? Specifically the lights.c file?

Sent form my SGH-i927 running dman's cm10.1
[Samsung Captivate Glide] ninthsense:
Stuck over the same issue over past 2 days, tried several things and nothing seems to work. Seems like I'll have to move on to build something else.
[Samsung Captivate Glide] dman3285:
Its an issue in your source.. delete your source an re- repo sync. See if that helps.
[Samsung Captivate Glide] ninthsense:
All over again :eek: . I'll try to re-repo it again, lets see if it fixes something.

Edit: Resynching now, i've almost emptied my high speed bandwidth limit. The download speed is painful now :(
[Samsung Captivate Glide] ninthsense:
Found out that with guys at Liquidsmooth that they are not maintaining the jb branch anymore. They only have jb2 (4.2) branch functional as of now.
[Samsung Captivate Glide] dbrannon79:
Someone may have forked the repo and updated it! As I found with PA. Thanks to Utacka, he had a stable forked repo that still had everything needed to build with. And I took the official PA repo and used some of his repo to get PA 2.99 working! Maybe you might be able to do the same. :D
[Samsung Captivate Glide] ninthsense:
Thx i anyway dropped syncing the jb brancn. I've synced JB2 branch but running into errors compiling it. Have a look at this and let me know if you faced it http://pastebin.com/k2074LEq
[Samsung Captivate Glide] dbrannon79:
No I haven't seen that yet, but what I did, each time I got an error like that it would try googling the error command without the path to your home dir in it. Most of the time it would bring up where others had it and what they did to fix.

I haven't tried to build a 4.2 rom yet. PA should be releasing the 4.2 aospa version very soon, so I will try then! :D
[Samsung Captivate Glide] ninthsense:
I do that as well, but this one got me stuck. Anyway thx, I'll keep looking :)
[Samsung Captivate Glide] scottbot95:
I keep getting an error when I try to compile ther kernel. It insists that there is no .config file, even though there is. What am I doing wrong?

Sent form my SGH-i927 running dman's cm10.1
[Samsung Captivate Glide] dman3285:
Make sure the defconfig in arch/arm/configs is named the same as the one in the BoardConfig.mk
[Samsung Captivate Glide] Rockwig:
FYI... it seems to me like the JAVA install is a little hosed. The script can't seem to find 6u39, I have tried to override this, but it doesn't seem to build properly with 6u38.

I've worked around this issue, by manually downloading the proper files, and editing the script to ignore the improper download locations.
[Samsung Captivate Glide] dman3285:
always worked for me flawlessly. I assure you its not hosed bro.
[Samsung Captivate Glide] Rockwig:
So, just trying to make sure I got all my steps right here (building 10.1), building now...

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

This command didn't work:

git clone git://github.com/The-Covenant/android_device_samsung_i927.git -d cm-10.1 samsung/i927

So I did this:

git clone git://github.com/The-Covenant/android_device_samsung_i927.git samsung/i927

Then:

git clone git://github.com/The-Covenant/proprietary_vendor_samsung.git vendor/samsung

Finally:

. build/envsetup.sh && brunch i927
[Samsung Captivate Glide] Rockwig:
Well call me amazed, first build and it boots :)

Now for testing... :D
[Samsung Captivate Glide] dman3285:
No need for being amazed. If your using my tree it'll boot everytime
[Samsung Captivate Glide] Rockwig:
I was more concerned with me doing something wrong :)

So, what's the trick to get Bluetooth working?
[Samsung Captivate Glide] AzraelsKiss:
I think if you could figure that one out, you'd make a lot of ppl happy.
[Samsung Captivate Glide] Rockwig:
It doesn't even turn on. With the other ROMs out, it partially works.
[Samsung Captivate Glide] thegreatergood:
the source tree needs to be updated...
[Samsung Captivate Glide] scottbot95:
Is there an easy way to build just one part of the source? Say, just the frameworks, or just the liblights stuff?

Sent form my SGH-i927 running cm10.1
[Samsung Captivate Glide] thescot33:
I am reading

Edit: Well I thought I followed what people were trying for cm10.1? I am still reading but anyone else out there knows where to look, Please let me Know? Thanks Dman and the guys setting up the build environment...I actually put a new drive in my computer and have been using Ubuntu?

root@Build:~/cm10.1# . build/envsetup.sh && brunch i927

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/bash_completion/git.bash

including vendor/cm/bash_completion/repo.bash

including vendor/cm/vendorsetup.sh

ls: cannot access device/*/i927/cm.mk: No such file or directory

build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_i927". Stop.

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

Found repository: android_device_samsung_i927

Default revision: cm-10.1

Checking branch info

Default revision cm-10.1 not found in android_device_samsung_i927. Bailing.

Branches found:

jellybean

Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.

ls: cannot access device/*/i927/cm.mk: No such file or directory

build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_i927". Stop.

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

** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

root@Build:~/cm10.1#

i927 KB_JB 4.2.2 PACman
[Samsung Captivate Glide] thescot33:
Gonna try and repo sync, and the git clone commands?

Edit: still same error...gonna read some more...files for i927 seem to be there?

i927 KB_JB 4.2.2 PACman
[Samsung Captivate Glide] thescot33:
I deleted the cm10.1 dir and started again...hope it works...PeACe

Edit: Same error? Reading XD

i927 KB_JB 4.2.2 PACman
[Samsung Captivate Glide] bubor:
you must rename android_device_samsung_i927 to i927 in device/samsung,

Can you upload a find ./ >file.txt ?
[Samsung Captivate Glide] thescot33:
I don't see a folder for Samsung under /device?

And what file do you want me to upload?

Edit: I moved the local_manifest.xml to cm10.1/.repo/manifests as it was asking (warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead...) I then repo sync, then . build/envsetup.sh && brunch i927...I got this error:

OUT_DIR=/home/scott/cm10.1/out

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

Checking build tools versions...

build/core/base_rules.mk:130: *** samsung/i927/libaudio: MODULE.TARGET.SHARED_LIBRARIES.audio.primary.n1 already defined by device/samsung/i927/libaudio. Stop.

root@Build:~/cm10.1#

Thanks for great work Dman for getting this started...sorry it took me so long to find the time, that was to myself as this linux and 'Building' so far is pretty fun! PeACe

---------- Post added at 10:42 AM ---------- Previous post was at 09:48 AM ----------

I deleted the samsung directory under cm10.1 as the error suggested I had two, which I did...as you said /device/samsung, I kept that one

It seems to be building now? Fingers crossed...this is so much funn!!!

Edit: NOPE! XD here is what I am getting now? I deleted the /out folder, was this a nono?

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

Notice file: frameworks/base/data/fonts/NOTICE -- /home/scott/cm10.1/out/target/product/i927/obj/NOTICE_FILES/src//system/fonts/AndroidClock_Solid.ttf.txt

I restarted the terminal and nautilus...it's doin' something new...

i927 KB_JB 4.2.2 PACman
[Samsung Captivate Glide] bubor:
you need whole cm10.1, then you must have device/samsung/i927 and vendor/samsung/i927, You need one of prebuilded kernel or kernel source (Defined in BoardConfig.mk)

You must run vendor/cm/get-prebuilts

Then you can compile with: rm -rf out ; . build/envsetup.sh && brunch i927
[Samsung Captivate Glide] thescot33:
It's still building...I had the samsung folder in the cm10.1 dir as well, after I deleted that it started to compile I believe? If not, will keep at it! Thanks

i927 KB_JB 4.2.2 PACman
[Samsung Captivate Glide] kick buttowski:
local_manifests is deprecated but you know that already, you need to use roomservice.xml

https://github.com/PAC-man/android_vendor_pac/pull/61
[Samsung Captivate Glide] thescot33:
I ran out of disk space XD I am installing ubuntu into a 400gb now and will setup the environment and try and build again, maybe PAC instead this time?

Til later

Edit: Can I move my cm10.1 folder to this other drive or a way to set the /out folder there? Really don't want to smash my bandwidth...I also read about 'dd' and cloning the drive

?

i927 KB_JB 4.2.2 PACman
[Samsung Captivate Glide] thescot33:
so I need to place roomservice.xml in local_ manifests dir or just in .repo

roomservice.xml:

<manifest>

<project name="The-Covenant/proprietary_vendor_samsung.git" path="vendor/samsung" remote="github" revision="jellybean"/>

<project name="The-Covenant/i927.git" path="device/samsung/i927" remote="github" revision="cm-10.1"/>

</manifest>
[Samsung Captivate Glide] kick buttowski:
in local_manifests
[Samsung Captivate Glide] thescot33:
And can I just move my cm10.1 folder to the larger drive instead of starting over or cloning?

i927 KB_JB 4.2.2 PACman
[Samsung Captivate Glide] kick buttowski:
yeah, all the meta data is inside .repo so you are good to go.
[Samsung Captivate Glide] thescot33:
Having a hard time trying to figure out how to even access the second drive? I am a noob to Linux...I am in the process of switching my 'Home' to be the 400gb...I think this will be better in the long run???

Thanks for the help guys...I hope to figure this out and start learning what it all does and why

I have an AMD Athlon ii x2 b22 with 6gb ram...is this enough to build and program or should I be looking for something else?

i927 KB_JB 4.2.2 PACman
[Samsung Captivate Glide] kick buttowski:
depends on how much patience you've got, i do my builds with in a virtual machine with 4G of ram, the four cores on my i3 and only needed 100G of space per project ( with a shared ccache dir using around 15G with a 50G limit )
[Samsung Captivate Glide] thescot33:
Building XD

i927 KB_JB 4.2.2 PACman
[Samsung Captivate Glide] dman3285:
Here's my system.. All 8 cores and liquid cooled. ;)
[Samsung Captivate Glide] kick buttowski:
sweet setup, i like the fact that you are tidy the most lol
[Samsung Captivate Glide] thescot33:
WOW!! XD

Well it failed at the end of the build but it made if pretty far? Not sure what I left out? Anyone?

Note: packages/apps/SamsungServiceMode/src/com/cyanogenmod/samsungservicemode/SamsungServiceModeActivity.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

8 errors

make: *** [/home/scott/cm10.1/out/target/common/obj/APPS/SamsungServiceMode_intermediates/classes-full-debug.jar] Error 41

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

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

edit: https://github.com/The-Covenant/andr...m.dependencies

You need SamsungServiceMode?
[Samsung Captivate Glide] kick buttowski:
You need that as it provides access to certain functions like band freq change, bluetooth configs among other things.

You can access it on cm10.1 or pacman with dialer codes like *#1234# ( just an example )
[Samsung Captivate Glide] thescot33:
How do I put it into the build? I think I have the files that the link points to?
[Samsung Captivate Glide] kick buttowski:
It's already being built, or at least it's trying. cm.dependencies makes sure it gets downloaded to the right place.

Have you repo sync lately ?
[Samsung Captivate Glide] thescot33:
Yesterday...doing again now...

done.

Package Complete: /home/scott/cm10.1/out/target/product/i927/cm-10.1-20130509-UNOFFICIAL-i927.zip

root@Build:~/cm10.1#

Thanks guys!! Now time to start playing I guess is the point of setting this up
[Samsung Captivate Glide] dman3285:
None of this is the actual error
[Samsung Captivate Glide] thescot33:
Sorry bro, I will look to provide the correct info next time...didn't want to clutter your forum with useless code as it seems I did just that! XD again My appologies

After the repo sync, it changed a few things, including the SamsungServiceMode folders...ran build command again and it worked as instructed, Now to try the zip and learn a few things about Android

Was the repo sync what got me through the build...or was it that I needed to run the build command again?

Again Dman, Thanks for everything you have done for our device!
[Samsung Captivate Glide] thescot33:
How do I setup the build to use The Covenant's Kernel 4.2? I was able to get it into my build but unsure how direct it to use the 4.2 build? My build completed properly and said it used The Covenant's kernel but didn't really know which kernel it built?

Gonna search the web on Kernel setup but thought I'd check with the i927 guys!

i927 KB_JB 4.2.2 PACman
[Samsung Captivate Glide] bubor:
in BoardConfig.mk:

TARGET_KERNEL_SOURCE := kernel/samsung/i927

TARGET_KERNEL_CONFIG := tegra_bose_defconfig

That means you've got kernel in that directory, and a config calls tegra_bose_defconfig inside kernel/samsung/i927/arch/arm/configs .

I think dman3285's point is, you shouldnt read last lines, since it builds more things at once ( uses more cpus), you need to read back in the log.
[Samsung Captivate Glide] thescot33:
So I don't even need it then, thought because I was doing PAC-man I needed it for some reason...I will try without as instructed...just changing how to compile PAC-man made me think the kernel need to be added as well...I should assume Dman's hard work including it in the tree (is that the correct term, excuss my noobness) it will work across the board?

i927 KB_JB 4.2.2 PACman
[Samsung Captivate Glide] thescot33:
Thanks again dman and the rest of the dev's for your assistance!

I have many questions but I ask one for now: Is the kernel in the supplied /device/ all we need for building these new versions? If it does need some adjusting are we able to get a copy of that source or do I just figure out how to decompile if that is possible?

Just trying to figure out what to do next? Take a log cat and try and figure out why Apollo has stopped?

PeACe

Sent from my i927 PAC-man 22.1.1 Covenant V2 kernel
[Samsung Captivate Glide] kick buttowski:
every single kernel for our device is in someone's github account so you should be able to use any of those, the kernel in the device tree is a prebuilt one so you can take any kernel with it's modules and replace those, like mine for instance you just have to make sure to use a kernel that's meant to work on JB
[Samsung Captivate Glide] thescot33:
Is YOUR kernel the Prebuilt under your device tree? I think it runs smooth!
[Samsung Captivate Glide] kick buttowski:
It is
[Samsung Captivate Glide] krome_3k:
HELP! getting error packages failed to build after second step "sudo ./oab-java.sh"