yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] mlazzarotto91:
It works with Magisk (only if you haven't xposed) as well with suhide.

You can find the threads for both here on XDA.

Inviato dal mio SM-N910F
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
it wont work on anything except rooted stock roms now. Theres a second check you cannot bypass.
[Galaxy Note 4 Android Development (Snapdragon)] mlazzarotto91:
No, I am actually using Emotion ROM and both methods are working.

I've switched from Magisk to suhide because I need xposed.

Inviato dal mio SM-N910F
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
if you make a guide on how to get it working, i'll help test and confirm it.
[Galaxy Note 4 Android Development (Snapdragon)] mlazzarotto91:
This is the guide I followed http://xdaforums.com/showpost.php?p=68786035&postcount=2180

Before the guide read the op here http://xdaforums.com/apps/supersu/suhide-t3450396

Inviato dal mio SM-N910F
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
thats totally different to the guide i followed, i'll try that out later.
[Galaxy Note 4 Android Development (Snapdragon)] TanayPoddar56:
Huge Mobile Standby battery drain. SM-910G PB4 MODEM, PD2 BOOTLOADER. PLEASE HELP ME!
[Galaxy Note 4 Android Development (Snapdragon)] Danmann:
The rom is great only my battery is horrible.

BL is dphb and modem is dpb1.

I tried a couple of apps etc but it's not really better.

I have a note 4 910U as well. Cm 13 on it. The battery is way better.
[Galaxy Note 4 Android Development (Snapdragon)] TanayPoddar56:
I bought a new battery yesterday, same or worse results. Seems like a software issue in my case. Any help would be appreciated
[Galaxy Note 4 Android Development (Snapdragon)] Danmann:
I have 3 batteries. So that's not the problem.
[Galaxy Note 4 Android Development (Snapdragon)] Hiwea:
Same experience here. This rom provides mediocre battery life.
[Galaxy Note 4 Android Development (Snapdragon)] Crimsonthunder:
Thank you for the qualified and helpful feedback. Now we are able to fix your problem and make a perfect rom for you. :svetius:
[Galaxy Note 4 Android Development (Snapdragon)] Hiwea:
Why the passive aggressive response? There are many posts about bad battery life in the thread that are blatantly ignored.

It'd be great if you actually provided useful information like the exact baseband and bootloader to use with the rom.
[Galaxy Note 4 Android Development (Snapdragon)] Crimsonthunder:
Because I answer passive aggressive posts in this way. If the battery life is really this bad it's not only a bootloader or baseband issue. If you read a bit around the thread there are many posts about the recommended baseband and bootloaders. But in my opinion you have to find out which one fits best in your region, especially the radio.

If you want to get some help then please provide more useful information. For example rom version, kernel settings, batteries stats/better battery stats, wake locks and so on. We can do nothing with posts like: this rom has bad battery life.

Me and many others have really good battery life and no drain with the same rom. So it couldn't really be a rom issue Iam right?
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
because angry posts with ZERO useful information in them are about as useful as smashing a keyboard with your face and thinking it's helpful.

Provide logcats, battery stats, SOMETHING to help the devs figure it out - or else its pointless whinging.

Most of us run this ROM with zero problems, and many fixes have been suggested over the various ROM versions - mostly around you figuring out what bootloader nad modem files work best for your phone, on your carrier, in your country. The same one does not work for everybody.
[Galaxy Note 4 Android Development (Snapdragon)] Hiwea:
What? All firmwares I've tried from XSA, XSP and INU are fine. All problems I've faced are exclusive to this rom. That said, I've already given up on aosp on the note 4 since gekke left.

I understand what you're saying. The issues I've faced only surface when using this rom. The unofficial cm13 roms do not have strange system ui battery drains like I've experienced here.

Another reason why I wanted you to state the bootloader and baseband versions is because the rom is compiled by you which means that the binary blobs should pair with the initial bootloader/baseband you used without issues. Am I wrong to think this?

I appreciate your intention to help. I'll be sure to provide them if I do use this rom in the future.
[Galaxy Note 4 Android Development (Snapdragon)] monleylord:
Calm down a bit. Samsung TW firmware cut down the sync to spare battery life and due tw framework they are give a poor performance. You can use any mm BL/Modem you like. The newer BL/Modem have the latest update to drm blobs like widevine and the latest LTE/3G provider infos. You can extract both to see the files. If you install clean you must give your rom the time to sync all his data again or do this manually.
[Galaxy Note 4 Android Development (Snapdragon)] Ashwanthsam:
Did you done the basic check ? Battery calibration ?
[Galaxy Note 4 Android Development (Snapdragon)] mlazzarotto91:
Hi, I want to share a trick that I've just found.

With the TW the Ultra Battery Saving mode sets the display in grayscale.

I found that there is the same option in the Developer Settings and it's called Simulate color space.

Also I can toggle that option using the following shell command as root:

settings put Secure accessibility_display_daltonizer_enabled 1

to enable it and

settings put Secure accessibility_display_daltonizer 0

to set the screen in grayscale mode.

To disable the daltonizer mode

settings put Secure accessibility_display_daltonizer_enabled 0

I find that's useful for me since I can use these commands with Tasker when the battery is low.
[Galaxy Note 4 Android Development (Snapdragon)] Pafcholini:
For those who has battery drain try to disable auto sync, auto rotation and disable some important wakelocks that drain the battery.

Ps: please feedback after this values how is going.

"If it compiles, it is good, if it boots up it is perfect".
[Galaxy Note 4 Android Development (Snapdragon)] yashthemw:
I never had battery drains with r21.

Might be because i never keep auto sync ,auto rotation on .

Even if auto rotation is on , i dint faced any battery drains.

Reporting via n910g
[Galaxy Note 4 Android Development (Snapdragon)] Danmann:
Yeah, I did it thanks.

Don't know the problem. I need auto sync and auto rotation as well.

Betterbatterystats is showing me 25% /hour screen on. Only telegram and tapatalk yet. I have in deep sleep around 7 - 10% /hour. Yeah, nah that's too bad.

So maybe I try another clean wipe/flash but I don't think that will help. I did it before ? We'll see.

Thanks for help.
[Galaxy Note 4 Android Development (Snapdragon)] Pafcholini:
For what you need it? You can set auto sync only for X apks, etc.

"If it compiles, it is good, if it boots up it is perfect".
[Galaxy Note 4 Android Development (Snapdragon)] Ashwanthsam:
After calibration did you still facing drain ? And also try app HEBE.
[Galaxy Note 4 Android Development (Snapdragon)] Danmann:
Yeah, after calibration I have still problems. I'm using hebf as well. Maybe it's a little bit better.

Sure I need auto sync only for a couple of apps.
[Galaxy Note 4 Android Development (Snapdragon)] mlazzarotto91:
How can I enable autosync for only some apps?

Inviato dal mio SM-N910F
[Galaxy Note 4 Android Development (Snapdragon)] Pafcholini:
For example, you can turn off for some apks the auto sync from here:

And for another apks like facebook, messenger, etc you can disable the wake up (this will disable the auto sync until you open the Apk)

"If it compiles, it is good, if it boots up it is perfect".
[Galaxy Note 4 Android Development (Snapdragon)] mlazzarotto91:
Thank you very much. I am using BootManager module from xPosed. Do you think I can uninstall BootManager since PrivacyGuard can control apps that start at boot?
[Galaxy Note 4 Android Development (Snapdragon)] Pafcholini:
Sure you can.

"If it compiles, it is good, if it boots up it is perfect".
[Galaxy Note 4 Android Development (Snapdragon)] shadow_empire1:
Why is the Title still r20 when there is already r21 released?

:)
[Galaxy Note 4 Android Development (Snapdragon)] Pafcholini:
I'm on vacation and I'm a bit lazy to update the thread

"If it compiles, it is good, if it boots up it is perfect".
[Galaxy Note 4 Android Development (Snapdragon)] yashthemw:
Hey , i was not able to copy files to my usb through otg .

I can import files from usb but cannot export any files to usb .

Tried other file manager aswell ,but root browser doesnt even show the usb partition .

Can someone verify this?

And report back.

Thanks.
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
Works for me in solid explorer. NTFS and FAT32.
[Galaxy Note 4 Android Development (Snapdragon)] Raven_999:
Try to format your usb flash drive to FAT32 on PC. I had a similar problem. Formatted it and it worked. Good luck..
[Galaxy Note 4 Android Development (Snapdragon)] darkshadw:
R21 seems to be draining my battery WAY faster than R20, so I'm going back. Is there any important change since R21?
[Galaxy Note 4 Android Development (Snapdragon)] sukesh1090:
Is there anyway I can run this on unlocked sprint device? I know there is sprint version of this rom but it is creating a lot of problems on my GSM sim.
[Galaxy Note 4 Android Development (Snapdragon)] Pafcholini:
Try it. The rom should boots up.

"If it compiles, it is good, if it boots up it is perfect".
[Galaxy Note 4 Android Development (Snapdragon)] Artim_96:
Hey guys,

I just flashed this ROM since I'm sick of Samsung's crappy software and I love it already.

But sadly, I can confirm a few things others seem to have noticed too: NFC isn't working at all (it won't detect my mensa card for university or my Bluetooth headphones) and Bluetooth won't detect to all devices. I can easily connect it to my laptop (BT 4.0) but not to my "headphones" (Sony SBH20, BT 3.0) which is kinda sad. And I haven't found a solution yet (or did I just oversee it?).

It's there any solution for that already?

PS: yes, I wasn't able to use the fingerprint scanner for device unlock too, but I haven't tried yet to change SELinux to permissive and reboot. I hope that should help.

PPS: since I don't want to ask for ETAs I'll place my question that way: would it be possible that this ROM will get somewhen an update to Nougat? I know that things are a bit different for Samsung devices than in others so I don't know if it would be even possible without updated kernel and driver by Samsung.

Device: 910F
[Galaxy Note 4 Android Development (Snapdragon)] sukesh1090:
If I can get it to install then I am very much sure that it will work because I have been using 910F TW rom for a long time now but this rom refuses to install and throws an error message saying this rom is for trltexx and mine is trltespr. How do I bypass this?

Is there anyway I can set fingerprint lock as my security on lock screen?
[Galaxy Note 4 Android Development (Snapdragon)] pctv007:
For NFC, I didn't find any solution... But BT works perfectly on my N910F, here. I paired it with my headphones, a BT mouse and it worked flawlessly. Did you try a clean install ?

:)
[Galaxy Note 4 Android Development (Snapdragon)] Artim_96:
Of course. I wiped everything but internal storage
[Galaxy Note 4 Android Development (Snapdragon)] pctv007:
Then I don't know... I just tried pairing another headphone and it worked... I dirty flashed over r20, that I dirty flashed over r19 though...

Maybe it's related ?

Or maybe it's your modem... Are you on DPG1 ?

:o
[Galaxy Note 4 Android Development (Snapdragon)] Artim_96:
I only know that I have DPB1 as baseband

I now tried to get the fingerprint reader to work. I switched SELinux to permissive, rebooted and was able to add one, but only one. So I wanted to use another finger so I deleted the sacred fingerprint but now adding one isn't possible anymore. Even the procedure above didn't help anymore.

PS: what does "@2131493860" mean at the end of the lock screen settings?

Oh and before I forget it: when activating any setting in input& language settings about the S Pen, the screen mostly won't recognize normal touchscreen input, only from the pen. I can get it to recognize touch input, but it gets like the system is hanging. In the settings list when I pull the list I see that blue effect that shows the end of the list, but I can scroll only with the pen.

