yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
Hey guys-- quick apparent solution to the sensors issue:

replace the stock /system/lib/hw/sensors.aqp8084.so with the newest one.

that is, instead of the one with this md5 hash:

f6eabf16e12514fd9e40795d78849f92 sensors.apq8084.so

use the newer one that comes with 5.1 stock-- It has this md5 hash:

3759eddd570d0d76c010feba2454285a sensors.apq8084.so

When I tried this one, the proximity sensor works.

Enjoy.
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
how i get this file sorry for the noob thing [MENTION=3041959]fattire[/MENTION]
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
It's in the stock over-the-air update (OTA) of 5.1 Touchwiz. If you're not sure how to extract it, I'm sure some enterprising person here could help you out... I think I may have posted instructions previously, but if I recall correctly, assuming you've built Android, you use the tool here to convert the img.ext4 file in the OTA to a system.img you can mount as a loopback device.

android/system/out/host/linux-x86/bin/simg2img system.img.ext4 ~/Desktop/system.img

that should get you started. If you don't know what mounting via loopback device is, it's basically when you take an .img file of a file system (with files and directories inside) and mount it (via 'mount point' directory) as if it were an actual hard drive using the mount -o loop command... you can do more research about it cuz I have to run. But basically the idea is:

1. download the OTA file.

2. inside, find the system.img.ext4 file

3. use simg2img (part of the build of android) to change it to a plain system.img file

4. create a mountpoint (a plain directory, ie "mkdir mountpoint") and use sudo mount -o loop system.img mountpoint (or something close to that) to mount the file as a whole device at the mount point.

4. cd to the mountpoint directory and suddenly there area ll the files.. the one you want is in /system/lib/hw/

5. when done, you can unmount the file and delete it all.

Again, I'm in a rush to get out of here, but the alternative to this is to have someone else do it for you :)
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
Great.

Same error:

12-23 17:40:09.480 1253 1601 E Sensors : ProximitySensor: unknown event (type=2, code=7)

But weirdly the raw values work great.

And gonna try changing the file as you said in the other post.
[Galaxy Note 4 Android Development (Snapdragon)] Ram121:
Downloading, but will take minimum 1 hr. Will try on my 910G

Thanks....
[Galaxy Note 4 Android Development (Snapdragon)] SamuelBegui:
I was able to grab the sensor file from [MENTION=4835387]OvrDriVE[/MENTION]'s ROM and the MD5 hash matches accordingly to the new one you mentioned. Here is the file.

I assume all you would need to do is replace the file and correct the permissions to work.

You would need to unzip this and the file with the correct hash will be inside.
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
Great.

It works in 910F just fine as well.

I will try a bunch of few other things and upload a new build with fattire's new changes.
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
building right now i hope it works
[Galaxy Note 4 Android Development (Snapdragon)] Wilsonb:
Can you post the file?
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
hai can you tell me how to merge your changes and from fattire? [MENTION=4851188]desvariando[/MENTION]
[Galaxy Note 4 Android Development (Snapdragon)] SamuelBegui:
It's already been posted.
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
Depends on the change.

Basically resolve conflicts based on the modifications.

You should know a bit of programming to do so with a bit of knowing what you are doing, and avoid crashing anything.

For instance, we have both made the same modification but on different lines, so choose one (if position doesn't matter, otherwise choose the right position).
[Galaxy Note 4 Android Development (Snapdragon)] Wilsonb:
Sorry, Ya saw it a few posts above. Thanks
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
oke then i wait for you build.. do you going update your repo? [MENTION=4851188]desvariando[/MENTION]
[Galaxy Note 4 Android Development (Snapdragon)] Redmanha:
Great work

Hi jef_00,

i have installed your build from today and i must say its fast...amazing fast - good work dude. The proximitysensor is not working - i think you get it in your next build.

mobile data: working

bluetooth: working

wifi: working

outgoing call: working*

incoming call: working*

* screen stay on during call due to prooximitysensor

send sms: working

receive sms: working

Country: Germany

Provider: T-Mobile Germany

I hope sami would give us MM for our N910F to get fingerprintsensor to work.....

Great work dude :good:
[Galaxy Note 4 Android Development (Snapdragon)] Ram121:
Flashed this build seems to be good

---------- Post added at 12:03 AM ---------- Previous post was at 12:02 AM ----------

Tried this method and found working on my 910G, just used file from 5.1.1 TW build
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
[MENTION=5607183]jef_00[/MENTION] latest build works a treat. Apart from the proximity sensor (but that's not important). Very nice work my friend :thumbup:!
[Galaxy Note 4 Android Development (Snapdragon)] Ram121:
Use this method for proximity, worked for me

http://xdaforums.com/showthread.php?p=64454399
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
Cheers buddy :). Not going to lie, my knowledge of ROMs etc only stretches as far as flashing and rooting lol I wouldn't have a clue how to ADB shell etc.
[Galaxy Note 4 Android Development (Snapdragon)] Ram121:
If you are using 910G then download file from bellow link unzip it and replace at /system/lib/hw

https://www.androidfilehost.com/?fid=24341993505161236

For 910F you may use this, but I have not checked it

http://xdaforums.com/showthread.php?p=64455713
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
Just done it using root explorer. Sensors working a treat now :) thank you all who has had an input :)
[Galaxy Note 4 Android Development (Snapdragon)] king123321:
[MENTION=5607183]jef_00[/MENTION] your build when its fully loading its rebooting, I'm on POK1 should I use different bl and cp ?
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
I use POK1 top it is working here.. Did you flash blobs?
[Galaxy Note 4 Android Development (Snapdragon)] king123321:
what blobs should I flash ? send me a link ?
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
Here you go https://mega.nz/#!CFxUBDxb!QET17v0B-1ana-VQ_EnGzH7RnUZ-vyCHGaGVdV6Ih6M [MENTION=1235145]king123321[/MENTION]
[Galaxy Note 4 Android Development (Snapdragon)] king123321:
thanks I'm trying again now
[Galaxy Note 4 Android Development (Snapdragon)] jammerz:
Thanks for this fix. Proximity sensor is now working on N910F :)
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
Yes thank you for the fix guys.

Can this be integrated into future builds? This shouldn't be too hard as far as I guess.

Another question is about the wiki. It is pretty hard to follow the development process, so could someone update the wiki a bit?

https://wiki.cyanogenmod.org/index....ild_CM_Marshmallow_for_trlte_WORK_IN_PROGRESS

I have updated as much as I could when I was still actively building, but now since more skilled developers are around again I stepped back a bit since only new repo syncs don't help too much.

Thanks again
[Galaxy Note 4 Android Development (Snapdragon)] Redmanha:
Downloaded the sensorlib three pages ahead and will try it tomorrow..... looking forward for this great rom from jef_00
[Galaxy Note 4 Android Development (Snapdragon)] king123321:
everything works amazing! wow! even the proximity, I think you need to wait a little when switching cameras I mean longer than usual but other than that its perfect! thanks alot
[Galaxy Note 4 Android Development (Snapdragon)] :
so every basic function is working now?! I think we can officially ask CM for note 4 13.0 nightly's :)

