UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    [Tip] reverting phone to a previous version

    Scheduled Pinned Locked Moved Off topic
    1 Posts 1 Posters 10 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      gpatel-fr
      last edited by gpatel-fr

      Hello

      This is not about using 20.04 when one runs 24.04, the installer allows for that.

      The idea is having updated the phone to the shiny last and best version, say 24.04-1.3, one learns that an essential feature is now not working any more.

      How to get back to 24.04-1.1 ? I don't see that in the installer, it installs the latest and greatest.

      Now this week-end I learned of a command line tool to manage updating: system-image-cli.

      We learned that it's possible to update to 26.04 using:

      sudo system-image-cli --switch 26.04-1.x/arm64/android9plus/daily
      

      now having switched to 26.04, if one wants to be back to the tested and true 24.04, it's easy:

      sudo system-image-cli  --switch 24.04-1.x/arm64/android9plus/stable
      

      However, this is bringing back the latest 24.04 version, 1.3, not the first version that could be upgraded to the desired value.

      When on 24.04-1.3 it's possible to revert to say 24.04-1.1 but the syntax is cheesy;

      sudo system-image-cli --build 1 -m 2
      

      it's difficult to get it right, the way to go is to add the -n (--dry-run) switch, that will display what will do the installer without the delay in downloading / rebooting / updating.

      Hope this helps 🙂

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post