VegaBobo / DSU-Sideloader

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

Install failed. #169

Closed dumpstercod closed 6 months ago

dumpstercod commented 8 months ago
Device: SM-A346E
SDK: Android 14 (34)
UserSelection(userSelectedUserdata=107374182400, userSelectedImageSize=-1, selectedFileUri=content://com.android.externalstorage.documents/document/primary%3ADownload%2Fevolution_arm64_bgN-8.2-unofficial-20240124.img.xz, selectedFileName=evolution_arm64_bgN-8.2-unofficial-20240124.img.xz)
SingleSystemImage(uri=content://com.android.externalstorage.documents/tree/primary%3ADSU_Sideloader/document/primary%3ADSU_Sideloader%2Fworkspace_dsuhelper%2Fevolution_arm64_bgN-8.2-unofficial-20240124.img.gz, fileSize=4791984128, type=SINGLE_SYSTEM_IMAGE)
InstallationPreferences(isUnmountSdCard=false, useBuiltinInstaller=false)
operationMode: ROOT
Package: vegabobo.dsusideloader
Version: 2.03 - 8 (release})
checkDynamicPartitions: true
checkUnavaiableStorage: true
checkReadLogsPermission: true
allocPercentage: 0.4
hasAvailableStorage: true
maximumAllowedForAllocation: 77

--------- beginning of main
D/DynamicSystemInstallationService: onStartCommand(): action=android.os.image.action.START_INSTALL
--------- beginning of system
E/gsid    : [liblp] Invalid partition metadata header table size.
E/gsid    : Could not read metadata file /metadata/gsi/dsu/dsu/lp_metadata
I/DynamicSystemService: startInstallation -> /data/gsi/dsu
D/DynamicSystemInstallationService: status: IN_PROGRESS, cause: CAUSE_NOT_SPECIFIED, partition name: userdata, progress: 0/107374182400, total_progress: 0%
E/gsid    : [liblp] Invalid partition metadata header table size.
E/gsid    : Could not read metadata file /metadata/gsi/dsu/dsu/lp_metadata
E/gsid    : [liblp] Invalid partition metadata header table size.
E/gsid    : Could not read metadata file /metadata/gsi/dsu/dsu/lp_metadata
E/gsid    : Could not create userdata image
I/DynamicSystemService: Failed to create partition: userdata
E/gsid    : [liblp] Invalid partition metadata header table size.
E/gsid    : Could not read metadata file /metadata/gsi/dsu/dsu/lp_metadata
E/gsid    : Installation failed, clean up: userdata_gsi
E/gsid    : [liblp] Invalid partition metadata header table size.
E/gsid    : Could not read metadata file /metadata/gsi/dsu/dsu/lp_metadata
E/gsid    : Installation failed: install_dir=/data/gsi/dsu/, dsu_slot=dsu, partition_name=userdata
E/gsid    : [liblp] Invalid partition metadata header table size.
E/gsid    : Could not read metadata file /metadata/gsi/dsu/dsu/lp_metadata
D/DynamicSystemInstallationService: status: NOT_STARTED, cause: ERROR_IO, detail: java.io.IOException: Failed to start installation with requested size: 107374182400
ABC00012345 commented 6 months ago

do you fixed it? i have the same error

dumpstercod commented 6 months ago

do you fixed it? i have the same error

@ABC00012345 I was able to use DSU by resetting my phone Hope that helped.