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

e2fsck error - returned non-zero exit status 0 #202

Open
iFuckEggs opened this issue Dec 20, 2024 · 1 comment
Open

e2fsck error - returned non-zero exit status 0 #202

iFuckEggs opened this issue Dec 20, 2024 · 1 comment

Comments

@iFuckEggs
Copy link

iFuckEggs commented Dec 20, 2024

Been battling this for a while now.
I can not for the life of me get widevine installed. I get this error every time no matter what I try.

INFO: Resizing /var/lib/waydroid/images/vendor.img to 825M
ERROR: e2fsck 1.47.2-rc1 (28-Nov-2024)

Traceback (most recent call last):
  File "/home/cannar/waydroid_script/main.py", line 358, in <module>
    main()
  File "/home/cannar/waydroid_script/main.py", line 351, in main
    args.func(args)
  File "/home/cannar/waydroid_script/main.py", line 107, in install_app
    resize("vendor")
  File "/home/cannar/waydroid_script/main.py", line 50, in resize
    images.resize(img, new_size)
  File "/home/cannar/waydroid_script/tools/images.py", line 27, in resize
    run(["sudo", "e2fsck", "-y", "-f", img_file], ignore="^e2fsck \d+\.\d+\.\d (.+)\n$")
/home/cannar/waydroid_script/tools/images.py:1: SyntaxWarning: invalid escape sequence '\d'
  import configparser
  File "/home/cannar/waydroid_script/tools/helper.py", line 48, in run
    raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command '['sudo', 'e2fsck', '-y', '-f', '/var/lib/waydroid/images/vendor.img']' returned non-zero exit status 0.

I've tried running sudo e2fsck -y -f /var/lib/waydroid/images/vendor.img separately but it does nothing, the img isn't resized.

Curiously, if I completely reset my install the script will go all the way through with no errors, but widevine doesn't get installed.

@iFuckEggs
Copy link
Author

But the script doesn't edit the image for a long time. It uses overlayfs. Apparently you have a very old version of the script or an old waydroid without overlayfs support.

ls -la /var/lib/waydroid/overlay/vendor/bin/hw/
total 20
drwxr-xr-x 2 root root 4096 июн  7  2023 .
drwxr-xr-x 3 root root 4096 июн  7  2023 ..
-rwxrwxrwx 1 root 2000 9296 июн  7  2023 [email protected]

Interesting.
The script I cloned into using the readme on the main page, and waydroid is also the latest straight from their servers.
[email protected] is present in the overlay/vendor folder but doesn't seem to work..

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

1 participant