yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] Eric-Mod:
#Knox

Hi guys!

Recently my GS4 was having bad battery life, in 6 hours it was almost empty and I had to recharge it, of course. I was running KitKat so I thought it might be the new Firmware but yeah after some days I got pissed off and sent the Device to Samsung. (Meanwhile I was using a Xperia Z.. Great device :D)

After some weeks, I got my Device back and the store guy said, I got a new battery and a new charging port. After I came back home, I turned on the device and noticed, Android 4.3 was installed.

What does this mean? Well, like I mentioned, I had KitKat installed > sent it to Samsung > got it back with a new battery and charging port > got Android 4.3. The store guy didn't said that I've got a new board or eMMC so, Samsung must have downgraded the Firmware! My Knox Warranty counter also was reseted. Before I had 0x1 and now 0x0. Weird eh?

IMEI was also still the same but I know that I can be changed but it seems like, a Knox Firmware/Bootloader can be downgraded?
[Galaxy S 4 General] CleanSolidness:
If you have changed your motherboard installed 4.3

Me too was changed motherboard and knox flag on my phone was reset

We're not sure whether there were cases when reset Knox, but without changing the motherboard
[Galaxy S 4 General] Braccoz:
nobody can downgrade the bootloader. (well, theoretically samsung could but they would have to re-sign an old bootloader with the new keys and then somebody could dump it and it would be doable for everyone... so no)

you got your mobo replaced, easy as that.
[Galaxy S 4 General] Spere:
When sending phone to repair, make some mark to your motherboard --> you'll then can easily check if MB was changed or not :)
[Galaxy S 4 General] Eric-Mod:
You may be right, but like I said, I only got the battery and charging port replaced so, I don't know. Maybe Samsung or the store guy 'lied'. :D
[Galaxy S 4 General] coolkoushik07:
Use phone info*samsung app and check if itnis saying refurbished or not..

Sent from my GT-I9500
[Galaxy S 4 General] Eric-Mod:
Is this is a code to put in the dialer? If yes, tell me :) .

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 General] junjie5626:
KNOX

I used to work at an authorized Samsung service center and I was informed that there was no way of resetting the KNOX Counter unless the motherboard is replaced. Once the KNOX Counter is tripped [in my country] the set would be deemed rooted/tampered and the customer would have to pay for the repair cost. Hope this helps.
[Galaxy S 4 General] bungadudu:
You can use this - http://xdaforums.com/showthread.php?t=2709931

// => they've probably changed your motherboard :|
[Galaxy S 4 General] Eric-Mod:
Ok my Phone says it is a refurbished one

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 General] NEOAethyr:
Has anyone thought about perhaps the flag is hidden on nand as a bad block?

The nand controller built into the internal sd chip it's self when asked to access data from the os as an mtd-block won't tell the os about that section of data because it's listed as a bad block.

That's what I was thinking anyways, that's how I would doit.

On these spyware usb sticks you hide spyware that way.

The computer see's 2 storage devices, 1st a virtual cdrom drive, and the 2nd as user storage.

The virtual cdrom has a autorun inf file which usually runs automatically on many windows systems and installs it's self as a device driver service getting low level hardware access and able to root it's self into the os install without detection.

If the chinese and the russians are doing this with usb sticks they pass out during electronic and business expos, then why can't samsung do the exact same thing for the secret service and such?

I'm pretty sure that's what this knox crap is for, so they can tell that the system has been modified and should not be allowed to run certain apps and such.

I mean shoot, how many videos are there out there of people smashing the heck out of there phone for the heck of it?

We would just need 2 phones, one stock 4.2.2, and one upgraded to 4.3 or 4.4.2

Then rip off the nand flash rom and build a programmer for it to read the data manually.

There's gotta be a way of interfacing to it though easier.

I gotta think about this for a min, I don't know off hand really.

What exactly trips knox?

An odin flash?

Or a modification internally, like a root exploit?

Say you install a special apk that is able to get either system access or root access (online, from unknown srcs).

And then is able to perma root it.

Does that cause knox to flag?

Perhaps instead the app deletes all knox files.

Or is it just a screw up on odin flash?

If it's caused by odin, then it should beable to be checked out with a usb sniffer.

If it's not, then I bet it has something to do with how the nand flash chip's controller works.

The controller chip is a cpu, and it's able to spoof data if it was programmed to.

Say for ex., phone is booting up and it checks certain data structures in user area.

If they aren't intact, it sets a flag in ram.

Or maybe a portion of the rom data is modified to a 1 bit, say 1 bit is flipped on something while it's being read out.

