LSPatch icon indicating copy to clipboard operation
LSPatch copied to clipboard

[Feature Request] Using package installer when shizuku is not connected

Open aayushrautela opened this issue 10 months ago • 22 comments

Is your feature request related to a problem?/你的请求是否与某个问题相关?

When pataching app locally if the shizuku is missing, it refuses to install the patched app. You have to go to the working directory and install the apk manually.

Describe the solution you'd like/描述你想要的解决方案

Falling back to package manager in case shizuku is not connected.

Additional context/其他信息

No response

aayushrautela avatar Mar 05 '25 10:03 aayushrautela

I tried it and compiled a version, you can try to let me know the result

manager-v0.7-433-release.apk.zip

xihan123 avatar Mar 23 '25 15:03 xihan123

Apps are not installing. For both integrated and local patch.

Image

aayushrautela avatar Mar 23 '25 15:03 aayushrautela

Apps are not installing. For both integrated and local patch.

Image

What is your Android version? If it is below 9, it is a normal prompt

xihan123 avatar Mar 23 '25 15:03 xihan123

It's android 15, stock pixel.

aayushrautela avatar Mar 23 '25 15:03 aayushrautela

It's android 15, stock pixel.

Is the installation in the file manager normal

xihan123 avatar Mar 23 '25 15:03 xihan123

Yes, works from file manager

aayushrautela avatar Mar 23 '25 15:03 aayushrautela

This happens when you try to install an app that doesn't match your device's architecture.

LIMEs-v avatar Mar 23 '25 15:03 LIMEs-v

I can install this APK without patch and even with patch but from file manager. So it definitely supports arm V8

aayushrautela avatar Mar 23 '25 15:03 aayushrautela

Can you send me any error logs or APKs

xihan123 avatar Mar 23 '25 16:03 xihan123

HorizonRevamped-v1.0.1-433-lspatched.apk.zip The logs page says it's not implemented yet. I will patch and send you APK. It's like this for all the apps.

aayushrautela avatar Mar 23 '25 16:03 aayushrautela

I think I know the reason now, because I cleared the cache in the wrong place after the test was completed.

xihan123 avatar Mar 23 '25 16:03 xihan123

lspatch.txt LogCat @xihan123

LIMEs-v avatar Mar 23 '25 16:03 LIMEs-v

Try installing it from here.

It's a different issue.

aayushrautela avatar Mar 23 '25 16:03 aayushrautela

Try installing it from here.

It's a different issue.

Yes, that's true, sorry, that was an error that happened to me too.

LIMEs-v avatar Mar 23 '25 16:03 LIMEs-v

Try installing it from here.

It's a different issue.

It should be the same reason, the cache was mistakenly deleted before installation

xihan123 avatar Mar 23 '25 16:03 xihan123

You can copy the output apk to /storage/emulated/0/Android/data/org.lsposed.lspatch/cache/ and click Install to verify

xihan123 avatar Mar 23 '25 16:03 xihan123

Android/data is not accessible on newer android

aayushrautela avatar Mar 23 '25 16:03 aayushrautela

Screenshot_20250324-013812.png

No files..

areteruhiro avatar Mar 23 '25 16:03 areteruhiro

fix version manager-v0.7-433-release.apk.zip

xihan123 avatar Mar 23 '25 16:03 xihan123

Thank you, everything seems to be working as intended.

aayushrautela avatar Mar 24 '25 10:03 aayushrautela

@xihan123 You may send a pull-request when you feel ready. Thanks.

JingMatrix avatar Mar 24 '25 10:03 JingMatrix

add update Loader manager-v0.7-434-release.apk.zip

xihan123 avatar Mar 25 '25 05:03 xihan123