TWRP and Magisk - Moto Z2 Force Questions & Answers

I was a root/rom aficionado back in the day, but laid off for a bit. Last device I messed with was an Essential phone, where you'd fastboot flash TWRP, reboot recovery, and then TWRP flash the stock boot image, then the Magisk zip. Is the process different for the Z2? In the guides I've read through, I don't see any mention of the stock boot image being flashed after the TWRP flash.
I realize flashing the stock boot image replaces TWRP, and I'm ok with that. I'm really only looking for the added Magisk functionality and not root.

For TWRP you would want to follow the guide on TWRP.me for this device.
In short, you want to fastboot boot (not flash) twrp, then install the twrp installer zip, reboot recovery, then install magisk.
After installing magisk, if you start boot looping, you need to go back in and format (not wipe) data.

Related

how does this dang phone work?!

... with respects to recovery and flashing. Just picked up this one about 2 hours ago. I used the unified tool kit, am rooted and running RR... But I can only boot into CM recovery. Any attempts to flash (using toolkit to boot to TWRP) SuperSU, or ARISE, or whatever, don't do anything.
What's the trick
Well usually you got to flash the rom, flash twrp. Then reboot back to twrp, for flashing extra packages. Usually after ROM + TWRP, I like booting into OS and setting things up and then going to twrp to flash root.
But your problem is very simple to solve. Just flash twrp recovery from bootloader using "fastboot boot ' twrp image name ' ". Then reflash the rom and twrp. Then boot into the os. Then go back into twrp to root and flash arise sounds or what not. I am running RR with no issues and arise sounds is working no issues.
Thank you. I'm booting into TWRP now just fine, but flashing SuperSU and ARISE don't work,.. Or at least, the apps don't show up as they should
edit: update
used the supersu SR3 version and now everything is normal
cheers

TWRP not staying after flash

After I flashed TWRP and went to the recovery right after flash, TWRP booted and I did decrypt + allow mods. Once I booted to system and later booted to recovery, TWRP didn't boot and stock recovery booted. Any help?
What I'd try is boot twrp, fastboot boot twrp.img. Then install supersu in twrp. Then boot back into the bootloader and flash twrp.
BearOfXDA said:
After I flashed TWRP and went to the recovery right after flash, TWRP booted and I did decrypt + allow mods. Once I booted to system and later booted to recovery, TWRP didn't boot and stock recovery booted. Any help?
Click to expand...
Click to collapse
I'm guessing you are still on the stock ROM and kernel? Flash a different kernel, or depending on flashing root it might modify the boot.img and stop it from doing that too.

Oneplus 5T root problem

Hello all If any one can help me ,
I was rooted running rooted stock oxygen os before on my Oneplus 5T
after flashing Oxygen OS 5.1.4 Full Zip my phone is not rooting it gets in initial oneplus logo and freeze there without loading OS
Phone is working fine after Flashing Oxygen OS 5.1.4 Full Zip without any issue its not booting after flashing either SuperSu or Magisk
Steps which I follow are
1 Flash custom recovery I have tried both Codeworkx TWRP | Blu_Spark
2 after flashing recovery boot in to recovery flash Supersu or magisk
3 reboot
when I reboot if i Flash supersu it stuck on oneplus logo, If i flash magisk it reboot itself to fastboot so Os is not loading at all.
I have to flash full Zip again every time to get it working but then I dont have root access.
I have tried at least 10 times with different even old versions of magisk and supersu with out any success.
Is there any particular recovery or different version of magisk or superuse I need to flash?
your help will be really appreciated.
Try a different approach. Instead of installing recovery, just get phone rooted first. There is a way where you can boot into twrp (without installing it), and then flash magisk/supersu zip. If your phone is rooted, then you can install twrp later (or keep oem recovery)
This is how you boot into twrp (or any recovery): fastboot boot recovery recovery.img
Let me know how it goes.
As you said boot to recovery without installing it.
One problem currently I am installing recovery and flashing root. After that phone is not booting up in to OS it stuck on oneplus logo. Then I have to force off phone boot in to recovery and flash full os zip to get it working. I can boot in to TWRP because my os didn't load. Now if I use your method and flash root file and if phone won't boot to os that means I won't be able to boot in to TWRP again to flash full os zip to get phone working atleast without root. Any idea?
Huh, frankly I have no idea why you are facing this menace. I can just give two suggestions.
1. Try with older, more stable versions of TWRP and Magisk
2. Get yourself a custom ROM, most ROM's will work flawlessly after flashing root files
Hope for the best!
I usually switch from OpenBeta to LOS and back again. Here's how I switch back to OpenBeta (steps should work for official OOS):
1) Back everything on internal storage up. This one's important
2) Boot into official OOS recovery
3) Wipe EVERYTHING (this is why you need to follow Step 1)
4) Sideload the version of OOS you want. The instructions will be right there on the recovery screen
5) Boot into Fastboot and flash TWRP
6) Flash Magisk and (optional) Xposed

