yashsingh1/xdaforums huggingface dataset:
[T-Mobile Galaxy Note 4 Android Development] DanRyb:
That's awesome news! Excited to get to use my Google Wallet again! :) Thanks for the update, looking forward to its' release! :D
[T-Mobile Galaxy Note 4 Android Development] Alcor10:
Only reboot issue ive had is when i change the dpi in build.prop, if there is a way to fix it so i can boot through a new dpi and im missing something let me know (: (i know about op post 2 but that doesnt change the whole system like i need)
[T-Mobile Galaxy Note 4 Android Development] fattire:
Can confirm it's working. I'm also going to push that cover fix for those of you who have the samsung smart cover thing or whatever it's called.

Update: Added. Close the thign and it sleeps, oepni t and it wakes up.
[T-Mobile Galaxy Note 4 Android Development] Technobuffalos:
Fattire, is there any chance of better recognition of the cover. You can use apps for the display on the app store, but the sensor for the cover is extremely sensitive, activating even when you don't want it to.
[T-Mobile Galaxy Note 4 Android Development] fattire:
Sorry-- I'm not sure what you mean-- when I close the cover it goes off within about a second.. when I open it it comes back.. how does it activate when you don't want it to?

Update: Maybe you mean it's too sensitive now? I think maybe because it's using the proximity sensor instead of the magnet.. that should be fixed with what I just pushed.

CM11 actually had a very advanced version I'm told which emulates TouchWiz during calls-- letting you peek through the plastic window and stuff. I'm sure at some point it'll get forward-ported to CM12, but I noticed that at least 2 files it modified no longer exist, so it'll be a little more work..
[T-Mobile Galaxy Note 4 Android Development] rrmzr1:
Well now I finally have a reason to root my note. Yessss. Good **** man
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
OK something silly how can I tell if after I sync if anything new was added to the repo lol
[T-Mobile Galaxy Note 4 Android Development] slayher:
New update, see first post.

NFC Now works :D

Also added a line to clarify mine and fattire 's association with Cyngn INC.
[T-Mobile Galaxy Note 4 Android Development] DanRyb:
You and everyone else working on this are the BEST! So excited to flash! :D :D :D
[T-Mobile Galaxy Note 4 Android Development] fattire:
Enjoy. Gekke gets the lion's share of credit for ultimately tracking it down. But it was def a group effort :)
[T-Mobile Galaxy Note 4 Android Development] DanRyb:
Sweet so far! Not surprising since the builds have been nice and smooth! Might be a dumb question but is there anything special I have to do in regards to the smart cover? Mine doesn't seem to work in terms of turning display on when opened or turning display off when closed.

This is the cover I have: http://www.samsung.com/us/mobile/cell-phones-accessories/EF-CN910BCESTA

Just curious. Certainly not a show stopper lol. Thanks again. :)
[T-Mobile Galaxy Note 4 Android Development] JaganBSlamma:
I also can't seem to get it working, and I have the other official Samsung cover (the one without the view glass).
[T-Mobile Galaxy Note 4 Android Development] fattire:
Are you guys using tonight's build? Slsyher said he got it in there.... Hmm.. My own build works fine...
[T-Mobile Galaxy Note 4 Android Development] DanRyb:
There's another flip case without the window? I want that! Where'd you get it? I don't see it on Samsung's website lol.

Yes, using the latest, labeled 20141228. Is there a setting to enable it or is it just supposed to work? lol
[T-Mobile Galaxy Note 4 Android Development] Technobuffalos:
Yeah, I have to agree with the others, my smart cover doesn't activate without the use of 3rd party apps. 3rd party apps don't work as well as the real deal though, so like you mentioned earlier, I hope smart cover integration gets merged from CM11.

