I’m ready to debloat (with universal-android-debloater), but before I do that Id like to backup the OS in the device to my computer.

If I want to backup with the stock ROM, Im redirected to a commercial service Im not going to use.

If I want to backup with twrp, it won’t let me backup via usb cable to the computer.

There must be a way to backup from the computer to the computer via usb, correct?

ETA: Can I backup with universal-android-debloater?

  • mvirts@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    11 months ago

    this is just from memory so it may be wrong, but can’t twrp back up to an sdcard? From there you can probably unpack the files on your ubuntu machine to make sure they made it.

  • Cyborganism
    link
    fedilink
    English
    arrow-up
    6
    ·
    11 months ago

    What do you want to back up exactly?

    You can backup all your saved stored data if you want like pictures, music, downloaded items, etc. You can use ADB for that.

    But the installed apps? Why bother?

    Just download the latest official ROM for your device from the manufacturer. If anything goes bad, you can reinstall the ROM.

  • PlasterAnalyst@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    Is your device rooted already? If it is, then you can copy the entire disk to a Linux PC using dd. If it’s not rooted then your only option is to copy your personal files and nothing else.

  • magicalzfmk@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    Note, i am kinda a noob but,

    Universal Android debloater is a pretty safe tool to use if in recommended option. So I don’t think there is a need for a backup. However since UAD uses adb to disable things if your os breaks, you can restore the last disabled packages via fastboot.

    For backups, can’t twrp backups be copied via USB? If your phone is famous enough you can find stock images on its site or on XDA developer website.

    Lastly try this: QFIL tool (video for my phone but steps should be the same for backing up: https://www.youtube.com/watch?v=G9LoaPrbGx0&list=WL&index=62)

    However, do note that QFIL tool is a very powerful tool and it’s very easy to softbrick the device if you don’t know what you are doing. Find a video for your device to be double sure.

  • BearOfaTime@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    11 months ago

    Any kind of backup of apps and their data requires root.

    If you don’t have root, rooting will wipe all data.

    TWRP used to be able to create an image of your system, but the practicality of that is long gone (not sure if it can still do it).

    The most pragmatic approach is to root, install Swift Backup or Neo Backup. Have it backup your apps/Config to a local folder. Then have that folder synced to a home machine using a network sync tool like FolderSync, Syncthing, etc.

    If you want an image to restore so you can revert, it can be done. I’m just not sure of the use-case anymore with the size of partitions.

    Long ago I used an automatic imaging process weekly, back when partitions where much smaller. I never once used one of those image backups.