yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] Tob3z:
Hi there wondering if anyone can help me.

I have this device and it was bought second hand. It's for my sister and I need to SIM unlock it. I can't seem to complete the dialler code process and I think it's because I am running the newest stock version 4.4.2.

XXUGNI2.

Mobile Oden says it does not work with 4.4.2. So I am getting stuck at process 8 of the guide. All I'm really want to do is unlock the phone and get the newest version of the software on or cyanogenmod as like I said it's just for my sister.

Any help would be appreciated thanks.
[Galaxy S 4 General] peppe130:
Mobile Odin works perfectly with 4.4.2 firmwares.. Where did you read this?
[Galaxy S 4 General] peppe130:
On 4.4.2 works properly, confirmed
[Galaxy S 4 General] Tob3z:
Ah ok well I will just carry on with the steps then. Can I use the lite version of odin mobile?
[Galaxy S 4 General] peppe130:
Yes but you need to download manually an addon
[Galaxy S 4 General] zapyx2003:
Hi!

Thank you for all the great work you do and the help you provide to us!

However I am the biggest noob from this world and for the first time I`m

having a samsung smartphone (S4 I9505). I want to root my device and I

downloaded in my computer almost all the programs you indicated....

And now I am stucked :(

So please help me with the following steps:

1)Where I install Towelroot: into my computer or my phone?

2)Odin 3.09 I have to install on my computer. Right?

3)Same question (like in the first case): where I install the GNF1 100% stock kernel for I9505:

into my computer or my phone?

4)Ok. Let`s see if I understand:

- I simultaneous press vol down=power+home keys to my S4,

- I start Odin 3.09 on my computer,

- connect my phone to the computer,

- I check for auto reboot+F.reset time into Odin,

- I upload the tar.md5 kernel where is AP

and then I press start button into Odin?

5)Run Towelroot app and tap "let it ra1n" I`m pretty sure is into my phone... (i hope i`m not

mistakening)...

7)After I download my original kernel, do I have to do the same steps I am doing at point 4 (but with GNG8. tar in my case)?

8)Download and install SuperSU app I know I have to do it on my phone...

11)Do I have to copy Knox Removal Script into my phone (internal memory or sd card) like

it is (archive) or do I have to unzip it first into my computer?

14)Where I press on "Flash firmware"? into Mobile Odin or Odin 3.09?

