2

I am rooted on my Nexus 6P and I used Flashfire to install the March security update. I didn't install any of the previous updates and haven't installed any after the March one.

This has made me think of a few questions:

Does the March update contain all fixes from prior updates as well?

Do I have to install each incremental security update or can I just install the May one without installing April's?

Should I go back and install the previous patches and if yes, will this negatively affect anything?

I have noticed a lot of random reboots and the device running hotter than before, although I am not sure if this is because of the manual updates or a bad app.

Any insight is appreciated.

2 Answers 2

2

You do need to install security updates incrementally, as each release has its own /system image that has had all the previous patches already applied to it. When installing an update, most of the time, /system is completely wiped and then replaced with the new image in your update file.

About the negative performance, a common issue is that the update is dirty flashed, meaning that the /data partition was not wiped with the new system image install. Try first wiping your Dalvik/cache partitions from your recovery. If that doesn't help, you can try wiping /data to see if that will solve your performance issues.

Wiping /data will remove all user data from the device, so be sure to back up any important data before performing a factory reset.

1
  • I don't intend to move a critique, but I recommend you to add a little bit of info to your already explicative answer, if you think that it's worth mentioning: the fact that wiping the Data partition (for example, when factory resetting a device), does not wipe the internal storage.
    – Grimoire
    Commented May 12, 2016 at 9:06
1

Does the March update contain all fixes from prior updates as well?

Yes and No. No, the incremental update contains fixes not covered in last incremental update, which more or less comes down to patching newfound vulnerabilities most of the time. Yes, the latest or appropriate fastboot image would cover all the earlier fixes.

Do I have to install each incremental security update[?]

Yes and No. It comes down to how you want to update. If the boot and system partition has not tampered with and if you want to save bandwidth but intend to have the latest update, then go with incremental OTA updates. If your system or boot partition has been tampered or otherwise, then use the appropriate fastboot image available for your Nexus device here.

[Can] I just install the May one without installing April's?

Yes and No. Yes, you can switch to any newer update using the fastboot image I noted above. Flashing through fastboot requires an unlocked bootloader and unlocking a bootloader causes full wipe of user data.

No, you cannot switch to any random newer update using incremental OTA update. Reason: The incremental update requires one of the two build numbers to match, source and target. Source is the build number the currently installed Android system should be using and target is the build number of the installed Android system and same as the target build the update carries. Technically, it doesn't matter whether the build number of installed Android system matches with expected source since the update uses the build number of stock recovery as the build number of installed Android.

Note: stock recovery is automatically updated, if required, at every boot using install-recovery.sh located under /system/bin or /system/etc.

Consider this example: assume that you're on March security level with current build number MHC19I. You intend to side-load (since Android would not suggest you or provide an option anyway through System update) the May security level update with build MTC19T. During side-loading the update would check for source and target. It expects the source as the build number of the last update shipped from vendor which would be April security update with build number MHC19Q. Since that doesn't match, it would expect the build number of the target it is carrying which is MTC19T. Since neither of the build number matches, the installation would abort.

In case of confusion with target, understand that by expecting target I meant that the build number of the installed Android OS which would be same as the build number of the target the update is carrying.

I have noticed a lot of random reboots and the device running hotter than before, although I am not sure if this is because of the manual updates or a bad app.

It could be anything. However, given that installation of an OTA update is a dirty flash, remnants of previous version of files may be a cause. For many folks, clearing cache and/or data partition or doing factory reset fixes the issue, as LyricWulf noted.

Note: if you're using stock recovery, clearing data partition or doing factory reset would completely wipe any user data.

Reference: my own experiments with Nexus 6; the document OTA Package Tools.

1
  • I'm not aware of the functioning of FlashFire and it seems possible to strip down all the checks from the incremental update and directly go with the patching. That may as well be a shortcut to move to any newer build.
    – Firelord
    Commented May 12, 2016 at 15:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .