Can I just Flash TWRP (already unlocked, rooted with Magisk installed) - Google Pixel 2 Questions & Answers

I cannot find anything on point to this direct question (all the guides/forums seem to have you flashing/installing TWRP first then installing Magisk).
I am already unlocked and installed Magisk/rooted with Magisk SU by using the Magisk Manager method with stock recovery.
At this point can I just flash/install TWRP to have a custom recovery without issue? I ask because I want to try out J to the 4n's Active Edge plus but want to make a backup first before tinkering with it. Loved his stuff as a long HTC viper guy.
Thanks in advance.

bakemcbride21 said:
I cannot find anything on point to this direct question (all the guides/forums seem to have you flashing/installing TWRP first then installing Magisk).
I am already unlocked and installed Magisk/rooted with Magisk SU by using the Magisk Manager method with stock recovery.
At this point can I just flash/install TWRP to have a custom recovery without issue? I ask because I want to try out J to the 4n's Active Edge plus but want to make a backup first before tinkering with it. Loved his stuff as a long HTC viper guy.
Thanks in advance.
Click to expand...
Click to collapse
I cannot find the specific thread (if I do find it I will update) but from what I recall you will need to flash an unpatched boot img and then flash twrp. After that you can reinstall Magisk. I know TWRP modifies the boot so that will interfere with Magisk. I hope this was helpful.

xBlu3 said:
I cannot find the specific thread (if I do find it I will update) but from what I recall you will need to flash an unpatched boot img and then flash twrp. After that you can reinstall Magisk. I know TWRP modifies the boot so that will interfere with Magisk. I hope this was helpful.
Click to expand...
Click to collapse
Extremely helpful! Sounds like I would boot loop the phone if I just flashed TWRP in my current configuration.
I'll uninstall magisk, reboot, then flash the stock boot.img and then follow the twrp/magisk install directions.
Much appreciated!

Here's what I did:
1) Boot twrp img file from fastboot
2) Flash the latest twrp zip in twrp. DON'T REBOOT. If you are going to use a custom kernel, you must do step 3 below. Don't later reboot and flash a custom kernel or you can run into bootloader signature issue. If you ARE NOT going to use a custom kernel, jump to step 4.
3) Flash your custom kernel.
4) Flash the latest Magisk zip to root again
5) Reboot.
Enjoy

Related

Magisk

Hello guys i successfully unlocked Bootloader now i want to root my Nokia 3 via magisk i don't want twrp i just want boot img for magisk but for that i need root i try many apps for rooting but unsuccessfull i want to root then get boot img then unroot then root from magisk please help me.
mudit johari said:
Hello guys i successfully unlocked Bootloader now i want to root my Nokia 3 via magisk i don't want twrp i just want boot img for magisk but for that i need root i try many apps for rooting but unsuccessfull i want to root then get boot img then unroot then root from magisk please help me.
Click to expand...
Click to collapse
You can boot twrp without flashing and then flash root
https://forum.xda-developers.com/no...w-to-unlock-bootloader-nokia-3-t3699344/page2
Check post #15 by @SkaboXD
But when i flash twrp recovery then i go to recovery and ask for password i cancel it then ask for system modifications I'm confused so i dont give permission to twrp for system modifications then i flash magisk zip then wipe cache of dalvik cache and reboot then its stuck in bootloop
mudit johari said:
But when i flash twrp recovery then i go to recovery and ask for password i cancel it then ask for system modifications I'm confused so i dont give permission to twrp for system modifications then i flash magisk zip then wipe cache of dalvik cache and reboot then its stuck in bootloop
Click to expand...
Click to collapse
You said you wanted root, you were supposed to use the process to get root not flash magisk. I thought you had a method of installing magisk after getting root. I thought you were going to boot twrp recovery, not flash it, since you said you didn't want twrp.
Unfortunately you're going to have to flash stock with OST.
Check this link for more information:
https://forum.xda-developers.com/nokia-3/development/nokia-3-official-firmware-india-uae-t3674320
yeah now i got twrp but only come when boot from fastboot commands and i want magisk how can i get it?
did i have to first flash supersu zip from twrp then install magsik? but i want only magisk not supersu
mudit johari said:
did i have to first flash supersu zip from twrp then install magsik? but i want only magisk not supersu
Click to expand...
Click to collapse
I have never actually used magisk. I thought you had a way of installing/flashing magisk once you had root
I try installing magisk by flashing magisk zip from twrp but got bootloop
mudit johari said:
I try installing magisk by flashing magisk zip from twrp but got bootloop
Click to expand...
Click to collapse
Might I ask: what do you need magisk for?
Also in that recovery I got errors like can't Mount and some kind of encryption error and it say's I have to format data
Need magisk for root and modules as also I want all updates properly installed means i want to in stock recovery
mudit johari said:
Also in that recovery I got errors like can't Mount and some kind of encryption error and it say's I have to format data
Click to expand...
Click to collapse
In my opinion, only use the recovery for flashing stuff, don't mount anything other than sdcard, don't unlock. Maybe when there is a more compatible version of twrp ...
---------- Post added at 02:00 PM ---------- Previous post was at 01:17 PM ----------
mudit johari said:
Need magisk for root and modules as also I want all updates properly installed means i want to in stock recovery
Click to expand...
Click to collapse
Well i don't know about the modules, but when I flashed stock firmware with OST (first time I flashed recovery my phone was stuck in twrp) then flashed root and xposed, I was still able to install updates. The stock firmware I installed was 7.0, but now i'm on the most recent update. So unless there are some specific modules that you need from magisk, I think you can stick with the regular root.
On the other hand you can continue to experiment with magisk, maybe you will find something that we don't know yet and get it working. But remember, if you want to flash anything, don't format with twrp at all, just leave everything readonly and flash
I'm not able to go to recovery by buttons. Only by fastboot command why is that?
What the hell is this i just try to go to recovery by buttons it works but I'm on stock recovery but i flashed twrp then i format data did formatting data did something to recovery? Or is it that i have to use fastboot command to go to twrp recovery? Where the hell is that recovery?
mudit johari said:
What the hell is this i just try to go to recovery by buttons it works but I'm on stock recovery but i flashed twrp then i format data did formatting data did something to recovery? Or is it that i have to use fastboot command to go to twrp recovery? Where the hell is that recovery?
Click to expand...
Click to collapse
I don't know; the process of flashing recovery on HMD's nokias isn't yet fully developed, people have complained about flashing recovery but still not booting into it. Personally I would recommend that you use stock recovery and use fastboot to boot into twrp instead of actually flashing twrp whenever you want to flash anything. That way you are still able to install system update
But for installing magisk every where written that flash magisk zip from twrp but i got bootloop
mudit johari said:
But for installing magisk every where written that flash magisk zip from twrp but i got bootloop
Click to expand...
Click to collapse
Have you flashed stock firmware with OST? Can you boot normally now? If not, do that, then update ti the current android version using OTA. After that boot into twrp (whether you chose to flash twrp or just boot twrp is up to you). Do a backup then try flashing magisk again, maybe it will work this time
Yeah i already flashed stock rom with ost and already update to latest version i think magisk is not supported in Nokia 3
mudit johari said:
Hello guys i successfully unlocked Bootloader now i want to root my Nokia 3 via magisk i don't want twrp i just want boot img for magisk but for that i need root i try many apps for rooting but unsuccessfull i want to root then get boot img then unroot then root from magisk please help me.
Click to expand...
Click to collapse
Hello mate, you can't root nokia 3 with Magisk. Why? Because noone never send boot img to dev! So only option to root it is Chainfire SuperUser 2.79v.
Ok brother but i have a question if i root and then remove some system apps then can I safely install updates?

how to ota with root

I am rooted with custom kernel and recovery. What's the best way to take the ota?
What ota??
Before you create a thread here, please be more specifice. And use the SEARCH button.
I think you are trying to upgrade from 5.1.8 to 5.1.9.
There is a official thread here on xda. And everything is there explained, about how to update to the new version.
The way I did:
1. Flash full 5.1.9.zip
2. Flash twrp.zip
3. Reboot to recovery.
4. Flash Magisk.
5. Clear dalvik cache.
There is a dedicated thread for questions like this.
https://forum.xda-developers.com/oneplus-6/how-to/official-oxygenos-5-1-5-ota-oneplus-6-t3794232
I just took the ota, then flashed WRP followed by Magisk
Ghost123NL said:
Before you create a thread here, please be more specifice. And use the SEARCH button.
I think you are trying to upgrade from 5.1.8 to 5.1.9.
There is a official thread here on xda. And everything is there explained, about how to update to the new version.
The way I did:
1. Flash full 5.1.9.zip
2. Flash twrp.zip
3. Reboot to recovery.
4. Flash Magisk.
5. Clear dalvik cache.
Click to expand...
Click to collapse
Hi, I'm planning to root my op6. Im not sure how the A\B partition thingy works so just trying to clear some doubts. After you flash the full zip in twrp in 2nd step by "flashing twrp" you mean flashing the twrp installer or you lose twrp and flash it using fastboot?
mohdfahad47 said:
Hi, I'm planning to root my op6. Im not sure how the A\B partition thingy works so just trying to clear some doubts. After you flash the full zip in twrp in 2nd step by "flashing twrp" you mean flashing the twrp installer or you lose twrp and flash it using fastboot?
Click to expand...
Click to collapse
just flash the installer right after rom and you are good to go
If u don't need TWRP and happy with magisk, u can install ota with official updater and after that (before reboot) go into magisk and do --> install--> install to inactive slot (after ota). That's all.
After reboot you have updated system with magisk installed. I do this all the time.

Losing TWRP and Magisk after update

I'm running stock ROM on unlocked bootloader with root through Magisk. I've been using TWRP, but changed over to Blu_spark TWRP recently.
Every time I update my OS Ota, I lose TWRP and Magisk. The Magisk app is installed, but the ROM is not rooted. If course, if I try to install patch the system so it's rooted through the Magisk app, it says that it can't unpack the file. If I reboot to recovery to install from there, I get the stock recovery, not TWRP.
I tried to re-install TWRP and Magisk once before, and borked my phone. I had to quote and start from scratch. I lost all data since I wasn't rooted and Titanium Backup would not run.
What is the proper way to get TWRP and Magisk back after an OTA update?
Flash them after you flash update zip. If you don't you will lose recovery and root every time. Gets overwritten by stock recovery. Normal behavior
Sent from my ONEPLUS A6003 using Tapatalk
So you're saying that instead of doing the OTA update, I should download the update from here, and manually update it ? Can I just install the update? I'm rooted, (well, I was) so the OTA will only download the full update. Is that required instead of the update?
I really have to do a full re-install for every update? That sucks. A lot.
Full reinstall? No. You just have to flash the full ROM. This doesn't mean, you'll loose all your data: Just TWRP, Magisk and (if you have it) your custom kernel. You only have to flash TWRP (or simply boot into it), Magisk and kernel (again: if you have it) after the update. Done.
MickyFoley said:
Full reinstall? No. You just have to flash the full ROM. This doesn't mean, you'll loose all your data: Just TWRP, Magisk and (if you have it) your custom kernel. You only have to flash TWRP (or simply boot into it), Magisk and kernel (again: if you have it) after the update. Done.
Click to expand...
Click to collapse
Ok. Cool. I tried that last time, but it failed. As a result, I'm a bit anxious about doing it again. Hopefully, I won't have any problems this time.
Thanks for the info.
I have had similar troubles as you, here's an overview of how to solve those problems.
OTA through OS:
Download and install OTA
Use Magisk Manager to download the TWRP A/B retention script and install it
Install Magisk to current and inactive slot
Reboot
Guys I am using latest blu_spark twrp. my bootloader is unlocked and I am running oxygenOS openbeta23. Following is my problem.
My flash order: (Note: already I have bue_spark twrp recovery running without issues)
1. Flash the full OTA(openbeta)
2. Flash the blu_spark twrp zip file on both active and non active slots.
3. Flash the latest magisk zip file. If step 3 is not successful means I will try to reboot in to recovery and again flash the magisk installer zip.
Until some time back all this worked fine. But for last 2-3 times although the flashing process of twrp zip on both slots ends with success message, when I reboot to recovery from twrp in order to flash magisk, the device boots in to stock recovery. I don't know how even after flashing twrp zip on both slots successfully why the devices bootbback to stock recovery. Then to have blu_spark twrp I have to connect my device to a computer in fastboot mode and then boot in to custom recovery using the blu_spark twrp image file and again flash the blu_spark twrp zip file which is inconvenient and also requires a computer.
Am I missing anything here?? If yes why this method was working perfectly before? Please somebody help.
Regards,
Sivabalan K
I flash in following order my stable updates
Flash full rom zip
Flash bluespark recovery
Restart into bluespark recovery
Flash magisk
Restart into Android
Everything works flawless. Magisk installed with all the modules running
Hi guys,
Don't you need to disable lock pattern/PIN or fingerprint/face ID? And don't need to uninstall magisk modules?
I never update my OP6 from my initial unlock/twrp/magisk and I'm a bit anxious to do it now...
Thanks
PS : I'm using original twrp (3.2.3-1), is this a problem?

Is there a latest stock ROM I can flash instead of the custom ROM I'm using now?

I'm TWRP'd and Magisk'd running a custom ROM (Havoc}, but it's a little buggy. I'm looking to flash a stock ROM with the latest OxygenOS, and then maybe use a Magisk module over that.
Can I? And if so, can you point me to the correct custom ROM thread? I see a couple, but not sure which one is flashable, and which one is for restoring the phone to completely stock (removing TWRP, etc.).
I suggest using this: https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424
-BoneZ- said:
I see a couple, but not sure which one is flashable, and which one is for restoring the phone to completely stock (removing TWRP, etc.).
Click to expand...
Click to collapse
I don't think you can flash a stock ROM, and keep TWRP without flashing TWRP again. TWRP will always be removed when flashing a stock ROM, since recovery doesn't reside on it's own partition for this device, but rather is on boot.img, which by definition needs to be flashed with the ROM (contains the kernel).
AFAIK, you will need to flash the stock ROM then flash TWRP and Magisk again. To do that, fastboot flash the above linked stock ROM, then fastboot boot TWRP.img, then in TWRP flash TWRP installer zip and flash Magisk. Wouldn't take long to do, just have the TWRP zip and Magisk zip on the phone ready to go, before you flash the stock ROM.
redpoint73 said:
I suggest using this: https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424
I don't think you can flash a stock ROM, and keep TWRP without flashing TWRP again. TWRP will always be removed when flashing a stock ROM, since recovery doesn't reside on it's own partition for this device, but rather is on boot.img, which by definition needs to be flashed with the ROM (contains the kernel).
AFAIK, you will need to flash the stock ROM then flash TWRP and Magisk again. To do that, fastboot flash the above linked stock ROM, then fastboot boot TWRP.img, then in TWRP flash TWRP installer zip and flash Magisk. Wouldn't take long to do, just have the TWRP zip and Magisk zip on the phone ready to go, before you flash the stock ROM.
Click to expand...
Click to collapse
I want to flash havoc OS and want to know if I can go back to OOS if I download the full OTA zip and flash it like you normally would (twrp and magisk)
D.Va said:
I want to flash havoc OS and want to know if I can go back to OOS if I download the full OTA zip and flash it like you normally would (twrp and magisk)
Click to expand...
Click to collapse
I have the same question. I'm on Havoc now and unencrypted and would like to back up Havoc and go back to OOS for now due to WiFi calling not working. With out having to reflash Twrp etc
The_Keeper86 said:
I have the same question. I'm on Havoc now and unencrypted and would like to back up Havoc and go back to OOS for now due to WiFi calling not working. With out having to reflash Twrp etc
Click to expand...
Click to collapse
Anyone?

Is it possible to pre-root a TWRP image prior to flashing it?

Hello. I'm trying to flash a TWRP custom recovery on a SM-A305G (Galaxy A30). While reading the official A30's post on the TWRP website, in order to properly flash the custom recovery, they recommend me to first root my device with Magisk (which I understand how to) but THEN flashing a pre-rooted TWRP image for my device. How could this be done?
Related link: https://twrp.me/samsung/samsunggalaxya30.html
Thanks in advance to who could answer this question. Internet hero.
Rooting Android OS is adding an user with elevated rights ( comparable to adminstrator in Windows OS ) to it, nothing else.
TWRP recovery does not require a phone's Android is rooted.
lnrdx said:
Hello. I'm trying to flash a TWRP custom recovery on a SM-A305G (Galaxy A30). While reading the official A30's post on the TWRP website, in order to properly flash the custom recovery, they recommend me to first root my device with Magisk (which I understand how to) but THEN flashing a pre-rooted TWRP image for my device. How could this be done?
Related link: https://twrp.me/samsung/samsunggalaxya30.html
Thanks in advance to who could answer this question. Internet hero.
Click to expand...
Click to collapse
That just isn't how it is done, we don't root TWRP, we root the phone's OS. There isn't anything to "root" in or about TWRP because TWRP has the power to modify a device without needing root.
It isn't required, but, it is possible to root a device and then use an app such as Rashr, Flashify or TWRP Manager along with root permissions to flash a TWRP img or even use a Terminal Emulator app with root permissions to install TWRP via dd commands. It doesn't "have" to be done this way, it's just an alternative way to achieve root and flash TWRP on devices that are capable of doing it this way, in this order, not all devices can do it this way.
I want to have Magisk AND TWRP.
I rooted the phone with Magisk and had Magisk running.
Then installed TWRP app and flashed TWRP with root permission.
Now TWRP is installed but Magisk is gone again.
How can I have BOTH?
woheller69 said:
I want to have Magisk AND TWRP.
I rooted the phone with Magisk and had Magisk running.
Then installed TWRP app and flashed TWRP with root permission.
Now TWRP is installed but Magisk is gone again.
How can I have BOTH?
Click to expand...
Click to collapse
Flash the Magisk.zip via TWRP just to be sure binaries are installed, then wipe cache and dalvik cache in TWRP then boot into system and install the Magisk Manager app(if it dosen't get installed when you flash the Magisk.zip).
Unfortunately not working.
I installed Magisk via Odin wirh a Magisk-patched stock rom ( Galaxy A10). WORKED
Then installed TWRP via Odin and got TWRP and Magisk working by immediately booting into recovery after flashing.
But then I installed the CrDroid custom rom via TWRP and now Magisk is gone.
[ROM][ARM][OFFICIAL] crDroid 8.x for Galaxy A10 [Android 12]
*** Disclaimer I am not responsible for any damage you made to your device You have been warned crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features...
forum.xda-developers.com

Categories

Resources