yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] KariTether:
Masking the KNOX bit

There was some speculation about it being on an external EEPROM, is there anything more known about this?

Has anyone picked apart the Samsung Pay app, or the Knox app, to determine how it finds that Knox has been tripped?

This could give us good information on where exactly the flag is, and therefore how it's affected. If it's anywhere in address space, the MMU could be used to mask its true value. If the hardware value is loaded and cached at boot, that could be masked after boot too. If the value is stored out of address space like on EEPROM or equivalent e-fuse hardware, tweaking the related driver could mask the value. Any comments on these routes?
[Galaxy S 4 General] Surge1223:
It's in the ddi_data read when the mmc card init function executes in aboot

The struct is something like this:

struct ddi_data
{
unsigned magic;
uint32_t cust_count;
uint32_t odin_count;
uint32_t binary_type;
uint8_t model[16];
uint32_t sysscope_flag;
uint32_t knox_code;
};
[Galaxy S 4 General] pyrokinetic:
I have not read the entire thread, but since the fuse (or whatever it is) is tripped in the bootloader, isn't it possible to flash a modified bootloader binary through JTAG?
[Galaxy S 4 General] davrla41:
I got my phone from O2 (CZE as well) and the terms say that the warranty is void when you modify the software on the phone. I am really not sure right now.
[Galaxy S 4 General] Deathvirus:
You should take a look at this picture. I found some weird information in the TrustZone Partition about a blowing fuse ?!

I dont even have a clue of Programming maybe a developer should take a look at it:)
[Galaxy S 4 General] Deathvirus:
Add
[Galaxy S 4 General] :
To me it's telling blow software fuse.

Not hardware related. It sounds really much like Sony drm protection. If you don't back it up and root well some features will be lost. But in our case we cannot back it up.
[Galaxy S 4 General] bo_hai:
Well, I think this is not related to knox but this will show you Samsung can disable Reactivation Lock

https://www.mediafire.com/folder/qej80ydd6ttqu/Samsung_Leaked_Documentation
[Galaxy S 4 General] Deathvirus:
Dude where the hell did you get this ****? xD

---------- Post added at 12:28 PM ---------- Previous post was at 12:04 PM ----------

If samsung can disable Reactivation lock it can also disable Knox which means no e-Fuse.

Also Chainfire needs to see this.:o:)
[Galaxy S 4 General] skezza:
Am I the only one who literally gave no ****s about tripping my knox counter on my S4? lol :D
[Galaxy S 4 General] bo_hai:
Yea. Chainfire needs to see this :)
[Galaxy S 4 General] gazdajezda:
No, i also don't care about it :) It's tripped and everything works as it should (GPE rom, XPosed...).
[Galaxy S 4 General] skezza:
Exactly :D
[Galaxy S 4 General] gorandroid:
So if i reflash samsung's stock android, will it still remain untriggered as 0x0? But in fact it only matters when it comes to voiding the warranty..? Since the phone is old, having that said we shouldn't care about it at all right?
[Galaxy S 4 General] Tanis64:
Samsung's Stock ROMs are safe to flash, they don't trigger anything.
[Galaxy S 4 General] gorandroid:
The ones from sammobile?
[Galaxy S 4 General] samwheat:
Hello, can somebody tell me if this **** knox it is found only on samsung **** tablets and phones ?

I have a tablet with this idiotic protection and this will be my last product I buy from this **** money hungry company called samsung.

Thank you !
[Galaxy S 4 General] jimbomodder:
Phones yes, tablets don't have Knox I believe
[Galaxy S 4 General] ghpille:
I found this thread looking for what was knox about. Since my new tab mentioned it: a Samsung Tab A (2016) or SM-T585.
[Galaxy S 4 General] jimbomodder:
O right, must be on newer models too then
[Galaxy S 4 General] vid789:
right now im having a struggle with knoxx. im trying to install my corporate email app which is maas360 and after the installation there is part their that needs to validate samsung enterprise license and it keeps on loading i believe that message is pertaining to samsung knoxx that why i cant install my maas360 :((( do we have another way for this ?
[Galaxy S 4 General] T_I:
The Samsung Tab S2 0.7 (T810) has it. Just discovered the flag being triggered, as I needed to return the tab (faulty charger port, charges only when you push against the connector). To return you need to make a backup (which I did with Titanium Backup) and reset.

I'll see how much Samsung NL is going to nag, this is a hardware problem, not software related. (Bad contact in the connector)
[Galaxy S 4 General] jimbomodder:
O must be the higher end tablets then, they might still refuse as Knox tripped.
[Galaxy S 4 General] T_I:
Info I have from other Smasung users with warrenty issues in The Netherlands varies from 'is repaired once, flag reset, when again triggered not anymore', via 'hardware related -> fixed, software related, not fixed' to 'total refusal of any help'. Looks random.

As this is clearly a hardware issue (charger has flacky contacts, when not working pushing on the connector established contact and it keeps charging until disconnected) I'm of the opinion this is clearly hardware related, no software is between the charger cable and the power port. When they say there is no issue with the port, I'm happy, when they say it's software related, well, I'm insured for legal costs, let them prove a bad connector is anyway related to software.
[Galaxy S 4 General] louiscar:
Common problem. Mine went back for this same issue. I had to send back to Czechoslovakia but was replaced along with short life battery.

For what it's worth the charging ports are easy to replace yourself if the worst comes to the worst. I just replaced the one on my note 3 .
[Galaxy S 4 General] Joker87:
Reactivation lock works even with knox 0x1 with galaxy S5 G900F with marshamallow firmware, but only if you aren't rooted

Doesn't look easy at all to me, you have to take out the display melting the glue... a pain the ***

I gave up changing my S5's usb port and went for wireless charging, it doesnt charge anymore with the cable but luckily usb OTG works
[Galaxy S 4 General] CostasV23:
I flashed the official lollipop firmware along with repartion using odin on a tripped s4 running kitkat. Upon first boot there was a popup message saying "Registering Device". After i got to the setting the phone's status reverted from custom to official. Didnt check for the Knox Flag tho

IF YOU FLASH YOUR RESPECTIVE PHONES FIRMWARE TWICE USING ODIN EVEN AFTER INSTALLING A CUSTOM ROM THE PHONE WILL RETURN TO OFFICIAL ENABLING OTA UPDATES AGAIN. Tested and working on s4 mini plus Kitikat with 2.2 Knox
[Galaxy S 4 General] KatakunaZU:
Bought a G906S from Korea. Updated using Odin 3 to an official, stock, untouched rom from SamMobile, due to horrible battery issues - this was one solution on the internet from a trusted source. However, I get the 0x1 (2) flag on the download menu. This has annoyed me, as no other custom recovery or even custom rom has been installed. At current, I'm not sure if the buyer can replace my phone, as the KNOX flag has been tripped (I have a fingerprint sensor issue as well). Good freaking job, Samsung.
[Galaxy S 4 General] markbuikema:
I am developing an application that relies on the security of Samsung Knox. Can anyone tell me if it is possible to root a Samsung Galaxy Xcover 3 without tripping the Knox counter?
[Galaxy S 4 General] tight13:
little question:

have got new bootloader, but knox 0x0

if im flashing mi1 with custom kernel (ausdim) with odin will knox be 0x0 or will it be 0x1 ?

need root but do not want to flag knox 0x1 until we dont know what it will be in the future
[Galaxy S 4 General] difyel:
let me quote this from another thread :
[Galaxy S 4 General] zoomee:
Question - I've got an EVR branded set, which I'm currently running BTU (MG8) on.

If I upgrade the firmware to the latest BTU (MH8) will it be able to tell I'm not on a legit BTU handset and set the knox flag to void?

thanks
[Galaxy S 4 General] STreeTNerD:
SAME BOAT!

yeah same here, coming from iphone to this mess, oh well you live and you learn? hopefully someone will sort it out.
[Galaxy S 4 General] cameracartwright:
Hello all ive rooted this firmware xxudmh8 and now want to flash philz recovery can I then flash a custom rom in recovery (I have older zips ive used before)? If its a downgrade in firmware?

Please help

---------- Post added at 09:53 PM ---------- Previous post was at 09:51 PM ----------

I'm the same. If you update then try to flash an older btu firmware it will trigger the knox flag.

---------- Post added at 09:54 PM ---------- Previous post was at 09:53 PM ----------

Also in odin it probably will fail as it did with me and soft bricked my s4. To fix I simply rooted using latest cf auto root witch flashed stock recovery
[Galaxy S 4 General] Swanseatom:
Spent about 45 mins reading thread can't quite find exact answer.

Question is, If i have a brand new un rooted S4 from a UK carrier, for example with CSC O2U and i flash a completely stock odin package with CSC BTU will it trigger the knox warranty?

Assuming the FW is exactly the same for example both PDA I9505XXUDMH8 but the CSC would obv be the difference?

Basically curious if i can de brand a carrier handset to BTU without triggering the knox counter?

Thanks!
[Galaxy S 4 General] cameracartwright:
If you Flash the firmware Btu prior to xxudmh8 then it shouldn't trigger knox but once you Flash xxudmh8 I belive you can't go back :/
[Galaxy S 4 General] ozkaya:
It seems that this locked bootloader affects only 9505 and not 9500 for the time being?
[Galaxy S 4 General] Degrated Shadow:
Actually i9500 doesnt need knox flag to be on for business users who use knox containers

it has a flag in bootloader already which is not knox but still tells that the device is or was modified.

I assume that we are as doomed as you in this matter.

But then its not a knox flag so who knows will i9500 users will be able to use knox or not..
[Galaxy S 4 General] Turkdale:
I think when you try to flash custom binaries like a recovery or system, that you're KNOX flag will be increased. I rooted so it ibcreased but I am running now Google Play edition with Android 4.3 and also a version not from Samsung but from a developer.

Using also TWRP Recovery and only thing that I want to change if possible is the KNOX warranty, but it is also not a big problem in the Netherlands, because you can repair your phone one time if you have problems with the software like flashed a wrong firmware so you bricked your phone, Samsung will repair this free and your hardware warranty will also not be void. But I don't know if this is also legit with the KNOX warranty, need to contact DynaFix(official repair centre of Apple, Samgung etc.)

My advise: Just install stock-based custom rom without the KNOX app or Google Play Edition that's faster then stock and also stable as hell :)
[Galaxy S 4 General] cameracartwright:
Ive read so much in this thread but cant see if I root xxudmh8 and install custom recovery if possible can I then flash custom rom zips as the bootloaders locked?
[Galaxy S 4 General] FatherD:
Yep Google Play edition is superb.. But I could only flash it properly with Philz Cwm. That said it's fast as hell!
[Galaxy S 4 General] tripp:
Which GE version is best to use? There is so many of them to download...

My Knox warranty is 0x1 anyway, so I can use whatever I want to :P
[Galaxy S 4 General] Swizzy88:
So I gave my phone back to the shop to get it repaired. I had the bloated battery issue. I reflashed stock so everything was official again and they repaired it no problem. However they flashed the MH8 firmware while it was in the shop so now I have the damn knox flag...

I have my phone insured with a third party so I'm wondering if I should forget about samsung warranty and hope the third party repairs my phone with custom ROM in case it gets damaged somehow? I hope so...
[Galaxy S 4 General] samkuek:
If you have custom recovery then custom rom zip can be flash without problem. The locked bootloader only prevent older version stock firmware to be flashed via odin.
[Galaxy S 4 General] michal_alton:
Hi everyone. I read a lot on this post but am still confused. I've updated my s4 over ota until it said no more updates (forgot to check what was the last firmware), than did factory reset via Kies. Now I've got mg7 which i think is not the newest firmware but Kies says it is? So is it the newest or not and if not can I flash any previous firmware without voiding KNOX warranty to be able to get to *#0011* -> 1 menu (its not blocked). In download mode there is nothing about knox.
[Galaxy S 4 General] SeaFargo:
I'll find a way to survive with my 0x1

Exactly what I did :crying: What a mess. :( But I did it without hacking intention. I just want to recover a working condition because after regular OTA update the boot was really infinite! I've tought and I still belive it was a failure boot.

So i suggest to complete full wipe with stock recovery before flashing new stock rom. But that was not possible with OTA, 'cause you are inside an already booted system.

In any case I'll find a way to survive ...

... with my 0x1 :D
[Galaxy S 4 General] samkuek:
Congratulation should i say, your phone is still with the old KNOX free bootloader. XXUBMG7 is indeed the latest UK firmware with EVR csc.

After OTA update, KNOX bootloader looks like below:

Before OTA update:
[Galaxy S 4 General] nfsmw_gr:
Guys, this may be answered already but I can't search because warranty in this thread is being repeated every day many times so search results would be inaccurate.

Anyway, if you void the knox warranty flash back to stock, use triangle away and make everything look stock except knox warranty, will samsung repair your phone or not?

Thanks.
[Galaxy S 4 General] spinky360:
Triangle away is not working with our phone. And no once you're flagged ... Won't do nothing.
[Galaxy S 4 General] timberwolf60:
Because of Knox, I quit Samsung and never be back, now enjoying xiaomi phones, more software update and still have warranty with rooted phones, now I owned three redmi series phones especially the redmi note 3 pro.
[Galaxy S 4 General] :
Hmm try all root apps available for exploiting?
[Galaxy S 4 General] DigitalMenace:
I just had a Galaxy Tab S2 32GB come back from warranty service with the flag already tripped. The reason it was sent in was this model SM-T710 has a habit of shorting out the control modules that controls the battery charging and USB communication. Mine got so hot the battery level went from 100% to 0 in less than 2 minutes and actually caused a minor burn. They repaired it no questions asked beyond the over heating/ short circuit issue. When I got the repaired one, it was already set up, no non-stock apps, but booted to the unlock screen rather than setup. I used settings and reset the tablet then set it up as new. Google Play did its updates and beyond that, I only downloaded My Knox. Upon trying to install it said "Alert: Knox cannot be installed on your device because unauthorized software has been detected" I contacted Samsung, but being Saturday, I don't expect to hear back until next week.

This tablet is UNROOTED and the OS was flashed by the repair company (Samsung contract repair out of New Jersey), so I'm at a loss here. Before it went nuclear, I was rooted and running without the Knox counter being tripped, yet I get a repaired one, and it's tripped (Verified by booting into download mode).
[Galaxy S 4 General] xXy3kXx:
My S7 rooted knox has not tripped... 0x0 system status: Custom
[Galaxy S 4 General] jimbomodder:
What root tool/ application did you use?
[Galaxy S 4 General] xXy3kXx:
I used ODIN PrinceComsy and loaded G930AUSC4QPK1 i have not loaded any custom roms
[Galaxy S 4 General] justanpotato:
Galaxy s3 or s4 got originally an software update where knox came in. it wasnt there before the software update
[Galaxy S 4 General] emperorHadrian:
The hardware already was there. Only the software came later, introducing Knox. At the same moment, the Knox-aware bootloader was also inroduced, making it impossible to go back to the previous version.
[Galaxy S 4 General] justanpotato:
Oh. this clears up a lot. thanks.
[Galaxy S 4 General] omegfa:
it's not just no warranty

deep sleep and many things will be problems after unroot your device and install original firmware

no way go back - Samsung ideology

NOTE 5 920cd
[Galaxy S 4 General] Andriano24:
[*]Warranty Void is no counter, it is a flag (0,1) it was never seen 0x2 or so

DAMN WHY MINE IS 0X020C??????????
[Galaxy S 4 General] :
It's blown up ;)
[Galaxy S 4 General] StoneyJSG:
There's an app on the play store called knox reset premium. It costs a ridiculous $60 or so and is supposed to reset the counter back to 0x0. Some people say it works, others say it doesn't.
[Galaxy S 4 General] Indha Lezzio:
Impossible

Enviado desde mi GT-I9515 mediante Tapatalk
[Galaxy S 4 General] StoneyJSG:
Not really, here are some links:

https://xdaforums.com/android/gener...WB5kQFggLMAA&usg=AOvVaw1XU1ZQZsA1iqfmZHxf-hVl

https://www.google.com/url?q=https:...WB5kQFggZMAM&usg=AOvVaw1uki5wdksO5AQ_7cAh27w_
[Galaxy S 4 General] goatfatdoc:
what exactly happens when this gets tripped? like from reading this thread it sounds like it voids your warranty and makes downgrading back to stock bootloader and ROM impossible but itd be good to know exactly what side effects happen
[Galaxy S 4 General] Simulta:
Read here:

https://xdaforums.com/showpost.php?p=81707003&postcount=57
[Galaxy S 4 General] ksk1998:
I own galaxy note 8. In download mode it shows Warrant void=1 (0x000) But my knox is not working. What's the solution for this?
[Galaxy S 4 General] :
Warranty Void=1 means it's tripped :p
[Galaxy S 4 General] lolvatveo:
I assume there is a read-only file or partition that read and set the warranty knox bit. and it can only be modified by something and only once. you have no way to access it, it has nothing to do with how you flash or modify the firmware, nand memory has a dedicated part for knox warranty bit. anyway, there are many ways to do knox warranty void, you are just a user and you won't be able to have real full rights to your phone.
[Galaxy S 4 General] dave678:
Because you're using Eng boot root that's why Knox isn't tripped and that's not really real root.
[Galaxy S 4 General] nfsmw_gr:
Damn...:/

EDIT:

So for example this guide here:

http://www.youtube.com/watch?v=2FXULkN5rAU

Is fake?

Because in the end the counter got back to 0...
[Galaxy S 4 General] geek78:
Triangle Away can't help you for the Knox Flag. The video show you that triangle away can reset the flash counter.
[Galaxy S 4 General] Hawke84:
Its believed (but not confirmed) that the Knox flag is controlled by an EFuse and once tripped its gone forever. hopefully this isnt the case but thats what Chainfire is suspecting...
[Galaxy S 4 General] .NetRolller 3D:
Didn't someone state that replacing the eMMC removes Knox? In that case, it's probably not an efuse, but another bit in a hidden partition (perhaps mmcblk0boot2).
[Galaxy S 4 General] Turkdale:
I did use TWRP recovery because I wanted to use another recovery once instead of CWM but I like TWRP very much :) It's secretly better then CWM, more functions and also well organized.

And about the rom: http://xdaforums.com/showthread.php?t=2341026

That one am I using now without any bugs and it's also battery friendly en getting updates very fast!

Goodluck and PM me if you have issues of questions about installing or else.
[Galaxy S 4 General] nfsmw_gr:
Guys, thanks but that's not what I was asking.

I know the knox flag cannot be reseted (until now of course).

I'm just wondering if you flash stock and you reset everything else that can be reseted like current binary and system status with triangle away, will Samsung fix your phone or not?
[Galaxy S 4 General] spinky360:
Hi,

Software to add efuse is called ***** but couldnt find button to remove so investigating now and eMMC replacement 100% downgrade.[/QUOTE]

This is a PM from an guy that knows what is taking about. That's why I said that let's skip the questions like ... It will flag....., I did this and I'm not flagged... Or my grandmother update her galaxy s4 and now she's in haven with Knox enable.

Let's keep it as a research one

---------- Post added at 07:48 PM ---------- Previous post was at 07:40 PM ----------

I answered few times till now

They refused my phone to warranty...

So I had to kill my phone so my insurance will me new one

But this I think I'd depends from what company you have the unit
[Galaxy S 4 General] j0sefuz:
Hi all. Where can I find this "0x0 / 0x1" thing?

All I can see in my i9505's download mode is these:

ODIN MODE

PRODUCT NAME: GT-I9505

CURRENT BINARY: CUSTOM

SYSTEM STATUS: CUSTOM

CSB-CONFIG-LSB: 0x30

WRITE PROTECTION: ENABLE

Sent from my GT-I9300
[Galaxy S 4 General] MattBooth:
Yes, it is flat out wrong, because those people should've ought back and got what they are entitled to by law.

I personally know one person who did that, since the repair centre wanted to charge him for a LCD replacement and a new board, since ti was rooted and they said it had to be done. After quoting directives to them and it getting to Samsung (because the service centres are contractors, I can't stress this enough, unless they're in Korea, they aren't officially Samsung) he only had to pay for the cost of the LCD, not the new board they fitted, in error.

Having a rooted device absolutely does not void a hardware warranty. If you are refused your statutory warranty then the law is being broken, if you do nothing about it, they will get away with it. The issue is many people think rooting voids the warranty, don't know about the laws in place, and accept that fate. I tell everyone I know the opposite!

S4 related....

I just unboxed a brand new S4 tonight. I'm on the MGA firmware. So, so long as I don't use Odin or OTA (which I never do) I'll be dodging this stupid KNOX bullet? (I see the irony, but less hassle is better).
[Galaxy S 4 General] Swanseatom:
Sounds like a silly question but just trying to get my head around this knox stuff still.

If i have a DMH8 stock new s4.

And i flash the exact same rom over the top via odin, will this trigger knox flag?
[Galaxy S 4 General] _Sofos_:
Your fw still doesn't have Knox enabled, that means you are lucky. Do not update to a newer stock fw that includes it.

Search xda to see which fw's do have knox enabled and read a few pages back before ask a question that has been answered already a gazillion times.

[MENTION=3443334]Kryten2k35[/MENTION] Yeah, pretty much that's it, that's how you can avoid it.

About the warranty.. a month ago i went to a service center (ofc Samsung recognised) cause my S2 mic didn't work. My phone was with stock fw (i took a nandroid backup and flashed a stock fw through Odin) BUT i forgot to reset the counter.

They called me after an hour saying that i had to pay 260 euro for motherboard. I went over and they told me that they have orders from Samsung that say

- Any change to those counters or if the device is rooted or if it has unknown Sw, automatically voids the warranty -

I told them that all i wanted was a bloody mic change and i would even pay for it (screw the warranty) BUT NO, even if my warranty was gone, since my counter was showing x1, they had orders to change my bloody Motherboard. So.. i went with a freaking JIG and resetted the counter in front of them and said "There you go.., now do it for free!!"

~ Happy Customer! ~

Anyway, atm my hopes are based on advanced Dev's to find a way to deactivate this switch, otherwise i'm prolly done with Samsung.

Shame cause it's been a hell of a ride.

Sent from my S2 using TT2.
[Galaxy S 4 General] spinky360:
http://youtu.be/JmvCpR45LKA
[Galaxy S 4 General] MattBooth:
I've avoided that quite well then. Sorry for all you guys who aren't as lucky :(

I got it at 7pm, by 8:30pm it was running the GPE ROM :D
[Galaxy S 4 General] cameracartwright:
Just curios if I can flash in custom recovery a pre xxudmh8 stock rom then remove root via odin on my pc? To enable am unlocked bootloader?