Help, I need to revert to stock!

Aug 9, 2016
14
1
3
Hi, I recently changed to a Custom ROM (Resurrection Remix) and stupid me forgot to backup before unlocking the bootloader, meaning I don't have a stock image. Here's the whole thing:

Resurrection Remix is based on LOS, so I have Lineage recovery atm.

I don't have TWRP flashed, but even when I used fastboot boot twrp.img it booted into TWRP and kept flashing the TWRP logo you see when you boot into it. If you have a TWRP backup I can try and use, that would be great. When I try flashing the official factory image, it just flashes a few things, says it can't find the file 'userdata' and says it failed, here's what happens:

HTML:
 C:\Program Files (x86)\Minimal ADB and Fastboot>flash-all.bat

target reported max download size of 536870912 bytes

sending 'bootloader_a' (32424 KB)...

OKAY [ 2.031s]

writing 'bootloader_a'...

(bootloader) Valid bootloader version.

(bootloader) Flashing active slot "_a"

(bootloader) Flashing active slot "_a"

OKAY [ 1.949s]

finished. total time: 3.985s

rebooting into bootloader...

OKAY [ 0.050s]

finished. total time: 0.054s

target reported max download size of 536870912 bytes

sending 'radio_a' (57140 KB)...

OKAY [ 3.132s]

writing 'radio_a'...

OKAY [ 0.461s]

finished. total time: 3.601s

rebooting into bootloader...

OKAY [ 0.050s]

finished. total time: 0.055s

extracting android-info.txt (0 MB) to RAM...

extracting boot.img (30 MB) to disk... took 0.998s

target reported max download size of 536870912 bytes

archive does not contain 'boot.sig'

archive does not contain 'boot_other.img'

archive does not contain 'dtbo.img'

archive does not contain 'dt.img'

archive does not contain 'recovery.img'

extracting system.img (1938 MB) to disk... took 127.844s

archive does not contain 'system.sig'

extracting system_other.img (311 MB) to disk... took 104.834s

archive does not contain 'system.sig'

archive does not contain 'vbmeta.img'

extracting vendor.img (260 MB) to disk... took 13.234s

archive does not contain 'vendor.sig'

archive does not contain 'vendor_other.img'

wiping userdata...

CreateProcess failed: The system cannot find the file specified. (2)

error: Cannot generate image for userdata

Press any key to exit...


My Pixel XL is in bootloader mode and I do have an OS installed, so I still can access the phone.

Please help, thanks!
 
Last edited:

5.1

Senior Member
Mar 18, 2012
1,316
546
143
haguenau
Lol. Why do you try to flash stock image using minimal ADB/Fastboot? Did you try following the Google way?

Basically: unzip the factory image and double click flash-all.bat script ?

Here is a proper how-to:

https://developers.google.com/android/images

Good luck...
 

sb1893

Senior Member
Apr 2, 2014
200
74
0
Agree with @5.1's thoughts. Update to latest/greatest platform tools from Google Developers site...then ensure you have downloaded the proper Factory Image. Then flash per the instructions on the Google site.

---------- Post added at 09:09 AM ---------- Previous post was at 09:07 AM ----------

Agree with @5.1's thoughts. Update to latest/greatest platform tools from Google Developers site...then ensure you have downloaded the proper Factory Image. Then flash per the instructions on the Google site.