yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 General] gekkehenkie11:
Not sure what 's up with sound, I have no problems but then, I'm still using an old build. I will build the whole thing soon for myself and see.

Anyway, I just fixed UHD video recording for stock cam ! Here it is, flashable zip: https://mega.co.nz/#!DFhXjBxY!JxrwY9rtymyDEvg6RLxrlRYmcu0U2uv7O4skF5TFW7I

You should get UHD recording after that in stock cam. Wow this has been a huge project, countless hours, in the end tables in the HAL needed to be patched, camera code needed patching, the wrapper needed to be patched for YUV settings and then the XML setting to enable the settings in the cam (thanks [MENTION=3041959]fattire[/MENTION] for that !). Works on my end but nobody else tested it, so let me know please !
[Galaxy Note 4 General] :
I don't want to say this and be a dic* ,but I do want to raise the question as to why this was necessary(not at all, but just why right now). basically filming in 4K doesn't makes a difference as no one right now(..maybe 0.01%? of note 4 owners) have a 4k supported TV. and from the few articles I've read I learned that watching 4k contect on the note 4 small screen/un-supported TV mean that your eyes can't even tell the difference between that and 1080p. so basically what I'm saying is first of all great job for the amazing work, but shouldn't the limited hours you have be spent on improving other stuff that are used more frequently? again, just raising a point, not trying to make an argument.
[Galaxy Note 4 General] gekkehenkie11:
Simple fact of life is that you can't make everybody happy. Our goal has been to first get you guys all the features that stock ROM has. This was the last thing that was lacking I think (well I think NFC payment doesnt work but I dont even use that at all, so I can't do that for you guys). Apart from that, yeah it sounds quite disrespectful, after all the hours we've put in to come up with such a reply. Makes me wonder why I'm even doing it, nobody pays me anyway ...
[Galaxy Note 4 General] :
you actually need to think about what I said the other way around..*because* I think you are doing great work here and *because* I know you have limited time to help with this project(CM on 910F) I wanted to raise the question for prioritizing things that are getting fixed. Trust me when I'm saying that this was not criticism, but raising a point to improve the time spent on fixing things.

