1

Does Android have restore points that can be accessed via fastboot?

In Windows7 (support ended February 2020) restore points are created so the OS can revert back to last known state should anything go wrong. This revision includes settings, software, browser history, etc. This handy feature has helped me several times. Does Android have such a utility/feature where by any means (fastboot or adb) it can be rolled back to last known state? Kindly read more to understand the full situation.

My phone is stuck in fastboot. I have been doing research on how to get it out of this. The phone runs Android Go. Usually the OS updates and completes without any issues, but this time during an update the battery died and upon power up it got stuck in Fastboot mode. I understand both Fastboot and ADB have commands of their own that can be used to interact with Android OS via USB connection. I have a question that my research has NOT answered. Before I run any commands in this mode (fastboot) I want to know, is there a way to restore the device to its last stable state (ie before the failed OS update)?

8
  • 1
    Does this answer your question? A/B (Seamless) update device questions
    – alecxs
    Commented Jul 31, 2020 at 14:31
  • @alecxs Thanks for the input. In many ways this information helps. Now another question is how do I get out of Fastboot into the partition that had the older (working) version? According to the link if the update is 'borked' it should rollback to working build. But now it is stuck in Fastboot. How do I tell it to come out of Fastboot into the working build. Thanks in advance. PS: Is there any pdf tutorial you can recommend to learn fastboot, adb commands?
    – thinkhjj
    Commented Jul 31, 2020 at 21:28
  • fastboot or adb just some google results (haven't read)
    – alecxs
    Commented Aug 1, 2020 at 0:42
  • 1
    thanks for the help @alecxs. Since I don't know what slot was active/inactive, I will go over the commands to know which one can retrieve the slot with a clean installation of the OS, then Fastboot into it (the other slot should be the one that failed). Sounds like a plan. I will endeavour to post results so others can learn as well
    – thinkhjj
    Commented Aug 1, 2020 at 8:42
  • flash official ROM
    – alecxs
    Commented Aug 2, 2020 at 18:23

1 Answer 1

1

you can try

fastboot --set-active=a

or

fastboot --set-active=b

ane one of them should work if your other slot is not corrupted

4
  • please add fastboot continue (or fastboot reboot) to your answer as well
    – alecxs
    Commented Aug 2, 2020 at 13:10
  • I will NOT be able to use this since I recently found out my device does NOT support Seamless System Update.
    – thinkhjj
    Commented Aug 2, 2020 at 18:47
  • @thinkhjj what is your phone model Commented Aug 3, 2020 at 15:53
  • @theggputest55 I have asked another question that has phone details and commands I have tried: android.stackexchange.com/questions/228396/…
    – thinkhjj
    Commented Aug 7, 2020 at 10:38

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