yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Note 8 Questions and Answers] Kamikaze_Ice:
Take a screenshot of the screen with your phone and use the power of Bixby to transcribe it for you.

It works pretty damn well for transcribing warranty deeds for the recorder's office here in town. They will actually allow this for non-critical work (like submitting descriptions for GIS databases to be roughly mapped out) after I demonstrated it on a few deeds they wanted me to go back to the office and email them a word doc so they could be lazy and copy and paste...

I'm just thinking out loud here (another stupid idea I had :cyclops:).

You've probably already seen my file structure comparison between the N950N firmware and the N950U1 firmware for AT&T in the other thread.

Is this true for T-mobile firmware?

My train of thought: Perhaps some of the carrier files (the other encrypted ones) might be looking in these locations before looking elsewhere (if at all). This could

potentially

create issues if Samsung still want's to treat 3rd party development like they did during the superbrick fiasco. I'm assuming this is not true.

Even so, what came to mind was potential initialization problems directly after booting up query not returning "path not found" and waits until timeout happens before checking other locations. (This could explain why my WiFi calling needs to be turned off and back on again after every boot, which I only do when I want to test something or change roms/kernel/etc).

Now that I think about it, perhaps permissions that change during boot and released once in the OS (like the bootloader granting exclusive permission to hypervisor to prevent injections when device creates new or loads old internal backups of "last known good" sequences.)

I do remember having /CSC instead of /OMC folders while playing around with your CSC v5 pack, and it probably happened AROUND THEN (DPI difference is why I could even remember it).

---------- Post added at 08:02 PM ---------- Previous post was at 07:42 PM ----------

Sorry forgot to add to previous post and didn't want to edit it to keep it separate from my stupid ideas.

Here is something I've been wanting to try (no time for a few weeks to play around).

What happens if you use another carrier's file (renamed to TMB_keystrings.dat)?

What happens if you delete (or dummy) the keystrings file after a complete and clean return to stock firmware before fully booting up and starting the device initialization?

For some reason I keep thinking that this file is for dialer codes, since I could never access *#*#4636#*#* without my carrier's CSC.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
That's a really good idea with Bixby - I actually don't know how to use it yet lol....

AFAIK all the 950U's have the same firmware, it's just which CSC is set that determines which one is loaded. IE, the T-Mobile one I downloaded contains all the CSCs for the USA providers, not only T-Mobile. On that note, the other part of the puzzle that I had not yet figured out (perhaps I have now) was that my older CSC pack worked 100% fine on the 950F ROMs, but using the newer versions on N ROMs even with the F boot image that you get from the current custom kernels didn't ever work quite as intended (icon disappeared, randomly would show up again, had to reboot to get WFC to connect).

As far as the keystrings file, I haven't played around with it too much but it seems from other threads on here that it has something to do with features/functions on the phone that are carrier specific, similar to the CSC features xml files. I finally got caught up with school so tomorrow i will start playing around with the CSC mod again and see what I can come up with.

still need to get boot image flashing to work though since I'm positive that we need that init.rilepdg.rc file in the RAMdisk for wifi calling to load properly.

----

EDIT: about the CSC folder VS OMC/carriercsc I believe that the CSC folder was used only on single-CSC devices, but all the Note 8 variants I've seen use multi-CSCs which are switched using that OMC setup (there is even an OMC app).

My Note 5 has the CSC folder and it directly contains what would be under /system/omc/TMB/ on the Note 8, but also some of the other files and folders that are within omc/TMB on the newer devices are directly in /system/ on the Note 5 like the hand writing DB folder, CSCversion.txt and so on
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
I'll flash the stock 950U CSC later today and type it out so we have it's settings as well, since so far the only CSC packs have been based on S8 or S8+ features.

....and I will try to swap out the TMB_keystrings.dat with the one from my Note 5 since I'm pretty sure that contains whatever causes poor LTE in my older zips.
[Samsung Galaxy Note 8 Questions and Answers] masri1987:
the anticipation is killin me lol
[Samsung Galaxy Note 8 Questions and Answers] jooniloh:
Well the issue isn't only that I lost bixby shopping, it's that it wasn't replaced with the US version. Remember Vision's shopping tool is region specific. Here in the US it should be pulling up Amazon results. The korean model by default uses some korean shopping site that's useless here. The ideal fix would be not only that bixby shopping isn't lost, but also set to the proper regional settings.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Yes exactly - the SKT CSC features (very nearly at the end of that list I typed up by hand) have Vision settings for the shopping function. The TMB CSC zips I made using TEKHD's S8 pack's others.xml does not contain any Vision (Bixby) settings, which is why the feature was not replaced.

When I flash the stock USA T-Mobile Note 8 CSC, I will be able to see what that setting needs to be for Amazon or whatever we get in the USA should be and add that in to the next (hopefully final) update of my mod.

This is the setting from SKT CSC: Vision Configure Shopping - SPYKR

In a features xml file it would be <CscFeature_Vision_Config_Shopping>SPYKR</CscFeature_Vision_Config_Shopping> if I'm understanding this list correctly.

*EDIT*

Scratch that, it is in the CSC multitool's TMB CSC:

<CscFeature_Vision_ConfigShopping>AMZUS</CscFeature_Vision_ConfigShopping>
[Samsung Galaxy Note 8 Questions and Answers] jooniloh:
sweeeeeet. do you have an ETA (yeah yeah I know. nothing concrete, just trying to get a time frame on when to check back as I don't get on here too often in the days leading up to full on taxmania in the office) on your final patch? eager to get everything up and running. Would I be able to throw it on top of whatever wacky thing I have now (still don't know what's with that BTU CSC I currently have...)?
[Samsung Galaxy Note 8 Questions and Answers] masri1987:
i'm also available for testing
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Yes, if everything is as expected I should have it ready to test tomorrow. The CSC (and signal strength) stuff I am about 95% sure will be perfect and should only take me an hour or two to nail down, but the two iffy parts are getting the boot.img RAMdisk mod to work, and then back to the whole Wifi Calling debacle. Since all our testing was essentially using the 950F boot.img (as those custom kernels are built on the F) I would have expected the patch to work just the same as on a full 950F ROM but of course it isn't yet, at least with the 950U-based patches.

Tentative plan is to flash the stock N950U T-Mobile CSC so that I can see what's in it, type that all up, compare it to the S8 CSC in the giant CSC Selection tool and make tweaks as needed so that we have everything that we should have, in nice readable plain text. I don't think that the others.xml I was using from TEKHD's s8+ pack has many unique extras but a quick file compare will find them so they can be added to the new patch. Then, I will swap out the TMB_keystrings.dat and hope that does the trick. I guess on the other hand we could try renaming the Korean one since it obviously doesn't provide crappy LTE. Options!

On a funny note, I decompiled the OmcAgent.apk to try and figure out what kind of witchcraft Samsung is using on the cscfeature.xml and cscfeature_network.xml files on the Note 8 to make them all jumbly bumbly nonsense, and it seems they are using some combination of AES and/or RSA 256-bit encryption. Fortunately, even without being able to directly decrypt them with the necessary keys, simply flashing the stock CSC is enough for their contents to become accessible to the CSC Features app, though that means I have to spend 30 mins manually typing all the contents....
[Samsung Galaxy Note 8 Questions and Answers] Kamikaze_Ice:
The primary file needed for getting decryption keys (or salts) is that "keymaster" file mentioned in the init.rc. This is going to provide half of what's needed (the rest is likely built by the device and based on this file and stored securely much like the Knox stuff is).

Still, that keymaster file has A LOT of useful info in it for anyone who wants to start decrypting files and getting deep into the system (major hint for Snapdragon root access).

And to use Bixby to transcribe it for you:

Open Camera, tap on "Bixby Vision". (Log in to Samsung account and/or update Bixby Vision if needed)

Once open, point camera at other screen (PC monitor?) and Bixby should show you some green button options, hit the TEXT button.

***Hitting this button will take a picture***

Then you can drag a box around to what you want Bixby to focus on, then you can hit the extract button and the text in the box will become transcribed for easy copy/paste.

It's my most used feature (tied with air hover translating for anime/games lol)
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Also on a funny note, flashing only the T-Mobile CSC (the omc folder contents and changing the EFS files to TMB) I get an infinite force close of the Phone app. Flashed back to SKC while I go through that to make sure we're not missing anything that we should have, and I am going to probably use the xml files from the S8+ as a base rather than the very altered state that TEKHD's patch uses with everything crammed into the others.xml file instead.

*EDIT*

I got both the SKC and TMB CSCs sorted alphabetically for easier comparison after doing a file contents compare and they really are super different in what they enable/disable and set various things to - looks like only about 10% of the feature lines are the same. Now to compare this to the S8+ from that big CSC multi tool...
[Samsung Galaxy Note 8 Questions and Answers] bober10113:
Hello. I also have been playing around with csc. Been trying to get rogers csc RWC to stick using renovaice rom. On a n950n phone.

In all my tests, volte and wifi calling seem to be settings in files:

Customer.xml

CsC_keystring.dat and the pointer file salescode.dat

If a T mobile has all the features you guys are missing then there is no reason why manualy copying the omc files and setting the right permissions wont work.

The only thing that needs to be done when doing the procedure manualy is to get the base product code and original CSC code to switch to your carrier.

To do that you need to use a third party app like phone info or some other dial code that starts with *#...

When you change to the Desired CSC, phone will reboot and try to wipe itself on the 2nd reboot.( some may want to avoid that) I simply interrupt the procedure once i see it is about to restart by going into download mode. So for the next 2 reboots to be safe, i just hold the vol down bixby and power and restart. Why i say its the 2nd reboot is because on 1st all looks fine but if you look at status bar ull see android upgrading message and will reboot and wipe at any time now so once you see it shutdown go to dl mode to skip the wipe.

After that your original,base,active csc will all match up.

I have tryed csc util pack but they are all made for s8,s and are no good. They put way more files than needed and basically brand your fone as a g95xx .

Also when all done you might want to clean your omc folder of all unused csc's. I keep my provider csc(RWC)and the region default base(XAC) too. Plus keep sipdb and hwrdb folders.

hope this helps others to manualy play around with there csc and figure things out.

One thing now that i am missing on canadian csc is that they remove tiles from quick settings.( carriers have been doing that for a while now).

The best 'hybrid' solution to get wificalling and the hotspot/data tiles back was to acctualy flash the tmobile csc pack and then edit customer.xml to add my apn carrier( basicaly copied tmobile defaut section added it righ underneath then looked and a note8 rogers file and filled in the info and ended up with more quicktiles and wificalling. Its a dirty way of doing things and was acctualy the first way i manged to get my csc features working without the damned wipe but in the end i went the clean way described earlyer and figured how to skip wipe.
[Samsung Galaxy Note 8 Questions and Answers] Drzhivagolikesandroid:
To add mobile data tile-

It involves modifying the
[Samsung Galaxy Note 8 Questions and Answers] bober10113:
On the s7 i was able to but now:

https://xdaforums.com/attachment.php?attachmentid=4330502&stc=1&d=1510504067
[Samsung Galaxy Note 8 Questions and Answers] Drzhivagolikesandroid:
After flashing this csc my video call isn't working.

Wasn't working ever.

However wifi calling works for me.

Some have suggested that enabling wifi calling enables video calling. I have tried that.

I have enabled all the features in the IMS settings using shortcut master.

None of this works.

---------- Post added at 05:31 PM ---------- Previous post was at 05:30 PM ----------

But am really happy that someone is working hard to bring this to us.

Thanks.
[Samsung Galaxy Note 8 Questions and Answers] bober10113:
Yeah this thread has helped me alot. Thx kalm_traveler( ff vii rocks)
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
You're mostly right - there are a few caveats we're dealing with for T-Mobile though.

Already out of the box, the main 'extra' features such as VoLTE and video calling are already accessible without fiddling with the CSC by manually launching the IMS Settings app and enabling everything there (the network provides the necessary IMS profile info for enabling these features). However, T-Mobile Wifi Calling requires additional framework support and apps that are entirely absent on both the N950N as well as the European model N950F. The F variant, however, has a few of these components in place that the N variant does not have so adding T-Mobile's wifi calling to the F variant requires fewer additional files.

You are correct that the CSC files (generally cscfeature.xml and cscfeature_network.xml) contain the flags for enabling/configuring various features like VoLTE, wifi calling, quick settings tiles, etc.

sales_code.dat is only a plain text of 3 letters for whichever CSC should be loaded. On the multi-CSC devices like ours, this is located in the /system/omc/ folder and helps the phone know which specific carrier's CSC to use based on the corresponding 3 letter value in the EFS partition's mps_code.dat and omcnw_code.dat files.

I may be mistaken about the keystrings.dat files but I believe they contain settings relating to various functions of the phone as well, but as they are not in plain text I can't tell what specifically they do. However, given our testing so far I think it's a safe bet that one of the functions inside the keystrings file has to do with carrier aggregation for the modem since using the 950U T-Mobile version on our 950N's was giving garbage LTE signal and data speeds, but using the S8+ version in that CSC multi tool did not.

Also - by manually flashing the desired CSC (which is required for any that are not available on the device with any factory firmware) eliminates the issue of the phone wanting to factory reset from 'changing' the CSC.

FF7 for life. :good:
[Samsung Galaxy Note 8 Questions and Answers] Techvir:
Thanks for the detailed post. I am with Rogers too and using Sm-950F. I would love to try what you are doing. Unfortunately, I am jailed when I tried to flash stock ROM.

When you say change CSC , did you do it with a dialer code or by flashing ?
[Samsung Galaxy Note 8 Questions and Answers] bober10113:
i manually took the files from a n950w8 firmware and copied them over to system/omc. got rid of useless csc,s then went and set 0755 permission on omc incl child files/folders with root explorer.

instead of using dialer code i used phone info app . watchout for wipe/reset
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
I'm not sure it matters, but the folders should be 755 and files 644 per stock permissions.

-------

Anywho, I should have a new CSC patch version in a few hours - just manually comparing the S8+ and N950U T-Mobile TMB CSC features to make sure anything in the Note8 is also in the S8+ that I'll be using for today's zip. I don't know if I'll have time to figure out how to modify the boot.img yet (though I'm sure it's easy if you know how to do it already) so this would require one of the custom kernels for wifi calling I believe.
[Samsung Galaxy Note 8 Questions and Answers] bober10113:
if i dont apply sales code via dialer or 3rd party app i would get:

TMO(insert what ever csc code base rom was on here/RWC/LUC

after applying sales code i get

RWC/RWC/LUC

LUC is the 'burnt in' carrier code that i do know is impossible to change.

https://xdaforums.com/attachment.php?attachmentid=4330728&stc=1&d=1510520859
[Samsung Galaxy Note 8 Questions and Answers] Techvir:
Can you share the files that you extracted please.

I have to wait for a few more days to get out of jail to root the device and do anything but at least I will have the files I need.
[Samsung Galaxy Note 8 Questions and Answers] Drzhivagolikesandroid:
May be you need to use compatible app to open it. I used solid explorer.
[Samsung Galaxy Note 8 Questions and Answers] bober10113:
ill try but i doubt it will change anything.

---------- Post added at 09:33 PM ---------- Previous post was at 09:32 PM ----------

im not home but yes i can later tonight or tomorrow.
[Samsung Galaxy Note 8 Questions and Answers] Techvir:
Awesome. Thanks
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Have you tried changing EFS/IMEI/replace_code.dat to something other than LUC? As far as I know that is where that 3rd code is read from, and the file definitely can be changed - I am going to give it a whirl on my new patch version tonight (assuming that the T-Mobile Note8 is TMB/TMB/TMB - do any of you have a friend with the 950U Tmobile version who can confirm?)
[Samsung Galaxy Note 8 Questions and Answers] bober10113:
will give it a go for sure! thanks

nope still on LUC
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Yeah I tried it as well just now with tonight's T-Mobile zip - no dice here either.

need to go get some dinner but I will have a bit more time tonight and already have some good news: swapping out the TMB_keystrings.dat seems to have indeed been the solution for poor LTE performance in my earlier patches.

[MENTION=6170708]jooniloh[/MENTION] [MENTION=2694397]masri1987[/MENTION] you guys up for testing tonight? I am not getting Wifi Calling to connect (just the usual stuck on Enabling) but I also haven't figured out how to add the init.rilepdg.rc into the boot.img, and if you're using any of the custom kernels they already have it set up properly. LTE is working just fine though, and I still want to try swapping in the Note 5's TMB_keystrings.dat to see if it is better than this S8+ file.
[Samsung Galaxy Note 8 Questions and Answers] masri1987:
i'm free all night sir
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
great, I am just grabbing some dinner now and will have a zip uploaded after that - at the very least it will fix the garbage LTE from previous versions. I would like to get Wifi Calling 100% working as normal tonight though if possible.
[Samsung Galaxy Note 8 Questions and Answers] masri1987:
lmk, i'm charged backed up and ready.
[Samsung Galaxy Note 8 Questions and Answers] bober10113:
https://1drv.ms/u/s!AhXVLDDj8g3AgcVJdVBQs4AOL7mF0Q

Although Volte and wifi calling are present, rogers are backlisting non rogers imei codes:

https://us.community.samsung.com/t5...-VoLTE-on-Rogers-in-Canada/td-p/114663/page/2

earlier i might have hinted to having both features but wifi calls dont work because of the black list. when i try to activate it pops up a browser page where you enter phone number to receive a code via text. probably how they are doing the imei vs phone account number lookup against their database and site says phone not admissible.

i called support and they said since my phone is not carrier bought they couldint help. They even said to call samsung instead which is total BS. ive red also on Rogers forums that they blacklist imei codes. apparently this is agasint CRTC rulings in canada. i will try to call them back and quote that they are blacklisting phones.

which brings me to this question:

maybe you Tmobile guys are also being black listed?
[Samsung Galaxy Note 8 Questions and Answers] jooniloh:
I should be intermittently available tonight. Does anyone know what this BTU CSC that I have is???? i haven't been able to figure out what region it's for even, much less how I ended up with it...
[Samsung Galaxy Note 8 Questions and Answers] jooniloh:
This
[Samsung Galaxy Note 8 Questions and Answers] Techvir:
It's UK generic version
[Samsung Galaxy Note 8 Questions and Answers] jooniloh:
How on earth did I get that as a firmware csc on my n950n??? Only csc related things I've flashed are Kalm's tmo and skc zips
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
[MENTION=6170708]jooniloh[/MENTION] [MENTION=2694397]masri1987[/MENTION] ok try this, I am running it on top of completely stock SK Telecom N950N everything : Kalm's TMo Pack version 7a

LTE is working great, everything besides wifi calling (it's still sitting on Enabling forever). I put the init.rilepdg.rc into /system/etc/init and that is 'working' sort of, it created the eris folder but still no connecting.

Let me know if it's fine for you guys as well, and if you're on a custom kernel let me know if wifi calling connects. The only reason it's so big is a bunch of useless carrier apps for other carriers in /system/carrier/ just because I was trying to match the CSC Tool as much as possible to see if that helped. I don't think it made any difference so I'll delete all the non-TMO and AT&T files for the next version which will bring it back down to about 45mb.
[Samsung Galaxy Note 8 Questions and Answers] bober10113:
n950n phones are korean.

they should ship with one of the following carrier firmwares:

KTC

LUC

SKC

go to dl mode and look at CARRIER(should be one of those 3)

device shluld also be N950N

( your dl mode should all be korea if its a n950n press vol up to get to dl screen)

if non of the above is true then you dont have a korean note 8.

---------- Post added at 04:47 AM ---------- Previous post was at 04:34 AM ----------

edit:

the CSC utils are trash on note 8. they kind of work but are for s8(tkkg1994). then I tryed DR.keten's csc pack but same problem

its all galaxy s8 stuff anyways he has in there and is passing it as note 8. different script but same contents as csc util.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Actually this one uses the OMC structure, and at least his XAA multi-CSC (which contains TMB) is from the S8+ so it is the newer OMC type.

Since I manually typed up the N950U T-Mobile CSC features, I was able to go through the S8+ and make a few minor tweaks so that it was identical, then used that as the new base for the feature files. I also used it's TMB_keystrings.dat since the Note8 one screws up LTE signal strength on the N950N and N950F, however my latest patch is using a Note 5's TMB_keystrings.dat as I wanted to see if it would work 'better' since it is also an Exynos device. I can't tell a difference to be honest (between the Note 5 and S8+ keystring files).