yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
My bad I mean when you look in the app manager in system settings, like how some apps request phone, SMS, data, Location, etc if you look in there, with the three dots menu at the top right you can select to show system apps as well. I take a screen shot when I get out of this movie theater.

Odin won't let you flash different variant firmware, but no it would not brick anything as they are identical hardware.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Like this
[Samsung Galaxy Note 8 Questions and Answers] louforgiveno:
I have a tmobile branded 8 (rooted with samfail deodexed) and for both apps it reads "no permissions allowed" just fyi in case it helps.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
thank you - that is really odd. I should have written down which one it was - definitely was one of the wifi-calling-related apps though.

Side note, came home from Justice League and without a reboot or anything Wifi Calling once again connected immediately as soon as I was in range of my home wifi. I'm positive that it is a permissions thing now, just need to confirm exactly which permission and how to enable it in the zip so we don't have to manually toggle it.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
See attached. Everything is working perfectly. Tomorrow's zip should be the final version.

I will need some 950N owners to confirm wifi calling works out of the box, just need to figure out how to make sure that app permissions are set in the zip file.

Finally got this thing figured out!
[Samsung Galaxy Note 8 Questions and Answers] Kamikaze_Ice:
Same here (AT&T, Renovate 2.3 + Iron Kernel).

Just to be thorough:

/system/app/ImsSettings.apk *APK, owner & group = "system 1000", permissions rw-r--r-- 644

/system/app/ImsSettings/ *FOLDER, owner & group = "system 1000", permissions = rwxrwxr-x 775

/data/data/com.samsung.advp.imssettings/ *FOLDER, owner & group = "IMS Settings 10131", permissions = rwx------700
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
yeah it's not the file permissions, the app permissions as viewable in settings -> apps -> permissions.

File permissions should always be 644 for apps and 755 or 775 for folders (stock folder permission in system/app and system/priv-app is 755, not 775 as in the custom ROMs).

I'm kicking myself for not writing down what it was. I was bored at work and just poking around out of curiosity, within seconds of allowing whatever other permission this was wifi calling connected there at work with the icon, but this had happened on the v6 patches as well so I didn't think anything of it. What caught my attention was coming home after work and Wifi Calling connecting instantly - with the notification icon which it did not show with my previous patches, on N firmware, and now after leaving and returning without rebooting or toggling wifi it again auto reconnected instantly. I'm 99.9% positive this permissions enable is the fix we've been waiting for.

Just need to figure it out for sure and have you guys test + confirm (on N firmware, not F since those already work out of the box).
[Samsung Galaxy Note 8 Questions and Answers] shouren04:
My permissions are the same like the others above. Stock F FW.

Do your earlier zips disable the RCS & VoLTE icons? I noticed you have them in your notification bar. I don't ever see the RCS & VoLTE icons, just the wifi calling when enabled. But I have verified that RCS & VoLTE is working for me. Oddly VoLTE been working perfectly fine for me for almost 2 weeks now. When I first started using it with the Note 8 I was having the same connectivity issues as I did on my Note 5.

I did get them on my my Note 5 but I removed them. Just curious is all, I prefer not to have them anyway.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
The icons are showing because of the kernel, not anything to do with the apps. I'm using Iron kernel at the moment.

They can be hidden with the system UI app from the play store though (or I can bake in a mod to make sure they are hidden even with Iron kernel).

It must be a different app if those 2 are both no permissions on U and F stock.

I'm pretty sure the app in question had 2 or 3 available permissions, and only 1 of them was not enabled, ugh this is killing me!
[Samsung Galaxy Note 8 Questions and Answers] shouren04:
I see. Come to think of it I think I only saw them on my Note 5 with custom kernels, I forget.

I'll be happy to check other app permissions.
[Samsung Galaxy Note 8 Questions and Answers] Kamikaze_Ice:
The easiest way should be to do a factory reset and flash it yourself, lol. But then you risk loosing any progress you think you have made if it turns out that this didn't work. Again, I'm AT&T so I'm worthless here :victory:

I would at least run some tests first by doing multiple combinations of reboots, both hot and cold, with and without SIM card (removed/inserted before and after rebooting/shutting down), and using LTE Discovery to force connection refreshes to towers (use the airplane mode method) and toggle your wifi and wifi calling on and off in various combinations.

Sounds like a lot of work, but it should be the best way to test if you've fixed your initialization problems (I hope! :fingers-crossed: )

Also, forgot to mention but I don't have "MDMapp".
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
I'm not sure that LTE discovery will be of much help since the issue has been getting wifi calling to register, not anything with LTE. I'll go through the apps and have someone else check them once I have a better idea of which one it was (they need to be on N firmware with my latest patch for an apples to apples comparison) but I'm confident that this is the final piece to the puzzle.
[Samsung Galaxy Note 8 Questions and Answers] xxx42069:
Wow man, amazing work as always. I've been out of the loop here for a while but I've been reading the last few pages to try and catch up. So you finally solved the whole slow LTE thing? Sounds like just wifi calling on N is all that's left right? What ended up being the culprit for the slow LTE?
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Bad LTE was caused by TMB_keystrings.dat

I replaced it with one from an S8 and one from my Note 5, both work fine. Not sure why the 950U one broke our LTE to be honest.

I think the final patch will be ready tomorrow.
[Samsung Galaxy Note 8 Questions and Answers] xxx42069:
Interesting. Looking forward to trying out your newest zip. I'm still rocking the very first one. It's been great so far in every way except for the LTE speeds. Thanks for all your hard work on this!
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
ok for those of you on N firmware with any of my T-Mobile patches applied I need to know what App Permissions you have for these in your Settings -> Apps (with the 3 dots menu Show System Apps). These are the settings I have now, but something was not enabled by default and I need to figure out what it was so I can fix it in the zip and release the final 100% working patch.

EpdgTestApp - phone

IMS Settings - phone and storage

MDMApp - phone

Safety Information - storage

Smart Call - contacts and phone

Voice Service - contacts, phone and storage

Voice Service Framework - location, microphone, phone, storage

now click on the 3 dots menu again and check Special Access, apps that can change system settings. In there, 3 dots Show System Apps and let me know what of that list has the toggle off/disabled.

Thanks in advance guys - soon as I can figure this out and fix it, should have the final 100% properly working zip ready to go.
[Samsung Galaxy Note 8 Questions and Answers] masri1987:
I am not home at all today, i will revert to N stock tomorrow and do this for you if someone else has not.
[Samsung Galaxy Note 8 Questions and Answers] jooniloh:
going to flash your last zip again and check these perms. one mo

---------- Post added at 23:03 ---------- Previous post was at 22:50 ----------

EpdgTestApp - None

IMS Settings - None

MDMApp - None

Safety Information - None

Smart Call - Contacts and Phone

Voice Service - Contacts, Phone, and Storage

Voice Service Framework - Microphone, Phone, and Storage

Definitely a lot more different than I was expecting. I'd try setting these to what you have to see what makes wfc work, but I'm not at home at the moment. Might be able to get back to you tomorrow night.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Thanks [MENTION=6170708]jooniloh[/MENTION] and [MENTION=2694397]masri1987[/MENTION] just let me know when you can.

I rebooted because my mic stopped working again and it has not reconnected Wifi Calling since, so apparently that wasn't the final fix. I am looking at the installer script for Nemesis ROM and he sets folder permissions different from stock for system apps, as well as for the ERIS binary that has to do with this wifi calling, so I am going to try mirroring that and see if it helps. I did not see any symlinks that look at all related to any of the wifi-calling components so at least that's ruled out.
[Samsung Galaxy Note 8 Questions and Answers] masri1987:
i'll be home at 7pm AZ time, so 6pm westcoast time.

IS there a easier way to get back on N without doing odin flash from stock?

---------- Post added 20th November 2017 at 12:39 AM ---------- Previous post was 19th November 2017 at 11:42 PM ----------

nvm i'll just odin flash
[Samsung Galaxy Note 8 Questions and Answers] masri1987:
doing it now, got home early. gonna make up a N950n stock backup so i can avoid odining lol
[Samsung Galaxy Note 8 Questions and Answers] masri1987:
Going back to F rom now but here you go
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Thanks guys - that is really odd. I definitely didn't manually change them save for the 1 whatever it was that I toggled to enabled on one app.
[Samsung Galaxy Note 8 Questions and Answers] jooniloh:
oh my post never went through. I tried setting all the perms the same and nothing changed, though I should also note that I went back to notorious kernel as it give me much better performance than Iron kernel does at the moment.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Very interesting.

I'm going to make a list of everything used by each of these related apps and see if anything obvious stands out.

I noticed some oddities like N doesn't have vssimmanager apk but it does have the jar file and both are mentioned in permissions xml file. It may be that although the actual file size is the same or nearly the same, either a jar file or binary are different enough to not be perfectly compatible.

Since I'm on call for Thanksgiving I will be at home with nothing to do and can put more time into this soon.
[Samsung Galaxy Note 8 Questions and Answers] Kamikaze_Ice:
I mentioned the LTE Discovery only to help force your phone to disconnect from the network completely. My train of thought was along the lines of a timeout request, and making attempts to "connect" to fast may cause it's own connection problems.

I experienced something like this on AT&T when I was playing around. I had a few times where I was like you and could only connect once and when lost never again until a reboot. Completely leaving the network and stopping my device from trying to "phone home" for a while helped (this is mostly why providers have you "reboot" your phone and leave it off for a bit before rebooting).

The app just automated this process so you could play around with settings, or so you could collect a log while traveling or during a movie without having to bother with it yourself.

---

Try comparing the files by hashes/crc/etc or the contents when opened with say "notepad".

I've mentioned it before, but Notepad++ with a compare plugin is VERY handy, IMO. :)

Pardon me while I show it off a bit. Ignore my bad choice of colors, it's fully customizable (syntax highlighting and compare plugin highlighting)

Example 1 (matching files, each using different zoom/word-wrap)

Example 2 (double bar on far right is a SCROLL BAR, with highlighted rows in the file. Red lines on left were replaced by green lines on the right, blank lines were retrofitted to left document to maintain 1:1 line in both documents, and the yellow line exists in both but only the difference is highlighted in periwinkle purple lol.)

I really like that scroll bar (scrolls both at once, shows highlights), and the line you're on is always shown in both (in Ex#2: left side active at line 222, and darkened on the inactive right side.

There a more elegant way of doing this (complete directory tree, recursive, with/without permissions and contents checked for differences, etc) but I'm about brain dead at the moment (I'm thinking GIT repos for some reason).

Need to go choke on turkey all weekend :P
[Samsung Galaxy Note 8 Questions and Answers] Kamikaze_Ice:
What the hell are you doing AT&T, no encrypted *.xml files in your firmware! :victory: :victory: :victory: :victory: :victory:

I don't know why I didn't see this a month ago, I've been playing with these files every weekend... :eek:

HERE is a link to the CSC files straight from the N950U1 CSC firmware. The directory structure is a little different, so I don't think you should flash this as is.

Here is what CSC's are included, and not a single one has encrypted xml files. Added emphasis (bold) just to make these carriers stand out.

ACG

AIO

ATT

BST

CCT

GCF

LRA

SPR

TFN

TMB

TMK

USC

VMU

VZW

XAA

XAS

I'm going to cross post this in another thread for relevance.

[MENTION=4375750]Kalm_Traveler[/MENTION]

I know you're probably tired of messing with your phone at this point, but.... can you resist the temptation of new files? lol

---

Did you ever get your Bixby Vision working proper? If not, I think I found something for you.

There is a section in cscfeatures.xml just for Bixby Vision, and one is set to Amazon (AMZUS). No clue what the others are for, though.

Here is how it looks for TMB's cscfeatures.xml.

<CscFeature_Vision_ConfigImageSearch>PTRXX</CscFeature_Vision_ConfigImageSearch>
<CscFeature_Vision_ConfigPlace>FSRXX</CscFeature_Vision_ConfigPlace>
<CscFeature_Vision_ConfigPlaceUnit>FETXX</CscFeature_Vision_ConfigPlaceUnit>
<CscFeature_Vision_ConfigShopping>AMZUS</CscFeature_Vision_ConfigShopping>
<CscFeature_Vision_ConfigTextTranslator>GGLXX</CscFeature_Vision_ConfigTextTranslator>
<CscFeature_Vision_ConfigWine>VVNXX</CscFeature_Vision_ConfigWine>

There is another file related related to Amazon in that zip, "amzn.mshop.properties" (\system\csc\TMB\system\etc\)

But since other carriers don't have it I don't have a clue what it's purpose, but unlikely for Bixby Vision.

If you were to use it I think it should be placed, on your phone, at \system\omc\TMB\etc\

Contents of amzn.mshop.properties:

OEMtag=15636cfe1df46fb3848895cf23fab24d5a2b229e9a905a4514910975adceafd6123557cfc23cf66c2675225a02c79e0a257a3de33c1d8c64a7e861ba704b3242175b4c3d5c882c48efb09676be9246e03f1c31ab56e653b266fb9315cc6bf26a14559264645bbcf42c84bc8dce9862be0fbb8bf2be6723d05f7e6646181030684d005a1f17de5bbc3b8717df02095d97dcc79cad4c78db630b57e39ee253ad0193d4ddec56cb5d8337432f82f8b218e447271ae961bbc5f9e60839fe993fa1652a4d457344715734617f1f04bf3b32c5d88e4438b4c1cd9d3a098b5e819dbc56363b3a7b9c38e8d59cb231a813128768a639dcb7042c5a2d98a2701909d83bc0
override=false
partnerName=T-Mobile
[Samsung Galaxy Note 8 Questions and Answers] jooniloh:
Yeah, my bixby vision shopping works now through amazon like it should.. Kalm found that features line a couple pages back. But, I'm really curious about the other lines now. PTRXX is pinterest, as all image search results come from there. GGLXX is google since translate uses google translate. And VVNXX is vivino for the wine results. But I have no idea what FSRXX and FETXX are off the top of my head. I also wonder if any of these can be changed, and also what these actually do in the back end. Obviously you couldn't just put any 5-character string in and expect it to work with some service, so where's the list that these codes then reference to determine Bixby Vision's behavior? What other codes are there? Also curious as to whether it'd be possible to change that PTRXX to GGLXX and make image search go through google instead of pinterest (I'm really not sure why that was done by samsung. Can't think of anyone I know who would use pinterest for image searches over google.).

EDIT:

IDK if this is useful to anyone, but I did a google search for some of those 5 character codes and it returned a bunch of cscfeatures files from different regions hosted on renovate ice's site. (https://www.google.com/search?q=GGL...rome..69i57.7295j0j7&sourceid=chrome&ie=UTF-8) Interestingly they all have NLLXX for shopping. The files for singapore and the philippines have way more lines than any of the others too.

---------- Post added at 08:40 ---------- Previous post was at 08:23 ----------

Looks like the UK has AMZUK http://www.renovate-ice.com/svn/renovate-dream/trunk/system/omc/single/BTU/cscfeature.xml

http://www.renovate-ice.com/svn/renovate-dream/trunk/system/omc is a huge resource as far as CSC related stuff goes.

---------- Post added at 08:43 ---------- Previous post was at 08:41 ----------

brazil has this file that no one else has: http://www.renovate-ice.com/svn/renovate-dream/trunk/system/omc/ZTO/cp.xml

EDIT: looks like a few other countries have that file, but not all.
[Samsung Galaxy Note 8 Questions and Answers] epv:
Random data point for you... I have a dual-SIM phone (TMB and ATT) and when epdg gets stuck in the "Enabling" state, the one thing that always makes it reconnect is swapping which SIM is used for data...

I'm on an s7 935FD so its not exactly the same as you guys have but I stumbled across this thread and thought it might be useful. Most of the CSC settings are still present, but in different places in the filesystem. I only have TMB CSC installed so no wifi calling on AT&T ever, but when data sim is set to the TMB sim, it will do wfc most of the time, and when it gets stuck "enabling", switching data to ATT sim and back to TMB sim fixes it.

would be nice if it weren't all so tweaky....
[Samsung Galaxy Note 8 Questions and Answers] louforgiveno:
Thanks for info, however I'm on a tmobile note 8 snapdragon....

My initial venture was to simply be able to get Caller ID spam protection to work....I've since got that ironed out....been adding other small features too as of late...for me at least the csc is solved.

Thanks for everyone who participated.
[Samsung Galaxy Note 8 Questions and Answers] wtharden:
Hey what line allowed you to have the signal bars change and the data toggle on the power off screen?
[Samsung Galaxy Note 8 Questions and Answers] iraqgsm:
you know I think you are on the money, couple days ago had terrible speeds on ATT with RENOVATE and your CSC file, then did a factory reset from TWRP and flashed same files RENOVATE rom and your file again and it boosted the speed like 5 times.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
I didn't get around to trying a factory reset yet but I was going to try looking at a Logcat for some info, so I fired up a logcat monitoring app, and as soon as I enabled the wifi...

It appears I finally got it working on a mostly 950N base.

Thing is I don't know why it didn't work right after I flashed the files, and I also don't know which of what I replaced did the trick. The total zip size jumped up to about 130mb though, and I'm sure if someone flashed it and did a data wipe reset it would just work immediately... Time to do some test calls to make sure that icon isn't just messing with me. The logcat has a ton of errors as soon as I enabled wifi but they don't tell me anything useful.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Yep test call worked great. I finally got it working guys! I'll post up the new zip! Though like I said I'm not sure which of the additions / replacements did the trick so it's possible some of it could be removed to save space but I figure a 120mb patch to enable all the features of a T-Mobile phone is not too big as is.
[Samsung Galaxy Note 8 Questions and Answers] iraqgsm:
Great news, whenever you have time will really appreciate an ATT one thank you
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
First confirmed working version of N950N patch to enable T-Mobile wifi calling

Download Link

I will clean it up a bit later this week once I can figure out which additions/swapped files finally got it to work, and also to see about adding AT&T support (if they need any special files added) so it will end up being a USA GSM VoLTE + Wifi Calling patch. The old version in the Mods section will already do the trick for 950F ROMs, but this does it for N950N models.

*EDIT*

In case anyone was wondering what has been added/changed since the N950F patch...

first additions were:

/system/app/ESEServiceAgent

/system/app/FBManager_NS

/system/app/vsimservice

/system/bin/eris

/system/etc/epdg_apns_conf.xml

/system/etc/eris.conf

/system/etc/ipsecdebug_filter.txt

/system/etc/mapconprovider.xml

/system/lib64/liberis_charon.so

/system/lib64/liberis_simaka.so

/system/lib64/liberis_strongswan.so

and tonight's patch added:

/system/priv-app/FBServices

as well as replaced:

/system/app/bootagent

/system/app/ImsSettings

/system/priv-app/imsservice

/system/priv-app/ImsTelephonyService

/system/priv-app/SamsungInCallUI

/system/priv-app/SecSettings2

/system/priv-app/SecSettingsProvider2

/system/priv-app/SecTelephonyProvider_Epic

/system/priv-app/SettingsReceiver

/system/priv-app/Shell

/system/priv-app/Telecom

/system/priv-app/TeleService

all from an N950F, because they were substantially larger than the N950N versions (comparing deodexed versions of each)

and replaced the contents of /system/etc/wifi/ with that from a T-Mobile N950U since it was a bunch of wifi settings for the wifi chip, and I noticed that several settings were different between the 950N, 950F, and 950U being for different regions. I figured the American settings at least wouldn't hurt the chances of getting Wifi Calling to connect.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Don't worry I will get AT&T added this week, though I think you will still need to call them and have them provision your IMEI for VoLTE and wifi calling - many threads have said as much.
[Samsung Galaxy Note 8 Questions and Answers] xxx42069:
Nice job! How's your reception and data speeds now?
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Still similar, but since nandroid flashing a backup of my EFS partition it doesn't drop anymore. I'm thinking maybe T-Mobile needs to put my IMEI in their system to provision properly.

Reception is a mystery because the Exynos Note 8 is very much the same hardware as my Note 5, just newer better versions of everything so I would expect it to be at least as good in every way, but on the Note 5 when I look at its LTE connection, the frequency shows a range instead of a fixed value, and it also looks to be doing carrier aggregation (combines several channels for more bandwidth) where I don't see that going on with the Note 8, even though it is enabled.
[Samsung Galaxy Note 8 Questions and Answers] xxx42069:
Yeah man hit up t-mobile and give them your imei for proper provisioning. I did that to test it out and it works wonders. My speeds quadrupled after doing so! Keep in mind it takes around 2 hours for the provision to fully take place on their network. I tested speeds before and after.

Before: 15 down/11 up

After: 59 down/36 up

Amazing!

Reception remains a mystery. Still piss poor but again I'm in a remote area known for lousy data and reception so it could be just that.
[Samsung Galaxy Note 8 Questions and Answers] LouK:
Thanks [MENTION=4375750]Kalm_Traveler[/MENTION].

Should be getting my Note 8 Tuesday so would be willing to test AT&T csc . And wouldn't have to delete any data .