You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This readme is being updated multiple times. I'm aware that's not clear, I'm going to resolve it ASAP.
3
+
# This readme is being updated frequently. As I am aware that it might not be completely clear right now, I am going to resolve it ASAP.
4
4
5
-
# As a temporary measure I made a tutorial
6
-
[](http://www.youtube.com/watch?v=rIt00xDp0tM"How to install Google Apps (Play Store) on WSA (Windows Subsystem Android)")
5
+
# As a temporary measure, I have also made a tutorial and hosted that video on YouTube.
6
+
7
+
<palign="center">
8
+
9
+
[](http://www.youtube.com/watch?v=rIt00xDp0tM'How to install Google Apps (Play Store) on WSA (Windows Subsystem Android)')
10
+
11
+
</p>
12
+
13
+
## SIGN-IN ISN'T WORKING CURRENTLY. (UNLESS YOU ARE USING THE FIX GIVEN AT THE BOTTOM)
7
14
8
-
## SIGN IN DOESN'T WORK CURRENTLY. (Unless you use the fix at the bottom)
9
15
### THIS IS FOR TESTING
10
16
11
17
### Download msixbundle (~1.2GB)
18
+
12
19
Use this [link](https://store.rg-adguard.net/) to download the msixbundle with the settings ProductId: 9P3395VX91NR, Ring: SLOW
13
20
14
-
### Install WSL2
15
-
Ubuntu is used in this guide but any other distro will work for this
21
+
### Install WSL2
22
+
23
+
Ubuntu is used in this guide, but any other distro will work for this just fine.
16
24
17
-
(We are assuming that you are using the exact terminal, and you are also continuing this from where the last command left off)
25
+
(We are assuming that you are using the exact terminal, and you are also continuing this from where the last command has been left off)
26
+
27
+
### Install unzip lzip
18
28
19
-
### Install unzip lzip
20
29
For Ubuntu
30
+
21
31
```
22
32
sudo apt-get update
23
33
sudo apt install unzip lzip
24
34
```
25
35
26
-
### Download gapps
27
-
Select Platform: x86_64 if Windows architecture is x64 otherwise choose ARM64, Android: 11 and Variant: Pico on [OpenGApps](https://opengapps.org/)
36
+
### Download gapps
37
+
38
+
Select Platform: x86_64 if Windows architecture is x64, otherwise choose ARM64, Android: 11 and Variant: Pico on [OpenGApps](https://opengapps.org/)
28
39
29
40
### Extract msixbundle
41
+
30
42
Download 7zip or a similar archival program and open the recently downloaded msixbundle. Find the msix file inside the msixbundle relating to your architecture and extract that to a folder.
31
-
Delete the files appxblockmap, appxsignature and \[content_types\] along with the folder appxmetadata
43
+
Delete the files appxblockmap, appxsignature and \[content_types\] along with the folder appxmetadata.
32
44
33
45
### Clone this repo and populate the directories
46
+
34
47
For Ubuntu
48
+
35
49
```
36
50
git clone https://github.com/ADeltaX/WSAGAScript
37
51
cd WSAGAScript/\#IMAGES
38
52
mv /mnt/path-to-extracted-msix/*.img .
39
53
cd ../\#GAPPS
40
54
cp /mnt/path-to-downloaded-gapps/*.zip .
41
55
```
42
-
paths in wsl follow the same as windows after /mnt/ its just the drive letter then folder structure as normal. For example /mnt/c/users would be the c:\users folder
43
56
57
+
paths in wsl follow the same as windows after /mnt/ its just the drive letter then folder structure as normal. For example /mnt/c/users would be the c:\users folder
44
58
45
59
### Edit scripts
60
+
46
61
Set executable permission for the scripts
62
+
47
63
```
48
64
cd ..
49
65
sudo chmod +x extract_gapps_pico.sh
50
66
sudo chmod +x extend_and_mount_images.sh
51
67
sudo chmod +x apply.sh
52
68
sudo chmod +x unmount_images.sh
53
69
```
70
+
54
71
Change the root directory in VARIABLES.sh
72
+
55
73
```
56
74
pwd
57
75
```
76
+
58
77
(take note of the output)
78
+
59
79
```
60
80
nano VARIABLES.sh
61
81
```
62
82
63
-
replace the root variable with the output of pwd up until and including the WSAGAScript folder
64
-
83
+
replace the root variable with the output of pwd up until and including the WSAGAScript folder
65
84
66
85
### Run the scripts
86
+
67
87
**Debian WSL users need to create an mtab symlink:**
68
88
```
69
89
sudo ln -s /proc/self/mounts /etc/mtab
@@ -77,26 +97,33 @@ sudo ./unmount_images.sh
77
97
```
78
98
79
99
### Copy the edited images
100
+
80
101
```
81
102
cd \#IMAGES
82
103
cp *.img /mnt/path-to-extracted-msix/
83
104
```
105
+
84
106
### Register the edited WSA
85
-
Enable developer mode in windows settings
86
-
Uninstall any other installed versions of WSA
87
-
Open powershell as admin and run ```Add-AppxPackage -Register path-to-extracted-msix\AppxManifest.xml```
107
+
108
+
- Enable developer mode in windows settings.
109
+
- Uninstall any other installed versions of WSA
110
+
- Open powershell as admin and run `Add-AppxPackage -Register path-to-extracted-msix\AppxManifest.xml`
88
111
89
112
WSA will install with gapps
90
113
91
-
# WORKAROUND FOR SIGN IN ISSUE:
114
+
# WORKAROUND FOR SIGN-IN ISSUE:
115
+
92
116
## (ADB SHELL ROOT WITH su)
93
-
Copy the kernel file from this repo and replace the kernel file inside the Tools folder of your extracted msix (make sure WSA is not running)
94
117
95
-
This will allow you use use su inside adb shell
118
+
Copy the kernel file from this repo and replace the kernel file inside the `Tools` folder of your extracted msix (make sure WSA is not running)
119
+
120
+
This will allow you to use use `su` inside the adb shell.
121
+
122
+
Enter into the adb shell and run the following commands
0 commit comments