yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Note 8 Questions and Answers] Drzhivagolikesandroid:
Hi

I flashed this zip on my s8 exynos.

I didn't wipe cache and dalvic cache and I got error "com.sec.epdg has stopped"

I had to factory reset ?

---------- Post added at 04:55 AM ---------- Previous post was at 04:53 AM ----------

Did I have to Odin flash?

Because I TWRP flashed.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Exactly which model of S8 do you have? And were you running any custom ROM?

In theory this should work the same on an S8 as far as I can tell but I don't have one to test.
[Samsung Galaxy Note 8 Questions and Answers] shiftr182:
I tried it on mine the other day just out of curiosity, ran into the same problem. I was running Batman 1.5.0 on sm-g955f. It would boot, but non stop epdg errors.
[Samsung Galaxy Note 8 Questions and Answers] Drzhivagolikesandroid:
It 950F from Panama.

I'm on renovate ice 7.2 based on nougat 7.0.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
G950F for the S8, is that right?

I believe [MENTION=2694397]masri1987[/MENTION] tested this on Renovate as well on his N950N Note 8 and it worked properly, so I am not really sure why it wouldn't work on an S8 variant.

Now that I am home I am going to dig in and tweak things so it is perfect. I will grab an S8 ROM and see if I can notice anything obvious that would be incompatible.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Thanks - I will take a look at that ROM to see why it would error like that.

If EPDG was erroring, probably means an incompatible version of EPDG so the data for that app will need to be erased. I will figure out the path for this and add it into the script.

That would only affect F variants since they already come with the EPDG service, but the N's do not.
[Samsung Galaxy Note 8 Questions and Answers] shiftr182:
Would it be possible for us (955F guys) to take the EPDG apk out of the zip, since its already included in our ROM?
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
yes, you'd want to remove /system/app/EpdgService and /system/framework/EpdgManager.jar most likely.

Now that you mention it, the F variants also already have /system/app/vsimservice and it's corresponding vsimmanager.jar as well so you might want to remove those as well.

I will revise the patch script to delete the data for these so that you don't need to manually do anything for F variants moving forward.
[Samsung Galaxy Note 8 Questions and Answers] Adel_2:
I flashed N Stock Rom but cannot get passed Samsung Logo to boot

here are the steps I did about 3 times to make sure but no go.

November's 950N firmware Odin flashed /Reboot and setup

Odin flashed TWRP/ wiped data

TWRP flashed no verity/encryption patch

TWRP flashed Magisk (also skipped in another try)

TWRP flashed the 9L patch

Reboot

Stuck flashing Samsung

Any ideas?
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Can you redo it from Odin flashing the full stock firmware, then TWRP format Data, twrp flash No Verity patch, flash a custom kernel (I use IronMan kernel), then let it finish booting up?

I'm wondering if the Samsung logo issue a couple of you saw is related to the stock N kernel.
[Samsung Galaxy Note 8 Questions and Answers] masri1987:
yeah worked on renovate 2.3 for N8 and their r119 build , i'm on weta now and it's still working
[Samsung Galaxy Note 8 Questions and Answers] Adel_2:
It worked fine with other custom Roms. I will try the above with the N stock.

Does it matter if I don't reboot and setup after Odin? or Inintial reboot to setup is required before flashing TWRP etc?
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
The exact steps I took were in order:

Odin flash full N950N firmware

Odin flash TWRP

TWRP format data

TWRP flash No Verity fix

TWRP flash IronMan kernel (which is 950F based)

TWRP flash SuperSU

full bootup + set up

TWRP flash T-Mobile patch, wipe cache + dalvik cache

I have not done anything else or any other changes manually.
[Samsung Galaxy Note 8 Questions and Answers] Adel_2:
Ok, I flashed as directed above

Odin: N stock / Rebooted and setup fine

Odin: TWRP

TWRP No verity / Format data

TWRP Iron Kernel

Reboot ( successful) Setup again

But after the folowing

TWRP flash 9L patch / wipe data cach

Samsung Logo flushing ( No Boot)

Even redid all the above steps in one sequence before reboot but seems that L9 patch does break it for N stock not for custom ROMs.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Thank you - I am going to take a full TWRP backup tonight before Odin flashing the new December N950N update and testing this further.

I am half curious to see if you can flash 9J as that was confirmed fine on stock N950N, but didn't enable the Wifi Calling since the DMB stuff was not removed by it's script. The only thing I changed between J and L though was deleting the DMB files so it's a bit odd that it would get stuck booting.

When it sits on the Samsung logo - is the blue notification LED still on? and how long were you waiting? I believe that it can take 5 minutes or so after wiping data like this.
[Samsung Galaxy Note 8 Questions and Answers] Drzhivagolikesandroid:
Can i flash this zip on oreo?
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
It might work but I wouldn't count on it since all the apps, binaries, java libraries etc are for 7.1.1 Nougat

If you try it please let me know if it works or not.

We should be getting Note 8 Oreo pretty soon anyway, so I will have to update the patch with those newer files once all the firmware versions have been released.
[Samsung Galaxy Note 8 Questions and Answers] Adel_2:
Post #642 has the link for 9j but the file has been removed.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
ah yes I forgot, I deleted it when I put 9L up because I was "sure" it was a final major step. Please stand by, I will re-upload it.

ok here is a re-upload of 9J: https://mega.nz/#!wuRGEKhZ!SKS5-qJb8Hu_nITSxXb6ne_6nnipiJcNtm5bnlfyyjA
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
just downloaded and extracted N950NKSU2BQL4 firmware, and I am looking at the version 9L zip now to see what would be causing it not to boot.
[Samsung Galaxy Note 8 Questions and Answers] Adel_2:
Applying 9j after doesn't trigger the no reboot, it boots fine in 2 minutes but it won't enable Wifi calling.

9L causes no reboot and get stuck on logo with blue light, the longest I left it was 20 min with blue light.

But I applied 9L to several custom Roma and it works great, the issue is caused only with N stock.
[Samsung Galaxy Note 8 Questions and Answers] Adel_2:
Can anyone assist me on how to check the active LTE bands? I applied 9L patch and want to access the menu that shows the bands but doesn't seem to get the right service mode?
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
do you mean the carrier aggregation combo list?
[Samsung Galaxy Note 8 Questions and Answers] Adel_2:
Correct, sorry I didn't know what it was called.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
27663368378

ETC

Common

Information

Band
[Samsung Galaxy Note 8 Questions and Answers] Adel_2:
Thank you very much

I am in a custom Rom when I try the code

*#27663368378#

I get this error in the attachment below
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
I use Shortcut Master lite, within it go to secret code explorer
[Samsung Galaxy Note 8 Questions and Answers] Adel_2:
Thank you very much that worked.

I got 12 as in the picture. Is that what is suppose to be?
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
I think those are the correct combos for T-Mobile. Mine defaulted to some weird combos of bands 1, 3, and 5
[Samsung Galaxy Note 8 Questions and Answers] Adel_2:
Thank you for the clarification.

The bands you mentioned are the one on the top of the list here, right?
[Samsung Galaxy Note 8 Questions and Answers] Sn0wR@pt0r:
Hey, KT...any luck yet regarding the bug working w/ this on stock “N” firmware?

Have you tried it with the prior stock firmware version?...in case it’s isolated to the latest firmware.

Just curious...as I finally got my T-Mo SIM activated (prepaid for testing) & still on stock everything (aside from TWRP & Magisk).

Thx!
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
It is working on mine now - but I am trying to figure out why adding the changes I am sure I did between version 9J and 9L aren't working with the zip. I flashed 9J, then manually deleted the DMB .jar file in /system/framework/ and cleared cache and dalvik cache in TWRP, and since then it has been working properly. The 'bug' as you put it was apparently something with the DMB system preventing EPDG from making it's connection (EPDG is a service that makes an IPSec VPN connection to T-Mobile, then tells the RIL to switch phone service over from LTE to WLAN, and vice versa when it loses the connection to T-Mobile over wifi). It would seem that by deleting the dmb service, this solved the final piece of the puzzle.

In the version 9L script I just added lines to delete all the DMB files, which may be the problem since I only deleted the jar file, not the .so libraries which I deleted in the revised script. I'm going to tweak the script this weekend (new semester started so I've been scrambling to stay caught up with 12 credits on top of a full time job) and test on the latest December 2017 N950N firmware to make sure it works from complete scratch.

I am still on the November firmware, with baseband BQJA
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
CA Combinations at the bottom. T-Mobile uses bands 2, 4, and 12 mostly so it makes sense that those would be what are used in the combos. I'm not sure where my phone is getting 1, 3, and 5 from... If I reset the NV Items in that service mode it will change to match what you have.
[Samsung Galaxy Note 8 Questions and Answers] Sn0wR@pt0r:
Hmm...that actually makes perfectly logical sense.

So, I guess we should look for an update either this weekend or come Monday then?

May I ask what tool you’re using to edit your scripts? Figured I might compare them over the weekend myself.

I’m still on Nov firmware also...looking to test this out once updated, then jump over to LightROM and test things a bit to compare.

Keep us posted & good luck with that busy schedule (but try to enjoy the weekend a lil bit, so you don’t burn out...eh? lol).

Thx!...TTYL
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Thanks!

Yes I'm going to test on Saturday so probably have a new version up Saturday night. Apparently 9J still/already works on the ROMs because they are all 950F based.

As far as script editing, I've just been using Gedit in a Ubuntu Linux VM. I make the zips in Linux because you can set the file permissions natively, where in Windows you can't because NTFS and FAT32 don't do the same kind of permissions structure. You could add script lines to change permissions after copying files over but that seemed like another point of possible failure so for me it just is easier to build the zip in Linux.

In windows though I use Notepad++ for any plain text editing because it color codes script elements which makes it visually very easy to see where everything is.
[Samsung Galaxy Note 8 Questions and Answers] klev2687:
Hi, this seems to be the thread ive been searching for, for so long. I have a N950F/DS, have a XSG (UAE) CSC. Im getting all UAE based promotions and notices on SPAY and probably even missing out more stuff from US. Im trying to get this setup for the US networks. I use ATT but is there a unlocked flash. I read thru to page 20 of the posts and then lost track. I was told that flashing a US ROM on Exynos with void SPAY on my device. Is that true? Anyone tested that?
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
You can't flash any USA ROM because the American models are Snapdragon.

Any flashing other than official N950F firmware through Odin will trip Knox which will make Samsung Pay never work on that device again.
[Samsung Galaxy Note 8 Questions and Answers] klev2687:
Thanks for the reply. Can get SPAY US by changing CSC or something?
[Samsung Galaxy Note 8 Questions and Answers] masri1987:
other can correct me if i'm wrong but you can't change CSC w\o root...
[Samsung Galaxy Note 8 Questions and Answers] Sn0wR@pt0r:
...and Root trips Knox, which in turn kills Samsung Pay.

My understanding is if you must have USA CSC and Samsung Pay both simultaneously...you have to get a USA Snapdragon version of Note 8.

Others are free to correct my understanding of this limitation, if I am mistaken.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
sort of... with the 950F because there are so many different countries and providers all using the same model, anyone with a 950F can Odin flash firmware for a different country/region/provider that is also 950F (this includes the official CSC's).

However, in the OP's case he is wanting to get AT&T's CSC loaded, and use Samsung Pay here in the USA.

There is no way to do both, since there are no N950F's sold by AT&T or any North American provider at all. He could root and TWRP flash an AT&T CSC but that would trip KNOX so Samsung Pay would never be usable on that phone again.

I have seen several posts on XDA here stating that if you Odin flash an Australian N950F firmware, Samsung Pay will accept American cards so you could do that and be able to at least 'use' Samsung Pay here, though as I understand it the rewards system won't work since it is Australian Samsung Pay.
[Samsung Galaxy Note 8 Questions and Answers] klev2687:
oh crap...well thanks for the reply. I got excited when i read the thread header. I can use SPAY in the US as is, but no rewards. Bummer
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
I was too busy to update my phone but I think I know why people had problems with 9L on some firmware. Vsimmanager.jar already exists on N firmware but my zip is overwriting it with one from F firmware, however mine has been deodexed and i didn't take that into account in the script.

I'll be updating tomorrow and will test out the updated zip on the December N950N firmware before uploading.
[Samsung Galaxy Note 8 Questions and Answers] louforgiveno:
The amount of work you have put into this project is amazing. I don't need the end goal you are reaching for, yet i am drawn to read updates in this thread. You are XDA at its best !! Thank you for your work, i commend you !!

Your "name" is fitting !

Godspeed

Sent from my God Mode 8
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Many thanks! I've been a member for too many years without giving something back, so this is my first big go at doing something to give back a bit.

And on that note, I made some script changes that should fix any issues with Epdg and vsimmanger for N950F and stock N950N firmwares, as well as removing all the Korean carrier apps for the N950N. I double checked that this removes exactly the files I've manually deleted since version 9j, so it 'should' do the trick for any N950N firmware now.

You will probably still need to clear cache and dalvik cache if applying this on an already-set-up system.

Version 9m
[Samsung Galaxy Note 8 Questions and Answers] masri1987:
got "error: 2"
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
At what point?
[Samsung Galaxy Note 8 Questions and Answers] masri1987:
at the end. i'll get you more specifics when i pull over and retry

---------- Post added at 09:31 AM ---------- Previous post was at 08:50 AM ----------

error: 2

Right after extracting new csc files and libraries.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Hmm ok thanks, I will take a look at it today, no work or school :)
[Samsung Galaxy Note 8 Questions and Answers] Drzhivagolikesandroid:
I installed tekhd's TMobile csc.

It works fine.

Except I don't see a wifi calling menu.

How can I get the menu in call options?
[Samsung Galaxy Note 8 Questions and Answers] Adel_2:
Same error here. Tested on both N firmware and custom ROM and got the same error after both picture attached.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Thanks guys, I see the problem. I goofed a new line to set SELinux permissions on a file. Give me a little bit to figure out what the correct syntax is. I did that part manually in Terminal emulator and can't remember what I typed exactly...
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
His is for S8+, F variants. It works fine on Note 8 F variants too but is very very different from a stock T-mobile CSC.

Mine is almost stock N950U Tmobile, with a few tweaks to enable things that they disable by default, as well as get rid of the TMO bootup video and sound. Mine is working on N variants (my phone at least, I'm trying to make the zip mirror exactly what I've changed manually) which nobody else has released so far.
[Samsung Galaxy Note 8 Questions and Answers] Drzhivagolikesandroid:
I'll try it as soon as you post it ?

---------- Post added at 07:28 AM ---------- Previous post was at 07:25 AM ----------

And somehow I got the wifi calling working.

I was flashing some csc without luck.

I flashed the csc selection zip v 1.3.0

Had some problems.

Then I flashed the tekhd csc and everything started to work. Including Wi-Fi calling ????

With the TMobile jingle which I didn't get earlier on boot up. ?
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Which model is your phone?

Which ROM or stock base firmware version are you using?

Again, tekdhd's zip works perfectly on any F variant for the S8/S8+/Note 8 so if your ROM or stock firmware that you are using is based on F firmware it will enable wifi calling.

On my N950N basically I had to add a few apps, libraries, framework java .jar files, and a binary executable, then delete the Korean DMB tv system to bring things to the point that the patches for F variants work.

Also need to be running an F based kernel since they include a necessary init file in the RAMdisk
[Samsung Galaxy Note 8 Questions and Answers] Drzhivagolikesandroid:
Yeah.

Mine is 950F with renovate ice 7.2.

I can understand that you have to do some changes for note 8.

I read on tekhd's website that he is working on 950N too and will soon have a csc zip.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
I had a second to look at the script tonight and saw why you guys got the error - I forgot a " mark...

anyway here is a revised one and I double checked my syntax for chcon so the next step should work too. Thinking back it's possible that i deleted data folders for some apps but this version of the zip definitely makes everything in /system/ identical to what I have now.

N950N stock base

Odin flash TWRP

TWRP format /data

TWRP flash IronKernel (in theory any of the custom kernels should work since they are all N950F based)

TWRP flash root (I used SuperSU)

TWRP flash version 9m1 of my T-Mobile CSC patch

now you can reboot

If [MENTION=2694397]masri1987[/MENTION] [MENTION=2690076]Adel_2[/MENTION] or someone else can test and confirm this is working on their N950N stock base I would appreciate it. If you do the list it should definitely work, if you flash the zip on an already-running ROM you might need to delete the /data folders for some apps but I can't remember off-hand which ones I deleted.
[Samsung Galaxy Note 8 Questions and Answers] Sn0wR@pt0r:
Hey KT...so here is what my status is (before attempting CSC or ROM change)...

N950N stock base SKC (Nov 17)

Odin flashed TWRP

TWRP Format/Wipe DATA

TWRP flashed root Magisk (Magisk is up-to-date)

...pending next move (no custom kernel, yet).

Should I go ahead & flash your CSC patch “9m1” via TWRP next...or the custom kernel then CSC...or how much risk here?

Once this is known to work, I’ll move on to LightROM & start testing with it & your CSC patch.

Looking forward to a weekend project, finally (lol)!

Thoughts??

TIA
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Yes you can try it, but without an N950F-based kernel I am not sure the wifi calling would work. Our stock N variant kernel lacks an init file for "EPDG" which is an underlying service to switch the telephony (phone calling) between LTE and wifi. I haven't tried without a custom kernel so I can't say that it definitely won't work, but there's no real reason to stay on the stock kernel if you're already rooted, KNOX tripped etc anyway.

There's no real risk either way, but you can always do a TWRP backup of your phone before flashing anything just in case.

As for which order to flash, nothing in the kernel zip will overwrite anything in my CSC zip or vice versa so that part shouldn't matter, I am just fairly sure that an F-based kernel needs to be used due to that init file not existing on N variant stock kernels.

I guess if you really wanted to test it on the N kernel you could flash the CSC without using a custom kernel, and we can have you manually add the init file somewhere else like /system/etc/init but I haven't monkeyed around with that since i was just trying to make the overall "environment" as close as possible via a simple zip flash, and the F variants and T-Mobile N950U have that file in their kernel's RAMdisk.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
This is the file the N kernel RAMdisk is lacking. It gets copied to the root of the phone.
[Samsung Galaxy Note 8 Questions and Answers] Adel_2:
I have tested on N firmware but it doesn't enable Wifi calling. It never shows the icon and when I go to the WiFi calling menu, it shows that it trying to enable (enabling) but it never does.

Trying it in a custom Rom works right away.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
thank you - so you had a custom kernel on top of the N firmware for the test, right? just want to make sure the environment is exactly the same.

The zip makes /system/ exactly the same as what i have now which has been working perfectly for several weeks, many reboots, toggles etc etc so if it still wouldn't enable for you on a custom kernel my guess is that some of the app data needs to be deleted, or a complete /data/ wipe would do the trick. If I get some free time this weekend I can mess around with it but I'm positive the system changes are complete, and I have not made any other changes...
[Samsung Galaxy Note 8 Questions and Answers] masri1987:
I'm on a 950f rom...

Safe to flash over 9L?

I'll try to.get on base 950N rom this weekend
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Yeah should be fine, that Adel person said a custom ROM worked fine with it too.

We're at the point of just pinpointing what needs to be deleted to make this work out of the box on an already-running N950N
[Samsung Galaxy Note 8 Questions and Answers] Adel_2:
I actually forgot to apply the custom Kernel. I will retry it with the custom Kernel.

Update:

You are right. As soon as I applied the custom kernel to N firmware that worked.

m1 patch is confirmed to work on custom Rom as is and on N firmware with custom kernel.
[Samsung Galaxy Note 8 Questions and Answers] Kalm_Traveler:
Thank you! I will do some research to see if there is any way to get the init.rilepdg.rc file to load from /system/ partition so that the custom kernel is not necessary but at least we have everything sorted out finally!

:fingers-crossed: That took a lot longer than I thought it would but I've learned a ton along the way!
[Samsung Galaxy Note 8 Questions and Answers] jooniloh:
Oh jeez I've been gone a while. Got a new job and flipped my life upside down a few more ways since I've been here last. Someone tl;dr me?