Upgrade from 1.19.1-s-20240112372761-dev-vayu to current version/ saving all data peviously

You selected what file ?

This one in TWRP mode

What do you see stored inside the partition ?

Humm, my fault,

Using the mount feature, select more partitions to mount, after that, do you see something interresting into the /dev/block/sde49 location.

When i click “edit file”, i see:

GNU nano 6.0 New Buffer Modified

nano “/dev/block/sde49”

nano “/dev/block/sde49”

i think that’s not what you meant.

Ok,
Let’s try

.

on the phone, in developper options, you need to enable USB debugging and root debugging

now boot the device into TWRP

.

in the terminal on your PC, run :

adb shell

.

dd if=/dev/block/sde49 of=/sdcard/boot.img

you should find the boot.img at the root of your device internal storage

or

 dd if=/dev/block/sde49 of=/external_sd/boot.img

you should find the boot.img at the root of your physical SDcard

.

Edit :

i have just tested the commands using one of my (old) test devices,
it worked !
the dd command have successfully generated a file called boot.img, and despite it is bigger (10.5 Mo) than the original one from the samsung firmware (7.8 Mo) and from /e/ build .zip i run on the device (5.1 Mo),
using TWRP, i have successfully reflashed the newly generated boot.img on the device witch can reboot and run as usual.
so you can try to pach it using magisk to see if magisk accept the job.

1 Like

searching on XDA i found a generic command that also worked for me

adb shell dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/boot.img

Thank you so much for your help so far. I am trying to understand the commands so that i begin to know what i’m doing. That takes time. (For example, is “by-name” something that i have to type or does it stand for a name) -don’t want to brick my device and want to learn a bit.

So not answering for some time doesn’t mean i’m not interested anymore.

byname is part of the command, take it as it is,

I don’t know your device, if it is recent, the command could not work, tel me, there are other commands proposed in the howto i found

Yeah! Rooted! With

dd if=/dev/block/sde49 of=/external_sd/boot.img. …..patch…flash…ready.

You are the best!!!

1 Like

have a read to my latest contribution :