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

How to solve this problem? #145

Open Suan-Nai6 opened 10 months ago

Suan-Nai6 commented 10 months ago

Device: M2012K10C SDK: Android 13 (33) UserSelection(userSelectedUserdata=21474836480, userSelectedImageSize=-1, selectedFileUri=content://com.android.externalstorage.documents/document/primary%3ADNA%2FNA_flyme%2Fout%2Fsystem.img, selectedFileName=system.img) SingleSystemImage(uri=content://com.android.externalstorage.documents/tree/primary%3ADSU/document/primary%3ADSU%2Fworkspace_dsuhelper%2Fsystem.img.gz, fileSize=6290812928, type=SINGLE_SYSTEM_IMAGE) InstallationPreferences(isUnmountSdCard=false, useBuiltinInstaller=false) operationMode: ROOT Package: vegabobo.dsusideloader Version: 2.03 - 8 (release}) checkDynamicPartitions: true checkUnavaiableStorage: false checkReadLogsPermission: true allocPercentage: 0.4 hasAvailableStorage: false maximumAllowedForAllocation: 25

--------- 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/21474836480, 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: 21474836480 It worked before, but after one use, it was like this.

VegaBobo commented 9 months ago

That problem seems to be happening with some devices, i have no clue what can be, i do not own any device with that problem, so may be hard to fix, anyway, once i found something, ill try to fix, really no clue what would be the fix

ABC00012345 commented 6 months ago

same error. someone fixed it.

i use mi 9 se