# Flipping A/B partitions

**URL:** <https://hub.mender.io/t/flipping-a-b-partitions/5838>\
**Category:** General Discussions\
**Created:** [May 9, 2023, 3:02pm UTC](https://hub.mender.io/t/flipping-a-b-partitions/5838 "2023-05-09T15:02:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raj.panchal](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@raj.panchal](https://hub.mender.io/u/raj.panchal)\
**Post date:** [May 9, 2023, 3:02pm UTC](https://hub.mender.io/t/flipping-a-b-partitions/5838/1 "2023-05-09T15:02:45Z")

</div>

Oleorhagen:  
On the same topic with bit different use case: experimenting on a deployed device.  
While I am going through flipping back and forth between the two versions in A and B using the client, I’d like to avoid going through the full cycle using [Mender](https://hosted.mender.io/ui/). The device already has the alternate (latest and the previous minus N e.g.).

Does the client check before uploading the artifact image just in case that the device may already have that same version/checksum etc. already in the inactive partition? Then it may not need to download again.

Thanks,  
raj

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [May 11, 2023, 8:14am UTC](https://hub.mender.io/t/flipping-a-b-partitions/5838/2 "2023-05-11T08:14:42Z")

</div>

Hi @raj.panchal,

In the standard process, there is no way to skip the download. What you can do is to create a custom update module that just flips the partitions without modifying them. The artifact for such a module would obviously be very small then.

[Here](https://docs.mender.io/artifact-creation/create-a-custom-update-module) you can read more on custom Update Modules.

Greetz,  
Josef
