SG7 stuck on reboot

no, i think about using DD command, something like :

adb shell dd if=/dev/block/platform/xxxxxxx/by-name/userdata of=/external_sd/userdata.img

that will create an image of the userdata partition on your SDcard…

The dd command in Linux is used for low-level data copying and conversion, allowing you to create disk images, clone disks, and back up partitions.

PC ? what for ? flashing twrp ?

Edit :
i was afraid to have been unclear, why i corrected my post changing “use THE file manager” by “use ITS file manager” (the TWRP one)

.

for your information @buzzears :
here on a s4mini (qualcomm) not exynos as your s7, why the “xxxxxxxx” will differ
in /dev/block/platform/xxxxxxx/by-name/userdata


yes, the device is on e/ recovery

1 Like

I understood. I’m about to kill baobab because it drain all my laptop ressources (2 CPU @95%, swap ram @95%, dev/sda3 100% full, need to delete unnecessary files before being able to do anything else)

EDIT : killing baobab didn’t help except for the swap, rebooting the laptop.

Here I am :slight_smile:

/dev/block/platform/155a0000.ufs/by-name/userdata

1 Like

so @buzzears :

adb shell dd if=/dev/block/platform/155a0000.ufs/by-name/userdata of=/external_sd/userdata.img

when done, will you able to put it in the “dad’s things folder” on your PC and mount it using a mint
feature ?

To get this screen, from ‘Recover’, I go into ‘Advanced’, and then where? ‘Mount/unmount system’ ?

I’ve just tapped on Mount/unmount system, and it doesn’t do anything. Is that okay?

What’s a mageia feature?

i decided yesterday to not ask you to flash TWRP
… … …

for now please :

  • boot the phone into the “recovery-e”
  • plug it to your PC using a data USB cable
  • open a terminal from the “dad’s things folder”
  • copy / past this command we builded together :
    (will create an image of the /userdata partition on your SDcard)
adb shell dd if=/dev/block/platform/155a0000.ufs/by-name/userdata of=/external_sd/userdata.img

then copy it in your “dad’s things folder” by running

adb pull /external_sd/userdata.img

.

OK. I am at the stage of copied and pasted the long command into the Terminal inside the dad’s phone folder, but before I hit return, I just want to check what you have added in brackets, about creating an image of the /userdata partition on the SD card. I haven’t inserted the SD card into my dad’s phone, so should I do that now, and how do I create an image? Sorry again!

isn’t it your linux disdtribution ?
i feel tired…(yesterday evening, i was saying to myself “it’s a 2 hours job”, now i am still thinking the same “it’s a 2 hours job”, and i am affraid tomorrow i will still say to myself “it’s a 2 hours job”)…

.

of course yes

it is the role of the command…

Yes, I am sorry for not knowing anything. I didn’t realise having the e foundation OS would mean so much work - for those that help me, as much as for me. If you want to stop now, I completely understand. I admire you for doing all this and in English too. I will continue and see what happens. Thank you so much for all the time you have put in. Thank you.

The long command: adb shell dd if=/dev/block/platform/155a0000.ufs/by-name/userdata of=/external_sd/userdata.img resulted in the same response as before: adb: error: failed to get feature set: device unauthorized.
This adb server’s $ADB_VENDOR_KEYS is not set
Try ‘adb kill-server’ if that seems wrong.
Otherwise check for a confirmation dialog on your device.

I tried the short command anyway: adb pull /external_sd/userdata.img but the Terminal didn’t respond.

i have started to help saving your dad’s data

it is not the issue i see during this operation
i am surprised because as i think you are British


please try this :

OK, I will. Thank you.

I’ve followed steps 1 to 4, but for each step 2 - 4, I get the same message:

tabitha@tabitha-Inspiron-3650:~/Downloads/platform-tools$ ./adb devices
List of devices attached
ce12160c9a02400405 unauthorized

tabitha@tabitha-Inspiron-3650:~/Downloads/platform-tools$ ./adb shell mount data
adb: device unauthorized.
This adb server’s $ADB_VENDOR_KEYS is not set
Try ‘adb kill-server’ if that seems wrong.
Otherwise check for a confirmation dialog on your device.
tabitha@tabitha-Inspiron-3650:~/Downloads/platform-tools$ ./adb shell mount system
adb: device unauthorized.
This adb server’s $ADB_VENDOR_KEYS is not set
Try ‘adb kill-server’ if that seems wrong.
Otherwise check for a confirmation dialog on your device.
tabitha@tabitha-Inspiron-3650:~/Downloads/platform-tools$ ./adb pull /data/property/persist.sys.usb.config /YourDirectory
adb: error: failed to get feature set: device unauthorized.
This adb server’s $ADB_VENDOR_KEYS is not set
Try ‘adb kill-server’ if that seems wrong.
Otherwise check for a confirmation dialog on your device.
tabitha@tabitha-Inspiron-3650:~/Downloads/platform-tools$

I therefore don’t seem to be able to proceed with step No 5: Open the persist.sys.usb.config file in a text editor, edit it to mtp,adb, and save the changes.

I assume I would find this in the platform-tools folder, but I don’t see it there, which doesn’t surprise me.

ok, @buzzears sorry, forget about that Enable USB Debugging Using ADB Command.
simply flash TWRP will solve the “adb unautorized”

@Didou do you advise version 3.3.1-0 or 3.7.0_9-1 ?

Looking back on this thread, I don’t see any instruction about how I flash TWRP. Please instruct me? Thank you.