Comments (4)
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
from adb-sync.
This unfortunately depends on the device - many devices have different "ls" formats.
Can you post the entire output of "adb shell ls -la /sdcard"?
from adb-sync.
Thanks that seems to work on TWRP.
hardware is mi 10 pro, software recovery-TWRP-3.4.2B-0623-XIAOMI10PRO-CN-wzsx150
from adb-sync.
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?
from adb-sync.
Related Issues (20)
- error running it. stacktrace. HOT 1
- Colon not supported in folder name HOT 8
- Hard-coded location of python3 HOT 2
- TypeError with latest rev HOT 1
- Problems with parameters: a bytes-like object is required, not 'str' HOT 3
- adb-sync seems to close standard input? HOT 3
- anyway to --reverse and --delete?
- Problems with encoding: UnicodeDecodeError: 'utf-8' codec can't decode byte: invalid start byte HOT 6
- Is this project still active? HOT 2
- windows 10 HOT 8
- adb-sync doesn't work correctly with symlinks
- Crashes when trying to copy files with question marks in the name.
- Copying from external storage HOT 4
- adb-sync doesn't copy files properly if names are same on local and remote HOT 5
- When the file length is the same, it will be considered as no difference HOT 1
- two way sync breaks when filename contains spaces
- Scanning and diffing takes a long time for large directories HOT 2
- "bad date" from "touch" when using -t option HOT 1
- Ignore unreadable files
- Use my fork HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adb-sync.