Jan Security Update failing - Pixel C Q&A, Help & Troubleshooting

Hi
I received the OTA Update from Jan. (20 MB) If i accept the download and install it, i receive just an error (that robot picture).
I have a rooted pixel C.
I assume the root might be the problem.
Can i download that update and install it via adb sideload?
I only found complete images.
br & tnx for the help

lalala987 said:
Hi
I received the OTA Update from Jan. (20 MB) If i accept the download and install it, i receive just an error (that robot picture).
I have a rooted pixel C.
I assume the root might be the problem.
Can i download that update and install it via adb sideload?
I only found complete images.
br & tnx for the help
Click to expand...
Click to collapse
fastboot flash the factory image, here > https://developers.google.com/android/images

hi
the problem is, that if i install the factory image, all my data will be wiped. so i dont really want to sideload a factory image...

lalala987 said:
hi
the problem is, that if i install the factory image, all my data will be wiped. so i dont really want to sideload a factory image...
Click to expand...
Click to collapse
1st, you don't sideload a factory image. You flash each .img file via fastboot.
Second, in you only flash the vendor, boot, and system files your data will remain intact.
Look in the general section for instructions on how to flash via fastboot.
Now, if your bootloader is locked, then unlocking will wipe your device.

Related

Wrong build fingerprint when flashing ota

I've downloaded the ota zip and ready to flash it in twrp. But when I flash it, it shows an error saying my device have wrong build number. I'm very sure that i have kitkat ktu84p but when flashing the ota it says i have the previous jelly bean build which makes my flash unsuccessful. I've also checked build.prop and its also listed there its ktu84p. Whats the problem here and if possible show a solution please
ImjuzCY said:
I've downloaded the ota zip and ready to flash it in twrp. But when I flash it, it shows an error saying my device have wrong build number. I'm very sure that i have kitkat ktu84p but when flashing the ota it says i have the previous jelly bean build which makes my flash unsuccessful. I've also checked build.prop and its also listed there its ktu84p. Whats the problem here and if possible show a solution please
Click to expand...
Click to collapse
See it this thread helps
http://forum.xda-developers.com/nex...-qa/flashing-lollipop-ota-twrp-fails-t2939358
jj14 said:
See it this thread helps
http://forum.xda-developers.com/nex...-qa/flashing-lollipop-ota-twrp-fails-t2939358
Click to expand...
Click to collapse
Thanks for the link. Now i can conclude that the ota doesnt work with custom recoveries. Tried twrp and cwm. Twrp shows jelly bean fingerprints but cwm shows another kitkat fingerprint rather than ktu84p thats suppose to be
ImjuzCY said:
Thanks for the link. Now i can conclude that the ota doesnt work with custom recoveries. Tried twrp and cwm. Twrp shows jelly bean fingerprints but cwm shows another kitkat fingerprint rather than ktu84p thats suppose to be
Click to expand...
Click to collapse
Wonder if you are using an outdated TWRP version. Maybe the newer versions have fixed this
jj14 said:
Wonder if you are using an outdated TWRP version. Maybe the newer versions have fixed this
Click to expand...
Click to collapse
I dont think so cause ive just updated it to 2.8.1.0 which is the newest by now
I tried everything and still get wrong build fingerprint when trying to flash the 5.0
ImjuzCY said:
I dont think so cause ive just updated it to 2.8.1.0 which is the newest by now
Click to expand...
Click to collapse
Hello!
Really want to flash the OTA without a total wipe.
First flashed it from TWRP 2.8.1.0 and got the wrong build finger print says I have Flo:4.3/JSS15Q/779366 and it expects KTU84P/1227136
Then using WugFresh 1.9.4 flashed stock recovery so I could sideload then encountered the whole adb disappearing in recovery - eventually solved that and finally managed to adb sideload saw my screen saying it was installing the update using the stock recovery - YAY! It was short lived as the stock recovery screen told me the exact same thing that TWRP had told me.
I looked at my build.prop and it says my ro.build.fingerprint=google/razor/flo:4.4.4/KTU84P/1227136. user/release-keys
Can someone enlighten me? I've wasted so much time on this I would love some keen insight - PLEASE!!
Thanks for any and all help!
Edbogue
Google changed the way OTAs work in 5.0. You will usually not be able to flash a OTA if your OS is modified. Means no custom recovery or root. You will have to flash your tab back to stock kitkat.
Before it would patch individual file blocks, now it patches the whole system partition as a blob. Read more http://www.androidpolice.com/2014/1...e-means-update-will-fail-system-modified-way/
Workaround that helped me upgrade
Following the steps below seems to have done the trick for me. My issue was that Android 5.0 updates the system partition all in one go now, rather than each file separately. Following those steps will unroot your device but will allow you to install the OTA updates.
So follow these steps to refresh your current Android version (e.g 4.4.4) then use OTA or adb sideload to update to, for example, 5.0.
This will not wipe user data or the cache.
Download the Factory Image for your current version of android from google (4.4.4 most likely)
Extract each level of compressed files until you get to a .zip file (inside will be boot.img, recovery.img, and system.img)
Move these files to your ADB directory (optional step, makes the commands shorter)
make sure your device is connected with working drivers and is in bootloader mode ( adb reboot bootloader )
perform the following commands:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase system
fastboot flash system system.img
Finally, (Re)start the system
After this if you want to root and reinstall a custom recovery , follow the normal steps.
I would post my source, but as I only just joined to say what helped me, I'm not allowed to post links I'll just say Google "flashing-a-stock-android-image-without-wiping-user-data" and (as of 19/11/2014) it's the top result.
Please continue here: http://forum.xda-developers.com/nexus-4/help/android-5-0-0-to-5-0-1-update-t2972371#post57515317
Finally finally!!! A fix!
Raingram said:
Download the Factory Image for your current version of android from google (4.4.4 most likely)
Extract each level of compressed files until you get to a .zip file (inside will be boot.img, recovery.img, and system.img)
Move these files to your ADB directory (optional step, makes the commands shorter)
make sure your device is connected with working drivers and is in bootloader mode ( adb reboot bootloader )
perform the following commands:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase system
fastboot flash system system.img
Finally, (Re)start the system
After this if you want to root and reinstall a custom recovery , follow the normal steps.
.
Click to expand...
Click to collapse
Thank you Raingram! This worked perfectly!

