I tried to root my mobile phone HTC desire 820 Dual sim.

I unlocked boot loader, flashed TWRP2.8 but none of Super SU could root my phone (Android version 6.0.1).

Recently been to HTC service center to replace battery. They mentioned that if we change battery for unlocked phone, phone may not work.

How to remove TWRP and get my phone back to early setting and lock it?


I guess you couldn't root phone probably because phone use lz4 format (I just guess) or you was doing something wrong. However, that what they said is bullshit, what battety has to do with that if bootloader is unlocked? Maybe they said they WON'T fix it if bootloader is unlocked because unlocking bootloader is way to lose warranity? To get your stock recovery back you'll have to flash stock firmware, you have a guide for that on their site, if not then there is guide on xda. And to lock bootloader that is not possible not fully because you can relock bootloader (command is I think "fastboot oem relock" or something like that), in that case bootloader state would return 'relocked' so even than they will know that you played around.

  • Can i flash stock firmware without rooting the phone? I heard that stock rom can be flashed only on rooted phone – Manikandan Mar 11 '17 at 14:52
  • Stock firmware doesn't require root, you'll just maybe need pc and software by manufacturer – Једноруки Крстивоје Mar 11 '17 at 17:20

protected by Community May 14 '18 at 4:30

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.