Giter Site home page Giter Site logo

Comments (5)

bigbiff avatar bigbiff commented on August 14, 2024

Does this happen on backups using the TWRP menu interface?

from team-win-recovery-project.

happysmash27 avatar happysmash27 commented on August 14, 2024

I can't back up using the TWRP menu interface (to my knowledge), as I would quickly run out of space in my internal storage, and the function to mount an external disk over USB OTG does not work. I am backing up over 20GB worth of files and only have a /sdcard with 2.6GB free.

from team-win-recovery-project.

wombatch avatar wombatch commented on August 14, 2024

I have exactly the same problem, sadly slightly older software TWRP 3.2.3 on a Sony Z5C. As for you it all used to work fine on my phone, I have to admit I didn't take a back up for a while and now I can't.
My perception is (maybe didn't dig as far as you) is that something is stopping TWRP from creating the split archive, each archive file ( data.ext4.winXXX) as far as I can see should get to about 1.5GB before creating a new one, on my system a single data archive gets to about 2.2GB and then the processes all get cancelled.
It's very frustrating, I get the same effect from the GUI and by running from ADB

from team-win-recovery-project.

happysmash27 avatar happysmash27 commented on August 14, 2024

Since it seemed to be an OOM error and there was no swap file:

~ # free -m
             total         used         free       shared      buffers
Mem:       2949976      1772168      1177808            0       383332
-/+ buffers:            1388836      1561140
Swap:            0            0            0

I decided to create my own swap file:

~ # dd if=/dev/zero of=/sdcard/swapfile bs=4M count=256
256+0 records in
256+0 records out
1073741824 bytes (1.0GB) copied, 52.261909 seconds, 19.6MB/s
~ # mkswap /sdcard/swapfile
Setting up swapspace version 1, size = 1073737728 bytes

However, apparently the swapon command is broken =(-_-)= :

~ # swapon /sdcard/swapfile
swapon: /sdcard/swapfile: Function not implemented

Or maybe, hopefully, I just did something wrong and this can be fixed.

from team-win-recovery-project.

happysmash27 avatar happysmash27 commented on August 14, 2024

I think I'm going to need to recompile the kernel for this: https://www.acmesystems.it/ts_swapon_failed

Um... anyone know some good documentation on that for whatever kernel TWRP uses?

At this rate, though, I'm probably going to get an error when trying to do that too...

from team-win-recovery-project.

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.