btw can anyone can upload a working build with the sensors build?
[Galaxy Note 4 Android Development (Snapdragon)] Ogy77:
Thats magical word OFFICIAL yumiii :) :) :)
[Galaxy Note 4 Android Development (Snapdragon)] DeadPicsel:
I've just noticed that I can't map the recent apps button on jef_00's latest build.
[Galaxy Note 4 Android Development (Snapdragon)] king123321:
N910f Proximity fix not working
[Galaxy Note 4 Android Development (Snapdragon)] Xokoz:
[MENTION=4851188]desvariando[/MENTION] knows the fix for buttons (fully working for all buttons) and for battery light also. Can you [MENTION=4851188]desvariando[/MENTION] share the fix with us?
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
[MENTION=4851188]desvariando[/MENTION] would release a build with proximity working i think tonight if not i will do it tommorow
[Galaxy Note 4 Android Development (Snapdragon)] DeadPicsel:
Would it be possible for someone to make a build with working button maps, proximity sensor and latest fixes described in previous posts. I'd flash and use as my daily right now if so lol
[Galaxy Note 4 Android Development (Snapdragon)] AndrolinRoot:
First we have to make the install work without flashing the blob files first, I guess..
[Galaxy Note 4 Android Development (Snapdragon)] DeadPicsel:
Yeah blobs would need to be merged before we get official builds
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
Download the sensor libs (a couple of pages back from my good friend [MENTION=6364963]MisterCoolBeans[/MENTION] ) PAY (excuse the caps but a lot of people (not mentioning any names) download from the internet and don't support developers) for Root Explorer from the Play Store, extract the libs from the file you just downloaded, open root explorer and navigate to system > lib > hw then rename the sensors.lib file to sensors.lib.bak, copy the extracted sensors.lib (the one you just downloaded) file to system > lib > hw. Reboot.
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
New build - 20151223-UNOFFICIAL-trltexx

Hi guys.

Another build. It includes new CM13 sources, fattire commits and fattire fix for proximity sensors, as well as previous fixes.

This means almost everything working.

For instructions everything here (http://xdaforums.com/showpost.php?p=64396374&postcount=1087) still applies. Please, read before asking.

Link: https://mega.nz/#!1koSkQyJ!J3bBQc_OCS0u0PFo0RXgkTh8rEL9EB4bdv73L10NWw0

---------- Post added at 10:37 PM ---------- Previous post was at 10:36 PM ----------

This gets all of this.
[Galaxy Note 4 Android Development (Snapdragon)] Xokoz:
Man, you are a wizard. Gonna flash asap.
[Galaxy Note 4 Android Development (Snapdragon)] DeadPicsel:
I'm downloading now and I'll flash as soon as it's downloads, thank you soon much
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
Not me, fattire and gekke (they brought most of the solutions). I just contributed with a few things and compiled. They are magicians, I am a newbie in this field (yet... :)).
[Galaxy Note 4 Android Development (Snapdragon)] DeadPicsel:
Well thank you to everyone
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
Downloaded, flashed, working! You're a leg-end :)
[Galaxy Note 4 Android Development (Snapdragon)] king123321:
[MENTION=4851188]desvariando[/MENTION] amazing work! and the guys who made the fixes! gonna try it now and report, so the only things left (according to my expirence) is:

1. LED fix

2. Camera Switch lag on stock app

3. Fingerprint Scanner
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
LED works for me fine. What fails??
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
did you update your repo with al the fixes? [MENTION=4851188]desvariando[/MENTION]
[Galaxy Note 4 Android Development (Snapdragon)] shaggyskunk:
So you guys that are on Tmo - Are you flashing the VZW Blobs?

Sent From My SM-N910W8 Running CMRemix 6.01
[Galaxy Note 4 Android Development (Snapdragon)] Wilsonb:
Thanks.. did it with Root explorer.. Hope it works fr N910T3 will wait and see
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
was that a pun? XD Please tell me that was deliberate

downloading and flashing [MENTION=4851188]desvariando[/MENTION] new build now.

oh and the free version of ES file explorer gives you root access and would allow you to copy/paste system files, you just gotta enable it in the apps options.

edit: the new build looks good so far. automatic brightness seems fixed? maybe that came with the sensors patch. open Gapps "mini" solved my google issues.
[Galaxy Note 4 Android Development (Snapdragon)] SamuelBegui:
No it's as simple as flashing the ROM from Verizon and your preferred gapps (I use SlimGapps)

From my experience everything except the common broken things were working (Bluetooth was working)

EDIT: Are you trying to flash CM13 for Verizon? Or are you using Verizon's Blops on top of this?
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
No pun intended my friend
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
well i found it funny anyway :P
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
Good man, a bloke with a sense of humour! :)

---------- Post added at 12:52 AM ---------- Previous post was at 12:36 AM ----------

In case I don't hear from or speak to you guys, Merry Christmas to you all for tomorrow :)
[Galaxy Note 4 Android Development (Snapdragon)] DeadPicsel:
Has anyone had a problem with the brightness slider? Mine doesn't work.
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
Mine works a treat :) try dirty flashing again but wipe cache and dalvik :) don't forget to flash the blobs!
[Galaxy Note 4 Android Development (Snapdragon)] Wilsonb:
Bluetooth works , but flaky.. It doesn't Auto connect as stock and sometimes dropped and can't find devices
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
working for me on G. disable the auto brigthness?
[Galaxy Note 4 Android Development (Snapdragon)] Wilsonb:
For me N910T3 , have brightness problems all the time when turning on. Sometimes, turning off/ back on brings brightness back.

The slider sometimes doesn't work.

I disabled adaptive brightness, will see if that helps.
[Galaxy Note 4 Android Development (Snapdragon)] AstainHellbring:
Anyone build this for tmo yet?
[Galaxy Note 4 Android Development (Snapdragon)] Wilsonb:
You mean this?

