Open oromis995 opened 2 years ago
Can confirm this issue on the N20 as well.
Can you send full logcat? first run "logcat -c" to clean logs, after that, run logcat normally, save everything into a file, and send it here, i think maybe selinux is denying read access to "/metadata/gsi/dsu/dsu/lp_metadata" (or maybe it dosen't exists? no clue), maybe there is useful information within full logcat
Same issue here.
Device: RMX3461 SDK: Android 13 (33) UserSelection(userSelectedUserdata=25769803776, userSelectedImageSize=-1, selectedFileUri=content://com.android.externalstorage.documents/document/739B-9B6B%3ADocuments%2FDerpFest-13_arm64-bgN-UNOFFICIAL.img.xz, selectedFileName=DerpFest-13_arm64-bgN-UNOFFICIAL.img.xz) SingleSystemImage(uri=content://com.android.externalstorage.documents/tree/primary%3ADsu/document/primary%3ADsu%2Fworkspace_dsuhelper%2FDerpFest-13_arm64-bgN-UNOFFICIAL.img.gz, fileSize=3638075392, type=SINGLE_SYSTEM_IMAGE) InstallationPreferences(isUnmountSdCard=false, useBuiltinInstaller=false) operationMode: ROOT Package: vegabobo.dsusideloader Version: 2.01 - 6 (miniDebug/No git info) checkDynamicPartitions: true checkUnavaiableStorage: true checkReadLogsPermission: true allocPercentage: 0.4 hasAvailableStorage: true maximumAllowedForAllocation: 49
--------- beginning of main
12-11 09:25:17.570 990 990 I android.hardware.power-service-qti: Power setMode: 5 to: 1
--------- beginning of system
12-11 09:25:17.570 1981 2269 D CompatibilityChangeReporter: Compat change id reported: 205907456; UID 1000; state: ENABLED
12-11 09:25:17.574 1981 2146 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 1000; state: DISABLED
12-11 09:25:17.575 1981 2146 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 1000; state: DISABLED
12-11 09:25:17.575 1981 2146 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 1000; state: DISABLED
12-11 09:25:17.575 1981 2146 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 1000; state: ENABLED
12-11 09:25:17.583 1357 1357 D Zygote : Forked child process 7690
12-11 09:25:17.583 1981 2157 I ActivityManager: Start proc 7690:com.android.dynsystem:dynsystem/1000 for next-top-activity {com.android.dynsystem/com.android.dynsystem.VerificationActivity}
12-11 09:25:17.601 7690 7690 E ystem:dynsystem: Not starting debugger since process cannot load the jdwp agent.
--------- beginning of kernel
12-11 09:25:17.605 7690 7690 E : (4)[7690:ystem:dynsystem]in system_process, t->comm is Thread-20,grouplead command is rs.media.module
12-11 09:25:17.605 7690 7690 I (4)[7690:ystem:dynsystem]binder: 7690:7690 ioctl 40046210 7ffe3b2990 returned -22
12-11 09:25:17.605 611 611 I (2)[611:logd.reader][20221211_09:25:17.604724]@2 logd: logdr: UID=0 GID=0 PID=7692 b tail=0 logMask=99 pid=0 start=0ns deadline=0ns
12-11 09:25:17.614 1981 2269 D CompatibilityChangeReporter: Compat change id reported: 181136395; UID 1000; state: DISABLED
12-11 09:25:17.614 1981 2269 D CompatibilityChangeReporter: Compat change id reported: 174042936; UID 1000; state: DISABLED
12-11 09:25:17.615 1981 2147 D CompatibilityChangeReporter: Compat change id reported: 197654537; UID 10102; state: ENABLED
12-11 09:25:17.616 7690 7690 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 1000; state: ENABLED
12-11 09:25:17.620 994 6686 I sensors-hal: handle_sns_std_sensor_event:130, ambient_light: ts=794362956322, lux = 13, raw_adc=0, data_cnt 0
12-11 09:25:17.624 1981 2206 I DisplayPowerController[0]: BrightnessEvent: disp=0, brt=0.30868873, rcmdBrt=0.30868873, preBrt=0.38358676, lux=13.351303, preLux=23.296679, hbmMax=1.0, hbmMode=off, thrmMax=1.0, flags=, reason=automatic
12-11 09:25:17.626 1981 1981 I BrightnessSynchronizer: [31] New Update 0.30868873(f) set brightness values: 79(i)
12-11 09:25:17.627 1981 1981 I BrightnessSynchronizer: Swallowing update of 79(i) by update: {[31] 0.30868873(f), mUpdatedTypes=1, mConfirmedTypes=1, mTimeUpdated=794371}
12-11 09:25:17.627 1981 1981 I BrightnessSynchronizer: Completed Update: {[31] 0.30868873(f), mUpdatedTypes=1, mConfirmedTypes=1, mTimeUpdated=794371}
12-11 09:25:17.638 7690 7690 V GraphicsEnvironment: ANGLE Developer option for 'com.android.dynsystem' set to: 'default'
12-11 09:25:17.638 7690 7690 V GraphicsEnvironment: ANGLE GameManagerService for com.android.dynsystem: false
12-11 09:25:17.638 7690 7690 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
12-11 09:25:17.640 7690 7690 D NetworkSecurityConfig: No Network Security Config specified, using platform default
12-11 09:25:17.640 7690 7690 D NetworkSecurityConfig: No Network Security Config specified, using platform default
12-11 09:25:17.649 7690 7690 D VerificationActivity: This device is not protected by a password/pin
12-11 09:25:17.649 7690 7690 D VerificationActivity: Starting Installation Service
12-11 09:25:17.661 7690 7690 D DynamicSystemInstallationService: onStartCommand(): action=android.os.image.action.START_INSTALL
12-11 09:25:17.664 7690 7712 D InstallationAsyncTask: Start doInBackground(), URL: content://com.android.externalstorage.documents/tree/primary%3ADsu/document/primary%3ADsu%2Fworkspace_dsuhelper%2FDerpFest-13_arm64-bgN-UNOFFICIAL.img.gz
12-11 09:25:17.664 7690 7690 D CompatibilityChangeReporter: Compat change id reported: 160794467; UID 1000; state: ENABLED
12-11 09:25:17.665 606 606 I servicemanager: Since 'gsiservice' could not be found, trying to start it as a lazy AIDL service
12-11 09:25:17.667 2428 2428 I (0)[2428:binder:1981_6][20221211_09:25:17.666504]@0 binder: context.name[binder] tr.size:128 service:gsiservice
12-11 09:25:17.674 1 1 I (2)[1:init][20221211_09:25:17.673487]@2 init: starting service 'gsid'...
12-11 09:25:17.682 1 1 I (2)[1:init][20221211_09:25:17.681392]@2 init: Control message: Processed ctl.interface_start for 'aidl/gsiservice' from pid: 606 (/system/bin/servicemanager)
12-11 09:25:17.697 990 990 I android.hardware.power-service-qti: Power setMode: 5 to: 0
12-11 09:25:17.712 7715 7715 I AidlLazyServiceRegistrar: Registering service gsiservice
12-11 09:25:17.713 606 606 I BpBinder: onLastStrongRef automatically unlinking death recipients:
Sidenote here: I've used DSU to successfully install Lineage on the Nord N20, but it's super random when it actually gives me the notification to reboot. I'd say once every 6 days or so I might get 1 random notification that the DSU image is ready to be rebooted to.
Same issue here.
Device: RMX3461 SDK: Android 13 (33) UserSelection(userSelectedUserdata=25769803776 ...
Try to install the Magisk module, the version without gsid should be ok, if problem persists, send new logs (appreciate if you can attach a text file containing the logs)
Sidenote here: I've used DSU to successfully install Lineage on the Nord N20, but it's super random when it actually gives me the notification to reboot. I'd say once every 6 days or so I might get 1 random notification that the DSU image is ready to be rebooted to.
Yeah, this problem seem to be happening in some devices, i saw some Samsung with the same issue too, no clue if there is any way to fix, anyway, if you're running app with root, you can discard, and reboot directly from DSU Sideloader app, i think is also possible to control dsu from gsi_tool command
Okay so, I may have found a solution for the problem
By simply deleting lp_metadata, From /metadata/gsi/dsu/dsu/
It will create a fresh file and the error should be fixed
It's happening most probably due to the lp_metadata file getting corrupted
Can you send full logcat? first run "logcat -c" to clean logs, after that, run logcat normally, save everything into a file, and send it here, i think maybe selinux is denying read access to "/metadata/gsi/dsu/dsu/lp_metadata" (or maybe it dosen't exists? no clue), maybe there is useful information within full logcat
in my case it doesn't exist.
Adb logcat shows the following error. I've tried installing half a dozen GSIs with different sizes on a OnePlus Nord N20 5G. Bootloader is unlocked and the key was changed. I am using the latest DSU Sideloader version, October Security Update, Android 11. Please let me know what you think. Thank you!
[liblp]Invalid partition metadata header table size. 11-12 19:52:11.495 10973 10976 E gsid : Could not read metadata file /metadata/gsi/dsu/dsu/lp_metadata 11-12 19:52:11.495 1901 7313 I DynamicSystemService: Failed to install userdata 11-12 19:52:11.498 10567 10965 E InstallationAsyncTask: java.io.IOException: Failed to start installation with requested size: 42949672960 11-12 19:52:11.498 10567 10965 E InstallationAsyncTask: java.io.IOException: Failed to start installation with requested size: 42949672960 11-12 19:52:11.498 10567 10965 E InstallationAsyncTask: at com.android.dynsystem.InstallationAsyncTask.installUserdata(InstallationAsyncTask.java:334) 11-12 19:52:11.498 10567 10965 E InstallationAsyncTask: at com.android.dynsystem.InstallationAsyncTask.doInBackground(InstallationAsyncTask.java:186) 11-12 19:52:11.498 10567 10965 E InstallationAsyncTask: at com.android.dynsystem.InstallationAsyncTask.doInBackground(InstallationAsyncTask.java:46) 11-12 19:52:11.498 10567 10965 E InstallationAsyncTask: at android.os.AsyncTask$3.call(AsyncTask.java:394) 11-12 19:52:11.498 10567 10965 E InstallationAsyncTask: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 11-12 19:52:11.498 10567 10965 E InstallationAsyncTask: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305) 11-12 19:52:11.498 10567 10965 E InstallationAsyncTask: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 11-12 19:52:11.498 10567 10965 E InstallationAsyncTask: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 11-12 19:52:11.498 10567 10965 E InstallationAsyncTask: at java.lang.Thread.run(Thread.java:923) 11-12 19:52:11.501 10973 10976 E gsid : [liblp]Invalid partition metadata header table size. 11-12 19:52:11.501 10973 10976 E gsid : Could not read metadata file /metadata/gsi/dsu/dsu/lp_metadata 11-12 19:52:11.508 10567 10567 D InstallationAsyncTask: onPostExecute(), URL: file:///storage/emulated/0/dsu/workspace_dsuhelper/lineage-20.0-20221111-UNOFFICIAL-arm64_bvS.img.gz, result: 3 11-12 19:52:11.509 10567 10567 D DynSystemInstallationService: status=NOT_STARTED, cause=ERROR_IO, detail=java.io.IOException: Failed to start installation with requested size: 42949672960