yashsingh1/xdaforums huggingface dataset:
[Xoom Android Development] Alxoom33:
Thanks DH and DT. Very Nice, especially the Navigation icons. Been running on Wingray since yesterday. Downloaded from your Tweet-link. I presume this is the same version. :silly:

I dirty flashed with a System wipe over EOS4 165. Everything seems to work well, except as advertised, Photosphere, which FC's as well as panorama. Suggert you contact dreamcwli who assisted team eos in fixing Photosphere and has been blogging on SH's CM10.1 g+ blog.

I also don't seem to have any icons on the pulldown menue, still trying to figure out settings, a few FC's in Settings. Also, haven't been able to turn off charging light.:p

I noticed that screen scrolling is slightly lagging. Looking forward to playing more. Thanks to a great new ROM! :good
[Xoom Android Development] AaronEmoBoi:
the link wont work for the stingray :( it brings me to the dev host upload page
[Xoom Android Development] ggrant3876:
Same here for winngray, no dl.
[Xoom Android Development] einsteins:
DL not working for me either

Thanks
[Xoom Android Development] Alxoom33:
Usually that means that AN Update is being loaded:)

:cowboy:
[Xoom Android Development] themichael:
Awesome can't wait to try this. Loved your work on the thunderbolt.
[Xoom Android Development] dhacker29:
To be honest I haven't even looked at the Nexus 10 This was the default layout for the nav bar and status bar in aosp. I will dig around
[Xoom Android Development] dhacker29:
OH sorry about that guys the links are fixed now :D
[Xoom Android Development] Danzoman:
Just a couple questions. I'm pretty sure I saw you mention the toggle panel isn't working properly and that's cool but, is there a way or can you make it to where the notification panel is on the right instead of the left. Most people are right handed and I see myself reaching for that corner more often. Also I think its cruel how the data indicator is glowing blue :p. Otherwise thank you so much for breathing new life into this aging device and I like where this project is going. (Also I am no longer on RAZR or Gnex and was Jelly of all the Kill

ROM goodies :D)
[Xoom Android Development] Alxoom33:
DH, has Wingray been updated since your tweet on the 28th? Thanks :)
[Xoom Android Development] dhacker29:
I just posted new builds with tons of fixes except data for stringray lol
[Xoom Android Development] Alxoom33:
:good:

Thanks, looking forward to flashing! On Wingray, so all good.:D You and DT did a terrific job with the unique look and feel of this ROM, very different from eosand Rogue(cm10.1).:good:
[Xoom Android Development] shpitz461:
Sounds promising, I'll give it a shot.

One question though: If data doesn't work then why there's a specific Stingray version? Why would I want to flash Stingray instead of Wingray? Just trying to understand...
[Xoom Android Development] trancoss2:
which is a new ROM based on 4.2.1
[Xoom Android Development] dhacker29:
As I stated in the OP the Stingray build is posted mainly for people who like to tinker and maybe figure out the remaining issues with data. It is very close now gets IP address, gateway etc but failes on getting data call
[Xoom Android Development] mcarrion78:
nice rom. a lil laggy at time but manageable. also loss of nav bar buttons when turned to portrait mode. other then that so far so good. keep up the good work and looking forward to future updates

also the nav buttons disappear when in portrait mode.
[Xoom Android Development] themichael:
Anyone have trouble with super su updating the binaries?
[Xoom Android Development] edwinh2209:
I second that. Whenever I put the tablet in portrait mode the nav buttons disappear.. looked and looked in the settings but i can never get them to show up in portrait
[Xoom Android Development] chiikko561:
Nice ROM can't wait for update
[Xoom Android Development] ArdinCani:
Nice work looking forward
[Xoom Android Development] chiikko561:
I just experienced this
[Xoom Android Development] Alxoom33:
Not sure, but DH tweeted that he has abandoned Killrom. Asked for confirmation. Haven't heard back.
[Xoom Android Development] chiikko561:
Ughhh I need this

Sent 4rm my Note that WONT STOP CRYING FOR 4.2
[Xoom Android Development] :
He is taking some much needed time off.
[Xoom Android Development] Alxoom33:
Hope he finds what he needs. Been following his tweets. Like DH. ;)
[Samsung Captivate Glide] dman3285:
To use ccache to build

Using ccache will drastically cut down your build times by building up the ccache, info and using it to build. Now, your first build after setting up ccache will be normal time, 3 to 6 hours depending on your processor, all builds after should be over half that, mine takes bout 45 min to an hour.

Now, after you sync everything in, cd back into your home directory and type in terminal:

sudo apt-get install ccache

Then and the top of your home directory click view, then show hidden files. Now in your home directory scroll down and find the .bashrc file and open it up with gedit. At the very bottom enter this code to use ccache:

export USE_CCACHE=1

Now to set our ccache limit in our cm10 source.

Cd into your cm10 directory and type this in terminal:

prebuilts/misc/linux-x86/ccache/ccache -M 20G

That's it, your set up to use ccache! Enjoy!
[Samsung Captivate Glide] ninthsense:
downloading Ubuntu 12.04 64 bit edition now (30 more minutes to go). I'll try this out today. Thanks for the detailed guide. :)
[Samsung Captivate Glide] BoOsT:
..L.I.K.E...A...B.O.S.S..

Good Job D! This should answer everyone's questions!
[Samsung Captivate Glide] roothorick:
Thanks! Nice to know that I'm on the right path!

By the by, there's an even easier way to install Java (Ubuntu only):

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get install oracle-java6-installer

The scripts in the PPA do all the work for you, you just say "yes" to adding the PPA and "yes" to the EULA and it does everything else automatically.

-E- So wait, we DON'T have to run extract-files.sh? Where do the proprietaries come from then? I sure know this phone has a lot of them; between secril and the SoC practically everything has a blob in the pipeline!
[Samsung Captivate Glide] dman3285:
But it only installs java.. this one builds it into the os. Then installs it... Easy is not necessarily better. My java commands here litteraly build java from source, that way its part of everything the os does, its no longer a system tool application.
[Samsung Captivate Glide] dman3285:
Read??? What part of clone the proprietary files are you not understanding??? This is a foolproof tutorial... No, you don't have to do extract-files.sh, I've already done that for you. Just have to clone it in.
[Samsung Captivate Glide] dman3285:
Everyone.. just follow this tutorial to the t and you'll have your own cm 10 build. I have been doing this a long time on Linux, and this way I use every time I set up a new system and its been flawless.. Im not saying that if you know another way to install java not to do it, im just saying ive tried them all and this way is the most stable and solid...enjoy.
[Samsung Captivate Glide] scottbot95:
Thanks, Dman! I have been wanting to do this for so long!

Sent form my SGH-i927 running dman's cm10.1
[Samsung Captivate Glide] dman3285:
Nice.. if y'all get any errors on any of the commands let me know and ill walk you thru fixing them. Although, you shouldn't. But you never know..:D
[Samsung Captivate Glide] dman3285:
After getting everything setup and synced from the tutorial, refer to second post for setting up ccache
[Samsung Captivate Glide] Laugher19:
Will you still be posting updates on your cm10 rom? Or will we have to compile the rom from the tool?
[Samsung Captivate Glide] dman3285:
I will be updating. This is for those who want to help with development. As I dev for 5 devices and my time is limited..
[Samsung Captivate Glide] ninthsense:
So running "nautilus" will give you an error like the one in attached printscreen. So from what i found out that you either install samba or just let it be as it doesn't matter. But i installed samba as in may come handy for sharing and transferring file :D. Moving on now..
[Samsung Captivate Glide] ninthsense:
Had to Run

apt-get -f install

cause of the error encountered in the given screenshot and it resolved the issue.
[Samsung Captivate Glide] dman3285:
You have to install nautilus. Will give no errors
[Samsung Captivate Glide] dman3285:
Then your not running as root if you use apt-get install.. this is not recommended..
[Samsung Captivate Glide] BoOsT:
Try running gksu nautilus ;)
[Samsung Captivate Glide] ninthsense:
I'm running root , as visible in the screenshot. Anyway synching repo now and have to wait.
[Samsung Captivate Glide] dman3285:
Nautilus or gksu nautilus will gain root access to your home folder
[Samsung Captivate Glide] roothorick:
You can't build Oracle Java from source, it's closed source...

What advantage does that script have? About the only thing I see is it doesn't install the packages directly, which may help with dependency things, but if you're installing Java for something outside apt, there isn't much point.

The PPA I linked still ties it into the package manager... oracle-java6-installer takes the JDK with it if you uninstall it. (dpkg -L is misleading -- this part is done by a script.)

