Git Product home page Git Product logo

Comments (4)

TheNeutrinoRaged avatar TheNeutrinoRaged commented on April 19, 2024 1

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.

divVerent avatar divVerent commented on April 19, 2024

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.

avion23 avatar avion23 commented on April 19, 2024

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.

frittentheke avatar frittentheke commented on April 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.