How to revert my Pixel 2 back to factory - Google Pixel 2 Questions & Answers

Hi
A couple of days ago I tried to root my Pixel 2, it was locked and I unlcoked and then flashed it. During that process it got very close to a bricked state.
It now has a flash Android 10 on it but all of the gestures that I had last week as part of Android are gone and I can't do what I wanted to do anyway, so I'd like to go back to stock factory with a locked bootloader. Exactly as it was last week.
can anyone please tell me how to do that and if that will also restore the up swipe, left & right swipes (to switch between apps and show all open apps).
I am aware of the gestures app which I have installed but I just want to rewind history and forget I changed anything. i also hate the fact that I get told that it's in an unsafe condition every time reboot.
thanks
Stephen

Download factory image from Google site, flash it and lock back the bootloader.
While I don't use the gestures feature at all, I don't think that your issue is related to the unlocked bootloader. At first I would try to do the factory reset from the ROM itself, it will reset to the default state, but the phone stay rooted and unlocked bootloader state.

Related

Possible to bypass/change pin/pattern AT restart?

Hello, I hope it's the right part of XDA to post my thread as I have serious issues here.
Got my HTC 10 (with Android 6)back from repair today and restored my backup.
But dumb me it seems as if i set a password/patern whatever and i can't remember it.
So after a restart i can't unlock my phone cause it's asking for the code (and won't let unlock only with fingerprint) and i can't remember.
All combination that i would have used are wrong and now i got a working phone back again (after almost 2 month of repairing) and can't unlock it.
Is there any way of bypassing/ignoring the restart password or is it possible to only unlock it again with the fingerprint that is stored?
As i don't know what i should do if i don't get my phone unlocked
I tried to factory reset it andxthat worked but all my apps and data is gone as google seems to only restore some apps and almost no data of the apps.
So i set it up as a new device and only restored /data but immediately after reboot I was asked to put in the forgotten password.
So is there anyway of bypassing the pin/pattern after restart and only unlock the device with the fingerprint that is stored. And if not, is there any way of being able to use my /data after a factory reset again?
Kind regards

Factory Resetting Bootlooped Phone without OEM Unlock

My completely stock Pixel started bootlooping this afternoon (I still think its a hardware problem, but I'm not sure) and I already tried factory resetting and sideloading a rescue OTA through the stock recovery (which didn't fix it), but I am unable to flash a fresh factory image because I never thought to enable the OEM Unlock toggle when it was working properly (because naive me decided to use the complete stock experience on this phone).
The phone will normally crash/restart at the Google wordmark or logo, but sometimes it will make it all the way to the initial set up before restarting again. I was wondering if there was any way to manually erase/format the other partitions without totally bricking my device, or am I pretty my SOL because I never toggled the "OEM Unlock"?
Thanks.
Edit: Just checked and Slot A on my bootloader is "unbootable", but I'm not entirely sure what that means.
You can still run stock but with unlocked bootloader. It's simply gives far more options when things go wrong.
Sent from my moto x4 using Tapatalk

Missing OnePlus wallpapers and widgets after unlocking bootloader

Hi everyone,
Yesterday I decided I wanted to root my OnePlus 7Pro. Something I hadn't done since the days of my Nexus One and following phones. But I chickened out... It was too late, i was tired... Anyways.
I had unlocked to bootloader but didn't flash the TWRP recovery.
So, I re-locked it and went to bed.
This morning, after restoring the backup I had done with OnePlus Switch, I realized that the stock OnePlus wallpapers and widgets were missing. I see the "Rotating Image Wallpaper" box where I can display them but nothing.
Same thing with the OnePlus clock widget. Missing.
I resetted my phone again... still nowhere to be found.
Anyone knows what happened and how I can get those back?
Thanks
download the ZIP of the version you're on, copy it to root storage and go to system updates, press the gear, and see if you can "dirty flash" it from there.
Worked beautifully. Thanks.
Way easier than I remember it to be...

Camera issues + Reset without losing root

Hi everyone,
I hope some of you are still following up on this device or maybe my query is not too specific after all...
To give you some background: When I rooted my Zenfone 3 Ultra in April 2019 the storage was encrypted such that I had to enter a key each time I powered it up. After ~ 1 year or so I could not access the OS anymore after a reboot because it said the key I entered was wrong. So I went to twrp and did a wipe in order to set everything up again, this time not using device encryption. I noticed that after this wipe the flash light and third party apps using the camera would cause crashes (black screen or immediate reboot). I could live with it so far but recently I thought more and more often that it would be nice to finally use the camera in third party apps. So yesterday I had some time and decided to address the issue by doing a factory reset.
Now the factory reset did not resolve the issue. I remembered that when I had rooted the device (and everything was still working) I had created a nandroid backup in twrp which I then restored. I included everything in the restore which was offerd by twrp, i.e. Boot, Data (excl. storage), System and System Image. Still the same issue. I am not sure anymore if I created the one nandroid backup which I still have before or after rooting but when I boot up the device and install Magisk Manager, Magisk is shown with the version I installed back then.
According to the ZU680KL unlock/root thread unlocking is not possible anymore. However, I would like to keep root / be able to regain it. I assume the latest firmware (UL-ASUS_A001-WW-14.1010.1804.75-user.zip) as well as the corresponding boot.img and recovery.img which @ndi provided in this thread (thanks!) would allow me to go back further. However, I noticed that in my boot menu it says "DEVICE STATE - locked", which already makes me kind of nervous due to the unlocking issue above. I just don't want to try anything else on my own because I am afraid to do something foolish. So maybe you can help me with these two questions:
With everything being as it is, how could I start as clean as possible without loosing root / the ability to root again?
If I was willing to sacrifice root access, how could I proceed to bring everything back to stock?
Or maybe you have some other idea to fix the camera issue. Any help will be appreciated.
Many thanks!
Hello again everyone,
I decided to move on and go back to stock. Eventhough I was not able to maintain/regain root, there is an approach that might be applicable to our device as well. Also, I would like to share what I found out regarding my initial goals (i.e. camera issues and resetting a rooted device).
Camera issues: It seems to me that these appear on (some?) ZU680KL devices running Android 7 (Nougat). They can affect the flashlight or the camera in general, as you can read here. I decided to go back to the latest Android 6 (Marshmallow) realease as suggested in the same thread. The system no longer crashes when I use the flashlight or the camera is used by a third party app. However I sometimes still need to start the camera app in order to make it work in third party apps.
Going back to stock: A guide for the Zenfone 3 siblings can be found here. I went back to stock using TWRP and a MicroSD card (with boot.img, recovery.img and ROM zip file):
I first flashed the boot and recovery (i.e. TWRP) partition with the stock images for the ROM I was planning to flash.
Then I booted into stock recovery and flashed the ROM zip file. The key combination to get into stock recovery was a little weird ('volume -' followed by 'volume +' while keeping 'power' pressed). It had to be entered during the 'no command' notification that was shown after choosing recovery from the fastboot menu.
After successfully flashing the ROM, I wiped cache and data and rebooted. I ran into a "Dm-Verity in EIO mode" error (see attached). This error had already occured after my last try to restore a nandroid backup in TWRP but I could resolve it with the steps described in this youtube video and repeated (2.). When I think about it now I guess I should have started with (3.) right away because of the Dm-Verity issue.
Regaining root: I think this is something yet to be done but it does not seem completely hopeless.
I hope this can be of help if you face any of these issues.

Question Recently got a Pixel 6a and...

I just got a 6a. I have an older Pixel 3A XL that I am trying to trade in. The phone was rooted (but I just uninstalled Magisk) and I never took most updates so the phone is still on Android 10. I am wondering which stock firmware I should download to get this back to factory settings so I can lock the boot loader?
Do I need to download the newest Android 12 OTA update and then flash a stock rom or should I just download an Android 10 stock from and flash that?
Android 10 has less "surprises" in it... scoped storage will be fully enforced in 12.
dr0832 said:
I just got a 6a. I have an older Pixel 3A XL that I am trying to trade in. The phone was rooted (but I just uninstalled Magisk) and I never took most updates so the phone is still on Android 10. I am wondering which stock firmware I should download to get this back to factory settings so I can lock the boot loader?
Do I need to download the newest Android 12 OTA update and then flash a stock rom or should I just download an Android 10 stock from and flash that?
Click to expand...
Click to collapse
If you are trading it in, just back up anything you want from it, factory reset it and flash a factory image to it. Then run the OEM bootloader lock command. You can also go into Developer Options and turn off bootloader unlock and reset it again. Doesn't matter which factory image because you are not keeping the phone or selling it. When they get the phone, they will likely reflash the latest factory image to it anyway.
To reiterate, flash the factory image, not the OTA image. Factory images contain everything, including the modem/bootloader/etc. That way everything is likely to work together properly. Mismatched firmware/modem/bootloader from flashing an OTA can be a bad day.
So if I had my 4a rooted a couple years ago, but went back to stock, I should be able to just factory reset, right? No flashing needed? Does it matter if you send it back with bootloader unlocked?
tcat007 said:
So if I had my 4a rooted a couple years ago, but went back to stock, I should be able to just factory reset, right? No flashing needed? Does it matter if you send it back with bootloader unlocked?
Click to expand...
Click to collapse
I think you should re-lock the bootloader, just to be on the safe side; it's an easy thing to do. I had to do a warranty replacement for my Pixel 4 XL a few years ago and the google technician told me to relock the bootloader when returning the 'defective' device.
Google is not going to deny your trade in due to being rooted. This is not a warranty replacement! The only requirements are that the screen turns on and is not cracked.
Just go into settings and do a "factory reset" and turn the phone in. Doing anything more is simply a waste of time.
sic0048 said:
Google is not going to deny your trade in due to being rooted. This is not a warranty replacement! The only requirements are that the screen turns on and is not cracked.
Just go into settings and do a "factory reset" and turn the phone in. Doing anything more is simply a waste of time.
Click to expand...
Click to collapse
Yep, Im sure all our old devices are just promptly going in the trash or possibly to a donation project so theyre not going to care.
The best way to return your device to bone stock is with the Android Flash Tool. Ensure you check the "Force flash all partitions" and "Wipe device" boxes, as well as "Lock bootloader' if desired.

Categories

Resources