Stuck on Sony's logo after trying to root and install LineageOS - Xperia Z3 Q&A, Help & Troubleshooting

Hey,
I have used Sony Developer's documentations in order to unlock my bootloader, then upgraded it with Emma.
Also, I have installed TWRP using fastboot and also tried to install LineageOS.
But, every time I try to turn on the device, it is stuck on Sony's logo and gets warmer with time.
TWRP, fastboot mode and flash mode are accessible.
What can I do?
Thanks!
(D6603)

iTayGNR said:
Hey,
I have used Sony Developer's documentations in order to unlock my bootloader, then upgraded it with Emma.
Also, I have installed TWRP using fastboot and also tried to install LineageOS.
But, every time I try to turn on the device, it is stuck on Sony's logo and gets warmer with time.
TWRP, fastboot mode and flash mode are accessible.
What can I do?
Thanks!
(D6603)
Click to expand...
Click to collapse
How did you tried to install LineageOS? If you want to go back to stock rom use Emma to flash stock.291
Remember that after flashing TWRP you need to enter recovery by pressing power+volume up and then wipe system/data/cache partitions before flashing LineageOS zip

xkeita said:
How did you tried to install LineageOS? If you want to go back to stock rom use Emma to flash stock.291
Remember that after flashing TWRP you need to enter recovery by pressing power+volume up and then wipe system/data/cache partitions before flashing LineageOS zip
Click to expand...
Click to collapse
I have just flashed the stock rom with Emma.
What do you now? What to install in what order?
what I did previously was to use fastboot to flash TWRP and then flash lineageOS through the device itself (using TWRP). But it says the file is corrupted, although i tried 2 different zip files (both for the z3 of course) but both are corrupted.
thanks!

iTayGNR said:
I have just flashed the stock rom with Emma.
What do you now? What to install in what order?
what I did previously was to use fastboot to flash TWRP and then flash lineageOS through the device itself (using TWRP). But it says the file is corrupted, although i tried 2 different zip files (both for the z3 of course) but both are corrupted.
thanks!
Click to expand...
Click to collapse
Nice! Now you can follow Instructions from the How to install section in https://forum.xda-developers.com/z3/orig-development/7-1-cyanogenmod-t3508140 you can skip point 1 and start from 2.
Be sure that your bootloader is still in unlocked status before, otherwise you can unlock it again with flashtool. Otherwise rom won't boot. That's all, good luck

xkeita said:
Nice! Now you can follow Instructions from the How to install section in https://forum.xda-developers.com/z3/orig-development/7-1-cyanogenmod-t3508140 you can skip point 1 and start from 2.
Be sure that your bootloader is still in unlocked status before, otherwise you can unlock it again with flashtool. Otherwise rom won't boot. That's all, good luck
Click to expand...
Click to collapse
Should I use fastboot in order to flash TWRP?
and, why do I need flashtool? do you have a tutorial?
thank you so much!

This is the TWRP log when trying to install LineageOS:
Installing zip file '/external_sd/lineage-14.1-20170523-xkeita-z3.zip'
Check for MD5 file...
Skipping MD5 check: no MD5 file found
Zip file is corrupt!
Error installing zip file /external_sd/lineage-14.1-20170523-xkeita-z3.zip'
Updating partition details...
...done
(bold = red letters_
What have I done wrong?

iTayGNR said:
This is the TWRP log when trying to install LineageOS:
Installing zip file '/external_sd/lineage-14.1-20170523-xkeita-z3.zip'
Check for MD5 file...
Skipping MD5 check: no MD5 file found
Zip file is corrupt!
Error installing zip file /external_sd/lineage-14.1-20170523-xkeita-z3.zip'
Updating partition details...
...done
(bold = red letters_
What have I done wrong?
Click to expand...
Click to collapse
It is probably the zip file itself which is (like TWRP states) corrupted.
Try to redownload the zip from the LOS thread and flash it, guess something went wrong with your first download and/or transfer of the zip to your SD.

Related

[SOLVED] TWRP 3.0.2 bootloop

Hello everyone.
I had a problem flashing TWRP on my Google Nexus 5, or better the problem comes when I try to enter the recovery.
I followed this pattern from stock android 6.0.1 with august security patch:
1) unlock bootloader
2) downloaded lastest TWRP (3.0.2 hammerhead) recovery from the official website
3) flash it with "fastboot flash recovery recovery.img"
Until this point everything's alright but then when I unplug my phone from the laptop and click on enter recovery something strange happens.
I can see the TWRP boot image but as soon as I go in I see tons of errors related to "cannot mount ..." and some partitions name like /data, /cache, and then starts the bootloop without let me any chance to do something. Sorry but I can't see every error beacuse this happen too fast.
Any idea on what is going on?
I've tried the TWRP 3.0.1 but is the same shuold I go down or maybe I have to change it beacuse of compatibily issues with the monthly patches?
Thank you for your help, I hope I explained my problem clearly.
After unlocking the bootloader, phone wipe all data? Did you reboot after unlocking bootloader?
audit13 said:
After unlocking the bootloader, phone wipe all data? Did you reboot after unlocking bootloader?
Click to expand...
Click to collapse
No I've just unlocked and then tryied to flash the recovery without wipe.
But data is already wiped by unlocking the bootloader isn't it?
Anyway thanks for your reply as soon as I can I'll try what you have written.
Yes, the data should be automatically wiped. Try TWRP 2.87. If the phone still doesn't boot into TWRP, reflash stock recovery, flash userdata.img, immediately boot into stock recovery using the button combo without rebooting, perform a factory wipe, reboot into fastboot, and flash TWRP again.
audit13 said:
Yes, the data should be automatically wiped. Try TWRP 2.87. If the phone still doesn't boot into TWRP, reflash stock recovery, flash userdata.img, immediately boot into stock recovery using the button combo without rebooting, perform a factory wipe, reboot into fastboot, and flash TWRP again.
Click to expand...
Click to collapse
Thank you so much for telling me to flash the 2.8.7, i've choosen the 2.8.7.1 without success (it did't flash i don't know why) but then after another wipe all I've flashed the 2.8.7.0 and it seems to work.
The only thing I would like to ask now is: I'm going to flash superSU and elementalX over stock AOSP (I don't want custom ROM for now) and can this recovery cause problem because of it is not the last update?
Thank you again for the answer!
I have not tried 2.87 with Elemental X. The only way to determine whether it will work would be to try it. I recommend creating a nandroid backup before flashing Elemental so you can restore if something goes wrong.
TWRP Restore problem
Hi, I have an issue with the resotre of TWRP...
Here's what I did:
-Downloaded the latest OTA image https://developers.google.com/android/nexus/ota
-Downloaded latest SuperSU http://download.chainfire.eu/supersu-stable
-Downloaded latest ElementalX http://elementalx.org/devices/nexus-5/
-reboot to TWRP
Choose OTA, then SuperSU, then ElementalX
Luunch the restore..
And my screen is "blocked" from 5 hours on Install Zip 1 of 3.
"blocked" means doesn't move to the Zip2 but the clock is moving... the screen is locking itself after few seconds and I am able to unlock it...
Any idea how to exit properly ?
I have rebooted...deleted all my music... (I think that the issue may come from insufficient disk space) and relaunched...
Will see...
download Nexus Root Toolkit-type in google Nexus Root Toolkit - and watch from yuotoube how it work's
good luck
hunter-dz said:
download Nexus Root Toolkit-type in google Nexus Root Toolkit - and watch from yuotoube how it work's
good luck
Click to expand...
Click to collapse
My N5 was already rooted... and it's the second time that I update the OTA using directly TWRP... and for the August patch it has worked fine.
I don't know what's happen now...
kevtuning said:
My N5 was already rooted... and it's the second time that I update the OTA using directly TWRP... and for the August patch it has worked fine.
I don't know what's happen now...
Click to expand...
Click to collapse
Download thé nrt and i Will teach how to root ur n5
And type in Google nrt n5 xda
audit13 said:
I have not tried 2.87 with Elemental X. The only way to determine whether it will work would be to try it. I recommend creating a nandroid backup before flashing Elemental so you can restore if something goes wrong.
Click to expand...
Click to collapse
Now I can confirm that I was able to flash the lastest SuperSU and ElementalX with TWRP 2.8.7.0 without any problem, so thank you again for your help.
kevtuning said:
Hi, I have an issue with the resotre of TWRP...
Here's what I did:
-Downloaded the latest OTA image https://developers.google.com/android/nexus/ota
-Downloaded latest SuperSU http://download.chainfire.eu/supersu-stable
-Downloaded latest ElementalX http://elementalx.org/devices/nexus-5/
-reboot to TWRP
Choose OTA, then SuperSU, then ElementalX
Luunch the restore..
And my screen is "blocked" from 5 hours on Install Zip 1 of 3.
"blocked" means doesn't move to the Zip2 but the clock is moving... the screen is locking itself after few seconds and I am able to unlock it...
Any idea how to exit properly ?
Click to expand...
Click to collapse
Hi, I've have successfully installed the last OTA update but not with zip file, instead I downloaded the factory image and flashed with fastboot boot.img and system.img (also vendor.img if you have one) then rebooted into TWRP and installed the lastest ElementalX and SuperSU.
I'm not sure but I think that factory image zip file are not installable via recovery but only with the flash-all that comes with them. This script use fastboot to flash everything you need of the factory image
You can find this procedure on the ElementalX website, here is the link hope it can help out: http://elementalx.org/how-to-install-android-monthly-security-updates/
Finally... I installed CM13 and ElementalX... in some minutes ...
I suppose the the problem was in my zip file...

Oneplus one stuck in boot logo while updating latest TWRP 3.0.2

Hi,
was trying to install new ROM & completly wipe out OPO (Including OS). to do so got some error in zip file execution.
So tried to update TWRP (2.8.6 to 3.0.2) and now stuck into OPO boot screen.
Please help!
Thanks in advance!
BR//
Ashok
ashokyadav668 said:
Hi,
was trying to install new ROM & completly wipe out OPO (Including OS). to do so got some error in zip file execution.
So tried to update TWRP (2.8.6 to 3.0.2) and now stuck into OPO boot screen.
Please help!
Thanks in advance!
BR//
Ashok
Click to expand...
Click to collapse
Can you boot into the recovery? Or fastboot? Also before trying to install a new ROM did you backup your previous?
Durso81 said:
Can you boot into the recovery? Or fastboot? Also before trying to install a new ROM did you backup your previous?
Click to expand...
Click to collapse
Can't boot into recovery mode, maybe something went wrong while updating TWRP to 3.0.2 but can boot into fastboot.
also had backup of previous rom but since i can't boot into TWRP now so can't restore it. Earlier on TWRP 2.8.6 i was getting zip file execution error while restoring/installing new ROM.
So for now i have only access to fastboot mode, how to proceed futher?
ashokyadav668 said:
Can't boot into recovery mode, maybe something went wrong while updating TWRP to 3.0.2 but can boot into fastboot.
also had backup of previous rom but since i can't boot into TWRP now so can't restore it. Earlier on TWRP 2.8.6 i was getting zip file execution error while restoring/installing new ROM.
So for now i have only access to fastboot mode, how to proceed futher?
Click to expand...
Click to collapse
You have 2 options you can flash the stock rom and recovery via fastboot here is a guide http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541 (Just skip step 4 don't relock the bootloader specially if you want to install TWRP) Make sure you download the correct file there is a 64gb and a 16gb listed in this guide or you can download the stock file straight from cynogen OS here https://cyngn.com/support
Or you can reinstall TWRP via fastboot by downloading TWRP here https://dl.twrp.me/bacon/ and install your backup if its still there. If its not there you can either download and install any custom rom you want or if you want the stock rom go with option 1 above and then re-install twrp. (Always remeber after installing TWRP don't fully boot into the system or you will loose TWRP, boot straight to recovery once its done flashing TWRP by holding the power button and volume down. )
Durso81 said:
You have 2 options you can flash the stock rom and recovery via fastboot here is a guide http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541 (Just skip step 4 don't relock the bootloader specially if you want to install TWRP) Make sure you download the correct file there is a 64gb and a 16gb listed in this guide or you can download the stock file straight from cynogen OS here https://cyngn.com/support
Or you can reinstall TWRP via fastboot by downloading TWRP here https://dl.twrp.me/bacon/ and install your backup if its still there. If its not there you can either download and install any custom rom you want or if you want the stock rom go with option 1 above and then re-install twrp. (Always remeber after installing TWRP don't fully boot into the system or you will loose TWRP, boot straight to recovery once its done flashing TWRP by holding the power button and volume down. )
Click to expand...
Click to collapse
Thanks!
Do you recommend any video guide for option 2 (TWRP via Fastboot).
ashokyadav668 said:
Thanks!
Do you recommend any video guide for option 2 (TWRP via Fastboot).
Click to expand...
Click to collapse
Never watched a video so can't recommend one particular. But here is a link to all guides and how to http://forum.xda-developers.com/oneplus-one/general/index-oneplus-one-resources-compilation-t2843675
Also there is a one click tool here to make it easy
http://forum.xda-developers.com/oneplus-one/development/toolbox-oneplus-one-toolbox-t2808987
ashokyadav668 said:
Thanks!
Do you recommend any video guide for option 2 (TWRP via Fastboot).
Click to expand...
Click to collapse
Thank you Durso81,
i have successfully installed TWRP & ROM.
Thanks for your time & effort for a beginner.

Installed twrp phone reboots to twrp

I installed twrp on my pixel on 7.1.1 it reboots to tarp again I got it to boot to the p.s. by clicking reboot / a on bottom left option but get error codes and can't open a lot of apps. I tried to install a tom and clear device cache and cause fails. Anyone know how I can fix this. I thought I used all the latest files
cgrimm9 said:
I installed twrp on my pixel on 7.1.1 it reboots to tarp again I got it to boot to the p.s. by clicking reboot / a on bottom left option but get error codes and can't open a lot of apps. I tried to install a tom and clear device cache and cause fails. Anyone know how I can fix this. I thought I used all the latest files
Click to expand...
Click to collapse
Did you fastboot boot into TWRP, then flash twrp-pixel-installer-sailfish-3.0.2-0-RC1.zip? Were you stock prior?
Installed img through pc then installed the zip file with twrp. I found a article here stating I need to flash stock ing to get back to normal
cgrimm9 said:
Installed img through pc then installed the zip file with twrp. I found a article here stating I need to flash stock ing to get back to normal
Click to expand...
Click to collapse
Yes, you are not supposed to install twrp, just boot into it. If you install it by mistake, you go back, flash stock boot.img, and do it again.
This is from Dees_Troy's post located here
https://forum.xda-developers.com/pixel/development/twrp-alpha1-pixel-devices-t3500314
Installation:
If you already have TWRP installed: Download the latest zip and install the zip using TWRP.
If you do not already have TWRP installed: Download both the img and the zip. Copy the zip to your device. You will need to have fastboot binaries and the correct drivers installed. Power off your device completely. Hold volume down and turn on the device. Your device should now be in the bootloader. Connect the device to your PC. Open a command window and run the following command from the proper location:
fastboot boot path/to/twrp.img
This will temporarily boot TWRP on your device. If you are using a lockscreen pin/pattern/password and do not get prompted to enter your passord, reboot to the bootloader and try again. Go to install and browse to the zip and install the zip. If you are currently rooted with SuperSU, you will need to reflash the stock boot image before installing TWRP. After installing the stock boot image, follow the instructions for installing TWRP. Once TWRP is installed, grab the very latest SuperSU released on 2015-11-15 or later and install SuperSU.
If you accidently flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest factory image for your device and reflash the boot image.
@Tulsadiver First off, thanks for the post on this. I installed TWRP to slot A by accident and am finding myself in this same predicament (though I found that I can boot by switching to slot B). I found another post online that mentioned what you commented on, specifically:
Tulsadiver said:
Go to install and browse to the zip and install the zip. If you are currently rooted with SuperSU, you will need to reflash the stock boot image before installing TWRP. After installing the stock boot image, follow the instructions for installing TWRP. Once TWRP is installed, grab the very latest SuperSU released on 2015-11-15 or later and install SuperSU.
Click to expand...
Click to collapse
Having previously downloaded Oreo 8.1 and setup root, I had loaded into TWRP, went to install, selected the TWRP zip, and installed (as per what you had suggested and what I read earlier). This is what led me to the current problem, making me realize that I'm missing something in the description. Now, I likely don't need to flash TWRP (I don't develop and used flashfire to do upgrades) but my last upgrade left me rootless and I felt having it installed would make life a little easier. I was hoping to ask for a clarification on the TWRP install.
Also, you mentioned flashing the stock img. Do you mean from the android OTA downloads? I was getting a corrupt file error when I tried flashing that to slot a...
alienjon said:
@Tulsadiver First off, thanks for the post on this. I installed TWRP to slot A by accident and am finding myself in this same predicament (though I found that I can boot by switching to slot B). I found another post online that mentioned what you commented on, specifically:
Having previously downloaded Oreo 8.1 and setup root, I had loaded into TWRP, went to install, selected the TWRP zip, and installed (as per what you had suggested and what I read earlier). This is what led me to the current problem, making me realize that I'm missing something in the description. Now, I likely don't need to flash TWRP (I don't develop and used flashfire to do upgrades) but my last upgrade left me rootless and I felt having it installed would make life a little easier. I was hoping to ask for a clarification on the TWRP install.
Also, you mentioned flashing the stock img. Do you mean from the android OTA downloads? I was getting a corrupt file error when I tried flashing that to slot a...
Click to expand...
Click to collapse
Things have changed with 8.1. you have to root with magisk. From slot b you cannot fastboot flash boot_a boot.img?
I believe the instructions now are to boot to TWRP, install TWRP pixel installer zip, then flash Magisk zip
Here is where TWRP files are here
https://dl.twrp.me/sailfish/
Tulsadiver said:
From slot b you cannot fastboot flash boot_a boot.img?
Click to expand...
Click to collapse
I hadn't tried yet. I was worried about messing things up further without asking for help online first. I'll give this a shot later. Does boot.img refer to the android image file? (ie: what I'd download from the OTA site?)
alienjon said:
I hadn't tried yet. I was worried about messing things up further without asking for help online first. I'll give this a shot later. Does boot.img refer to the android image file? (ie: what I'd download from the OTA site?)
Click to expand...
Click to collapse
Yes, the zip file that is located where the flash-all.bat is. Unzip it and flash the boot.img.
I bought a Pixel 2 on swappa. It had different bootloader's on slot a and slot b. I couldn't flash updates when on slot a. I thought I was hosed but from slot b I could flash to slot a so now I'm fine. Slot a had a preview bootloader.

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

TWRP keeps crashing

I have backed up and rooted my motorola g6 plus, using twrp and magisk. I want to install a custom rom, but when I go into recovery mode, it defaults to the moto system, and not Twrp, When I try to open Twrp it crashes and will not load, I i it and re installed but it 'helped. What can I do to fix it please?
hi, you need to boot up in twrp then install it using the twrp zip installer from twrp official page. i'm not a dev but there is something like boot partition inside the system partition that change recovery everytime you flash a custom rom
so:
fastboot boot twrp.img
inside twrp you should format data
flash disable dm-verity focerencrypt
flash hab disable
flash twrp installer zip
remember everytime you flash a custome rom twrp will be replace for the custom rom's recovery.
hope you can make it.
Barb28n said:
I have backed up and rooted my motorola g6 plus, using twrp and magisk. I want to install a custom rom, but when I go into recovery mode, it defaults to the moto system, and not Twrp, When I try to open Twrp it crashes and will not load, I i it and re installed but it 'helped. What can I do to fix it please?
Click to expand...
Click to collapse
You don't need to flash the hab-disabler.zip, it's now included here
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
d_g_m_2000 said:
hi, you need to boot up in twrp then install it using the twrp zip installer from twrp official page. i'm not a dev but there is something like boot partition inside the system partition that change recovery everytime you flash a custom rom
so:
fastboot boot twrp.img
inside twrp you should format data
flash disable dm-verity focerencrypt
flash hab disable
flash twrp installer zip
remember everytime you flash a custome rom twrp will be replace for the custom rom's recovery.
hope you can make it.
Click to expand...
Click to collapse
Thanks, I am now getting the message " cannot determine if device corrupted, can I get rid of the message, and where do I find the disable dm-verity and hab disable. Unless I am just being thick here
Barb28n said:
and where do I find the disable dm-verity and hab disable
Click to expand...
Click to collapse
You only need this
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
WoKoschekk said:
You only need this
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
Click to expand...
Click to collapse
Thanks for all your help, but now I need step by step instructions, I have the pixel experience rom on my moto g6+ I tried to install the zip you pointed me to, with fastboot and it didn't work, so I know i am doing something wrong. You have got me out of trouble before, and I am hoping you can do it again
Barb28n said:
Thanks for all your help, but now I need step by step instructions, I have the pixel experience rom on my moto g6+ I tried to install the zip you pointed me to, with fastboot and it didn't work, so I know i am doing something wrong. You have got me out of trouble before, and I am hoping you can do it again
Click to expand...
Click to collapse
Use my guide here to install TWRP:
https://forum.xda-developers.com/g6-plus/how-to/guide-how-to-fix-stuck-twrp-splash-t4138179
Skip »5. Disable HAB verification by flashing this .zip hab_disabler.zip« because it's already included in step 4. since a few weeks.
Pixel ROM
Flash the installer.zip of your Pixel ROM with TWRP. Then flash the TWRP installer.zip again to use your Pixel ROM with a TWRP recovery.
thanks again, for your help, I think the corrupt message is now gone, The verity mode is still there, will that always be there?
Barb28n said:
thanks again, for your help, I think the corrupt message is now gone, The verity mode is still there, will that always be there?
Click to expand...
Click to collapse
The message "verity mode is set disabled" can't be blocked and won't disappear.
Thanks, for your help, I really appreciate it
Sorry to hear you were having issues, but questions go in the Q/A section. The development section is strictly for, well development

Categories

Resources