I'm just saying, it's probably not as hard as we think it is.

The reason why samsung replaces the board is probably because it's easier then replacing the rom chip.

http://www.youtube.com/watch?v=8JnrYKhP31w

Edit:

I think we need dumps of the bad block table from ram from 2 diff phones.
[Galaxy S 4 General] phr3ncj:
ppl, pls read the entire 3d and go learn about rpmb on google and stop randomly talking about hidden flags or bad blocks or whatever. sammy uses a emmc4.5 feature called rpmb, it's a write-protected partition that needs a key to write on and here there is the indication of which set of qfuses to use for indicating the knox status.
[Galaxy S 4 General] GrayGM:
Temporary warranty bit reseting

Hi Community.

I’m finding something interesting.

Like you know, in the Samsung “Boot Recovery Guide” figured some TP (approved entering to SD card boot mode).

When I give a logic 0 to this TP (not logic 1 like wrote by Samsung), phone enter to flash mode with warranty bit 0.

You will connect the phone to PC, but flashing stopped immediately after start :(

Resetting phone set the warranty bit back to 1.

A TP is (IMHO) a NAND_CMD line between AP and Flash.

Maybe this knowledge helpful?

Any ideas about counter permanent reset?

P.S. Sorry about my English.
[Galaxy S 4 General] spinky360:
And if you are flashing stock ?
[Galaxy S 4 General] GrayGM:
Hi,

All my attempting to flash (with Odin) any firmware or parts of them, failed in start of process…

PC recognize device (com port), but immediately after starting communication - Odin show error.
[Galaxy S 4 General] spinky360:
Hi,

All my attempting to flash (with Odin) any firmware or parts of them, failed in start of process…

PC recognize device (com port), but immediately after starting communication - Odin show error.[/QUOTE]

Post a screen with the error
[Galaxy S 4 General] Mussels84:
if you're flashing a rom older than your bootloader it will fail, (stock 4.3 after 4.4 bootloader installed, for example) you cannot odin flash to an older version.
[Galaxy S 4 General] Ryanrioz:
ya.. need Odin V 3.07 n tick that **** update Bootloaders... :)..

Send my signature phone via XDA-Premium with bad grammars
[Galaxy S 4 General] Alfablos:
So It is possible to downgrade the bootloader???

Anyway, guys, what's the situation? Knox is bulletproof and will be from 4.4 on? I was thinking of buying the upcoming Note 4 (as long as It doesn't have a 5.9-6 inches display, that would be way too much), but as far as I can see here Samsung won: knox is bulletproof.

Am I wrong?
[Galaxy S 4 General] pitastrudl:
No you can't.
[Galaxy S 4 General] Alfablos:
:(

Anyway, what about the rest?
[Galaxy S 4 General] pitastrudl:
the new knox is supposed to be better at protection so it would be even more impossible to come crack

Sent from my GT-I9505
[Galaxy S 4 General] simonbigwave:
I hear what u say and agree. Jus to add IMO Knox was added as an attempt to get into the enterprise/corporate sector (to get more revenue, similar to BlackBerry before who were strong in corporate sector due to" security" capability ). So seems Samsung has taken a preference to sell to large corporations instead of developers/modders. For me, i am not worried about knox as i rooted etc as soon as i got my phone.

For me,

I would like to see this "research" thread find out how to find a hack for "switching" knox 0x1 to 0x0. There must b a way. I come from engineering background way of looking at it. If a motherboard change does it then what "specifically" was changed in the motherboard? Hardware or bios type software? A capacitor? There must b one (or two) items that we can hack/change. Thats how, IMO this thread can really help. Find a hack. And surely there are many great hackers out there still on xda? I always hear people say it is impossible. NOTHING is impossible. We just havent "researched" it yet. Keep up the good work guys. Many are waiting your success.
[Galaxy S 4 General] E:V:A:
This is a thread from hell! This Knox garbage keep coming back to haunt me, like an already dead zombie. But what's more annoying is that most people try to insist they will be able to revert Knox bit, which is impossible, as long as it is a true Qfuse located on the chip dye. (Shall we believe the Qualcomm marketing propaganda, while for other devices, perhaps not.)

But I am also annoyed by the Knox bit, perhaps just because it's from Samsung who are getting on my nerves for being such a55holes to all developers who made them big in the first place.

So why don't you spend all your research time trying to avoid triggering the Knox bit in the first place!? That would surely be more productive, and can probably be done from shell with non flashed root access. (i.e a real vulnerability.) But then again what do I know, I'm trying NOT to follow this thread...
[Galaxy S 4 General] simonbigwave:
LMAO
[Galaxy S 4 General] Ryanrioz:
yeah yeah.. whatever for me

just ignore it n go for flashing time :P

Send my signature phone via XDA-Premium with bad grammars
[Galaxy S 4 General] GrayGM:
Post a screen with the error
[Galaxy S 4 General] GrayGM:
Post a screen with the error

I try flash some bootloader (4.3) and have error to.

It's no version trouble...
[Galaxy S 4 General] pRo_lama:
Did you ever read tutorial how to flash bootloader ? Because you need to correctly set up your ODIN.
[Galaxy S 4 General] GrayGM:
Pardonne, you speak to me?

Maybe we not understand one at other.

I know how flash boot, and i know how to re-flash boot with SD card (I read the FM :cool:).

What i trying to say very simple - I find (accidentally) when give logic 0 (and not logic 1 - like say to do in TFM) you give some interested state.

I think: "Maybe it's been usable for Community". And post this information.

It's all :cool:

P.S. Secondary - sorry about my not perfect English... :cowboy:
[Galaxy S 4 General] pRo_lama:
Sorry for my post. I have wrong understood your post. My bad.
[Galaxy S 4 General] kevin168:
hello,

which firmware did you use to fix sound problem using 4.2.2 ?

could you help to upload it?

regards,
[Galaxy S 4 General] Bordo_Bereli51:
I already said, sound is bricked
[Galaxy S 4 General] kevin168:
oh sorry i'm miss reading it,

i thought that was fixed :)

okay then i've also same problem with you, even tried to downgrade the bootloader using XXUDMI8 (known 4.2.2 version with KNOX)

but phones refuse to switch on after it, only detected as QHSUSB.

need to recover my phones agaiin tomorrow using emmc tool

regards,

kevin168
[Galaxy S 4 General] spinky360:
I

No. Try a full stock rom 4.4.2. And download the PIT file and hit a repatriation to. Good luck
[Galaxy S 4 General] Ryanrioz:
not possible buddy

IMO, Samsung was started to inject that poops of the knox (which is started on MJ firmware to ND firmwares... :) )

the bl can't downgrade thou :) n just put the latest firmware w latest BL as well

Send my signature phone via XDA-Premium with bad grammars
[Galaxy S 4 General] Alfablos:
Ok guys, I'm one step away to solve the mistery: I wrote an email to Samsung (Italy). I told them that I bought an used Note 3 and that my cousin warned me about the knox counter being 0x1 even though Current Binary and System Status are respectively "Samsung official" and "Official". The operator warned me that every change in the software would void my warranty AND

APART FROM KNOX, OTHER "PARAMETERS" ALLOW ASSISTANCE CENTERS TO VERIFY WHETHER THE SOFTWARE HAS BEEN MANIPULATED OR NOT

What are they referring to? As far as I know there's no flash counter, I mean, I can't find It in download mode as I could on my S3. I've read that [MENTION=631273]Chainfire[/MENTION] 's updated Triangle-away to work on Note 3 4.4.2, but where is the counter?

AND the operator wrote

"ONCE VERIFYED THAT KNOX HASN'T BEEN TRIGGERED BY USER MANIPULATION THE WARRANTY IS STILL NOT VOID

So what could trigger KNOX other than rooting and flashing non-stock?

So, from my point of view, there is only one question to be asked: HOW TO BRING BACK THE SOFTWARE, EXCEPT FOR KNOX (which, as It seems, can be accidentally be triggered not due to user manipulation), SO THAT SAMSUNG RECOGNIZES IT AS COMPLETELY STOCK?

Now, we have 3 lies to tell:

1)Flashing custom ROM, so that Binary and System Status go back to Official = "I didn't flash anything" (Part 1)

2)Reset flash counter (but where is it?!?! It's not in Download Mode anymore) = "I didn't flash anything" (Part 2)

3)"Oh gosh, my cousin found this thing called KNOX which seems to be not ok! What is that??"

1) and 2): are these the parameters that allow assistance centers to see if software was manipulated OR THERE ARE OTHERS?

If It's possibile to solve the first to "lies" then knox shouldn'n be a problem.

