VegaBobo / DSU-Sideloader

A simple app made to help users easily install GSIs via DSU's Android feature.
Apache License 2.0
1.39k stars 107 forks source link

[bug] install failed: unkonw error #162

Open yuioto opened 8 months ago

yuioto commented 8 months ago

fajita android 14 UD1A.230803.041 PixelExperience_fajita-14.0-20231112-0447-ALPHA

Device: ONEPLUS A6013
SDK: Android 14 (34)
UserSelection(userSelectedUserdata=17179869184, userSelectedImageSize=-1, selectedFileUri=content://com.android.externalstorage.documents/document/primary%3ADocuments%2FDSUsideload%2FProjectElixir_4.0_arm64_bgN-14.0-20240108-1305-OFFICIAL.img.gz, selectedFileName=ProjectElixir_4.0_arm64_bgN-14.0-20240108-1305-OFFICIAL.img.gz)
SingleSystemImage(uri=content://com.android.externalstorage.documents/document/primary%3ADocuments%2FDSUsideload%2FProjectElixir_4.0_arm64_bgN-14.0-20240108-1305-OFFICIAL.img.gz, fileSize=4152287232, type=SINGLE_SYSTEM_IMAGE)
InstallationPreferences(isUnmountSdCard=false, useBuiltinInstaller=false)
operationMode: SYSTEM_AND_ROOT
Package: vegabobo.dsusideloader
Version: 2.03 - 8 (release})
checkDynamicPartitions: true
checkUnavaiableStorage: true
checkReadLogsPermission: true
allocPercentage: 0.4
hasAvailableStorage: true
maximumAllowedForAllocation: 42

--------- 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
D/DynamicSystemInstallationService: status: IN_PROGRESS, cause: CAUSE_NOT_SPECIFIED, partition name: userdata, progress: 0/17179869184, total_progress: 0%
E/gsid    : write failed: /metadata/gsi/dsu/dsu/metadata_encryption_dir: No such file or directory
I/DynamicSystemService: Failed to create partition: userdata
D/DynamicSystemInstallationService: status: NOT_STARTED, cause: ERROR_IO, detail: java.io.IOException: Failed to start installation with requested size: 17179869184
VegaBobo commented 7 months ago

Known error, till no fix at least by now, i can reproduce it on other "community retrofitable" device, needs investigation

WindyPear-Team commented 1 month ago

i have a same phone and error...