Re: [arch-general] adb backup broken named pipe

2019-05-17 Thread Pascal via arch-general
Indeed, but it has to face two constraints, the second being directly related to the first : limited storage space and access to the data backed up through archivemount which does not support the android backup format. Le ven. 17 mai 2019 à 10:32, Ralph Corderoy a écrit : > Hi Pascal, > > > I st

Re: [arch-general] adb backup broken named pipe

2019-05-17 Thread Pascal via arch-general
*(sorry, bad Ctrl-C Ctrl-V)* yes, but I have two constraints, the second being directly related to the first : limited storage space and access to data backed up through archivemount that does not support the android backup format. Le ven. 17 mai 2019 à 11:49, Pascal a écrit : > Indeed, but it h

Re: [arch-general] adb backup broken named pipe

2019-05-17 Thread Ralph Corderoy
Hi Pascal, > I still have a slight problem because the tar command ends with an error : > *(the same error is also present with adb, printf and tail).* .. > $ python3 adbackup.py > /tmp/mybackup.tgz > $ tar tvzf /tmp/mybackup.tgz > ... all my files are here :-) > gzip: stdin: unexpected end of fil

Re: [arch-general] adb backup broken named pipe

2019-05-16 Thread Pascal via arch-general
does anyone have any idea what should be added/removed at the end of the data to properly complete the tgz archive ? regards, lacsaP. Le jeu. 16 mai 2019 à 16:00, Pascal a écrit : > when I looked a little closer at what adb backup was doing, I realized > that it was communicating with an adb se

Re: [arch-general] adb backup broken named pipe

2019-05-16 Thread Pascal via arch-general
when I looked a little closer at what adb backup was doing, I realized that it was communicating with an adb server running in parallel and, by mimicking the conversation with python, I managed to get what I wanted. *(note that a small error was present in the question : the string to use with prin

[arch-general] adb backup broken named pipe

2019-05-16 Thread Pascal via arch-general
hello, I'm looking for a solution for the problem below : all leads are welcome ! the adb tool is able to make a backup of a smartphone in a file: adb backup -all -f mybackup.ab however, the file mybackup.ab has a particular format that prevents it from being used "simply". to convert it into a