Also running the 12-28 build.
[T-Mobile Galaxy Note 4 Android Development] fattire:
It's supposed to just work.. I talked to Slayher... here's the deal-- he synced but for some reason his kernel didn't sync so he missed the patch. He's doing another build and will upload it soon. So stay tuned.. it'll work soon enough :)
[T-Mobile Galaxy Note 4 Android Development] DanRyb:
Cool no worries and no rush! Thanks to him and you and everyone else! So glad to have 5.0 Lollipop that works damn near perfect on my Note 4! :D
[T-Mobile Galaxy Note 4 Android Development] JaganBSlamma:
Yeah, Build 20141228, dirty flashed it soon after it was first posted.

Tried changing to all the different security modes, disabling trusted devices (had my Moto 360 linked for this), but nothing is working.

EDIT: Just read your response now, no worries, thanks so much for adding it in at all! I thought my flip cover was going to be useless after I first flashed the ROM. :)

I can't seem to find it on the North American Samsung site either, but on the back of the box it has "Flip Wallet" written.

Here it is on the UK Site, though:

http://www.samsung.com/uk/consumer/...sories/galaxy-note-accessories/EF-WN910BCEGWW

I have owned both, and can myself say that I like the screen-less version better, simply because I would continually have to clean the plastic screen... When folding the case back my hand would be all over it when holding it. :(
[T-Mobile Galaxy Note 4 Android Development] DanRyb:
Thank you! I'm gonna have to see if I can buy this in America lol. I'd rather have this than the window thing! Thanks for posting, never knew this existed.
[T-Mobile Galaxy Note 4 Android Development] JaganBSlamma:
I am from Canada, so this for sure is available domestically!
[T-Mobile Galaxy Note 4 Android Development] fattire:
Another "you make the patch" offer!

The basic "sleep when closing the cover" will work when Slayer gets his new build. Apparently CM11 had some other, more-indepth customizations which let you answer calls through the plastic window and such. I started moving those across, but when I got to this patch I realized it was modifying two files that don't exist any more in Android. I got everything moved over but stopped as I got sidetracked with NFC.

If you or anyone else wants to track it down and do the rest of this feature, I've already done the first two commits, included below.

commit 1 <-- I did this for cm12

commit 2 <-- I did this for cm12 (just moved content, did not check it)

commit 3 (big one) <-- I ported everything except for the two larger files deleted in CM12 (well moved, really)

Tiny fix to commit 1 (not big deal)

Another tiny fix to commit 1 (again, easy)

If anyone wants my work so far and wants to take on the two missing files (which actually have just been split up and moved, and much of the code is in AOSP to support the work Roman Birg did already), here is the diff of what I did so far. I'm going to skip commit 3 because it's got binaries and you should just apply it and then resolve the easy files (takes 3 minutes) and then figure out how to deal with the bigger two files.

Remember you'll need to modify the overlay in the device to enable this.
[T-Mobile Galaxy Note 4 Android Development] slayher:
New update, fixed the kernel for the smart cover.

See #1 Post
[T-Mobile Galaxy Note 4 Android Development] JaganBSlamma:
Can confirm with the newest build, flip cover now works great! :)
[T-Mobile Galaxy Note 4 Android Development] gekkehenkie11:
+1 on the group effort. Everyone explores an avenue and you never know if it's going to turn out to be THE missing key. It's a real pleasure to be working with guys like [MENTION=3041959]fattire[/MENTION] and [MENTION=2457777]slayher[/MENTION], some of the most intelligent and knowledgeable people I've ever worked with. One thing is for sure though: to get this ROM so quickly up to where it's now, a ROM that beats TW in nearly every single aspect, that's really because of them ! Thanks guys !!
[T-Mobile Galaxy Note 4 Android Development] TheTofu:
I'm having a weird issue with google play services where when I'm on wifi anything google play related is either extremely slow or not responsive

Mainly I've been having this issue with the play apps (Play Music, Store, Movies) and Gmail, youtube seems to work fine.

To give you an example, I'll load up the Store and while it'll show everything in the store front page but none of the images load in until a good 2-3 minutes later, same thing with music except playing also tends to have a delay of 2-3 minutes before something will actually load.

It's not my WiFi as I'm getting a good 70-80Mbps in speedtests.

Anyone have any clues that might pertain to this?

Otherwise I guess I'll just try doing a clean flash again at some point...
[T-Mobile Galaxy Note 4 Android Development] denson9874:
I've been having quite the time trying to flash cm12. I was able before with no problems, and I'm excited to flash back due to NFC working. But when I try to flash I get this error:

Script Succeeded: result was [0.200000]

When I try to boot up, it hangs at bootanimation. Any idea what this may be and how to resolve it?
[T-Mobile Galaxy Note 4 Android Development] Smokeey:
New build is great NFC woks, but Google Play Music is wonky. If you pause/play it 'plays' with no sound until you seek or restart the song. DRM issue?
[T-Mobile Galaxy Note 4 Android Development] rrmzr1:
Keep having the Qualcomm timeservice apk close unexpectedly. Other than that pretty smooth. Just set my own time
[T-Mobile Galaxy Note 4 Android Development] DanRyb:
Just flashed the latest build with the kernel update for the flip cover! Yea! It works great! Now I have to train myself to not use the power button - I open the cover, screen turns on, but out of habit I press the power button and the screen goes off, hahaha. ;)

Anyway, no problems here with the Play Store or Play Music and I've been using both quite a bit. Did you guys clean flash? Or maybe even just wipe cache and/or data for those apps. Really only "issue" I've had is the automatic time is not fixed and that timeservice apk stops every now and then. Definitely a very minor issue though. I just set my own timezone and it keeps fine. :) My audio sometimes gets distorted but I'm sure that's from flashing ViperAudio than the ROM itself. Again, so happy and grateful for the work you've guys done. This runs amazingly well!!
[T-Mobile Galaxy Note 4 Android Development] acrazzyhobo:
In the other builds i was experiencing low in call volume. Can anyone confirm if this is still an issue?
[T-Mobile Galaxy Note 4 Android Development] smccall:
This may be a dumb question but anyone with a gear s able to get gear manager working. I was told it could be done just haven't dug into it yet
[T-Mobile Galaxy Note 4 Android Development] rrmzr1:
Also having an issue where the recents apps screen stop working. Press the button nothing happens. Happens after using the phone for awhile. Even after a restart
[T-Mobile Galaxy Note 4 Android Development] JDane07:
I can't seem to find the fix you're speaking of. Any help would be appreciated.
[T-Mobile Galaxy Note 4 Android Development] faslane:
Weird. I thought it was in Post 1 but don't see it. Here's my Dropbox link. Not sure if its already built in to latest NFC fix .zip or not.

https://www.dropbox.com/s/rs8dgq0mzg12ihs/CM12_Time_Fix.zip?dl=0

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

Date and time fix link.

https://www.dropbox.com/s/rs8dgq0mzg12ihs/CM12_Time_Fix.zip?dl=0
[T-Mobile Galaxy Note 4 Android Development] norien01:
Every time I set up a playlist. The songs disappear from the playlist when I reboot (empty playlist). Any suggestions?
[T-Mobile Galaxy Note 4 Android Development] aryehzev:
Is there any chance VoLTE will work?
[T-Mobile Galaxy Note 4 Android Development] Smokeey:
On what? Play Music? Its a known sync bug if so build it on PC.
[T-Mobile Galaxy Note 4 Android Development] tmaurice:
Not a dumb question since I have the same one.... have been trying, but no luck yet. Anyone else have any luck with getting the Gear app working? If I can get that working, Lollipop can become my daily.
[T-Mobile Galaxy Note 4 Android Development] jpeps:
No on cm it's t mobile magic
[T-Mobile Galaxy Note 4 Android Development] OptimusOBrien:
I have the same issue with the stock music player. Everything else seems to be working great and even though I have the miscellaneous eating battery it seems to be a lot better then previous builds! Once miscellaneous is gone entirely this will be perfect! My standby life has more then doubled from previous builds so now the only real issues at least on my end would be the miscellaneous bug and the stock music player clearing playlists after a reboot. Great job guys!
[T-Mobile Galaxy Note 4 Android Development] slayher:
What do you have your location settings set to in Google Settings? I was looking at my device, and I see one of the high number of wakes of the device appears to be related to location services.
[T-Mobile Galaxy Note 4 Android Development] GHolbrook4:
Am I the only one who has an issue with their time zone defaulting to GMT +00:00, even after flashing the time fix zip from post 509? My time stays correct if I manually set my time zone, but not if it's left to auto select. If someone has found a solution, please don't hesitate to contact me.
[T-Mobile Galaxy Note 4 Android Development] denson9874:
I know this is unrelated to the troubleshooting you're looking into, but I have a problem with flashing cm12 on my note 4 910T. When I attempt to flash, I get an error code while in recovery:

Script Succeeded: result was [0.20000]

Any ideas as to how to fix this?
[T-Mobile Galaxy Note 4 Android Development] OptimusOBrien:
To be honest I dont know, I went back to a backup since I had to get ready for work. I have all of the location stuff off I believe by default. I dont need GPS or anything like that for what I do.
[T-Mobile Galaxy Note 4 Android Development] slayher:
I have not experienced it myself, but I have heard of issues with people who have Location Services unknowingly turned on, but GPS off. May want to take a look.
[T-Mobile Galaxy Note 4 Android Development] OptimusOBrien:
Will do thanks! I am out of thanks for the day sadly but I will drop one tomorrow on here. Ill check it out and see if it is truly off.
[T-Mobile Galaxy Note 4 Android Development] faslane:
I've been using location but in Power Saving mode. GPS on when driving. Works well. Normal battery drain etc
[T-Mobile Galaxy Note 4 Android Development] price31:
This build is much better than the early built! I experience about 1.7%/h battery drain while deepsleep and about 15-20%/h drain while screen on. The battery drain while deepsleep has gotten way better! I hope to see it go down closer to 1% like current custom Roms on Kit Kat!

Thank you for this Rom! Custom Kit Kat doesn't compare in smoothness no matter what lollipop!
[T-Mobile Galaxy Note 4 Android Development] blacklabel2020:
I'm getting that with 12-29 build.
[T-Mobile Galaxy Note 4 Android Development] conasabi:
I flashed the time fix and it stopped. There is a link that was posted on the previous page.
[T-Mobile Galaxy Note 4 Android Development] faslane:
Time fix link repost..

https://www.dropbox.com/s/rs8dgq0mzg12ihs/CM12_Time_Fix.zip?dl=0
[T-Mobile Galaxy Note 4 Android Development] blacklabel2020:
With build 12-29 NFC seems broken

---------- Post added at 10:39 PM ---------- Previous post was at 10:18 PM ----------

Has this been pushed to the rom?

http://review.cyanogenmod.org/#/c/82968/1
[T-Mobile Galaxy Note 4 Android Development] rrmzr1:
Same issue myself man. It will set the time by network. But I set the timezone
[T-Mobile Galaxy Note 4 Android Development] slayher:
That is not an error. Thats what my recovery says when I complete it also.

The first time it flashes, it takes a good 5 to 10 minutes to boot up.
[T-Mobile Galaxy Note 4 Android Development] slayher:
Try a reboot
[T-Mobile Galaxy Note 4 Android Development] allenjthomsen:
These are the options fattire
[T-Mobile Galaxy Note 4 Android Development] fattire:
add the charging led...

Thx... so some stuff today-- slayher checked in a fix to wake with non-power keys (such as volume)... I added a fix to add a charging LED (effectively the reverse of this- thx Slayher) when you're charging with the color based on how much charging is left. Configurable in settings.... Thanks to allenjthomsen just for verifying it worked (nice to have someone double-checking).

