Hello friends,
I would like to know how to apply OTA update via TWRP with the magisk running. I have not found any good tutorials that explain the correct procedure. Always when I need to update the security path, I remove all the root magisk through the zip unistall magisk via TWRP, update the system and then return with custom recovery + root.
Related
I am on update channel retgb (UK) and have just received the first OTA update for this device. As I have unlocked my bootloader, install TWRP, installed Vanche's Modified Boot Kernel + wlan_custom.zip + magisk do I need to do anything special before applying the OTA update. (I followed the guide by Awesomeslayerg up to installing SuperSU)
I have looked around XDA but I do not know which stock rom I need to flash and then how to apply the OTA update. As I have magisk I don't think my system partition has been modified but because of the wlan_custom file and custom boot kernel I think the boot partition has been meaning from what I understand I can't install the update.
Any pointers would be appreciated.
I did grab the OTA update drive.google .com/open?id=0B0o6IYW5dPwHcExfSXVvMWVCWU0 (remove space between google and .com if thats is any help
Dear all,
my question is: will OTA updates by LG still work if a have an BL unlocked, TRWP installed and Magisk installed?
I would like to keep my stock ROM and get the OTA, but I would like to make backups and be able to install software with needs root.
Can you recommend SU or Magisk?
Thanks.
you can recieve OTA but you can't install it , You need a zip update file and flash it with twrp
i use SU i never tested magisk
paabel said:
Dear all,
my question is: will OTA updates by LG still work if a have an BL unlocked, TRWP installed and Magisk installed?
I would like to keep my stock ROM and get the OTA, but I would like to make backups and be able to install software with needs root.
Can you recommend SU or Magisk?
Thanks.
Click to expand...
Click to collapse
With TWRP you cannot install OTA, so in any case you would need to remove it.
Also i don't advise to make OTA on a rooted device, doesn't matter if it's Magisk or SuperSU
Oneplus 5, Official ROM, H2OS, Android 7.1
1. First time, I followed https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877 and successfully install TWRP and root using Supersu. I can goes into TWRP recovery without any problem. I notice that the supersu I installed in a systemless one, some apps can't get root access, like AD Away, Titanium Backup. But most apps can work with it. I used the one of the two root method in that tutorial as follows:
For Users who want to remain Encrypted:
1. Boot into TWRP Recovery and allow system modifications.
2. Swipe right and enable modifications.
3. Select your preferred Language, Tap “Never show this screen on boot again,” and Swipe allow modification.
4. Navigate to Install and select Magisk Or SuperSU to root OnePlus 5.
5. Swipe to confirm the flash
6. Reboot System
Click to expand...
Click to collapse
2. After several months I want to upgrade the original H2OS to new version, so I unroot in Supersu first, when it ask me if I want to recover Boot Image, I say "Yes", and say "NO" when ask me if I want to recover Recovery Image. Then I upgrade to the new H2OS v13 (Android 7.1) using the Full package through TWRP, after that I reinstall TWRP 3.2.1, it was successful. But it doesn't ask me to allow it to make modification. I tried to install Supersu 2.82 and 2.82 SR5 using the same method as in tutorial, at the end of "Booting Image patcher" it shows
.........
-Calling user ramdisk patch script
---Failure, aborting
-Unmounting /system and /vender
-Done
Click to expand...
Click to collapse
Then I reboot to recovery, it return to official REC, not TWRP, and system says there is no root.
netsonic said:
Oneplus 5, Official ROM, H2OS, Android 7.1
1. First time, I followed https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877 and successfully install TWRP and root using Supersu. I can goes into TWRP recovery without any problem. I notice that the supersu I installed in a systemless one, some apps can't get root access, like AD Away, Titanium Backup. But most apps can work with it. I used the one of the two root method in that tutorial as follows:
2. After several months I want to upgrade the original H2OS to new version, so I unroot in Supersu first, when it ask me if I want to recover Boot Image, I say "Yes", and say "NO" when ask me if I want to recover Recovery Image. Then I upgrade to the new H2OS v13 (Android 7.1) using the Full package through TWRP, after that I reinstall TWRP 3.2.1, it was successful. But it doesn't ask me to allow it to make modification. I tried to install Supersu 2.82 and 2.82 SR5 using the same method as in tutorial, at the end of "Booting Image patcher" it shows
Then I reboot to recovery, it return to official REC, not TWRP, and system says there is no root.
Click to expand...
Click to collapse
Just use the latest universal codeworks recovery and flash it via fastboot.
For root i suggest use of Magisk over Su, the latest 15.3 works fine for me.
What is the codeworks recovery? Is it "twrp-3.2.1-0-cheeseburger.img" on https://twrp.me/oneplus/oneplus5.html?
netsonic said:
What is the codeworks recovery? Is it "twrp-3.2.1-0-cheeseburger.img" on https://twrp.me/oneplus/oneplus5.html?
Click to expand...
Click to collapse
No, it's the -universal- one from here https://forum.xda-developers.com/on...overy-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723
I can flash universal TWRP and Magisk 15.3. But Magisk show "SafetyNet API Error"? How to fix it?
Hi there! I'm having issues to update OTA, this is my scenario:
Phone came with Android 8.0.0 Oreo (OPR1.170623.026.V9.5.9.0.ODHMIFA) so I did the following
1. Installed TRWP, then Magisk.
2. Installed Xposed (systemless) (Magisk Module)
3. Profit.
All good till here, the problem came when I tried to do the May OTA, it gives me the "Installation Problem" in the first step. I have read over the forum but I cant decide what to do. First I tried the " Uninstall -> Restore Image" in Magisk, but FAILED, and then:
1. Uninstalled Xposed Module.
2. Via TRWP uninstalled Magisk.
3. Update Failed.
Root Check says I'm rootless
Xposed Installer says "Xposed Framework is not installed". But OTA still fails.
So by now I'm thinking that maybe I have to flash stock system image, but not sure about this, actually NOT SURE WHAT TO DO, I just want to be able to have root and Xposed systemless, and then when an OTA arrives uninstall everything, do the update, reinstall Root/Xposed, and be happy.
Any guidance for me? Will I be OK if I flash JUST and ONLY the system image (OPR1.170623.026.V9.5.9.0.ODHMIFA)? Or do I have to flash ALL the stock images? What are the best option for me right now? Basically I'm trying to avoid reinstall all the apps and customization already done.
TL,DR:
Installed root/Xposed.
Uninstalled following different options.
Tried to do OTA, failed.
Not sure what to do now, I want to do OTAs and have root/Xposed.
Thinking into flash stock system image.
Thanks in advance!
Unistal twrp
panjivegency said:
Unistal twrp
Click to expand...
Click to collapse
But why some people can do the OTAs without uninstalling TWRP? Anyways I'll try this. Thanks. :good:
Hi guys,
I have gone thru the forum to install Magisk systemless root in S7 Edge running 8.0 but have few questions.
1. Is TWRP mandatory to install Magisk for systemless root?
2. If above point is yes, then will the device be eligible for OTA even with TWRP recovery?
3. Please provide steps to install Magisk systemless root in S7 Edge running 8.0 latest October patch
Thanks in advance.
mpadhu said:
Hi guys,
I have gone thru the forum to install Magisk systemless root in S7 Edge running 8.0 but have few questions.
1. Is TWRP mandatory to install Magisk for systemless root?
2. If above point is yes, then will the device be eligible for OTA even with TWRP recovery?
3. Please provide steps to install Magisk systemless root in S7 Edge running 8.0 latest October patch
Thanks in advance.
Click to expand...
Click to collapse
Go Here https://forum.xda-developers.com/s7-edge/how-to/guide-how-to-root-android-8-0-oreo-t3840271
1. U need TWRP for flashing Magisk.
2. When ur intentions are gaining root access, u should forgo OTA.
3. The above link has everything u need.
joeljose1001 said:
Go Here https://forum.xda-developers.com/s7-edge/how-to/guide-how-to-root-android-8-0-oreo-t3840271
1. U need TWRP for flashing Magisk.
2. When ur intentions are gaining root access, u should forgo OTA.
3. The above link has everything u need.
Click to expand...
Click to collapse
Thank you for your time and response. There is something called systemless root which will hide the root from the system and also allows official OTA updates.
mpadhu said:
Thank you for your time and response. There is something called systemless root which will hide the root from the system and also allows official OTA updates.
Click to expand...
Click to collapse
From what I know, when you download an OTA and prompt your device to install it, your Android system performs a series of checksums to ensure that your /system, /boot, /recovery, and /vendor (or /OEM) partitions are unmodified from their original stock configuration.
The benefit of Magisk is that it does not modify the system partition, but while installing Magisk, the first thing it does is patch boot image. So you might have to restore the original boot image for the OTA to work.
Also, the OTA is designed to be installed via the stock recovery which has been overwritten with TWRP. So, I think u will face a problem there too.
I'm not saying that it's impossible to get an OTA update. It just might not be as easy as u r used to.
joeljose1001 said:
From what I know, when you download an OTA and prompt your device to install it, your Android system performs a series of checksums to ensure that your /system, /boot, /recovery, and /vendor (or /OEM) partitions are unmodified from their original stock configuration.
The benefit of Magisk is that it does not modify the system partition, but while installing Magisk, the first thing it does is patch boot image. So you might have to restore the original boot image for the OTA to work.
Also, the OTA is designed to be installed via the stock recovery which has been overwritten with TWRP. So, I think u will face a problem there too.
I'm not saying that it's impossible to get an OTA update. It just might not be as easy as u r used to.
Click to expand...
Click to collapse
Got your point. Thank you. I read that Magisk can be installed without root or even custom recovery.
The below is taken from the official Magisk thread https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
How to download or extract the stock boot image file from my official ROM?
"Via Magisk Manager:
This method does not need root, and also does not require a custom recovery.
However, you MUST have a stock boot image dump beforehand, and you also have to be able to flash the patched boot image, either through fastboot/download mode or ODIN
Install the latest Magisk Manager
If you're planning to flash the patched boot image through ODIN, go to Settings > Update Settings > Patched Boot Output Format, and select .img.tar. For normal users leave it as the default .img
Press Install > Install > Patch Boot Image File, and select your stock boot image file
Magisk Manager will now patch your boot image, and store it in [Internal Storage]/Download/patched_boot.img[.tar]
Copy the patched boot image to your PC. If you can't find it via MTP, you can pull the file with ADB:
adb pull /sdcard/Download/patched_boot.img[.tar]
Flash the patched boot image to your device and reboot. Here is the command if using fastboot:
fastboot flash boot /path/to/patched_boot.img"