L1ghtmann / IAmLazy

Easily backup and restore your tweaks
ISC License
64 stars 6 forks source link

Error: Failed to copy generic files #46

Open ovocie opened 7 months ago

ovocie commented 7 months ago

Hi, version 2.6.0 is giving me this error when trying to backup. I have iPhone9,4 - iOS 14.6, checkra1n C6F7AD97-FBF8-4A3E-8031-C6EA140DB778

L1ghtmann commented 7 months ago

Hey, thanks for reporting this! Would you mind enabling developer mode, by long pressing on the Snorlax, and sharing a screenshot/recording of the log output seen at the bottom of the progress view during a backup? Thanks again!

ovocie commented 7 months ago

I made a record. @L1ghtmann https://github.com/L1ghtmann/IAmLazy/assets/31702699/fd0f2923-0963-4af5-ad83-c830a827bd4f

ytx0574 commented 5 months ago

how to fix ti?

L1ghtmann commented 5 months ago

@ovocie can you spot any errors in the debug output?

@ytx0574 would you mind sharing more about what you're experiencing? Version, device, jb, etc. Also, if you could provide a screen recording of the backup with debug view enabled like ovocie that would be great.

Thanks both!

ovocie commented 5 months ago

@L1ghtmann where can I find a debug output?

ytx0574 commented 5 months ago

@ovocie can you spot any errors in the debug output?

@ytx0574 would you mind sharing more about what you're experiencing? Version, device, jb, etc. Also, if you could provide a screen recording of the backup with debug view enabled like ovocie that would be great.

Thanks both!

My debug video is the same as @ovocie, my environment: iPhone12Pro Max 14.2.1 Taurine

I used unc0ver8.0.2 earlier and IAmLazy worked very well. When I jailbreak Taurine, I can use IAmLazy to restore backups, but I can't create backups

https://github.com/L1ghtmann/IAmLazy/assets/12493700/0b50201f-89f3-4743-a7f2-e78f6af8dff9

ytx0574 commented 4 months ago

I carefully analyzed the logs, and there were so many errors that I didn't know which ones were fatal. Because when I did the backup with another device, there were also errors, but it worked

L1ghtmann commented 4 months ago

Thank you both for the information. I apologize for not being super present in fixing this. I intend to take a closer look this weekend. At a bare minimum, I plan to improve the debugging output so it's easier to see what's going on. Will let you both know when that happens

ytx0574 commented 4 months ago

I don't know how to set up an environment to run your code, it would be nice if you could record a video to provide a guide, MacOS13.6.3/Xcode15/MonkeyDev

L1ghtmann commented 4 months ago

1) https://theos.dev/docs/installation 2) git clone --recursive [this repo] 3) cd [local repo dir] 4) make clean package

ytx0574 commented 4 months ago

我禁用了备份时的dismissviewcontroller, 并从日志里面找到如下 Failed to create /tmp/me.lightmann.iamlazy/trousers/etc! Info: The file “etc” couldn’t be saved in the folder “trousers”. 当我删除trousers, 它工作了

  1. https://theos.dev/docs/installation
  2. git clone --recursive [this repo]
  3. cd [local repo dir]
  4. make clean package
  • also pass THEOS_PACKAGE_SCHEME=rootless if applicable

I disabled dismissviewcontroller when backing up, and found the following in the log

Failed to create /tmp/me.lightmann.iamlazy/trousers/etc!  Info: The file “etc” couldn’t be saved in the folder “trousers”.

When I removed the trousers, it worked

Thanks @L1ghtmann

L1ghtmann commented 4 months ago

So the package trousers caused the backup to fail? If so, can you please share where the tweak is from. I'd like to investigate further. Thank you so much for your assistance!

ytx0574 commented 4 months ago
image

It seems that very early on, I installed screendump's generated dependency plugin

L1ghtmann commented 3 months ago

Hey @ytx0574, I have just sent v2.6.1 in for publishing. It greatly improves the error handling and debug view. If you are still encountering this issue and wouldn't mind, could you try it out when it's live and share the error(s) you encounter. The log can be viewed from 'Show Details' in the error/post-op prompt. Thanks!

ytx0574 commented 3 months ago

okay, I'll try. thanks for update, bro.