Please suggest somewhere else I should post this. I took an OTA update last night for Lineage4microG and my OnePlus8T just bootlooped. I tried downloading and manually side loading both the most recent and previous versions, but they keep failing with a kInstallDeviceOpenError. I am desperate to get back into my device without wiping the data.

  • @ReversalHatchery@beehaw.org
    link
    fedilink
    English
    33 months ago

    It’s maybe the best if the next thing you do is backup your data. If you have access to a Linux shell on the phone, through adb, the recovery or something, you can make a copy of the data partition.

    If you have adb access (not too rare for the installed recovery system to support it), turn ADB on, connect the phone to your PC, and download the data partition with the adb pull pathgoeshere command. Partitions should be under /dev, but details are device specific.

    If you don’t have ADB but have a shell and you can run the dd command, you can use that to copy the partition to an SD card. Maybe to a USB storage if it supports that, but that’s questionable.

    In old days there was a single data partition, but also there was a different place where the “internal storage” resided. Maybe there are now even more partitions, but I’m not that familiar with current android.

    • @ReversalHatchery@beehaw.org
      link
      fedilink
      English
      33 months ago

      If you don’t have ADB through the recovery, you may install one that supports it, or instead of installing you should be able to just boot it with the fastboot command. Be sure to use a recovery that is at least somewhat popular.

    • @electric_nan@lemmy.mlOP
      link
      fedilink
      13 months ago

      I can’t quite figure this out. I can enable ADB from Lineage recovery, but I don’t know where my data is. I can ‘adb shell’, cd /dev, and I see a ton of shit but nothing seems like storage. I do ‘df -aH’ in /dev and it is like 5.7 Gigs free of 6. There’s no way that’s all my pictures and stuff.

      • @AnEilifintChorcra@sopuli.xyz
        link
        fedilink
        23 months ago

        If your phone has a password on it then its data is going to be encrypted until you unlock the phone.

        You can temporarily boot a twrp recovery image. It will let you put in your password and decrypt your storage.

        You should be able to transfer the files to your PC with a cable then

          • @TechieDamien@lemmy.ml
            link
            fedilink
            23 months ago

            Can you get it to boot into twrp via fastboot? If not then you could try flashing stock firmware to see if that resolves the issue. Another thing is you may run into issues installing lineage via twrp. The recommended way is by using their recovery image.

            • @electric_nan@lemmy.mlOP
              link
              fedilink
              13 months ago

              I could not get twrp to boot from fastboot. I’ll look into flashing the stock firmware. Is there a chance that would break anything? I’m somewhat hopeful that an updated LOs4microG is released soon since the one I installed has now been marked as broken.