What country are you in? Here in the UK mobiles are covered by EU law and have a 2 year warranty. Over at the S4 forums we've had guys with no issues with warranty once KNOX has been tripped but I guess it varies on your service centres and such.
Sent from my GT-I9505G using Tapatalk
Phone: Samsung Galaxy S4 I9505
Rom: DjeMBeY XXUFNC9 4.4.2 | Der Kernel: KT Kernel | Theme: Domination V2.0
Tablet: Nexus 7 2013 32GB
Rom: OmniRom 4.4.2 | Der Kernel: Stock Omni
Previous: HTC DesireHD > Samsung Galaxy SII > T-Mobile Rapport > Samsung Galaxy S (Backup) > Samsung Galaxy SIII (Brief ownership) > Samsung Galaxy Note II > HTC One X > Nexus 4