stuck in bootloop after Magisk Module disable - OnePlus 6T Questions & Answers

Can someone please help? I tried a Magisk Module, which was working, then disabled it in Magisk Manager and did a reboot. Now I'm stuck in a bootloop.
I tried sideloading this to remove the module: https://forum.xda-developers.com/apps/magisk/module-tool-magisk-manager-recovery-mode-t3693165
But it says: "(!) Magisk not installed or version not supported"
I'm on Magisk 17.3, TWRP by blu.spark and on stock ROM 9.0.5.
Please help!

Are you able to get into fastboot? If so, I think if you were to just fastboot flash the stock boot.img it would fix your issue by removing magisk. I think it would keep your data as well.
If that doesn't work just fastboot flash the stock 9.0.5 images.
Additionally, if you can boot into TWRP and have a nandroid on hand go ahead and just flash your backup in recovery.

Unfortunately flashing the boot.img does not work. Still bootlooping. I've already flashed the stock boot, recovery and system.

If that's the case I would just reflash the stock images.

Try to flash boot_a and boot_b with fastboot:
fastboot flash boot_a stockboot.img
fastboot flash boot_b stockboot.img
Being "stockboot.img" your stock boot image, then reboot and try if it works.

ducted said:
Try to flash boot_a and boot_b with fastboot:
fastboot flash boot_a stockboot.img
fastboot flash boot_b stockboot.img
Being "stockboot.img" your stock boot image, then reboot and try if it works.
Click to expand...
Click to collapse
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
I tried with this one as stock img, no luck here :/
Boot a, boot in recovery
boot b is a bootloop

Thanks guys, but nothing helped. I think I'll do the full wipe now. Need a working phone tomorrow and time is running. I have a OnePlus Switch Backup, so not everything is lost.

Soujyu51 said:
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
I tried with this one as stock img, no luck here :/
Boot a, boot in recovery
boot b is a bootloop
Click to expand...
Click to collapse
If you're able to boot to recovery, maybe you should consider wipe all system settings, cache and data...
It's annoying to start over again, but doing that just after flashing both boot_a and boot_b partitions, should get rid of Magisk and all his settings.

ducted said:
If you're able to boot to recovery, maybe you should consider wipe all system settings, cache and data...
It's annoying to start over again, but doing that just after flashing both boot_a and boot_b partitions, should get rid of Magisk and all his settings.
Click to expand...
Click to collapse
the boot was a bit long but indeed it worked,
I need to learn a bit more about A and B partition, does that wipe clear A and B partition or only one ?

how did you access recovery after bootloop? I’m in a similar situation.

xtravbx said:
how did you access recovery after bootloop? I’m in a similar situation.
Click to expand...
Click to collapse
Press and hold the vol. down and the power buttons until the phone vibrates or turn on.

bootloop
Hi All...I had a same issue.. after trying root, magisk, i installed the pixel3lsk module...but when i tried to uninstall and reboot, went to bootloop
then I kept trying the fastboot pressing both volume and power keys... then through fastboot did the above 2 commands into both partitions..
then still stuck... then wiped cache and reboot.. voila...now back to stock rom...
so all ended well... and decided against rooting for ever..hahah

balajipitch said:
Hi All...I had a same issue.. after trying root, magisk, i installed the pixel3lsk module...but when i tried to uninstall and reboot, went to bootloop
then I kept trying the fastboot pressing both volume and power keys... then through fastboot did the above 2 commands into both partitions..
then still stuck... then wiped cache and reboot.. voila...now back to stock rom...
so all ended well... and decided against rooting for ever..hahah
Click to expand...
Click to collapse
i had the same issue did u fix it

bishoy ashraf said:
i had the same issue did u fix it
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=72542167&postcount=242&nocache=1
Use this to uninstall magisk modules.
I found that reading this article:
https://magiskroot.net/uninstall-magisk-module-twrp/
Greetings

Last but efficient solution: flash official stock rom from twrp without factory wipe, it will fix broken files and keep your data

Had this exact issue yesterday after uninstalling "Pix3lify". In order to fix it, I had to used adb and check for devices. Volume up and power would not turn off the device, but adb could reboot into twrp where a full data reset fixed the phone.

