orange fox stuck during rom flashing - OnePlus 8T Questions & Answers

hi, i was trying to update my official rom from recovey like always do but now orange fox is stuck during rom instalation. its half installed but it does not installing any more. last commands was flashing a/b zip to inactive slot A
step 1/2
step 2/2
and nothing more.
at the meter up i can see its stucked at the half.
what should i do now???
please help!!!!
i download the update from the updater.
i can take screenshots and open the flash light with the buttons from orange fox but i cannot restart the phone or do anything else.

xristos9 said:
hi, i was trying to update my official rom from recovey like always do but now orange fox is stuck during rom instalation. its half installed but it does not installing any more. last commands was flashing a/b zip to inactive slot A
step 1/2
step 2/2
and nothing more.
at the meter up i can see its stucked at the half.
what should i do now???
please help!!!!
i download the update from the updater.
i can take screenshots and open the flash light with the buttons from orange fox but i cannot restart the phone or do anything else.
Click to expand...
Click to collapse
You can force reboot the phone by holding vol + and power. However you probably won't be able to boot but you should able to get back into orangefox and try the installation again.

xristos9 said:
hi, i was trying to update my official rom from recovey like always do but now orange fox is stuck during rom instalation. its half installed but it does not installing any more. last commands was flashing a/b zip to inactive slot A
step 1/2
step 2/2
and nothing more.
at the meter up i can see its stucked at the half.
what should i do now???
please help!!!!
i download the update from the updater.
i can take screenshots and open the flash light with the buttons from orange fox but i cannot restart the phone or do anything else.
Click to expand...
Click to collapse
Please read the Forum rules in https://forum.xda-developers.com/t/xda-developers-forum-rules.4200559/ especially
5. Create a thread topic or post a message only once
You created this thread and posted the same question in thread https://forum.xda-developers.com/t/...eplus-8t-9r-02-feb-2023.4391139/post-88204573

TheNewHEROBRINE said:
You can force reboot the phone by holding vol + and power. However you probably won't be able to boot but you should able to get back into orangefox and try the installation again.
Click to expand...
Click to collapse
i try but stuck again.
i download the rom again but now i get faild to mound system root when i try to flash the rom

xristos9 said:
i try but stuck again.
i download the rom again but now i get faild to mound system root when i try to flash the rom
Click to expand...
Click to collapse
Try using adb sideload

now says zip file is corrupt.
i try 3 versions but same ..

xristos9 said:
now says zip file is corrupt.
i try 3 versions but same ..
Click to expand...
Click to collapse
Are you trying to flash OxygenOS, correct? Do you have a full zip or an incremental one?

i have a full zip, yes oxygen os.

xristos9 said:
i have a full zip, yes oxygen os.
Click to expand...
Click to collapse
Why didn't you install the update through the settings like normally you would do?
Anyways, do you care about the data of the phone or it's not a problem if you lose it?

because i flash magisk after the rom to keep root.
i dont want to lose my data but i dont know what to do.
i have tryied everything.

xristos9 said:
because i flash magisk after the rom to keep root.
i dont want to lose my data but i dont know what to do.
i have tryied everything.
Click to expand...
Click to collapse
You don't need to flash the zip in orangefox to keep root. You can just install Magisk to inactive slot after the update has finished installing but BEFORE rebooting.
I currently don't know of any safe route to follow for you. The only thing that comes to my mind is flashing the partitions manually through fastboot. However, I don't know if this will allow you to keep the data. What I suggest now is that you backup every important data by mounting the internal storage to the pc (I'm sure orangefox can do this).
Then I need some information: do you know if your phone has a DDR4 or DDR5 RAM? Are you familiar with payload dumper?

the problem is error to mount system root.
i flash twrp and i get the same.
there is nothing i can do.
i cannot understand what cause this problem.
i dont now about the ram, no i cannot use playload dumper i think.
from twrp i couldnt even format data.
now i flash fox again.

xristos9 said:
the problem is error to mount system root.
i flash twrp and i get the same.
there is nothing i can do.
i cannot understand what cause this problem.
i dont now about the ram, no i cannot use playload dumper i think.
from twrp i couldnt even format data.
now i flash fox again.
Click to expand...
Click to collapse
I suggest you use MSM tool to unbrick the device, it will delete your data but it has a 100% success rate. Otherwise, if you really want to try and avoid erasing data I can write you a guide to flash partitions manually (method which has not been confirmed working afaik).

TheNewHEROBRINE said:
I suggest you use MSM tool to unbrick the device, it will delete your data but it has a 100% success rate. Otherwise, if you really want to try and avoid erasing data I can write you a guide to flash partitions manually (method which has not been confirmed working afaik).
Click to expand...
Click to collapse
please write the guide

xristos9 said:
please write the guide
Click to expand...
Click to collapse
Run cat /proc/devinfo/ddr_type from the orangefox terminal, this will tell use the type of RAM you have. Also please tell me which version of OxygenOS you have download so that I can see what you see.

its ddr4. i download the last rom KB2003_11_F.15.
before i had this one KB2003_11_F.13

Download payload-dumper-go (choose Windows amd64 version). Then extract the update zip, you will find a file called payload.bin. Open a cmd, drag and drop the payload dumper executable to the cmd window, press space, drag and drop the payload.bin to the cmd window (this should write the paths to the corresponding files in the cmd). Then press enter, it should extract the payload.bin in a folder.

''Payload has not been initialized''
that is what i get

xristos9 said:
''Payload has not been initialized''
that is what i get
Click to expand...
Click to collapse
Can you send a screenshot?

Related

Phone won't boot and can't do much from TWRP

Hi !
I installed TWRP to root my honor view 10 3/4 weeks ago.
Today I installed an update. And since then, the phone won't boot past TWRP (which I can access) or Huawei eRecovery mode.
When I land in the eRecovery mode it offers me to shutdown, reboot, or connect to wifi and do a factory reset. When I attempt the factory reset it tells me that downloading package info failed.
I tried to do a reset from TWRP without success gives me ERROR 9. I also tired to install the stock rom (update.zip) from TWRP and I also get ERROR 9.
I'm a complete noob when it comes to phones. Anyone have an idea of a solution ?
Thank you for reading !
Get a microsd card flash Dload file
aditya desai said:
Get a microsd card flash Dload file
Click to expand...
Click to collapse
Tried and it tells me system installation failed, maybe I have the wrong file ?
Thanks for your help!
ouamakavoula said:
Tried and it tells me system installation failed, maybe I have the wrong file ?
Thanks for your help!
Click to expand...
Click to collapse
Whats your model, if it is L09 then get the stock ramdisk image from magisk thread in development section and also search for recovery image. Flash it via fastboot and boot normally.
Never ever try ota on rooted phone.
shashank1320 said:
Whats your model, if it is L09 then get the stock ramdisk image from magisk thread in development section and also search for recovery image. Flash it via fastboot and boot normally.
Never ever try ota on rooted phone.
Click to expand...
Click to collapse
My model is L09, I flashed the stock ramdisk image and now I can no longer get into TWRP but I am unsure of what to do now ?
Thanks
ouamakavoula said:
My model is L09, I flashed the stock ramdisk image and now I can no longer get into TWRP but I am unsure of what to do now ?
Thanks
Click to expand...
Click to collapse
Able to boot to system now? You cam always flash twrp from fastboot. Avoid as of now and boot to stock rom first
shashank1320 said:
Able to boot to system now? You cam always flash twrp from fastboot. Avoid as of now and boot to stock rom first
Click to expand...
Click to collapse
When I try to boot the phone it displays the message that the phone in unlocked and should no be trusted, it shows the honor booting screen and after a few seconds shuts down and the process is repeating.
If i try to press the volume up key when booting it takes me to huawei eRecovery where I can either shutdown the phone or download recovery but it fails everytime.
Thanks
Try flash the No check recovery, boot into and wipe cache. Then reboot
Powered by View 10
Try this
1. Flash stock ramdisk img
2. Flash stock recovery img
3. Reboot to recovery with button combination ie; power and vol down together
4. Wipe data and cache
5. Reboot.
Hopefully it'll work if it doesn't flash system.img after 1 & 2 steps and follow the next steps
Hi please specify model
And what update you installed...
If the update was genuinely meant for phone I believe a data and cache partation format should fix this..
I hope you are atleast seeing the honor bootscreen...
Specify model so that we could point you to correct system.img
Also did twrp gave any errors formatting cache memory?
same here
BKL-L09

bootloop after using twrp (can't start smartphone, please help!)

i cant really explain what i was doing but i was trying to root the phone and after rooting it i tried to fix an issue with twrp crashing. it ended up with me stuck in a bootloop that i cant get out of. i have basicly no experience in the stuff so i am in desperate need of help. you can reply to the forum or msg me on an a platform like discord (TobiS137#2131) preferably discord tho. thanks in advance! i really want it fixed asap so if you can help then please be quick. please reply under the thread if you have msg me on discord. i really need help.
TobiS137 said:
i cant really explain what i was doing but i was trying to root the phone and after rooting it i tried to fix an issue with twrp crashing. it ended up with me stuck in a bootloop that i cant get out of. i have basicly no experience in the stuff so i am in desperate need of help. you can reply to the forum or msg me on an a platform like discord (TobiS137#2131) preferably discord tho. thanks in advance! i really want it fixed asap so if you can help then please be quick. please reply under the thread if you have msg me on discord. i really need help.
Click to expand...
Click to collapse
Enter fastboot, flash official twrp.Flash magisk in twrp.
vrda08 said:
Enter fastboot, flash official twrp.Flash magisk in twrp.
Click to expand...
Click to collapse
can you help me further? as i said i am a huge newbie and i only understood a little of that. is there any other ways you can contact me?
vrda08 said:
Enter fastboot, flash official twrp.Flash magisk in twrp.
Click to expand...
Click to collapse
Can you explain what exactly were you doing ?!
Just hold the power button for 60 seconds or so, it should reboot normally. Did you flash twrp or just do fastboot boot twrp?
I'm new to this while A/B partition. I went through all the steps and my phone is rooted, with Magisk and TWRP. All seems to be fine. My question is this. When I boot to the recovery (TWRP) and choose the reboot option it defaults to Current Slot: Partition B. If I reboot to partition B it goes back to TWRP. I have to select Partition A to get the device to boot to the system.
Is this normal? Do I need to set it up in a different way?
samteeee said:
Can you explain what exactly were you doing ?!
Click to expand...
Click to collapse
i was trying to root the phone (wich i did) and then the twrp app that was on my phone after i had tried to install it using the img. it then turned into an ap that told me to update it in google play
after that was done i tried to flash it but everytime i tried it just crashed. a little time later after trying some more times i found that i started it in the bootloader and it ended up with me stuck in a bootloop. again i might not have explained enough. i am huge noob so i really need help.
ooshkamils said:
Just hold the power button for 60 seconds or so, it should reboot normally. Did you flash twrp or just do fastboot boot twrp?
Click to expand...
Click to collapse
i think i did fastboot boot twrp. still not sure tho :\ . Does it change anything that i use twrp enchilada or does that not matter?
ooshkamils said:
Just hold the power button for 60 seconds or so, it should reboot normally. Did you flash twrp or just do fastboot boot twrp?
Click to expand...
Click to collapse
i think i did fastboot boot twrp. still not sure tho :\
discord
ignore the "discord" title. i dont think the phone has an OS right now. when i turn it on it goes directly to twrp. if i reboot the system it just goes back to twrp recovery. i think i need a way to install an OS (preferably OxygenOS if that is even possible). i realised that you guys properbly won't msg on discord. you dont have to. you can use the forums . i just really want help to get my phone back up and running. it is a OnePlus 6 btw if that is important.
TobiS137 said:
i think i did fastboot boot twrp. still not sure tho :\
Click to expand...
Click to collapse
To keep TWRP as the phones recovery, you'd first need to do as you did "Fastboot boot twrp" but that command will only allow you to boot into TWRP through your pc or whatever you ran that command on. After you've entered that temporary recovery, you'll need the TWRP installer .zip file, and flash that inside of that temporary TWRP. Then you can reboot into recovery on your phone again since it has been installed to one of the partitions.
TobiS137 said:
ignore the "discord" title. i dont think the phone has an OS right now. when i turn it on it goes directly to twrp. if i reboot the system it just goes back to twrp recovery. i think i need a way to install an OS (preferably OxygenOS if that is even possible). i realised that you guys properbly won't msg on discord. you dont have to. you can use the forums . i just really want help to get my phone back up and running. it is a OnePlus 6 btw if that is important.
Click to expand...
Click to collapse
You have to flash magisk after flashing twrp or else you are going to get this bootloop you are talking about
phone open again
my phone is back up and running again. i changed the partitian slot from A( the broken one with no OS) to B(the unchanged one) and it is now working again. if anyone is having the same problem the try to change to the second slot. it happend in twrp enchilada 3.2.2-0 if it is important. thank you all for your support.
I may be mistaken but I believe all you need to do is flash magisk to get up and running again
hallo dare said:
You have to flash magisk after flashing twrp or else you are going to get this bootloop you are talking about
Click to expand...
Click to collapse
Why? You should be able to just flash the TWRP installer into TWRP and so its flashed into both boot_a and boot_b. It should boot ok to system from there, Magisk is just another mod to the boot partitions, like a custom kernel, etc. It should not be necessary at all, why you guys keep sayin Magisk is necessary for anything? it isn't.
RusherDude said:
Why? You should be able to just flash the TWRP installer into TWRP and so its flashed into both boot_a and boot_b. It should boot ok to system from there, Magisk is just another mod to the boot partitions, like a custom kernel, etc. It should not be necessary at all, why you guys keep sayin Magisk is necessary for anything? it isn't.
Click to expand...
Click to collapse
Because you do. The OP6 will not boot with custom recovery unless it's rooted. I believe this is because the recovery and boot partitions are merged on this device. You're welcome to bootloop all day if you don't believe us.
iElvis said:
Because you do. The OP6 will not boot with custom recovery unless it's rooted. I believe this is because the recovery and boot partitions are merged on this device. You're welcome to bootloop all day if you don't believe us.
Click to expand...
Click to collapse
Asking "why?" is not to not believe you, and the personal bootloop all day attack is out of the matter. TWRP is flashed on the ramdisk and should boot stock, unless something derped, if it doesn't boot I honeslty don't understand why, what is the exact reason? TWRP installer doesn't overwrite the boot, just patches it to have a mini recovery on it. It should boot...
RusherDude said:
Asking "why?" is not to not believe you, and the personal bootloop all day attack is out of the matter. TWRP is flashed on the ramdisk and should boot stock, unless something derped, if it doesn't boot I honeslty don't understand why, what is the exact reason? TWRP installer doesn't overwrite the boot, just patches it to have a mini recovery on it. It should boot...
Click to expand...
Click to collapse
I don't know for sure either, beyond what I said above. But everyone who has reported not flashing magisk has bootlooped.
If I sounded snippy, it was only because your post above was appearing to deny the reality of what is a very well-known issue with this phone.
iElvis said:
I don't know for sure either, beyond what I said above. But everyone who has reported not flashing magisk has bootlooped.
If I sounded snippy, it was only because your post above was appearing to deny the reality of what is a very well-known issue with this phone.
Click to expand...
Click to collapse
I am not denying anything! just surprised because on TWRP website they clearly state that no post-twrp-flashing step is needed:
https://twrp.me/oneplus/oneplus6.html
The OnePlus 6 uses the newer AB partition scheme first introduced on the Pixel 1. As such there is no recovery partition. Instead, the recovery is part of the boot image. You will temporarily boot TWRP to perform and later perform a more permanent TWRP installation. First download the TWRP zip file directly on your device. If you don't download the zip file to your device first for any reason, you will need to adb push the zip to the device because MTP is not currently working on the OnePlus 6 in TWRP. If you are unable to use adb, you can also use a USB stick with an OTG cable, if you have those handy. Power off the device. Hold volume up to get into fastboot mode. Run this command on your computer: fastboot boot twrp-3.2.1-0-enchilada.img
In TWRP, tap on Install and browse to the zip and install it (the zip will probably be in /sdcard/Downloads). TWRP will now be installed to both slots. TWRP is now installed and you can reboot and use your device as normal.
MTP is disabled because it causes a kernel panic sometimes with the stock kernel.
Click to expand...
Click to collapse
Maybe the issue here is that the unofficial TWRP that everyone used NEEDS magisk while the official doesn't?
RusherDude said:
Maybe the issue here is that the unofficial TWRP that everyone used NEEDS magisk while the official doesn't?
Click to expand...
Click to collapse
I think most people have moved to the official version. If it doesn't need magisk to avoid a bootloop, that's news to me. Not saying it's not the case, but I haven't seen any mention of it.

How To Successfully Install Twrp For G7 Play

Im Pretty Sure Everyone that will read this thread will have an unlocked bootloader.
Requirments: an Unlocked Bootloader. A PC. And Some Knowledge about Android Coustomization.
So for twrp to boot Correctly Your Going to need a modified dtbo image with out it your going to have twrp boot into a black screen with minimal file transfer capabilities
The DTBO image i use is This One
https://drive.google.com/file/d/1pV6-LbNoMG0J8vcyAWN0QWYGx67vxBgT/view?usp=sharing
next your going to need a twrp thats stable i suggest this one
https://drive.google.com/file/d/13MROGlEA_TdgHFTaiqOswo4w0NgXhGbx/view?usp=sharing
now that you have the files
first hold power and volume up till you see a black screen with text saying fastboot flash mode
now we are going to get the recovery installed by running two commands in fastboot
first command fastboot flash dtbo /path/to/yours.img
run the next command fastboot boot twrp4.img
now you should see the twrp recovery splash screen
now we are going to go to mount this will pop up a file transfer window on your pc
drag twrp4.img to a directory you know where its at
backout of mount and go to install
select the directory where your twrp4.img is at
then click install image
it should show you that twrp is there click on twrp4.img
select install to recovery ramdisk
swipe to confirm flash
wait till its done then click back
go to advanced click fix recovery bootloop
swipe to confirm
then go back click reboot
select recovery
you can unplug your phone now
and you will see twrp is now installed on your device
click reboot select poweroff
hold volume down and power untill you see that text again from fastboot
this time use volume up to scroll through your options untill you find recovery mode then press power
you will be booted into twrp do that for when ever you need to access your recovery
hope this tutorial helps
and thanks to spaceminer for making this twrp
and thanks to scritch007 for modifing the dtbo img
it doesnt work we need a flashable.zip method
---------- Post added at 07:35 AM ---------- Previous post was at 07:11 AM ----------
must add must wipe data first , flash disable verity.zip will post , then install recovery to ramdisk after copying it to the sdcard , didnt click fix recovery bootloop and it works perfectly fine
thenatti said:
it doesnt work we need a flashable.zip method
---------- Post added at 07:35 AM ---------- Previous post was at 07:11 AM ----------
must add must wipe data first , flash disable verity.zip will post , then install recovery to ramdisk after copying it to the sdcard , didnt click fix recovery bootloop and it works perfectly fine
Click to expand...
Click to collapse
flash this after format data , then follow steps mentioned above , thank you everyone for your hardwork on bringing us a stable release
thenatti said:
flash this after format data , then follow steps mentioned above , thank you everyone for your hardwork on bringing us a stable release
Click to expand...
Click to collapse
Yeah I forgot to put the decryptor zip in the tutorial
I did use it tho ill edit the tutorial in a few
Linuxassassin said:
Yeah I forgot to put the decryptor zip in the tutorial
I did use it tho ill edit the tutorial in a few
Click to expand...
Click to collapse
I noticed with stock firmware it boot loops I'm currently running the dot os treble image and it's consistent , but not with stock unless there is no data ,.but when data is created it boot loops , I recommend flashing the treble gsi image , the only bug is no proper notch support and I don't have a Linux but to attempt to create an overlay
thenatti said:
I noticed with stock firmware it boot loops I'm currently running the dot os treble image and it's consistent , but not with stock unless there is no data ,.but when data is created it boot loops , I recommend flashing the treble gsi image , the only bug is no proper notch support and I don't have a Linux but to attempt to create an overlay
Click to expand...
Click to collapse
the notch is
the notch isnt terible to be honest also to flash gapps get the device id apk will help you certify your device to be able to install stuff from the google play store
Well. The touchscreen is not working for me. But I think is because I am on 1952-1.
Savinu' said:
Well. The touchscreen is not working for me. But I think is because I am on 1952-1.
Click to expand...
Click to collapse
what slot are you on
Linuxassassin said:
what slot are you on
Click to expand...
Click to collapse
On slot a
thenatti said:
flash this after format data , then follow steps mentioned above , thank you everyone for your hardwork on bringing us a stable release
Click to expand...
Click to collapse
Can you tell me the right how should I flash this zip? I'm new to TWRP and Magisk, and I'm trying to get root for my G7 Play. I know there is the sideload flashing from ADB and the install update option in stock recovery, but I don't know if one of them is the way to flash it or if it's a way that I don't know.
Thanks in advance
on my moto g7 play xt1952-2 the touchscreen stopped how to solve?
great job
big thank you to all that had a hand in getting a working twrp for the g7 play!!! it worked perfectly the first time i did it
Fails to install twrp to recovery ramdisk
Hi!
I've tried to follow the guide but somehow I fail to install the twrp image to the recovery ramdisk.
When updating partition details, it fails to mount '/vendor' (invalid argument)
Then when it tries to backing up the boot it fails:
cd /tmp/repackorig/ && /sbin/magiskboot --unpack -h '/tmp/repackorig/boot.img' process ended with Error 1. Error unpacking image.
Any suggestions to solve this?
Output from recovery.log
[IMAGE FLASH STARTED]
Image to flash: '/sdcard/twrp4.img'
Unpacking Boot...
Backing up Boot...
I:Reading '/dev/block/bootdevice/by-name/boot_b', writing '/tmp/repackorig//boot.emmc.win'
I:Restored default metadata for /tmp/repackorig//boot.emmc.win
Parsing boot image: [/tmp/repackorig/boot.img]
cd /tmp/repackorig/ && /sbin/magiskboot --unpack -h '/tmp/repackorig/boot.img' process ended with ERROR: 1
I:Error unpacking /tmp/repackorig/boot.img!
Error unpacking image.
I:Set page: 'action_complete'
Iperation_end - status=1
Got stuck trying to follow the above recipe as it hasn't yet been edited to include the additional details about for example the no-verity thing... Would appreciate an update. Thx.
There's a new build that should work on all models including RETUS. You guys can find that here. It has /vendor & /oem backup and restore but they're untested. I do need some help with it if anyone here is savvy enough. In it's current state, it bootloops with the stock OS installed. But not when a GSI is installed. The recovery loop fix in twrp doesn't work, and I'm not sure how to make it work.
need help
i can boot to twrp using fastboot but any other time it just flashes and wont load plz help also i dont have root just saying
Spaceminer said:
There's a new build that should work on all models including RETUS. You guys can find that here. It has /vendor & /oem backup and restore but they're untested. I do need some help with it if anyone here is savvy enough. In it's current state, it bootloops with the stock OS installed. But not when a GSI is installed. The recovery loop fix in twrp doesn't work, and I'm not sure how to make it work.
Click to expand...
Click to collapse
I'm pretty sure I've sussed it out.
I noticed that G7 River has an extra step.. once TWRP in ramdisk and also bootloop fix ran...
They use https://dl.twrp.me/river/twrp-installer-3.3.1-2-river.zip.html
So , Hope you don't mind, I unpacked your TWRP and exchanged the ramdisk-trwp.cpio in the river zip with yours.
Flashed it after the bootloop fix and it installs to boot a and b.
I then formatted data, installed latest canary magisk manager zip
then no verity from here
it's succesfully rebooted to setup (as I formatted data obviously) .... now to go through setup... but the fact it's got this far looks good
CFKod said:
I'm pretty sure I've sussed it out.
I noticed that G7 River has an extra step.. once TWRP in ramdisk and also bootloop fix ran...
They use https://dl.twrp.me/river/twrp-installer-3.3.1-2-river.zip.html
So , Hope you don't mind, I unpacked your TWRP and exchanged the ramdisk-trwp.cpio in the river zip with yours.
Flashed it after the bootloop fix and it installs to boot a and b.
I then formatted data, installed latest canary magisk manager zip
then no verity from here
it's succesfully rebooted to setup (as I formatted data obviously) .... now to go through setup... but the fact it's got this far looks good
Click to expand...
Click to collapse
I'm not upset at all, if anything I am very pleased. Nice work!
Man so close but still not quite. Installed magisk manager but no root...
When I reboot to Twrp it shows the two front screen but then starts having a seizure flashing n ****....... Works to fastboot into the IMG again...
So close.. ummmm
CFKod said:
Man so close but still not quite. Installed magisk manager but no root...
When I reboot to Twrp it shows the two front screen but then starts having a seizure flashing n ****....... Works to fastboot into the IMG again...
So close.. ummmm
Click to expand...
Click to collapse
Try dumping the boot.img after you've done everything to install twrp, then manually patch it with magisk, and flash it with fastboot.

I am stuck on twrp and cant boot up [SUPER STRESSED PLS HELP!!!]

Ok. I am not a developer. I am a teenager just messing around with my phone. Basically, the whole story is that I tried updating my ota while keeping root and twrp right and i was following the video. everything was going smoothily until i got back and for some reason my magisk couldn't set up correctly. I twas there but it wasn't setting up the files and whatnot. So i restarted and got into twrp recovery. Based on some xda forums and threads and a few youtube videos I gifured out that my twrp couldn't detect ANTHING on my phone's internal storage. SO i ended up formatting the data and when i tried rebooting the system it didn't boot up it just brought me straight back to twrp. PLS HELP. Thank you.
someone who is super knowledgeable would be greatly appreciated. This phone means a lot to me and I don't want it to break! PLS! thanks again.
download the OOS full zip, TWRP v70, and magisk v20
move to your device while in TWRP
from twrp install the OS full zip
Install TWRP
Reboot back to TWRP
Install Magisk
Boot to OS.
future reference to update. Download full zip from Oxygen Updater or System Updates
go to system updates and click on gear icon and local install
click on OS full zip
once done DO NOT REBOOT
go to magisk and install twrp as magisk module (DO NOT REBOOT)
install magisk via After OTA Install.
Reboot
Bradl79 said:
download the OOS full zip, TWRP v70, and magisk v20
move to your device while in TWRP
from twrp install the OS full zip
Install TWRP
Reboot back to TWRP
Install Magisk
Boot to OS.
future reference to update. Download full zip from Oxygen Updater or System Updates
go to system updates and click on gear icon and local install
click on OS full zip
once done DO NOT REBOOT
go to magisk and install twrp as magisk module (DO NOT REBOOT)
install magisk via After OTA Install.
Reboot
Click to expand...
Click to collapse
but u see the problem is that i cant transfer data onto twrp bc data "couldn't mount" what do i do now? I also used oxygen updater as well with local upgrade. this was for the 10.0.1 update
Bradl79 said:
download the OOS full zip, TWRP v70, and magisk v20
move to your device while in TWRP
from twrp install the OS full zip
Install TWRP
Reboot back to TWRP
Install Magisk
Boot to OS.
future reference to update. Download full zip from Oxygen Updater or System Updates
go to system updates and click on gear icon and local install
click on OS full zip
once done DO NOT REBOOT
go to magisk and install twrp as magisk module (DO NOT REBOOT)
install magisk via After OTA Install.
Reboot
Click to expand...
Click to collapse
there is also a fix recoevery bootloop option available in twrp when u press advanced im wondering if thats a viable option?
because right now i turn it on and it bootloops once back into twrp
Bradl79 said:
download the OOS full zip, TWRP v70, and magisk v20
move to your device while in TWRP
from twrp install the OS full zip
Install TWRP
Reboot back to TWRP
Install Magisk
Boot to OS.
future reference to update. Download full zip from Oxygen Updater or System Updates
go to system updates and click on gear icon and local install
click on OS full zip
once done DO NOT REBOOT
go to magisk and install twrp as magisk module (DO NOT REBOOT)
install magisk via After OTA Install.
Reboot
Click to expand...
Click to collapse
im also not exactly sure how to "boot to os" could u be more specific pls thanks!
Bradl79 said:
download the OOS full zip, TWRP v70, and magisk v20
move to your device while in TWRP
from twrp install the OS full zip
Install TWRP
Reboot back to TWRP
Install Magisk
Boot to OS.
future reference to update. Download full zip from Oxygen Updater or System Updates
go to system updates and click on gear icon and local install
click on OS full zip
once done DO NOT REBOOT
go to magisk and install twrp as magisk module (DO NOT REBOOT)
install magisk via After OTA Install.
Reboot
Click to expand...
Click to collapse
also when i plug my computer in in twrp on my computer my phone says that the folder is empty. im scared help
Hi you still there
---------- Post added at 12:11 PM ---------- Previous post was at 12:09 PM ----------
With twrp on and computer hooked up to phone can you see the phone folder into the computer
majmuni said:
Hi you still there
---------- Post added at 12:11 PM ---------- Previous post was at 12:09 PM ----------
With twrp on and computer hooked up to phone can you see the phone folder into the computer
Click to expand...
Click to collapse
no i cannot it shows me that "folder is empty"
Well the idea is to put something on your phone so you can flash it . I have done it same place you are i have been i put the files to flash and i flash them and i was Good
---------- Post added at 01:36 PM ---------- Previous post was at 01:34 PM ----------
If not just do the msm restore i know its frustrating but you have to do a lot of reading research you can restore your phone
I think it's best you flash a fastboot ROM since you have already lost all your data.
https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424
Calm down, have a cup of coffee, charge your phone for a bit and then follow this guide. Good luck.
EDIT: Important to note that you can hold down vol + and vol - immediately when booting to get into fastboot
Try to format Data in twrp, not the factory reset or data wipe, the one where u type yes, then reboot back to twrp and see if you can mount data. If all else fails use the msm tool
Bradl79 said:
Try to format Data in twrp, not the factory reset or data wipe, the one where u type yes, then reboot back to twrp and see if you can mount data. If all else fails use the msm tool
Click to expand...
Click to collapse
i tried it and it didn't work. that was got me into this mess in the first place. my twrp couldnt detect internal storage so i formatted it and typed yes, now cant boot up. i am also not sure what msm tool is pls explain.
akico04 said:
i tried it and it didn't work. that was got me into this mess in the first place. my twrp couldnt detect internal storage so i formatted it and typed yes, now cant boot up. i am also not sure what msm tool is pls explain.
Click to expand...
Click to collapse
I would try what the above poster said and use the fastboot Rom first. What model device do u have?
Use MSM download tool to restore your phone.
As advised previously, I would download the latest Fastboot pack from this thread. Unpack the zip file and then use the batch files to install the partitions you want. I would recommend the flash-all one.
After that, I would recommend buying similar items to the following :
USB C to USB 3.0 Male Adapter
https://www.amazon.co.uk/gp/product/B07KXHNY5F
SanDisk Ultra USB Type-C 16 GB
https://www.amazon.co.uk/gp/product/B01BUSMYHC
This will let you hold the files required for fixing your issues on a usb drive which you can use with your phone, the interface is for using the same with your computer to transfer the files. If you keep the usb drive with you then you should be able to resolve issues as long as you can get TWRP installed.
TWRP will allow you load/flash files from the usb drive, just tap on the "Storage" button and you'll see the USB storage as an option. Make sure anything you want is in the "Android" folder on the drive.
I would definitely recommend downloading TWRP, Magisk v20 and the full latest release of OOS and keeping these on the drive, then you know you have a route back to a working phone.
For future reference, if you root your phone you cannot install an OTA, you must install the full zip.
Also, if you flash TWRP, you have to install Magisk afterward to retain root privileges.
Bradl79 said:
I would try what the above poster said and use the fastboot Rom first. What model device do u have?
Click to expand...
Click to collapse
i have the 1917 one i think the nebula blue 8gb ram and 256 international version of the oneplus 7 pro. what does the fastboot rom do? also can i just flash file remotely through the bootloader and a pc?
akico04 said:
i have the 1917 one i think the nebula blue 8gb ram and 256 international version of the oneplus 7 pro. what does the fastboot rom do? also can i just flash file remotely through the bootloader and a pc?
Click to expand...
Click to collapse
That is what the fastboot Rom does, it will flash all partitions
Bradl79 said:
That is what the fastboot Rom does, it will flash all partitions
Click to expand...
Click to collapse
by fastboot rom is that just the bootloader? because as of now that still works i just don't know ho to use it. only twrp recovery isn't working and its really stressing meeee. does that mean i can flash things via the bootloader mode or whatever its called; fastboot? thx for the help its relieving my stress. im just happy that my phone isnt bricked. also my bootloader IS unlocked so i think that helps. i look forward to ur response!
This phone is quite troublesome to flash lol I had problems aswell, bricked 3/4 times! I used msm tool to recover It.
I figured out how things works after multiple Bad results.
I think things are getting more complicated year After year
Balino said:
This phone is quite troublesome to flash lol I had problems aswell, bricked 3/4 times! I used msm tool to recover It.
I figured out how things works after multiple Bad results.
I think things are getting more complicated year After year
Click to expand...
Click to collapse
I mean thats learning by doing and everyone did that ( I struggled with OP6), but if you get behind this whole a/b scheme and understand what does what and when to flash it you wont brick anything (unless you try pre alpha recoveries and the recovery fails).
So i think the best option is to either stay stock (stock is nearly perfect rn, just if you need magisk install it) or to "learn" how to resolve some issues youll get when flashing custom roms
the worst thing you can do is to just follow some guides and wonder if something fails

Problem with flashing custom ROM (error 255)

Hey guys,
after searching through different websites and guides you are my last resort to get a custom ROM running on my Redmi S2.
Everytime i try to flash a custom ROM i get the error 255. Here is what i tried until now (bootloader is unlocked):
- flashing twrp(twrp-3.2.1-0-ysl) to recovery using fastboot
- wiping phone (first wipe to disable encryption since miui puts some kind of password on the hard drive that i dont know, second wipe to ensure partitions are clean for new OS)
- mounting phone to pc to transfer OS image (tried Lineage and Havoc, both modified for S2 (ysl version)) and GApps
- finally, installing OS zip (after which i get error message 255, telling me that twrp wasnt able to install the zip file)
please help me out, ask away if something's not clear
flying_shitnugget said:
Hey guys,
after searching through different websites and guides you are my last resort to get a custom ROM running on my Redmi S2.
Everytime i try to flash a custom ROM i get the error 255. Here is what i tried until now (bootloader is unlocked):
- flashing twrp(twrp-3.2.1-0-ysl) to recovery using fastboot
- wiping phone (first wipe to disable encryption since miui puts some kind of password on the hard drive that i dont know, second wipe to ensure partitions are clean for new OS)
- mounting phone to pc to transfer OS image (tried Lineage and Havoc, both modified for S2 (ysl version)) and GApps
- finally, installing OS zip (after which i get error message 255, telling me that twrp wasnt able to install the zip file)
please help me out, ask away if something's not clear
Click to expand...
Click to collapse
change your recovery..
Baim alif said:
change your recovery..
Click to expand...
Click to collapse
Mind elaborating? What do you mean exactly?
flying_shitnugget said:
Mind elaborating? What do you mean exactly?
Click to expand...
Click to collapse
use this recovery
https://files.orangefox.download/OrangeFox-Stable/ysl/OrangeFox-R10.0-1-Stable-ysl.zip
Baim alif said:
use this recovery
https://files.orangefox.download/OrangeFox-Stable/ysl/OrangeFox-R10.0-1-Stable-ysl.zip
Click to expand...
Click to collapse
so... i first tried taking the recovery.img out of the zip and flashing it via fastboot, didnt worked. after that i tried first flashing my old twrp and then (after wiping) installing the whole zip. the install finished successfully, sayed it will restart to recovery in 5 seconds... aaaand got stuck on the android screen. now it wont boot to recovery at all anymore, unless i flash the old twrp again. suggestions?
flying_shitnugget said:
so... i first tried taking the recovery.img out of the zip and flashing it via fastboot, didnt worked. after that i tried first flashing my old twrp and then (after wiping) installing the whole zip. the install finished successfully, sayed it will restart to recovery in 5 seconds... aaaand got stuck on the android screen. now it wont boot to recovery at all anymore, unless i flash the old twrp again. suggestions?
Click to expand...
Click to collapse
try to boot recovery with power button and volume up
Baim alif said:
try to boot recovery with power button and volume up
Click to expand...
Click to collapse
yes, that's what i did. i also tried booting into from fastboot and still nothing.
flying_shitnugget said:
yes, that's what i did. i also tried booting into from fastboot and still nothing.
Click to expand...
Click to collapse
hmmm... try this bro..
https://androidfilehost.com/?fid=6006931924117927913
flying_shitnugget said:
yes, that's what i did. i also tried booting into from fastboot and still nothing.
Click to expand...
Click to collapse
Try this, you have to flash first this in fastboot https://files.orangefox.download/OrangeFox-Beta/ysl/ the R10.0-1 RC1 .img file
And THEN flash this https://orangefox.download/en/device/ysl once you are in the recovery.
Then it worked for me, finally, hope this helps.
celephrn said:
Try this, you have to flash first this in fastboot https://files.orangefox.download/OrangeFox-Beta/ysl/ the R10.0-1 RC1 .img file
And THEN flash this https://orangefox.download/en/device/ysl once you are in the recovery.
Then it worked for me, finally, hope this helps.
Click to expand...
Click to collapse
so i tried this approach. i first installed how you told me to (orangefox R10.0-1 RC1 .img first), but factory reset nor installing the second recovery img worked because of the encryption miui puts on the phone. So i flashed twrp, wiped memory, flashed first orange fox img and from then installed the second img (as a zip). until here everything worked, orange fox told me that he's going to reboot to new recovery -- and i got stuck on the boot logo again. :c
flying_shitnugget said:
so i tried this approach. i first installed how you told me to (orangefox R10.0-1 RC1 .img first), but factory reset nor installing the second recovery img worked because of the encryption miui puts on the phone. So i flashed twrp, wiped memory, flashed first orange fox img and from then installed the second img (as a zip). until here everything worked, orange fox told me that he's going to reboot to new recovery -- and i got stuck on the boot logo again. :c
Click to expand...
Click to collapse
Did you flash the firmware? https://github.com/XiaomiFirmwareUpdater/firmware_xiaomi_ysl/releases/tag/stable-16.03.2020
Other thing you could try is flash the other .img files from https://files.orangefox.download/OrangeFox-Beta/ysl/ and the flash in there the same .zip file you did as before.
celephrn said:
Did you flash the firmware? https://github.com/XiaomiFirmwareUpdater/firmware_xiaomi_ysl/releases/tag/stable-16.03.2020
Other thing you could try is flash the other .img files from https://files.orangefox.download/OrangeFox-Beta/ysl/ and the flash in there the same .zip file you did as before.
Click to expand...
Click to collapse
im currently on MIUI V.10.3.1.0.OEFMIXM | Stable 654M, is it important to flash newer firmware?
flying_shitnugget said:
im currently on MIUI V.10.3.1.0.OEFMIXM | Stable 654M, is it important to flash newer firmware?
Click to expand...
Click to collapse
Could solve the issue, I'd give it a shot!
celephrn said:
Could solve the issue, I'd give it a shot!
Click to expand...
Click to collapse
i suppose you flash it using MiFlash right? If so, i have a problem with flashing new roms using it because my Mi account isnt allowed to do that, i unlocked the bootloader using a tool (dont know if this has something to do with the custom rom problem)
flying_shitnugget said:
i suppose you flash it using MiFlash right? If so, i have a problem with flashing new roms using it because my Mi account isnt allowed to do that, i unlocked the bootloader using a tool (dont know if this has something to do with the custom rom problem)
Click to expand...
Click to collapse
As long as the bootloader is unlocked it should be fine. And no, you should flash the firmware just as you would flash the rom, i. e. from OrangeFox Recovery.
celephrn said:
As long as the bootloader is unlocked it should be fine. And no, you should flash the firmware just as you would flash the rom, i. e. from OrangeFox Recovery.
Click to expand...
Click to collapse
so i flashed the firmware as you said, now neither orangefox or twrp throw me the error "unable to locate storage device", i cant mount the storage to the pc and cant copy the custom rom stuff as well
celephrn said:
As long as the bootloader is unlocked it should be fine. And no, you should flash the firmware just as you would flash the rom, i. e. from OrangeFox Recovery.
Click to expand...
Click to collapse
UPDATE: i finally ****ing did it. So here are the steps that i took (incase anyone has to go through this **** as well)
1. flash MIUI on mobile device using MiFlash (at least i did this by shorting 2 pins on the back)
2. (VERY IMPORTANT!!!) instantly boot to fastboot using Power button + Volume down. this has to be before android starts setting up the phone
3. flash recovery with the image that celephrn provided in this thread
4.boot to recovery by holding Volume up + Power button
5. install the miui update that celephrn provided in this thread
6. reboot to recovery
7. install orange recovery zip that celephrn provided in this thread (phone reboots to recovery)
8. now you can reboot to system (Do NOT (!!!) set the phone up, just let it work its things until you see the MIUI setup screen)
9. Now, finally you can dirty flash your custom rom (and GApps)
10. after flashing the new rom android will throw you alot of errors so you will have to wipe Dalvik/Cache, System, Data and Internal Storage.
11. now you can flash your Rom clean and you're good to go
(huge thanks to celephrn, helped me out after me struggling for a few good weeks with this damn phone)
Baim alif said:
use this recovery
https://files.orangefox.download/OrangeFox-Stable/ysl/OrangeFox-R10.0-1-Stable-ysl.zip
Click to expand...
Click to collapse
bro please help me i have the same issue error 255 on 3.2.1-0 ysl twrp.please help
Farrellclay said:
bro please help me i have the same issue error 255 on 3.2.1-0 ysl twrp.please help
Click to expand...
Click to collapse
so far, what have you done

Categories

Resources