You cannot
be denied warranty
manufacturer and dealer are bound to replace the mobile if it cannot be repaired
file complaint before consumer forum and seek orders to direct manufacturer and dealer to repair the mobile or replace it with new one
also seek litigation costs and compensation for mental torture undergone by you