Okay. I am just in a bootloop now after disabling Pix3liify. So its a dead end, I'm going to wipe data

after over 20 hours' fighting , I swipe the factory reset button~now ,it's OK~~~

captainpuppet said:
https://forum.xda-developers.com/showpost.php?p=72542167&postcount=242&nocache=1
Use this to uninstall magisk modules.
I found that reading this article:
https://magiskroot.net/uninstall-magisk-module-twrp/
Greetings
Click to expand...
Click to collapse
This is gold. Thanks

got bootloop after installing xposed, how to disable magisk without TWRP?

Related

Cannot flash TWRP. Stock recovery is persistent

Hi,
In order to update my phone to oxygenOS 2.2. I flashed oxygenOS 2.1.1 full rom and installed the OTA update for 2.2. Because of this the phone switched back to stock recovery. So I tried to install TWRP recovery through fastboot. The installation was successful but after reboot, it looks like the phone is keep switching back to stock recovery. I have tried this many times but same result everytime.
Note1: I did turned on the USB debugging before this.
Note2: Bootloader is unlocked.
Any help would be great. Thanks in advance!!
When TWRP asks you to modify system partition give it permission to do so at the start of booting to recovery
Akhil701 said:
When TWRP asks you to modify system partition give it permission to do so at the start of booting to recovery
Click to expand...
Click to collapse
The problem is that I dont see TWRP even once after flashing it. After flashing when I reboot to recovery, it directly shows me default recovery. When I said its switching back to stock recovery, because the flashing of twrp was successful, I am assuming that it is switching back to stock recovery.
Dreckk said:
The problem is that I dont see TWRP even once after flashing it. After flashing when I reboot to recovery, it directly shows me default recovery. When I said its switching back to stock recovery, because the flashing of twrp was successful, I am assuming that it is switching back to stock recovery.
Click to expand...
Click to collapse
I also experienced this the first time. But I just ran fastboot flash recover openrecover-twrp-2.8.7.0.img one more time and then rebooted the phone and pressed volume down until it entered TWRP.
pitrus- said:
I also experienced this the first time. But I just ran fastboot flash recover openrecover-twrp-2.8.7.0.img one more time and then rebooted the phone and pressed volume down until it entered TWRP.
Click to expand...
Click to collapse
Did that many times, but it keeps getting entering in the default recovery.
What happens when you boot twrp with fastboot instead of flashing?
Also probably shouldn't flash an ota 2 versions different than the full. If that was the full version you already had, should have flashed 2.1.2 ota then the 2.2.0 ota.
I'm having the same issue. I was able to boot into TWRP once from Fastboot, flashed SuperSU it said it was successful, then I rebooted. Root was not available, and stock recovery was back.
Chris_el said:
I'm having the same issue. I was able to boot into TWRP once from Fastboot, flashed SuperSU it said it was successful, then I rebooted. Root was not available, and stock recovery was back.
Click to expand...
Click to collapse
Don't know if will work... but boot to twrp from fastboot then flash twrp from within twrp.
khaos64 said:
Don't know if will work... but boot to twrp from fastboot then flash twrp from within twrp.
Click to expand...
Click to collapse
Hmm i'll give that a shot when I get home from work. Thanks.
Chris_el said:
Hmm i'll give that a shot when I get home from work. Thanks.
Click to expand...
Click to collapse
fastboot boot /path/to/twrp
then Swipe to allow modifications!
Yash98 said:
fastboot boot /path/to/twrp
then Swipe to allow modifications!
Click to expand...
Click to collapse
I get the error "FAILED remote: dtb not found'

Help help help with a hard bricked 6P

