yashsingh1/xdaforums huggingface dataset:
[T-Mobile Galaxy Note 4 Android Development] fattire:
Donations: Slayher I think has a link for that, and I always ask that any donations on my behalf go to the EFF, who fights to protect the legality of modifying your phones (believe it or not there are interests that want to outlaw it!) and defends your other digital rights.. It's a very good cause (you, if you live in the US) and a good idea to sign up for membership regardless :)

As for which code changed, there were fairly extensive changes I'd say considering there was no trlte device to start with. Nothing I can think of really was written from absolute zero-- a lot of patches were applied, liblights had to be modified for the device... some amazing hacking by Slayher for camera and voice calls. A lot of looking at shamu (Nexus 6) to see how things were done there and poking around sysfs... Figuring out what existing stuff would work with this device. Also things SHOULD have worked and just didn't on a lot of things. It took forever to figure out that the wifi direct permissions file was crashing wpa_supplicant, but once you removed it, wifi worked. (credit: slayher for that...) The note 3 device tree was used as a base and then built up from there, and changes were needed to the caf files as well to support the apq8084 because CM itself was changing the way it was doing the caf branches...

If you go to the source code you can see a history of what changed where. What you don't always see is the hours of trial and error and discussion that lead to the patch, so if you have questions, ask away.
[T-Mobile Galaxy Note 4 Android Development] Batfink33:
Patiently waiting on a N910F version. Great work by the devs!
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
Great but what's the quality
[T-Mobile Galaxy Note 4 Android Development] bttfpromo:
I saw that the "last updated" was changed from 12/06 to 12/07... was there a change or is it just to make the release date?
[T-Mobile Galaxy Note 4 Android Development] Mod57:
Slather, I don't have a Sprint N4 but have the USC variant. I can do the things you mentioned above if you have time to help get our N4 going.

I flashed your Tmo build by editing the updater-script to accept trlteusc. As expected I didn't have phone but LTE and WiFi worked fine.

When I went back to Touchwiz I had to go into hidden menu and manually switch from GSM back to CDMA/LTE.. I am sure it would be the same for the Sprint N4's. As you said we need to use the right radio.

I hope you get feeling better and thanks for bring CM to the N4 phone.
[T-Mobile Galaxy Note 4 Android Development] big gulps huh?:
Oooooooooh yeah! Will flash and report back later
[T-Mobile Galaxy Note 4 Android Development] mocsab:
There are other cameras in PLay Store that are similar in some ways to the Samsung Camera - they are not exactly the same by any means but there are some very good cameras - I use Pro Capture - they have a beta going on right now and the camera is exceptional - there are others too - of course the TW camera has soem options you won;t find in other cameras - but they are still very good cameras and might help you not miss the TW Camera a little bit -
[T-Mobile Galaxy Note 4 Android Development] Kidromulous:
The only major issue I'm having is massive amounts of apps being incompatible. Most games and even things like twitter and Google chrome? Anyone?
[T-Mobile Galaxy Note 4 Android Development] fattire:
If you want to "cheat" you can always change the fingerprint in build.prop to match another device, and then you should have access to everything you need. If there's a better fingerprint we could be using, submit a pull request!
[T-Mobile Galaxy Note 4 Android Development] Kidromulous:
OK I'll experiment some more with the build prop
[T-Mobile Galaxy Note 4 Android Development] emann56:
Yeah, the safest best is to change it to Nexus 6 since they use the same hardware.
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
What gapps are everyone using
[T-Mobile Galaxy Note 4 Android Development] G1toEVO4G:
Can't download files from the browser. Keep getting "SD card unavailable" message. Any fix ? Trying to download gapps
[T-Mobile Galaxy Note 4 Android Development] bttfpromo:
Restart until it works. It is a known problem (read the thread first).
[T-Mobile Galaxy Note 4 Android Development] Kidromulous:
I tried changing it to nexus 6. This didn't work. I'm at my wits and trying to figure it out. The apps that are incompatible are a bit baffling. Simple apps like Swarm? I suppose I could make back ups with titanium and restore them.

---------- Post added at 05:24 PM ---------- Previous post was at 05:21 PM ----------

Settings >Storage > menu> USB computer connection
[T-Mobile Galaxy Note 4 Android Development] fattire:
Tip!

For a couple more cm-specific features, try adding this to your roomservice.xml:

<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />

I updated post #2 to include it. (this should have been pulled in by the cm.dependencies file in device/samsung/qcom-common, but it may not have.. if you already have a hardware/samsung/cmhw directory then you have it.)

This gets you the ability to adjust your vibration intensity (settings->Sound and notification->Other sounds->Vibrator intensity"), high touch sensitivity detection, and Qualcomm content adaptive backlight control support.
[T-Mobile Galaxy Note 4 Android Development] winco209:
How come the play store app not in the rom
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
It's a part of gapps.
[T-Mobile Galaxy Note 4 Android Development] winco209:
Where can I find the gapps

---------- Post added at 07:30 AM ---------- Previous post was at 07:29 AM ----------

I loved how the s4 had a google edition will be awesome if the note 4 had one too
[T-Mobile Galaxy Note 4 Android Development] zain0300:
deleted
[T-Mobile Galaxy Note 4 Android Development] fattire:
Or when the above link is removed, I'm guessing you can find it with this gapps-location-tool.
[T-Mobile Galaxy Note 4 Android Development] winco209:
Thanks you guys
[T-Mobile Galaxy Note 4 Android Development] zain0300:
we are not suppose to post gapps links?
[T-Mobile Galaxy Note 4 Android Development] slayher:
New build up, see first post.
[T-Mobile Galaxy Note 4 Android Development] fattire:
See second post for changelog too. Good stuff in this one, y'know.. if you like movies.
[T-Mobile Galaxy Note 4 Android Development] Dazog:
Is it worth while to dig through samsung source to see if we can get an option in CM 12 added for Color profiles like Touchwiz has?

I know other phones have it.

I am willing to pour over code to find what changes to help get this ported over.

Also thanks for new build ofcourse and the hardware of all who submitted changes :)
[T-Mobile Galaxy Note 4 Android Development] fattire:
What do you mean by a color profile? is that like tinting everything towards the blue or yellow spectrum etc?
[T-Mobile Galaxy Note 4 Android Development] emann56:
Quick tip from [MENTION=3296134]gekkehenkie11[/MENTION] http://xdaforums.com/note-4/general/rd-porting-cm12-t2951934/page95

BTW, most recent GAPPS contain some buggy services, always disable those two services (with for example 'disable services' app), both are in the group google play services:

* configfetchservice

* userpresenceservice

These services are buggy and cause wakelocks. I've been disabling them for a few months (previously on my s4) and never experienced any negative side effects from doing so.
[T-Mobile Galaxy Note 4 Android Development] Dazog:
Samsung has 3 color profiles to change the Kelvin.

AMOLED Cinema

AMOLED Photo

Basic

http://www.displaymate.com/Galaxy_Note4_ShootOut_1.htm

Generally it's not a Touchwiz framework thing, its a setting in Touchwiz which changes tables in the kernel if the note 4 is the same as previous notes.

So someonecould just make 3 options to change between them in CM 12. when we find out the values.
[T-Mobile Galaxy Note 4 Android Development] fattire:
I see. I believe there are a few CM devices that support those different display modes, and if it's in touchwiz that means it's in the kernel, so probably not a huge deal to implement.

However, your post did inspire me to look into the LED color settings, which we have support for but not in the UI. So that's fixed now and the next build will have "Notification light" settings where you can set specific led colors and blink patterns per app. So like, I set Gmail to purple and sent myself a test message. Boom purple.

Also, did you know that you can bring back the circle battery icon? It's in settings/personalization/status bar.
[T-Mobile Galaxy Note 4 Android Development] jpeps:
cm-12-20141220-UNOFFICIAL-trltetmo.zip. I do not see the new build

---------- Post added at 09:57 AM ---------- Previous post was at 09:34 AM ----------