And after a few reboots, BT is now working as expected. Don't know what was the problem, but it's gone now... Whatever
[Galaxy Note 4 Android Development (Snapdragon)] monleylord:
The [MENTION=1778848]2131[/MENTION]493860 is a typo error.

I don't have your spen issues and i cannot reproduce it. Btw if you wanna use the full potential of your spen you need to buy the app "spencommand".

The fingerprint "add" issues is well known, you just need to try again and again until it registers your fingerprint. A How To is posted in the forum weeks ago.
[Galaxy Note 4 Android Development (Snapdragon)] Inksu:
[MENTION=4824728]Pafcholini[/MENTION] [MENTION=2875091]Crimsonthunder[/MENTION]

I've been running R21 for quite some time now. I haven't found any bigger issues, but I still keep losing mobile data every now and then (you know: exclamation mark on the signal bars, only a reboot helps). I am wondering if the following lines that keep appearing all the time in my logs are somehow related to this. I don't see these on any of my other devices that are running CM13.

09-27 08:57:20.743 E/NetlinkEvent(388): NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
09-27 08:57:20.743 E/NetlinkEvent(388): NetlinkEvent::FindParam(): Parameter 'UID' not found
09-27 08:57:20.745 E/NetdConnector(1024): Error handling '613 IfaceClass idle (null) 83493960482375': java.lang.NumberFormatException: Invalid int: "(null)"

The code that throws this exception is in: platform/frameworks/base, class com.android.server.NetworkManagementService.NetdCallbackReceiver method onEvent(). The problem seems to be starting earlier, when NetlinkEvent in platform/system/core doesn't find the proper parameters.

I don't know Android (or/and Linux) architecture well enough to know which part is actually responsible for this. What I do know is that Netlink is an interprocess communication interface between kernel and userspace. So, maybe this is a kernel problem; kernel not providing the proper parameters to netd's NetlinkHandler?

Something like this fix in jflte kernel (+ many other devices), it seems to be missing for our trlte kernel: http://review.cyanogenmod.org/#/c/116202/
[Galaxy Note 4 Android Development (Snapdragon)] Artim_96:
I'll try that later.

But what is [MENTION=1778848]2131[/MENTION]493860 supposed to do? Or is it supposed to not be existent at all?

And here is a log of my S Pen issue. I turned on both settings at the bottom of input & language, tried to scroll the list with fingers (what failed), tried the same with the pen (which succeeded) and switched the settings of again with the pen

https://www.dropbox.com/s/hnm5t2gmz180v58/spen.txt?dl=0
[Galaxy Note 4 Android Development (Snapdragon)] Jay Ady:
Finally someone has similar issue... I am glad.. I was unable to install catlog app.. thanks for sharing it.. The inconsistency with mobile data is the only thing bothering me.. everything else is rocksolid. thanks for the wonderful rom, thanks for your efforts.. kindly help to fix this mobile data issue, I will try to share catlogs soon.
[Galaxy Note 4 Android Development (Snapdragon)] Inksu:
[MENTION=4824728]Pafcholini[/MENTION]

Here's another bit of logs that could have an impact on data connections.

09-27 23:48:45.557 I/iptables(390): iptables: Index of insertion too big.
09-27 23:48:45.557 I/iptables(390): iptables terminated by exit(1)
09-27 23:48:45.557 E/BandwidthController(390): runIptablesCmd(): res=1 status=256 failed /system/bin/iptables -w -I bw_FORWARD 2 -i rmnet_data0 --jump bw_costly_rmnet_data0
09-27 23:48:45.568 I/ip6tables(390): ip6tables: Index of insertion too big.
09-27 23:48:45.568 I/ip6tables(390): ip6tables terminated by exit(1)
09-27 23:48:45.568 E/BandwidthController(390): runIptablesCmd(): res=1 status=256 failed /system/bin/ip6tables -w -I bw_FORWARD 2 -i rmnet_data0 --jump bw_costly_rmnet_data0
09-27 23:48:45.590 E/BandwidthController(390): Failed set quota rule
09-27 23:48:45.590 E/BandwidthController(390): No such iface rmnet_data0 to delete