http://xdaforums.com/note-4-verizon/development/cyanogenmod-t3253973
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
That says verizon. AFAIK no one has posted a build, but it's working for me. I'm basically at 12.1 parity in terms of stuff working. Haven't noticed in 24 hours now any issues at all.
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
wakelock detector not working for me in new build. might be a root issue?
[Galaxy Note 4 Android Development (Snapdragon)] Wilsonb:
That works on T-Mobile
[Galaxy Note 4 Android Development (Snapdragon)] kenkiller:
Switching between lte, 3g and 2g still seems to be not working.
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
works for me on the latest build.

^ this one (quoting it to help keep the link visible. i had to re-flash the blobs after a dirty flash over previous version)
[Galaxy Note 4 Android Development (Snapdragon)] kenkiller:
Strange....worked after a reboot. :D
[Galaxy Note 4 Android Development (Snapdragon)] :
Looks like your changes to battery led and buttons are undone? :confused:

The screengrabs I've attached is a clean flash of your latest build.
[Galaxy Note 4 Android Development (Snapdragon)] shaggyskunk:
I haven't flashed it yet - And I actually meant to post in another thread - where they were talking about a Tmo build - lol

But Thanks ☺

Sent From My SM-N910W8 Running CMRemix 6.01
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
Which build did you flash?

In my last they work for me.
[Galaxy Note 4 Android Development (Snapdragon)] :
Ah I see, I'l redownload it and try again. I might've flashed jef_00's 1223 build.

Sorry for the confusion!
[Galaxy Note 4 Android Development (Snapdragon)] ForceField:
Yup , Your last build is really great :good:

I think we only nee now the word OFFICIAL :D

Thank you mate
[Galaxy Note 4 Android Development (Snapdragon)] exmatproton:
This latest build is a real treat! Lovely work!! It is snappy as, well, F*CK! Nice!
[Galaxy Note 4 Android Development (Snapdragon)] mixailo:
The last build is really good. Great work! Just wanted to mention that I had to flash blobs again while upgrading, otherwise it entered bootloop. Also I had no headphone output from Play Music, I got it working by turning on the headphone option in AudioFX. Afterwards I can turn it off and the sound is still working.
[Galaxy Note 4 Android Development (Snapdragon)] addy37:
Has the SD card issue resolved? Or does it still ask for formatting.
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
Yes, if you read the instructions you can see that I say so.
[Galaxy Note 4 Android Development (Snapdragon)] mixailo:
You are right, sorry. Anyway I mostly posted for people that might run into sound issues like I did.
[Galaxy Note 4 Android Development (Snapdragon)] ForceField:
Nope , It didn't asked for formatting since several releases now.

The only thing that I noticed is that some programs like 'Easy Installer' Don't sees the SD Card (While it appears in the File Managers)

But I think that those programs should increase their compatibility to Marshmallow
[Galaxy Note 4 Android Development (Snapdragon)] :
I'm probably nitpicking about this "issue". Anyways, whenever the recent apps window is opened, there is a slight pause before the cards start showing up. This does not happen on cm12.1 nor touchwiz-based roms. Does anyone have a fix for this?

Edit: It seems that enabling multi-window causes this behavior. Disabling multi-window returns it to normal.

Also, the clear all apps button is missing from the recent apps window.
[Galaxy Note 4 Android Development (Snapdragon)] addy37:
Thanks. I downloaded the latest file "cm-13.0-20151219-UNOFFICIAL-trltexx" but still getting it. Any suggestions.
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
Latest file is cm-13.0-20151223-UNOFFICIAL-trltexx
[Galaxy Note 4 Android Development (Snapdragon)] scorpienez:
Where is the link? The link mentioned by op is for old one, i guess? Please update the first post with updated link.

Edit: Supposedly it is the one updated, Sorry.
[Galaxy Note 4 Android Development (Snapdragon)] ForceField:
Strange , It didn't asked with me since before 1217

Is this the first time you install CM13 ?

It seems to ask to format only the first time and then it won't ask again

In this case just make a backup , format the SDCard and copy your backup again to the SD

Can somebody confirm this?
[Galaxy Note 4 Android Development (Snapdragon)] theZwo:
Yes. On first time after installing Android 6/cm 13. :)

Android 6 seems to work different with SD cards as 5.1.1

I got bootloop after dirtyflash last build.

Before:19122015 Target:23122015

Second try: 19122015 (clean) -> 23122015 + New blobs + gapps = bootloop

Third try: clean flash 23122015 + blobs + gapps = another bootloop.

Got back to 19122015 now until solution.