Unable to boot into TWRP

So, I successfully unlocked the bootloader, then followed the instructions to install TWRP (which worked initially because I was able to access TWRP immediately after flashing). But how to I access it again once I'm back in the OS? When I click reboot to recovery it always reverts back to the stock recovery. I'm still on the stock OS, but I just assumed once TWRP was installed I could boot into it from there. What am I missing?
Solved the problem by getting Magisk installed and using Flashify app to flash the downloaded TWRP img.
@brGabriel just use the fastboot commands as mentioned by manojpawarsj12;
fastboot flash recovery twrp.img
Don't mess around with Flashify, it's dated and a good way to brick your phone...

flashing stock factory image without -w flag

Hi there. I wanted to go back to stock ROM, but with TWRP, caesium kernel and root/magisk. Right now I am on a custom ROM. So I wanted to backup with swift backup pro, TWRP. Then flash stock image to both slots / full wipe. Then boot to TWRP with fastboot, flash TWRP zip and kernel plus magisk, reboot TWRP and flash my debloater script. Then next month flash the factory image without the -w flag in the batch, and repeat the process above to have kernel and root. Am I missing something? Is the planned process proper? Or did I plan wrong steps?
I think you're fine, except an OTA will be more efficient the second time around.
Backup.
Connect P2XL to PC and Flash stock image to both slots.
Boot into TWRP using fastboot.
Install TWRP to the recovery ramdisk (as of TWRP 3.3.0-0).
Flash Magisk.
Flash your (unnecessary IMHO) debloater script.
Boot.
Enjoy the device until the next update, then...
Download a full OTA to the device.
Boot into TWRP.
Install the OTA.
Install TWRP to the recovery ramdisk (as of TWRP 3.3.0-0).
Flash Magisk.
Boot.
As of the release of TWRP 3.3.0-0 zip files are no longer available for installing TWRP to boot.img. TWRP will install itself into the boot.img by selecting "Install Image", then selecting "Install to recovery ramdisk".
Thanks, Sir.
OTA does not overwrite TWRP then?
Or flash OTA, boot to TWRP, flash TWRP as image, kernel & magisk? I guess I'll decrypt before flashing OTA?
An OTA will overwrite both TWRP and Magisk since it flashes a stock boot image. However, you are installing the OTA using TWRP and thus have TWRP resident in memory, so as long as you do not reboot you can flash TWRP to the ramdisk and then flash Magisk.
Strephon Alkhalikoi said:
An OTA will overwrite both TWRP and Magisk since it flashes a stock boot image. However, you are installing the OTA using TWRP and thus have TWRP resident in memory, so as long as you do not reboot you can flash TWRP to the ramdisk and then flash Magisk.
Click to expand...
Click to collapse
Thanks again, Sir.

Categories

Resources