Thanks for making me go digging though, I still had my alternatives file set to OpenJDK...

---------- Post added at 01:44 PM ---------- Previous post was at 01:42 PM ----------

Oh, sorry, I skimmed right over that!

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

One last thing

You can speed up the process by, instead of brunch:

. build/envsetup.sh && breakfast i927 && make -jX

Where X is, as a rule of thumb, the number of CPU cores in your computer, times 2. (So 4 for dualcore, 8 for quadcore, 12 for hexcore....) HT threads don't count. (Or do they? Play with it.)

This parallelizes the build where it can, making full use of your CPU and cutting the build time in half or even more.
[Samsung Captivate Glide] ninthsense:
Pulled around 5.5 GB of data in the CM10 till now. Well i'm going to leave it for the night and let it download. Anybody can give me an idea what would be the final size of this folder ?
[Samsung Captivate Glide] dman3285:
The way I have it formatted is exactly how I've done it for a long time.. Do not confuse the people who don't know what they're doing, with alternative ways you want to do things, as Im not saying its wrong, I'm saying if op is followed you will successfully build cm10. Since I have built cm since its inception, I do however know a little about it. The reason it says "building packages" while installing java, is that its doing exactly that. The actual binary environment java is closed source, the java packages arent, and there is a github for it. It litteraly builds java into your Ubuntu system, not just external binary installer. Thanks for the info. As by count, I've compiled from source 26,456 times on my PC. Tue only change is my java, as this version was not available til this year. Other than that, I've have built this way flawlessly, and helped the collective team build this same exact way, and they have no issues . I was also the github maintainer and built the source for AoCP. This tutorial is spot on if followed correctly.

Thanks and happy coding.
[Samsung Captivate Glide] roothorick:
Hm, fair enough. I can see how having two or three alternatives here and there could be confusing. I think I'll leave it there though, for people who want to learn :)
[Samsung Captivate Glide] thegreatergood:
brunch already fully utilizes all available threads, because it uses "mka" which should be used instead of make whenever possible ... the only reason you would rather use breakfast i927 && make -jX is if you were trying to slow it down and use less theads so that you could spot an error better .... some more info here http://blog.cameronpickett.com/2011/09/16/breakfast-brunch-and-lunch/
[Samsung Captivate Glide] dman3285:
Thanks bro. Not trying to rant on you, just tried to make this tutorial as pain free and easy as possible.. enjoy..:D
[Samsung Captivate Glide] ninthsense:
Stuck here while building :
[Samsung Captivate Glide] dbrannon79:
error: Exited sync due to fetch errors

I think maybe the repo went down!

Ill try again later!:D
[Samsung Captivate Glide] ninthsense:
Tried running ./vendor/cm/get-prebuilts and got into another error

,seems like Term.apk is missing something. Went out and searched in xda and somebody had put the lib folder which is expected to be inside /vendor/cm/proprietary' folder. So manually copied the lib folder and running build again.
[Samsung Captivate Glide] dman3285:
vendor/cm/get-prebuilts . Type that in terminal and it will download prebuilts. Then restart your build

Updated OP with the prebuilt command. Left it out by mistake. My bad.
[Samsung Captivate Glide] ninthsense:
Not gone too far and faced another error repeatedly :

Is there a problem with Virtual memory allocation ?
[Samsung Captivate Glide] ninthsense:
:D My first build completed.

The above issue was due to swap partition not being active, i don't know how it happened. Made it active with swapon and ran the build again. Now over to testing the build.

Some figures i collected for this :

repo sync - best to leave it overnight. I believe it took round about 4-5 hours on a 10 mbits of broadband connection.

Total size of the repo - 7-8 gb

Total size of out folder - 16 gb

Total size of the mail CM10 folder - 32 gb.

Time taken to build without the errors - 2 hours ( guess i would have to increase the CPU of the virtual box ). I'm running this on a core i3.

Recommended size of your VM should be 100 gb. I wasted a lot of time extending my pre-defined 30gb partition, which i thought to be more than enough initially.
[Samsung Captivate Glide] dbrannon79:
not sure if this will help anyone, but if you want to catch your build errors and see all of your terminal output, you can add this command into the build command!

{command} | tee file

it will pipe a copy of all the terminal output to a file of your choice so that you can go back and look! :D
[Samsung Captivate Glide] dman3285:
Happy coding.. and you don't need the kernel source as I have a prebuilt kernel binary in the device tree and it will use it. So u just need to repo sync cm-10.1, clone the device tree branch of cm-10.1, the proprietary files and your good to go.
[Samsung Captivate Glide] roothorick:
I had a feeling I should've just waited... thanks man! :good:
[Samsung Captivate Glide] ninthsense:
Just flashed the build, but the network and wifi seems to be broken on it. Any clues Dman ?
[Samsung Captivate Glide] dman3285:
Yea.. the building inline kernel for some reason is not building the modules correctly. Flash covenant kernel v3 and all will be fixed.

I'm still working on the inline kernel building. But for now just flash the covenant v3 kernel.
[Samsung Captivate Glide] ninthsense:
You all seems to be working fine now. :good:

Couldn't press the thx button as already exhausted all 8 for today.
[Samsung Captivate Glide] dbrannon79:
I came across the same problem while building pa! Flashed your kernel and all was good. :D
[Samsung Captivate Glide] scottbot95:
So we should use the same proprietary under the jellybean branch? Just want to make sure so I don't screw up my phone.
[Samsung Captivate Glide] luquiyahni:
Ok, I installed VirtualBox, Ubuntu 12.04 (64 bit), everything went perfect, until the bashrc part. when I run

vi ~/.bashrc

it opens the file but i cant edit it. I scroll to the bottom, but it doesnt let me type, its kinda weird. I start typing, nothing appears.

I went through the file manager, found the bash.bashrc file, edited it (added the export... at the bottom), saved it. Went back to terminal, root, cm10 but when I run

root@luqui-VirtualBox:~/CM10# repo init -u git://github.com/CyanogenMod/android.git -b jellybean

i get the following error:

/home/luqui/bin/repo: line 1: syntax error near unexpected token `newline'
/home/luqui/bin/repo: line 1: `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'

I googled it, but they suggest a lot of different solutions, but I dont wanna mess a lot with this, since, like you can see, Im in super noob level here... (but willing to learn!)

Thanks for any suggestion!
[Samsung Captivate Glide] ninthsense:
If you don't want to use vi, then use 'sudo gedit' and use that to edit the .bashrc file. When browsing the folder press ctrl + h to see all hidden files.
[Samsung Captivate Glide] luquiyahni:
Thanks, that did the trick... syncing right now!
[Samsung Captivate Glide] ninthsense:
So basically the procedure remains the same, just that i now need to mkdir CM10.1 and then sync the new device tree :

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

then cd into device and :

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

For kernel :

git clone git://github.com/The-Covenant/android_kernel_samsung_i927.git -d covenant-jb kernel/samsung/i927

For proprietary :

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

For building :

. build/envsetup.sh && brunch i927

I hope above is correct and you can verify this..

Note : still trying to learn so apologies for so many Qs
[Samsung Captivate Glide] dman3285:
Don't need kernel source for cm10.1 as I have provided a prebuilt kernel in the cm10.1 device tree
[Samsung Captivate Glide] ninthsense:
OK will remove the git clone for kernel, so the steps looks fine i guess. Time to start synching this.
[Samsung Captivate Glide] dbrannon79:
I followed theses steps to update the trees into the pa source....

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

For kernel :

git clone git://github.com/The-Covenant/android_kernel_samsung_i927.git -d covenant-jb kernel/samsung/i927

For proprietary :

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

For building :

. build/envsetup.sh && brunch i927

after the build was complete I ended up with this zip in the out folder!

Package complete: /home/dbrannon79/android-source/paranoid/out/target/product/i927/cm-10-20130102-UNOFFICIAL-i927.zip

does this mean it built cm instead of pa? I havent tried flashint it yet. Just wondering!!
[Samsung Captivate Glide] ninthsense:
The above was to sync the 10.1 device tree. You are building 4.1, so you should have used the jellybean tree. Anyway Dman would clear our doubts soon. This is so confusing :D
[Samsung Captivate Glide] dman3285:
Yes.. you built cm. Pa is setup to build differently.. and you don't need the kernel source. Prebuilt kernel is in the cm10.1 tree.
[Samsung Captivate Glide] dbrannon79:
I posted the wrong code!! it was the jellybean tree! followed the guide to setup cm10 and then used the same to update the files in pa in the first post. sorry for posting the 10.1! my mistake!! it just supprised me that the zip file was named "cm" when built with the pa repo! the only thing different I did was use the build command here instead of the "rom-build.sh" command that is in the pa dir. maybe that was my mistake!
[Samsung Captivate Glide] ninthsense:
hmm what ever i've read till now suggests that we need to run the build command of the ROM source, so in your case "rom build.sh" should work. Let me know how it goes :) .

Edit : Dman a Q for you, for the CM10 the build command remains the same ?
[Samsung Captivate Glide] dbrannon79:
it worked! I used the build comand for the rom and I got "pa"

uploading and will post soon in the rom thread!

Thanks:D
[Samsung Captivate Glide] dbrannon79:
well... tested and it's stuck on the bootanomation...

have to see what went wrong.. re-downloading the device trees and making sure I did get jellybean and not 10.1!!
[Samsung Captivate Glide] ninthsense:
I've searched but could not find an exact answer. What do i need to produce a non-rooted ROM ? Just delete the supersu.apk ?

Also the kernel comes pre-rooted, so in our case is the covenant kernel already rooted ?
[Samsung Captivate Glide] dbrannon79:
Dman, I am having problems building pa after updateing the device and kernel source!

I thought I may have cloned the 10.1 trees so I went back and made sure I got the jellybean trees. re-ran the build using the rom-build.sh same as I built before the updates and still the phone gets stuck at the bootanimation! not sure whats going on!

I am trying again, this time I deleted the entire "out" folder and started a fresh build.

I also installed ccache into the pa repo as you posted for cm 10 in the 2nd post. thinking it would work for pa as well. Could this have caused it to break?

any ideas as to what I did wrong? I still have a backup copy of the device trees that I used to make the first working build! if it still does the same thing after deleting the "out" folder I figured I'd restore the "working" copy of the device trees back into the repo and see if it works.

what else can I do becides starting over and resyncing the entire repo from scratch?

Thanks
[Samsung Captivate Glide] dman3285:
Go to kernel/samsung/i927 and rename it to i927.bak
[Samsung Captivate Glide] dbrannon79:
Thanks,

I'm still getting this tho... is this anything to worry about?

including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/samsung/i927/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/vendorsetup.sh
[B]Trying dependencies-only mode on a non-existing device tree?[/B]

Thanks again
[Samsung Captivate Glide] dman3285:
That's normal
[Samsung Captivate Glide] dbrannon79:
hey Dman, I successfult built pa using the updated device trees but the kernel still didnt build right. no service and also teh backlighting doesnt work! I thought TheGreaterGood fixed that and pushed it to the device trees in the covenant git!

what should I do?

Thanks

---------- Post added at 10:05 PM ---------- Previous post was at 09:50 PM ----------

flashed the cm10 build after renaming the folder to i927.bak and no boot! stuck at the animation!!
[Samsung Captivate Glide] ninthsense:
So did you resolve it ?
[Samsung Captivate Glide] dbrannon79:
yes! sorry i hadn't posted back! there is something in the source that's not letting the kernel build properly! but after flashing the Covenant kernel v3 all is working! bl for soft buttons and keyboard works now. also was able to flash over the first pa release to keep all my settings and data! but still had to go back and re-flash the kernel even tho I included it inthe 2nd release! but the good part is it's working! all the keys for the keyboard are working also!! I think we have a 99% working device!:D

I do have some reported bugs tho! no sound when recording video and no sound with ptt apps like zello and skpe. not sure if that is a known cm10 bug or something in my build.

Thanks
[Samsung Captivate Glide] ninthsense:
All keys meaning the 'sym' , 'voice search' and '.com' as well ?

No sound recording is the camera app fault i believe, as if you download lg camera from market, it works in it. It's a known bug in CM10 for glide.
[Samsung Captivate Glide] ninthsense:
Synching CM10.1 repo right now and would try to build it. Will notify here if i face issues.
[Samsung Captivate Glide] ninthsense:
After synching the the CM10.1 repo , would this work Dman?

$ gedit ~/cm10.1/.repo/local_manifest.xml

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

run again :

$ repo sync

As i understand once i do this, to update the ROM with the new changes in all the above github i'll have to just run "repo sync" and then build again.
[Samsung Captivate Glide] ninthsense:
:D posting from the new 10.1 build.