Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: could not parse #27

Open
Whoami42 opened this issue Sep 22, 2018 · 4 comments
Open

Warning: could not parse #27

Whoami42 opened this issue Sep 22, 2018 · 4 comments

Comments

@Whoami42
Copy link

Whoami42 commented Sep 22, 2018

whenever i type adb-sync --reverse /storage/emulated/0/ ./, to do a full sdcard backup, i get this:

Warning: could not parse 'drwxrwx--x 20 0 1015 4096 Sep 21 23:49 /storage/emulated/0'.

@divVerent
Copy link
Contributor

This unfortunately depends on the device - many devices have different "ls" formats.

Can you post the entire output of "adb shell ls -la /sdcard"?

@TheNeutrinoRaged
Copy link

TheNeutrinoRaged commented Jan 20, 2019

I'm encountering this error when trying to backup my internal data when the phone is in TWRP.
Here's the output of adb shell ls -la /sdcard:

drwxrwx--- 21 media_rw media_rw 4096 Mar 8 14:36 .
drwxr-xr-x 28 root root 0 Mar 8 14:14 ..
-rw-rw-r-- 1 media_rw media_rw 0 Dec 26 2018 .fe_tmp
-rw-rw-r-- 1 media_rw media_rw 36 Dec 21 2018 .profig.os
drwxrwxr-x 6 media_rw media_rw 4096 Jan 11 2019 .torque
drwxrwxr-x 2 media_rw media_rw 4096 Jan 31 13:54 Alarms
drwxrwxr-x 4 media_rw media_rw 4096 Dec 15 2018 Android
drwxrwxr-x 5 media_rw media_rw 4096 Jan 4 2019 DCIM
drwxrwxr-x 2 media_rw media_rw 4096 Dec 16 2018 Documents
drwxrwxr-x 2 media_rw media_rw 4096 Jan 11 2019 Download
drwxrwxr-x 2 media_rw media_rw 4096 Jan 12 2019 Migrate
drwxrwxr-x 4 media_rw media_rw 4096 Dec 28 2018 Movies
drwxrwxr-x 2 media_rw media_rw 4096 Jan 31 13:54 Music
drwxrwxr-x 2 media_rw media_rw 4096 Jan 31 13:54 Notifications
drwxrwxr-x 4 media_rw media_rw 4096 Dec 30 2018 Pictures
drwxrwxr-x 2 media_rw media_rw 4096 Jan 31 13:54 Podcasts
drwxrwxr-x 2 media_rw media_rw 4096 Jan 31 13:54 Ringtones
drwxrwxr-x 2 media_rw media_rw 4096 Jan 20 2019 SMSBackupRestore
drwxrwxrwx 3 media_rw media_rw 4096 Jan 31 14:42 TWRP
drwxrwxr-x 8 media_rw media_rw 4096 Dec 16 2018 WhatsApp
-rw-rw-r-- 1 media_rw media_rw 353 Dec 30 2018 adid_settings.xml
drwxrwxr-x 3 media_rw media_rw 4096 Dec 28 2018 com.facebook.orca
drwxrwxr-x 2 media_rw media_rw 4096 Jan 12 2019 panoramas
drwxrwxr-x 2 media_rw media_rw 4096 Jan 11 2019 torqueLogs
-rw-r--r-- 1 root root 31748096 Jan 19 2019 twrp-3.2.3-2-beryllium.img

And the output when I run it when I am booted into the system:

drwxrwx--x 21 root sdcard_rw 4096 1970-03-08 15:36 .
drwx--x--x 4 root sdcard_rw 4096 1970-01-31 14:54 ..
-rw-rw---- 1 root sdcard_rw 0 2018-12-26 19:27 .fe_tmp
-rw-rw---- 1 root sdcard_rw 36 2018-12-21 19:59 .profig.os
drwxrwx--x 6 root sdcard_rw 4096 2019-01-11 13:32 .torque
drwxrwx--x 2 root sdcard_rw 4096 1970-01-31 14:54 Alarms
drwxrwx--x 4 root sdcard_rw 4096 2018-12-15 16:51 Android
drwxrwx--x 5 root sdcard_rw 4096 2019-01-04 15:14 DCIM
drwxrwx--x 2 root sdcard_rw 4096 2018-12-16 13:15 Documents
drwxrwx--x 2 root sdcard_rw 4096 2019-01-11 10:21 Download
drwxrwx--x 2 root sdcard_rw 4096 2019-01-12 13:56 Migrate
drwxrwx--x 4 root sdcard_rw 4096 2018-12-28 16:48 Movies
drwxrwx--x 2 root sdcard_rw 4096 1970-01-31 14:54 Music
drwxrwx--x 2 root sdcard_rw 4096 1970-01-31 14:54 Notifications
drwxrwx--x 4 root sdcard_rw 4096 2018-12-30 19:41 Pictures
drwxrwx--x 2 root sdcard_rw 4096 1970-01-31 14:54 Podcasts
drwxrwx--x 2 root sdcard_rw 4096 1970-01-31 14:54 Ringtones
drwxrwx--x 2 root sdcard_rw 4096 2019-01-20 14:46 SMSBackupRestore
drwxrwx--x 3 root sdcard_rw 4096 1970-01-31 15:42 TWRP
drwxrwx--x 8 root sdcard_rw 4096 2018-12-16 02:00 WhatsApp
-rw-rw---- 1 root sdcard_rw 353 2018-12-30 19:38 adid_settings.xml
drwxrwx--x 3 root sdcard_rw 4096 2018-12-28 16:48 com.facebook.orca
drwxrwx--x 2 root sdcard_rw 4096 2019-01-12 18:38 panoramas
drwxrwx--x 2 root sdcard_rw 4096 2019-01-11 12:58 torqueLogs
-rw-rw---- 1 root sdcard_rw 31748096 2019-01-19 18:49 twrp-3.2.3-2-beryllium.img

Edit:
So I'm new to git/python/regex but I fumbled about with the source and had a go at getting it working when my phone is in twrp, here's the repository https://github.com/TheNeutrinoRaged/adb-sync/tree/patch-1
I've probably broken other things while getting it to work but I thought I'd put it out there in case anyone was interested

@avion23
Copy link

avion23 commented Aug 8, 2020

Thanks that seems to work on TWRP.

hardware is mi 10 pro, software recovery-TWRP-3.4.2B-0623-XIAOMI10PRO-CN-wzsx150

@frittentheke
Copy link

Edit:
So I'm new to git/python/regex but I fumbled about with the source and had a go at getting it working when my phone is in twrp, here's the repository https://github.com/TheNeutrinoRaged/adb-sync/tree/patch-1
I've probably broken other things while getting it to work but I thought I'd put it out there in case anyone was interested

@TheNeutrinoRaged Would you consider opening a PR then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants