TWRP overwrite my ROM?!

Search This thread

ptuner

Senior Member
Oct 3, 2020
88
1
Hi I had LOS19.1 installed running quite well. I wanted Magisk, so I went to the TWRP website, selected my device, and downloaded latest
at https://dl.twrp.me/cheeseburger_dumpling/ ...
Booted into fastboot mode, renamed the img to twrp.img, then per the instructions I did...
$ fastboot flash recovery twrp.img this took a minute
$ fastboot reboot
Then when I tried to reboot into recovery it would show the TWRP loading screen for like 30 seconds and phone would shut off... Tried again and same...
Frustrated I thought I would try the oldfashion way and try to boot into the image...
$ fastboot flash boot twrp.img
Same thing happened again with the TWRP loading screen. But it wont boot into the OS now... I got to fastboot and selected START, starts the TWRP loading and powerdown again.
Oh **** did I just overwrite my ROM install? What do I do?
 

ptuner

Senior Member
Oct 3, 2020
88
1
you know the difference between recovery and boot partition? restore the backup of boot.img

read the instructions for installing TWRP
https://forum.xda-developers.com/t/...-a12-cheeseburger-dumpling-25-12-2022.4351795

for rooting device with Magisk, read the instructions for installing Magisk
https://github.com/topjohnwu/Magisk
Im assuming boot has to do with booting the OS or bootloader... You mind commenting your thoughts on my mistake and what I should do?
 

alecxs

Forum Moderator
Staff member
Feb 17, 2016
3,773
5
1,779
gitlab.com
on your second attempt, you flashed recovery into boot partition. you need to restore the boot.img now, otherwise you will boot into TWRP every time.
 

ptuner

Senior Member
Oct 3, 2020
88
1
on your second attempt, you flashed recovery into boot partition. you need to restore the boot.img now, otherwise you will boot into TWRP every time.
lol like in the other thread where would I get the boot.img? (yes I have these 2 devices with these 2 seperate problems). Appreciate your help so far..