Prep for December patch

I have made a lot of changes to the November build such as TWRP, root with magisk, custom kernel and Tulsa mods to the systemUI and framework.
I am thinking that I will need to reset to factory default in order to get the December update. I have not done a factory reset yet.
Sounds like I use Flashall.bat with the - w option removed and the phone in Fastboot mode.
Do Magisk or TWRP need to be removed before Flashall?
Will there be a full December build or do I flash an old build and then take the updates?
Any other suggestions on the best way to update to the Dec build?
swieder711 said:
I have made a lot of changes to the November build such as TWRP, root with magisk, custom kernel and Tulsa mods to the systemUI and framework.
I am thinking that I will need to reset to factory default in order to get the December update. I have not done a factory reset yet.
Sounds like a use Flashall.bat with the - w option removed.
Will there be a full December build or do I flash an old build and then take the updates?
Any other suggestions on the best way to update to the Dec build?
Click to expand...
Click to collapse
There Dec flash-all batch file, without the -w, will over write all your modifications and that's all you should need to do. It's always best to backup everything you can just in case.
Sent from my [device_name] using XDA-Developers Legacy app
So can you not download the ota from Google's website and flash it in TWRP? Then just flash TWRP and root again before rebooting?
hatdrc said:
So can you not download the ota from Google's website and flash it in TWRP? Then just flash TWRP and root again before rebooting?
Click to expand...
Click to collapse
Not in TWRP, but you can ADB sideload it then reroot. The flash all after removing the-w also saves data and apps.
hatdrc said:
So can you not download the ota from Google's website and flash it in TWRP? Then just flash TWRP and root again before rebooting?
Click to expand...
Click to collapse
If you don't install the permanent TWRP, and just use the bootable image, you can place the OTA on your phone and use the stock recovery to install it. The OTA will install without wiping data.
spotmark said:
If you don't install the permanent TWRP, and just use the bootable image, you can place the OTA on your phone and use the stock recovery to install it. The OTA will install without wiping data.
Click to expand...
Click to collapse
Right, but then you need to reroot with a PC. I have TWRP permanent so I was hoping you could just boot into TWRP and flash it, then flash TWRP again and then root and be back to the way it is now.
So in my case I need to just download the images, remove -w and then flash. Temp boot TWRP and flash root. Don't think I'll put TWRP on permanently this time since that was the only reason I did the last time.
Thank you everyone for your help

Unable to flash OTA update

Hi all, I have TWRP + Magisk on my device and I am attempting to update from PQ1A.181205.006 to PQ2A.190205.001.
Steps taken
1. Downloaded the OTA from here: https://developers.google.com/android/ota#crosshatch
2. Moved the OTA to phone storage.
3. Checked SHA256 checksum matches.
4.
Code:
adb reboot recovery
5.
Code:
fastboot boot twrp-3.2.3-3-crosshatch.img
6. From TWRP > Install > OTA zip file
Fails with the attached error. I have also tried sideloading through TWRP with the same result. Has anyone hit this error or successfully flashed the OTA update through TWRP?
I have not heard of anyone successfully loading an OTA through TWRP. Either restore stock recovery (install boot.img to both slots) and sideload with the Google instructions or run the flash-all (remove the -w) to use the factory image. Either way, you ere going to be reverting to stock recovery.
P.S. Your message doesn't make sense since you say you have TWRP on your device but then are showing that you used fastboot boot to run the TWRP .img file. If TWRP was on your device, you wouldn't have to use that command. You would just have entered TWRP with the adb reboot recovery command. I am guessing you are rebooting into the bootloader screen where either you run the TWRP .img or run the flash-all.
I also thought I saw a previous post somewhere that said you cannot skip an update, so going from December to February may not work.....not sure...
But definitely you need to load the OTA via regular Recovery using adb not TWRP....
Can you install a OTA?
I thought you had to perform an ADB sideload of an OTA.
Even then I am not aware that ADB sideload works for Pixel 3xl yet.
I have been flashing the factory image with -w removed.
parakleet said:
Can you install a OTA?
I thought you had to perform an ADB sideload of an OTA.
Even then I am not aware that ADB sideload works for Pixel 3xl yet.
I have been flashing the factory image with -w removed.
Click to expand...
Click to collapse
ADB sideload works fine for the OTAs in stock recovery. That's how I've been doing mine.
On a side note, the Essential phone is the only phone I've come across so far that TWRP will flash the factory OTAs.
spotmark said:
ADB sideload works fine for the OTAs in stock recovery. That's how I've been doing mine.
On a side note, the Essential phone is the only phone I've come across so far that TWRP will flash the factory OTAs.
Click to expand...
Click to collapse
The P2XL and Nexis 6p can flash OTA's via twrp as well. Hopefully Team Win will get it sorted out for you guys as well :good:
Badger50 said:
The P2XL and Nexis 6p can flash OTA's via twrp as well. Hopefully Team Win will get it sorted out for you guys as well :good:
Click to expand...
Click to collapse
Flash them or sideload them? I never had a P2XL, but I had a Nexus 6p and I don't remember being able to flash that with the factory zips. That doesn't mean my memory isn't shot either.
spotmark said:
Flash them or sideload them? I never had a P2XL, but I had a Nexus 6p and I don't remember being able to flash that with the Factory zips. That doesn't mean my memory isn't shot either.
Click to expand...
Click to collapse
Yeah, it was possible, just not many people knew about it, but it definitely works :good:
Flashing them that is.
I went from dec to feb update no problem
hilla_killa said:
I went from dec to feb update no problem
Click to expand...
Click to collapse
Sideloading or factory image method?
I am trying to do an OTA update on my Pixel 3xl. I have TWRP installed and need to get back to stock recovery. I have the stock boot.img file and have attempted to flash with adb fastboot but I keep getting this error
writing 'recovery'...
FAILED (remote: Not allowed to flash (recovery))
Bootloader is unlocked
USB debugging is on
Any help would be appreciated.
Badbrad17 said:
I am trying to do an OTA update on my Pixel 3xl. I have TWRP installed and need to get back to stock recovery. I have the stock boot.img file and have attempted to flash with adb fastboot but I keep getting this error
writing 'recovery'...
FAILED (remote: Not allowed to flash (recovery))
Bootloader is unlocked
USB debugging is on
Any help would be appreciated.
Click to expand...
Click to collapse
Did you first extract the secondary zip file inside the factory image, and then placed the boot.img in your platform-tools folder, and the used the command..fastboot flash boot boot.img....??
Badger50 said:
Did you first extract the secondary zip file inside the factory image, and then placed the boot.img in your platform-tools folder, and the used the command..fastboot flash boot boot.img....??
Click to expand...
Click to collapse
Yes that is what I did.
Badbrad17 said:
Yes that is what I did.
Click to expand...
Click to collapse
Okay, and you are in fastboot mode and not adb from the OS as well I take it? Have you tried a different USB cable and port? If all else fails, you can flash the boot.img in twrp as well.
Badger50 said:
Okay, and you are in fastboot mode and not adb from the OS as well I take it? Have you tried a different USB cable and port? If all else fails, you can flash the boot.img in twrp as well.
Click to expand...
Click to collapse
OH I di not know I could do it in TWRP. Will try that first. thanks
Badbrad17 said:
OH I di not know I could do it in TWRP. Will try that first. thanks
Click to expand...
Click to collapse
Just make sure you flash it to the boot partition :good:
raphytaffy said:
Hi all, I have TWRP + Magisk on my device and I am attempting to update from PQ1A.181205.006 to PQ2A.190205.001.
Steps taken
1. Downloaded the OTA from here: https://developers.google.com/android/ota#crosshatch
2. Moved the OTA to phone storage.
3. Checked SHA256 checksum matches.
4.
Code:
adb reboot recovery
5.
Code:
fastboot boot twrp-3.2.3-3-crosshatch.img
6. From TWRP > Install > OTA zip file
Fails with the attached error. I have also tried sideloading through TWRP with the same result. Has anyone hit this error or successfully flashed the OTA update through TWRP?
Click to expand...
Click to collapse
I've installed 3 latest updates from twrp ...
Download the latest OTA, you have to be in stock Rom and Kernel stock ... and have last twrp on your phone... Flash OTA and twrp installer to keep twrp ... restart in twrp for magisk or restart system ... benefits
sorry for my bad english.
Badger50 said:
Just make sure you flash it to the boot partition :good:
Click to expand...
Click to collapse
How do I make sure of this? Sorry I'm a bit of a noob.
Badbrad17 said:
How do I make sure of this? Sorry I'm a bit of a noob.
Click to expand...
Click to collapse
Tap install on the twrp home screen. Then go to where you have the boot.img on your internal storage and tap image on the bottom right. Then select the "boot" partition, and swipe to install. This will return you back to stock recovery and kernel :good:
Badger50 said:
Tap install on the twrp home screen. Then go to where you have the boot.img on your internal storage and tap image on the bottom right. Then select the "boot" partition, and swipe to install. This will return you back to stock recovery and kernel :good:
Click to expand...
Click to collapse
Well I managed to do that, but now when my phone rebooted the touch screen no longer responds. Very strange. It all loads fine and I can see my screen but nothing works. I tried to go back into recovery and I get the little dead Android guy laying on his back with a red exclamation point and "No Command" below it.
Any ideas?

[Rooted] Pixel 2XL and System Autoupdates?

I really don't have a clue how to get auto updates via System Updates on my rooted Pixel 2 XL (Pie, Magisk 18.1).
If I check updates it replies that I already have the latest version (still from February 2019).
Is it possible to get updates via system menu on a rooted phone?
P. S. Sorry if I've missed a right thread for this topic)
b3rsus said:
I really don't have a clue how to get auto updates via System Updates on my rooted Pixel 2 XL (Pie, Magisk 18.1).
If I check updates it replies that I already have the latest version (still from February 2019).
Is it possible to get updates via system menu on a rooted phone?
P. S. Sorry if I've missed a right thread for this topic)
Click to expand...
Click to collapse
No, you will have to manually update on a rooted phone. It requires a computer but only takes a couple minutes.
murphyjasonc said:
No, you will have to manually update on a rooted phone. It requires a computer but only takes a couple minutes.
Click to expand...
Click to collapse
Is it possible to update the system without full wiping? As I remember I should put -w in the flash script, but will it update correctly and should I reinstall TWRP or Magisk in this case?
b3rsus said:
Is it possible to update the system without full wiping? As I remember I should put -w in the flash script, but will it update correctly and should I reinstall TWRP or Magisk in this case?
Click to expand...
Click to collapse
It will not wipe your phone as long as you remove the -w. Magisk and Twrp will have to be reinstalled but that's an easy process. Fastboot boot the twrp.img file. That will get you back in to twrp temporary so you can flash the twrp and magisk zip files.
murphyjasonc said:
It will not wipe your phone as long as you remove the -w. Magisk and Twrp will have to be reinstalled but that's an easy process. Fastboot boot the twrp.img file. That will get you back in to twrp temporary so you can flash the twrp and magisk zip files.
Click to expand...
Click to collapse
Is it any difference with the sideload method?
b3rsus said:
Is it any difference with the sideload method?
Click to expand...
Click to collapse
Mostly personal preference.. if you use the side load method you need to download the ota file instead of the full image. I personally prefer flashing the whole image in fastboot. In my experience there is less room for user error but that's my opinion.
murphyjasonc said:
Mostly personal preference.. if you use the side load method you need to download the ota file instead of the full image. I personally prefer flashing the whole image in fastboot. In my experience there is less room for user error but that's my opinion.
Click to expand...
Click to collapse
Thank you very much!)
Probably will be useful for somebody.
How to update system on a rooted Pixel 2 XL with TWRP.
Code:
[LIST=1]
[*]Download OTA file, TWRP.zip and Magisk.zip to the phone
[*]Reboot to TWRP, install OTA archive
[*]Reboot to Bootloader
[*]fastboot boot twrp.img
[*]Install TWRP.zip and Magisk.zip
[*]Power off system from TWRP
[*]Run!
[/LIST]
b3rsus said:
Is it possible to update the system without full wiping? As I remember I should put -w in the flash script, but will it update correctly and should I reinstall TWRP or Magisk in this case?
Click to expand...
Click to collapse
remove the -w from the bat file
wrecklesswun said:
remove the -w from the bat file
Click to expand...
Click to collapse
This!!

Preparing system update, then nothing

Phone is rooted with magisk, running Feb '20 build.
Last month (early Feb) for a split second, I saw the message 'preparing system update' when going to settings - system - system update. Then it went to 'system up to date' (back then it was obviously running Jan '20 update). So I had to download the factory image, patch the boot image and flash it in fastboot to be updated and rooted.
Saw the March update was available, went to system update again, no and behold. Same story. Split second 'preparing system update' and then nothing.
Oddly enough device updated to the januari update through magisk ota procedure just fine.
Has anyone else encountered this? How did you fix it?
Sent from my Pixel 3 XL using Tapatalk
I encountered this last month. Did the Magisk OTA update like you for January and wanted to do the Feb OTA update but it never became available on my phone. Just checked System Update and it says system is up to date. Haven't seen the "preparing system update" for March - yet.
Same here. Magisk OTA method in January then the preparing message then up to date last month and this month.
Seems Google is on to us.
When I get home I am going to unroot via Magisk, not reboot and check again.
TonikJDK said:
Same here. Magisk OTA method in January then the preparing message then up to date last month and this month.
Seems Google is on to us.
When I get home I am going to unroot via Magisk, not reboot and check again.
Click to expand...
Click to collapse
Exact same thing on my wife's phone; it just says system is up to date with January update. There has to be something going on because there are a number of users who have experienced this issue.
jlokos said:
Exact same thing on my wife's phone; it just says system is up to date with January update. There has to be something going on because there are a number of users who have experienced this issue.
Click to expand...
Click to collapse
Use This guide: Do #4 'keep data' then #9 to root.
It only takes 5 minutes.
Note: Before you start disable all your Magisk modules.
So long story short: download factory image and remove -w (wipe flag), flash everything, patch boot image with magisk, and flash image via fastboot. Now what I don't see (or I overlook it), do you flash the patched image via
Flash boot patched_boot.img or to both boot_a and boot_b?
Sent from my Pixel 3 XL using Tapatalk
Ch3vr0n said:
So long story short: download factory image and remove -w (wipe flag), flash everything, patch boot image with magisk, and flash image via fastboot. Now what I don't see (or I overlook it), do you flash the patched image via
Flash boot patched_boot.img or to both boot_a and boot_b?
Click to expand...
Click to collapse
#9. A. 11.
fastboot flash boot --slot all magisk_patched.img
Homeboy76 said:
#9. A. 11.
fastboot flash boot --slot all magisk_patched.img
Click to expand...
Click to collapse
Are you advising to just use the factory image to update or are you saying the OTA updates will work after reflashng factory image?
willyumlu said:
Are you advising to just use the factory image to update or are you saying the OTA updates will work after reflashng factory image?
Click to expand...
Click to collapse
@willyumlu
Flash the Factory Image, the OTA update is what you are having problems getting installed.
Also, if you are rooted take a look at #9. B. OTA Installation
Homeboy76 said:
@willyumlu
Flash the Factory Image, the OTA update is what you are having problems getting installed.
Also, if you are rooted take a look at #9. B. OTA Installation
Click to expand...
Click to collapse
Yeah it's not showing any OTA updates since ~January. I think there's some corrupt folder/file permissions after one of the OTAs or something - I can't use a log viewer app to check the logs. Tried to just flash stock Feb thru fastboot like you suggested and afterwards, even with the stock boot, I couldn't find any updates. I'll try to do a factory reset when I have time to see if that solves the issue
EDIT: Got it working after I used https://pixelrepair.withgoogle.com/ to reflash. When I tried factory resetting by follow @Homeboy76 's guide (w/o using the laptop), it still wouldn't find an OTA. The site got me back onto Feb stock and I rerooted and applied the OTA afterwards
willyumlu said:
Yeah it's not showing any OTA updates since ~January. I think there's some corrupt folder/file permissions after one of the OTAs or something - I can't use a log viewer app to check the logs. Tried to just flash stock Feb thru fastboot like you suggested and afterwards, even with the stock boot, I couldn't find any updates. I'll try to do a factory reset when I have time to see if that solves the issue
EDIT: Got it working after I used https://pixelrepair.withgoogle.com/ to reflash. When I tried factory resetting by follow @Homeboy76 's guide (w/o using the laptop), it still wouldn't find an OTA. The site got me back onto Feb stock and I rerooted and applied the OTA afterwards
Click to expand...
Click to collapse
Glad you got the OTA
I'm curious what # was, "factory resetting by follow @Homeboy76 's guide (w/o using the laptop), it still wouldn't find an OTA."
factory image method didn't work (flashing feb build and patching boot image). pixel repair isn't available in belgium. Still no OTA
Homeboy76 said:
Glad you got the OTA
I'm curious what # was, "factory resetting by follow @Homeboy76 's guide (w/o using the laptop), it still wouldn't find an OTA."
Click to expand...
Click to collapse
#3b
Ch3vr0n said:
factory image method didn't work (flashing feb build and patching boot image). pixel repair isn't available in belgium. Still no OTA
Click to expand...
Click to collapse
Maybe a factory image with -w would work? I'm not sure what exactly the pixelrepair site does but it seemed like it was doing a sideload after wiping data since it asks you to go into recovery mode
Don't care what the pixelrepair does, as I said. I can't use it. Probably Geo restriction.
Sent from my Pixel 3 XL using Tapatalk
willyumlu said:
#3b
Click to expand...
Click to collapse
I was pointing out the benefits of flashing the factory image #4 'keep data' an re- rooting #9. So, I was surprised to see factory reset in your response. :good:
Ch3vr0n said:
Don't care what the pixelrepair does, as I said. I can't use it. Probably Geo restriction.
Sent from my Pixel 3 XL using Tapatalk
Click to expand...
Click to collapse
Yeah I'm suggesting flashing the factory image without removing "-w" to do what the site did since you can't access it
Yeah I ain't doing that in the middle of a week after work. I can't go without phone during the week if something goes wrong, or spend hours after restoring the auto-backup and setting up mail etc all over again. Maybe over the weekend.
Sent from my Pixel 3 XL using Tapatalk
I had to Flash the factory Image too. No Ota arrived since the Dec 2019 update.
I remived the -w Option and everything is fine. No data loss.
Patching the boot.img with magisk didn't work. Magisk 7.5.1 always crashed. I tried Magisk 7.5.0 and everything worked.

Categories

Resources