EDIT: btw what you said about NFC is excatly my point which I think you agreed on- nobody really uses NFC. so if its that(or 4K which can't actually be used without proper equipment) or fixing themal issues shouldn't thermal get prioritized when you guys(the devs) have limited time?
[Galaxy Note 4 General] gekkehenkie11:
I dont even have thermal issue's man. We'll develop this ROM how we see fit. If you want other priorities, dig up a coding book and start doing stuff yourself. Sorry but your post kinds pisses me off. We're all hobbyists here, all putting in our spare time (really this project in the last month got pretty much all of my spare time, much more spare time then my girl friend got, also need to make that up), nobody pays us. So, let everybody do their thing please and respect what they do.
[Galaxy Note 4 General] jazzypit:
Please share the mixer path files. The link that you post is with the Correct files ? Thanks for answer
[Galaxy Note 4 General] :
unfortunately I feel like you took what I said in the wrong way. but this was my personal opinion so I'll keep it to myself from now on.

Off topic but I wish I could code, (I'm currently studying computer science in the university, first year) and see myself doing these kind of things soon. but in general as devs here help with roms for example I think that non-devs users can assist with raising issues, and opinions. anyways thats my 2cent
[Galaxy Note 4 General] gekkehenkie11:
It's just that when you've put a lot of time into something and it finally works you expect another reaction like "ah nice and all but I dont care, get me something else". Anyway, our goal has been to get all features up first, now that's happened, we'll all start improving current stuff. This was still an Alpha rom, I think we can start calling it a beta ROM from now on...
[Galaxy Note 4 General] fattire:
Boo hoo. Tal123 isn't happy

Hilarious... we've worked for a week every day to get this working :) The solution involved hex editing a binary blob, the configuration file, modifying the camera code, AND the wrapper for the HAL, and that's your response?!!!?!!!

Why, I even made this awesome graphic and STILL you are unsatisfied?!!!

Wait a sec. tal123- that name's familiar. You're not the nitwit who actually attacked some samsung gossip web site for NOT leaking touchwiz lollipop and compromising their sources.... Oh wait you are:
[Galaxy Note 4 General] :
believe me I knew this kind post was going to come as a response when I wrote my comment. But I wrote it still in hope that you won't get offended. As I see that didn't happen, i'll explain and say that you do need to realize that instead of taking what was said as trolling, you can take it in another way. what I said was indeed true . saying good work and thanks for features you guys are coding doesn't mean that we can't raise opinions and points to improve as well. lastly, even if you don't agree with something someone says, you out of all (as an experienced user) should know that with forums with over 4million users different opinions will follow. so theres nothing to be offended about.
[Galaxy Note 4 General] slayher:
I think the other thing that is lost here, is that there are multiple other people, (Myself, [MENTION=3041959]fattire[/MENTION] at least) who are working on other things, just not in this post.

Lessaj tracked down the reversed volume in calls issue

I setup sepolicy, audio fixes, gps, etc
[MENTION=3041959]fattire[/MENTION] worked on LEDs, configs, HW adjustments, etc.

And this is just a small portion of the work that has happened.

If [MENTION=3296134]gekkehenkie11[/MENTION] was the *ONLY* one doing any work, and more major subsystems like audio or graphics was broken I might agree with you.

But thats not the case.
[Galaxy Note 4 General] knuckles1978:
Great work on finding the picture of him, I'm impressed. [emoji106]

And well done on getting the camera fixed, ROM is getting there :)
[Galaxy Note 4 General] gekkehenkie11:
Yeah I invested a lot of time already but it's nothing compared to what you and [MENTION=3041959]fattire[/MENTION] did. I think you guys have been working around the clock every single day since the Note 4 got out. Big, huge props, respect and thanks for that ! We'd probably wouldnt even have gotten past the boot anim if it you guys hadnt been doing this, let alone be where we are now !!
[Galaxy Note 4 General] Planet X:
No that is still the build of yesterday. But I already built a new one but I need to test it first before I will post it again. But I have attached the right file.

I will now start with testing the new build.

Thank you so much [MENTION=268040]gekkehenkie[/MENTION] and [MENTION=3041959]fattire[/MENTION] and [MENTION=346046]Preaper[/MENTION] and [MENTION=2457777]slayher[/MENTION] for everything you did for us until now.
[Galaxy Note 4 General] jazzypit:
I test the file but no sound
[Galaxy Note 4 General] Mattycee:
Thank you very much! It worked beautifully! I really appreciate all the work you guys are putting in and cannot wait until to see where this rom goes, its already super smooth and I know one day it will have all the features and battery life of Touchwiz without all the bloat!

Top work all involved!
[Galaxy Note 4 General] utopiate:
as you know gekkehenkie11 I grabbed the initial build moments after you uploaded it and have been using CM12 since. I say this to qualify my opinion a little. This is most definitely worthy of 'beta' status'. Over the years ive installed many many different roms. A lot of these were 'stable' finished public releases and a lot of those were far less stable and feature full as these CM12 builds you guys are putting out. Rest assured the gratitude does exist in the community so try not let one negative post ruin it for you ;)

e2a: I can confirm UHD working with gekkehenkie11 , fattire and slayher's recent fix, nice one ;)
[Galaxy Note 4 General] Planet X:
I'm so sorry. That was the wrong file. I have attached the right file now. I had 3 files on my desktop to compare and somehow I zipped the wrong file. You need to reboot after set permissions.
[Galaxy Note 4 General] gekkehenkie11:
A google search revealed two very interesting things:

First a CM kernelmakefile for some Sony phone INCLUDING the DTB generation (I just checked, all that isnt present in my current kernel makefile) -> http://code.metager.de/source/xref/CyanogenMod/android/build/core/tasks/kernel.mk

And secondly this thread, talking about a DTB image regarding the Note 3: http://xdaforums.com/galaxy-note-3/devs-only/how-compile-boot-img-kernel-source-t2868762

So I'm currently downloading the Note 3 CM sourcecode, it seems that contains kernel DTB generation code too and if so, that should come in very helpful :) I have a feeling we're actually close to a working kernel :)
[Galaxy Note 4 General] gekkehenkie11:
So, I checked Note 3 sourcecode and it's like this: kernel.mk was good in the first place, which makes sense, since this is device independent. So we don't need to change that. The DTB part is not configured there, but it's configured in 'AndroidKernel.mk' in the device kernel tree (each device has its own Androidkernel.mk). This file indeed contains the DTS/DTC configuration but it's actually a bit more work than I had hoped, mostly due to this:

ifeq "$(K_PROJECT)" "y"
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8974pro/$(DTS_NAME)pro-sec*.dts)
endif
ifeq "$(VIENNA_PROJECT)" "y"
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8974/$(DTS_NAME)-sec-vienna*.dts)
endif
ifeq "$(LT03_PROJECT)" "y"
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8974/$(DTS_NAME)-sec-lt03*.dts)
endif
ifeq "$(MILLET3G_PROJECT)" "y"
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8226/$(DTS_NAME)-sec-millet3geur*.dts)
endif
ifeq "$(MILLETLTE_PROJECT)" "y"
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8226/msm8926-sec-milletlte*.dts)
endif
ifeq "$(MILLETWIFI_PROJECT)" "y"
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8226/$(DTS_NAME)-sec-milletwifieur*.dts)
endif
ifeq "$(MATISSE3G_PROJECT)" "y"
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8226/$(DTS_NAME)-sec-matisse3g*.dts)
endif
ifeq "$(MATISSELTE_PROJECT)" "y"
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8226/msm8926-sec-matisselte*.dts)
endif
ifeq "$(BERLUTI3G_PROJECT)" "y"
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8226/$(DTS_NAME)-sec-berluti3geur*.dts)
endif
ifeq "$(HEAT_PROJECT)" "y"
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8610/$(DTS_NAME)-sec-heat-tfnvzw*.dts)
endif

So dependent on the 'project type' it uses different DTS files. Not sure what those project types are, maybe something carrier specific !?!? Going to look into that now ...

*EDIT* these are defconfig variants.
[Galaxy Note 4 General] gekkehenkie11:
BTW, earlier I edited kernel.mk to point to the defconfig files: http://xdaforums.com/showpost.php?p=57131272&postcount=100 , I now understand that that's not like it's meant to be :) kernel.mk is device independent. So instead I changed it back like it was:

KERNEL_DEFCONFIG := $(TARGET_KERNEL_CONFIG)
VARIANT_DEFCONFIG := $(TARGET_KERNEL_VARIANT_CONFIG)
SELINUX_DEFCONFIG := $(TARGET_KERNEL_SELINUX_CONFIG)

and now put that info into boardconfig.mk:

TARGET_KERNEL_CONFIG := apq8084_sec_defconfig
TARGET_KERNEL_VARIANT_CONFIG := apq8084_sec_trlte_eur_defconfig
TARGET_KERNEL_SELINUX_CONFIG := selinux_defconfig
[Galaxy Note 4 General] gekkehenkie11:
Ok I think I figured most of it out: those projects names the LTE variant used. In the variant defconfig one project name is specified and accoring to this it adds LTE specific files. From the note 3 variant defconfig:

# vienna lte config

CONFIG_SEC_H_PROJECT=y

CONFIG_MACH_HLTEEUR=y

So that translates into the H_PROJECT param for the note 3. This means it executes:

ifeq "$(H_PROJECT)" "y"
ifeq "$(LOCALE_JPN)" "y"
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8974/$(DTS_NAME)-sec-hltejpn*.dts)
else
ifeq "$(LOCALE_KOR)" "y"
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8974/$(DTS_NAME)-sec-hltekor*.dts)
else
ifeq "$(LOCALE_CHN_DUOS)" "y"
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8974/$(DTS_NAME)-sec-h3gchnduos*.dts)
else
DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8974/$(DTS_NAME)-sec-hlte-*.dts)
endif
endif
endif
endif

JPN corresponds to CONFIG_SEC_LOCALE_JPN which is not set in that config file

KOR to CONFIG_SEC_LOCALE_KOR which is again not set, nor is CONFIG_MACH_H3GDUOS

So what allt that concludes to is: DTS_FILES = $(wildcard $(TOP)/kernel/arch/arm/boot/dts/msm8974/$(DTS_NAME)-sec-hlte-*.dts)

I'd say that means we need to include $(DTS_NAME)-sec-trlte-*.dts) :)

Going to try to fix all that up ! :)

Exciting stuff, I'm close, I can feel it :)
[Galaxy Note 4 General] bala_gamer:
Oh man, dunno whether you get the end desired output or not, but the amount of effort you are putting is simply outstanding, hats off :)

Texted from Note 4
[Galaxy Note 4 General] gekkehenkie11:
yeah 3 days of work so far. I had hoped some people would jump in and help out but then again, I don't mind doing it at all. Just built the kernel with the changes in the makefile, it now compiles dts/dtb stuff:

CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
DTC arch/arm/boot/dts/qcom/../apq8084-sec-trlte-r00.dtb
DTC arch/arm/boot/dts/qcom/../apq8084-sec-trlte-r01.dtb
DTC arch/arm/boot/dts/qcom/../apq8084-sec-trlte-r02.dtb
DTC arch/arm/boot/dts/qcom/../apq8084-sec-trlte-r03.dtb
DTC arch/arm/boot/dts/qcom/../apq8084-sec-trlte-r04.dtb
DTC arch/arm/boot/dts/qcom/../apq8084-sec-trlte-r06.dtb
DTC arch/arm/boot/dts/qcom/../apq8084-sec-trlte-r07.dtb
DTC arch/arm/boot/dts/qcom/../apq8084-sec-trlte-r08.dtb
DTC arch/arm/boot/dts/qcom/../apq8084-sec-trlte-r09.dtb
DTC arch/arm/boot/dts/qcom/../apq8084-sec-trlte-r10.dtb
DTC arch/arm/boot/dts/qcom/../apq8084-sec-trlte-r12.dtb

(that's build output). But doesn't integrated into the zip just yet, but it seems I'm getting close now !
[Galaxy Note 4 General] gekkehenkie11:
I think it was this setting in the defconfig that was missing:

CONFIG_BUILD_ARM_APPENDED_DTB_IMAGE=y

(referred to in the kernel makefile). Building again... Too bad each build is 30 minutes ...
[Galaxy Note 4 General] FreebaseJosh:
I would gladly help you, but I'm not sure what I can help on or even I know what to do but I'll learn if I need to.
[Galaxy Note 4 General] erispimp:
keep up the great work :)
[Galaxy Note 4 General] gekkehenkie11:
Not sure wtf is going on but somehow it still doens't include the dtb file into the package ... Going to try it via kernel.mk now, like this: http://code.metager.de/source/xref/CyanogenMod/android/build/core/tasks/kernel.mk
[Galaxy Note 4 General] gekkehenkie11:
And if that doesnt work out, I'm going to try to build it manually, like explained here: http://xdaforums.com/showthread.php?t=2469510
[Galaxy Note 4 General] denson9874:
I don't know if this would help but here you go

http://xdaforums.com/showthread.php?t=2938813

If not, then I know you'll figure it out. I've been following you this entire time, like a tutorial for building for our device. Keep up the good work, and never quit
[Galaxy Note 4 General] gekkehenkie11:
Thanks ! Actually that's exactly where I'm stuck. I've been trying that dtbTool command for a while and it always says there are 0 DTB files. But that link you just gave explains it:

"This takes the DTSI that was built into a dtb as one of the first steps in the compile process and turns it into an image that is appended to the end of the boot.img"

So first need to build that dtb ... Not sure how to do that but that needs to be done first.
[Galaxy Note 4 General] denson9874:
Yeah I wish I know more about this stuff to help you out more. I'm literally going through your thread, trying to get where you are. I know nothing about this at all, trying to learn how to port as I go :confused:. Even worse, the tutorial that is on CM website has me with the Deer-in-the-headlights reaction. If I find something, I'll definitely post it here for you though:good::highfive:. Teamwork is all that's going to accomplish this.
[Galaxy Note 4 General] gekkehenkie11:
Ok made good progress again :) I messed up folders, the dtbTool is of course meant for the output folders, not the input ;) Same goes for the idc directory.

So, correct command is:

./dtbToolCM -o out.img -p ./scripts/dtc/ ./arch/arm/boot/dts/

(run from kernel out directory). This produces the dt image ! And it's the same size as from decompiled samsung recovery img, so it seems good, but no time to test now ...

Also found out the build mechanism, going to mess with it tomorrow ... But I think I can build the kernel tomorrow with all I've just learned ... tomorrow another day !
[Galaxy Note 4 General] cedricf25:
Good Job,

Tony Layher is working hard on GN4 too.

Mobile data is working. :good::good:

He should release source code of device very soon ! :)
[Galaxy Note 4 General] Beukhof1:
You have a link to that thread?
[Galaxy Note 4 General] cedricf25:
Can't post a link. I have less than 10 posts.

But you can see that on g+'s Tony Layher. The post of 20 november.
[Galaxy Note 4 General] utopiate:
https://plus.google.com/+TonyLayher/posts
[Galaxy Note 4 General] Beukhof1:
I don't see any progress updates
[Galaxy Note 4 General] utopiate:
sorry dude, but what does this fix?
[Galaxy Note 4 General] Planet X:
If you flash my build from yesterday you will end up with no sound in outgoing calls. You will have to replace this file in /etc directory. That will fix the issue.
[Galaxy Note 4 General] utopiate:
ah ok cool, I'll do a bkp and then give it a test ;) thanks for the build ;)
[Galaxy Note 4 General] t0pstar:
I can't download 0107 can someone share a mirror?
[Galaxy Note 4 General] hurstov:
Downloaded fine bit can't get root. Downloaded supersu but keeps failing. Gonna have to roll back. Thanks for the work everyone[emoji8]
[Galaxy Note 4 General] utopiate:
you need to root via cf-flash through odin, then reinstall your recovery

---------- Post added at 02:11 AM ---------- Previous post was at 02:11 AM ----------

https://mega.co.nz/#F!hNBgkLoa!HBoI7xlWLs9kkA4IpSiCkg
[Galaxy Note 4 General] Johny1fin:
I have not posted for a while but need to say I fully appreciate what you guys are doing here. I will probably wait for the next build as I need a stable ROM. My main issue would be problems with banks apps not working on rooted ROMs but I don't expect that issue fixed any time soon.

As regards UHD. Many thanks for that.

I take the view that being able to record in UHD now allows me to capture family events in the best format for when I upgrade my TV. I should not have to buy a 4k TV (I want 5k anyway) before being able to capture in that format.

Thanks again.
[Galaxy Note 4 General] gekkehenkie11:
A stable ROM, what will take some time. We just got all features up (including banking apps btw), now we need to fix things like batterylife and other issue's. Not sure how long it takes but since development on this device has gone EXTREMELY fast (in less than 2 months from nothing to a fully functional ROM, based on Lollipop which samsung hasn't even released themselves !), I'd be surprised if we dont have a stable release by the end of Q1.
[Galaxy Note 4 General] Johny1fin:
There is stable and stable.

I dont think we are far off what many would call a daily ROM. You seem to be almost there with issues fixed that people have raised. I have yet to see any ROM on the 10 or so android devices that I have owned that could be called absolutely rock solid. There are always issues such as memory leaks. The note 4 is the best phone on the market in my opinion but I need apps like Clean Master to help me manage it and probably always will.
[Galaxy Note 4 General] boksheng:
Thank you for your ROM. I see a lot of new functions, but the 'security' gives a force close.

I am able to boot however I keep having the 'System UI has stopped.' after my phone goes to sleep. Its unusable for me.

---------- Post added at 02:38 AM ---------- Previous post was at 01:57 AM ----------

Thanks for the hard work!

I'm still using your 22nd December ROM with this fix, it works flawlessly, managed to record in UHD and play it without any issues.

Looking forward to future fixes and extra functions.
[Galaxy Note 4 General] Mattycee:
Are you finding the audio from the camera really quiet? I am not able to make it any louder, is there something I can do to make the audio better, it seems really scratchy and quiet.
[Galaxy Note 4 General] Planet X:
The root option is in Development Settings. Tik 5 times on Build Number in settings. It's disabled by default. You can set it to Apps only or Apps and Adb. But you will keep an icon in the statusbar if an app make use of root. So set it to Apps only and install SuperSu. Then Allow SuperSu and switch root off in Development Settings. Root will stick with SuperSu than,.

---------- Post added at 08:12 AM ---------- Previous post was at 08:10 AM ----------

See my post above. But you also could just flas SuperSu binary zip from recovery. As you already have a recovery.
[Galaxy Note 4 General] jazzypit:
[MENTION=975907]Planet X[/MENTION] : sorry for yesterday. i test the file you send me and it work for the sound in call. great job.

everything work well for the moment. i don't have vibrate for notification ? do you have the same problem ?

this night i lost 6 % with wifi and data desactived
[Galaxy Note 4 General] Planet X:
I'm glad that you could fix it. Vibration is working fine on my device?
[Galaxy Note 4 General] jazzypit:
vibration for message , facebook and other application don't work. vibration for call work well

when you receive a message your phone vibrate ? are you sure ?
[Galaxy Note 4 General] Planet X:
For Gmail , SMS, Whatsapp and calls it does work on my phone. I don't use Facebook.
[Galaxy Note 4 General] jazzypit:
ok sorry i have to tick the option in gmail and mail for it work.

for facebook it doesnt work. for whatsapp its ok
[Galaxy Note 4 General] gekkehenkie11:
Latest ROM here: http://xdaforums.com/showpost.php?p=58071905&postcount=306
[Galaxy Note 4 General] jey73:
One question.. sorry but im new in this area. What the difference between gapps only and PA Gapps??? I have pa_gapps-modular-micro-5.0.1-BETA5-20141225-signed. Where i can download this -> gapps-lp-20141109" (that u recommend )??

To "install" that gapps lp i need to wipe everything right ?? U said people who have this "pack" shouldn't flash...

One more time sorry for my "newbieness" Thanks for everything :D
[Galaxy Note 4 General] gekkehenkie11:
Well we all were newbies once, but next time you ask something, first enter your question in google and see what you get. That should solve your gapps download question.

About wiping, not sure, I think it's best to do so but you could try without.
[Galaxy Note 4 General] iGordy101:
Hello my friends! firstly thanks for the hard work, really amazingly fast rom, but there is only one thing that I feel short on ... My Gear S is now useless ... there is no chance to get it to work out with rom? Plz i really love the Gear S! ( but if not, I understand ) Thanks!!
[Galaxy Note 4 General] Sunfl4sh:
Right now my note is stock but battery life is killing me so I was wondering if cm is my choice. But there are two key features I don't wanna miss and I want to ask you if it is possible to extract them or get them however on cm. I would love to have the fingerprint working and the s pen feature.

Thank you guys
[Galaxy Note 4 General] pbedard:
S pen works fingerprint may never
[Galaxy Note 4 General] knuckles1978:
Stock battery life is awesome on Note4. You must have a rogue app or something eating battery. Use a CPU monitoring app or betterbatterystats to find out what's doing it.