Reading between the lines.
Ok your fastboot mode is pretty limited , say thx to tmo. Anyways just switch to TWRP then and assuming you have all 3 partitions directly on your external sdcard these are the cmds to flash them:
adb shell
dd if=/external_sd/boot.img of=/dev/block/bootdevice/by-name/boot
sync
dd if=/external_sd/system.img of=/dev/block/bootdevice/by-name/system bs=512
sync
dd if=/external_sd/userdata.img of=/dev/block/bootdevice/by-name/userdata bs=1024
sync
After that reboot and it should be fine.
Sent from my OnePlus 6T using XDA Labs
Let me just say 1000 apologies for interrupting this thread. But I am in a tough spot.
TL/DR - Can I use TWRP to dd my old user data from a LGUP backup (from Nougat) into a fresh install of Lineage 17.1? Just temporarily to recover some improperly backed up userdata? I am willing to downgrade or almost anything to get there - just looking for simple, safe and no risk to my newly unlocked bootloader


.
Long version: Okay - again - 1000 apologies. I hate when others bust into a thread... but this stuff looks the closest to what I am imagining my solution to be.
I had -
LG V20 - AT&T version H910
Software version - H91010p
Android Security patch level: August 1, 2017
Kernel Version: 3.18.31
TWRP version 3.3.1-0
Before doing anything - I did a full LGUP dump - INCLUDING MY USER DATA
I also installed LG Switch and did a full backup.
Next - I followed
this DirtySanta post to Unlock the bootloader etc.
I am now running LOS17.1 - an Android Q ROM
Android Security patch level = April 5, 2020
So - I am looking for a way to get back some accidentally lost user data.
I tried LG switch and it just wants to backup my new install. Not sure how you get it to restore data...
I tried LGUP and no where does it say anything about restoring...
I am willing to try a dd trick in Linux (currently running Pop_OS and have Manjaro too) or Win 10 if need be.
I am willing to fubar my current LOS17 install. I will just reinstall after extracting my data.
I am willing to downgrade to Nougat or.... anything.
As long as I don't lose my root & unlocked boot loader, TWRP.
BTW - I tried just mounting the lgup file in linux and get some sort of bad superblock error.
I have the LGUP dump on the external at /LGUP...
So in TWRP do I just go to Advanced/Terminal and
dd if=/external_sd/LGUP/userdata.img of=/dev/block/bootdevice/by-name/userdata bs=1024
sync
Do I need to restore anything else? I don't care if I get ForcedClose of some programs as long as FX File explorer works long enough to fetch my data? Oh and - will this work? My userdata is 52.2 GB...
Risks? Thinking of just trying it.
Is there another way?
Thanks in advance for any tips, tricks, breadcrumbs or best of all ANSWERS!!
Best Regards!!
---------- Post added at 04:50 PM ---------- Previous post was at 04:44 PM ----------
I might have already found a gotcha... /data/media on the phone shows 39 GB free of 51 GB... So even if I delete everything - not sure how to get 52.2 GB into that partition? Hopefully someone smarter than me will explain how...
Thanks.