yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Original Android Development] Mussels84:
you literally can not wait? oh god, but it's not ready yet.

what will happen to you? DO YOU NEED HELP? ARRRGGGHHHHHH

(look its 1am here, i'm a little bored)
[Galaxy Note 4 Original Android Development] Jeddix:
I'd rather have a complete CM 12.1 with the 5.1.1 kernel and drivers than a half broken CM 13. But it's up to the devs and we can't do anything other than wait here in both cases :).
[Galaxy Note 4 Original Android Development] fattire:
Well, you could learn to do a build... and help :)

Btw gekke is now caught up with a build built. But same kernel issues as of now..
[Galaxy Note 4 Original Android Development] Jeddix:
It wasn't my intention to sound spoiled ;). I'm a developer myself, sitting in front of a computer with Visual Studio 8 hours a day at work. My desire to code at such a big project isn't too big but I really admire your work here.
[Galaxy Note 4 Original Android Development] Mussels84:
never forget that our phones support dual booting, so we can always screw around with CM12.1 and CM13 at the same time :D
[Galaxy Note 4 Original Android Development] isaacinsoll:
Dumb question, but what is the advantage of the 5.1.1 kernel over what we have now? I get that its "matching" but what is the benefit of that?
[Galaxy Note 4 Original Android Development] agsola:
Do you need help building?

Or do you need some other help?

I may try to help, though I program myself I have never programmed a kernel or OS, but I have Android apps.
[Galaxy Note 4 Original Android Development] finallau:
Can someone help me with my toasty note 4?

I am using Trickster Mod with stock kernel running latest nightlies and my phone heats up very quickly just 5 mins of gaming

I have locked CPU frequency at 1.2Ghz and tried setting CPU temp throttling at 60°C+ (any lower will cause lag and stuttering very badly)

Phone Temp after 5 mins of gaming:

Core Temp: 60°C+

Battery Temp: 40°C+

CPU Governor: interactive

MP-Decision is ON

Should I turn off MP-Decision or lower GPU frequency?

Even just normal usage my phone feels pretty warm about 33-37°C compared to TW

Sorry and it's likely because here in my country is always 30-34°C
[Galaxy Note 4 Original Android Development] monleylord:
Qualcomm just released new ardeno gpu drivers for marshmallow. Are you wanna include those drivers to cm 13.0?
[Galaxy Note 4 Original Android Development] fusinvert:
hey every body this rom cm 12.1 work at note4 sm n 910h thanks.
[Galaxy Note 4 Original Android Development] bonfilet:
I am running cm12 and the latest nightly, but my contacts is not working. Every time I press on the contacts app it says "Unfortunately contacts has stopped". Does anybody else have this problem and/or found a solution?
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Sounds like you need to wipe cache + wipe dalvik cache. If that doesnt work maybe a factory reset.
[Galaxy Note 4 Original Android Development] grautz:
Kernel

Hi, I'm trying to find the standard CM12 kernel, but all I am finding is just custom ones. Is it included somehow or should I download the 3.10 from here? https://www.kernel.org/

I have no idea about kernels other then that I can flash them in TWRP :p

I downloaded the BOB4 BL and modem. Just want everything as recommended!
[Galaxy Note 4 Original Android Development] Mussels84:
its included. if you go custom and want to come back, simply reflash the rom.
[Galaxy Note 4 Original Android Development] grautz:
Full wipe or everyday nightlies updates?
[Galaxy Note 4 Original Android Development] Mussels84:
the nightlies over the top would do it fine.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Just an update on getting Cm13 up: [MENTION=3041959]fattire[/MENTION] and I've been quite busy trying to get CM13 up. It's still stuck at the samsung bootloader screen. However we found a way to pull some error logging off the device: when the ROM doesnt even boot to the bootloader screen you can't ADB into it to pull the logs. However the kernel was kind enough to dump some crashlogs, which we could pull by booting into recovery. So what now seems to be the case is that it's a problem related to the graphics/Adreno blobs. Of course we dont have those yet (Samsung would need to release Android M first). However the Nexus 6 has them already and our device should be able to work with those. So we're now trying to get it running with those.