gapps please
[T-Mobile Galaxy Note 4 Android Development] blacklabel2020:
Gapps, you'll need to google up yourself.
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
Do you not read anything lol
[T-Mobile Galaxy Note 4 Android Development] pham818:
i know 12-14 was pretty damn smooth, but battery life was pretty bad, how is it for 12-20? what are your screen on times? i got like 3 hours screen on time and had to switch back to firekat. thanks.
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
Imho you will need to test that yourself everyone's usage varies and battery stats would very as well
[T-Mobile Galaxy Note 4 Android Development] mocsab:
THANK YOU For new UPDATE!
[T-Mobile Galaxy Note 4 Android Development] norien01:
I don't post very often. I'm not a developer although I'm interested in learning. I don't waste my time arguing with other users on a forum that is viewed by the rest of the damn world. I'll never ask ETA's because I'm patient like others should be. I feel that I speak for the majority of this forum when I say that your hard work and dedication to this ROM is amazing. This rom rocks and there was not I wish I could do to show my appreciation. (Nobody say donate button because I'm aware of that as well, lol) We appreciate the time you take to toward this rom. Thank you!
[T-Mobile Galaxy Note 4 Android Development] chrisjm00:
Just downloaded and flashed the 12-20 build. Listed under working is the camera, yet I'm still experiencing the "Can't connect to camera" issue.
[T-Mobile Galaxy Note 4 Android Development] Rob the plumber:
Im having an issue with the keyboard. Does the "swype" type function not work? I have is enabled under settings, but no dice.

Thanks for all your hard work!
[T-Mobile Galaxy Note 4 Android Development] slayher:
Some gapps packages are broken, and wing let the swipe function work.
[T-Mobile Galaxy Note 4 Android Development] sharp2G:
Any suggestions to what Google Apps I should flash? I have the Canadian Note 4.

EDIT: I simply flash in TWRP and wipe data/cache with the Canadian Note 4? And If I want to go back to Touchwiz, I can restore from backup in TWRP? Thanks!
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Yay circle is back! I also noticed a weather toggle, I don't think that waas there before? Maybe I just noticed. Need to find the defaults for button actions to make long press recent open/close menu. I had to set it myself after. These are cm commits coming down the pipe.

Also since I had mentioned it last night, surprisingly my pen is still working even after I woke up. I wonder how long it will to for... It usually doesn't work for too long. Speaking of the pen, the orientation is fixed for landscape so Yay! I'll need to find or make a new cursor icon, the one [MENTION=2550601]bttfpromo[/MENTION] posted breaks my build. I can't open that png but I can all the others so I don't know what that's about but it's not the end of the world, I'll fix it for my next build.

I think we should also action what you said in irc last night about the condition for the voice call so we can commit it but not break other devices.

---------- Post added at 11:24 AM ---------- Previous post was at 11:21 AM ----------

Whatever you want. :P I'm on a Canadian N4.

No do an advanced wipe and do dalvik, cache, system, and data, then flash. If you don't like it (you will, trust me) you can restore your tw nandroid, it will clean up before restoring.
[T-Mobile Galaxy Note 4 Android Development] _Jax_:
Just a thank younso [MENTION=2457777]slayher[/MENTION] and [MENTION=3041959]fattire[/MENTION] for the update. I totally get that this thread encourages making your own builds. Unfortunately, i dont really have a good enough pc to do it (unless you can somehow build on tablets lol). So a big thank you for the update!
[T-Mobile Galaxy Note 4 Android Development] sharp2G:
I like it already! I'm up and running! I was wondering how to load the Google Now home screen? Or do I have to download the Google Now launcher for that?
[T-Mobile Galaxy Note 4 Android Development] bttfpromo:
http://imgur.com/9plXyjA

edit: rename it to pointer_arrow.png
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Cool that one should work, I'll give it a shot!
[T-Mobile Galaxy Note 4 Android Development] allenjthomsen:
Finally able to build roms again nice time though
[T-Mobile Galaxy Note 4 Android Development] bttfpromo:
Can anyone attest to the battery life on this build compared to the 12-11 build?
[T-Mobile Galaxy Note 4 Android Development] eugenepete:
Im getting heavy drain after flashing it but the battery hasn't been calibrated so I can't say that's conpletely accurate.
[T-Mobile Galaxy Note 4 Android Development] gekkehenkie11:
It seems battery usage is slightly worse on cm12. When browsing I get about -23% an hour cm while about -19% on stock. The difference seems to be the default high speed when not running turbo. It seems cm12 then defaults to 1.73 GHz while stock barely uses that freq but runs at about 1.19 and 1.04. Usage of the low clock speed, 300 MHz, and the turbo clock speed at 2.65 GHz seem about the same
[T-Mobile Galaxy Note 4 Android Development] paranoid android85:
Idk battery seems pretty good with the newest build.
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
Yep its great knowing I can sync and make a build when I need too
[T-Mobile Galaxy Note 4 Android Development] gekkehenkie11:
Yes just make sure you disable userpresence service and configfetch service ,both inside google play services, with an app like 'disable services'. These 2 services are buggy and will drain your battery (both on stock as cm). I have been disabling them for months, never experienced negative side effects.
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Yea I've noticed the google services wakelocks. Maybe these can be removed from the build.
[T-Mobile Galaxy Note 4 Android Development] humzat:
Im on the canadian note 4 and it wont let me install the 12.20 update stating device restrictions. I didnt have the issue when installing the last build. How can i get around this
[T-Mobile Galaxy Note 4 Android Development] LancerV:
They are built in the gapps not the rom
[T-Mobile Galaxy Note 4 Android Development] _Jax_:
You could try installing Amplify. It reduces the amount of wakelocks and whatnot. Im sure it should help.
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Right. I mean somehow add in something automated to disable them. Maybe mod my own gapps or something.

