In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .
Agree

Mi A2/Lite

[Tips] A/B (Seamless) System Updates & Bricked device

2019-02-27 16:53:30
16506 74

Hello everyone,
i got and idea, because in last few months after Pie was released for our Xiaomi Android One devices (A1 / A2/Lite), after each month update cause bootloop for some users (i know someone can have fake ROM Android One in MIUI device) so my idea is this:

According to this article: http://en.miui.com/thread-823738-1-1.html and this part:


A/B (Seamless) System Updates
A/B system updates, also known as seamless updates, ensure a workable booting system remains on the disk during an over-the-air (OTA) update. This reduces the likelihood of an inactive device afterward, which means fewer device replacements and device reflashes at repair and warranty centers. This approach is already explored successfully by other commercial-grade operating systems, such as ChromeOS, and Android 8.0 comes with the necessary platform changes to conduct streaming updates.

More about partitions is here: https://www.xda-developers.com/h ... development-on-xda/

So, its possible to switch back to previous (working) version of Android System?

You may need this: https://forum.xda-developers.com/showthread.php?t=2317790

Steps are:
1. boot device to fastboot mode
2. check which partition is active ( in command line runned under administrator account and type this: fastboot getvar current-slot )
3. set active partition to other one ( fastboot --set-active=a if active slot was b and vice versa )
4. reboot device ( fastboot reboot )

Can someone with bootloop device confirm if this working?

Disclaimer: Im not responsible for any bricked device, and if you already have one you probably have nothing to loose. ;-)


2019-02-27 16:53:30
Favorites4 RateRate

Master Bunny

Abycho_LG | from app

#1

Hi,

Unfortunately slot change isn't possible with bootloader locked.
2019-02-28 00:29:37
<<<-->>> Mi A2 <<<-->>>

#2

Slot change is not allowed in Lock State
2019-03-01 01:50:29

Master Bunny

mikomut Author |

#3


which is bad :-) everywhere i read about seamless updates avoiding bricked devices and every month someone got one for free
2019-03-01 04:10:21
Rebooted and asked for a password.
2020-03-09 23:10:47
Here comes slot A or B  does not exist
2020-03-09 23:26:21

Master Bunny

Abycho_LG | from app

#6

befaro2063
Here comes slot A or B  does not exist

Hi,
Enter fastboot mode and type in:
fastboot getvar product
2020-03-09 23:29:10
<<<-->>> Mi A2 <<<-->>>

Master Bunny

Abycho_LG | from app

#7

1660184192
Rebooted and asked for a password.

Hi,
What did you do until the password request appears, more details are required?
2020-03-09 23:33:03
<<<-->>> Mi A2 <<<-->>>
Abycho_LG replied at 2020-03-09 16:29:10
Hi,
Enter fastboot mode and type in:
fastboot getvar product

it comes daisy
2020-03-09 23:33:16

Master Bunny

Abycho_LG | from app

#9

befaro2063
it comes daisy

Type in the command:
fastboot continue
2020-03-09 23:41:57
<<<-->>> Mi A2 <<<-->>>
confirmed, this method worked for me after android 10 update failure. My phone 4/64 with all settings stock. No unlocked bootloader eg.
2020-03-10 01:13:04
please sign in to reply.
Sign In Sign Up

mikomut

Master Bunny

  • Followers

    9

  • Threads

    5

  • Replies

    278

  • Points

    4384

3 Days Check-In
7 Days Check-In
21 Days Check-In
40 Days Check-In
70 Days Check-In
100 Days Check-In
1 Year Check-In

Read moreGet new

Mi Comm APP

Stay updated on Mi Products and MIUI

Copyright©2010-2020 Xiaomi.com, All Rights Reserved
Quick Reply To Top Return to the list