Anyway, we're making progress here and now have a good lead on the issue., I'm hoping to see the CM13 bootloader logo before the end of the weekend :)
[Galaxy Note 4 Original Android Development] negativman:
Sorry if asked! Weather is not displayed in the notification bar! Everyone has such a problem?
[Galaxy Note 4 Original Android Development] Mussels84:
it does for me, although i'm on a build a few days old. pull down twice so the toggles appear, and its in the top right?
[Galaxy Note 4 Original Android Development] negativman:
In fact of the matter! Not displayed weather. In Note 3 is displayed, on the Note 4 no. Although the firmware on both CM12.1.
[Galaxy Note 4 Original Android Development] Mussels84:
we might be having a language difficulty - i will send a screenshot

i can tap on that and get weather just fine. I'm on 2015-10-10
[Galaxy Note 4 Original Android Development] Mandoza:
[MENTION=3296134]gekkehenkie11[/MENTION] please could you link me that phone with the snapdragon 820 u wanted to buy to me?
[Galaxy Note 4 Original Android Development] negativman:
So just after 10.10.15 and disappeared! Just saying, anyone else have this problem?
[Galaxy Note 4 Original Android Development] twista49:
Latest nightly and mine is showing weather in notification toggles
[Galaxy Note 4 Original Android Development] Racinghart91:
Should I update my phone to the latest nightly? I hear a few people having troubles with it..
[Galaxy Note 4 Original Android Development] Mandoza:
I'm not having any problems with it...
[Galaxy Note 4 Original Android Development] negativman:
Maybe someone left the ROM (zip) from the 10th of October? On the CM website links to previous versions are not working.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Does anyone have a 5.1.1 N910FXXU1COI3 original samsung ROM laying around ? If so, I need it, could someone upload to dropbox for example and pm a link ? I'm downloading now from some other site but it's going to take 4-6 hours. And via mega even longer. So if someone has a faster link, PM please :) I need it to get CM13 up. Thanks !
[Galaxy Note 4 Original Android Development] Battlehero:
Samfirm is a lot faster
[Galaxy Note 4 Original Android Development] agsola:
Sent a dropbox link. Hope it helps.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Thanks mate, that's a lot faster indeed :)
[Galaxy Note 4 Original Android Development] pt.jcosta:
I work at Samsung. you need something in particular?
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Android M source code would be nice ;) Hehe but no, thanks, at the moment I have everything I need, thanks anyway appreciate it.

Anyway some good news regarding CM13: several problems were fixed and it now gets beyond the kernel loading stage and I can now actually even make logcat output !! Previously it wouldnt even get to that stage and I'd be just staring at the samsung bootloader logo. Which I still am btw but now at least this very important step has been made. Now we can analyse the logs much easier and figure out what the problem is.

So, important progress today, stay tuned for more !
[Galaxy Note 4 Original Android Development] Mussels84:
My fiancees phone is on this rom now, and she's experiencing a bug i cant reproduce. It's gotta be some setting we have different, but i can't figure out out.

Every now and then when she unlocks her phone she gets a loud screeching noise - locking the phone makes it go away, unlocking brings it back.

Since she's terrible at telling me what she was doing before it happened i've only heard the sound before and not see the cause, but has anyone else experienced this? She's using a custom MP3 as a ringtone but stock notification sounds so i dont think thats related to the problem.
[Galaxy Note 4 Original Android Development] agsola:
This happens to me as well.

Like an UFO sound from the 80.

I can tell you I do nothing special, sometimes I am just looking at the screen to see the time.
[Galaxy Note 4 Original Android Development] Mussels84:
the only things my missus seems to do different to me is the custom ringtone and notifications, and using silent mode. do you use any of those settings?
[Galaxy Note 4 Original Android Development] agsola:
I don't currently have a custom ringtone, just for the alarms.

I use silent mode, but I wasn't using it when I last got it.
[Galaxy Note 4 Original Android Development] Mussels84:
damnit, this ones annoying me because i cant figure it out. missus and I are on the same modems and bootloaders, same recovery, same build of the ROM - so why does she get it but not me?
[Galaxy Note 4 Original Android Development] agsola:
My wife has the same mobile as I do and she doesn't have any problems.

I am more of a poweruser, and have apps like Greenify. But from your words your wife doesn't
[Galaxy Note 4 Original Android Development] Tom540:
Latest nightly works great, but has anyone managed to get the colours back to their previous high saturation? I have tried changing the LiveDisplay settings but the colours remain less saturated
[Galaxy Note 4 Original Android Development] brado380:
Has anyone else noticed that the animation to open the app drawer is very choppy?

---------- Post added at 09:15 AM ---------- Previous post was at 08:43 AM ----------

And what's the best I/O scheduler for battery life?
[Galaxy Note 4 Original Android Development] aukhan:
I've been using it from past couple of hours and I've noticed a huge drain in Idle mode, I am really thankful that cm12 is a come for n4. But I guess I'll rollback to AICP I've noticed that even putting the the device in deep sleep its constantly awake I can feel the slight even tough the phone is in pocket. I tried the custom kernel as well but don't work even that had this issues. During the Idle time in 2hours I saw a 5% drop and I had everything amplified. Sync off all social apps greenified and even the whatsapp and telegram greenified. But causing a humongous drain. I am not a big fan of TW.

Other than this I've no issues I am really looking forward for stable or a weekly I shall try soon.View attachment 3208337

End of day I'll post battery usage and which will give me more clear idea as what is the usage.

If you see the SS the awake time is same as the device time so its not sleeping at all.

I'll try to find a way how this can be improved.

Powered by ET !
[Galaxy Note 4 Original Android Development] Romainlt:
Hi , you know if the themes work now?
[Galaxy Note 4 Original Android Development] gekkehenkie11:
In my first post you'll find a link to a small crash course on how to find out what's draining your battery. I'm guessing you have a faulty gapps, which has been reported before.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Exactly what animation are you referring to ? The one that animates the app screen after you've unlocked the phone ? Never saw that being choppy
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Yes they work fine. A lot of work has been done on the themes and I think the latest 2 builds are 100% good now.
[Galaxy Note 4 Original Android Development] kylothow:
I noticed this since the new lollipop kernel has been pushed to the repos, I'm not a developer but when I first noticed this I thought it was due to kernel changes
[Galaxy Note 4 Original Android Development] gekkehenkie11:
I think they added LiveDisplay only recently, right ? Also I'm not sure I understand the issue exactly, what seems to be the problem here ?
[Galaxy Note 4 Original Android Development] kylothow:
You're right, LivedDisplay appeared in the settings 2, maybe 3 nightlies ago.

The problem is that I (we) noticed that colours are less saturated, for example if you open play movies, supposing you did before, you'll notice that red is less bright/colder now, and obviously the problem is system wide.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
And if you disable Livedisplay ?
[Galaxy Note 4 Original Android Development] kylothow:
As you can see in the screenshot, it's disabled, by default also
[Galaxy Note 4 Original Android Development] Li-Pol:
Try to disable "Reduce power consumption" option.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Ok. So you're saying that with livedisplay colours are different, even if you have it disabled ? So if I'd take a screenshot of an image on this build and compare it to a screenshot of a build before Livedisplay and then pick colours using a paint program I should get different values ? That's something I could try and I could then drop a message to the authors of Livedisplay.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Confirmed. This is a general CM12 bug, it also exists on other ROM's like the Sony experia: http://xdaforums.com/showpost.php?p=59224564&postcount=1041

This wouldnt be something on my personal 'to fix' list, I want to make sure first that there are no issue's at all left anymore specific to our device. So, getting facebook video support (which IS specific to our ROM) would be first on my list.

Anyway, like you said (and also suggested in that other thread), just load ringtones from the internal memory and it works just fine. BTW calling a rom 'unstable' because of a general issue with CM12 where you cant load a ringtone from your external card instead of internal card, well that's very far from 'unstable' in my book)

We worked really hard on this ROM for months, fixing really complicated issue's to bring CM12 to our beloved Note 4, from getting NFC to work (had to reverse engineer the samsung version cause Samsung doesnt follow the normal guideliness here) to hacking the camera HAL to get UHD video going (which isnt officially supported by google). I'm pretty proud of the result, I think this has become one of the best and most stable CM roms out there. Yet, there's a guy on a forum who cant load his ringtone from his external sdcard and thus claims the ROM is 'unstable'... Sigh.
[Galaxy Note 4 Original Android Development] kylothow:
Hmm if the problem is power saving mode we can just compare screenshot with and without it enabled...
[Galaxy Note 4 Original Android Development] gekkehenkie11:
So I just restored my image from the build from the 5th (that's from before Livedisplay was added), made a screenshot and compared it to a screenshot of yesterday's build, I see 0 difference ...
[Galaxy Note 4 Original Android Development] kylothow:
In this case more than disabling livedisplay I need an optician hahah
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Actually no, you might have been right. I just did a small test, changed livedisplay colours to extreme temp and then shot another screenshot. The difference cant be seen. So it seems the screenshot is without livedisplay processing so the test I did was invalid ...
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Try playing with that power saving mode and let me know if that helps.
[Galaxy Note 4 Original Android Development] Mussels84:
hers is really basic - a few games and facebook.
[Galaxy Note 4 Original Android Development] fattire:
Good news a'comin'
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Indeed, breakthrough !! [MENTION=3041959]fattire[/MENTION] and I have been working hard to get Android M up and just booted into the GUI ! Haven't even checked what does and what doesnt work, I'm sure a lot of stuff needs fixing but this is really nice progress indeed !
[Galaxy Note 4 Original Android Development] Ogy77:
Thanx guys for hard work,you are magic.
[Galaxy Note 4 Original Android Development] Mussels84:
friggin nice :D
[Galaxy Note 4 Original Android Development] Si1kIfY:
Just wanted to say, turning off the ambient notification thingo solved my battery draining issues.

Thanks for the rom guys, it's awesome :)
[Galaxy Note 4 Original Android Development] Mussels84:
yep i mentioned that a few pages ago, its a serious battery drain.
[Galaxy Note 4 Original Android Development] Si1kIfY:
Is it worth pinging [MENTION=3296134]gekkehenkie11[/MENTION] to put it in the FAQ on the front page? (i'm still getting a hang of how the xda community lays out information) :good:
[Galaxy Note 4 Original Android Development] Mussels84:
i suggested that when i found it - cant remember his response now actually. I dont think it'd matter if it was turned off by default on the ROM, personally.
[Galaxy Note 4 Original Android Development] danrollo:
What option is this exactly?
[Galaxy Note 4 Original Android Development] Si1kIfY:
Sorry it's...

Settings > Display & lights > Ambient display
[Galaxy Note 4 Original Android Development] drmoeed:
That ScreenShot is freaking me out .....

#Marshmallow ...

Thanks for the work ...
[Galaxy Note 4 Original Android Development] Mussels84:
looking forward to testing mooshmillow, even if its incomplete for now :D
[Galaxy Note 4 Original Android Development] agsola:
I think is somehow buggy.

For instance, when I receive a notification, it turns on like twice or three times, like just when receiving, a few seconds afterwards, and then like have a minute after that.

Sometimes more, sometimes less.

And..., when using stopwatch it turns on quite a lot, like every change in the UI is a new notification.

That makes te screen turning a lot on, and being sensitive to unconsciously turning the phone on touching it a bit.

I think that may be the problem.
[Galaxy Note 4 Original Android Development] Mussels84:
so my partners phone has a new bug, at least i've experienced this once myself (although not for weeks)

apart from the screeching sound that happens sometimes, she's also getting a black screen 'freeze' where the phone simply wont do anything until you remove the battery and power it on again. only happens once every day or two, but still happening.

It's driving me mad that we have the same phone, yet totally different experiences.

any ideas?
[Galaxy Note 4 Original Android Development] agsola:
jajaja, this is crazy.

As well as the sound, I've got this. Just once, two o three days ago.
[Galaxy Note 4 Original Android Development] fattire:
Update for gekke

Gekke,just a quick update if I don't catch you on IRC:

Best match

TAG: AU_LINUX_ANDROID_LA.BF.2.1_RB1.05.01.00.173.042

Lines changed: 3246055

This branch was cut on April 3, 2015. When you diff w/samsung's kernel release, you get 34462 modified files, 10818 files deleted, with only about 1232 new files:

I think we should use teh AU_LINUX_ANDROID_LA.BF.2.1_RB1.05.01.00.173.042 tag as a base.. At first I was thinking when we create a dump of samsung's kernel we should "trim" the extra 10K files that are in Code Aurora's file but not in Samsung's. But the more I think about it, this would include a bunch of .gitignores, and maybe we should just let the overhang remain-- that may avoid issues with subsequent commits that may expect to find those files there and would break otherwise.

If you're good with it, I'll try tomorrow (night?) to do this, including re-applying any of my commits from my cm-13 that didn't make it to samsung... thoughts?
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Sounds like you've found our base kernel indeed, congratulations, nice work fattire ! Let's discuss later today on IRC
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Well for the moment there's not much to test, pretty much everything is broken. Most likely this is because we are on an old kernel (still kitkat). For example we couldnt even bring Android M up because our video driver was way too outdated, only after we used the one from 5.1.1 we could get it to boot. I'm sure other kitkat drivers are breaking other things too.

So, our plan now is to first merge the whole 5.1.1 kernel. I just wanted to push the 5.1.1 kernel as Samsung recently released but fattire wanted to find the base kernel that Samsung used in the first place and then push the diffs with the kernel as released by Samsung on top of it. This has the advantage that that way we'll have a 'history' of the kernel commits. This means we can quickly see which patches are included and which ones we might need to add ourselves later on. As you can see in the post above, fattire just found out which one was our base kernel (there's a script out there that compares all kernels and finds out the one with the least changed amount of lines). So, next step is to push Samsung commits on top of that, then the CM commits. Then the new 5.1.1 blobs and then we'll try to get the whole thing booting again and see what works then and what doesn't :) So quite a bit of work but we'll get there ! [MENTION=3041959]fattire[/MENTION] has a lot of experience with this, I'm new to this part so really happy he's here to help, it would have taken me ages to re-invent the wheel here and figure this part out myself :good:
[Galaxy Note 4 Original Android Development] pt.jcosta:
Try this. Is opensource samsung note 4

Link :

https://drive.google.com/file/d/0B58YMQjEAh4CRHg0Tm1CMzdnaEE/view?usp=docslist_api
[Galaxy Note 4 Original Android Development] nds850:
[MENTION=3296134]gekkehenkie11[/MENTION]

I may have missed it but is there a newer fix for the camera where it doesn't save the images in RAW?

Exciting to hear about CM13, looking forward to it :)
[Galaxy Note 4 Original Android Development] koven666:
Awesome guys ! Great job
[Galaxy Note 4 Original Android Development] fattire:
Kernel #3

A quick note for gekke--

Wanted to get this down in one place since you may be out for a bit, so I don't forget.

* I think you can remove the <remove-project> lines from roomservice.xml. It doesn't seem those projects break the build any more.

* I have now set up the kernel again, this time using the 5.1.1 sources. For those keeping track, this is the third time I'm doing the kernel:

The first time I hand-patched the Kitkat kernel. We had trouble booting this guy... because the selinux patches weren't in.

The second time, I cherry-picked the kitkat kernel with 6.0 commits, including the selinux patches and vidc patches and basically everything else, which did allow marshmallow to boot, but there were some issues that suggested future driver issues and that we might wanna just patch the 5.1.1 kernel and get it over with. But anyway, I pushed this patched kitkat kernel to the cm-13.0 branch on my repo.

This is the third time, and hopefully the "rightest time". I started by comparing the Samsung's 5.1.1 source to QCOM (Code Aurora)'s 3.10 repo, and using a best_kernel script determined that the match was probably the AU_LINUX_ANDROID_LA.BF.2.1_RB1.05.01.00.173.041 tag from CAF. So I used this as a "base" and added the 5.1.1 source to there. At that point I cherry-picked (maybe shoulda merged but oh well) the selinux, cpufreq, uid_cputime, and most of the cm changes, followed by the vidc stuff to make the android build happy. This took all day, but the result is in the cm-13.0-test1 branch on my repository.

I'm currently building again from "clobber" to see if it gets to the end.

What I'm thinking you might try:

Take a look at the commits-- particularly the CM ones. There's a part of the old kernel where it looked like commits were added, then reverted, then the reverted ones were reverted, and then they were reapplied and I have no idea what was going on there. So I skipped those. If you can figure them out, feel free to re-commit or whatever.

Anyway... to use this kernel....

1. Get rid of the <remove-projects> as mentioned above.

2. While you're in roomservice, change to cm-13.0-test1 on my branch

3. make sure you're using the new adreno blobs (I'm not sure if you were building it or adding it afterwards)

4. brunch trltexx

Let me know what happens.

Again, to everyone, gekke may be off the radar for a little bit. I'm just posting this here while it's fresh in my mind for him to look at when he gets back.

ft