Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Shizuku Installer not working on Huawei devices #935

Open
rollingmoai opened this issue Feb 21, 2025 · 11 comments
Open

[BUG] Shizuku Installer not working on Huawei devices #935

rollingmoai opened this issue Feb 21, 2025 · 11 comments
Labels
bug Something isn't working

Comments

@rollingmoai
Copy link

rollingmoai commented Feb 21, 2025

Describe the bug
When I try to install something with Shizuku it just creates an infinite "Installing" loop and I can't click on cancel.

To Reproduce
Steps to reproduce the behavior:
1- Enable Shizuku from its app, it is working. Tried with another app as well to be sure (Canta), works as intended.
2- Open Droidify, select "Shizuku Installer"
3- Try to install any app and it stuck at "Installing", forces me to kill the app.

Expected behavior
It works.

Smartphone (please complete the following information):

  • Device: Huawei nova 11i
  • OS: EMUI 14.2 (Android 12)
  • Version 0.6.4

Additional context
Similar issue with #781

@rollingmoai rollingmoai added the bug Something isn't working label Feb 21, 2025
@Iamlooker
Copy link
Member

Logs?

@rollingmoai
Copy link
Author

Sorry, can you guide me on what logs should I provide? I'm not sure what to run with logcat

@Iamlooker
Copy link
Member

Android Logcat and Capturing Logs

Logcat is useful for debugging and troubleshooting issues.

Here's how you can capture logs:

  1. Download Latest version of Logfox
  2. Provide READ_LOGS* permission when asked
  3. Follow the in-app instruction to start recording log
  4. Reproduce the bug in the Droid-ify and stop recording the log
  5. Copy the crash log and provide when reporting issues

For Android 12+ you will be asked to allow permission on start-up without any setup. But for older versions you will be required to follow steps provided in the app itself

@rollingmoai
Copy link
Author

Here you go:
21_02-21-35-30_821.log

@Iamlooker
Copy link
Member

Nothing important was caught in the logs, maybe try setting a filter in the log fox app which selects droidify and select log level DEBUG, VERBOSE, WARNING, ERROR and try recording. or maybe try the alpha version

You can download the latest alpha builds from our Telegram Community or Actions Tab

@rollingmoai
Copy link
Author

rollingmoai commented Feb 21, 2025

Nothing important was caught in the logs, maybe try setting a filter in the log fox app which selects droidify and select log level DEBUG, VERBOSE, WARNING, ERROR and try recording.

Nothing important seems to appear when I create this filter. I tried to reproduce the bug with the app stuck at "installing" as shown on the screenshot:

Image

1740150160.428 10547 24397 24397 D ActivityThread: Won't deliver top position change in state=5
1740150160.491 10547 24397 24397 D BufferQueueCore: BufferQueueCore: mDebugHwFlow=0, mIsBufferQueueLogVSupport=0.
1740150160.493 10547 24397 24397 D InsetsSourceConsumer: ViewUI_insets setControl -> ITYPE_STATUS_BAR on com.looker.droidify/com.looker.droidify.MainActivity
1740150160.493 10547 24397 24397 D InsetsSourceConsumer: ViewUI_insets setControl mType:0, requestedVisible:true, getLeash:null, needAnimation:false, mIsAnimationPending:false, getRootViewTitle:com.looker.droidify/com.looker.droidify.MainActivity
1740150160.494 10547 24397 26976 E OpenGLRenderer: Unable to match the desired swap behavior.
1740150160.540 10547 24397 24397 D InsetsSourceConsumer: ViewUI_insets setControl -> ITYPE_STATUS_BAR on com.looker.droidify/com.looker.droidify.MainActivity
1740150160.541 10547 24397 24397 D InsetsSourceConsumer: ViewUI_insets setControl mType:0, requestedVisible:true, getLeash:Surface(name=Surface(name=5e039c9 StatusBar)/@0x2c8b3ef - animation-leash of insets_animation)/@0xa52c97c, needAnimation:false, mIsAnimationPending:false, getRootViewTitle:com.looker.droidify/com.looker.droidify.MainActivity
1740150160.630 10547 24397 26955 D OpenGLRenderer: gpu complete is not signaled
1740150160.635 10547 24397 24397 D InsetsSourceConsumer: ViewUI_insets setControl -> ITYPE_IME on com.looker.droidify/com.looker.droidify.MainActivity
1740150160.643 10547 24397 26955 D OpenGLRenderer: gpu complete is not signaled
1740150160.648 10547 24397 26955 D OpenGLRenderer: gpu complete is not signaled
1740150160.668 10547 24397 26955 D OpenGLRenderer: gpu complete is not signaled
1740150160.679 10547 24397 26955 D OpenGLRenderer: gpu complete is not signaled
1740150160.688 10547 24397 26955 D OpenGLRenderer: gpu complete is not signaled
1740150160.699 10547 24397 26955 D OpenGLRenderer: gpu complete is not signaled
1740150160.710 10547 24397 26948 D OpenGLRenderer: gpu complete is not signaled
1740150161.103 10547 24397 24397 D HwDragEnhancementImpl: handleTimerDrag: false
1740150161.112 10547 24397 24397 D HwDragEnhancementImpl: Start long press for hw drag enhancement.
1740150161.140 10547 24397 24397 D WebViewDragEnhancement: dragReset.
1740150161.140 10547 24397 24397 D WebViewDragEnhancement: dragReset cacheSize = 0
1740150161.152 10547 24397 24397 V AudioManager: querySoundEffectsEnabled...


The alpha build from telegram also seems to crash:

FATAL EXCEPTION: ModernAsyncTask #1
Process: com.looker.droidify.alpha, PID: 23639
java.lang.RuntimeException: An error occurred while executing doInBackground()
	at androidx.loader.content.ModernAsyncTask$3.done(ModernAsyncTask.java:164)
	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
	at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
	at java.util.concurrent.FutureTask.run(FutureTask.java:271)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:933)
Caused by: android.database.sqlite.SQLiteException: another row available (Sqlite code 100 SQLITE_ROW), (OS error - 0:Success)
	at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
	at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:1047)
	at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:858)
	at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
	at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:145)
	at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:132)
	at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:238)
	at android.database.AbstractCursor.moveToNext(AbstractCursor.java:287)
	at com.looker.droidify.utility.common.extension.CursorKt.asSequence$lambda$0(Cursor.kt:6)
	at com.looker.droidify.utility.common.extension.CursorKt.$r8$lambda$WhzDcrC4K7IqtIqnJQkeofdrmQ4(Cursor.kt:0)
	at com.looker.droidify.utility.common.extension.CursorKt$$ExternalSyntheticLambda0.invoke(R8$$SyntheticClass:0)
	at kotlin.sequences.GeneratorSequence$iterator$1.calcNext(Sequences.kt:609)
	at kotlin.sequences.GeneratorSequence$iterator$1.hasNext(Sequences.kt:627)
	at com.looker.droidify.database.QueryBuilder.query(QueryBuilder.kt:1317)
	at com.looker.droidify.database.Database$ProductAdapter.query(Database.kt:719)
	at com.looker.droidify.database.Database$ProductAdapter.query$default(Database.kt:632)
	at com.looker.droidify.database.CursorOwner.onCreateLoader$lambda$0(CursorOwner.kt:98)
	at com.looker.droidify.database.CursorOwner.$r8$lambda$5nWmPejKLeHknbMUJafBBmusth4(CursorOwner.kt:0)
	at com.looker.droidify.database.CursorOwner$$ExternalSyntheticLambda0.invoke(R8$$SyntheticClass:0)
	at com.looker.droidify.database.QueryLoader.loadInBackground(QueryLoader.kt:25)
	at com.looker.droidify.database.QueryLoader.loadInBackground(QueryLoader.kt:9)
	at androidx.loader.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:307)
	at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:60)
	at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:48)
	at androidx.loader.content.ModernAsyncTask$2.call(ModernAsyncTask.java:141)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	... 3 more

@Iamlooker
Copy link
Member

Alpha build crashes on start up?

@rollingmoai
Copy link
Author

rollingmoai commented Feb 21, 2025

Alpha build crashes on start up?

Yes

@Iamlooker
Copy link
Member

Check the new release, if it crashes, give crash logs and try fresh install

@rollingmoai
Copy link
Author

I tried a fresh install, and it doesn't crash. Anyways, Shizuku installation still isn't working:

01_03-19-45-56_971.log

@rollingmoai
Copy link
Author

@Iamlooker I was having the same problem with installations on Obtanium, and setting "Set Google Play as the installation source (if Shizuku is used)" worked. In App Manager, setting the install source to com.android.shell or com.android.vending fixed the problem. Could this be the source of the issue?

@rollingmoai rollingmoai changed the title [BUG] Shizuku Installer not working [BUG] Shizuku Installer not working on Huawei devices Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants