Swap data/backup exchange between 2 same phone?

Hi, having troubles with a freshly installed (e-2.1-s-20240603406609-stable-starlte) samsung s9, and having 2 exact sames phones, the other one has no troubles with the same system; I wander how could I swap data partitions between the 2 phones ?
I have heimdall running perfectly on linux (freebsd to be exact); (adb-tools are clearly not working at all). I have also odin on windows, but prefer using an unix machine to do serious stuff.

Should I simply launch heimdall print-pit to find the data/userdata/datafs partition, then dump it on each phones and then flash then again permutting the phones ? [I’ll probably unlock the phones-scheme before, to avoid being unable to unlock them in case unlock hash is stored elsewhere and check before deciphering effectively the data partition]

T.I.A. PM.

unlock the bootloader will wipe the /data partition
(except the called ā€œinternal storageā€ wich is mounted under /data/sdcard when physical SDcard is mounted under /data/external_sd)

and since the ā€œunlock bootloaderā€ option is missing in developper mode, on va pas aller bien loin de toute faƧon :wink:
Further more while boot loader is locked, that’s why I can’t see the ā€˜recovery’ when pressing vol down + power in this phone (?)…

Another idea : if I switch to download mode, flash a TWRP on the recovery partition, I remember (but may be wrong) TWRP is abble to access the data partition and perhaps dump it elsewhere…)

These two phones are mine: I just wan’t to know if my problem with black screen when unlocking is an hardware or software problem.

it is ā€œOEM unlockā€ …
are you really sure that the bootloader has been relocked ?

NO !

.

Boot Modes

Recovery

With the device powered off - hold Volume Up + Bixby + Power. When the blue text appears, release the buttons.

Download

With the device powered off - hold Volume Down + Bixby + Power.

.

if TWRP is already installed OR if the bootloader is unlocked there maybe something to do with it

https://android.stackexchange.com/questions/143878/is-it-possible-to-back-up-the-encryption-key-of-android

that need to unlock the bootloader, that wipe /data

ā€œOEM Lockā€:
I’m sorry but i have nowhere oem lock ou unlock in developper mode ;
(phone galaxy s9 (SMG960F) / rom e-2.1-s-20240603406609-stable-starlte downloaded yesterday)
Perhaps because bootloader can’t be relocked on this phone.

For recovery: I’m stupid, you’r perfectly right: I’ve got it : i was releasing power too fast (while the samsung logo appear).

For the encryption key, for data partition, I have read that it’s [related with] the scheme or pincode used to unlock and it’s may stored in hashed form in another partition. My concern was : what happens if I exchange 2 data partitions on two phones with differents patterns even if they are the same phone? I think I’ll put the same pattern before doing this: much more simple :wink:

I’ll try twrp tomorrow, and hope not loosing my settings or brick my phone…

1 Like

This topic was automatically closed after 60 days. New replies are no longer allowed.