Any suggestions?
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
Dude, we're not here to do your dirty work for you. But because its Christmas: https://mega.nz/#!zBAiTL6R!Ez-GrRe6naRCxJYa8OXWA0jUxaSH1TWkoUTQBlcKlb8

I don't run the thread so I cannot update the first post. Whatever you do, don't forget the blobs! If you need Gapps, head to opengapps.org

---------- Post added at 09:38 AM ---------- Previous post was at 09:31 AM ----------

Are you on the latest modem and bootloader? POK1, if not, theirs your answer to the bootloop :)
[Galaxy Note 4 Android Development (Snapdragon)] scorpienez:
Chill dude, I didn't order u to do my dirty work(?). I just asked for link, if u cannot help politely just ignore.
[Galaxy Note 4 Android Development (Snapdragon)] kenkiller:
Yes, it wants to format the internal sdcard to fat. Exfat isn't accepted yet.
[Galaxy Note 4 Android Development (Snapdragon)] theZwo:
[MENTION=4309127]speedyjay[/MENTION] : my bad. Will flash newest POK1 soon.

thx :)
[Galaxy Note 4 Android Development (Snapdragon)] shaggyskunk:
You mean the external sd card - and as Portable Storage or as "additional" internal storage....And yes - Fat32 although the internal system storage is ext4

http://arstechnica.com/gadgets/2015/10/android-6-0-marshmallow

Sent From My SM-N910W8 Running CMRemix 6.01
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
No worries :) Merry Christmas :)
[Galaxy Note 4 Android Development (Snapdragon)] Redmanha:
Merry christmas @all

Hi [MENTION=535343]all[/MENTION],

i wish you all merry christmas from germany.... Good food and a nice time with family and/or friends (and a litle bit drunk ;) )

Greetings Christian
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
Merry christmas to everyone - this latest build was a great christmas present as it seems to have fixed the occasional camera freezing i had on CM12.1, which should be great taking pics tomorrow morning. (I'm aussie, so thats not far away)

if you scroll all the way down to the bottom, clear all is there as three lines.

the OP/original dev left. Until a new thread is made (probably when it goes official) links will unfortunately be scattered through here.
[Galaxy Note 4 Android Development (Snapdragon)] Incarniac:
Thank you everyone for your hard work and persistence. I was running desvariando's 1220 build for a couple of days before dirty-flashing 1223 and things are running great.

In the 'About' section in settings it still says 1220 ("13.0-20151220" & "dom dic 20 15:52:33 CET 2015"). I definitely flashed the 1223 ZIP, so my question is if this is is the 1223 build or if somehow I've gotten something mixed up (always possible, though I don't think so).
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
your numbers match mine. the zip for the latest rom appears to have an incorrect name/the internal build number is wrong.
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
New testing build - 20151224-UNOFFICIAL-trltexx

Warning: I made some changes that could break things.

Another build. Only changes a few blobs from newer devices (5.1.1) to see how it performs.

So far it works fine in my mobile, but could break things.

Feel free to let me know differences between the previous one.

For instructions everything here (http://xdaforums.com/showpost.php?p=64396374&postcount=1087) still applies. Please, read before asking.

LINK: https://mega.nz/#!M1g0iS7R!we25-3RezI-2tkkLjedtA5XGYMB94dPBPfJbZ1VbOts
[Galaxy Note 4 Android Development (Snapdragon)] addy37:
Downloading now
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
you mention blobs - does that mean we no longer need the blobs from the OP?
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
Unfortunately we still need them.

Probably fattire who is more experienced with this could help me through the process of including the blobs into the image.
[Galaxy Note 4 Android Development (Snapdragon)] :
regarding Ambient Display- I guess everyone here are having the bug where you receive a notification and the screen remain with very low brightness?

I remember it was fixed in 12.1 just a month or two before gekke starting to work on the 13.0 builds(I think when they merged the gestures commits for the note 4)
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
well that new build booted fine on 910G and i've got mobile network and wifi at least. will let you know if i run into any problems. CM version in the about section is showing the wrong build date, as a minor cosmetic error.
[Galaxy Note 4 Android Development (Snapdragon)] iRoNX:
there's a problem with the stock browser: it cannot download file

someone have the same issue?

Edit: granted the permission and fixed
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
I checked it and it seems to be fine.

Maybe it is a CM related problem...

This is the way it is currently:

<integer name="config_screenBrightnessDoze">100</integer>