Skip to content

Commit 70add5c

Browse files
A Dynamic Collection of Shell Scripts with Educational Purpose
1 parent b9d9440 commit 70add5c

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

aliases/waydroid.fish

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ alias waydroid_app_list='waydroid app list'
1111
alias waydroid_script='sudo waydroid-extras'
1212
alias waydroid_show_full_ui='waydroid show-full-ui'
1313
alias waydroid_script_libhoudini='sudo waydroid-extras -l'
14+
alias waydroid_stop='sudo waydroid session stop && sudo waydroid container stop'
1415

1516
alias waydroid_mount_share_folder='help waydroid_mount_share_folder'
1617
alias waydroid_fix_solutions='help waydroid_fix_solutions'

aliases/waydroid.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ alias waydroid_app_list='waydroid app list'
1111
alias waydroid_script='sudo waydroid-extras'
1212
alias waydroid_show_full_ui='waydroid show-full-ui'
1313
alias waydroid_script_libhoudini='sudo waydroid-extras -l'
14+
alias waydroid_stop='sudo waydroid session stop && sudo waydroid container stop'
1415

1516
alias waydroid_mount_share_folder='help waydroid_mount_share_folder'
1617
alias waydroid_fix_solutions='help waydroid_fix_solutions'

scripts/helps/waydroid.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ waydroid_certificate_playstore() {
44
55
1. Run command:
66
7+
$ sudo waydroid shell -- sh -c "sqlite3 /data/data/com.google.android.gsf/databases/gservices.db 'select * from main where name = \"android_id\";'"
8+
9+
Or:
10+
711
$ sudo waydroid shell
812
9-
2. In waydroid shell, run command:
13+
# In waydroid shell, run command:
1014
1115
$ ANDROID_RUNTIME_ROOT=/apex/com.android.runtime ANDROID_DATA=/data ANDROID_TZDATA_ROOT=/apex/com.android.tzdata ANDROID_I18N_ROOT=/apex/com.android.i18n sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"
1216
13-
3. then access the link and use the number generated
17+
2. then access the link and use the number generated
1418
https://www.google.com/android/uncertified/
1519
1620
EOF

0 commit comments

Comments
 (0)