I am sorry `cause I am asking probably some very simple questions but I

am a great noob and afraid not to brick my phone.

Thanks again for your patience!
[Galaxy S 4 General] peppe130:
1) Into the phone.

2) On your computer.

3) GNF1 in Odin on your computer.

4) Yes.

5) Yes.

7) Yes.

8) Yes.

11) Yes, don't unzip.

14) Mobile Odin.

:)
[Galaxy S 4 General] felix_w:
...precision answering....

:p:p
[Galaxy S 4 General] zapyx2003:
A million thanks for all the help!

Now I have root acces with knox 0x0, just like you said.

I am absolutely happy.

Do you also recommend a hard/simple factory reset now?
[Galaxy S 4 General] peppe130:
No, hard reset isn't necessary ;)
[Galaxy S 4 General] Galaxy X7:
Does anyone know how Samsung does it?
[Galaxy S 4 General] peppe130:
No..
[Galaxy S 4 General] DrTomash:
Not jet I hope;)
[Galaxy S 4 General] meldonn:
During first attempt to install GNF1 100% stock kernel, it didn't like from either front usbs and refused to write. After benig soft bricked for couple hours, I figured to test out yet another usb slot from behind and it started to work out.

Currently using Kernel_Stock_GNJ8.tar, installed supersu, mobile odin lite and mobileodin flashkerner, but ended up hitting paywall. Mobile odin lite doesn't support ota/update zip or everroot features on lite (attached screenshot of it). Is there some other program that features necesssary things or is there other method than using mobile odin?

edit: extra question, exactly what doI benefit for removing knox? Since I've already su access, shouldn't it be all fine as it won't be triggering anyway, right?
[Galaxy S 4 General] zele35:
Hi.

This tutorial is very usefull since this seems to be only way to not triggering knox.

I have only one question: after gaining root will a debloating by deleting apps through root browser trip knox flag?

Thanks in advance
[Galaxy S 4 General] peppe130:
You need Mobile Odin Pro.. Removing Knox should avoid random reboots

Hi, deleting apps you won't trip Knox flag
[Galaxy S 4 General] zele35:
Working like a charm

I followed Your steps exactly and it worked like a charm.

Only thing i have to add is that i tried it without SIM and then step when clicking on make it rain couldn't be executed because it needs a working internet connection.

I have maybe a silly question but if i install twrp will the knox counter be triggered?

Another thing is if i wan't to flash custom rom and do not have custom recovery only way to flash it is via mobile odin? (does it triggers a counter?)

Sorry for so much question but last time i triggered knox on sold s4 and i dont wanna do it again...:D

Thanks in advance,

BR
[Galaxy S 4 General] peppe130:
If you flash a custom recovery, you will trip your Knox flag.

If you flash a custom kernel, you will trip your Knox flag.

If you flash a custom ROM by following the guide in my signature, you will not trip your Knox flag :)
[Galaxy S 4 General] Pfeffernuss:
:confused: Flashed many many many custom kernels and recoveries and Knox still isn't triggered.
[Galaxy S 4 General] peppe130:
Are you sure?! Hahahah Knox 0x1000
[Galaxy S 4 General] Pfeffernuss:
Of course. Kernels and custom recoveries do nothing.
[Galaxy S 4 General] zele35:
Ok. Now I'm confused. :confused:

All i wanted to do is clean up stock rom and make a backup through a recovery so if anything goes wrong i can restore it.
[Galaxy S 4 General] peppe130:
Since you are so expert, make a video about flashing custom kernels/recoveries without tripping Knox and share it on the forum.

You can't flash any custom kernel/recovery and you can't make a backup via recovery. I'm working on a script-based tool to make nandroid without tripping Knox.
[Galaxy S 4 General] zele35:
You can't flash any custom kernel/recovery and you can't make a backup via recovery. I'm working on a script-based tool to make nandroid without tripping Knox.[/QUOTE]

Patiently waiting...:)
[Galaxy S 4 General] Pfeffernuss:
The condescending tone almost made me not answer at all but hey, that's XDA I guess.

Running MGA baseband, TWRP 2.8.3.0, Knox simply not triggered. Android 5 GPE Rom installed. All going well.

Flashed all TWRP's since day one until now. Flashed tens or maybe even hundreds of kernels. Knox still not triggered.

Don't really understand what's so amazing about that.
[Galaxy S 4 General] peppe130:
So you have the old bootloader? The old bootloader doesn't have the Knox flag
[Galaxy S 4 General] zele35:
Just to update.

I have succesfully deleted all the bloat that i wanted and reboot normaly.

I have flashed a custom s5 tw launcher with mobile odin as You described in Your other topic and everything went smoothly.

Thanks for the great work!
[Galaxy S 4 General] jioleight:
im thinking of upgrading my bootloader, is it okay to flash directly the new bootloader via odin (of course) or it should follow a specific process? as i no longer care about knox since my warranty is over and S6 is fast approaching, might as well trip it. hehehe.
[Galaxy S 4 General] Pfeffernuss:
True... Trying to keep that one for as long as possible. Forgot that that was the issue indeed :silly:
[Galaxy S 4 General] peppe130:
I also have the old bootloader
[Galaxy S 4 General] droidarif:
Just read this whole thread and I wanna follow your instructions to get root permission without tripping knox but had a few questions. I have rooted a few HTC devices, but that is completely different to Samsung, so bare with me please.

1. How can I obtain an old bootloader without knox for my I9505XXUFNC5?

2. Does your method really delete knox?

3. And does that mean I can then install custom roms or run recoveries without having to worry about knox?

:confused:
[Galaxy S 4 General] Pfeffernuss:
In that case flashing recovery and/or kernel will not trip the Knox-flag? At least not here, seriously.
[Galaxy S 4 General] peppe130:
You can't downgrade your bootloader.. This method simply deletes every Knox trace from /system and /data partitions.. Your Knox flag will remain untouched. You can't flash Custom ROMs, recoveries or kernels with traditional methods.. Give a look to the guides in my signature

Read above
[Galaxy S 4 General] Pfeffernuss:
So as I have flashed TWRP, GPE and a custom kernel my Knox is triggered?

Well, it is not :good:
[Galaxy S 4 General] peppe130:
You are creating confusion in the thread.. Please open a new thread and post there your questions. Please. You have the old bootloader without Knox so you don't have to care about this thread
[Galaxy S 4 General] droidarif:
Okay and is the only method to unroot it through OTA? Or should I be able to unroot it without an upgrade?

Just curious.. if I wanted to purchase another S4 what version do I need to be looking for in order to find an old bootloader or one that can be downgraded?

:thumbup: :thumbup:
[Galaxy S 4 General] SergioA:
Great guide, all went fine. Thanks a lot!

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 General] peppe130:
You should unroot by flashing the stock firmware via Odin.. I always suggest the S4 i9505 since is the most popular.. Is difficult to find an S4 with old bootloader and you can't downgrade it..
[Galaxy S 4 General] peppe130:
Nothing :)
[Galaxy S 4 General] droidarif:
Sorry to bother you.. I just wanna run this with you to make sure I'm understanding this right?

Step 3 - 4 says to download and flash 'GNF1'.. do we have to do this first, regardless which rom we have?

Step 7 is where we download and flash our actual stock kernel?

Step 15 says all data, Apps and settings will remain untouched. So nothing is wiped?
[Galaxy S 4 General] peppe130:
Step 3-4: Yes, you can flash GNF1 kernel regardless which ROM you have.

Step 7: Yes.

Step 15: Yes, nothing is wiped ;)
[Galaxy S 4 General] zele35:
And i can confirm all above since i have done it on GNG8......:D

BR, and thanks for the work again.
[Galaxy S 4 General] droidarif:
Other than deleting the knox trace is the only other thing we can do is deleting all bloatware? If so, Samsung has taken the fun out of Open source which was flashing custom roms and kernels and doing recoveries! I might consider going back to HTC on my next upgrade.. short life lived with Samsung :mad: :thumbdown:
[Galaxy S 4 General] droidarif:
When i first downloaded Mobile Odin i forgot to reboot so when i tried opening it it asked me whether to grant SuperSU Access or Deny. I pressed deny and closed it and realised I forgot to reboot, so did that but found a SuperSU notification saying I needed to update the binary. Ignoring the message I tried opening Mobile Odin again which now requested to download files which it said need to flash firmwares, did that and then it said whether to continue which could make me loose warranty bla bla but cancelled and thought best I ask what to do, as I wasn't sure.

What do I do, continue and run the script, or update binary first? :confused:
[Galaxy S 4 General] peppe130:
Update the binary in normal mode and the flash the script
[Galaxy S 4 General] edzamber:
So do i ;)

Posté via Pyrana v44 by Alan-B

http://xdaforums.com/showthread.php?p=53646684
[Galaxy S 4 General] fear_factory84:
Is a good practice to remove all knox apks after going from GNG8 kernel to GNF1 and root with towelroot?

I fear that those apps could log remotely something or trace rooting of the phone....

Anyone did that?
[Galaxy S 4 General] achkar:
I flashed GNE8, then rooted using the manual. Now i get random reboots. What i noticed is that the blue notification LED blinks few times before reboot.. any ideas?
[Galaxy S 4 General] peppe130:
Knox apps doesn't log remotely something. This is espionage

Have you freezed Knox apps?
[Galaxy S 4 General] fear_factory84:
there is an xposed module that fixes those random reboots, I have them also on stock (not rooted) GNG8 rom...

http://xdaforums.com/xposed/modules/samsung-kitkat-systemserver-crash-fix-t2806046

Obviously I'm not sure if this is your cause for reboots... You need to capture logcats to be 100% sure.
[Galaxy S 4 General] achkar:
I think SuperSU asked me something about KNOX and i allowed it. Didn't do anything else.

EDIT: [MENTION=1712919]fear_factory84[/MENTION] thanks, i will try this and post results.
[Galaxy S 4 General] peppe130:
Is it the cause.. Install Titanium Backup and unfreeze Knox apps.. Then reboot
[Galaxy S 4 General] fear_factory84:
so you are saying that freezed knox apps cause problems?

People remove them in all touchwiz based custom roms...
[Galaxy S 4 General] peppe130:
Remove, not freeze ;)
[Galaxy S 4 General] achkar:
So, you both were right. When i installed the app I got few "crash prevented" notifications, then unfroze Knox and i didnt get any so far.

The interesting part is that i got again free 50gb for 2 years on my expired Dropbox account... and the funny part is that when i bough my S4 I got only 1 year.

Cheers!
[Galaxy S 4 General] cybertex2013:
I'm going to re-install my ROM tomorrow and I hope I could get Knox 0x0 and use other custom ROMs.
[Galaxy S 4 General] peppe130:
What is happened?
[Galaxy S 4 General] fear_factory84:
Is it normal that when I got to the towelroot step, there is a security notification that shows up?

Using adb I verified that I've got root..

However then I did other steps and goot root with knox 0x0.. nice!

I fully wiped my phone before starting this procedure to be sure. Now bye bye knox apps ;)
[Galaxy S 4 General] cybertex2013:
756

Everything is OK as far. But I want to find actually the best ROM for me and I am going to check some ROMs in next days.

By the way I could use your method to get knox 0x0. Only time is a problem. :)
[Galaxy S 4 General] fear_factory84:
Remeber that you can try only touchwiz based roms, and you have to keep gng8 kernel.

You cannot return to knox 0x0 after you get 0x1.

Personally I installed xposed and some modules.

I learnt that freezing samsung apps (pagebuddynotisvc and knox) lead to soft reboots.

You must uninstall them.

An xposed module can prevent those soft reboots and notify which app caused it.
[Galaxy S 4 General] peppe130:
Added the following kernels to the collection:

- GNG1

- GNG2

- GNG4

Thanks to [MENTION=4507636]edzamber[/MENTION] ;)
[Galaxy S 4 General] edzamber:
With great pleasure peppe, good job :)

Posté via Pyrana v46 by Alan-B

http://xdaforums.com/showthread.php?p=53646684
[Galaxy S 4 General] Elvara:
Ok now I understand why towelroot wasn't working alone anymore, I will try that, I knew I downloaded the ota update too soon...

edit : worked perfectly thank you
[Galaxy S 4 General] Trancicted:
Simple but genius technique. Rooted GNG8 successfully within 3 minutes :)

In download now:

System status: custom

Knox 0x0

Good job! Thank you so much!

:victory:
[Galaxy S 4 General] edzamber:
Now use Triangle away to System Statut official ;)

Posté via Pyrana v44 by Alan-B

http://xdaforums.com/showthread.php?p=53646684
[Galaxy S 4 General] droidarif:
Thx for the quick reply. What do u mean by 'normal mode'?
[Galaxy S 4 General] peppe130:
There are two ways to update the binary:

1) Normal mode.

2) Recovery mode.

Since you have a stock recovery, you have to choose normal mode
[Galaxy S 4 General] droidarif:
All rooted without triggering KNOX. Thank you so much!! :thumbup: :thumbup:
[Galaxy S 4 General] droidarif:
I noticed since the root, that my battery is now performing really bad. Before the root I could charge it up to 50% within the space of half an hour or less. Now it's been on charge for over an hour and im still at 12% i also noticed that it drains the battery fairly quickly whilst before the root i never experienced this.

Have you encountered this? And could this be to do with SuperSU?
[Galaxy S 4 General] ROMAddiction:
Is there any chance that this can be modified to work with other models?
[Galaxy S 4 General] SlideMouse22:
Does this method work with i9506?

Thanks
[Galaxy S 4 General] peppe130:
Yes, this method can be modified to work with other models but you need to extract the kernels from stock firmwares for your device

You need kernels for your device.. Read above
[Galaxy S 4 General] droidarif:
I tried rooting my wife's phone today which is the same as mine FNC5 but lost WIFI after I successfully rooted it without tripping knox. Switching WIFI on/off is not doing anything. What do I do to resolve this?

---------- Post added at 04:18 PM ---------- Previous post was at 03:47 PM ----------

Should I be able to re-flash the stock kernel without having to worry about knox being triggered?
[Galaxy S 4 General] peppe130:
Are you sure that you read carefully the guide?
[Galaxy S 4 General] droidarif:
Yes did everything as I did previously when I did it on my phone.

---------- Post added at 05:33 PM ---------- Previous post was at 04:39 PM ----------

Have you got any ideas what i should do regarding the WIFI?

Should it be possible to re-flash the stock kernel of the phone without knox acting up? And should I delete SuperSU or leave it installed on the phone?
[Galaxy S 4 General] droidarif:
Are you referring here back to step 7 in your instructions? And if so, do I delete SuperSU and any other app that requires a root before doing this?
[Galaxy S 4 General] peppe130:
Yes, I'm referring to step 7.. Download from there your original kernel and flash it
[Galaxy S 4 General] droidarif:
Do I delete SuperSU before the flash?
[Galaxy S 4 General] droidarif:
Ok its fine now.

I know where I went wrong the first time. Whilst trying to root it with the kids playing in the same room making alot of noise, wife distracting me I forgot to go into the download mode at step 7. So not realising what I'm doing I tried flashing the stock kernel whilst the phone was on. To make matters worse I carried on with the rest of the steps i.e. installing SuperSU, mobile Odin etc and tried flashing the script. Whilst flashing the knox script an error message came up saying something about a password and rebooted the phone. Phone was rooted but whilst going through the explorer I noticed a note saying KNOX emulated see below picture. Anyway the flashing of the kernel from step 7 WITHOUT uninstalling the SuperSU and re - flashing the script got it rooted and got rid of the message in the picture below.

Thanks alot for the method and further help. :thumbup:

Perhaps it's good to reiterate at step 7 in your instructions to go into download mode before the flash.

Best regards

:sly:
[Galaxy S 4 General] Czech team Brno brickers:
i9505 LTE FW: NG8 WORKING

WORKING BUT I HAVE KNOX 0.1 :/ KNOX IS SELETING AND ALL WORKING NORMAL.. :¨)

my way

1) all about flash

2)after remove k nox flash back to rooting firmware and run SUPERSU instal SU binary

3) flash back to NG8

4) instal lucky patcher and S*ck all other ADS :)

thank you :) you help is one working
[Galaxy S 4 General] Sybregunne:
Wifi not working and towelroot requires internet connection... Got to find my sim now. :D

Thanks for the wonderful post [MENTION=5650065]peppe130[/MENTION]
[Galaxy S 4 General] Xanishftw:
Can i install towelroot on AP:i9505XXUEMKF

AP: I9505XXUEMKF

Baseband version/CP: I9505XXUAMDC

CSC: I9505OXXEMK3
[Galaxy S 4 General] peppe130:
Try to delete MyFiles data

You tripped your Knox flag following this guide?

Yes you need a 3G connection :)

It seems that you have the old bootloader so in theory you don't have Knox flag. Check into download mode
[Galaxy S 4 General] droidarif:
Uhm... confused here... as all is well here, regarding root. I managed to root 2 S4's without triggering KNOX.

Only problem I have atm is that I'm getting corrupted files on my sdcard. I editted the permissions file but this is not resolving the issue I'm having. Any ideas?
[Galaxy S 4 General] Xanishftw:
I have Knox Bootloader: below is whats in the download mode

ODIN MODE

PRODUCT NAME: GT-I9505

CURRENT BINARY: SAMSUNG OFFICIAL

SYSTEM STATUS: Official

KNOX KERNEL LOCK: 0x0

KNOX WARRANTY VOID: 0X0

CSB-CONFIG-LSB: 0X30

WRITE PROTECTION: Enable

eMMC BURST MODE enable
[Galaxy S 4 General] peppe130:
Not for the moment, sorry.. You can try to flash stock firmware again and re-root your phone

Ok you have Knox flag.. Update to the latest firmware available for your brand and then follow the guide
[Galaxy S 4 General] droidarif:
I don't think it's anything to do with the firmware. Googling it I found complaints abt it going as far back as 2008. Am happy with the root, just not so happy with Samsung any longer. :thumbdown: :thumbdown:
[Galaxy S 4 General] peppe130:
Or try to wipe /data partition
[Galaxy S 4 General] Sybregunne:
Finally got it to work. I was hesitant to do the knox removal at first as it deleted a lot of files. But I figured I never use the knox features anyway.

One more question though, if I install a custom recovery will it still trip the knox counter? if so would it be a good idea to flash custom rom via mobile odin? Sorry if this is a bit off topic.:D
[Galaxy S 4 General] Rekoner:
Has anyone tried to mod this to work with the i9506?
[Galaxy S 4 General] peppe130:
Yes, you will trip your Knox flag.. I think that is a good idea flashing Custom ROM.. You can benefit of many new features :)

This guide doesn't work on the i9506
[Galaxy S 4 General] krones:
all time said fail ,why?

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Removed!!

<ID:0/003> There is no PIT partition.

<OSM> All threads completed. (succeed 0 / failed 1)

i find solution ,to change cable ,thanks
[Galaxy S 4 General] _meep_:
I couldn't find my stock kernel in the repository (FNK3). I'm running on 4.4.4. Can someone give me a link to a stock kernel? Or would I be ok using the FNk2?
[Galaxy S 4 General] peppe130:
4.4.4?
[Galaxy S 4 General] _meep_:
My phone updated to Kitkat 4.4.4 over OTA.
[Galaxy S 4 General] peppe130:
This guide isn't for your device..
[Galaxy S 4 General] KAR0TTENP0WER:
once i rooted my handy, can i use triangleaway to set the counter to 0 ? or does it trip knox in any way?
[Galaxy S 4 General] JeryKing:
im tried this method on my GT-i9505 GNG8 all steps was done but my knox flag still on 0x1. one thing is really changed. in past whenever i rooted my device there is frequently restart problem in it but now all are ok :)

Please correct me if i wrong onSTEP 13 check Enable EverRoot and Inject Superuser and 3rd is inject mobile odin. and im tried only with two and inject mobile odin was uncheck. im right or wrong ???

sorry for my bad english

thanks
[Galaxy S 4 General] KAR0TTENP0WER:
once you get knox 0x1, you cannot get it back to 0x0
[Galaxy S 4 General] JeryKing:
yeah agreed count remain 0x1 and now days there is no method to reset flag, u can say this method for Knox Free Rom :)
[Galaxy S 4 General] ezek69:
hi,

and if we downgrade to 4.3, and use triangle away, and then upgrade again?

will it work?
[Galaxy S 4 General] peppe130:
1) You can't downgrade.

2) Triangle Away doesn't reset Knox flag
[Galaxy S 4 General] filipepro:
Hi,

I've rooted my s4 with this guide. Everthing went perfectly. But...

I needed to factory reset and upon fresh restart and original applications installed, I cannot have a update to S Health and I'm stuck at 2.5.4.116 . (I was with the new 3.5.1)

Is it because of root as samsung servers "see" that the device is "modifed" , that I couldn't update? Should I flash my provider original rom GNG8 (downloaded from Sammobile) with odin? Should it be done by odin on PC or MobiIe odin? If so, will my knox flag still 0x0?

Thanks
[Galaxy S 4 General] peppe130:
If you only need to switch the phone status to "Official", you can install the Xposed framework and then, using the "Cosmetic Device Status Normal Modification" module, falsify the status
[Galaxy S 4 General] NickosG:
Hi to all.Is there a way to un-root the phone if we want to bring it back to the original state? Will it trigger the knox counter if we un-root it? Thank you!
[Galaxy S 4 General] peppe130:
Just flash your stock firmware via Odin