---------- Post added at 03:13 PM ---------- Previous post was at 03:13 PM ----------

Doesn't Amplify require XPosed?
[T-Mobile Galaxy Note 4 Android Development] _Jax_:
Oh youre absolutely right. I forgot. I always just clicked the icon from the app drawer. Sorry about that.
[T-Mobile Galaxy Note 4 Android Development] infamousgeek:
hangout mic

I used the 12/11 version on my canadian note 4 for a while. Very smooth, i loved it.

The only problem i had was very specific. When i was using hangouts to make a video or audio call while using my earbuds, the earbuds mic was not functionnal, my voice was picked up from the phone's mic instead. So hangout calls were still functionnal as long as i didn't put my phone in a pocket or something...

Now what's funny is that i've been test driving cm12 on my S5 as well (fusion's port) and i've been experiencing the exact same problem so i'm guessing its more of a general cm12 issue.

Obviously when i use the stock rom the earbuds mic works fine.

Anybody else got that problem?

Keep up the good work, its very much appreciated!
[T-Mobile Galaxy Note 4 Android Development] LancerV:
What was the fix?
[T-Mobile Galaxy Note 4 Android Development] UnitedStatesofCanada:
I did this then got stuck at the boot logo. Any ideas?
[T-Mobile Galaxy Note 4 Android Development] returnzer0:
Not really device specific, but does anyone know if android_external_openssh will be making a return in CM12? I don't know enough about CM development to know what that status is of that part of the project. It was just always there in previous versions.

I've been looking forward to getting a native SSHd running on this thing :)

Sent from my SM-N910T
[T-Mobile Galaxy Note 4 Android Development] fattire:
This is wired ear buds? I'm using the Samsung ones, and they seem to work fine....
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
EDIT: Nevermind, I don't see these errors when using ADB, only when using an ssh app. Makes sense since it says wlan_rx_wake is the active wake. Hard to say what's actually going on in the background then because it's all filled with battery charging information...

Definitely a lot of things refusing to freeze for me according to cat /proc/kmsg... This message comes from kernel/power/process.c. With the screen off it's just constantly writing this. Anyone know how to make it more detailed on what's not freezing at least?

<3>[ 1161.466190] esoc REQ enginer waiting on request
<4>[ 1161.460073] Restarting tasks ... done.
<6>[ 1161.472246] cpufreq_limit_suspend_handler: release suspend_boost
<6>[ 1161.473638] PM: suspend exit 2014-12-20 20:55:51.464030589 UTC
<6>[ 1161.976359] PM: suspend entry 2014-12-20 20:55:51.966744912 UTC
<6>[ 1161.976415] PM: Syncing filesystems ... done.
<6>[ 1162.033127] cpufreq_limit_suspend_handler: limit suspend_boost 1190400
<3>[ 1162.038967] esoc REQ engine released from wait
<4>[ 1162.033336] Freezing user space processes ...
<6>[ 1162.042959] active wakeup source: wlan_rx_wake
<4>[ 1162.043067]
<3>[ 1162.043107] Freezing of tasks aborted after 0.009 seconds (53 tasks refusing to freeze, wq_busy=0):
<3>[ 1162.043143] Freezing of user space aborted (11565) (daemonsu)
[T-Mobile Galaxy Note 4 Android Development] humzat:
can someone post the 12.20 file without the device restrictions so i can load it onto my canadian trltecan
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
There aren't any device restrictions? I flashed the build I made this afternoon just fine.
[T-Mobile Galaxy Note 4 Android Development] humzat:
hmm I'm using CWM and not TWRP ..

the error i get is

"this package is for device trltetmo, this devices is trlte

error status 7

sorry i mentioned i had a trltecan but i guess its actually trlte
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
It's a 910W8 right? Have you used any other TW TMO builds lately? It should be trltecan.
[T-Mobile Galaxy Note 4 Android Development] humzat:
its is a 910w8

maybe ill try and re download the file
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
A redownload won't work. The updater-script checks for the device type. I'd recommend using Odin to flash a stock NJ3 (rooted or not) and then try. Or you can update this line in updater-script:

assert(getprop("ro.product.device") == "trltetmo" || getprop("ro.build.product") == "trltetmo" || getprop("ro.product.device") == "trltecan" || getprop("ro.build.product") == "trltecan" || abort("This package is for device: trltetmo,trltecan; this device is " + getprop("ro.product.device") + "."););
[T-Mobile Galaxy Note 4 Android Development] humzat:
Thanks...ill try that

QUOTE=Lessaj;57642436]A redownload won't work. The updater-script checks for the device type. I'd recommend using Odin to flash a stock NJ3 (rooted or not) and then try. Or you can update this line in updater-script:

assert(getprop("ro.product.device") == "trltetmo" || getprop("ro.build.product") == "trltetmo" || getprop("ro.product.device") == "trltecan" || getprop("ro.build.product") == "trltecan" || abort("This package is for device: trltetmo,trltecan; this device is " + getprop("ro.product.device") + "."););

[/QUOTE]
[T-Mobile Galaxy Note 4 Android Development] LancerV:
So yeah my notifications seem to be all kinds of jacked.
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
What do you mean by that? :cowboy:
[T-Mobile Galaxy Note 4 Android Development] LancerV:
Seem to have gotten it fixed but it was playing my ringtone for everything
[T-Mobile Galaxy Note 4 Android Development] humzat:
do i just need to change the trltemo to trlte
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Strange. Really the only notifcation problems I've had are that after I get a notification with the screen off with the ambient display enabled it will turn back on a few seconds later a couple of times. Not really sure why, but I can see the lcd on entry in /proc/kmsg when it turns on. There was also an issue before where I would open a notification but it wouldn't clear from the drawer, and if you swiped it away it would just leave a void. Turning the screen on and off would correct it, but I haven't seen it since going to 5.0.2, maybe there was a cm commit for it. Sometimes the notification sound stutters, but not always.

Yea that should work, but it's still much better to have it report correctly, hence my suggestion to Odin a stock NJ3.
[T-Mobile Galaxy Note 4 Android Development] humzat:
tried that gives me a footer error?

will try again...
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Just put it back and odin nj3.
[T-Mobile Galaxy Note 4 Android Development] sharp2G:
Anyone experiecung missalaneious battery drain on the Canadian Note 4 W8?
[T-Mobile Galaxy Note 4 Android Development] mgbotoe:
Use google keyboard
[T-Mobile Galaxy Note 4 Android Development] humzat:
just restored back to nj3 stock rooted rom and then tried to upgrade again and still getting the error

still says this device is trlte and the install dies...

i know someone posted an earlier version without any device restrictions which worked perfectly for me...if anyone can help me get a version like that i would greatly appreciate it...

thanks!
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
You can remove the line from the script then.

Use programs like 7-zip, or WinRAR, while extracting the updater-script file. Use the Notepad++ text-editor, or alternatives like Geany, which support the Linux EOL formats.
[T-Mobile Galaxy Note 4 Android Development] humzat:
do i remove the entire line below?

assert(getprop("ro.product.device") == "trltetmo" || getprop("ro.build.product") == "trltetmo" || getprop("ro.product.device") == "trltecan" || getprop("ro.build.product") == "trltecan" || abort("This package is for device: trltetmo,trltecan; this device is " + getprop("ro.product.device") + "."););

and then leave the below and so on

ifelse(is_mounted("/system"), unmount("/system"));

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");

package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Yes.
[T-Mobile Galaxy Note 4 Android Development] humzat:
Got it to work, thanks VERY much for your help Lessaj
[T-Mobile Galaxy Note 4 Android Development] force70:
Not just on our device....its still in its early stages of builds...give it time.

sent from Canada via my Note 4, 3 or 2.
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Good I'm glad. :) How are you liking it?
[T-Mobile Galaxy Note 4 Android Development] humzat:
an incredible ROM! great work