[Nexus 7 Android Development] rayosx:
Few questions before I proceed to update to Lollipop 5.1

Hello all,

I'm running Stock Lollipop 5.01 and stock recovery and I'm rooted, I did the root process while ago with this great Nexus Toolkit Wugsfresh application, yesterday I received an OTA for system update available to Lollipop 5.1, I have read the FAQ that it says clearly not to update pressing the OTA system update because it's going to screw up my phone (brick) because OTA checks for any minor modification on partition, etc. instructions are below, but still there is something that I don't understand here and I want to do it properly.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------

Can I still take an OTA after I unlock and root?

Answer: On Lollipop, No. On KitKat, yes (sometimes) – if you haven’t made any other system level modifications.

With Lollipop, the OTA update process checks the entire system blob. That means if just one small thing is different about the system partition the OTA will fail. Since rooting itself (regardless of the method: manual/toolkit) installs Superuser as a system app and su binaries to the system partition it inherently breaks OTA’s.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I get this error

Flash Stock + Unroot...

------------------------------------------------------------------

target reported max download size of 536870912 bytes

sending 'bootloader' (3807 KB)...

OKAY [ 0.126s]

writing 'bootloader'...

(bootloader) flashing partition ...

(bootloader) This may take a few seconds if a

(bootloader) different partition table is being

(bootloader) flashed since we need to backup

(bootloader) and restore a few partitions

(bootloader) Flashing primary GPT image...

(bootloader) Flashing backup GPT image...

(bootloader) flashing aboot ...

(bootloader) flashing sbl1 ...

(bootloader) flashing rpm ...

(bootloader) flashing tz ...

(bootloader) flashing sdi ...

(bootloader) flashing logo ...

OKAY [ 0.440s]

finished. total time: 0.571s

rebooting into bootloader...

OKAY [ 0.005s]

finished. total time: 0.006s

target reported max download size of 536870912 bytes

sending 'radio' (85427 KB)...

OKAY [ 2.688s]

writing 'radio'...

(bootloader) flashing modem ...

(bootloader) flashing mdm1m9kefs1 ...

(bootloader) flashing mdm1m9kefs2 ...

(bootloader) flashing mdm1m9kefs3 ...

(bootloader) flashing versions ...

OKAY [ 1.217s]

finished. total time: 3.910s

rebooting into bootloader...

OKAY [ 0.004s]

finished. total time: 0.005s

target reported max download size of 536870912 bytes

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

failed to allocate 1778054096 bytes

error: update package missing system.img

Booting up your freshly flashed stock device...

------------------------------------------------------------------

Wait for your device to finish booting up...

- It may appear to be boot looping; just wait...

- It could take 5-10 minutes; please be patient...

When its finally booted back up, please remember

to re-enable USB debugging if you plan on using

the toolkit to perform other operations.

NOTE: If this process was too quick and your device

is still in bootloader mode, then flashing stock may

have failed or been incomplete. Simply check the

log above: if you notice it skipped steps because it

didn't meet certain requirements, like the bootloader

or baseband version, then consider enabling 'Force Flash'

mode in the toolkits options menu and trying the

'Flash Stock + Unroot' processs again. Cheers.

Press any key to exit...

So how should you update a rooted Lollipop device?

1. Wait for the official factory package from google to be released for the build you would like to update to.

2. Backup your apps + data, as a safe measure – in case you end up having to wipe data.

3. Use “Flash Stock + Unroot” and check “No-wipe mode” (to avoid a data wipe).

That’s it. Afterwards you can re-root.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

What version of Lollipop 5.1 should I use? there are two versions in Wugfresh application. I'm going to Stock + unroot wiping everything to be in the safe side, I already backup everything.

please advise. I believe that Nexus Factory Image downloader is downloading the Lollipop 5.1 the one that ends with a E