Here's the commit that may be related and seems to be missing from our kernel (present on most other devices): http://review.cyanogenmod.org/#/c/152549/

And another iptables-related change that's missing: http://review.cyanogenmod.org/#/c/154165/

This here seems to be a missing CVE fix: http://review.cyanogenmod.org/#/c/143640/

I was basically going through CM Gerrit searching for "netfilter", and came across these. :)
[Galaxy Note 4 Android Development (Snapdragon)] Ashwanthsam:
Unfortunately, System UI has stopped !

Unfortunately, System UI has stopped !

Does anyone getting this error ?

To recover either I should reboot or clear dalvik & ART cache.

Any solution from anyone ?
[Galaxy Note 4 Android Development (Snapdragon)] Jay Ady:
thanks for sharing the logs.. hope there will be fix..
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
with detailed logs + links like that, i'm pretty confident the devs will test it out, if they havent already
[Galaxy Note 4 Android Development (Snapdragon)] Artim_96:
Same issue here on every bootup. I just ignore it since everything is working fine
[Galaxy Note 4 Android Development (Snapdragon)] Ashwanthsam:
I think there is a conflict between some process ! I need to check log.

Which launcher are you using ?
[Galaxy Note 4 Android Development (Snapdragon)] Jay Ady:
Temporary Solution is Using DNS Changer App fro play store. But it has little to medium level impact on battery.
[Galaxy Note 4 Android Development (Snapdragon)] alexeei:
It's really need to use MM bootloader and modem? Use firstly it, now use LL BL and modem, all works same.
[Galaxy Note 4 Android Development (Snapdragon)] WinJunkie:
I was getting a bit sick of my Note 4. Samsung roms laged and r13 was too buggy. I was waiting for the Note 7 or something else. I upgraded to r21 and wow bugs are squashed and love all the new features. It's working great for me. No data issues and no crashes. It's bought new life into my Note 4. Thanks to all the devs for there work
[Galaxy Note 4 Android Development (Snapdragon)] Artim_96:
Nova
[Galaxy Note 4 Android Development (Snapdragon)] iRoNX:
Same here. It's a random problem. I need to factory reset my device. can't use it otherwise.

Google Launcher, pico open gapps, R21
[Galaxy Note 4 Android Development (Snapdragon)] Kraken99:
Is camera working fine with r21? Also what about heating issues? I'm on marshmallow pg1 bootloader, n910g. Thanks
[Galaxy Note 4 Android Development (Snapdragon)] Artim_96:
Might depend on the model. Here on F no problems, but at least the T variant has problems. Either network won't really work or camera (after data fix).

Hadn't had heating issues, you might just try it on your own.
[Galaxy Note 4 Android Development (Snapdragon)] Ashwanthsam:
Camera working fine, but after first shot it hangs.

Neglecting this for time being, hence the other features of Rom are awesome.

---------- Post added at 09:27 AM ---------- Previous post was at 09:16 AM ----------

You can try decreasing the load by stop Android system logging process.
[Galaxy Note 4 Android Development (Snapdragon)] mlazzarotto91:
Open Camera from the Play Store is working fine, and it doesn't hangs.
[Galaxy Note 4 Android Development (Snapdragon)] Ashwanthsam:
Same here, OC.

Wondering why users with same specs facing different issues !
[Galaxy Note 4 Android Development (Snapdragon)] DIMITRISGR83:
Is there somewhere the setting to no ask for permissions in apps? In others Roms it is in security settings.

Στάλθηκε από το SM-N910F μου χρησιμοποιώντας Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] mlazzarotto91:
Yeah, go to Settings, Privacy and Privacy Guard. From there you can allow or deny permissions to apps

