Shizuku icon indicating copy to clipboard operation
Shizuku copied to clipboard

Add portable GUI client for PC (use WebUSB?)

Open Cyberavater opened this issue 4 years ago • 10 comments

It'd be nice n easy to have a PC GUI client.

Cyberavater avatar May 16 '20 11:05 Cyberavater

Good

jerrdk avatar May 16 '20 13:05 jerrdk

It'd nice n easy to have a PC GUI client.

Code pin cc

jerrdk avatar May 16 '20 13:05 jerrdk

Give me money cc

Pada tanggal Sab, 16 Mei 2020 18:30, Cyberavater [email protected] menulis:

It'd nice n easy to have a PC GUI client.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/RikkaApps/Shizuku/issues/63, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN3JQ33DBQFJG7ZXQNEG2DDRRZ2LXANCNFSM4NC4C6RQ .

jerrdk avatar May 16 '20 13:05 jerrdk

Maybe use WebUSB is a more elegant choice?

RikkaW avatar May 22 '20 02:05 RikkaW

IDK, does WebUSB support ADB over wifi? (In case the user want to use it via wifi)

Cyberavater avatar May 31 '20 04:05 Cyberavater

I'm working on a GUI to start Shizuku. I can put it on Github when I finished

mamabun avatar Jul 14 '20 03:07 mamabun

I pushed the initial commit and pushed a pre-release binary. The binary can be found here and the code here. Let me know if there's any bugs or anything that should be added

mamabun avatar Jul 14 '20 23:07 mamabun

I'm out of town, so I can't really test it here. 😔

Cyberavater avatar Jul 15 '20 01:07 Cyberavater

Here is a live demo/prototype: https://z5uh2.csb.app/. Hope this will help the Shizuku Team implement Web GUI.

Steps

  • Open the demo in a Chromium-based browser (one of the browsers listed here https://caniuse.com/#search=webusb).
  • Plug your Android device to your PC via USB. Make sure the ADB debugging is enabled and the ADB server is stopped on your PC.
  • Press the "Connect" button.
  • The web app should start Shizuku service for you automatically.

Note

  • Tested on Pixel 3 with Android 10.
  • The web app does not support ADB over Wi-Fi.
  • You could even download Shizuku.apk, push it to your phone, and install it totally via the web app. However, this feature is not implemented yet.

Code backup (in case Code Sandbox is down / must serve over HTTPS) z5uh2.zip

Screenshot

image

ppoffice avatar Aug 27 '20 01:08 ppoffice

Yes, after finishing the app, it can be uploaded to chrome web store like one this; https://chrome.google.com/webstore/detail/helium-backup/gpglbgbpeobllokpmeagpoagjbfknanl

Cyberavater avatar Aug 27 '20 04:08 Cyberavater