yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 General] gekkehenkie11:
"This forum is intended for XDA members to find or discuss development on the Galaxy Note 4, including ROMs, kernels, rooting, mods and much more, specifically for the Qualcomm Snapdragon variant of the Note 4."

Sounds like the right place to me.

Anyway on topic: here's the general porting method: http://wiki.cyanogenmod.org/w/Doc:_porting_intro and here the samsung code: http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=910f

Unfortunately going by what Samsung released previously, we'll need code directly from Qualcomm, did anybody find chipset code for the 805 already ?
[Galaxy Note 4 General] gekkehenkie11:
And here's the Lollipop Nexus 6 (of course also running snapdragon 805) code:

http://www.xda-developers.com/android/android-lollipop-source-pushed-to-aosp/
[Galaxy Note 4 General] gekkehenkie11:
Oh and also found this thread, should be helpful to get a start: http://xdaforums.com/showthread.php?t=2532873
[Galaxy Note 4 General] gekkehenkie11:
Anyway, getting my device in 2 weeks, hopefully around that time CM12 will be released too, mabye we should wait for that anyway, but I wanted to start this thread already to function as a knowledge sharing thread regarding getting cyanogenmod running on the Note 4. Going to do some digging in the sources codes already and see what's there and what's missing.
[Galaxy Note 4 General] slayher:
https://plus.google.com/u/0/+TonyLayher/posts/ABurAWxbk4V

:D
[Galaxy Note 4 General] bala_gamer:
Is Tony the official cm maintainer for note series d3vices?

Texted from Note 4
[Galaxy Note 4 General] gekkehenkie11:
Sorry but I really miss your point man. This is development and most importantly, this is Snapdragon: this thread has really not much to do with Exynos (which most likely will never even run CM12, at least not in the next year), so I really don't see in which forum it would be more ontopic than this one. If you disagree, let me know in which forum you feel it should be posted in and why and if it makes sense, I'll ask the mod, but again, I really don't see it.
[Galaxy Note 4 General] gekkehenkie11:
Wow, that's really wonderful news, you made my day man, thanks !!! :good: :fingers-crossed: :) Can't wait to flash it (need to wait 2 weeks to get my hands on the device though, damn, hehe). I've done quite a bit of work on the i9500, Ironing out bugs by reverse engineering stock ROM and my goal is to make CM12 on our Note 4 the best Cyanogenmod experience so far ! :) Man, really cant wait !
[Galaxy Note 4 General] TheUndertaker21:
I just got mine yeaterday im super excited. I'm really surprised how steady it feels in hands. It doesn't feel like a Samsung device at all. My babe is already rooted and unlocked just waiting on lollipop :)
[Galaxy Note 4 General] Narekrocks:
What I never understoodbis why DPI is so freaking high. Looks incredibly ugly. Set mine to 480.
[Galaxy Note 4 General] TheUndertaker21:
Picture was taken as soon i took it out of the box. So i didn't have time to do anything
[Galaxy Note 4 General] bala_gamer:
440 here [emoji6]

Texted from Note 4
[Galaxy Note 4 General] Droideatsappleforlunch:
Pointless thread in developer forum. Can't wait to see this closed. What is become of xda that anyone can post what he likes and where he wants.
[Galaxy Note 4 General] gekkehenkie11:
Not sure what your problem is, man. Cyanogenmod IS a huge thing, it's the reason I've bought a Note 4 snapdragon. Now please stop polluting this thread with how it's wrong, useless and everything. If you don't like cyanogenmod, move elsewhere please. Thanks.
[Galaxy Note 4 General] djxcee:
This should really be in the general forum. There's no mention of development whatsoever. Just wishing and hoping.
[Galaxy Note 4 General] gekkehenkie11:
This thread is meant for cyanogenmod development, not sure why you're even here if you're not interested in that. I've done quite a bit of development on cyanogenmod before, fixing stuff no one was able to fix, see:

http://xdaforums.com/showpost.php?p=56249627

http://xdaforums.com/showpost.php?p=56457395

http://xdaforums.com/showpost.php?p=56252850

My biggest achievement was being the first in the world to hack the unhackable (as microsoft called it themselves), xbox 360, see: https://www.google.com/search?{goog...ing}&q=thespecialist+xbox+360+hack&gws_rd=ssl

So, I'm as serious as can be about cyanogenmod development. Now please keep this thread on topic and no more offtopic "this is not the place" or "this is not interesting" posts please. Thanks.
[Galaxy Note 4 General] denson9874:
you're right dude!!! I attempted the port for CM for N4, but for some reason, I couldn't get the codes to get it going. It's good to see that it's some progress going on it and that I'm not the only one that wants the, to be considered, most powerful and universal AOSP Rom booting on our powerhouse
[Galaxy Note 4 General] DBDPCG:
Can't wait to get my hand on cm 12, it's hard to be happy with KitKat ( let alone touchwiz) after running lollipop on my nexus 5, it's great to see that devs are working on it !!!
[Galaxy Note 4 General] Droideatsappleforlunch:
Rest my case.
[Galaxy Note 4 General] bttfpromo:
I believe so. slayher is his username, and he states that he is maintainer.

https://plus.google.com/+TonyLayher...6081370362588761218&oid=109781780227026386444
[Galaxy Note 4 General] gekkehenkie11:
Is there anywhere we can download his sourcecode ? i'd like to see if I can build it already.
[Galaxy Note 4 General] fattire:
Not yet. WIP.
[Galaxy Note 4 General] bttfpromo:
I mean... it's already built.

It just has some problems with the radio (and other bugs I assume). He seems to know what he's doing, so I'm sure he will release it when he feels ready.
[Galaxy Note 4 General] gekkehenkie11:
I'm interested in building, not in builds ;)

Yeah I guess libril is going to be blob again, so that's always the difficult part, but nothing that cant be fixed.
[Galaxy Note 4 General] gekkehenkie11:
I just took a look at the source code as released by samsung and as usual it's pretty much crap. Just wondering, where do the CM guys get the code from ? I mean, the samsung release only contains one driver for Qualcomm (modem-host interface), but since Qualcomm is known to release much more than that (I think everything), where to find that ? I couldn't locate anything on their website. Maybe they use drivers from Nexus ? going to check those out now ...
[Galaxy Note 4 General] gekkehenkie11:
CM 12 repo is up already:

repo init -u https://github.com/CyanogenMod/android -b cm-12.0

just the general branch, no lrlte just yet
[Galaxy Note 4 General] AMDPOWERFIST:
I think someone needs to get a life.... you've posted more useless posts in this thread, derailing the topic, of which the thread was posted for - multiple times... and absolutely none of what you posted was of any value... get a job and stop wasting your time trolling threads. Especially useful ones like this which add value to everyone who owns this device.

Joined in Novemer 2014.... i suspect a new account because you were banned from an old one???

Let the admins do their job of administrating the forums.

To the OP of this thread - thanks for keeping us in the loop on CM - i actually asked a similar question the other day here: xdaforums.com/note-4/general/note-4-asop-cm-t2939494

Am glad that we are close to CM12 - as i thought it would be months off. Look forward to this in the coming weeks !!!
[Galaxy Note 4 General] spleef:
[MENTION=3296134]gekkehenkie11[/MENTION] .....do you already have a device tree set up on github or are in the process of creating one. ..if you do could you send me the link via private message if not wanting to share publicly. ...I'm also wanting to begin building for this device. .granted i haven't begun building a tree yet. ..but that's why i ask. ..if you already have one set up will save some time on my end. ....

Can look me up in github and here on xda I'm an experience builder and coder. .. have built liquid, aokp,pac,rootbox,vanilla unicorn, carbon, and many many more from source. ....maybe we could help each other to get the ball rolling

Here's link to my github. ..

https://github.com/spleef

Granted I've been inactive as of late due to a insane work schedule but that's over for now. ..so I'm able to spend more time deving....if not no hard feelings just figured two brains are better than one
[Galaxy Note 4 General] gekkehenkie11:
Hi mate ! Great you're interested in this too. No I don't have any device tree just yet. I'm leaving home now, travelling tomorrow, but am going to mess around with everything in the coming days, let's keep in touch !
[Galaxy Note 4 General] fattire:
Fwiw it's trlte not lrlte...

Package Complete: /lollipop/out/target/product/trlte/cm-12-20141116-UNOFFICIAL-trlte.zip

I'd hold off as slayher has been working on it only a few days and it's not ready for prime time as of yet. But it builds to the end since last week and as you can see boots as of last night, albeit w/o wifi, nfc, mobile, etc. A lot of moving parts and floating patches at this point.
[Galaxy Note 4 General] spleef:
Not a problem. ..have no problem waiting but if there is anything i can do to help just hit me up pm or on hangouts. ..use my Gmail to find me on hangouts. .. spleef79@gmail.com ....once we get a proper device tree i can start cranking out just about any rom we want. ...
[Galaxy Note 4 General] gekkehenkie11:
Awesome work ! If theres anything i can help with, especially reverse engineering, just let me know !
[Galaxy Note 4 General] bttfpromo:
So what kind of time frame are we looking at until we get a build without radios working?

Also, how close is the Galaxy Note 4 to the Nexus 6 in terms of hardware? Would it be easy to port?
[Galaxy Note 4 General] pbedard:
No etas dont ask that. And same processor
[Galaxy Note 4 General] lycan_codex:
Is there any link from which we can download completed builds. I am happy to flash it even without the radios working.

Thanks.
[Galaxy Note 4 General] bttfpromo:
You're right. That is a bad question to ask.

The more proper question is: Is there anywhere to see the status of the build?
[Galaxy Note 4 General] denson9874:
Hey Slayher got mobile data working on CM now so maybe it's closer to my Note 4 than I thought
[Galaxy Note 4 General] bttfpromo:
I don't think he has WiFi working just yet though.

But I think with the Nexus 6 using such similar hardware, good things are around the corner.
[Galaxy Note 4 General] lycan_codex:
How do you download completed builds?
[Galaxy Note 4 General] keithkevorkian:
Will this be for variants of v the snapdragon notes??
[Galaxy Note 4 General] pbedard:
Not right now only trlte
[Galaxy Note 4 General] nespresso33:
We do not even have a TWRP for lrlte.
[Galaxy Note 4 General] pbedard:
I dont know whoch one is mine trlte or lrlte
[Galaxy Note 4 General] fattire:
Yeah, but it's a long way to go. To whomever asked, S-pen works as a mouse. You bring it near the screen and you get the arrow pointer. Right now touchscreen, mobile data, display, rotation, backlight, colored led, hard-key led sdcard, bluetooth (at least it pairs), basic charging (not necessarily that fast charging mode) work.. pretty much everything else doesn't yet.
[Galaxy Note 4 General] bttfpromo:
Couldn't work be done faster if it were opened up to anyone that wanted to help develop for it?

Pardon my ignorance if that is currently true.

How can I load this on my Note to see what it looks like?
[Galaxy Note 4 General] hermeticist:
Trlte? Is that a combined multi variant rom?
[Galaxy Note 4 General] pbedard:
No triband
[Galaxy Note 4 General] fattire:
That's entirely up to slayher, but I believe that generally speaking, in the early phases of a port when things are as thoroughly broken as they are now, generally the work goes to get enough to a semi-stable state. (Until about an hour ago, it would crash when the backlight cut out.) This is because invariably someone will release a dog**** build, usually to get attention, and people will inevitably flash it, and then when it bricks beyond their ability to fix it, everyone goes after the devs (either to blame them or to beg for help).

It really is that unstable right now.

I say be patient, let it get to a decent place, as always don't ask for ETAs, and know that today anyway, a ton of stuff was worked on, and some if it actually got fixed... :) The display can turn off now without it restarting, so that's something.
[Galaxy Note 4 General] fattire:
Here's a quick update: I got wifi up for about 10 minutes, enough to take this before wpa_supplicant crashed. I can still establish a connection in cli, but Slayher and i are working on getting it more reliable :) Note that the call I missed in the notification was me calling myself, back when the SIM was in the phone (I took it out because it's not exactly stable.)

The back/other apps hard keys (and volume/power keys) both work too now :)
[Galaxy Note 4 General] gekkehenkie11:
Awesome work mate !!
[Galaxy Note 4 General] Mortify1:
I want this so badly it hurts haha. If you need testers just pm me and maybe we can work something out
[Galaxy Note 4 General] jdidtht:
That trlte is tmo.
[Galaxy Note 4 General] pbedard:
So what's sprint I thought there's is roo
[Galaxy Note 4 General] fattire:
thanks for the offer...

First-- Slayher figured out what was making wifi unstable, so it's now up and stable as far as I can tell.

Re: the requests to test the current build- appreciate the enthusiasm and everything-- it's totally up to Slayher.

My opinion as stated before-- first off, thanks for volunteering- the enthusiasm is awesome-- but honestly, overall at this stage it'll just lead to disappointment (the lollipop transitions are cool to play with, but not making/answering calls or having sound or video or location or nfc or a million other things kinda sucks right now). The testing isn't helpful yet per se as it's VERY obvious what's broken... starting with the fingerprint which is off.

Update: Sound seems to work too now. And I just said "okay google, this is a test" and it gave me a google search. On the other hand, when I tried it a second time, search quit. But there ya go, progress sorta. Turning sound on seems to have made things slooww.
[Galaxy Note 4 General] bttfpromo:
edit: Nevermind. I'm a fool.
[Galaxy Note 4 General] hermeticist:
Are you guys building CyanogenMod 12 or 11?
[Galaxy Note 4 General] fattire:
12.
[Galaxy Note 4 General] BotsOne:
I would like to do some work on this as well. Can I get access to what y'all are working with?
[Galaxy Note 4 General] Beukhof1:
Any builds we can test? or somewhere where we can see the progress?
[Galaxy Note 4 General] hermeticist:
Wow, people really can't be bothered to read 5 posts above...
[Galaxy Note 4 General] gekkehenkie11:
Of course I respect Slayher's decision and personally it doesn't matter for me, since I still have to wait a week before receiving my device. However I really hope he's not going to wait too long. I mean, there are developers on the sidelines now doing nothing, who'd just LOVE to help out ! But at this point, starting a port ourselves would be quite a waste of time, since Slayher's already accomplished the basic things, doing that all over ourselves feels like quite a waste of time. But then again, doing just nothing isn't an option either ;) So hopefully he can at least release it next weekend to some devs here who are intersted to help out. Again, it's up to him of course, but man it would be a waste of time to do all the work twice, when we can accomplish so much more if we work together !
[Galaxy Note 4 General] jdidtht:
The scheduled cm release date it Dec 1st for us. Let him do his thing. He has been doing this along time. We are fortunate he's on it.
[Galaxy Note 4 General] gekkehenkie11:
1 dec would be great of course ! Just saying, developers waiting on the sidelines is a waste of time and resources, we can accomplish so much more when we work together. But again, if 1 december is his goal, that would be fine of course.
[Galaxy Note 4 General] jdidtht:
I understand what your saying. Man, when I had the note 3 that cm dev waited like 5 months to post anything. Would not post his device tree or nothing. Just drove myself and community crazy. Like just post something to get the community to help out but he wouldnt do it.. But with Tony (slayher) I can assure you he is just destroying it as we speak. Dudes not your average part time xda dev, he's og, and I'm confident he and whoever is in his circle is grinding it out faster than most of us put together could do.
[Galaxy Note 4 General] fattire:
I don't know where this Dec 1 deadline is from. It sounds like an ETA, and well, it sounds like an ETA. I haven't heard anything about it, except this vague note about nightlies rolling out on some devices early next month. Slayher hasn't said anything about it as far as I know. Certainly not to me. I know he has a lot going on though. I haven't had a Samsung device before now, so I don't know what SOP is. My experience is with Nooks, Nexuses and the TouchPad....

If months is typical, so be it. Could be months. I have no clue... but Dec 1 sounds ridiculously optimistic to me. <shrug>
[Galaxy Note 4 General] jdidtht:
No your right. A user stated it on gplus and I'm sure its optimistic. But when the dev says most of the little pieces are coming together nicely, says most things are working lists off the important items that are working and the only thing that is still really busted that's a pita is in call audio? That's pretty god dang crazy, and an optimistic release of an alpha type nightly is more than within reach.
[Galaxy Note 4 General] gekkehenkie11:
Yeah that's what I'm afraid of. If I'd know Slayher would wait 5 months, I'd start porting tomorrow and share all progress here. Waiting 5 months is ridiculous.

Don't know the dude but he seems to make progress fast so that's something. I'm just not used to keeping things closed. My biggest coding/hacking project has been hacking the xbox 360 and I did that by opening a thread on xboxhacker.net where I shared all my progress, others jumped in, helped out, made progress too, so it was a great joint effort, everybody sharing their input, knowledge and progress. There's no way we'd have that 'unhackable' device hacked in just 3 months after market introduction if I'd kept it all to myself. It might not even have happened at all. Anyway since them I'm a huge fan of keeping things open, sharing as much as possible to reap the fruits of joint effort.
[Galaxy Note 4 General] fattire:
The other fingerprint

FWIW I'm hugely supportive of open development. What I *HATE* (and what's happened to me personally in the past) is someone taking your 99% completed months of work, making some minor modification and then either claiming a bounty for it or mass producing and selling it. That's on top of the people who install half-assed builds then complain that you broke their device.

