The warranty is going to cover hardware and software defects. If your screen starts to fail, you notice considerable software lags or the speaker stops working then you will be covered under warranty. It does NOT cover physical, user-caused damage. The Jailbreak does in fact void the warranty but if you restore to factory settings prior to visiting Apple then you should be in the clear.