But please, tell me where I can find the FLASH COUNTER :(

I'll wait for your replies before writing back to Samsung telling the that Flash counter is 0 and, again, Current Binary and System Status are respectively "Samsung official" and "Official" and asking again if my warranty is void. (So be quick, I can't wait :D)
[Galaxy S 4 General] lukacs.attila:
Once knox is tripped, your warranty goes away. Plain as simple.
[Galaxy S 4 General] Alfablos:
As It turns out, It's not. Besides more than one repair center told me the opposite. What I want is the official position of the company. Anyway, do you know where the flash counter can be found on the Note 3?
[Galaxy S 4 General] lukacs.attila:
Nope, but I'm pretty sure that checking Knox status is their first thing. If tripped, then they refuse to repair your device under warranty. (Think about with their heads for a moment :) ). Anyway I don't know Italian law, but the above is the case here in Hungary (and I'm pretty sure that Samsung's internal repair center policies are the same).
[Galaxy S 4 General] Alfablos:
As the customer service told me, if 1 knox is tripped (by don't know what, but It's not related to flashing or modding. Maybe a failed update via Kies) but 2 the "parameters" tell you have never modded anything... Warranty is not void.

We need to Know what this parameters are.
[Galaxy S 4 General] jaswinky:
Here you can find a Spanish guy whose warranty has been rejected because the 0x1 Knox. He posted the report from technical service and yes, the report includes a screenshot of the Knox warranty void state...

http://www.htcmania.com/showthread.php?p=13502059

Enviado desde mi GT-P7510 usando Tapatalk 2
[Galaxy S 4 General] Slicktune:
I definitely would have played the "race card" and complained about how they rejected it because I'm Spanish ?.. and expecting me to believe that they are rejecting it because of a 1 digit text? 0x0 - 0x1, followed by playing the "dumb card"..? like Idk what this Knox you speak of... and it's really because I'm Spanish. .???
[Galaxy S 4 General] NEOAethyr:
That's pretty awesome of you, maybe I should play the race card more often too ^^. :D
[Galaxy S 4 General] simonbigwave:
Just share From Chainfire http://xdaforums.com/showthread.php?p=52293397
[Galaxy S 4 General] sauron82:
If you buy a used device you're not entitled to a warranty, even if it hasn't expired. Warranties aren't transferable with ownership.

Click thanks if I helped you
[Galaxy S 4 General] coolkoushik07:
Warranty issue differs from service centre to service centre.. some service centre personnel even dont know what is knox.. so if u r rejected because of knox then try to contact with another service centre.. here in India samsung call centre guys confirmed me that they dont know anything regarding knox warranty void.. it can only be stated by service centre personnel..

Sent from my GT-I8552
[Galaxy S 4 General] Alfablos:
It is, if you have the sale receipt...

Anyway, does anybody knox somerhing about the FLASH COUNTER on Note 3?
[Galaxy S 4 General] jody2k:
Since I flashed the new bootloader my phone doesnt stop hanging for 2-3 seconds every 15seconds...

Also i tried several firmware's and did full wipe's, other kernel's nothing solved this problem

Hope you guys can help me out... i there any way to flash it to a older bootloader or to solve this problem?

I cannot use my phone anymore bcause its instant freezing

my phone is I9505
[Galaxy S 4 General] NEOAethyr:
[MENTION=2557864]Slicktune[/MENTION]

You do realize I was being sarcastic right ?

If you pull that race card to much you may run into someone less forgiving then I am lol.

But either way, maybe I put a smile on your face hehe :), that's cool (and I actually mean that).

Anyways I'm gonna end this offtopic post of mine before I make a scene.

88 :)

[MENTION=4122024]jody2k[/MENTION]

Hmm, the 1st thing you normally wanna do is flash a recovery image, like philz touch for example.

Then backup what you have (and copy that backup to your computer for safe keeping).

Then go on to flash kernels and roms.

But at this point, if you've tried flashing a stock rom with odin and still can't get it to boot.

You're gonna probably have to take it to someone that has a jtag device, or to a service center.

It's pretty much important that you take your time and be careful of what you do with these things.

1 wrong step and you'll hose the phone.

It might help to mention how you have been flashing it until now.

Someone might know a fix.
[Galaxy S 4 General] jody2k:
Thx for your reply, I tried to flash with stock firmware but doesnt work (it changes nothing when doing that)

I can flash any custom firmware and I can boot it, but when working on the phone the apps are just FC and freezing whole the time

edit: I seem to manage it flashed to stock firmware, will test it further
[Galaxy S 4 General] gencho81:
So there is a way to reset knox on exynos note 3. Can we expect to have solution for Note 2 Exynos?
[Galaxy S 4 General] Alberto96:
Will my custom bootloader status (4.2.2) be reset if I flash my phone with a 4.3 or newer stock rom using Odin and repartition?

I just discovered that my headphones jack is broken (metallic sound, bad quality) so I need to send it to warranty.

Thanks in advance

P.S. : I have galaxy s4 i9500 exynos
[Galaxy S 4 General] Bordo_Bereli51:
No it will not work

if you want to reset it try this http://forum.gsmhosting.com/vbb/f67...bit-0-solution-inside-first-ih-world-1776265/ only works for galaxy s4 exynos based, backup efs and imei first (imei can be backed up via qpst ( put the phone in diagnostic mode type *#0808# and type at RMNET + DM + Modem), google the rest
[Galaxy S 4 General] rgshah3:
Just flash a 4.2.2 rom and wipe data/cache using the stock recovery and it'll be back to normal

You don't want to upgrade your bootloader
[Galaxy S 4 General] Alberto96:
I have 4.2.2 bootloader not 4.3 + i don't to open my phone.
[Galaxy S 4 General] Alberto96:
Are you sure? Bootloader status will say official just doing this little thing?
[Galaxy S 4 General] rgshah3:
Yes! Sometimes it even works without formatting data/cache! Just a firmware reinstall works! My service center just checks for the status to he official and doesn't care about the knox warranty counter so I always do this before going to them
[Galaxy S 4 General] Alberto96:
No knox here. BTW, I just discovered that my headphone jack works with s4 stock headphones. The bad thing is that s1 headphones were working fine but now they aren't -_- So warranty isn't anymore need :)
[Galaxy S 4 General] usju:
Does anybody knox something?

Well played...:cyclops:
[Galaxy S 4 General] mazbot:
My baseband is 4.2.2 Knox free, last time that I flashed a stock 4.2.2 knox free via Odin over miui or your cm, everything went back to Official. System and binaries. Just if they update in warranty will be a problem.

Enviado de meu GT-I9500 usando Tapatalk
[Galaxy S 4 General] Bordo_Bereli51:
i thought you was on the new bootloader
[Galaxy S 4 General] Alfablos:
Well, if someone sells you something which is still in warranty it MUST come with the sale receipe, so that if something goes wrong you can go and claim free repair (for build issues of course).

What about the flash counter on the note 3? :(
[Galaxy S 4 General] sauron82:
If you read the fine print on the warranty card, used device aren't subject to warranty. if they don't know you bought it used, then you're fine.

Click thanks if I helped you
[Galaxy S 4 General] Alfablos:
I'd never tell them. Why should I? :)
[Galaxy S 4 General] sauron82:
I'm not saying you'd tell them. But if they figure it out then they'd refuse you service.

Click thanks if I helped you
[Galaxy S 4 General] Alfablos:
How could they figure out?
[Galaxy S 4 General] 012512:
hello, how about if I didn't open the knox application? Will it still trigger the warranty void? note that my phone doesn't have a warranty. Just Store warranty even it is brand new. I saw the warranty card, it says "samsung european BLOCK warranty (I feel like this is not an International warranty). I just don't feel using it as it is just another "bloatware" on my phone.
[Galaxy S 4 General] mazbot:
Simple answer: will void. Knox void is related to flash a custom kernel, recovery, ROM... But knox apps will only work if knox trigger is not activated.

Enviado de meu GT-I9500 usando Tapatalk
[Galaxy S 4 General] 012512:
So in short if its triggered i can't use that app. Alright
[Galaxy S 4 General] Vaira:
I cannot understand what's that hustle and all those discussions about KNOX!

The only thing you lose is as CLEARLY displayed: KNOX warranty void is 0x1 = true.

Means Samsung does void warranty of KNOX security concept. Means you cannot (probably never) use KNOX.

That all has NOTHING to do with the warranty of the device itself. Samsung never claimed that the warranty of the device should be void.

IF your seller is telling you stories and refuses RMA then insist on your right's!
[Galaxy S 4 General] CleanSolidness:
It is very rightly said

There's nothing to talk about Knox

Everything is clear

There is no solution for removal

And that's nothing to talk
[Galaxy S 4 General] Vaira:
I'd not say that there will be never a solution to re-set the flag at qualcomm devices, but the discussions about the device's warranty are useless as it's clearly related to KNOX itself.

There is a flaw at the boot sequence: http://blog.azimuthsecurity.com/2013/05/exploiting-samsung-galaxy-s4-secure-boot.html

Which could be used as an approach to re-set the flag / to avoid to trigger 01....
[Galaxy S 4 General] CleanSolidness:
That there was published a year ago

S5 now available

Will come and S6

I do not believe Samsung does not develop and work on Knox

so custom developers lost here, Samsung won this game