But anyhoo, I digress..

I was gonna observe that if you go to the Android docs and look up "fingerprint", you get this. Doesn't look like there's any fingerprint reader support in lollipop. Oh well. Maybe next--

But wait, what's all this then (and this) in the code?

/**

* A class that coordinates access to the fingerprint hardware.

* [MENTION=278736]hide[/MENTION]

*/

Well, well. A fingerprint service! And if you look at the constants that are supposed to be supported in fingerprint.h and compare with the kernel's fingerprint.h.... they match.

So I guess setting fingerprint_enabled and/or Settings.Secure.USER_FINGERPRINT_IDS might have some cool effect...

[youtube]v3rhQc666Sg[/youtube]
[Galaxy Note 4 General] suzook:
OK, then start building, and release it. In all honesty, I'm anxious just like everyone else, but let's let slayher do his thing, at his pace. We don't want to push him away.
[Galaxy Note 4 General] gekkehenkie11:
Yeah that's always a risk, I was afraid of that too somewhat in the project I mentioned above (hacking the xbox 360), that some asshole would come in, took all our work, fix the last 1% and release it, like it was HIS work. Luckily that never happened. But it's only a risk in a project where the end-result is something that either works or doesn't (like a hacking project). In this case, it works already, it's just not 'stable'. Slayher was the first one to get it up on the Note 4, so if he'd release it now, he'd have all credits. And others would now be able to help out perfecting it, just like in any open source project. And about noobs installing it without knowing what they're doing: just a disclaimer from the start, that at this point it's for devs only and support will NOT be given at this point should do the job. If some idiot still messes up, then who cares ? I don't see any moral responsability for it at all if he did it after people telling him not to do it.

I think any dev in this scenario should ask himself: Am I doing the community any good ? Starting things up and getting within a month to something that's semi stable and then release it: that's a wonderful accomplishment and the community surely benefitted greatly. But in the example above, the dev who held the CM note 3 release off half a year: that asshole did a horrible job, he kept a release so long away for just personal 'fame'. If he had never even started the project, others would have jumped in and would have released something WAY sooner, so the world would have been much better off without him. And if that's the conclusion, on a project that you're not doing for money, then why do it in the first place ?
[Galaxy Note 4 General] gekkehenkie11:
Actually the more I think about it, the more I like the idea. Most probably Slayher will release his code at the point where we have just got the boot animation going. Or maybe even before that. But who cares ? It would be a cool thing to try anyway. I've never done a phone ROM port myself so it would be fun to try ! I'd not do it alone though. If there are some others who feel it would be fun, then we could start a DEV thread to exchange information, idea's and progress (actually that's what this thread was meant for, until that troll came in and convinced a mod this wasn't a DEV thread, but I'd ask a mod first next time to make sure they wont move the thread again). I'm still waiting on my phone though, like said I'm hoping to receive it next weekend. Anyway if there are more people interested, then tell me and let's go for it !
[Galaxy Note 4 General] andrew.mackew:
Trying to do that on an Exynos one.. hopefully I gonna have something soon.
[Galaxy Note 4 General] gekkehenkie11:
Now there's a challenge !! :) Nice ! The initial phase (getting to the homescreen) should be very similar though so so maybe we can help eachother out ! I've made up my mind, not going to sit back and wait till 'someday' Slayher releases his port. I figured, who cares if he releases it while I just got the boot anim running, just trying is fun ! As we speak I'm formatting my virtual disk for CM12 now, going to set everything up today (I'll have to wait till friday though to receive my Note 4, maybe even longer)

I've been researching a bit already and I find it quite frustrating that nobody seems to share info on how they did their port. People post 'hmmm stuck at the boot anim' and the next post is a day later 'Got it !!! Booting now !" without telling how they did it. I want to change that, and going to create a thread in the DEV department, sharing all basic info I've found. I've never done a port before and hopefully the thread can that way help other 'first time porters' after that. Would be cool if you'd join in !
[Galaxy Note 4 General] spleef:
I'm not much of a porter, i do the majority of building from source though i have done it in the past when i built for the Photon, heroc, and the atrix. ..am trying to get us a tree going to build from...but am having to make one from scratch so it's time consuming and painful...but eventually should have it up and running then can build anything we want. ...there are several threads already in place with "how to port" i have a few subscribed to and I'll link them for you when i get off of work today. ..that should help you get going in the right direction. ...