Late upgrading to Pie - Google Pixel 2 Questions & Answers

So I was late to root my phone and finally get it to where I like it and now I want to upgrade to Pie.
My question is do I download/sideload the latest system image (Jan 2019) or should I start with the first 9.0 image (Aug 2018) and upgrade to the latest afterwards?
Also, I'm ok with re-rooting, but will the process wipe my phone/apps? For the record, I'm on the May 2018 update of 8.1.

E_Weiss said:
So I was late to root my phone and finally get it to where I like it and now I want to upgrade to Pie.
My question is do I download/sideload the latest system image (Jan 2019) or should I start with the first 9.0 image (Aug 2018) and upgrade to the latest afterwards?
Also, I'm ok with re-rooting, but will the process wipe my phone/apps? For the record, I'm on the May 2018 update of 8.1.
Click to expand...
Click to collapse
I would download the January full system image, boot into fastboot, and flash flash-all bat. Your bootloader is already unlocked so as long as you edit the flash-all.bat by taking out the -w your data won't be wiped.

Tulsadiver said:
I would download the January full system image, boot into fastboot, and flash flash-all bat. Your bootloader is already unlocked so as long as you edit the flash-all.bat by taking out the -w your data won't be wiped.
Click to expand...
Click to collapse
Great news! And thanks for the advice. I wasn't sure if every image was able to upgrade (8 to 9) or if I needed to do it incrementally.

Hi, I'm thinking about the same. Can I downgrade back to Oreo by flashing an older factory image with flash-all? My bootloader is already unlocked as I use a custom built ROM.
Edit.: Nevermind, I updated and can read that I can downgrade.

Related

Nokia8 NB1 OTA updates for flash via stock recovery

Hey here I will share OTA for our NB1 to flash with stock recovery and sdcard method.
If I'm right it will work.
Pls try and report.
Download zip file,
Copy to external sdcard
Reboot to recovery,
Choose update from SD and press power button.
I will start with June security patch.
https://drive.google.com/file/d/1G0qg1b0ZbWjvWi3_WnimY3oy0xexRyXh/view?usp=drivesdk
Powered by View 10
Will work with sideload too, right?
hi
2WildFirE will this update patch can use and support for Nokia 8 TA-1004 Dual sim, i'm from malaysia region...
Unluckily it errors when installing on an unlocked phone....I unrooted it fully, rebooted to recovery and it errors always. Should I relock the bootloader to install OTAs?
No, you do not need to block the boot loader. You need to flash the previous full update 4.88B. And then upgrade to OTA.
I am already on 4.88B (rooted with magisk). No modification has been made on /system partition. I uninstalled magisk and rebooted: in theory that should be enough but in practice it does not work....
Topogigi said:
I am already on 4.88B (rooted with magisk). No modification has been made on /system partition. I uninstalled magisk and rebooted: in theory that should be enough but in practice it does not work....
Click to expand...
Click to collapse
It won't if this is block-based OTA as Magisk modifies boot partition (with Android kernel and in A/B case recovery too). Quote from Android official documentation: "block OTA handles the entire partition as one file and computes a single binary patch".
Sure, but I uninstalled magisk thus restoring original boot partition before trying to apply OTA...
dark ghost1988 said:
2WildFirE will this update patch can use and support for Nokia 8 TA-1004 Dual sim, i'm from malaysia region...
Click to expand...
Click to collapse
Thanks for reporting [emoji1360]
Powered by View 10
support
does this firmware are support for Nokia 8 TA-1004 dual sim...??
End of the story: I reflashed the full 4.88B OTA update and immediately after the new june patch: it always gives an error. Tried to install the june patch by OTA, and it errors in the same way. I have the doubt that the new patch is allowed to check the bootloader and if it founds it unlocked, an error arises. Anyone confirming that?
Topogigi said:
End of the story: I reflashed the full 4.88B OTA update and immediately after the new june patch: it always gives an error. Tried to install the june patch by OTA, and it errors in the same way. I have the doubt that the new patch is allowed to check the bootloader and if it founds it unlocked, an error arises. Anyone confirming that?
Click to expand...
Click to collapse
Ok, I assume that noone had problems in updating to the june security patches with an unlocked bootloader, so there must be a problem with my device......
Ok I managed to update to june security patches with this file......Had to reflash both slots (A/B) with the full june camera update (4.88B), then I updated through recovery and it worked. Glad to tell that the system is fully tested and working.
No news about July security patch?
Topogigi said:
End of the story: I reflashed the full 4.88B OTA update and immediately after the new june patch: it always gives an error. Tried to install the june patch by OTA, and it errors in the same way. I have the doubt that the new patch is allowed to check the bootloader and if it founds it unlocked, an error arises. Anyone confirming that?
Click to expand...
Click to collapse
confirmed ..
thats what happened to me
after i unlocked my bootloader ,rooted mgdisk
after July's OTA
i cant fastboot to june stock firmware
i even tried to sideload the june OTA and it said
that i cant downgrade from July to june
Topogigi said:
Ok I managed to update to june security patches with this file......Had to reflash both slots (A/B) with the full june camera update (4.88B), then I updated through recovery and it worked. Glad to tell that the system is fully tested and working.
Click to expand...
Click to collapse
Thanks Topogigi
How did you do it ?
im kinda stuck here
im considering OST LA ?
Any Ideas ??:fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
why666me said:
Any Ideas ??:fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
have you tried switching slots? it sure wont solve the issue stated but it may restore the usability of your expensive brick :laugh:
Code:
If you are currently on slot A, type this: fastboot --set-active=_b
Or on slot B type this: fastboot --set-active=_a
No Switch with locked bootloader ?
Nothing work on fastboot with locked bootloader....
issue solved using OST LA 6.0.4

[GUIDE] How to root your Nokia 8, and keep the ability to do official OTA updates

So as the official bootloader unlock broadened the audience of this from tinkerers/developers to basically everyone I thought this guide might me helpful for some...
PREREQUISITES:
- Unlocked bootloader (official or unofficial)
- latest magisk manager installed on phone (https://github.com/topjohnwu/Magisk/releases)
- latest fastboot and adb binaries from google(https://developer.android.com/studio/releases/platform-tools)
- latest twrp.img to boot (NOT FLASH), zip not needed (https://eu.dl.twrp.me/NB1/)
- Fully stock partitions (if you do not have this reflash latest stock via ostla), as OTA updates will do a integrity check.
- PC with WIN/OSX/LINUX with USB port^^ (on windows you might have to add .exe to the commands)
- disable automatic system updates in developer options, as you will still have to manually root the updated partition, so this makes sure you don't miss it. You still get notifications on available updates and can apply them easily(as you will see)
SETUP_STEPS:
1. Go into Magisk manager and "just download" the latest zip
2.1 Run
Code:
adb reboot bootloader
or reboot into download/fastboot mode via other means
2.2 Run
Code:
fastboot boot twrp-3.2.3-1-NB1.img
(change this when your version of twrp differs)
2.3 Flash the .zip magisk downloaded in 1.)
2.4 Reboot.
Congratulations you now have root!
STEPS_TO_UPDATE:
1. Go into Magisk Manager -> Uninstall -> Restore Images
2. Apply Update, DO NOT REBOOT YET
3. When step to finished and it promts you to reboot go into Magisk Manager -> Install -> Install to inactive Slot
Congratulations you can now reboot and will have an updated Android while keeping full root.
ALTERNATIVE GUIDE (without twrp, using prerooted boot.img)
(works for newest patch level, where twrp isn't working yet)
this guide works on newest patches as long as someone provides a prerooted boot.img.
So basically you either need a boot.img available or twrp...
Hopefully this helps until TWRP is compatible with September Security Patch
LINKS:
stock boot.img: (may to october patches)
https://cloud.vault81.de/s/fnoizKwi8kNF3Rg
prerooted boot.img: (may to october patches)
https://cloud.vault81.de/s/AeHiE5HR2qonb3N
PREREQUISITES:
- same as above minus twrp
- patched/prerooted boot image (either create it yourself or use link provided here)
STEPS_TO_ROOT:
0.
Code:
adb reboot bootloader
or get into download mode otherwise
1.
Code:
fastboot boot NB1_prerooted_boot.img
1.1. The phone will boot into an temporarily rooted state,
2. Use magisk manager-> Install -> "Direct Install" to persist the root.
3. Reboot
Congrats you now have root even on versions where twrp isn't working yet....
Edit1:
Added link to all stock boot images from may to october security
Edit2:
Did the same for magisk prerooted
Edit3:
Added November images thanks to @czupyt
TWRP isnt working right now so whoever updated to September patch cant do anything except unlock bootloader. Unless someone can pull a boot.img from the newest patch so we can all patch it through Magisk and get root.
ironman38102 said:
TWRP isnt working right now so whoever updated to September patch cant do anything except unlock bootloader. Unless someone can pull a boot.img from the newest patch so we can all patch it through Magisk and get root.
Click to expand...
Click to collapse
I can try to do that once I get back home tomorrow...
I have working magisk on september patch so I should have both prerooted and Stock (cause Magisk backups those)
Trissi said:
I can try to do that once I get back home tomorrow...
I have working magisk on september patch so I should have both prerooted and Stock (cause Magisk backups those)
Click to expand...
Click to collapse
That would be much appreciated. Alot of people who just unlocked bootloader cant root and the maintainer of our TWRP will take a couple of days
indeed
ironman38102 said:
TWRP isnt working right now so whoever updated to September patch cant do anything except unlock bootloader. Unless someone can pull a boot.img from the newest patch so we can all patch it through Magisk and get root.
Click to expand...
Click to collapse
Simple Solution: A/B Partition System.
One Slot is the September Update, the other is August Update.
Update to September, Unlock, witch to other Slot with August Update, Boot Offical TWRP 3.2.3-0 (-1 not booting tho).
Now you can Install the Install Zip for the August BL and Magisk.
Bootup and use Magisk for Inactive Slot.
So did I, but I'm still on August Slot, I'll try to root the September Boot Partiton, and Install TWRP later when Fix arrived.
But rooted September doens't seem very... Stable
LoaderFabi said:
Simple Solution: A/B Partition System.
One Slot is the September Update, the other is August Update.
Update to September, Unlock, witch to other Slot with August Update, Boot Offical TWRP 3.2.3-0 (-1 not booting tho).
Now you can Install the Install Zip for the August BL and Magisk.
Bootup and use Magisk for Inactive Slot.
So did I, but I'm still on August Slot, I'll try to root the September Boot Partiton, and Install TWRP later when Fix arrived.
But rooted September doens't seem very... Stable
Click to expand...
Click to collapse
I'm already about to install the September patch again. I downgraded to May so I could root my phone and provide the clean boot.img from the stock September so people can root without twrp. And honestly A/B partition is still new to me that I still don't understand it
ironman38102 said:
I'm already about to install the September patch again. I downgraded to May so I could root my phone and provide the clean boot.img from the stock September so people can root without twrp. And honestly A/B partition is still new to me that I still don't understand it
Click to expand...
Click to collapse
A/B system is not Complex at all. It's just having 2x a Partiton Group (Boot, System, OEM and Recovery I think) and having the ability with Fatboot to simply switch between group A and group B.
You Inital Set up Partiton A (Nokia did for us with Nougat 7.1.1). If you Update, the Update will be extracted to Partition B, aftzer finishing you reboot to Partiton Group B, leaving group A untouched in Case of Error on Partition B.
That's it pretty much.
LoaderFabi said:
A/B system is not Complex at all. It's just having 2x a Partiton Group (Boot, System, OEM and Recovery I think) and having the ability with Fatboot to simply switch between group A and group B.
You Inital Set up Partiton A (Nokia did for us with Nougat 7.1.1). If you Update, the Update will be extracted to Partition B, aftzer finishing you reboot to Partiton Group B, leaving group A untouched in Case of Error on Partition B.
That's it pretty much.
Click to expand...
Click to collapse
No I get that but its just that I forget cuz this is my first phone with a/b partition. Anyway I got the phone to latest patch rooted so I'll see if I can get the untouched img
i'm on september security update and followed the seconde guide, but still show the android logo not booting the phone
eric194 said:
i'm on september security update and followed the seconde guide, but still show the android logo not booting the phone
Click to expand...
Click to collapse
On what step? Was it after you completed the guide? Or did the patched image not boot already?
If the patched image worked but it din't afterwards, you should reflash the stock_boot.img and redo the guide again because you probably flashed twrp and broke your bootloader...
As you can see in the prerequisites this guide requires a stock bootloader to start.
Trissi said:
On what step? Was it after you completed the guide? Or did the patched image not boot already?
If the patched image worked but it din't afterwards, you should reflash the stock_boot.img and redo the guide again because you probably flashed twrp and broke your bootloader...
As you can see in the prerequisites this guide requires a stock bootloader to start.
Click to expand...
Click to collapse
Nop I didn't flash twrp & Im on stock bootloader fresh september no modifications
eric194 said:
Nop I didn't flash twrp & Im on stock bootloader fresh september no modifications
Click to expand...
Click to collapse
So did the prerooted Image Boot?
If so it basically has to be your boot/system partition(I had mine compromised too and couldn't fix it with just flashing boot.img had to reflash everything via ostla)
If even the prerooted Image didnt boot im sorry i don't really know how to help, as I have working root with Magisk on September patch and the Image boots just fine for me....
eric194 said:
Nop I didn't flash twrp & Im on stock bootloader fresh september no modifications
Click to expand...
Click to collapse
Also you could Switch slots to revert back to august Patch and use the normal twrp guide then... And run the September Update via the magisk method
Trissi said:
Also you could Switch slots to revert back to august Patch and use the normal twrp guide then... And run the September Update via the magisk method
Click to expand...
Click to collapse
Ok I will try that hope it'll work
Edit : thanks dude it worked
Hey everyone;
My Nokia TA-1004 is on the July SP (4.88B_SP02) with unlocked bootloader (unofficial method), TWRP and Magisk installed.
Where can I find a stock boot.img to flash? I tried flashing the boot.img on this thread and although I can boot fine my wifi will be broken (I tried and had to restore nandroid backup). I also tried following the guide here but my OSTLA won't get past "Flashing Service Bootloader".
Any help?
Xayar said:
Hey everyone;
My Nokia TA-1004 is on the July SP (4.88B_SP02) with unlocked bootloader (unofficial method), TWRP and Magisk installed.
Where can I find a stock boot.img to flash? I tried flashing the boot.img on this thread and although I can boot fine my wifi will be broken (I tried and had to restore nandroid backup). I also tried following the guide here but my OSTLA won't get past "Flashing Service Bootloader".
Any help?
Click to expand...
Click to collapse
Flash the full Stock build (i think its even may patch), via ostla (https://forum.xda-developers.com/no...ia-8-official-firmware-links-updated-t3678487), then follow this guide then reapply all updates by following the update steps...
So which file do I have to download from https://drive.google.com/drive/folders/1t64iHuQQjmMnzcujZtjYplh6ipbiF6Cw ? I tried with the 488B one and got stuck on "flashing service bootloader"...
Xayar said:
So which file do I have to download from https://drive.google.com/drive/folders/1t64iHuQQjmMnzcujZtjYplh6ipbiF6Cw ? I tried with the 488B one and got stuck on "flashing service bootloader"...
Click to expand...
Click to collapse
Are you trying to use OST LA 6.1.2? Cuz that doesnt work

Downgrade to Android 9 with pending update on 10?

I'm currently on stock Android 10, unlocked bootloader, rooted with Magisk. There's an available update (12.7 MB) but it always gives an error message of "Couldn't update / Installation problem". Uninstalling Magisk didn't fix the issue, so I'm assuming it's due to unlocked bootloader.
If I want to downgrade to 9, is it a simple case of flashing the factory image of Android 9, or does Android 10 need to be fully up to date first? Do I need to re-lock the bootloader?
Any advice much appreciated!
ichigodango said:
I'm currently on stock Android 10, unlocked bootloader, rooted with Magisk. There's an available update (12.7 MB) but it always gives an error message of "Couldn't update / Installation problem". Uninstalling Magisk didn't fix the issue, so I'm assuming it's due to unlocked bootloader.
If I want to downgrade to 9, is it a simple case of flashing the factory image of Android 9, or does Android 10 need to be fully up to date first? Do I need to re-lock the bootloader?
Any advice much appreciated!
Click to expand...
Click to collapse
You can downgrade to 9 but you'll need to do a full wipe. Instead download the full factory image for the latest update and edit the flash-all batch file you'll find in it to remove the -w. Then run the batch file. You'll need to copy the boot.img file in the factory image to your device and then patch it with magisk to root. That patched image will need to be flashed to your device using fastboot from your pc.
I ran into the same issue as you when trying to update with the ota.
ichigodango said:
I'm currently on stock Android 10, unlocked bootloader, rooted with Magisk. There's an available update (12.7 MB) but it always gives an error message of "Couldn't update / Installation problem". Uninstalling Magisk didn't fix the issue, so I'm assuming it's due to unlocked bootloader.
If I want to downgrade to 9, is it a simple case of flashing the factory image of Android 9, or does Android 10 need to be fully up to date first? Do I need to re-lock the bootloader?
Any advice much appreciated!
Click to expand...
Click to collapse
Your problem is not due to an unlocked bootloader. I had no problems with that update following this procedure. https://github.com/topjohnwu/Magisk/blob/master/docs/tutorials.md
You would have to reinstall Magisk to follow that procedure.
You should be able to flash the full factory image of either 9 or 10, but that will wipe your phone. Here is a link to a thread regarding downgrading from 10 to 9. That thread is for an XL, but it is still applicable.
https://forum.xda-developers.com/showpost.php?p=80206785&postcount=31
Complete flashing instructions are here: https://developers.google.com/android/images#instructions
You can flash the factory image without wiping your phone by editing flash-all.bat, and removing -w from the last line. That may not fix your problem, though. You may need a wipe to fix it.
Make sure to download the latest platform tools if you decide to flash. https://developer.android.com/studio/releases/platform-tools
I would not relock the bootloader. It may be impossible to recover from a bricked phone with a locked bootloader, and the relocking process may brick the phone. You must be on a stock image to relock the bootloader.
jd1639 said:
You can downgrade to 9 but you'll need to do a full wipe. Instead download the full factory image for the latest update and edit the flash-all batch file you'll find in it to remove the -w. Then run the batch file. You'll need to copy the boot.img file in the factory image to your device and then patch it with magisk to root. That patched image will need to be flashed to your device using fastboot from your pc.
I ran into the same issue as you when trying to update with the ota.
Click to expand...
Click to collapse
I managed to figure it out, updated ota and am now back on 9 with no problems I used flash-all without removing -w but didn't lose anything important so it's all good!
dcarvil said:
Your problem is not due to an unlocked bootloader. I had no problems with that update following this procedure. https://github.com/topjohnwu/Magisk/blob/master/docs/tutorials.md
You would have to reinstall Magisk to follow that procedure.
You should be able to flash the full factory image of either 9 or 10, but that will wipe your phone. Here is a link to a thread regarding downgrading from 10 to 9. That thread is for an XL, but it is still applicable.
https://forum.xda-developers.com/showpost.php?p=80206785&postcount=31
Complete flashing instructions are here: https://developers.google.com/android/images#instructions
You can flash the factory image without wiping your phone by editing flash-all.bat, and removing -w from the last line. That may not fix your problem, though. You may need a wipe to fix it.
Make sure to download the latest platform tools if you decide to flash. https://developer.android.com/studio/releases/platform-tools
I would not relock the bootloader. It may be impossible to recover from a bricked phone with a locked bootloader, and the relocking process may brick the phone. You must be on a stock image to relock the bootloader.
Click to expand...
Click to collapse
You're totally right that my problem had nothing to do with bootloader. I realised that by rooting with Magisk, the boot.img was modified, so I downloaded the image of the version that I had, extracted boot.img, flashed it to my phone, which got ota working.
I then updated ota to the latest Android 10 just in case, before flashing Android 9 followed by root - this was probabaly more complicated than necessary and I probabaly could have skipped the ota update, but everything is working as intended
dcarvil said:
Your problem is not due to an unlocked bootloader. I had no problems with that update following this procedure. https://github.com/topjohnwu/Magisk/blob/master/docs/tutorials.md
You would have to reinstall Magisk to follow that procedure.
Click to expand...
Click to collapse
What's the difference between this method and simply flashing the phone with the stock boot.img? I just flashed stock boot.img, got ota working on 10, updated, before downgrading to 9. Will I run into any issues because I didn't use Magisk's restore image?
ichigodango said:
What's the difference between this method and simply flashing the phone with the stock boot.img? I just flashed stock boot.img, got ota working on 10, updated, before downgrading to 9. Will I run into any issues because I didn't use Magisk's restore image?
Click to expand...
Click to collapse
Flashing the stock boot image removes root, so you must re-root the phone after updating. This method removes root from the active slot, but preserves it on the alternate slot. After the OTA root is restored from the alternate slot.
The end result is the same for both cases, but following the OTA procedure is simpler and faster.
dcarvil said:
Flashing the stock boot image removes root, so you must re-root the phone after updating. This method removes root from the active slot, but preserves it on the alternate slot. After the OTA root is restored from the alternate slot.
The end result is the same for both cases, but following the OTA procedure is simpler and faster.
Click to expand...
Click to collapse
That makes sense, thanks!

Manually taking an OTA while rooted

Hi,
Since I got my phone and rooted it in March I haven't received any OTAs.
From what I gathered, one could easily do so manually, but I did not see a how-to and my knowledge of pixels and recent android stuff is limited.
Could someone perhaps explain how I can do this? Also, should I take the OTAs by order (April and then May) or is it okay to just update to the latest one?
Cheers.
Yeah... My last phone still got offered OTAs when rooted but not this pixel. I guess Google can see that your BL is unlocked, or that you have Magisk and just doesn't allow the normal OTA?
Each month you gotta go fetch the factory image, remove the -w from the script and flash it. Then get Magisk to patch the boot.img and use fastboot to flash it (or boot it and flash from Magisk).
There's a slightly smaller full ota package you can use instead. It is not destructive by default but it takes a bit more work to get the boot.img out (payload dumper).
I see.
Can I install the May update straight away, or should I get the April one first?
Also, what is the name of the script? Is it flash-all.bat? Should I edit it within the zip or extract and rezip?
Ruttix said:
can I install the May update straight away, or should I get the April one first?
Also, what is the name of the script? Is it flash-all.bat? Should I edit it within the zip or extract and rezip?
Click to expand...
Click to collapse
Both full ota and factory are complete upgrades. You can jump straight to the latest version.
The factory image zip expands and has flash-all scripts (.sh or .bat, depending on your os - windows is .bat). That's where you have to remove the -w from (fastboot -w update blah.zip). You install factory images by running the flash-all script.

Question bootloop after installing magisk, help required

Hello guys!
Something wrong happened with my blujay, I need ur help...
So here's the complete story:
1) since december I didn't have OTA update, I don't know why, and the system was telling me it was outdated everyday but up to date in the update menu. so I decided to download the latest OTA bluejay-ota-tq1a.230205.002-1ec64b58.zip and apply it.
2) that worked nice, it booted up updated to this version. But proposed me another security update to get me to march 2023 security update.
3) Allright, security update done, but without root. So I donwloaded the full image corresponding to the OTA i made, bluejay-tq1a.230205.002-factory-1b04ccc9.zip, extracted the boot.img, patched it with magisk 26.1, then flashed it through fastboot.
4) this is where things get naughty, I had bootloop. I imagine this boot.img was correponding to my OTA update, but then another update was done, and the boot.img was wrong for this one.
5) I tried to reflash the patched and original boot.img, same. I tried to reapply the OTA, same, still bootloop.
6) I just tried to patch the full image, removing the -w from the flash-all.bat to not wipe my data (the whole point is that I can't loose all that), and still the same, I have a screen from android recovery saying it cannot load the system and proposing me to wipe, which I don't want.
What should I do ? Save me please!!
You updated from the Feb 2023 patch to the March 2023 patch in step 2. You then downloaded and patched the Feb 2023 boot.img file and applied it, with the system being at the March 2023 update. This is where the issue is. You need to download the March 2023 image and flash the boot.img from this. It is possible though, that you are at the April 2023 patch if you did this very recently.

Categories

Resources