You might have the settings options above already, but the code is now in to support it. If anyone out there wants to try it too just replace this file (link courtesy allenjthomsen) by putting it in /system/lib/hw. Then reboot.

Note this isn't a "flashable" zip. It's just a regular ole file in zip format that you can copy to your system.

Or wait until the next build.:fingers-crossed:

(update: allenjthomsen just volunteered to make a flashable zip if that's easier for some people, and it's three links down. Assuming no issues, the next real build will hopefully include this, or if you're building yourself, it'll build it... but it's just for anyone who's impatient or wants to help test or whatnot.)
[T-Mobile Galaxy Note 4 Android Development] blacklabel2020:
When can I build to get this feature? I'm on 12-29
[T-Mobile Galaxy Note 4 Android Development] fattire:
Hang on a sec and I think allenjthomsen is putting something together that's flashable through your recovery. It's not that amazing. Just a light when you're charging. Totally not a big deal- but since I sent it to allen to test and it's a tiny file, it's easy to share. Source is two links up.

Update; I just realized you asked when you can BUILD to get the feature.. You can build it now if you want.
[T-Mobile Galaxy Note 4 Android Development] allenjthomsen:
HERES THE FLASHABLE ZIP

https://www.androidfilehost.com/?w=files&flid=23384
[T-Mobile Galaxy Note 4 Android Development] allenjthomsen:
This is what comes up on liquid when i get a call no hd icon
[T-Mobile Galaxy Note 4 Android Development] luisdile02:
Where can I find the 12-29? I've looked through the last few pages.
[T-Mobile Galaxy Note 4 Android Development] faslane:
I'm in Spokane ;)
[T-Mobile Galaxy Note 4 Android Development] allenjthomsen:
Oh nice
[T-Mobile Galaxy Note 4 Android Development] fattire:
note for slayher in case I forget

Note to self (for slayher to look at). We don't have native keymaster HAL to back credential keystore (and improve security and eliminate the QSEECOMAPI/QSEECOMD errors). But...

root@trltetmo:/vendor/firmware # cp /firmware/image/keymaste.* /vendor/firmware/keymaster/

root@trltetmo:/vendor/firmware/keymaster # mv keymaste.mdt keymaster.mdt

root@trltetmo:/vendor/firmware/keymaster # mv keymaste.b00 keymaster.b00

root@trltetmo:/vendor/firmware/keymaster # mv keymaste.b01 keymaster.b01

root@trltetmo:/vendor/firmware/keymaster # mv keymaste.b02 keymaster.b02

root@trltetmo:/vendor/firmware/keymaster # mv keymaste.b03 keymaster.b03

(or symlink or whatever) -- see whatever this is.

then we need this or something like this upstream:

fattire@laptop:/media/test/lollipop/hardware/qcom/keymaster$ git diff

diff --git a/Android.mk b/Android.mk

index 683b0e7..24412b2 100644

--- a/Android.mk

+++ b/Android.mk

@@ -1,9 +1,9 @@

LOCAL_PATH := $(call my-dir)

-ifneq ($(filter msm8960 msm8974 msm8226 msm8084,$(TARGET_BOARD_PLATFORM)),)

+ifneq ($(filter msm8960 msm8974 msm8226 apq8084,$(TARGET_BOARD_PLATFORM)),)

keymaster-def := -fvisibility=hidden -Wall

-ifeq ($(TARGET_BOARD_PLATFORM),msm8084)

+ifeq ($(TARGET_BOARD_PLATFORM),apq8084)

keymaster-def += -D_ION_HEAP_MASK_COMPATIBILITY_WA

endif

This fixes most of the errors, though I still see:

E/QSEECOMD: ( 383): Init dlopen(libsecureui.so, RLTD_NOW) is failed....

There are more secure-related firmware files and this doesn't seem to be working right. But wanted to do a brain-dump of what I have.
[T-Mobile Galaxy Note 4 Android Development] Restl3ss:
I've gotten gear manager *sort of* working on CM before. Not on the note 4 with CM12 though. I did it on a Galaxy S3 running CM11. Basically you need to first grab galaxy apps and any relevant APKs to make it work. Install any relevant APKs as system apps, but install galaxy apps as user app. Enable installation from unknown sources and install gear manager. You'll get spammed with about 12 "do you want to install this app", hit yes on all of them. (one or two might fail but that's okay. They're not all necessary for basic functionality). When they're installed open gear manager and you should be able to pair it with the watch. In my experience, things like notifications work, but anything that requires a touchwiz app won't (like music for example. Don't know if you can make it work by installing the TW music app, haven't tried)

Just my two cents. So will it work? short answer: yes, but not everything. Basically, decide for yourself whether having absolutely everything working is important to you or not. If all you need is basic pairing / notification functionality, then you're golden. If you want to play music on your phone through your gear, then this method is not for you.

And again, haven't tried it on the note 4 / CM12, but I know it works on an S3 with CM11 so it's worth a shot. Dalvik vs ART won't be a problem, as modern samsung apps work with both (if you'll notice, on the stock note 4 ROM, under developer options, the option to switch to ART instead of dalvik is enabled)

The major thing keeping me on stock 4.4.4 is Xposed. I've found replacements for most modules and some I can live without, but until I find a replacement for youtube adaway (or xposed is updated for ART) i'm sticking with kitkat. If anyone knows a working youtube adblocker i'm open to suggestions.
[T-Mobile Galaxy Note 4 Android Development] Rekzer:
Hmmm.. I'm on 12-28 and I'm noticing my phone just starts lagging randomly. UI gets really choppy out of nowhere.

Also. I encrypted my phone. When updating.. It seems to upgrade to the latest {was on 12-25 before} but there were errors with data partition mounting during that process.. Is encryption something I shouldnt use if I'm gonna be updating?
[T-Mobile Galaxy Note 4 Android Development] fattire:
Ideally we want to get to the point where Settings->Security->Storage type says "hardware-backed". That's just what I'm bringing up to Slayher that I was playing with today. You can read about it here. I don't know much about it either, but what a great opportunity to learn!
[T-Mobile Galaxy Note 4 Android Development] Rekzer:
Is stock for our phone doing that?
[T-Mobile Galaxy Note 4 Android Development] denson9874:
Thanks for your response, I will try again and see. Maybe it was just my impatience.

Edit/Update: working fine now, thanks for such a solid build[emoji108] [emoji106]
[T-Mobile Galaxy Note 4 Android Development] Eldartho:
Can confirm NFC working on 12/28 ..android beam worked just fine between my note 4 and nexus 6 tho on the note 4 side if you shut NFC off and turn it back on you have to reboot for it to fully turn back on
[T-Mobile Galaxy Note 4 Android Development] LancerV:
Works fine here
[T-Mobile Galaxy Note 4 Android Development] Eldartho:
You getting a qualcomm. Timeservcie has failed message upon booting?
[T-Mobile Galaxy Note 4 Android Development] LancerV:
yeah flash the timefix download
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Wow [MENTION=3041959]fattire[/MENTION] you were right about the 15 minute boot when changing those values. I'm going to have to change it back, I'm still waiting for first boot but it sure is a lot cooler lol.

EDIT: Scratch that, I waited like half an hour and it was still at the boot animation so I gave up and reset it. It was slowly getting hotter so I think it was going but it shouldn't take that long... I may have to revert the changes I made and try another build tonight. I'm still running one I built from the 22nd lol.

Yea I think the timeservice that Slayher commited isn't the same as the one I've been using the whole time since I haven't seen that before. I made 2 builds last night, one with his commit of it and one with the timeservice I've been using but I didn't compare them before I replaced it. I flashed his first so when it's done booting I'll see...
[T-Mobile Galaxy Note 4 Android Development] Eldartho:
Gotcha