Inviato dal mio SM-N910F
[Galaxy Note 4 Android Development (Snapdragon)] WinJunkie:
Stock camera seems ok a bit slow though but open camera seems to have a lot of problems, it hangs and then can't connect to the camera. Data issues and reboots are fixed on N910G. Haven't really noticed any heat issues so far
[Galaxy Note 4 Android Development (Snapdragon)] Pafcholini:
thanks for your research! I'll add the patches for the next release
[Galaxy Note 4 Android Development (Snapdragon)] TrypelZ:
I can't deactivate the text correction on the keyboard,evwry time I try to access the keyboard settings it crashes... What gives that?
[Galaxy Note 4 Android Development (Snapdragon)] pizzakatze:
yes. i ran into that issue after activating "Slim recents". deactivating it solved the FC for me. :victory:

---------- Post added at 10:24 PM ---------- Previous post was at 10:13 PM ----------

any confirm an issue after routing a call to the loud speaker?

someone just call me and complained about the sound quality after I did so,

saying there would be some some noise in the background sth similar to a ghost.
[Galaxy Note 4 Android Development (Snapdragon)] Ashwanthsam:
Slim Recent was already disabled, still issue persists.
[Galaxy Note 4 Android Development (Snapdragon)] sarbjot50:
Battery

Hi i wanted to ask if there is anyway of getting great battery life in this ROM? because i m getting average screen on times if anyone has any solution please do reply.
[Galaxy Note 4 Android Development (Snapdragon)] WinJunkie:
Another issue. Fingerprint doesnt seem to work sometimes. It's like it doesnt detect my finger at all. Like the fingerprint reader isn't activating
[Galaxy Note 4 Android Development (Snapdragon)] DIMITRISGR83:
Will be there any other update for MM or will go to N?

Στάλθηκε από το SM-N910F μου χρησιμοποιώντας Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
devs have stated we'll get bugfixes, but they'll focus on N.

They want to leave us with a stable 6.0.1.
[Galaxy Note 4 Android Development (Snapdragon)] Demz101:
Just installed r21. What's new? ( reading the changelog is confusing af)

So far I've seen Audiofx and google now launcher on startup. What else am I missing?
[Galaxy Note 4 Android Development (Snapdragon)] Pafcholini:
Testing the new r22 release. Soon will be available!

"If it compiles, it is good, if it boots up it is perfect".
[Galaxy Note 4 Android Development (Snapdragon)] xarrismoto:
Please can you do something with audio on Skype or messager app of Facebook?when I have video call the other person can not hear my voice. Thank you.

Στάλθηκε από το SM-N910F μου χρησιμοποιώντας Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] Pafcholini:
Yes its fixed in the r22 release

"If it compiles, it is good, if it boots up it is perfect".
[Galaxy Note 4 Android Development (Snapdragon)] pickandrew:
Hello... thanks for the ROM!

This is compatible for all version Note 5SM-N910F or to all of its versions:

SM-N910P / SM-N910T /N910R4 /N910V / N910U / N910C / N910H / N910W8 and Duos SM-N9100

With what? Thank you very much for the support!
[Galaxy Note 4 Android Development (Snapdragon)] Pafcholini:
We have official support only for SM-N910F, SM-N910G and SM-N910P. But I saw few threads for SM-N910T and SM-N910V.

"If it compiles, it is good, if it boots up it is perfect".
[Galaxy Note 4 Android Development (Snapdragon)] ZenR2:
Thanx for the update, is the heating issue sorted out, phone gets a bit more hotter when playing games other then that its a perfect rom
[Galaxy Note 4 Android Development (Snapdragon)] mlazzarotto91:
R22 available on Android File Host.

BTW, thank you for the rom.
[Galaxy Note 4 Android Development (Snapdragon)] Crimsonthunder:
This is only the internal test release and not for public usage! There will be some additional changes in the final release! I'll remove the link now. Sorry guys