Hello guys,
I had my phone rooted with latest twrp. I flashed stock+ rom with Franco Kernel 25r and the A.R.I.S.E file for better sound. I've done the same set up minus the ARISE file and never had an issue.
well to my luck it kept bootlooping and I wasn't able to get back into my custom recovery. When I got home and got my hands on a pc I did a factory reset by manually flashing stock google img . I even used a couple tools since I ran out of ideas and still no luck.
I'm able to do anything through fastboot but I can't seem to get into my recovery at all.
Any ideas or tips of where I should go next?
Not a Hardbrick
As long as you can get to the bootloader mode, you haven't hard bricked your device. Hardbricking is a point where you cant boot your device and in to bootloader so there is no way to flash your device to a useable state.
Now as you can boot to the bootloader, just fastboot boot twrp.img and if you have a factory image zip, copy it in your device internal storage and flash it. Its that simple, provided you are already using an unencrypted boot.img in your current setup. Or else the next step is to flash an decrypted boot.img(you will loose all your userdata and internal storage data.). There are ways to mount the the encrypted filesystem if you are using a pin or password combo with your fingerprint. But without it its a bit more trickier so just for ease and if you dont have any inseparable data in your device now just flash a decrypted boot.img and then you can easily mount your internal storage to your pc and copy the factory image and the rest you already know..
At this point, I'd recommend a full reset.
Flash all the images in the latest Android M factory image (don't flash DP5 or similar N based ROMs): Recovery, Boot, System, Bootloader, Radio, everything.
Once you get stabilized and back into a working phone, then start rooting and messing around with kernels and what not.
To be completely honest, I've flashed nearly every ROM for the 6p, as well as my other Nexus devices, Galaxy phones, Sony phones, and no-name brands and none of those ultra modified kernels did any noticeable change. I tried the F2FS, NTFS, etc file system changes, tweaks to the governors and IO's, all of that, and found the stock kernel was the best. If a kernel with a different IO Scheduler worked even 10% better than the current implementation, and was just as stable, don't you think the Google/Android Engineers would've pushed that to live?
Currently running Pure Nexus July 23rd Update, everything stock that comes with it, Systemless Root/XPosed, and Viper4Android and have never had a performance or stability issue. I'd recommend you do the same.
leninmon said:
As long as you can get to the bootloader mode, you haven't hard bricked your device. Hardbricking is a point where you cant boot your device and in to bootloader so there is no way to flash your device to a useable state.
Now as you can boot to the bootloader, just fastboot boot twrp.img and if you have a factory image zip, copy it in your device internal storage and flash it. Its that simple, provided you are already using an unencrypted boot.img in your current setup. Or else the next step is to flash an decrypted boot.img(you will loose all your userdata and internal storage data.). There are ways to mount the the encrypted filesystem if you are using a pin or password combo with your fingerprint. But without it its a bit more trickier so just for ease and if you dont have any inseparable data in your device now just flash a decrypted boot.img and then you can easily mount your internal storage to your pc and copy the factory image and the rest you already know..
Click to expand...
Click to collapse
First of all thank you for the response.
I've tried flashing the most current twrp and it seems to go through fine on fast boot but when I actually try to get into recovery from the device it will boot loop and just keep doing that.
How can I get into the phones storage through fastboot?
Where can I get the factory zip?
it feels as if everything seems to go good through fastboot but when I actually try to boot the phone nothing seems to work.
Wiltron said:
At this point, I'd recommend a full reset.
Flash all the images in the latest Android M factory image (don't flash DP5 or similar N based ROMs): Recovery, Boot, System, Bootloader, Radio, everything.
Once you get stabilized and back into a working phone, then start rooting and messing around with kernels and what not.
To be completely honest, I've flashed nearly every ROM for the 6p, as well as my other Nexus devices, Galaxy phones, Sony phones, and no-name brands and none of those ultra modified kernels did any noticeable change. I tried the F2FS, NTFS, etc file system changes, tweaks to the governors and IO's, all of that, and found the stock kernel was the best. If a kernel with a different IO Scheduler worked even 10% better than the current implementation, and was just as stable, don't you think the Google/Android Engineers would've pushed that to live?
Currently running Pure Nexus July 23rd Update, everything stock that comes with it, Systemless Root/XPosed, and Viper4Android and have never had a performance or stability issue. I'd recommend you do the same.
Click to expand...
Click to collapse
Thanks for the reply.
I've done the manual flashing already and flashed everything single item the most current factory image. Everything seemed to have gone through okay but when I rebooted the phone it was back to 0.
I'm actually considering getting rid of the phone now since it is my daily =/
Format each partition before flashing.
fastboot format <partition>
wait until it's done, then
fastboot flash <partition> <image>
Some partitions can't be formatted, which there are ways around, but try this first.
Just get to bootloader mode and try booting the twrp.img
fastboot boot twrp.img
From the twrp ui, go to advanced wipe and format your storage.
To mount the internal storage on your PC, enable mtp from twrp screen.
If U are using a decrypted boot.img, it will easily mount ur internal storage. Or try flashing a decrypted boot.img
fastboot flash boot boot.img
Then try the above again..
leninmon said:
Just get to bootloader mode and try booting the twrp.img
fastboot boot twrp.img
From the twrp ui, go to advanced wipe and format your storage.
To mount the internal storage on your PC, enable mtp from twrp screen.
If U are using a decrypted boot.img, it will easily mount ur internal storage. Or try flashing a decrypted boot.img
fastboot flash boot boot.img
Then try the above again..
Click to expand...
Click to collapse
I flashed the twrp.img and it went through successfully at least on the computer it did but when the phone actually tries to get into recovery (twrp) it will start to boot loop and keep on doing that. I tried both an encrypted and decrypted boot img but it still made no difference.
I'm really going crazy over this
Wiltron said:
Format each partition before flashing.
fastboot format <partition>
wait until it's done, then
fastboot flash <partition> <image>
Some partitions can't be formatted, which there are ways around, but try this first.
Click to expand...
Click to collapse
I just tried this and had no luck =/....the phone wont get past the google boot screen
You need to explain more on what you actually tried here.
Just download the latest factory image and try to flash the latest bootloader using fastboot.
Then boot to the bootloader and try formating the device. Not wiping
Then you have to
fastboot boot twrp.img
I believe you have only tried wiping not formating. I faced similar issue before. But once I flashed a decrypted boot.img, it cleared the user data and then I was able to get to twrp.
Maybe your twrp img is corrupted if this didn't work.
leninmon said:
You need to explain more on what you actually tried here.
Just download the latest factory image and try to flash the latest bootloader using fastboot.
Then boot to the bootloader and try formating the device. Not wiping
Then you have to
fastboot boot twrp.img
I believe you have only tried wiping not formating. I faced similar issue before. But once I flashed a decrypted boot.img, it cleared the user data and then I was able to get to twrp.
Maybe your twrp img is corrupted if this didn't work.
Click to expand...
Click to collapse
i just flashed the latest bootloader from the most recent factory image and i did the command format user data and then tried the fastboot boot twrp and the phone will then try to get into recovery, the google logo comes up lasts a couple seconds and boot loops all over to where is says my phone cant be check for corruption
By now i should have been able to get into recovery and it wont go through
edgarted said:
i just flashed the latest bootloader from the most recent factory image and i did the command format user data and then tried the fastboot boot twrp and the phone will then try to get into recovery, the google logo comes up lasts a couple seconds and boot loops all over to where is says my phone cant be check for corruption
By now i should have been able to get into recovery and it wont go through
Click to expand...
Click to collapse
download a factory image and run the flash all file...... it should reboot your phone after 5 minutes and the issue should be resolved.. a hard brick would be a device that does nothing.... in this case i believe that you just didnt do something right.
Then download the latest factory image and extract it
fastboot flash radio.img
fastboot flash bootloader.img
& do a fastboot update the rest archive file as it is
This will flash the rom via fastboot& U don't have to rely on TWRP or CWM
i42o said:
download a factory image and run the flash all file...... it should reboot your phone after 5 minutes and the issue should be resolved.. a hard brick would be a device that does nothing.... in this case i believe that you just didnt do something right.
Click to expand...
Click to collapse
I was really really hoping this would help. I erase/formated everything before flashing anything. I then ran the flash-all file and it took a couple of minutes and it said finished on the command box and my phone restarted and went into the white google logo and rebooted again with a bootloop. I waited around 15 minutes hoping it would start but it didn't.
It honestly feels as if the phone is not processing the full commands but on the pc it seems to go through successfully
is there a way to force an install of a rom and see if maybe a dirty flash over the stock one will allow it to start up?
leninmon said:
Then download the latest factory image and extract it
fastboot flash radio.img
fastboot flash bootloader.img
& do a fastboot update the rest archive file as it is
This will flash the rom via fastboot& U don't have to rely on TWRP or CWM
Click to expand...
Click to collapse
i know how to flash the radio and bootloader but how do i do a fastboot update?
edgarted said:
i know how to flash the radio and bootloader but how do i do a fastboot update?
Click to expand...
Click to collapse
Just unzip the factory image and there U can see the flash shell script files too. Open them in a text editor & U could see the exact command. In a factory img, they also do the same thing via script files. Flashing the radio & bootloader & updating the rest archive
so this is what I've done
I've manually flashed every file needed for the factory image from google.
I also tried wugfresh tool kit which is great but didn't help me much. I flashed stock recovery and treid to boot into to and nothing. I flashed a customer recovery and nothing.
It always does the same thing
the screen that says my phone can't be checked for corruption and then the google sign comes up stays on for a couple seconds and then it bootloops to the can't be checked for corruption.
I try to get into recovery using fastboot commands and the phone does the same exact thing.
I was even able to lock and relock the bootloader and I was able to successfully flash everything at least that is what it showed on the computer
so ive read almost every thread that had to do with bricking and I feel like an expert now but im starting to think it is done =/
edgarted said:
so this is what I've done
I've manually flashed every file needed for the factory image from google.
I also tried wugfresh tool kit which is great but didn't help me much. I flashed stock recovery and treid to boot into to and nothing. I flashed a customer recovery and nothing.
It always does the same thing
the screen that says my phone can't be checked for corruption and then the google sign comes up stays on for a couple seconds and then it bootloops to the can't be checked for corruption.
I try to get into recovery using fastboot commands and the phone does the same exact thing.
I was even able to lock and relock the bootloader and I was able to successfully flash everything at least that is what it showed on the computer
so ive read almost every thread that had to do with bricking and I feel like an expert now but im starting to think it is done =/
Click to expand...
Click to collapse
Hey there. First off make sure to unlock again your bootloader. Then you may follow post # 10 of @Heisenberg 's flashing guide for our device.
First images to flash would be bootloader and radio. First flash bootloader, then make sure to issue the command adb reboot-bootloader. Then afterwards once the phone has rebooted back to bootloader, flash radio, then again do the adb reboot-bootloader again.
Once the phone is again back to bootloader flash the rest of the images except userdata. For the boot.img and recovery.img, flash the stock ones-don't use the decrypted boot.img and don't flash the twrp.img yet. Once all necessary images have been flashed issue the reboot-booloater command one more time, then on the bootloader screen choose the reboot option. Wait anywhere from 3-10 minutes for the phone to load. Let us know how it goes for you.
blitzkriegger said:
Hey there. First off make sure to unlock again your bootloader. Then you may follow post # 10 of @Heisenberg 's flashing guide for our device.
First images to flash would be bootloader and radio. First flash bootloader, then make sure to issue the command adb reboot-bootloader. Then afterwards once the phone has rebooted back to bootloader, flash radio, then again do the adb reboot-bootloader again.
Once the phone is again back to bootloader flash the rest of the images except userdata. For the boot.img and recovery.img, flash the stock ones-don't use the decrypted boot.img and don't flash the twrp.img yet. Once all necessary images have been flashed issue the reboot-booloater command one more time, then on the bootloader screen choose the reboot option. Wait anywhere from 3-10 minutes for the phone to load. Let us know how it goes for you.
Click to expand...
Click to collapse
Hello and thank you for helping.
I tried this method a couple of minutes ago. I flashed them this same way
fastboot flash bootloader C:\angler\images\bootloader-angler-angler-xx.xx.img
fastboot reboot-bootloader
fastboot flash radio C:\angler\images\radio-angler-angler-xx.xx.img
fastboot reboot-bootloader
fastboot flash boot C:\angler\images\boot.img
fastboot erase cache
fastboot flash cache C:\angler\images\cache.img
fastboot flash recovery C:\angler\images\recovery.img
fastboot flash system C:\angler\images\system.img
fastboot flash vendor C:\angler\images\vendor.img
It does the same exact thing it will try and restart the phone, the message that says it can't be checked for corruption the google logo comes up and it repeats it self non stop.
This is what doesn't make sense to me.
This is the file that I had flashed through twrp when it was working fine
Leviticus 1.3 - http://forum.xda-developers.com/android/software/r-s-e-sound-systems-auditory-research-t3379709
edgarted said:
Hello and thank you for helping.
I tried this method a couple of minutes ago. I flashed them this same way
fastboot flash bootloader C:\angler\images\bootloader-angler-angler-xx.xx.img
fastboot reboot-bootloader
fastboot flash radio C:\angler\images\radio-angler-angler-xx.xx.img
fastboot reboot-bootloader
fastboot flash boot C:\angler\images\boot.img
fastboot erase cache
fastboot flash cache C:\angler\images\cache.img
fastboot flash recovery C:\angler\images\recovery.img
fastboot flash system C:\angler\images\system.img
fastboot flash vendor C:\angler\images\vendor.img
It does the same exact thing it will try and restart the phone, the message that says it can't be checked for corruption the google logo comes up and it repeats it self non stop.
This is what doesn't make sense to me.
This is the file that I had flashed through twrp when it was working fine
Leviticus 1.3 - http://forum.xda-developers.com/android/software/r-s-e-sound-systems-auditory-research-t3379709
Click to expand...
Click to collapse
This is weird. What version of the stock factory images did you flash? I've been using leviticus 1.3 since it came out and when i was still on stock rom. I switched over to cm builds and have been flashing every nightly since the 7/24th build, and in the process repeatesly reflashing the aound mod along, and i've had zero issues with the phone booting afterwards.

Help Z00T stuck on bootloop

Help im stuck on bootloop i can get into fastboot and recovery but recovery automatically reboots. I read that there are other .img you need to fix it but i cant find any of them only boot.img.
Is there anything i can do or is it completely ****ed.
its unlocked not rooted bricked while trying. tried sideloading, tried running
fastboot erase cache
fastboot erase userdata
fastboot erase system
whould writing it to an sd card work?
Still can't access fastboot while holding volume up + power button?
I can get into fastboot fine but after 1 min or so it reboots
Since you have unlocked BL flash latest twrp fast. Rename it something short so it will be easy to type
Okay i did that it got into the opening screen for twrp then it rebooted automatically.
FIXED: okay i tried again and it sdidnt reboot what would i do next?
nice that you can now reboot to recovery, all you have to do is flash a custom ROM and gapps. Were you on stock LL or MM ROM before you bootloop? Sorry with the late reply, Im busy with work. Quote my reply so I can receive notification.
24imelqui said:
nice that you can now reboot to recovery, all you have to do is flash a custom ROM and gapps. Were you on stock LL or MM ROM before you bootloop? Sorry with the late reply, Im busy with work. Quote my reply so I can receive notification.
Click to expand...
Click to collapse
I was on stock MM (Marshmellow). Thank you, you've been so much help.
You can flash CM13/14 base ROM without a problem since you were on stock MM. If you decided to wipe system in TWRP, manually power off first in TWRP, wait for the phone to turned off then reboot back to TWRP and flash your new ROM and GAPPS. Do not reboot to system if you wipe system cause you might lose your recovery.
Edit: I only do this when I also wipe Internal Storage.

boot loop / stuck after installing TWRP

hi,
this forum provided me with a ton of useful info but i still couldn't manage to root my phone (F5321), let alone implement custom recovery. after flashing TWRP i always end up either with a bootloop or the screen stuck on displaying 'sony' (waited +20min). i tried the following procedure (at first just 1 + 3):
1) flash via flashtool/xperifirm [flashmode, stock 34.4.A.2.118, wipe userdata // wipe everything]
2) fastboot flash boot boot.img [genesis kernel 1.09 // modded img from this thread // patched img with rootkernel]
3) fastboot flash recovery twrp.img [TWRP 3.3.1 // 3.3.2]
4) directly start into TWRP, format data (to get rid of encryption), wipe cache and reboot to system
=> every time: boot loop until sony screen or it gets stuck on the sony screen
=> i can still start into TWRP
=> flashing stock without TWRP works just fine
edit: it even bootloops when starting TWRP via fastboot boot twrp.img (no matter if before or after first start of flashed stock)
edit2: system boot works if i use TWRP in read-only mode ... but then i can't root or do anything fun ...
any ideas what i can try next?
shikaji said:
hi,
this forum provided me with a ton of useful info but i still couldn't manage to root my phone (F5321), let alone implement custom recovery. after flashing TWRP i always end up either with a bootloop or the screen stuck on displaying 'sony' (waited +20min). i tried the following procedure (at first just 1 + 3):
1) flash via flashtool/xperifirm [flashmode, stock 34.4.A.2.118, wipe userdata // wipe everything]
2) fastboot flash boot boot.img [genesis kernel 1.09 // modded img from this thread // patched img with rootkernel]
3) fastboot flash recovery twrp.img [TWRP 3.3.1 // 3.3.2]
4) directly start into TWRP, format data (to get rid of encryption), wipe cache and reboot to system
=> every time: boot loop until sony screen or it gets stuck on the sony screen
=> i can still start into TWRP
=> flashing stock without TWRP works just fine
edit: it even bootloops when starting TWRP via fastboot boot twrp.img (no matter if before or after first start of flashed stock)
edit2: system boot works if i use TWRP in read-only mode ... but then i can't root or do anything fun ...
any ideas what i can try next?
Click to expand...
Click to collapse
I had a very difficult time rooting my Xperia X Compact (F5321) using the method you describe above. I had exactly the same problem with bootloop and sticking on the Sony screen. My problem was that I did not rename the boot118.img (Modded boot img for 34.4.A.2.118)to boot.img before I flashed it over ADB which resulted in the issues you mentioned. So I'm assuming it's an issue with your boot.img file. Maybe try the original boot118.img?
So I opened up ADB and flashed the renamed boot.img file, followed by Twrp. Then I booted into TWRP recovery (power button + volume down) and installed the supersu (or magisk if you prefer) and drmfix.
Then I rebooted to system and after a few minutes it booted normally into the Xperia homescreen.
Regards,
Dave
funkoot said:
My problem was that I did not rename the boot118.img (Modded boot img for 34.4.A.2.118)to boot.img before I flashed it over ADB which resulted in the issues you mentioned. So I'm assuming it's an issue with your boot.img file. Maybe try the original boot118.img?
Click to expand...
Click to collapse
does the file name of the boot image matter even if i of course change the command accordingly to "fastboot flash boot boot118.img"? i feel like that can't really be but i'll give it a try anyway, thanks!
shikaji said:
does the file name of the boot image matter even if i of course change the command accordingly to "fastboot flash boot boot118.img"? i feel like that can't really be but i'll give it a try anyway, thanks!
Click to expand...
Click to collapse
nope, that wasn't it either.
i also tried now having the boot118.img patched with magsik but same problem occurs. just can't get it to work and i don't know why.
shikaji said:
nope, that wasn't it either.
i also tried now having the boot118.img patched with magsik but same problem occurs. just can't get it to work and i don't know why.
Click to expand...
Click to collapse
I also had lot of problems with thjis root procedure.
The info i found
in twrp the question if the twrp app should be installed choose do not install
After this i was able to boot correctly and install omni, gaaps, magisk
Everytime in TWRP choose ---do not install twrp app
Bluestar01 said:
I also had lot of problems with thjis root procedure.
The info i found
in twrp the question if the twrp app should be installed choose do not install
After this i was able to boot correctly and install omni, gaaps, magisk
Everytime in TWRP choose ---do not install twrp app
Click to expand...
Click to collapse
unfortunately i've tried that as well already. same thing - stuck at sony screen or bootloop.
Hello, any updates ? I have the same problem, after flashing my F5321 with Flashtool to update from android 6 to 8...

TWRP overwrite my ROM?!

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
twrp-3.7.0_12-1-cheeseburger_dumpling.img
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?
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
alecxs said:
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
Click to expand...
Click to collapse
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?
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.
alecxs said:
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.
Click to expand...
Click to collapse
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..

Categories

Resources