yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy Note II] DX.Deception:
I have a 64-bit Linux mint, with over 100+ gb free, so I should be good:D

My PC:

AMD FX-8350 4.0Ghz

Sapphire Radeon 7950

8G corsair extreme Ram

500gb HDD

320GB HDD

250GB HDD

So it should be a quick compile time :D
[Verizon Samsung Galaxy Note II] travisn000:
..much faster than mine!

Basic setup docs for building Omni is here: http://docs.omnirom.org/Setting_Up_A_Compile_Environment

The instruction for java didn't work on ubuntu; I used the following from the AOKP tutorial to get the right java:
[Verizon Samsung Galaxy Note II] DX.Deception:
I may go ahead and set up the build environment for later, when would you like to start?
[Verizon Samsung Galaxy Note II] travisn000:
To be honest, I'm not sure exactly when I will have time..

I was going start syncing the repo tonight, but I was trying to figure out how to make it a more minimal sync than what the HOW-TO gives instructions for, as I am running low on disc space. The HOW-TO instruction sync everything for every device listed THIS THREAD is what I was reading.

I think for now I am going to try and sync with a modified repo init command and then see how it looks in the AM:

(..this is how AOKP suggests pulling only a single device tree; I used t0lte for device, and samsung for vendor. )

repo init -u https://github.com/omnirom/android.git -b android-4.4 -g all,-notdefault,<devicename>,<vendorname>
[Verizon Samsung Galaxy Note II] DX.Deception:
Luckily, I have just linux mint on my 320GB HDD, so i have plenty of space, so im already syncing the repo. Hopefully you will have time soon because building this alone would not be easy at all, first and foremost we need to figure out how to fix the Radio Interface Layer, so we have working Data and Cell.
[Verizon Samsung Galaxy Note II] travisn000:
after syncing the t0lte device branch, I'm hoping we can just pull what we need from here: https://github.com/gchild320/i605_slim

..if you browse through it, it looks like there are only two slim rom specific files. If we can adapt them to pull the equivilent dependencies from Omni, we should (hopefully) be good.
[Verizon Samsung Galaxy Note II] DX.Deception:
Would you know how to start with that?

---------- Post added at 02:01 AM ---------- Previous post was at 01:47 AM ----------

well the repo has succesfully been synced
[Verizon Samsung Galaxy Note II] travisn000:
..I'm hoping with a little trial and error and we can figure it out.

Mine is also synced..

next step is to set ccache for the repo; this is optional, but since there is a good chance we will be rebuilding a few times this should make the build faster on the second and later builds. Adjust the path for your sync path (mine is ~/android/git/omnirom), and maybe increase it to 25G max since you have the room:

~/android/git/omnirom/prebuilts/misc/linux-x86/ccache/ccache -M 10G

Then load the build environmentals (period & space are needed, should be cd'd into the root of your repo sync):

. build/envsetup.sh

run the command "breakfast", and it should show avialable device options... mine didn't show any, so I created a local_manifest directory & local_manifest.xml file in my omnirom sync (~/android/git/omnirom/.repo/local_manifests/local_manifest.xml) with the following contents:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/samsung/t0lte" name="android_device_samsung_t0lte" remote="omnirom" revision="android-4.4"/>
<project path="device/samsung/smdk4412-common" name="android_device_samsung_smdk4412-common" remote="omnirom" revision="android-4.4"/>
<project path="device/samsung/smdk4412-qcom-common" name="android_device_samsung_smdk4412-qcom-common" remote="omnirom" revision="android-4.4"/>
<project path="hardware/samsung" name="android_hardware_samsung" remote="omnirom" revision="android-4.4"/>
<project path="kernel/samsung/smdk4412" name="android_kernel_samsung_smdk4412" remote="omnirom" revision="android-4.4"/>
</manifest>

..I'm not sure we need all of that, but that was my best guess based on: http://docs.omnirom.org/Samsung_Galaxy_Note_II

I ran another repo sync, but I still am not getting the option for t0lte???

..have to head to work for now, will take alook again later.
[Verizon Samsung Galaxy Note II] DX.Deception:
Im sorry, I completly forgot about this repo, where should i sync it at? same place as the last one?
[Verizon Samsung Galaxy Note II] travisn000:
What did you sync before?
[Verizon Samsung Galaxy Note II] DX.Deception:
The official repo, not the title verion

---------- Post added at 08:39 PM ---------- Previous post was at 08:27 PM ----------

T0lte
[Verizon Samsung Galaxy Note II] travisn000:
I'm still having issues with my method; about to delete the whole thing and start over... I was trying to build a defualt t0lte as a starting point before I mess with anything, but I cannot seem to get that to work.

If you run "source build/envsetup.sh" and then any, or each of "breakfast", "lunch", or "brunch", does it give you the option to build t0lte? If so, pick that option and see if it completes.

EDIT: in case you are curious, CM has info on these commands here:

http://wiki.cyanogenmod.org/w/Envsetup_help
[Verizon Samsung Galaxy Note II] DX.Deception:
Says there is no i605 with breakfast, so I contacted sbrissen, he said I need the device dependencies not just Omni repo
[Verizon Samsung Galaxy Note II] travisn000:
what about t0lte ? ..the i605 stuff I was going to try and adapt from gchilds320's i605_slim github, but I wanted to make sure a basic known working build was working before I started to break things.
[Verizon Samsung Galaxy Note II] DX.Deception:
I'm having extreme difficulty getting totlte
[Verizon Samsung Galaxy Note II] travisn000:
..me too; I was following instruction for the N7105 from here: http://docs.omnirom.org/Samsung_Galaxy_Note_II

I appear to have t0lte stuff, but get errors if i try and lunch or brunch it.. roomservice.py says "vendor/samsung/smdk4412-common/common-vendor.mk" does not exist. ...and it is correct! ???
[Verizon Samsung Galaxy Note II] DX.Deception:
Breakfast i605?
[Verizon Samsung Galaxy Note II] travisn000:
when I sync, it looks like it thinks its pulling it...

tln@homeserver:~/android/git/omnirom$ repo sync -j4 -f --no-clone-bundle |grep common
Fetching projects: 37% (155/418) Fetching project android_device_samsung_smdk4412-qcom-common
Fetching project android_device_samsung_smdk4412-common

---------- Post added at 07:36 PM ---------- Previous post was at 07:33 PM ----------

before I could do that for slimrom, I build a base t0lte rom just too make sure I had everything working, then added the i605 stuff mentioned above.. My plan was to do the same for omni

Here is the idea:
[Verizon Samsung Galaxy Note II] DX.Deception:
I'm confused about that
[Verizon Samsung Galaxy Note II] travisn000:
me too... ;D

I'll let you know if I figure anything out.
[Verizon Samsung Galaxy Note II] DX.Deception:
I've decided to just make a CM11 build to make sure I can at least do that, then I will try to link the required files from Omni to the Cm repo folder, such as the local manifest. Considering I cannot get the repo to sync after adding a local-manifest.xml file. :P. Also SLICK_RICK. ANY HELP WOULD BE GREATLY APPRECIATED! :D
[Verizon Samsung Galaxy Note II] apophis9283:
I dont know if it will overwrite room servive but you can always make a local manifest
[Verizon Samsung Galaxy Note II] travisn000:
I found that AOKP was very easy to build for the i605... my notes are here:

http://rootzwiki.com/topic/31166-tutorial-building-aokp-ubuntu-1204/page-343#entry1594289

my method for porting the Omni MultiWindow patch to it is here (..the links are to the most recent patch at the time that post, but might be outdated now) :

http://rootzwiki.com/topic/34747-feature-request-multi-window/page-2#entry1597305

..there is also a link a few post up from that one for a port of MultiWindow to CM.
[Verizon Samsung Galaxy Note II] DX.Deception:
I'm going to make sure I can build Cm. The I will try to use some of the repos to build Omni
[Verizon Samsung Galaxy Note II] DX.Deception:
I wonder if we can get halo into cm?
[Verizon Samsung Galaxy Note II] travisn000:
How is the CM build going?

I think I figured out the t0lte Omni build.. I think the wiki how-to is missing a line in the local_manifest.xml ..here is what I am using now, and it appears to be building:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/samsung/t0lte" name="android_device_samsung_t0lte" remote="omnirom" revision="android-4.4"/>
<project path="kernel/samsung/smdk4412" name="android_kernel_samsung_smdk4412" remote="omnirom" revision="android-4.4"/>
<project path="device/samsung/smdk4412-common" name="android_device_samsung_smdk4412-common" remote="omnirom" revision="android-4.4"/>
<project path="device/samsung/smdk4412-qcom-common" name="android_device_samsung_smdk4412-qcom-common" remote="omnirom" revision="android-4.4"/>
<project path="hardware/samsung" name="android_hardware_samsung" remote="omnirom" revision="android-4.4"/>
<project path="vendor/samsung" name="DonkeyCoyote/proprietary_vendor_samsung" remote="github" revision="android-4.4" />
</manifest>

..if it works out, then I'm going to try and add in i605 stuff from gchild320 / slimrom, as I know they have a working build.
[Verizon Samsung Galaxy Note II] DX.Deception:
It's not and I'm extremely aggravated, I am not able to extract the proprietary files through, (./extract-files.sh)

Know what to suggets?
[Verizon Samsung Galaxy Note II] drahpatel02:
when i flash omnirom, i lost my baseband. why is ti so? note2fix.zip does not work either.
[Verizon Samsung Galaxy Note II] apophis9283:
Cyanogenmods device tree is the only one that doesnt do it. Given AOKP pulled cms trees. I looked and looked and could not find one specific commit that would fix said issue. Other than just using cms device tree to compile omni
[Verizon Samsung Galaxy Note II] DX.Deception:
Would you be willing in helping us get this done? I got a fatal error delicate xml when I put Travisn000;49256179 local manifest
[Verizon Samsung Galaxy Note II] apophis9283:
Ill repo sync tonight and play with it when I get a chance. Football is on all weekend so ill try my best to see what I cant do.
[Verizon Samsung Galaxy Note II] DX.Deception:
Did it work out?
[Verizon Samsung Galaxy Note II] travisn000:
The t0lte build completed. Then I synced the omni i605 stuff and added the changes from the slim devices/samsung/i605 directory that looked appropriate (appears to be based on CM)... unfortunately I still get the same no sim card / baseband error.

I used an app cald Meld (graphical diff viewer) to compare the slim & omni i605 device trees and pull changes (including a few lines related to RILD) but it didn't work. ..this makes me wonder if the issue is in the kernel, or possible one of the smdk4412 tree's (..I did try building with the slim tree's for these briefly but I kept getting errors for missing omni make files and reverted by local_manifiest back to using tree's from omni).

I'm going to give it another try, maybe with just the kernel tree from slim, aokp, or cm next and see how that goes.
[Verizon Samsung Galaxy Note II] apophis9283:
Try pulling the ril stuff from cm. It would be exynos4
[Verizon Samsung Galaxy Note II] DX.Deception:
Any Luck?
[Verizon Samsung Galaxy Note II] apophis9283:
I compiled with cms trees and still no luck. Tried pulling in cms ril stuff and got an error. Im playing with it as I get time
[Verizon Samsung Galaxy Note II] DX.Deception:
Thank you, I'm still having manifest. Xml errors
[Verizon Samsung Galaxy Note II] apophis9283:
I got it to work with data, will uplaod tomorrow if you want it heres proof

Note there was no screenshot option

http://tinypic.com/r/2n6euth/5
[Verizon Samsung Galaxy Note II] DX.Deception:
well for the cm build i was able to extract proprietary files with a fresh flash. but i cannot figure out how to build nightlies instead of 4.3.1
[Verizon Samsung Galaxy Note II] apophis9283:
Not sure what youre trying to do. I pulled a lot of stuff from AOKP to get data working. Tomorrow Ill pin down exactly what it was. Just know data is working now, I have a 99% idea what the problem area was
[Verizon Samsung Galaxy Note II] DX.Deception:
Well I'm trying to build cyanogenmod to make sure that I can get my setup to succesfully do such. Then i will continue with the stubborn omni. Unfortunuatly I'm confused on how to build 4.4 nightlies instead of 4.3.1 :(. I've did this before with my Droid X but its been so long i forgot EVERYTHING.
[Verizon Samsung Galaxy Note II] apophis9283:
You keep missing me, I edited my post. I have data working on Omni now. I posted a picture as proof a few post backs
[Verizon Samsung Galaxy Note II] DX.Deception:
WHAT?! So data and cell works now? :D
[Verizon Samsung Galaxy Note II] apophis9283:
Yep, I sent a text to my wife. Didnt test it past that
[Verizon Samsung Galaxy Note II] DX.Deception:
If you dont mind, could you please upload a build? I WANT IT NOW :P. Your awesome man, how did you manage? and if you dont mind do you think you could teach me how?
[Verizon Samsung Galaxy Note II] apophis9283:
I havent narrowed down the issue 100% but I think the issue is in hardware/samsung. I have slow internet but I will try to upload before I pass out.
[Verizon Samsung Galaxy Note II] DX.Deception:
I'm sorry for bothering you. Just please send me a link when you can :D
[Verizon Samsung Galaxy Note II] apophis9283:
The ol' lady said I could stay up to upload it. It will be about 30 minutes as long as it doesnt register as a bad upload.
[Verizon Samsung Galaxy Note II] DX.Deception:
You really don't know how much I appreciate it. Tell her i said thanks also. :D

---------- Post added at 01:56 AM ---------- Previous post was at 01:34 AM ----------

I wonder how much longer on the upload time :P
[Verizon Samsung Galaxy Note II] apophis9283:
At 67% right now
[Verizon Samsung Galaxy Note II] DX.Deception:
Sweet!
[Verizon Samsung Galaxy Note II] apophis9283:
Check yout PM. Off to bed now. Will check back when I wake up.

---------- Post added at 02:36 AM ---------- Previous post was at 02:16 AM ----------

Had to ask before I passed out. Everything working for you?
[Verizon Samsung Galaxy Note II] DX.Deception:
Yea Bro everything is perfect! Would you mind teaching me the steps? I'd like to compile nightlies for myself. Also the active display didn't work since the proximity sensor was borked but a kernel flash fixed that. Also torch doesn't doesn't work. Don't care this rom is awesome:P
[Verizon Samsung Galaxy Note II] travisn000:
I was just checking in to say I give up for now... but it sounds like you figured it out.

I would also be interested in learning more about what the issue is, as well as more details about the workflow you use to pull from other roms and integrate into this one.

Thanks agian.
[Verizon Samsung Galaxy Note II] apophis9283:
Since I already had AOKP synced (Im an AOKP fan) literally it was all delete, copy, paste. Pretty simple. Im going through one at a time to figure out what folder fixed the data issue.
[Verizon Samsung Galaxy Note II] travisn000:
Thats pretty much what I was doing... I understand there is suppose to be a way using git to pull feature commits from other online repo's, but I find it easier / more familiar to download zips & drag/drop directories and diff files manually.

Anyway, great work! ..looks like I will need to clean out myOMNI changes and update my AOKP tree.
[Verizon Samsung Galaxy Note II] apophis9283:
Youll get 2 errors when you compile with the way I did it. One is fstab. Thats fixed by pulling sndk4412-common/rootdir from omnis device tree. Also youll get an error from an overlay simply gedit the file and delete line 163 which is something along the lines of workaround for broken keyboard. Other than that its a waiting game for it to compile
[Verizon Samsung Galaxy Note II] DX.Deception:
Would you be willing to walk me through step by step? I really wanna help and learn. Also should I go ahead and set up a AOKP repo?
[Verizon Samsung Galaxy Note II] apophis9283:
Ill upload my device folder for you all. I have no interest in taking this further. It will give you the leg up though.

The folder I am going to upload is samsung. Put it in device folder and delete the samsung folder thats already there and you shouldnt have any issues.
[Verizon Samsung Galaxy Note II] DX.Deception:
then compile? what about updating aokp when it gets updates?
[Verizon Samsung Galaxy Note II] apophis9283:
https://www.dropbox.com/s/bduhqtaei6818o2/samsung.zip

Push it all to github. Then if your'e worried about fixes just cherry pick them and push them to github...

if you run into any issues Ill do my best to help...
[Verizon Samsung Galaxy Note II] DX.Deception:
Im still figuring out github:( how do i push? im sorry i am a idiot.
[Verizon Samsung Galaxy Note II] apophis9283:
I myself have never pushed a whole folder, when in doubt google. Thats how I learned github.
[Verizon Samsung Galaxy Note II] DX.Deception:
Thank you very much! Do you mind if i sent you a friend request on the forums?
[Verizon Samsung Galaxy Note II] apophis9283:
I dont frequent XDA often, had an issue awhile back. Im on droid-hive these days. I don't mind, just know I don't check XDA often.

steaven.android@gmail.com

thats my gtalk info.

Just a quick question, do you make themes?
[Verizon Samsung Galaxy Note II] DX.Deception:
Thank you very much, ill add you on gtalk. No sir i do not. I wish. But i do like inverted themes. ALOT. So far my fav is Thryus Holo Kitkat black https://play.google.com/store/apps/details?id=com.template.theme.ThyrusHoloKKDonate
[Verizon Samsung Galaxy Note II] apophis9283:
I didnt know if you were the DX guy on playstore that made themes.
[Verizon Samsung Galaxy Note II] DX.Deception:
Nope, anyways im having trouble adding you to my gtalk.
[Verizon Samsung Galaxy Note II] apophis9283:
?

Should just put in my email address and send it
[Verizon Samsung Galaxy Note II] DX.Deception:
sent ya a message
[Verizon Samsung Galaxy Note II] apophis9283:
Not sure if I got it. Send me a PM with your name. I have a ton of people on Gtalk its hard to keep track no offense.
[Verizon Samsung Galaxy Note II] DX.Deception:
Done

---------- Post added at 03:22 PM ---------- Previous post was at 03:09 PM ----------

So I deleted my omni folder and resynced the repo. What now?
[Verizon Samsung Galaxy Note II] apophis9283:
Its not the omni folder

delete the samsung folder inside device.

Put my folder inside.

Compile
[Verizon Samsung Galaxy Note II] DX.Deception:
so cd android/omni/system/device/ ?
[Verizon Samsung Galaxy Note II] apophis9283:
omni/device/put my samsung folder here
[Verizon Samsung Galaxy Note II] DX.Deception:
Okay did that, now to reflash the rom to get rid of the kernel so i can pull proprietary files. unless you know if i can copy and paste from cm build.

Nvm. I was able to reboot to be able to pull the files. still working on common files.
[Verizon Samsung Galaxy Note II] apophis9283:
You shouldnt need to do anything else........
[Verizon Samsung Galaxy Note II] DX.Deception:
Thanks :D So anything you can tell me about cherry picking?
[Verizon Samsung Galaxy Note II] apophis9283:
cd to the directory and cherry pick then paste in the window.
[Verizon Samsung Galaxy Note II] DX.Deception:
Thanks!

---------- Post added at 04:09 PM ---------- Previous post was at 04:06 PM ----------

Is it safe to repo sync without losing the samsung folder?
[Verizon Samsung Galaxy Note II] apophis9283:
Should be. Should give you an error but keep the folder just in case. Worse comes to worse delete the folder, repo sync, put folder back
[Verizon Samsung Galaxy Note II] DX.Deception:
Ugh. before i pulled the propreitary files. the build was compilling and i remembered i forgot to pull them. now that i have them it says i dont have the product spec for i605.
[Verizon Samsung Galaxy Note II] apophis9283:
that doesnt help, post the error
[Verizon Samsung Galaxy Note II] DX.Deception:
justin@mint-desktop ~/android/omni $ brunch i605

build/core/product_config.mk:227: *** _nic.PRODUCTS.[[device/samsung/i605/omni_i605.mk]]: "hardware/samsung/exynos4x12.mk" does not exist. Stop.

WARNING: Trying to fetch a device that's already there

build/core/product_config.mk:227: *** _nic.PRODUCTS.[[device/samsung/i605/omni_i605.mk]]: "hardware/samsung/exynos4x12.mk" does not exist. Stop.

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

** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'
[Verizon Samsung Galaxy Note II] apophis9283:
Ugh you may have to make the changes yourself.

Go to AOKP's git hub and download their i605,t0lte,smdk4412-common, smdk4412-qcom-common.

Take the samsung folder out of your omni folder.

Then move every file you have in your omni device/samsung folder over into the AOKP folders. Do not screw with the folders only the files. Then put your modified AOKP stuff back into omni/device/samsung

Im out of time for the day, so this will have to be put on hold
[Verizon Samsung Galaxy Note II] DX.Deception:
Thank you for your help. :D
[Verizon Samsung Galaxy Note II] DX.Deception:
I know your not online but, i figured I'd let you know that i think i fixed the problem. In order to compile after forgetting the proprietary blobs I went into .repo/local_manifests/ and delete room service.xml. So after doing that I went to /android/omni/ then . build/envsetup.sh, then brunch i605. So far its compilling :D

NVM. Did the same thing again.
[Verizon Samsung Galaxy Note II] apophis9283:
Not sure whats going on. The way I did it was really simple.
[Verizon Samsung Galaxy Note II] akellar:
He doesn't have hardware/Samsung synced
[Verizon Samsung Galaxy Note II] apophis9283:
Well, that explains it. Yeah you kind of need that.

---------- Post added at 10:05 PM ---------- Previous post was at 10:02 PM ----------

If I knew how to push folders to git I would fix everything and push it. Ive never done anything more than commits
[Verizon Samsung Galaxy Note II] akellar:
Omni has a gerrit.
[Verizon Samsung Galaxy Note II] apophis9283:
I couldn't find one specific commit. If I knew exactly what was casing it and not just the general area I would push it. Ive looked through Cm's gerrit of merged commits for all directories that matter. I didnt have any luck
[Verizon Samsung Galaxy Note II] DX.Deception:
How do I sync hardware/Samsung?
[Verizon Samsung Galaxy Note II] apophis9283:
For the sake of simplicity go to aokps github. Find hardware/samsung. Download the zip and just rename the folder and stick it in the directory
[Verizon Samsung Galaxy Note II] DX.Deception:
what do i rename too?

---------- Post added at 07:49 PM ---------- Previous post was at 07:42 PM ----------

Nevermind, i renamed it and so far it's building. Will this automatically build the latest code? not previous code?

Edit: Im just wondering because for build type it says release and not nightly.

---------- Post added at 07:58 PM ---------- Previous post was at 07:49 PM ----------

make: *** No rule to make target `/home/justin/android/omni/out/target/product/i605/kernel', needed by `/home/justin/android/omni/out/target/product/i605/boot.img'. Stop.

i think im missing the kernel
[Verizon Samsung Galaxy Note II] apophis9283:
Lord, you need the kernel too. You need all the dependencies for i605. Look at roomservice file it should show you all the dependencies.
[Verizon Samsung Galaxy Note II] DX.Deception:
Well dang im sorry im a idiot. I'll look to omni's irc and leave you anlone. thanks for the help.
[Verizon Samsung Galaxy Note II] apophis9283:
It wasnt meant to be like that. Get with me on gtalk I have some time
[Verizon Samsung Galaxy Note II] DX.Deception:
Would you like to use omni's irc i'm talking to a few people and your help would be appreciated