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

Crash after choosing option 2 #13

Open
przemhb opened this issue Oct 11, 2024 · 4 comments
Open

Crash after choosing option 2 #13

przemhb opened this issue Oct 11, 2024 · 4 comments

Comments

@przemhb
Copy link

przemhb commented Oct 11, 2024

QFIL is working, Partition Manager screen active, yet despite this I get:

Processing: LUN=0, Partiton=gpt_header, Start=0, Sectors=6 ...

Unhandled exception: System.ComponentModel.Win32Exception: Could not find specific file
   w System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   w System.Diagnostics.Process.Start()
   w QFIL_Helper.clsBase.ExecuteCommand(String& sCMDLine)
   w QFIL_Helper.clsParts.ReadGPTHeaders(Boolean isTemp, Boolean isSort, Boolean isDebug)
   w QFIL_Helper.clsParts.BackupPartitions()
   w QFIL_Helper.modMain.MainMenuSimple()
   w QFIL_Helper.modMain.Main(String[] args)

when I choose option 2.

Am I missing something or there is a bug?
What could be the file QFILHelper is missing?

@Beliathal
Copy link
Owner

  1. Possibly non-english characters in the path?
  2. Do other backup options work and only option 2 fails?
  3. Try running the app with -advanced switch and selecting option 3: Quick LUN backup...

@przemhb
Copy link
Author

przemhb commented Oct 13, 2024

Ad. 1. Not a single one.
Ad. 2. Tried only: 2, 3, 4. The option 4 worked all the time; 2 failed something like 49/50. Once (and onlt once) it worked and did the backup, but I could not reproduce it. Eventually, I have used fh_loader directly to back up the userdata. This worked straight away. Other partitions backup with fh_loader also succeeded each time.
Ad. 3. How to enable advanced mode?

Why QFIL Helper does not catch excpetion of a missing file it looks for? It could display error message with useful information?

@Beliathal
Copy link
Owner

Beliathal commented Oct 13, 2024

  1. To run in advanced mode, type: QFILHelper.exe -advanced
  2. No one else reported this issue before, so there was no need to catch exception in this particular function. The only files the app could be looking for are fh_loader.exe and GPT headers. If fh_loader.exe is not found at its default location (inside QFIL installation folder), the app will attempt to extract the built-in fh_loader and use it instead. While GPT headers will be extracted automatically each time the app reads partition data from the phone.

@przemhb
Copy link
Author

przemhb commented Oct 14, 2024

Today I tried it one more time. Started in the basic mode. Chosen backup partitions. It worked. Closed QFILHelper, but kept phone connected and QFIL Partiton Manager open. Started QFIL Helper in advanced mode and attemept to backup various partitions, LUNs, but QFILHelper crashed each time.

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

2 participants