rooted pixel flash custom kernel OTA - Google Pixel 3 XL Questions & Answers

I want to ask about pixel 3 OTA
I want to root my phone.
Because wanna to use youtube vancad , magisk and custom kernel to get nice battery.
But i just thinking ota is a big problems
If I flash custom kernel can i get ota?
Or I have to flash factory IMG on PC?
And updated I have to reflash magisk again?

https://github.com/topjohnwu/Magisk/blob/master/docs/tutorials.md

redsmith said:
https://github.com/topjohnwu/Magisk/blob/master/docs/tutorials.md
Click to expand...
Click to collapse
Thanks. I know how to magisk work again.
But flash custom kernel can get OTA?
Or i need flash back factory OTA?

The link you were given is relevant.
You flash an OTA update on a custom kernel the same way it's done with Magisk. They both affect the boot.img.
The custom kernel is the boot.img and Magisk patches the boot.img. In either case, you take am OTA you have to revert to a stock boot.img.

Related

Losing OTA

Will I lose the ability to do OTA updates if I flash a custom ROM or custom kernel?
What if I just flash a custom kernel by itself and keep stock ROM?
Currently rooted on stock 4.4.2.
ckfmunoz said:
Will I lose the ability to do OTA updates if I flash a custom ROM or custom kernel?
What if I just flash a custom kernel by itself and keep stock ROM?
Currently rooted on stock 4.4.2.
Click to expand...
Click to collapse
Yup..
If the OTA detects either a Custom recovery, a Custom kernal or any build Prop mods..
the OTA will fail..
What I do.. Its a long method, but it works.. make a Nandroid of your Data partition only..
then flash to stock, then OTA, then install a custom recovery.. then restore your Data partition..
All should be well.. Im sure there is a much easier way like extracting the System.img from the OTA or from the Stock rom,
and Dirty flashing just the System.img.. That should also work.. OTAs are kinda hard on Rooted devices..;'
If your coming from a Custom Rom, you can wait for the Rom Devs to catch up, and then dirty flash the updated rom with out having to do a clean wipe.. But I make a Nandroid of my Data partition and restore it if I need to do a wipe..
Hope this helps
Zaphodspeaks said:
Yup..
If the OTA detects either a Custom recovery, a Custom kernal or any build Prop mods..
the OTA will fail..
What I do.. Its a long method, but it works.. make a Nandroid of your Data partition only..
then flash to stock, then OTA, then install a custom recovery.. then restore your Data partition..
All should be well.. Im sure there is a much easier way like extracting the System.img from the OTA or from the Stock rom,
and Dirty flashing just the System.img.. That should also work.. OTAs are kinda hard on Rooted devices..
Click to expand...
Click to collapse
I see. I'll give that workaround a try. But will the OTA fail from rooted stock? Or does the fail only apply to a custom recovery or custom kernel?
Sent from my Nexus 7 using xda app-developers app
ckfmunoz said:
I see. I'll give that workaround a try. But will the OTA fail from rooted stock? Or does the fail only apply to a custom recovery or custom kernel?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
If you have a Custom Kernel, and or a Custom Recovery.. or even a Build Prop mod
the OTA will fail.... I do a Full Nandroid just to be sure if there are any mistakes you can revert..
Flash to Stock, do the OTA.. then use Wugfresh's tool to reroot, and reinstall a Custom Recovery like TWRP. Then just restore the Data partition in recovery..
I cant find it, but there is a Thread or 2 on the topic..
I have so many saved it hard to go through them all..
Its where I got my info in the past..

keep root after upgrade os

if i want to keep root after upgrade os,i have to flash factory images and root again?no better suggestion?
if i install ota updates on my rooted device What will happen?
nexuz2013 said:
if i want to keep root after upgrade os,i have to flash factory images and root again?no better suggestion?
if i install ota updates on my rooted device What will happen?
Click to expand...
Click to collapse
I'll assume you have a custom recovery. The OTA may or may not flash with it, but either way, you will need to reflash SuperSU.
If the OTA fails, download the stock image from Google, extract system.img out of the archive and flash it with fastboot flash system system.img.

