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

FAILED remote: No such file or directory #161

Open
9 tasks done
DaniJetski opened this issue Feb 20, 2025 · 2 comments
Open
9 tasks done

FAILED remote: No such file or directory #161

DaniJetski opened this issue Feb 20, 2025 · 2 comments

Comments

@DaniJetski
Copy link

DaniJetski commented Feb 20, 2025

Acknowledgements

  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • This is not a feature request.
  • This issue is not a duplicate of an existing issue.
  • The issue is solely related to this GSI.
  • This issue occurs with the latest available build.
  • I am not running a custom vendor on my device.
  • This issue is not kernel related.
  • This issue is not related to Magisk/KernelSU/APatch.

Info

  • Device: Sueface Duo 2
  • GSI version: aosp-arm64-ab-gapps-15.0-20241223.img
  • Vendor version: 20241223

Expected Behavior

Install the new rom DUO-DE.

Current Behavior

Running: fastboot flash system aosp-arm64-ab-gapps-15.0-20241216.img
ending sparse 'system' 1/15 (262112 KB) OKAY [ 6.161s]
Writing 'system' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed

Possible Solution

No response

Steps to Reproduce

  1. adb reboot fastboot

  2. fastboot delete-logical-partition system_ext
    Deleting 'system_ext' OKAY [ 0.008s]

  3. fastboot delete-logical-partition product
    Deleting 'product' OKAY [ 0.007s]

  4. fastboot getvar current-slot
    current-slot: a

  5. fastboot delete-logical-partition system_b
    Deleting 'system_b' OKAY [ 0.007s]

  6. fastboot flash system aosp-arm64-ab-gapps-15.0-20241223.img
    Sending sparse 'system' 1/15 (262112 KB) OKAY [ 6.199s]
    Writing 'system' FAILED (remote: 'No such file or directory')
    fastboot: error: Command failed

Logs

No response

Additional context

No response

@DaniJetski
Copy link
Author

I previously deleted partition A by mistake. Could that be the problem? How can I fix it?

Thanks in advanced

@vejadutoo
Copy link

@DaniJetski I just went through his headache and was able to solve it by restoring the factory ROM, following the instructions again, and deleting a few other partitions.

Recover Surface Duo if it won't start
https://support.microsoft.com/en-us/surface/recover-surface-duo-if-it-won-t-start-1e6fb3cf-4e24-92a8-bc05-4984274bc6a4

Additional commands to delete the other partitions before flashing

fastboot delete-logical-partition system_ext_a
fastboot delete-logical-partition system_ext_b
fastboot delete-logical-partition product_a
fastboot delete-logical-partition product_b

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