Giter VIP home page Giter VIP logo

dsu-sideloader's People

Contributors

androplus-org avatar angelacooljx avatar claudemirovsky avatar licaon-kter avatar manfred-mueller avatar poussinou avatar vegabobo avatar wstxda avatar yukonga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dsu-sideloader's Issues

file permission errors on hisense firmware

Hey all as stated in title on the hisense q5 I'm receiving some sort of a file error when trying to use this app.
3-08 16:23:35.520 11667 11669 E gsid : failed to create or open /data/gsi/dsu/userdata_gsi.img 03-08 16:23:35.520 11667 11669 E gsid : Could not create userdata image: /data/gsi/dsu/userdata_gsi.img 03-08 16:23:35.397 12192 12192 I chatty : uid=1000(system) com.hmct.eye.remind identical 12 lines 03-08 16:23:35.461 12192 12192 D EyeReminding: light can not show! 03-08 16:23:35.522 12498 12523 W System.err: java.io.IOException: Failed to start installation with requested size: 6964084736 03-08 16:23:35.523 12498 12523 W System.err: at com.android.dynsystem.InstallationAsyncTask.doInBackground(InstallationAsyncTask.java:130) 03-08 16:23:35.523 12498 12523 W System.err: at com.android.dynsystem.InstallationAsyncTask.doInBackground(InstallationAsyncTask.java:36) 03-08 16:23:35.523 12498 12523 W System.err: at android.os.AsyncTask$3.call(AsyncTask.java:378) 03-08 16:23:35.523 12498 12523 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 03-08 16:23:35.523 12498 12523 W System.err: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289) 03-08 16:23:35.523 12498 12523 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 03-08 16:23:35.523 12498 12523 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 03-08 16:23:35.523 12498 12523 W System.err: at java.lang.Thread.run(Thread.java:919) 03-08 16:23:35.523 12498 12498 D InstallationAsyncTask: onPostExecute(), URL: file:///storage/emulated/0/Download/workspace_dsuhelper/system-squeak-arm64-ab-gapps.img.gz, result: 2

Error parsing the package on ZTE Blade A5 2019

Note that i want to run this app on a device that is not rooted yet. but since i and other guys are close to a system shell (that we obtained on samsung) and we can port it to other brands, also we have been able to boot gsis in samsung phones. So next are other brands. I tried on ZTE Blade A5 2019 but it gives error parsing the package. Can you please fix that? thanks
Error is following:adb: failed to install /home/lol/Scaricati/DSU Sideloader 2.01.apk: Failure [INSTALL_FAILED_OLDER_SDK: Failed parse during installPackageLI: /data/app/vmdl1589275868.tmp/base.apk (at Binary XML file line #7): Requires newer sdk version #29 (current version is #28)]
Also you say that the DSU was introduced on A10 but i tried treble check and the device is compatible

DSU sideloader install fail

Using OnePlus 8 pro. Before using DSU sideloader, I used the inbuilt system DSU loader to install and successfully boot googles latest gsi but as soon as I try to use the sideloader app, that fails and then even the system inbuilt loader fails too. I don't understand as it used to work just fine. V1 didn't but v2 did but not anymore. Logs attached
logs.txt

Doubt

would it be possible to use the sd card storage instead of the internal memory?

40% check

I have a 256gb phone and am at 60% usage so this app won't load
What's the logic behind the 40% test?

Thanks

Activity Class does not exist

When running the latest version of the app, it all seems successful until it gets to the point of running a command through ADB. It always gives an error of
Error type 3 Error: Activity class {com.android.dynsystem/com.android.dynsystem.VerificationActivity} does not exist.
Despite then showing that the installation has started, no notification appears.
Device is an Xperia 5 III US model running the latest android 12 update with a locked bootloader.

Invalid Partition Metadata Header Table Size

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

Broken User Interface

Add small asterisk with
Select a GSI to install
**accepted formats are: gz, xz, img and zip (only DSU packages)

Or

Check if it is a DSU Package or just a zip file with hairy

Crash while setting up storage directory

I'm trying to install gsi on my mitv, it has no navbar and DocmentUI app, so i tried this app.
I chose root mode and normally it should have all the permissions, right?
I just clicked ”设定“

screen

I guess a log file may be needed to fix this, but I don't know how to get it.

“Your Device is Corrupted and Cannot be Trusted”

Under certain circumstances, loading a DSU through this app on a Google Pixel 6a device may trigger a bug that persists through factory reset.

The device will display “Your Device is corrupted and cannot be trusted”. before every boot. The message persisted after performing a restore from factory image (preserving user data).

The likely cause was LSposed, Magisk, and Zygote. However, in my testing, Magisk and Zygote resulted in a reboot back to the original OS without the error.

I was still able to successfully boot a Google Android 13 GSI and my normal OS even after the error occurred.

It may be the VNDK-Lite Phh GSI floss 64 ab build from June 2022 that triggered the flag.

https://forum.xda-developers.com/t/new-solution-without-wiping-pixel-6-pro-irregular-error-message-your-device-is-corrupt-it-cant-be-trusted-and-may-not-work-properly.4400091/

The solution (found on XDA was to flashing an older boot.img to reset the corruption flag.

The screen went away after flashing the stock boot from Android 13 because it was the only other system image available with a different security month. (July 2022 vs August 2022).

However using this app to install a DSU seems to have triggered the corruption flag and likely bug.

UserData partition size not working...

Downloaded latest AOSP from PHH: AOSP 12.0 v402

Packed it as a GZIP on PC, got the size for it on PC as well ( du -b system.img )

Selected the GZIP on the app, infromed the system bytes size, selected userdata do be 16GB ( I've set as default using the app settings )

Flashed, all went good, but when I rebooted to the DSU, the whole system has only 8GB avaliable

Btw, I'm brazilian.

Adding support for rom Installing

Sometimes I have ROMs in .zip which includes partitions in .dat.br:
rom.zip:

  • META-INF
  • system.new.dat.br
  • system.patch.dat
  • system.transfer.list
  • vendor.new.dat.br
  • vendor.patch.dat
  • vendor.transfer.list
  • product.new.dat.br
  • ...
    It will be great to add converting this roms to GSIs to make them able installing in DSU

Error

logs (1).txt

I've always fail to install gsi using dsu, at first it was fine i can install 5+ gsi without issue. But now it's keep fail and even I've install the same gsi that works before now it doesn't work anymore

Also I used only apk first but now using the magisk module also doesn't do anything

Edit : I'm sorry i think it's because my storage. I just removed something from 16gbs to 23gbs and now it's started to work again. But i have question how much storage i need because i only have 64gb model

DSU-Sideloader Crash

Hello! When I try to Install some Android 13 GSI from Nippon GSI. The App it's Crashing. I'm using MIUI 12.5.12 and my Device is Redmi 9T - Chime

Retain userdata when rebooting DSU GSI

Any possibility to keep userdata for a true dual boot feeling? I'm guessing this is controlled by the underlying DSU services and can't be changed from the app...

App suddenly crash when click install

The app stops working when I click on install button, no matter wich GSI Rom or compression I choose. No logs or error messages.

For this case, I'm trying to install Google GSI for Android 12.

My environment:

  • A Samsung Galaxy S20FE g970g/ds
  • Stock OneUi 4 (android 12)
  • Magisk 24.1
  • Device supports dynamic partitions
  • 96GB free on storage

I created a Roms folder in my internal memory and put permissions there. After that, I picked the rom on downloads folder and let everything else by default on app, and when I click on install, the app crashes.

I don't know how to provide more informations or logs, but let me know if there is something I can do.

It does not work

You need to have custom recovery for it to work. I have a pixel 4xl and I tried many gsi but none of them work all at the moment of restarting they take me to the recovery stock

Notification doesn't comes after running adb command

I downloaded the GSI file and normally followed the instructions. App said to run the adb command to start installation I ran the command, A popup appeared in my phone for asking the password, I entered the password, some commands ran and nothing happened!

Device Poco C3 (MIUI 12.0.16.0) Based on Android 10

Thanks in Advance

I has some questions!

Please make a magisk module, increase the userdata size!!, My phone can only set 18G maxium, I am running Android 11

Restart does not switch to GSI rom

I installed it to Lenovo Xiaoxin PadPro 2021. Its an Android 11 system with DSU support.
The default Android 12 GSI runs fine with buildin option.

I installed this app (non root) and installed GSI rom, but upon restart, it just restarted to original rom. The option is still there at notification bar to ask me to "discard" or "restart". Tried restart many times, all reboot back to mainos.

Magisk Installation

Hello, how could I flash Magisk on it?
After booting to recovery I flash same with main rom version (24.1) but after installation Magisk manager shows its not installed (on DSU rom)
Or how could I edit system files from DSU rom?

File selection screen does not appear

Device:Google Pixel 4a (5G)
Android Version:13(Tiramisu)
DSU Sideloader Version:1.03

Normally, when you touch Got It, the file selection screen is displayed, but it is not displayed in my environment.

a.mp4

License question

Thanks for making this app available! May I ask what license you're putting it under? Without any license, it's "all rights reserved" and thus not "truly free" 😉

Installing vendor and other partitions

Hello, I can install system.img but I don't know how to install vendor for this system.img
Do u know how to do it or can I implement it in the future?
Thanks for your help!
And which vendor is using right now?

Resurrection Remix OS GSI version reboots into stock recovery

Hello,

I tried using a GSI version of Resurrection Remix OS (compressed gapps) with this app, didn't get an error from within the app, but rather it rebooted into stock recovery with an error at the bottom saying something about locales and Odin (which was what i used to flash Magisk onto this device). Can provide a picture if needbe.

Device is a Samsung Galaxy Tab A7 (SM-T500) running stock Android 11 with magisk

Is it just the GSI rom or could it be something else?

Thanks in advance

DSU Installation failed on STG H10

I have an STG H10 (MT6737M) running Android 10 Go (ARM64 (32 Bit Mode)) trying to install LineageOS 20 a64 from Andy Yan's repo using DSUv2, my installation fails at the 60-70% mark, here are the logs.

Userdata only with 8gb

My problem with the app is the following, regardless of the value I put in "userdata" it always stays at 8gb, what intrigues me is that in the "Install" script, it has the value I had previously set (32gb).
Screenshot_20220918-225542_Configurações

install.txt

sorry for my horrible english, portuguese is my native language

"Installed failed" on Pixel 3 (blueline) unlocked bootloader

Hi, I can't seem to install any GSIs with this app; I have the latest version of Magisk, my bootloader is unlocked, and I have tried the stock ROM as well as various different custom ROMs but they all fail to install. I even flashed vbmeta per this comment #18 (comment) and did a factory reset but the issue persists. Attached is the most recent logfile.

Any assistance would be appreciated!

logs.txt
.

ADB Command Now Working - Fixed

Given adb command in the app -
adb shell ' sh "/storage/emulated/0/GSI/workspace_dsuhelper/install" '

this gives error
/system/bin/sh: sh /storage/emulated/0/GSI/workspace_dsuhelper/install : inaccessible or not found

Removing ' worked. Command -
adb shell sh "/storage/emulated/0/GSI/workspace_dsuhelper/install"

Device Information:
Samsung A52s 5G
OneUI 5.0 (Android 13)
API 33

Crashing on setup

msg: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT_TREE }
stacktrace: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT_TREE }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2169)

Possible answer to failed issue

I have a theory that it is failing for people because one of two things. Including myself because it worked before but not now.

  1. Inactive slot is not clear and we need instructions on how to clear the slot if it is not clear already such as after an update install that never got discarded
  2. Active slot is not changing for some reason where it was changing successfully before.

In the first case, we need information about HOW to clear the inactive slot. Second can be resolved by switching active manually upon reboot

Not booting after restart, can't seem to disable dm-verity

So as other people here, I'm stuck not being able to boot the DSU after a succesful installation.

As mentionned in #15, I tried flashing Google's empty vbmeta.img with the --disable-verity --disable-verification flags, but I just get a bootloop.
Also tried flashing my own vbmeta.img with the same flags or reinstalling Magisk with the echo KEEPVERITY=false>>/data/.magisk method, to no avail.

Am I stuck just having to format and flash the empty vbmeta, or is there another way for me to disable AVB without performing a factory reset ? :)
Trying this on a Poco F3 (alioth) running PixelPlusUI v4.8, and using the Magisk module with custom gsid.

