[Flashfire BUG] Upgrading my 6P to Android 8.1.0 OTA - Nexus 6P Accessories

Thank you for your contributions so that I can upgrade my Nexus 6P through OTA without losing my custom recovery and root. But I encountered a problem upgrading to 8.1.0. Flashfire just crashes when I choose install OTA.
The cat log says index out of bound in the method of UpdateXMLReader.isReady, line 91.
Please help me out. Thanks!

Easiest way I can suggest would be flash SuperXe with aroma installer in twrp. Its 100% stock with some optional features.

Flashfire is incompatible with latest magisk versions. Copy custom kernel und magisk to your phone. Download factory Image and fastboot flash: bootloader, radio, vendor, boot and system. Then boot into twrp and flash magisk and kernel. Reboot to system and you are done.
https://developer.android.com/studio/releases/platform-tools.html
https://developers.google.com/android/images#angler
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
https://forum.xda-developers.com/nexus-6p/orig-development/kernel-elementalx-n6p-t3240571

Related

Updating Security Patch, rooting and using TWRP

I'm currently on November's NDE63V with root and twrp installed. I updated to SR5 root when it was released using TWRP and it boot looped. I assumed it was because I didn't flash the stock boot.img(both slots?), boot to TWRP, flash TWRP then install root. Is this correct? Does that method need to be followed every time there's an update?
I want to update to 7.1.1, December's OTA -> I want stock ROM on one slot and WETA on the other. Both with root. Of course either Franco or ElementalX. Can someone outline the steps, as I don't want to boot loop again, setting everything up is a PITA!
http://forum.xda-developers.com/showpost.php?p=69834495&postcount=2
This should help you with dual booting.
Haven't read through it all yet as I'd like to dual boot as well. But all I did to update is download all the files Weta has when you go to download the rom (boot, bootloader, radio and vendor.)
I Fastboot flashed bootloader, radio and vendor rebooted to bootloader and flashed weta, elementalx and SuperSU sr5.

Updating to 9.0.2 on a rooted device

Will there be any incompatibility issues with magisk and xposed?
No problem with rooted device on updating, althought you will get unrooted once you update with OTA.
Also, there is no xposed for Pie.
Not yet faced any issues. After OTA update done don't reboot the device. just come to Magisk manager -> install -> select install after OTA option and reboot so that you won't lose root.
Ok, I will stay on oreo for now then. Does Pie run better than Oreo on stock?
Should've read this **** before updating to Pie.
Currently in a bootloop after going from oreo to Pie :'(
What is the latest version of Oreo I should be able to get to with Xposed on OP6?
I faced some issues. After updating to 9.0.2 TWRP and Magisc were gone. So had to reroot and reinstall TWRP via fastboot.
Yes.. this will ALWAYS happen. if you want to keep root when doing OTA you have to do this after install is done, but before reboot!
open magisk app
press downloads
search for TWRP A/B
Install that module ( :::::...:.:..:...::::O NOT REBOOT:::::...:.:..:...::::
Go to main screen of magisk again
press install
press install to inactive slot (after ota)
NOW you can reboot and all will be kept.
If you do it from TWRP (like i prefer, since its just faster)
Flash full rom
flash Twrp (blu_spark latest)
reboot to twrp
flash magisk (latest)
done.
flashing roms will ALWAYS override recovery and boot partition
If I understand you precisely, you say, that this is a question of OTa roms. I am not very keen for OTA. Would TWRP and Magisk stay when flashing a non-OTA rom? If yes, are there non-OTAs of OOS?
No what I ment was using the update function from within android.
You will ALWAYS override recovery and Magisk. Follow the steps above when you flash..
Always like this from twrp
Flash Rom
Flash Recovery
Reboot to twrp
Flash magisk
And u be good...
OK thanks. I did wrongly to accept the automatic update instead of downloading the zip and install it via TWRP.

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?

Suggestion on installing OOS v9.5.4 on GM1917-GM21AA

Seems I am not finding a definitive guide to flash OTA or full OOS v9.5.4 on GM1917-GM21AA
Current setup:
OOS v9.5.3, rooted with Magisk patched boot, Magisk app and TWRP "non-decrypt"
Plan for upgrade to v9.5.4:
Place all files on USB OTG, TWRP zip, Magish v19.2, Magisk un-installer v2.0, OTA v9.5.4 182mb/Full 1.99gb "in case"
Boot to TWRP, access OTG, flash Magisk un-installer
Flash OTA v9.5.4
Flash TWPR zip, reboot TWRP
Flash Magisk v19.2
Am I on the right track? Am I missing some steps?
I want to minimize any bootloop scenario.
Tx guys.

Question LineageOS 18.1 + Magisk OTA howto?

hi
i have a poco x3 pro, rooted (magisk) and running LineageOS 18.1
Now i get my first OTA and wonder how to retain root, after upgrading.
with my Mi A1 it was
* restore boot image from within magisk manager
* install OTA
* reinstall magisk after OTA in magisk manager in second partition
* reboot
as far as i see X3 Pro has no A/B scheme
I'm using TWRP and Magisk flashed as zip by TWRP. This way a proper addon script is installed and Magisk survives OTA. The same goes for gapps.
If you install Magisk by flashing prepared boot.img, then you have to repeat this procedure after each OTA update.
You don't have to restore original boot.img before OTA. LineageOS is not an incremental update, it is full system, which overwrites boot.img, regardless of what it contains.
thanks for answering. i did my first install this way:
install LOS via lineageos recovery, add gapps, add magisk, reboot
i now installed the OTA from inside Lineagos. root lost. i checked for the existance of /system/addon.d/99-magisk.sh and the script was (and still is) there. do i need to download OTA and afterwards install the update from recovery?
Maybe it is a problem of LineageOS recovery. I'm using official TWRP. You probably have to install Magisk again. I think you can switch to TWRP at any time, it is compatible with Lineageos.
worked, thanks for pointing me into the correct direction!
the steps so far:
1* reinstall magisk (by patching boot.img from the OTA and booting into that and reinstall magisk)
2* download the next OTA
3* install twrp (i used the path through play-store)
4* start the installation of OTA (from inside android)
5* poco reboots into twrp
6* unlock with my password/pin
7* twrp does some magic/installs OTA
8* boot into system
9* everything is fine
from now on it should work from step 4
merry xmas!

Categories

Resources