Giter VIP home page Giter VIP logo

Comments (7)

VegaBobo avatar VegaBobo commented on June 27, 2024

DSU feature seems broken in your current ROM.
Are you running Android 10? if so, try set selinux to permissive, and try again.

from dsu-sideloader.

J3rr1ck avatar J3rr1ck commented on June 27, 2024

Selinux got set to permission and system mounted rw attached is the full log.
the major point of interest would seem to be
03-13 20:05:25.867 8583 8587 E gsid : File is too fragmented, needs more than 512 extents. 03-13 20:05:25.868 8583 8587 E gsid : Failed to read fiemap of file: /data/gsi/dsu/userdata_gsi.img.0000 03-13 20:05:25.869 4270 4498 D DeviceStorageMonitorService: updateStateEx oldLevel = 0, newLevel = 0 03-13 20:05:26.036 11061 11061 I chatty : uid=1000(system) com.hmct.eye.remind identical 9 lines 03-13 20:05:26.099 11061 11061 D EyeReminding: light can not show! 03-13 20:05:26.126 3798 4685 D GNSSMGT : watchdog: PowerState[UNKOWN STATE], gps_flag[4], readcount[0], idle time = 0, HeartCount = 0 03-13 20:05:26.163 11061 11061 D EyeReminding: light can not show! 03-13 20:05:26.487 8583 8587 E gsid : failed to create or open /data/gsi/dsu/userdata_gsi.img 03-13 20:05:26.487 8583 8587 E gsid : Could not create userdata image: /data/gsi/dsu/userdata_gsi.img 03-13 20:05:26.420 11061 11061 I chatty : uid=1000(system) com.hmct.eye.remind identical 4 lines 03-13 20:05:26.483 11061 11061 D EyeReminding: light can not show! 03-13 20:05:26.494 11233 11259 W System.err: java.io.IOException: Failed to start installation with requested size: 4816601088 03-13 20:05:26.494 11233 11259 W System.err: at com.android.dynsystem.InstallationAsyncTask.doInBackground(InstallationAsyncTask.java:130) 03-13 20:05:26.494 11233 11259 W System.err: at com.android.dynsystem.InstallationAsyncTask.doInBackground(InstallationAsyncTask.java:36) 03-13 20:05:26.494 11233 11259 W System.err: at android.os.AsyncTask$3.call(AsyncTask.java:378) 03-13 20:05:26.494 11233 11259 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 03-13 20:05:26.494 11233 11259 W System.err: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289) 03-13 20:05:26.495 11233 11259 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 03-13 20:05:26.495 11233 11259 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 03-13 20:05:26.495 11233 11259 W System.err: at java.lang.Thread.run(Thread.java:919) 03-13 20:05:26.496 11233 11233 D InstallationAsyncTask: onPostExecute(), URL: file:///storage/emulated/0/Download/workspace_dsuhelper/system-squeak-arm64-ab-gapps.img.gz, result: 2
logcat_dsu.txt

from dsu-sideloader.

VegaBobo avatar VegaBobo commented on June 27, 2024

You're using Android 10, right?
Android 10 seems to have this bug, fortunately it was fixed on 11, however people running Android 10 seem to be "out of luck".
I tried to fix this issue by building a custom gsid with some patches from Android 11, however, i do not have a Android 10 device to test it :\

Anyway, what Android version you're running? do you have Magisk installed? if so, i can send create a module with a custom gsid binary that may fix your issue (no clue if it will work)

from dsu-sideloader.

J3rr1ck avatar J3rr1ck commented on June 27, 2024

from dsu-sideloader.

VegaBobo avatar VegaBobo commented on June 27, 2024

Thats sad, anyway, i got a unisoc device running Android 10, and i got the same problems as you, after setting selinux to permissive, dsu just finishes silently with extents error, when using a custom gsid binary (the one i've did some changes), installation process works and finishes as well, but i cannot test if dsu is really working, because im running on locked bootloader (those unisoc seem hard to unlock without manufacture help).

If you, or someone else wants to try, ill be linking a Magisk Module (if no Magisk is avaiable, you can replace gsid binary directly into system partition, binary is inside module) module_gsid_test.zip (Android 10 ONLY)

About the changes, i've just compiled Android 10 with this:
https://android-review.googlesource.com/c/platform/system/gsid/+/1166406/

No clue if it will work, make sure to do a backup first, also, i have no idea what can go wrong, so keep caution!

from dsu-sideloader.

VegaBobo avatar VegaBobo commented on June 27, 2024

Ill be closing this as completed, DSU Sideloader v2 includes a optional Magisk module that adds a custom gsid binary, in which, may fix this Android 10 issue, i've tested installation, and seems to be working as expected (i cannot test if installation was really working because the unique device i have to test it, was one with locked bootloader).

from dsu-sideloader.

srihari0-0 avatar srihari0-0 commented on June 27, 2024

Is there any way to install that custom magisk module without root or any other way around. Sorry, I am new to this and i want to install this module but i don't want to root my device. I found this comment from another forum _ " if no Magisk is avaiable, you can replace gsid binary directly into system partition, binary is inside module) ". Can someone explain what it means.{ i have unlocked bootloader of my device and is running dsu in shizuku mode}

from dsu-sideloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.