Re: sauvegarder sms, calendrier, carnet d'adresses, images e…

Startseite

Nachricht beantworten
Autor: anne.guilde@free.fr
Datum:  
To: Guilde
Alte Treads: Re: sauvegarder sms, calendrier, carnet d'adresses, images et video... tout ce qu'il y a sur un téléphone portable
Betreff: Re: sauvegarder sms, calendrier, carnet d'adresses, images et video... tout ce qu'il y a sur un téléphone portable => adb backup
Le 13/11/2018 à 11:30, Frédéric a écrit :
> Le 13/11/2018, moebius a écrit :
>
>> C'est quoi jmtps ?
>
> C'est une version mieux que mtpfs, qui permet de monter un périphérique
> comme une clé USB, via le protocole MTP, et Fuse. >


On m'a conseillé sur le chat de debian : adb backup
https://memo-linux.com/android-utiliser-adb-pour-faire-une-sauvegarde-complete-de-son-smartphone-ou-tablette-sur-pc-sous-gnulinux/

J'ai installé adb sur ma debian
J'ai mis le mode debug sur le téléphone

Je connecte le téléphone en usb.
Et je positionne le répertoire de ma debian pour avoir le résultat de la
sauvegarde là où je veux avec la commande cd

----
$ adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
*** Error in `adb': malloc(): memory corruption: 0x0000557f1cab9760 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7fe9a3277bfb]
/lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7fe9a327dfc6]
/lib/x86_64-linux-gnu/libc.so.6(+0x79089)[0x7fe9a3280089]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7fe9a3281f64]
/lib/x86_64-linux-gnu/libc.so.6(+0x6755d)[0x7fe9a326e55d]
/usr/lib/x86_64-linux-gnu/android/libadb.so.0(+0x23445)[0x7fe9a427d445]
/usr/lib/x86_64-linux-gnu/android/libadb.so.0(+0x24b4b)[0x7fe9a427eb4b]
/usr/lib/x86_64-linux-gnu/android/libadb.so.0(_Z13adb_auth_initv+0x53)[0x7fe9a427f413]
adb(+0x7c60)[0x557f1be4fc60]
adb(+0xc3dd)[0x557f1be543dd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fe9a32272e1]
adb(+0x5b4a)[0x557f1be4db4a]
======= Memory map: ========
557f1be48000-557f1be68000 r-xp 00000000 08:12 1182192
/usr/lib/android-sdk/platform-tools/adb
557f1c068000-557f1c069000 r--p 00020000 08:12 1182192
/usr/lib/android-sdk/platform-tools/adb
557f1c069000-557f1c06a000 rw-p 00021000 08:12 1182192
/usr/lib/android-sdk/platform-tools/adb
557f1caa7000-557f1cad9000 rw-p 00000000 00:00 0
[heap]
7fe994000000-7fe994029000 rw-p 00000000 00:00 0
7fe994029000-7fe998000000 ---p 00000000 00:00 0
7fe998000000-7fe998021000 rw-p 00000000 00:00 0
7fe998021000-7fe99c000000 ---p 00000000 00:00 0
7fe99c000000-7fe99c021000 rw-p 00000000 00:00 0
7fe99c021000-7fe9a0000000 ---p 00000000 00:00 0
7fe9a1966000-7fe9a1967000 ---p 00000000 00:00 0
7fe9a1967000-7fe9a2167000 rw-p 00000000 00:00 0
7fe9a2167000-7fe9a2168000 ---p 00000000 00:00 0
7fe9a2168000-7fe9a2968000 rw-p 00000000 00:00 0
7fe9a2968000-7fe9a296b000 r-xp 00000000 08:12 4462065
/lib/x86_64-linux-gnu/libdl-2.24.so
7fe9a296b000-7fe9a2b6a000 ---p 00003000 08:12 4462065
/lib/x86_64-linux-gnu/libdl-2.24.so
7fe9a2b6a000-7fe9a2b6b000 r--p 00002000 08:12 4462065
/lib/x86_64-linux-gnu/libdl-2.24.so
7fe9a2b6b000-7fe9a2b6c000 rw-p 00003000 08:12 4462065
/lib/x86_64-linux-gnu/libdl-2.24.so
7fe9a2b6c000-7fe9a2b72000 r-xp 00000000 08:12 1055328
/usr/lib/x86_64-linux-gnu/android/liblog.so.0
7fe9a2b72000-7fe9a2d72000 ---p 00006000 08:12 1055328
/usr/lib/x86_64-linux-gnu/android/liblog.so.0
7fe9a2d72000-7fe9a2d73000 r--p 00006000 08:12 1055328
/usr/lib/x86_64-linux-gnu/android/liblog.so.0
7fe9a2d73000-7fe9a2d74000 rw-p 00007000 08:12 1055328
/usr/lib/x86_64-linux-gnu/android/liblog.so.0
7fe9a2d74000-7fe9a2fd9000 r-xp 00000000 08:12 1052807
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
7fe9a2fd9000-7fe9a31d8000 ---p 00265000 08:12 1052807
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
7fe9a31d8000-7fe9a31f6000 r--p 00264000 08:12 1052807
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
7fe9a31f6000-7fe9a3204000 rw-p 00282000 08:12 1052807
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
7fe9a3204000-7fe9a3207000 rw-p 00000000 00:00 0
7fe9a3207000-7fe9a339c000 r-xp 00000000 08:12 4462062
/lib/x86_64-linux-gnu/libc-2.24.so
7fe9a339c000-7fe9a359c000 ---p 00195000 08:12 4462062
/lib/x86_64-linux-gnu/libc-2.24.so
7fe9a359c000-7fe9a35a0000 r--p 00195000 08:12 4462062
/lib/x86_64-linux-gnu/libc-2.24.so
7fe9a35a0000-7fe9a35a2000 rw-p 00199000 08:12 4462062
/lib/x86_64-linux-gnu/libc-2.24.so
7fe9a35a2000-7fe9a35a6000 rw-p 00000000 00:00 0
7fe9a35a6000-7fe9a35bc000 r-xp 00000000 08:12 4457345
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fe9a35bc000-7fe9a37bb000 ---p 00016000 08:12 4457345
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fe9a37bb000-7fe9a37bc000 r--p 00015000 08:12 4457345
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fe9a37bc000-7fe9a37bd000 rw-p 00016000 08:12 4457345
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fe9a37bd000-7fe9a38c0000 r-xp 00000000 08:12 4462066
/lib/x86_64-linux-gnu/libm-2.24.so
7fe9a38c0000-7fe9a3abf000 ---p 00103000 08:12 4462066
/lib/x86_64-linux-gnu/libm-2.24.so
7fe9a3abf000-7fe9a3ac0000 r--p 00102000 08:12 4462066
/lib/x86_64-linux-gnu/libm-2.24.so
7fe9a3ac0000-7fe9a3ac1000 rw-p 00103000 08:12 4462066
/lib/x86_64-linux-gnu/libm-2.24.so
7fe9a3ac1000-7fe9a3c33000 r-xp 00000000 08:12 1049210
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fe9a3c33000-7fe9a3e33000 ---p 00172000 08:12 1049210
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fe9a3e33000-7fe9a3e3d000 r--p 00172000 08:12 1049210
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fe9a3e3d000-7fe9a3e3f000 rw-p 0017c000 08:12 1049210
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fe9a3e3f000-7fe9a3e43000 rw-p 00000000 00:00 0
7fe9a3e43000-7fe9a3e4e000 r-xp 00000000 08:12 1055336
/usr/lib/x86_64-linux-gnu/android/libcutils.so.0
7fe9a3e4e000-7fe9a404e000 ---p 0000b000 08:12 1055336
/usr/lib/x86_64-linux-gnu/android/libcutils.so.0
7fe9a404e000-7fe9a404f000 r--p 0000b000 08:12 1055336
/usr/lib/x86_64-linux-gnu/android/libcutils.so.0
7fe9a404f000-7fe9a4050000 rw-p 0000c000 08:12 1055336
/usr/lib/x86_64-linux-gnu/android/libcutils.so.0
7fe9a4050000-7fe9a4059000 r-xp 00000000 08:12 1055332
/usr/lib/x86_64-linux-gnu/android/libbase.so.0
7fe9a4059000-7fe9a4258000 ---p 00009000 08:12 1055332
/usr/lib/x86_64-linux-gnu/android/libbase.so.0
7fe9a4258000-7fe9a4259000 r--p 00008000 08:12 1055332
/usr/lib/x86_64-linux-gnu/android/libbase.so.0
7fe9a4259000-7fe9a425a000 rw-p 00009000 08:12 1055332
/usr/lib/x86_64-linux-gnu/android/libbase.so.0
7fe9a425a000-7fe9a428b000 r-xp 00000000 08:12 1055340
/usr/lib/x86_64-linux-gnu/android/libadb.so.0
7fe9a428b000-7fe9a448a000 ---p 00031000 08:12 1055340
/usr/lib/x86_64-linux-gnu/android/libadb.so.0
7fe9a448a000-7fe9a448b000 r--p 00030000 08:12 1055340
/usr/lib/x86_64-linux-gnu/android/libadb.so.0
7fe9a448b000-7fe9a448c000 rw-p 00031000 08:12 1055340
/usr/lib/x86_64-linux-gnu/android/libadb.so.0
7fe9a448c000-7fe9a44a4000 r-xp 00000000 08:12 4462077
/lib/x86_64-linux-gnu/libpthread-2.24.so
7fe9a44a4000-7fe9a46a3000 ---p 00018000 08:12 4462077
/lib/x86_64-linux-gnu/libpthread-2.24.so
7fe9a46a3000-7fe9a46a4000 r--p 00017000 08:12 4462077
/lib/x86_64-linux-gnu/libpthread-2.24.so
7fe9a46a4000-7fe9a46a5000 rw-p 00018000 08:12 4462077
/lib/x86_64-linux-gnu/libpthread-2.24.so
7fe9a46a5000-7fe9a46a9000 rw-p 00000000 00:00 0
7fe9a46a9000-7fe9a46cc000 r-xp 00000000 08:12 4456553
/lib/x86_64-linux-gnu/ld-2.24.so
7fe9a4893000-7fe9a489a000 rw-p 00000000 00:00 0
7fe9a48c8000-7fe9a48cc000 rw-p 00000000 00:00 0
7fe9a48cc000-7fe9a48cd000 r--p 00023000 08:12 4456553
/lib/x86_64-linux-gnu/ld-2.24.so
7fe9a48cd000-7fe9a48ce000 rw-p 00024000 08:12 4456553
/lib/x86_64-linux-gnu/ld-2.24.so
7fe9a48ce000-7fe9a48cf000 rw-p 00000000 00:00 0
7ffc8f964000-7ffc8f985000 rw-p 00000000 00:00 0
[stack]
7ffc8f9b8000-7ffc8f9ba000 r--p 00000000 00:00 0
[vvar]
7ffc8f9ba000-7ffc8f9bc000 r-xp 00000000 00:00 0
[vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
----

je passe le téléphone en mode ptp

----
$ adb backup -apk -shared -all -f backup.ab
Now unlock your device and confirm the backup operation...
----

Je confirme la sauvegarde sur le téléphone.

Le fichier backup.ab = 41 octets

Si quelqu'un utilise adb...

merci
Anne