Failed to start installation with requested size

  1. Phone model : Redmi Note 10 5G
  2. OS Version : Android 12(MIUI 13.0.2.0 SKSMIXM)

Sideloader is not working after upgrade to MIUI 13.0.2.0.

Below are logcat log

07-13 16:13:30.748  3225  3334 E InstallationAsyncTask: java.io.IOException: Failed to start installation with requested size: 68719476736
07-13 16:13:30.748  3225  3334 E InstallationAsyncTask: java.io.IOException: Failed to start installation with requested size: 68719476736
07-13 16:13:30.748  3225  3334 E InstallationAsyncTask:         at com.android.dynsystem.InstallationAsyncTask.installWritablePartition(InstallationAsyncTask.java:359)
07-13 16:13:30.748  3225  3334 E InstallationAsyncTask:         at com.android.dynsystem.InstallationAsyncTask.installUserdata(InstallationAsyncTask.java:375)
07-13 16:13:30.748  3225  3334 E InstallationAsyncTask:         at com.android.dynsystem.InstallationAsyncTask.doInBackground(InstallationAsyncTask.java:186)
07-13 16:13:30.748  3225  3334 E InstallationAsyncTask:         at com.android.dynsystem.InstallationAsyncTask.doInBackground(InstallationAsyncTask.java:47)
07-13 16:13:30.748  3225  3334 E InstallationAsyncTask:         at android.os.AsyncTask$3.call(AsyncTask.java:394)
07-13 16:13:30.748  3225  3334 E InstallationAsyncTask:         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
07-13 16:13:30.748  3225  3334 E InstallationAsyncTask:         at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
07-13 16:13:30.748  3225  3334 E InstallationAsyncTask:         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
07-13 16:13:30.748  3225  3334 E InstallationAsyncTask:         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
07-13 16:13:30.748  3225  3334 E InstallationAsyncTask:         at java.lang.Thread.run(Thread.java:920)

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.