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 on MatePad #197

Open
SkipM4 opened this issue Sep 13, 2024 · 0 comments
Open

Installation failed on MatePad #197

SkipM4 opened this issue Sep 13, 2024 · 0 comments

Comments

@SkipM4
Copy link

SkipM4 commented Sep 13, 2024

When I tried to install dsu on exthmui13,it fails and logs are below:
Device: kirin820
SDK: Android 13 (33)
UserSelection(userSelectedUserdata=8589934592, userSelectedImageSize=-1, selectedFileUri=content://com.android.providers.downloads.documents/document/msf%3A1000000019, selectedFileName=FlymeOS-13.img)
SingleSystemImage(uri=content://com.android.externalstorage.documents/tree/primary%3Adsu/document/primary%3Adsu%2Fworkspace_dsuhelper%2FFlymeOS-13.img.gz, fileSize=3573100544, type=SINGLE_SYSTEM_IMAGE)
InstallationPreferences(isUnmountSdCard=true, 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: 19

--------- beginning of system
09-13 20:55:12.175 1462 3837 I ActivityManager: Force stopping com.android.dynsystem appid=1000 user=0: from pid 6358
--------- beginning of main
09-13 20:55:12.179 6319 6404 D DsuInstallationHandler: Starting DSU VerificationActivity: Intent { act=android.os.image.action.START_INSTALL dat=content://com.android.externalstorage.documents/... flg=0x10000000 cmp=com.android.dynsystem/.VerificationActivity (has extras) }
09-13 20:55:12.180 1462 3837 I ActivityTaskManager: START u0 {act=android.os.image.action.START_INSTALL dat=content://com.android.externalstorage.documents/... flg=0x10000000 cmp=com.android.dynsystem/.VerificationActivity (has extras)} from uid 0
09-13 20:55:12.185 2116 2116 D CarrierSvcBindHelper: onHandleForceStop: [com.android.dynsystem]
09-13 20:55:12.189 2116 2116 D CarrierSvcBindHelper: No carrier app for: 0
09-13 20:55:12.197 1462 3837 D CompatibilityChangeReporter: Compat change id reported: 197654537; UID 1000; state: ENABLED
09-13 20:55:12.203 1462 3837 D CompatibilityChangeReporter: Compat change id reported: 205907456; UID 1000; state: ENABLED
09-13 20:55:12.212 1462 1480 I ActivityManager: com.android.dynsystem is exempt from freezer
09-13 20:55:12.213 1462 1480 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 1000; state: DISABLED
09-13 20:55:12.213 1462 1480 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 1000; state: DISABLED
09-13 20:55:12.213 1462 1480 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 1000; state: DISABLED
09-13 20:55:12.213 1462 1480 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 1000; state: ENABLED
09-13 20:55:12.230 1189 1189 D Zygote : Forked child process 8041
09-13 20:55:12.232 1462 1489 I ActivityManager: Start proc 8041:com.android.dynsystem:dynsystem/1000 for next-top-activity {com.android.dynsystem/com.android.dynsystem.VerificationActivity}
09-13 20:55:12.244 8041 8041 E ystem:dynsystem: Not starting debugger since process cannot load the jdwp agent.
09-13 20:55:12.273 1462 2105 D CompatibilityChangeReporter: Compat change id reported: 181136395; UID 1000; state: DISABLED
09-13 20:55:12.273 1462 2105 D CompatibilityChangeReporter: Compat change id reported: 174042936; UID 1000; state: DISABLED
09-13 20:55:12.275 8041 8041 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 1000; state: ENABLED
09-13 20:55:12.292 8041 8041 V GraphicsEnvironment: ANGLE Developer option for 'com.android.dynsystem' set to: 'default'
09-13 20:55:12.292 8041 8041 V GraphicsEnvironment: ANGLE GameManagerService for com.android.dynsystem: false
09-13 20:55:12.293 8041 8041 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
09-13 20:55:12.294 8041 8041 D NetworkSecurityConfig: No Network Security Config specified, using platform default
09-13 20:55:12.295 8041 8041 D NetworkSecurityConfig: No Network Security Config specified, using platform default
09-13 20:55:12.307 8041 8041 D VerificationActivity: This device is not protected by a password/pin
09-13 20:55:12.308 8041 8041 D VerificationActivity: Starting Installation Service
09-13 20:55:12.322 8041 8041 D DynamicSystemInstallationService: onStartCommand(): action=android.os.image.action.START_INSTALL
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: No service published for: persistent_data_block
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: android.os.ServiceManager$ServiceNotFoundException: No service published for: persistent_data_block
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.os.ServiceManager.getServiceOrThrow(ServiceManager.java:166)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.app.SystemServiceRegistry$80.createService(SystemServiceRegistry.java:998)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.app.SystemServiceRegistry$80.createService(SystemServiceRegistry.java:995)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.app.SystemServiceRegistry$StaticServiceFetcher.getService(SystemServiceRegistry.java:1970)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.app.SystemServiceRegistry.getSystemService(SystemServiceRegistry.java:1590)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.app.ContextImpl.getSystemService(ContextImpl.java:2120)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.content.ContextWrapper.getSystemService(ContextWrapper.java:900)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at com.android.dynsystem.InstallationAsyncTask.(InstallationAsyncTask.java:234)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at com.android.dynsystem.DynamicSystemInstallationService.executeInstallCommand(DynamicSystemInstallationService.java:332)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at com.android.dynsystem.DynamicSystemInstallationService.onStartCommand(DynamicSystemInstallationService.java:221)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4685)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2181)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.os.Handler.dispatchMessage(Handler.java:106)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.os.Looper.loopOnce(Looper.java:201)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.os.Looper.loop(Looper.java:288)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at android.app.ActivityThread.main(ActivityThread.java:7898)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at java.lang.reflect.Method.invoke(Native Method)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
09-13 20:55:12.324 8041 8041 E SystemServiceRegistry: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
09-13 20:55:12.326 1462 8060 I DropBoxManagerService: add tag=system_app_wtf isTagEnabled=true flags=0x2
09-13 20:55:12.327 8041 8041 D CompatibilityChangeReporter: Compat change id reported: 160794467; UID 1000; state: ENABLED
09-13 20:55:12.327 8041 8061 D InstallationAsyncTask: Start doInBackground(), URL: content://com.android.externalstorage.documents/tree/primary%3Adsu/document/primary%3Adsu%2Fworkspace_dsuhelper%2FFlymeOS-13.img.gz
09-13 20:55:12.337 445 975 D vold : destroy_dsu_metadata_key: dsu
09-13 20:55:12.337 445 975 D vold : DSU metadata_key_dir doesn't exist, nothing to remove: /metadata/vold/metadata_encryption/dsu/dsu
09-13 20:55:12.374 2636 2660 W TranscodeHelper: Ignoring invalid media capabilities uid 1000 for uid: 10035
09-13 20:55:12.376 2636 2660 I MediaProvider: Open with lower FS for /storage/emulated/0/dsu/workspace_dsuhelper/FlymeOS-13.img.gz. Uid: 10035
09-13 20:55:12.379 8041 8061 D KeyRevocationList: Fetch from URL: https://dl.google.com/developers/android/gsi/gsi-keyblacklist.json
09-13 20:55:12.388 8041 8061 W InstallationAsyncTask: com.android.dynsystem.InstallationAsyncTask$RevocationListFetchException: java.net.UnknownHostException: Unable to resolve host "dl.google.com": No address associated with hostname
09-13 20:55:12.389 1462 2779 I DynamicSystemService: startInstallation -> /data/gsi/dsu
09-13 20:55:12.393 8041 8061 D InstallationAsyncTask: Creating writable partition: userdata, size: 8589934592
09-13 20:55:12.395 8041 8041 D DynamicSystemInstallationService: status: IN_PROGRESS, cause: CAUSE_NOT_SPECIFIED, partition name: userdata, progress: 0/8589934592, total_progress: 0%
09-13 20:55:12.401 4925 4928 E gsid : [liblp]bool android::fs_mgr::(anonymous namespace)::GetBlockDeviceInfo(const std::string &, android::fs_mgr::BlockDeviceInfo *)open '/dev/block/by-name/super' failed: Permission denied
09-13 20:55:12.401 4925 4928 E gsid : could not get block device info of super
09-13 20:55:12.402 1462 3361 I DynamicSystemService: Failed to create partition: userdata
09-13 20:55:12.497 8041 8061 E InstallationAsyncTask: java.io.IOException: Failed to start installation with requested size: 8589934592
09-13 20:55:12.497 8041 8061 E InstallationAsyncTask: java.io.IOException: Failed to start installation with requested size: 8589934592
09-13 20:55:12.497 8041 8061 E InstallationAsyncTask: at com.android.dynsystem.InstallationAsyncTask.installWritablePartition(InstallationAsyncTask.java:512)
09-13 20:55:12.497 8041 8061 E InstallationAsyncTask: at com.android.dynsystem.InstallationAsyncTask.installUserdata(InstallationAsyncTask.java:534)
09-13 20:55:12.497 8041 8061 E InstallationAsyncTask: at com.android.dynsystem.InstallationAsyncTask.doInBackground(InstallationAsyncTask.java:254)
09-13 20:55:12.497 8041 8061 E InstallationAsyncTask: at com.android.dynsystem.InstallationAsyncTask.doInBackground(InstallationAsyncTask.java:57)
09-13 20:55:12.497 8041 8061 E InstallationAsyncTask: at android.os.AsyncTask$3.call(AsyncTask.java:394)
09-13 20:55:12.497 8041 8061 E InstallationAsyncTask: at java.util.concurrent.FutureTask.run(FutureTask.java:264)
09-13 20:55:12.497 8041 8061 E InstallationAsyncTask: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
09-13 20:55:12.497 8041 8061 E InstallationAsyncTask: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
09-13 20:55:12.497 8041 8061 E InstallationAsyncTask: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
09-13 20:55:12.497 8041 8061 E InstallationAsyncTask: at java.lang.Thread.run(Thread.java:1012)
09-13 20:55:12.498 4925 4928 E gsid : [liblp]std::unique_ptr android::fs_mgr::ReadFromImageFile(const std::string &) open failed: /metadata/gsi/dsu/dsu/lp_metadata: No such file or directory
09-13 20:55:12.498 4925 4928 E gsid : Could not read metadata file /metadata/gsi/dsu/dsu/lp_metadata
09-13 20:55:12.498 4925 4928 E gsid : Installation failed, clean up: userdata_gsi
09-13 20:55:12.498 4925 4928 E gsid : Installation failed: install_dir=/data/gsi/dsu/, dsu_slot=dsu, partition_name=userdata
09-13 20:55:12.499 445 975 D vold : destroy_dsu_metadata_key: dsu
09-13 20:55:12.499 445 975 D vold : DSU metadata_key_dir doesn't exist, nothing to remove: /metadata/vold/metadata_encryption/dsu/dsu
09-13 20:55:12.503 8041 8041 D InstallationAsyncTask: onPostExecute(), URL: content://com.android.externalstorage.documents/tree/primary%3Adsu/document/primary%3Adsu%2Fworkspace_dsuhelper%2FFlymeOS-13.img.gz, result: 3
09-13 20:55:12.503 8041 8041 D DynamicSystemInstallationService: status: NOT_STARTED, cause: ERROR_IO, detail: java.io.IOException: Failed to start installation with requested size: 8589934592

I'm wondering what could have caused the error
"open '/dev/block/by-name/super' failed: Permission denied" Should I unpack and repack the super.img then flash it back?
"open failed: /metadata/gsi/dsu/dsu/lp_metadata: No such file or directory" means I should create a file lp_metadata?

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