[Q]How to update from 2.22.401.4 to 2.22.401.5 with stock rooted M8?

I'm on stock rooted Sense --401.4 and I want to update to --401.5 version. I have s-off, and custom recovery, and am rooted.
Although I have a constant "system update" notification on my notification bar, I really cannot update because of the custom recovery. Is there any fully stock version of the latest ROM available which I can flash to update? Mike1986 hasn't provided it yet. Is there any other way to update easily? I really don't want to switch to custom ROMs for the update, and I really don't want to factory reset my phone right now.
Is there any way we can flash OTA update .zips? If yes, I really cannot find them on XDA, so can anyone guide me to them (and a guide on how to flash them?). Thank you.
You can flash stock recovery.img and then perform Update. İ tried and it is working. But you lose root. After Update Flash Custom recovery and supersu zip.
abdyasar said:
You can flash stock recovery.img and then perform Update. İ tried and it is working. But you lose root. After Update Flash Custom recovery and supersu zip.
Click to expand...
Click to collapse
Thanks, I'll try this

TWRP=No OTA for you

This is a public service announcement to save people headaches. RTFM. You cannot ever now, or in the past, take an OTA with a custom recovery. You must always have a stock recovery and system to do so. Period. If you do install a custom recovery, freeze the update center with Titanium, Rom Toolbox, or the like, so that you will remember you have a custom recovery and not accidentally take an update.
I hope this helps someone out there
So what is the simplest way to update to the OTA firmware with a phone that is rooted with twrp, and a custom ROM? Is there a way to disable twrp without having to un-root? That way it might be possible to update to the OTA firmware. Please correct me if I'm wrong.
Grizzie said:
So what is the simplest way to update to the OTA firmware with a phone that is rooted with twrp, and a custom ROM? Is there a way to disable twrp without having to un-root? That way it might be possible to update to the OTA firmware. Please correct me if I'm wrong.
Click to expand...
Click to collapse
.this is referring to stock software updates, unless it's updates of the rom, which you won't even receive if you're on a custom rom...to update a custom rom, you just download the updated version, or the OTA if the rom is so capable, and flash it in twrp like the first version you downloaded
Grizzie said:
So what is the simplest way to update to the OTA firmware with a phone that is rooted with twrp, and a custom ROM? Is there a way to disable twrp without having to un-root? That way it might be possible to update to the OTA firmware. Please correct me if I'm wrong.
Click to expand...
Click to collapse
Wait for a flashable zip for TWRP. You can revert to stock to take an OTA. Being rooted is not a problem per se, it's the custom recovery and having non stock roms. In theory you could flash the stock recovery and bootloader and then take an OTA. However, not having stock system/apps could likely create havoc
In case you do happen to try and install it, here's a fix for your bootloops: http://forum.xda-developers.com/showthread.php?p=60117595

OOS 4.0.3 and TWRP 3.0.4-1

I am currently on OOS 4.0.2 with unlocked bootloader but stock recovery. Will taking the 4.0.3 update do anything adverse with having unlocked bootloader or should I flash TWRP 3.0.4-1 and then flash full 4.0.3 ROM?
What are thoughts on this?
DroidJay123 said:
I am currently on OOS 4.0.2 with unlocked bootloader but stock recovery. Will taking the 4.0.3 update do anything adverse with having unlocked bootloader or should I flash TWRP 3.0.4-1 and then flash full 4.0.3 ROM?
What are thoughts on this?
Click to expand...
Click to collapse
you can take OTA if have stock recovery
whit TWRP dont take OTA or will brick phone
You can wait for OTA, unlocked bootloader has nothing to do with it. If you don't intend to flash root or anything no need to have twrp.
If you install it though, don't flash partial OTA files but full rom zips only.
If you wanna flash ota use stock recovery but if you have full zip file of 4.0.3 go for twrp and flash it

Categories

Resources