H918 on 10k. Had root. Lost it. Need to roll back and reroot?

Sizzlechest

Senior Member
Dec 18, 2010
1,107
189
83
I'm not sure what happened, but my phone lost root and couldn't boot into system due to a problem with encryption. I had to do a reset. I'm now on 10k with no TWRP or root.

I assume I need to roll back to 10p or 10i stock and re-root. However, I can't find the programs and the stock 10i or 10p files.

EDIT: Apparently, the firmwares site doesn't like Firefox. It wasn't showing any of the firmwares for download. I had to use a different browser.
 
Last edited:

Sizzlechest

Senior Member
Dec 18, 2010
1,107
189
83
I was able to roll back to 10p. Install TWRP, and flash 10k with Magisk.

I don't want to have whatever happened to me again. Does anyone know why I lost lost TWRP and had to reset?
 

dimm0k

Senior Member
Jan 25, 2014
1,529
591
133
I was able to roll back to 10p. Install TWRP, and flash 10k with Magisk.

I don't want to have whatever happened to me again. Does anyone know why I lost lost TWRP and had to reset?
Did you flash anything recently that may have caused you to lose root? if I'm not mistaken, if you flash a boot image without flashing root after that will cause you to lose root and if you boot without root it will restore your backup recovery partition removing TWRP. I've actually dd'd my recovery partition over the backup so this doesn't happen, but I'm sure there are other ways to lose root...
 
  • Like
Reactions: Sizzlechest

Sizzlechest

Senior Member
Dec 18, 2010
1,107
189
83
Did you flash anything recently that may have caused you to lose root? if I'm not mistaken, if you flash a boot image without flashing root after that will cause you to lose root and if you boot without root it will restore your backup recovery partition removing TWRP. I've actually dd'd my recovery partition over the backup so this doesn't happen, but I'm sure there are other ways to lose root...
I suspect the person "fooling around" with my phone was in the SuperSU app. The only potentially destructive thing in there would be full unroot since you can remove TWRP from there. It's just a theory. Even if you dd the recovery partition, how would you get it back without TWRP or root?
 

dimm0k

Senior Member
Jan 25, 2014
1,529
591
133
I suspect the person "fooling around" with my phone was in the SuperSU app. The only potentially destructive thing in there would be full unroot since you can remove TWRP from there. It's just a theory. Even if you dd the recovery partition, how would you get it back without TWRP or root?
from what I've gathered, there are two recovery partitions, one is the main and then there is another that's a backup. when you install TWRP it always installs to the main one leaving the backup intact. when recovery gets reset, it pulls it from the backup... however if it didn't and the main is messed up then you might be screwed
 
Last edited:
  • Like
Reactions: Sizzlechest