Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

App won't install #48

Open
ryboy111 opened this issue Dec 16, 2023 · 2 comments
Open

App won't install #48

ryboy111 opened this issue Dec 16, 2023 · 2 comments

Comments

@ryboy111
Copy link

Here is the log:
Vendetta Manager v1.0.98
Built from commit d6929c1 on main (Changes Present)

Running Android 13, API level 33
Supported ABIs: arm64-v8a, armeabi-v7a, armeabi

Checking if base-208017.apk is cached
base-208017.apk is not cached, downloading now
Move base-208017.apk to working directory
Checking if config.arm64_v8a-208017.apk is cached
config.arm64_v8a-208017.apk is not cached, downloading now
Move config.arm64_v8a-208017.apk to working directory
Checking if config.en-208017.apk is cached
config.en-208017.apk is not cached, downloading now
Move config.en-208017.apk to working directory
Checking if config.xxhdpi-208017.apk is cached
config.xxhdpi-208017.apk is not cached, downloading now
Move config.xxhdpi-208017.apk to working directory
Checking if vendetta.apk is cached
vendetta.apk is not cached, downloading now
Move vendetta.apk to working directory
Replacing mipmap-xhdpi-v4 with ic_logo_foreground.png
Replacing mipmap-xxhdpi-v4 with ic_logo_foreground.png
Replacing mipmap-xxxhdpi-v4 with ic_logo_foreground.png
Replacing mipmap-xhdpi-v4 with ic_logo_square.png
Replacing mipmap-xxhdpi-v4 with ic_logo_square.png
Replacing mipmap-xxxhdpi-v4 with ic_logo_square.png
Replacing mipmap-xhdpi-v4 with ic_logo_foreground.png
Replacing mipmap-xxhdpi-v4 with ic_logo_foreground.png
Replacing mipmap-xxxhdpi-v4 with ic_logo_foreground.png
Reading AndroidManifest.xml from base-208017.apk
Changing package and app name in base-208017.apk
Deleting old AndroidManifest.xml in base-208017.apk
Adding patched AndroidManifest.xml in base-208017.apk
Reading AndroidManifest.xml from config.arm64_v8a-208017.apk
Changing package and app name in config.arm64_v8a-208017.apk
Changing package name in config.arm64_v8a-208017.apk
Deleting old AndroidManifest.xml in config.arm64_v8a-208017.apk
Adding patched AndroidManifest.xml in config.arm64_v8a-208017.apk
Reading AndroidManifest.xml from config.en-208017.apk
Changing package and app name in config.en-208017.apk
Changing package name in config.en-208017.apk
Deleting old AndroidManifest.xml in config.en-208017.apk
Adding patched AndroidManifest.xml in config.en-208017.apk
Reading AndroidManifest.xml from config.xxhdpi-208017.apk
Changing package and app name in config.xxhdpi-208017.apk
Changing package name in config.xxhdpi-208017.apk
Deleting old AndroidManifest.xml in config.xxhdpi-208017.apk
Adding patched AndroidManifest.xml in config.xxhdpi-208017.apk
Creating dir for signed apks
Byte aligning base-208017.apk
Removing old resources.arsc
Adding aligned resources.arsc
Byte aligning config.arm64_v8a-208017.apk
Byte aligning config.en-208017.apk
Removing old resources.arsc
Adding aligned resources.arsc
Byte aligning config.xxhdpi-208017.apk
Removing old resources.arsc
Adding aligned resources.arsc
Signing base-208017.apk
Signing config.arm64_v8a-208017.apk
Signing config.en-208017.apk
Signing config.xxhdpi-208017.apk
Processing /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/signed/base-208017.apk -> /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/patched/lspatched/base-208017-375-lspatched.apk
apk path: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/signed/base-208017.apk
Parsing original apk...
Register apk signer with custom keystore...
original appComponentFactory class: androidx.core.app.CoreComponentFactory
original minSdkVersion: 24
Patching apk...
Adding config...
Adding metaloader dex...
Adding loader dex...
Adding native lib...
added assets/lspatch/so/x86_64/liblspatch.so
added assets/lspatch/so/x86/liblspatch.so
added assets/lspatch/so/armeabi-v7a/liblspatch.so
added assets/lspatch/so/arm64-v8a/liblspatch.so
Embedding modules...

  • com.vendetta.xposed
    Creating nested apk link...
    Writing apk...
    Done. Output APK: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/patched/lspatched/base-208017-375-lspatched.apk
    Processing /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/signed/config.arm64_v8a-208017.apk -> /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/patched/lspatched/config.arm64_v8a-208017-375-lspatched.apk
    apk path: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/signed/config.arm64_v8a-208017.apk
    Parsing original apk...
    Register apk signer with custom keystore...
    original appComponentFactory class: null
    original minSdkVersion: 0
    Patching apk...
    Adding config...
    Adding metaloader dex...
    Adding loader dex...
    Adding native lib...
    added assets/lspatch/so/x86_64/liblspatch.so
    added assets/lspatch/so/x86/liblspatch.so
    added assets/lspatch/so/armeabi-v7a/liblspatch.so
    added assets/lspatch/so/arm64-v8a/liblspatch.so
    Embedding modules...
  • com.vendetta.xposed
    Creating nested apk link...
    Writing apk...
    Done. Output APK: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/patched/lspatched/config.arm64_v8a-208017-375-lspatched.apk
    Processing /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/signed/config.en-208017.apk -> /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/patched/lspatched/config.en-208017-375-lspatched.apk
    apk path: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/signed/config.en-208017.apk
    Parsing original apk...
    Register apk signer with custom keystore...
    original appComponentFactory class: null
    original minSdkVersion: 0
    Patching apk...
    Adding config...
    Adding metaloader dex...
    Adding loader dex...
    Adding native lib...
    added assets/lspatch/so/x86_64/liblspatch.so
    added assets/lspatch/so/x86/liblspatch.so
    added assets/lspatch/so/armeabi-v7a/liblspatch.so
    added assets/lspatch/so/arm64-v8a/liblspatch.so
    Embedding modules...
  • com.vendetta.xposed
    Creating nested apk link...
    Writing apk...
    Done. Output APK: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/patched/lspatched/config.en-208017-375-lspatched.apk
    Processing /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/signed/config.xxhdpi-208017.apk -> /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/patched/lspatched/config.xxhdpi-208017-375-lspatched.apk
    apk path: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/signed/config.xxhdpi-208017.apk
    Parsing original apk...
    Register apk signer with custom keystore...
    original appComponentFactory class: null
    original minSdkVersion: 0
    Patching apk...
    Adding config...
    Adding metaloader dex...
    Adding loader dex...
    Adding native lib...
    added assets/lspatch/so/x86_64/liblspatch.so
    added assets/lspatch/so/x86/liblspatch.so
    added assets/lspatch/so/armeabi-v7a/liblspatch.so
    added assets/lspatch/so/arm64-v8a/liblspatch.so
    Embedding modules...
  • com.vendetta.xposed
    Creating nested apk link...
    Writing apk...
    Done. Output APK: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/208017/patched/lspatched/config.xxhdpi-208017-375-lspatched.apk
    Gathering final apks
    Installing apks

Failed on step INSTALL_APK

java.io.IOException: Failed to allocate 67423526 because only 0 allocatable
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.os.ParcelableException.readFromParcel(ParcelableException.java:56)
at android.os.ParcelableException$1.createFromParcel(ParcelableException.java:82)
at android.os.ParcelableException$1.createFromParcel(ParcelableException.java:79)
at android.os.Parcel.readParcelableInternal(Parcel.java:4787)
at android.os.Parcel.readParcelable(Parcel.java:4755)
at android.os.Parcel.createExceptionOrNull(Parcel.java:3018)
at android.os.Parcel.createException(Parcel.java:3007)
at android.os.Parcel.readException(Parcel.java:2990)
at android.os.Parcel.readException(Parcel.java:2932)
at android.content.pm.IPackageInstallerSession$Stub$Proxy.openWrite(IPackageInstallerSession.java:565)
at android.content.pm.PackageInstaller$Session.openWrite(PackageInstaller.java:1110)
at dev.beefers.vendetta.manager.installer.util.PackageInstallerKt.installApks(PackageInstaller.kt:29)
at dev.beefers.vendetta.manager.ui.viewmodel.installer.InstallerViewModel.install(InstallerViewModel.kt:412)
at dev.beefers.vendetta.manager.ui.viewmodel.installer.InstallerViewModel.access$install(InstallerViewModel.kt:42)
at dev.beefers.vendetta.manager.ui.viewmodel.installer.InstallerViewModel$job$1$1.invokeSuspend(InstallerViewModel.kt:123)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: android.os.RemoteException: Remote stack trace:
at android.util.ExceptionUtils.wrap(ExceptionUtils.java:34)
at com.android.server.pm.PackageInstallerSession.openWrite(PackageInstallerSession.java:1517)
at android.content.pm.IPackageInstallerSession$Stub.onTransact(IPackageInstallerSession.java:286)
at android.os.Binder.execTransactInternal(Binder.java:1316)
at android.os.Binder.execTransact(Binder.java:1280)

@vita-rw
Copy link

vita-rw commented Dec 16, 2023

this is really weird because usually

java.io.IOException: Failed to allocate 67423526 because only 0 allocatable

means that there's not enough ram, but when it's related to ram it usually shows "because only [amount of ram] allocatable". check your free space, restart phone, don't leave manager when you're installing - that's all

@AdityaMH
Copy link

AdityaMH commented Dec 18, 2023

don't leave manager when you're installing - that's all

"Failed to install: unknown reason"

If you installing from cache: crash immediately

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants