yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Note 8 Questions and Answers] Warrenforfree:
I have samsung note 8 SM-N950F/DS, i was able to toggle oem unlock and both bootloader and frp are off, but later that night, i have receive december patch and successfully installed it but as of this day(8days already) oem unlock is not showing up.. this means that i am in jail? Tried to flash twrp but keeps getting error unable to flash. Something that is written in read text.
[Samsung Galaxy Note 8 Questions and Answers] Riyal:
I have a galaxy Note FE... On this model there's 2 types of firmwares... 1 doesn't have CscFeature_Common_SupportRmm and the other has. I tried flashing both models but the RMM state doesn't disappear in the bootloader.

This is why I am asking for the hidden partition of the phone and to try changing the value to false as that CSC config doesn't seem to do much on its own.

And by the way... Yeah the OEM Unlock option does show up on the one without the Rmm support CSC however the RMM State from the bootloader still doesn't go away hence I'm thinking maybe it is leaving some marker file in the hidden partition.

Right now what I'm doing is

1. Flash the firmware without the RMM support.

2. Wait for 7 days until RMM state disappears.

3. Reformat phone and see if RMM state from bootloader returns.

Where if it doesn't return then the CSC does work but it leaves a marker on some partition(my guess is the hidden partition).

I think I am ahead of you guys in terms of experimenting with this issue.

You guys are still tackling on how to enable OEM Unlock on your device but I already solved that on my end.

My problem here is that even with OEM Unlock enabled I still can't flash anything until the RMM State from the bootloader disappears.
[Samsung Galaxy Note 8 Questions and Answers] pashamangl:
"You guys are still tackling on how to enable OEM Unlock on your device but I already solved that on my end."

So how you do that?could you share ?thanks in advance
[Samsung Galaxy Note 8 Questions and Answers] Riyal:
Like i said it is the CSC CscFeature_Common_SupportRmm... You need to disable it to make OEM Unlock show up. Setting it to FALSE or totally removing that line from others.xml fixes the issue. However it is still pointless as even with OEM Unlock enabled as long as RMM State still shows up in the bootloader flashing custom images still won't work.

If OEM Unlock is only the issue enabling it and reformatting the phone should retain the OEM Unlock state but as you can see it is still blocked as long as RMM State shows up.
[Samsung Galaxy Note 8 Questions and Answers] and2:
But how did you solve your oem unlock issue?

Gesendet von meinem SM-N950F mit Tapatalk
[Samsung Galaxy Note 8 Questions and Answers] ShanerZa:
Does N6/7 Rom support AppLock?
[Samsung Galaxy Note 8 Questions and Answers] pashamangl:
"Like i said it is the CSC CscFeature_Common_SupportRmm..."

with all respect but where is this file?i can't find it in system apps
[Samsung Galaxy Note 8 Questions and Answers] Riyal:
/system/csc/others.xml

and look for

<CscFeature_Common_SupportRmm>TRUE</CscFeature_Common_SupportRmm>

But I believe dr.ketan already knows this and has already provided you guys with a fix where he's asking for testers.

---------- Post added at 08:13 PM ---------- Previous post was at 08:04 PM ----------

I believe dr. ketan knows this already but just posting for the sake of others.

.method private static showEnableOemUnlockPreference (Landroid / content / Context;) Z
.locals 7

const / 4 v3, 0x0

: try_start_0
new-instance v2, Lcom / samsung / android / service / RemoteLockControl / RemoteLockControlManager;

invoke-direct {v2, p0}, Lcom / samsung / android / service / RemoteLockControl / RemoteLockControlManager; -> <init> (Landroid / content / Context;) V

invoke-virtual {v2}, Lcom / samsung / android / service / RemoteLockControl / RemoteLockControlManager; -> query () Ljava / lang / String;

move-result-object v1

const-string / jumbo v4, "DevelopmentSettings"

new-instance v5, Ljava / lang / StringBuilder;

invoke-direct {v5}, Ljava / lang / StringBuilder; -> <init> () V

const-string / jumbo v6, "rlcState:"

invoke-virtual {v5, v6}, Ljava / lang / StringBuilder; -> append (Ljava / lang / String;) Ljava / lang / StringBuilder;

move-result-object v5

invoke-virtual {v5, v1}, Ljava / lang / StringBuilder; -> append (Ljava / lang / String;) Ljava / lang / StringBuilder;

move-result-object v5

invoke-virtual {v5}, Ljava / lang / StringBuilder; -> toString () Ljava / lang / String;

move-result-object v5

invoke-static {v4, v5}, Landroid / util / Log; -> secI (Ljava / lang / String; Ljava / lang / String;) I

const-string / jumbo v4, "Prenormal"

invoke-virtual {v4, v1}, Ljava / lang / String; -> equals (Ljava / lang / Object;) Z

move-result v4

if-nez v4,: cond_0

const-string / jumbo v4, "Normal"

invoke-virtual {v4, v1}, Ljava / lang / String; -> equals (Ljava / lang / Object;) Z

move-result v4

if-nez v4,: cond_0

const-string / jumbo v4, "Locked"

invoke-virtual {v4, v1}, Ljava / lang / String; -> equals (Ljava / lang / Object;) Z

move-result v4

if-nez v4,: cond_0

const-string / jumbo v4, "Blink"

invoke-virtual {v4, v1}, Ljava / lang / String; -> equals (Ljava / lang / Object;) Z
: try_end_0
.catch Lcom / samsung / android / service / RemoteLockControl / RemoteLockControlException; {: try_start_0 ..: try_end_0}: catch_0

move-result v4

if-eqz v4,: cond_1

: cond_0
return v3

: catch_0
move-exception v0

const-string / jumbo v4, "DevelopmentSettings"
[Samsung Galaxy Note 8 Questions and Answers] pashamangl:
Riyal I do not understand!You mean N950F (no root) and you can see that file????wtf?

I even try with quickshortcutmaker and can't find that file.

---------- Post added at 12:14 PM ---------- Previous post was at 12:13 PM ----------

Riyal I do not understand!You mean N950F (no root) and you can see that file????wtf?

I even try with quickshortcutmaker and can't find that file.
[Samsung Galaxy Note 8 Questions and Answers] dr.ketan:
Yeah, We may need to have OEM unlock option to be enabled (first time) from their server only, once we have it, we can use this sort of trick to retain OEM unlock option. We can also modify smali to force appear OEM option irrespective of CSC (I have tried already) but result is same, throwing error on reboot, even though OEM unlock toggle available.

So again there is no go for those who never have this option available.
[Samsung Galaxy Note 8 Questions and Answers] Riyal:
Ok just another info.... I found out that frp lock stores it's lock status in /dev/block/persistent. Wonder if that's where RMM State also stores its status? If yes when rooted maybe we can override it everytime thru updater-script?
[Samsung Galaxy Note 8 Questions and Answers] and2:
I know this a long time maybe it's related to the rlc.apk. But for me all useless, I'm born in jail (still). And it's not always system/ csc. Samsung's uses different version. Sometimes it's system/ omc, sometimes encrypted or decrypted... it looks like a big mess.

Gesendet von meinem SM-N950F mit Tapatalk
[Samsung Galaxy Note 8 Questions and Answers] dr.ketan:
Yeah I am aware of this method and have no value if we modify and make force to show up (Already Tried).
[Samsung Galaxy Note 8 Questions and Answers] Riyal:
That's my point... So what I am trying to say is... If we find a solution to RMM State instead of OEM Unlock the 7 day wait time would be a one time deal.
[Samsung Galaxy Note 8 Questions and Answers] dr.ketan:
Really I am not much hopeful. We need something to change in system for this and that only possible if we can able to flash something with odin, but samsung have closed all possible door for this. If we able to hack samsung image (Like on snapdragon) then only but yet we don't know what we needs to change. So Primarily I am trying to patch framework so once OEM appear, it should remain there always.
[Samsung Galaxy Note 8 Questions and Answers] Riyal:
My device is not N950F... However we have a common issue here... I can get OEM Unlock without root because there's one firmware file we have that doesn't have RMM State and flashing this firmware on my device fixed the missing OEM Unlock.

I am not sure however with note 8 as I don't have that device.
[Samsung Galaxy Note 8 Questions and Answers] pashamangl:
Riyal pls take a look at private messages.
[Samsung Galaxy Note 8 Questions and Answers] kilayo:
Have no access to root. so i can't test
[Samsung Galaxy Note 8 Questions and Answers] Mentalmuso:
This is actually a real possibility. All we need is a combination firmware for the F model to apply samfail to this device.

Edit.. I'm pretty sure these files are pretty prevalent around the internet these days. I bet, out of the box, these firmware don't have the Rmm state as active.
[Samsung Galaxy Note 8 Questions and Answers] SimplyCity:
[MENTION=3931450]dr.ketan[/MENTION], I will flash your N7 today, just came from work and usual stuff in front of me, but in the evening I will. I will use XID flashable. Let you know later. Cheers!

Echoe[emoji769] team member / N8 powered by Echoe[emoji769]
[Samsung Galaxy Note 8 Questions and Answers] white7561:
Remember that using XID means losing your VoLTE and VoWifi . Also possibly your 4g+ bands combinations. So this is just a temp solution hehehe
[Samsung Galaxy Note 8 Questions and Answers] SimplyCity:
Sure, I know what may not work. But much more important for me is to find solution for that s#&*@$ OEM. If we finally find it, freedom is what we get. And every possible combination will be allowed, right?

:)

Echoe[emoji769] team member / N8 powered by Echoe[emoji769]
[Samsung Galaxy Note 8 Questions and Answers] jimbo77:
I'm supposed to have the OEM toggle activated for the very first time today. It'll be 7 full days in about 12 hours so I will do any test for you guys! I'm happy to help with anything I can
[Samsung Galaxy Note 8 Questions and Answers] white7561:
Nope we still need csc from our country that has the lists of our country carrier Aggregation combinations list [emoji4]
[Samsung Galaxy Note 8 Questions and Answers] Mentalmuso:
I can't find this Rmm line in any of the s8 oxm csc, I'm assuming the line is only in the note 8 csc anyway as it's a newer "feature" though how aare you seeing that line if the csc files are encrypted? I saw mention of others.xml but didn't think that existed in s8.

Just another observation I made yesterday, again most of my observations may be useless but it's better to have them out in the wild.. I was messing around with shortcut master app, and launched Autoconfig.apk, this revealed the splash window for rebooting device to reconfigure carrier sim software. I got around it and managed to hot reboot the device and it was back to normal. But this led me to using the /system/csc type csc structure, and literally debloating the Autoconfig.apk and I also went ahead and removed omc.apk and the other omc***.apk. did a data wipe and everything has booted up and csc seems to be working fine. I just thought if this new "feature" of Samsung's has anything to do with "omc" , I might be reducing risk.
[Samsung Galaxy Note 8 Questions and Answers] force70:
He has a note FE i think.

sent from my Pixel 2 XL or Note FE
[Samsung Galaxy Note 8 Questions and Answers] Fishpig:
so my woes continue,

had a couple of weeks rooted on stock XSA, rebooted many times and come yesterday my phone started locking up so i restarted and got the binaries message and lost my root.

have just downloaded what i thought was unbranded XSA but it's the same as what i have and that still gets the optus crap all over it.

this is very dam annoying.
[Samsung Galaxy Note 8 Questions and Answers] dr.ketan:
Thank you and this is the spirit.

OXM is for bunch of 78 countries omc. N8 auto select 3rd part of csc depends on inserted sim. And if sim is not from any available 78 omc then it adopt one default. That's system/omc/SalesCode.dat

Not all but many cscfeatures file have this line and that way it affects some users and not all.
[Samsung Galaxy Note 8 Questions and Answers] dr.ketan:
We need tester who can flash any rom (stock is best though) that doesn't have hidden oem button (for example reno / iron rom) based on latest base QKG

+ flash s8 csc for oem issue device zip available at below link and see if that preserve oem toggle

https://xdaforums.com/showpost.php?p=74829672&postcount=2638&nocache=1&z=9368852305110512
[Samsung Galaxy Note 8 Questions and Answers] SimplyCity:
[MENTION=3931450]dr.ketan[/MENTION], thanks my friend. I'd like to ask one final question : I saw my colleagues posts that Magisk v15 works ok. I thought I may put v15 inside N7 b4 flashing whole rom. May I?

Echoe[emoji769] team member / N8 powered by Echoe[emoji769]
[Samsung Galaxy Note 8 Questions and Answers] dr.ketan:
No no don't do it.

Included version have no issue. Myself got bootloop on N7 with magisk 15, though I haven't look into it but have log ready and look it what may causing it. But I recommend not to take any chance
[Samsung Galaxy Note 8 Questions and Answers] dr.ketan:
Please don't flash N7 + XID

I have now two reports and unfortunately Samsung have patched this loophole

No more s8 csc safe on oem affected device on latest base.

Also this end with that rmm line on cscfeature.

Really Samsung have **** N8 with this mess.
[Samsung Galaxy Note 8 Questions and Answers] sco00262:
so N6 is the only safe rom to stay with?

one more question: is that safe to flash another version of TWRP or downgrade since i reinstall N6 again after oem jail..

but the twrp 3.2.1.0 don't flash NOTORIOUS-Kernel for me ,always stay in iron kernel.

i tried more then 3 times but the old one TWRP 3.1.1 works fine before...

thanks for ur time.
[Samsung Galaxy Note 8 Questions and Answers] dr.ketan:
Not N6 only but previous base (Nov security) with s8 csc should be fine. I don't see any ill effect downgrading twrp
[Samsung Galaxy Note 8 Questions and Answers] sco00262:
i mean should i flash twrp 3.1.1 thru odin and reboot will be fine?

:confused:
[Samsung Galaxy Note 8 Questions and Answers] Mentalmuso:
Just in case you come across this, which from what I understand is common. Before having to reboot and lose your oem switch... I got around it by selecting make an emergency call, which classes the pop up, then back out of the dialer and perform a hot reboot.
[Samsung Galaxy Note 8 Questions and Answers] Mentalmuso:
A good point was made in the telegram thread about,.. why aren't any of the S8+ note rom ports having reports of losing their oem switch if this all pertains to framework in rom?

Either the few files that are used to port from S8 7.0 firmware have the particular framework files to bypass this new security measure..

Or the S8 bootloader or kernel is the reason.
[Samsung Galaxy Note 8 Questions and Answers] dr.ketan:
This msg common when our sim is different from device 3rd csc in software info

It can also be possible if we temper encrypted CscFeature file. But at the end if we don't have oem affected device it doesn't harm out device. So me and you or else who doesn't have such issue can't reproduce this oem losing scene.
[Samsung Galaxy Note 8 Questions and Answers] dr.ketan:
May be bootloader or probably their server check for IMEI or device model or so
[Samsung Galaxy Note 8 Questions and Answers] sun2sunny:
yes almost 20 times ... but same result ..no change at all. boot with the same things

I m now restoring it through kies emergency recovery ... what do u guys think it will do the reset or not?
[Samsung Galaxy Note 8 Questions and Answers] $-MONARCH-$:
Yep, That's right. You have to contact the seller and see if they're willing to activate the phone using the region carrier sim. This will lift region lock thus making OEM available in the Developer Options.

Once it's activated under region carrier, you can use any sim cards to make calls and other activities.
[Samsung Galaxy Note 8 Questions and Answers] EasyWorld:
Why do people keep saying that phones from original country with a sim-card from that country and located in that country will not have OEM lock?

It's not true at all!

For example, all Note8s officially sold in Russia by Samsung and used in Russia with Russian sim-cards are OEM locked.
[Samsung Galaxy Note 8 Questions and Answers] $-MONARCH-$:
There is anything that you can't do now. You can only send it back to the seller and ask them to activate the phone from the region carrier sim. From where did you buy your Note 8 from? Care to post your csc from About Phone?
[Samsung Galaxy Note 8 Questions and Answers] white7561:
What? What do you mean? No oem unlock for Russia?
[Samsung Galaxy Note 8 Questions and Answers] $-MONARCH-$:
Are you aware of region lock imposed by Samsung? OEM unlock is actually accessible to the bootloader. If you have Russian sim-card and the Note 8 is sold by Russian Samsung then you can do OEM unlock via Developer Options. Obviously, it's related to region lock.
[Samsung Galaxy Note 8 Questions and Answers] Brava27:
Update: purchased another N950F/DS from Taiwan, sealed box. Probably not región unlocked. Verdict: No OEM unlock [emoji25][emoji25][emoji25]
[Samsung Galaxy Note 8 Questions and Answers] $-MONARCH-$:
Care to send CSC screenshot xxx/xxx/xxx from your new Taiwanese version?
[Samsung Galaxy Note 8 Questions and Answers] Brava27:
I've already packed it up. All I remember is that it said BRI/BRI/BRI
[Samsung Galaxy Note 8 Questions and Answers] $-MONARCH-$:
This is same with the Netherlands as well, PHN/PHN/PHN and apparently it has OEM Unlock option in Developer Options, but it was only used with Dutch sim to make it working.

I think you should ask the seller to activate the phone for you from Taiwan Sim card and verify for OEM Unlock option.
[Samsung Galaxy Note 8 Questions and Answers] Brava27:
Canadian seller. I have purchased from USA and now Canada. Both phones were not activated in the foreign countries.
[Samsung Galaxy Note 8 Questions and Answers] $-MONARCH-$:
Sounds like grey market device to me. Sorry mate its not gonna to work for you. ?
[Samsung Galaxy Note 8 Questions and Answers] ARNOB:
Both a F/DS from Swiftronics. Turns out to be from Singapore and no OEM. Hopefully something comes up soon!
[Samsung Galaxy Note 8 Questions and Answers] Brava27:
I've returned both phones. Still searching lol
[Samsung Galaxy Note 8 Questions and Answers] $-MONARCH-$:
It's going to be hard for you, unless you a find seller who truly can do things such as activating and verifying OEM Unlock option for you.

You desperately want OEM Unlocked unit? ?
[Samsung Galaxy Note 8 Questions and Answers] Brava27:
Can't live without root. Clove UK apparently activates phone for you
[Samsung Galaxy Note 8 Questions and Answers] sun2sunny:
tried your idea but no result

tried with kies but no result....
[Samsung Galaxy Note 8 Questions and Answers] bober10113:
try the same but with the oldest firware of the region you are currently trying to flash. most regions have 2 releases of firmware. go to updato.com and try to find the oldest.
[Samsung Galaxy Note 8 Questions and Answers] jpinoy:
My Ebay seller actually replied and said they would try to help me out with it. But they might have been confused thinking I didn't know how to get into Developer Mode, as they said they can help with that.. haha.. I told them I already got in there and no OEM Unlock, so what can you do for me on that?

Waiting for a reply.
[Samsung Galaxy Note 8 Questions and Answers] thegreenthief:
Sounds like there are some opportunities for an enterprising individual who lives in Singapore -- they could stand up a service to receive phones, activate, and then return.

Obviously someone would first need to validate the theory of whether or not this actually works. I volunteer to travel to Singapore and verify whether or not my device provides the OEM unlock option after using a Singtel SIM card within Singapore for 5+ minutes. Just need some crowdfunding support to come up with the money for a ticket, lol.
[Samsung Galaxy Note 8 Questions and Answers] Mentalmuso:
I don't suppose anyone has been able to Snoop and see which servers are being used? And to whether it can be blocked in hosts?
[Samsung Galaxy Note 8 Questions and Answers] SimplyCity:
OMFG! I am sorry. Time for flashing just came and I saw your post. Hard to believe they lock it even more, from base to base... What about devices without OEM problems? Do they still have OEM in place after Dec patch? If so, rest should have, too. Or maybe we, owners of OEM sensitive devices, are somehow worse? I thing we all payed at the end same price. WTF?

OK, please tell me once more, if you please (according to those only two flashable SCS packages left):

- full format

- N6

- OEM patch during Aroma

- XID SCS package last

Or no XID package? Or no OEM patch, but XID package as mandatory? Or somehow else?

And last: is there anything you want to me to try? Something new you'd like to test/try while flashing N6?

Echoe[emoji769] team member / N8 powered by Echoe[emoji769]
[Samsung Galaxy Note 8 Questions and Answers] Mentalmuso:
I've been in December update for a week now, flashing all sorts. Changing from DBT to TMB to XSA S8 csc's, my device is not a sensitive one t though

Edit. And by December I mean QKG system only. Bootloader and modem are still original to the firmware that was in device when I bought it
[Samsung Galaxy Note 8 Questions and Answers] dr.ketan:
New base (Qkg) is worse for oem affected device only and have no any issue on non affected devices.

Samsung have patched this s8 csc loophole and no more working on Qkg base.

For My N6 ROM, only clean install N6 + oem patch in aroma is enough no separate csc require to flash.

Sorry, I am running out of idea now. I have to look again other than csc. Seems Samsung don't want to allow any measure for this purpose.
[Samsung Galaxy Note 8 Questions and Answers] SimplyCity:
OK. Thx. Will follow.

I am thinking : is there a way to know at the time of purchase if device is OEM affected or not?

Echoe[emoji769] team member / N8 powered by Echoe[emoji769]
[Samsung Galaxy Note 8 Questions and Answers] dr.ketan:
Oem unlock option available out of box + device from same place where you want to use.

Example - In India we don't have this mess but again if you buy device from India and use on network where this issue is there (for example Dakar), again it will cause issue.

No idea why Samsung applying such restrictions to certain part only, no words from Samsung. May be some legal punch only answer?
[Samsung Galaxy Note 8 Questions and Answers] SimplyCity:
Yeah... S#&$ happens.

I am sad though, bc my device had OEM out of the box... True is that I get it from local provider (Orange), but I think it should be even more safe way of buying device from legal source, for my region distribution. Obviously I was wrong. Shame...

Ps. I have never put any other sim then Orange's one...

OK, ready for N6. But saw your pro version from website. It's definitely worth of donate, I mean you, you've done so much for the community. Have my vote.

:)

Echoe[emoji769] team member / N8 powered by Echoe[emoji769]
[Samsung Galaxy Note 8 Questions and Answers] kanamor:
Then, with vpn maybe?
[Samsung Galaxy Note 8 Questions and Answers] Androidwizzard:
[MENTION=3931450]dr.ketan[/MENTION] (I know it's middle of the night for you and just for your information) as promissed ;) now I am back in business and ready in case to try something crazy - not eager to root or run any custom rom though :D
[Samsung Galaxy Note 8 Questions and Answers] david744:
You mean like this
[Samsung Galaxy Note 8 Questions and Answers] Mentalmuso:
Has anyone tried a farrady cage (phone encased in aluminium foil) method yet to not let the device connect to any network or GPS signals while setting up?
[Samsung Galaxy Note 8 Questions and Answers] j_hansen:
no but I always wear a tinfoil hat.... just in case those *earth is flat* people are trying to get me ;)