Go Back   Android Forums > Android Phones > Samsung Galaxy S4 > (International) Galaxy S4 - All Things Root

test: Reply
 
LinkBack Thread Tools
Old October 16th, 2013, 06:49 AM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Oct 2013
Gender: Male
Posts: 22
 
Device(s): Samsung Galaxy S4
Carrier: HI (KPN)

Thanks: 1
Thanked 1 Time in 1 Post
Default Unrooting question

Currently i have firmware I9505XXUDMHB that is rooted. How can i unroot it and reset the binary count to 0?

Is removing the SU app and a factory reset enough? as i also like to make it like if booted up the phone my first time?

Advertisements
geenidee is offline  
Reply With Quote
sponsored links
Old October 16th, 2013, 07:28 AM   #2 (permalink)
Senior Member
 
dynomot's Avatar
 
Join Date: Dec 2011
Location: Sheffield U.K
Gender: Male
Posts: 1,196
 
Device(s): SGSII (GT-i9100)-SOLD SGSIII(GT-i9300)-SOLD SGS4 (GT-i9505)-SOLD
Carrier: Vodafone UK

Thanks: 329
Thanked 384 Times in 298 Posts
Default

I belive your firmware is Knox enabled, but I am not completely sure. If it is and the Knox counter reads anything other than 0x0 then your warranty has gone and it cannot be used as a work phone for BYOD (bring your own device) scenarios. You still can return it to stock unrooted though, and although pointless you can still restore the flash counter to zero and the phones 'custom status' to official.

If your Knox counter is anything but 0x0 don't bother with resorting the phones flash counter and 'custom status", there really is no point. However if your firmware does not have Knox activated (as I said I'm not sure) you need 'Triangle Away' from here :

https://play.google.com/store/apps/details?id=eu.chainfire.triangleaway&hl=en_GB

Then after downloading your stock unrooted firmware, making sure you have a stock Kernel to start with run triangle away, follow the instructions exactly and let it reboot to download mode. Then flash your stock firmware. Job done. To restore the phone as new then do a factory reset from settings.
__________________
Samsung Galaxy Note 3 SM-N9005
ROOTED STOCK FIRMWARE PHILZ TOUCH RECOVERY

"The only foolish question is the question not asked"-Anon
dynomot is offline  
Reply With Quote
Old October 16th, 2013, 08:52 AM   #3 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Oct 2013
Gender: Male
Posts: 22
 
Device(s): Samsung Galaxy S4
Carrier: HI (KPN)

Thanks: 1
Thanked 1 Time in 1 Post
Default

so even i have already the stock firmware i need to re-download it? not just boot up by home button, vol up button and power button together to start factory reset?
geenidee is offline  
Reply With Quote
Old October 16th, 2013, 09:05 AM   #4 (permalink)
THE WORLD IS YOURS
 
mrpnut's Avatar
 
Join Date: Jun 2011
Location: CALI
Gender: Male
Posts: 3,523
 
Device(s): LG G Flex /Galaxy note 3 /Galaxy s4/GSM
Carrier: T-Mobile

Thanks: 1,422
Thanked 1,781 Times in 1,064 Posts
Send a message via Yahoo to mrpnut mrpnut310@gmail.com
Default

Sorry but there's no way to reset the binary at This time but I know they are working on it.....
__________________

mrpnut is offline  
Reply With Quote
Old October 16th, 2013, 09:10 AM   #5 (permalink)
Senior Member
 
Shotgun84's Avatar
 
Join Date: May 2011
Location: Cambridgeshire, England
Posts: 5,245
 
Device(s): Galaxy S4 GT-I9505 ROM: WanamLite, Kernel: KT-SGS4
Carrier: 3UK

Thanks: 1,613
Thanked 3,037 Times in 1,815 Posts
Default

Yeah you'll need to reflash your stock firmware as that will replace your rooted kernel with the stock unrooted. I'm not too sure how easy it'll be too flash though as you have the new locked bootloader and knox. I'm not too sure either if reflashing will trip the knox counter. I've moved this to all things root
Shotgun84 is offline  
Reply With Quote
The Following User Says Thank You to Shotgun84 For This Useful Post:
mrpnut (October 16th, 2013)
Old October 16th, 2013, 09:27 AM   #6 (permalink)
Senior Member
 
dynomot's Avatar
 
Join Date: Dec 2011
Location: Sheffield U.K
Gender: Male
Posts: 1,196
 
Device(s): SGSII (GT-i9100)-SOLD SGSIII(GT-i9300)-SOLD SGS4 (GT-i9505)-SOLD
Carrier: Vodafone UK

Thanks: 329
Thanked 384 Times in 298 Posts
Default

Quote:
Originally Posted by Shotgun84 View Post
Yeah you'll need to reflash your stock firmware as that will replace your rooted kernel with the stock unrooted. I'm not too sure how easy it'll be too flash though as you have the new locked bootloader and knox. I'm not too sure either if reflashing will trip the knox counter. I've moved this to all things root
Yes it will, yes to unroot you would need to flash an unrooted Kernel. This would indeed trip the Knox counter if it isn't already. Basically with a Knox enabled locked bootloader your warranty is gone, and resetting the flash counter is worthless. The Knox counter can never be reset and the flash counter can be. They are different counters. The Knox counter is hard wired into the device and was activated in firmwares with locked bootloaders above MH1. Shotgun84 has confirmed it is a firmware with Knox enabled. Unfortunately you cannot restore the phone to an "out if the box" new state.
dynomot is offline  
Reply With Quote
Old October 16th, 2013, 09:31 AM   #7 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Oct 2013
Gender: Male
Posts: 22
 
Device(s): Samsung Galaxy S4
Carrier: HI (KPN)

Thanks: 1
Thanked 1 Time in 1 Post
Default

What will happen as soon the official android 4.3 update comes for the galaxy s4. Better to wait for it?

will then the root access be gone?
geenidee is offline  
Last edited by geenidee; October 16th, 2013 at 09:39 AM.
Reply With Quote
Old October 16th, 2013, 10:39 AM   #8 (permalink)
Senior Member
 
dynomot's Avatar
 
Join Date: Dec 2011
Location: Sheffield U.K
Gender: Male
Posts: 1,196
 
Device(s): SGSII (GT-i9100)-SOLD SGSIII(GT-i9300)-SOLD SGS4 (GT-i9505)-SOLD
Carrier: Vodafone UK

Thanks: 329
Thanked 384 Times in 298 Posts
Default

Quote:
Originally Posted by geenidee View Post
What will happen as soon the official android 4.3 update comes for the galaxy s4. Better to wait for it?

will then the root access be gone?
You'll not get it via Kies as your rooted. You may or may not get it over the air (OTA), when it comes out. You may be better flashing your stock firmware via Odin. That way you will revert back to being stock without root. To restore Kies connectivity you would need to know your exact CSC code before you rooted, presuming all you did was root this should be easy enough dial *#1234# in the dialler, you'll either get Super user up or three lines of text. If you get Super user just tap the back key to see them. It looks like this (ignore my codes they are from my Note 3 - you need your own) :



Now go here and register :

Firmwares | SamMobile

Put the codes your phone gave you into the search box and you'll be directed to download the latest firmware for your phone. Be warned though if you have flashed another ROM and not just rooted the codes will have been changed.


However you say you have already got the stock unrooted firmware? If so flash it with Odin and you'll be unrooted and back to stock. Your warranty will be gone and your flash counter will be what it was +1. Your Knox is tripped for good though.

Good luck.
dynomot is offline  
Reply With Quote
Old October 16th, 2013, 10:58 AM   #9 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Oct 2013
Gender: Male
Posts: 22
 
Device(s): Samsung Galaxy S4
Carrier: HI (KPN)

Thanks: 1
Thanked 1 Time in 1 Post
Default

Well a former co-worker did do something to make the status from custom to official and i was able to do the OTA updates afterwards again as it was impossible after i rooted the phone.

Or is this separate from update thru KIES?
geenidee is offline  
Reply With Quote
Old October 16th, 2013, 11:18 AM   #10 (permalink)
Senior Member
 
dynomot's Avatar
 
Join Date: Dec 2011
Location: Sheffield U.K
Gender: Male
Posts: 1,196
 
Device(s): SGSII (GT-i9100)-SOLD SGSIII(GT-i9300)-SOLD SGS4 (GT-i9505)-SOLD
Carrier: Vodafone UK

Thanks: 329
Thanked 384 Times in 298 Posts
Default

I'm guessing, it would be good if you could show your Co-worker this thread to confirm, but they either flashed a stock ROM or, (and I'd need confirmation as I don't know if this would work) they have used Triangle Away to clear your flash counter and revert your device status back to official. This could allow OTA updates if all you did was root. If so, and it has allowed and you have received an OTA update, then you should be stock, unrooted with a flash counter of zero and Kies should work OK.

If so you have taught me something that I didn't know would work. please post what they did.
dynomot is offline  
Reply With Quote
sponsored links
Old October 16th, 2013, 11:22 AM   #11 (permalink)
Senior Member
 
dynomot's Avatar
 
Join Date: Dec 2011
Location: Sheffield U.K
Gender: Male
Posts: 1,196
 
Device(s): SGSII (GT-i9100)-SOLD SGSIII(GT-i9300)-SOLD SGS4 (GT-i9505)-SOLD
Carrier: Vodafone UK

Thanks: 329
Thanked 384 Times in 298 Posts
Default

A Kies update is the same as an OTA update, except Kies updates are usually first before you can get them OTA. Rooting "upsets" Kies, but may or may not allow you to update (losing Root) over the air (OTA).
dynomot is offline  
Reply With Quote
Old October 16th, 2013, 11:32 AM   #12 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Oct 2013
Gender: Male
Posts: 22
 
Device(s): Samsung Galaxy S4
Carrier: HI (KPN)

Thanks: 1
Thanked 1 Time in 1 Post
Default

what you mean by "upsets?"
geenidee is offline  
Reply With Quote
Old October 16th, 2013, 11:42 AM   #13 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Oct 2013
Gender: Male
Posts: 22
 
Device(s): Samsung Galaxy S4
Carrier: HI (KPN)

Thanks: 1
Thanked 1 Time in 1 Post
Default

Well i had the firmware that was the latest at the end of july. That was i believe: I9505XXUBMGA and i just spoke my co-worker he used indeed Triangle away. Now i have I9505XXUDMHB with the KNOX crap on it, But the positive thing is that i have it back to "Official" and can do OTA updates. I wanted to go back to stock as my clock widget that is standard on it the 4x1 widget with the time and date has issues as it freezes and sometime it shows the time and date from like 2 days ago.
geenidee is offline  
Reply With Quote
The Following User Says Thank You to geenidee For This Useful Post:
dynomot (October 16th, 2013)
Old October 16th, 2013, 11:50 AM   #14 (permalink)
Senior Member
 
dynomot's Avatar
 
Join Date: Dec 2011
Location: Sheffield U.K
Gender: Male
Posts: 1,196
 
Device(s): SGSII (GT-i9100)-SOLD SGSIII(GT-i9300)-SOLD SGS4 (GT-i9505)-SOLD
Carrier: Vodafone UK

Thanks: 329
Thanked 384 Times in 298 Posts
Default

Quote:
Originally Posted by geenidee View Post
what you mean by "upsets?"
Kies is meant to read your device status and will not work for software updates if it sees anything other than 'official'. It will also not allow updates if you are running a ROM that doesn't tally with what Samsung know about your device. So to recieve Kies updates you must have the ROM it expects, not be rooted and have a device status of official. Kies checks all this when you plug in your phone to the PC, and open Kies. It checks over the Internet. Samsung's servers no doubt have a record of your phone. If anything does not match Kies will not allow an update.
dynomot is offline  
Reply With Quote
Old October 16th, 2013, 11:58 AM   #15 (permalink)
Senior Member
 
dynomot's Avatar
 
Join Date: Dec 2011
Location: Sheffield U.K
Gender: Male
Posts: 1,196
 
Device(s): SGSII (GT-i9100)-SOLD SGSIII(GT-i9300)-SOLD SGS4 (GT-i9505)-SOLD
Carrier: Vodafone UK

Thanks: 329
Thanked 384 Times in 298 Posts
Default

You can root, without tripping Knox, but flashing anything else will ATM trip it. Knox is Samsung's answer to make their devices secure. Rooting is not secure, flashing other mods and kernels certainly isn't secure. This trips the Knox flag, whether you want to use Knox security or not. This blows an EFuse on a chip. Now your phone will still work, but it cannot be securely used for business with Knox, ever. It has also tripped the flag allowing Samsung to know you rooted, thus voiding your warranty. The "Knox trip" is impossible to reverse.
dynomot is offline  
Reply With Quote
Old October 16th, 2013, 11:59 AM   #16 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Oct 2013
Gender: Male
Posts: 22
 
Device(s): Samsung Galaxy S4
Carrier: HI (KPN)

Thanks: 1
Thanked 1 Time in 1 Post
Default

Well i never ever installed any custom rom. Only thing i did was rooting it and thats all.
geenidee is offline  
Reply With Quote
Old October 16th, 2013, 12:05 PM   #17 (permalink)
Senior Member
 
dynomot's Avatar
 
Join Date: Dec 2011
Location: Sheffield U.K
Gender: Male
Posts: 1,196
 
Device(s): SGSII (GT-i9100)-SOLD SGSIII(GT-i9300)-SOLD SGS4 (GT-i9505)-SOLD
Carrier: Vodafone UK

Thanks: 329
Thanked 384 Times in 298 Posts
Default

Quote:
Originally Posted by geenidee View Post
Well i never ever installed any custom rom. Only thing i did was rooting it and thats all.
So your good to go. Better not to Root at the moment if you want to preserve your warranty. Me and other regular contributors to this forum are waiting for a method of not tripping Knox by flashing things. Root to most of us seems pretty pointless without that ability.
dynomot is offline  
Reply With Quote
The Following User Says Thank You to dynomot For This Useful Post:
geenidee (October 16th, 2013)
Old October 16th, 2013, 12:15 PM   #18 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Oct 2013
Gender: Male
Posts: 22
 
Device(s): Samsung Galaxy S4
Carrier: HI (KPN)

Thanks: 1
Thanked 1 Time in 1 Post
Default

Well a root checker said it's still rooted.
KIES found my phone after deleted the software and installed it again. So i guess as soon i update to 4.3 i they wont know it was rooted once? as binary count is 0 and status is official and no custom rom
geenidee is offline  
Reply With Quote
Old October 16th, 2013, 11:13 PM   #19 (permalink)
Senior Member
 
Rudedawg's Avatar
 
Join Date: Jun 2011
Location: Southampton UK
Posts: 856
 
Device(s): Samsung Galaxy S4 I9505 DjeMBeY MGA ROM
Carrier: EE

Thanks: 163
Thanked 94 Times in 79 Posts
Default

Where can I see my Knox counter by the way?
Rudedawg is offline  
Reply With Quote
Old October 16th, 2013, 11:19 PM   #20 (permalink)
Senior Member
 
Shotgun84's Avatar
 
Join Date: May 2011
Location: Cambridgeshire, England
Posts: 5,245
 
Device(s): Galaxy S4 GT-I9505 ROM: WanamLite, Kernel: KT-SGS4
Carrier: 3UK

Thanks: 1,613
Thanked 3,037 Times in 1,815 Posts
Default

It'll tell you when you boot into download mode.
Shotgun84 is offline  
Reply With Quote
The Following 2 Users Say Thank You to Shotgun84 For This Useful Post:
Rudedawg (October 21st, 2013), silentwitness (October 25th, 2013)
sponsored links
Old October 21st, 2013, 01:14 PM   #21 (permalink)
Senior Member
 
Rudedawg's Avatar
 
Join Date: Jun 2011
Location: Southampton UK
Posts: 856
 
Device(s): Samsung Galaxy S4 I9505 DjeMBeY MGA ROM
Carrier: EE

Thanks: 163
Thanked 94 Times in 79 Posts
Default

Went to download , in the small text upper left there was nothing to say KNOX. I guess it would say that if it were. There was a little 0 x 30 but it said something else , not knox.

Saying that Im crossing over for 4.3 shortly on Stock so itll be fare well untill something stable comes around. Ive had nothing but issues with Djembey sadly. I guess every case is different.
Rudedawg is offline  
Reply With Quote
Old October 25th, 2013, 03:20 PM   #22 (permalink)
Senior Member
 
silentwitness's Avatar
 
Join Date: Aug 2012
Location: Bombay India
Gender: Male
Posts: 999
 
Device(s): Samsung Galaxy s5 G900F and Samsung galaxy tab pro 8.4
Carrier: Vodafone India

Thanks: 280
Thanked 259 Times in 219 Posts
Default

Quote:
Originally Posted by dynomot View Post
If your Knox counter is anything but 0x0 don't bother with resorting the phones flash counter and 'custom status", there really is no point. However if your firmware does not have Knox activated (as I said I'm not sure) you need 'Triangle Away' from here :
just wondering the knox counter would be the same as the counter we used to have earlier? Which on non 9500 phones would be reset via traingle away only? On the 9500 we would not be able to reset the counter am i right?
__________________
Running NeatRom 2.2 for G900F
If i helped you please click the thanks button
silentwitness is offline  
Reply With Quote
Old October 25th, 2013, 04:32 PM   #23 (permalink)
Senior Member
 
sntaylor's Avatar
 
Join Date: Jan 2012
Location: Ayrshire, scotland
Posts: 1,570
 
Device(s): S2 Rooted, Nexus 7 (Shared So Stock) Galaxy W(Fiancees)
Carrier: Not Provided

Thanks: 510
Thanked 393 Times in 307 Posts
Default

Unfortunately silent witness, the Knox counter appears to be an efuse which cannot be reset in any way at all(think of it as a fuse in a car....it needs physically replaced, not necessarily the same in the phone, but you get the idea?
sntaylor is offline  
Reply With Quote
The Following User Says Thank You to sntaylor For This Useful Post:
silentwitness (October 26th, 2013)
Old October 26th, 2013, 03:22 AM   #24 (permalink)
Senior Member
 
silentwitness's Avatar
 
Join Date: Aug 2012
Location: Bombay India
Gender: Male
Posts: 999
 
Device(s): Samsung Galaxy s5 G900F and Samsung galaxy tab pro 8.4
Carrier: Vodafone India

Thanks: 280
Thanked 259 Times in 219 Posts
Default

that sux so im definitely never going to buy another samsung phone now they are following in apples footsteps too closely with all this crap.
silentwitness is offline  
Reply With Quote
Reply
Tags
stock, unroot


Go Back   Android Forums > Android Phones > Samsung Galaxy S4 > (International) Galaxy S4 - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:02 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.