1. wasim_nazir's Avatar
    I am trying to boot from IMX6 bootloader, but couldn't able to automate the slot selection based on OTA update. I could able to boot using command "boota mmc0 boot_a" or "boota mmc0 boot_b" from uboot.

    How to manually do OTA AB-update. After OTA if active partition was _a then it should change to _b. How to do this?

    Is is AVB is required for this auto selection of slots?
    Is it possible to implement android AB update without AVB?
    12-24-2018 10:34 AM
  2. Rukbat's Avatar
    fastboot set_active A or fastboot set_active B
    12-25-2018 05:15 PM
  3. wasim_nazir's Avatar
    fastboot set_active A or fastboot set_active B
    But I want without fastboot command. My usecase is the bootloader need to check the currect active slot and set the proper suffix. How can I do that?
    01-01-2019 06:30 AM
  4. Rukbat's Avatar
    To get the current active slot

    adb shell getprop ro.boot.slot_suffix
    or
    fastboot getvar current-slot
    01-01-2019 12:57 PM
  5. Rukbat's Avatar
    Wait - manually OTA? You mean download the file, then update? It's going to be different for each phone, but it's basically use adb to sideload the file. The manufacturer's instructions should cover that. (It probably updates the inactive side during part 1, then switches to it and updates the side that used to be active. (Both sides get updated.) If you don't switch sides, the next time it updates automatically (or you sideload the update file) it will. (Switching sides is just to even out the wear on the eMMC - both of them should be running the same version.)
    01-01-2019 01:07 PM

Similar Threads

  1. why cant i update ma apps on play store?
    By Android Central Question in forum Ask a Question
    Replies: 3
    Last Post: 04-07-2019, 09:12 AM
  2. OK Google no longer works while listening to music on my
    By Android Central Question in forum Ask a Question
    Replies: 6
    Last Post: 12-27-2018, 06:23 AM
  3. How to delete phone storage in OPPO a57
    By Android Central Question in forum Ask a Question
    Replies: 2
    Last Post: 12-25-2018, 08:33 AM
  4. Pixel XL phone and android version 9, offline maps do not work
    By Android Central Question in forum Google Pixel & Pixel XL
    Replies: 1
    Last Post: 12-24-2018, 12:31 PM
  5. OK Google no longer works while listening to music on my
    By Android Central Question in forum Ask a Question
    Replies: 0
    Last Post: 12-24-2018, 09:41 AM
LINK TO POST COPIED TO CLIPBOARD