Question How to Un-Root and install factory image on Pixel 7 - Google Pixel 7

I have my P7 rooted, but I need to send it back to the seller.
Anybody could help me with the how-to procedure to un-root it and install the original factory image?

hi Mat-sie
just flash factory image from google with wipe your phone
and if you want to unlock your bootloader flash adb command

mat-sie said:
I have my P7 rooted, but I need to send it back to the seller.
Anybody could help me with the how-to procedure to un-root it and install the original factory image?
Click to expand...
Click to collapse
Android flash tool , pick the correct factory image hit edit and check relock bootloader hth

Here the full and detailed tutorial to return the Pixel 7 back to stock Android.

Related

[Q] Rooted with stock sense and recovery ota

Hello,
I'd like to ask few question about using the factory reset option with a stock 4.3 sense rom (unlocked bootloader, rooted and twrp recovery)
So, i rooted my device to try out viper4android but turns out its completely useless to me as i later learned that stock does not allow read/write to system partition and now i'm wondering how to go back safely.
As i said above, i'm still using the stock 4.3 rom with an unlocked bootloader no other changes made, so my question is to go back stock (using factory reset) do i need to:
1. Flash stock recovery and do a factory reset.
2. Flash stock recovery, relock bootloader and do a factory reset.
3. Guru reset M7
4. Other?
Thanks ~
EDIT:
Quick update, so just flashed stock recovery and used factory reset, now ofc the root did remain, so now my question is, can i
take ota safely with stock rom/recovery but rooted?
Thanks ~
Anyone please, are any of my choices the good one (if so wich one)?
Goolum said:
Anyone please, are any of my choices the good one (if so wich one)?
Click to expand...
Click to collapse
This is the way to go back to a stock ROM:
http://forum.xda-developers.com/showthread.php?t=2541082
If you’re on hboot which is above 1.44, then first thing is to downgrade that:
so download this: http://www.htc1guru.com/dld/1-29-401-12_hboot_1-44-zip/
in bootloader/FASTBOOT USB, flash it:
fastboot oem rebootRUU
fastboot flash zip 1.29.401.12_hboot_1.44.zip
fastboot flash zip 1.29.401.12_hboot_1.44.zip <---- just in case the above said “failed flush again”
fastboot reboot-bootloader
--> and confirm hboot is now 1.44
Thank you for your help, the problem is i'm on hboot 1.55 and rumrunner ain't working because of the
secure stock kernel, so i cannot go with the ruu way, wich is why i was wondering if i could simply use
the factory reset option since other than being rooted it is fully stock, or else the htc1 guru reset option.
Goolum said:
Anyone please, are any of my choices the good one (if so wich one)?
Click to expand...
Click to collapse
Post ur getvar all if ur confused as to which RUU to flash
As i said above flashing a ruu ain't an option since i'm s-on, what i meant by factory reset is the built in option (either through fastboot
or settings) with stock sense since i did not change anything, just unlocked the bootloader and rooted, and if that's not possible then if
guru reset utility for peoples with s-on is a good idea.
So i ended flashing stock recovery and used factory reset, everything did go alright tho ofc the root did remain, so now my question is, can i
take kitkat ota safely with stock rom/recovery but rooted? Or the fact that it's rooted risk messing up stuff? Oh and i dont mind loosing root.
Thanks ~
Goolum said:
So i ended flashing stock recovery and used factory reset, everything did go alright tho ofc the root did remain, so now my question is, can i
take kitkat ota safely with stock rom/recovery but rooted? Or the fact that it's rooted risk messing up stuff? Oh and i dont mind loosing root.
Thanks ~
Click to expand...
Click to collapse
Your fine...you will lose root tho...

Restore HTC626s (Metropcs) to factory image

Has anyone successfully able to restore HTC626s ( Metropcs) version back to factory stock? My phone has unlocked bootloader and rooted with TWRP recovery installed. Please let me know how you did it.
s0619212 said:
Has anyone successfully able to restore HTC626s ( Metropcs) version back to factory stock? My phone has unlocked bootloader and rooted with TWRP recovery installed. Please let me know how you did it.
Click to expand...
Click to collapse
Relock your bootloader and flash stock recovery
kdayyy said:
Relock your bootloader and flash stock recovery
Click to expand...
Click to collapse
I am really lost here. I have TWRP, i just want my HTC to get back to original stock image or atleast the metropcs unlock app.
s0619212 said:
I am really lost here. I have TWRP, i just want my HTC to get back to original stock image or atleast the metropcs unlock app.
Click to expand...
Click to collapse
Flash metropcs ruu in download mode via adb and u should be good

Reset to stock

Hi guys. I have few questions for you and would be happy and very grateful if you could answer and help me. First of all i have huawei P10 lite which i have bootloader unlocked it, installed twrp and also rooted. I also made backup of the stock rom with twrp. Now i want to restore my phone as new, i mean i want to get back to the stock rom which i made it with recovering but now how can i delete twrp and then lock bootloader? I saw that i have to use img file to delete twrp recovery - The model number is WAS-LX1 and the build number is WAS-LX1C432B124. I wasn't able to find this firmware and i am stuck now. Can i use other firmware for the model number WAS-LX1 or i will brick my phone? How to resolve this issue? I want to get back to stock.. Please help me..
Also is there any way to turn off the warning that says that the bootloader is unlocked and the device can not be trusted or just hide it? I tried to flash logo.bin file but it didn't work for me.
Thanks a lot guys.
Install recovery image from another firmware for WAS-LX1C432.
You can relock bootloader via fastboot using your code and the proper comand. This would get rid-off warning screen. All the info of firmware and oem info must coincide. Otherwise system won't boot unless you unlock the bootloader again.

OTA update over Magisk? What's gonna happen?

If I have a P9 on Nougat B391, I receive an OTA, am currently rooted on Magisk v14. If I install the OTA anyway? What will happen? I know I will lose root, but will my bootloader be relocked? Am I going to lose any data?
Would like to know what will happen next as I am thinking of installing it. thanks!
there are 2 posible outcomes, maybe 3.
1. update will be successfull and you will lose root, twrp, bootloader can be locked too, but on fastboot it will shown as unlocked, if you cant instal twrp, then you need to unlock bootloader even if there is tuped unlocked.
2. update will fail and you will be back on same build you was.
3. never hapened to me, but are possible, that phone got bricked!
Arnys said:
there are 2 posible outcomes, maybe 3.
1. update will be successfull and you will lose root, twrp, bootloader can be locked too, but on fastboot it will shown as unlocked, if you cant instal twrp, then you need to unlock bootloader even if there is tuped unlocked.
2. update will fail and you will be back on same build you was.
3. never hapened to me, but are possible, that phone got bricked!
Click to expand...
Click to collapse
IMO, (2) is most possible utcome. (3) may happen if you force DLOAD and other manual methods.
Better:
1) unroot by Magisk Uninstaller, find the download link in the post https://forum.xda-developers.com/showpost.php?p=74913863&postcount=1
2) flash from TWRP original stock boot img
3) wipe Dalwik and Cache from TWRP
3) flash from fastboot original stock recovery
4) let it make OTA update but select in the System Update settings to use Full (not differential) update - it will not delete your apps and settings
Of course, you will loose root and TWRP but bootloader will remain unlocked and you will not risk bricking the phone.
Arnys said:
there are 2 posible outcomes, maybe 3.
1. update will be successfull and you will lose root, twrp, bootloader can be locked too, but on fastboot it will shown as unlocked, if you cant instal twrp, then you need to unlock bootloader even if there is tuped unlocked.
2. update will fail and you will be back on same build you was.
3. never hapened to me, but are possible, that phone got bricked!
Click to expand...
Click to collapse
thanks, this roughly gives me an idea on what would happen and the risks it contains! thanks a lot!
zgfg said:
IMO, (2) is most possible utcome. (3) may happen if you force DLOAD and other manual methods.
Better:
1) unroot by Magisk Uninstaller, find the download link in the post https://forum.xda-developers.com/showpost.php?p=74913863&postcount=1
2) flash from TWRP original stock boot img
3) wipe Dalwik and Cache from TWRP
3) flash from fastboot original stock recovery
4) let it make OTA update but select in the System Update settings to use Full (not differential) update - it will not delete your apps and settings
Of course, you will loose root and TWRP but bootloader will remain unlocked and you will not risk bricking the phone.
Click to expand...
Click to collapse
thanks a lot! it's useful to know how to unroot my phone as there isn't any particular guide for this phone model haha. anyway, is there a way to unroot and lock my bootloader without wiping my phone?
roottree said:
thanks a lot! it's useful to know how to unroot my phone as there isn't any particular guide for this phone model haha. anyway, is there a way to unroot and lock my bootloader without wiping my phone?
Click to expand...
Click to collapse
Magisk Uninstaller does not wipe your phone.
However, unlocking or relocking Bootloader (from Fastboot) triggers Factory restore

Please help! [Custom Recovery/Stuck on Realme Screen]

Hi,
I decided to try to install the custom lineage ROM that was here.
I downloaded the ROM, followed the steps to install orange fox custom recovery. I flashed the ROM, rebooted and got stuck on the realme logo. Luckily I was able to bypass this boot loop and get back into recovery. Now that I am there, I just want to revert my phone to stock to avoid any more issues. My Bootloader is unlocked.
Question: How do I revert my phone to completely stock Realme X2 Pro / realme ui 1.0. I have an .ozip file containing the stock ROM. I do not want to permanently brick my device, please help. How do I revert all the partitions/ROM back to normal. Thank you.
EDIT: I tried flashing the ozip file, but when I rebooted it was still stuck on the logo screen. What should I do?
The issue has been solved, thank you.
Try to help me
realmenewb said:
The issue has been solved, thank you.
Click to expand...
Click to collapse
What did you do, brother? I want to return from ligaeos to the official rum?
realmenewb said:
The issue has been solved, thank you.
Click to expand...
Click to collapse
Please try to post how did you solve it before just signing off. Thats the purpose of posting in forums - that information is archived and available to anyone in need in the future. :highfive:
Relevant comic https://xkcd.com/979/
I had the same problem just yesterday and i have successfully locked the bootloader and am back to stock rom.
Now this is not my method i read it here on xda but cant find that thread now.
First of all go to fastboot and in cmd type fastboot -w (this should wipe internal storage)
Then boot into recovery
Go to advanced wipe(cache, dalvik, system,data)
Go back into wipe menu and do format data and press yes.
Then reboot to recovery through reboot menu in recovery
It will ask for conformation as no rom is installed but continue to reboot.
Then flash the ozip(if you have a recovery compatibe to flash ozip otherwise use alpropriate zip file for flashing rom. In my case i had unofficial twrp).
After flash completes dont do anything and just reboot to system this should replace custom recovery with stock one.
Then reboot to recovery to check if it is replaced with a stock one.(Never try to lock bootloader with custom recovery installed it will hard brick your device.)
Then if stock recovery is installed reboot to bootloader and in cmd type
Fastboot flashing lock
Then accept the msg on phone to lock bootloader it will wipe your data and then you will have a phone with locked bootloader.
I again want to inform you that this is not my post but i had read it somewhere on xda i will try to find it and then put a link to it here.

Categories

Resources