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

Installation failed: Failed to mkdir /metadata/gsi/dsu/dsu: No such file or directory #157

Closed
MauroDruwel opened this issue Dec 23, 2023 · 1 comment

Comments

@MauroDruwel
Copy link

Hello,

First of all, I love the idea of this project, and I want to try it out. So I unlocked my S10's bootloader, still on One UI Stock. But when I want to install any GSI I get this errors.

Device: SM-G973F
SDK: Android 12 (31)
UserSelection(userSelectedUserdata=2147483648, userSelectedImageSize=-1, selectedFileUri=content://com.android.externalstorage.documents/document/primary%3ADownload%2Fsystem_raw.gz, selectedFileName=system_raw.gz)
SingleSystemImage(uri=content://com.android.externalstorage.documents/document/primary%3ADownload%2Fsystem_raw.gz, fileSize=3115487232, type=SINGLE_SYSTEM_IMAGE)
InstallationPreferences(isUnmountSdCard=true, useBuiltinInstaller=false)
operationMode: SHIZUKU
Package: vegabobo.dsusideloader
Version: 2.03 - 8 (release})
checkDynamicPartitions: false
checkUnavaiableStorage: true
checkReadLogsPermission: true
allocPercentage: 0.4
hasAvailableStorage: true
maximumAllowedForAllocation: 51

--------- beginning of main
D/DynamicSystemInstallationService: onStartCommand(): action=android.os.image.action.START_INSTALL
--------- beginning of system
I/DynamicSystemService: startInstallation -> /data/gsi/dsu
E/gsid    : Failed to mkdir /metadata/gsi/dsu/dsu: No such file or directory
I/DynamicSystemService: Failed to open /data/gsi/dsu
E/gsid    : write failed: /metadata/gsi/dsu/dsu/metadata_encryption_dir: No such file or directory
I/DynamicSystemService: Failed to install userdata
D/DynamicSystemInstallationService: status: NOT_STARTED, cause: ERROR_IO, detail: java.io.IOException: Failed to start installation with requested size: 2147483648

Is there anybody out there that maybe had the same error, or knows how I can fix this?

@VegaBobo
Copy link
Owner

Your device is incompatible, DSU requires dynamic partitions, your S10 does not seem to support that feature, devices released with Android 10 are likely to have dynamic partitions, which is not the case of your S10 (it was released with Android 9).

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