Stuck in recovery

hyro28

New member
Jan 23, 2018
3
0
0
So i probably did something stupid.
I wanted to root my oneplus 5, so i updated it to last oxygenos 5.0.1 and copied all necessary stuff to pc.
After that unlocked the bootloader, got the phone to fastboot and flashed twrp 3.2.1-0.
Somewhy i couldn't access internal storage from twrp, it said its 0 mb and sdcard folder was empty, however i put magisk 15.3 there before, so i googled for a while and found that it probably couldn't mount storage. so this is where i probably did stupid thing by formating and fully wiping the phone. after that i could mount the storage, but the files were gone so i just put them there again. After that installed magisk and booted to system only to find myself in recovery again. So i though that i completely wiped the phone with the rom, so i downloaded the latest oxygenos and put it on the phone to install from twrp but it just doesnt install. returns error 7, which is, as google says, has somehting to do with asserts, it suggested to remove them form updater-script file, but opening it doesnt show any asserts in it. So here i am with phone with twrp and no rom at all. What do i do? Please help

tl;dr: I have OnePlus 5 with twrp 3.2.1-0 after complete wipe, and it cant install oxygenos because of error 7

Edit: only after posting noticed that there's a help thread, sorry for that. problem is not fixed though
 
Last edited:

hyro28

New member
Jan 23, 2018
3
0
0
update
thanks for suggesting different recovery. first tried older versions of twrp with no success, then tried twrp blu spark and it got a different error, something to do with unlocked bootloader. so i edited updater-script file and it installed normally. so i now have a clean oneplus 5 with oxygenos 5.0.1
will try to install magisk again, hopefully wont wipe everything again

update
yeah, everything worked. installed magisk and got root. but it always says 'install' inside magisk manager, is this normal?
saw that it should say 're-instal' in yt videos
 
Last edited:

fuzzy8p

New member
Jan 25, 2018
1
0
0
I bumped into the same problem as mentioned by hyro28..

Please explain how to "update updater-script file " -- where is the file found, how to update it? I am new to this, would appreciate detailed instructions -- links, written instructions, videos, etc Thanks!
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone