Skip to content

Commit 006e062

Browse files
authored
Merge pull request #15 from FahimFBA/main
updated README
2 parents be67d80 + 0ede3b8 commit 006e062

File tree

1 file changed

+49
-22
lines changed

1 file changed

+49
-22
lines changed

README.md

Lines changed: 49 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,89 @@
11
# IT'S **WIP**
22

3-
# 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.
44

5-
# As a temporary measure I made a tutorial
6-
[![How to install Google Apps (Play Store) on WSA (Windows Subsystem Android)](http://img.youtube.com/vi/rIt00xDp0tM/0.jpg)](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+
<p align="center">
8+
9+
[![How to install Google Apps (Play Store) on WSA (Windows Subsystem Android)](http://img.youtube.com/vi/rIt00xDp0tM/0.jpg)](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)
714

8-
## SIGN IN DOESN'T WORK CURRENTLY. (Unless you use the fix at the bottom)
915
### THIS IS FOR TESTING
1016

1117
### Download msixbundle (~1.2GB)
18+
1219
Use this [link](https://store.rg-adguard.net/) to download the msixbundle with the settings ProductId: 9P3395VX91NR, Ring: SLOW
1320

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.
1624

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
1828

19-
### Install unzip lzip
2029
For Ubuntu
30+
2131
```
2232
sudo apt-get update
2333
sudo apt install unzip lzip
2434
```
2535

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/)
2839

2940
### Extract msixbundle
41+
3042
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.
3244

3345
### Clone this repo and populate the directories
46+
3447
For Ubuntu
48+
3549
```
3650
git clone https://github.com/ADeltaX/WSAGAScript
3751
cd WSAGAScript/\#IMAGES
3852
mv /mnt/path-to-extracted-msix/*.img .
3953
cd ../\#GAPPS
4054
cp /mnt/path-to-downloaded-gapps/*.zip .
4155
```
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
4356

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
4458

4559
### Edit scripts
60+
4661
Set executable permission for the scripts
62+
4763
```
4864
cd ..
4965
sudo chmod +x extract_gapps_pico.sh
5066
sudo chmod +x extend_and_mount_images.sh
5167
sudo chmod +x apply.sh
5268
sudo chmod +x unmount_images.sh
5369
```
70+
5471
Change the root directory in VARIABLES.sh
72+
5573
```
5674
pwd
5775
```
76+
5877
(take note of the output)
78+
5979
```
6080
nano VARIABLES.sh
6181
```
6282

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
6584

6685
### Run the scripts
86+
6787
**Debian WSL users need to create an mtab symlink:**
6888
```
6989
sudo ln -s /proc/self/mounts /etc/mtab
@@ -77,26 +97,33 @@ sudo ./unmount_images.sh
7797
```
7898

7999
### Copy the edited images
100+
80101
```
81102
cd \#IMAGES
82103
cp *.img /mnt/path-to-extracted-msix/
83104
```
105+
84106
### 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`
88111

89112
WSA will install with gapps
90113

91-
# WORKAROUND FOR SIGN IN ISSUE:
114+
# WORKAROUND FOR SIGN-IN ISSUE:
115+
92116
## (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)
94117

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
96123

97-
Enter adb shell and run
98124
```
99125
su
100126
setenforce 0
101127
```
102-
You can now sign in
128+
129+
You can sign in successfully from now on.

0 commit comments

Comments
 (0)