GameBar: Update ReadMe

Signed-off-by: kenway214 <kenway214@outlook.com>
This commit is contained in:
kenway214
2025-11-03 03:27:38 +05:30
parent 55fcc0a04c
commit a28b682364
13 changed files with 3 additions and 14 deletions

View File

@@ -93,18 +93,7 @@ GameBar is a comprehensive real-time performance monitoring overlay for Android
$(call inherit-product, packages/apps/GameBar/gamebar.mk) $(call inherit-product, packages/apps/GameBar/gamebar.mk)
``` ```
3. **Create device-specific overlay** (IMPORTANT): 3. **Configure hardware paths**:
Create the overlay directory structure:
```bash
mkdir -p device/<vendor>/<device>/overlay/packages/apps/GameBar/res/values
```
Create `device/<vendor>/<device>/overlay/packages/apps/GameBar/res/values/config.xml`:
**Example overlay configuration:** [View config.xml example](LINK_HERE)
4. **Configure hardware paths**:
Edit your device overlay `config.xml`: Edit your device overlay `config.xml`:
@@ -124,12 +113,12 @@ GameBar is a comprehensive real-time performance monitoring overlay for Android
</resources> </resources>
``` ```
5. **Customize init.rc** (if needed): 4. **Customize init.rc** (if needed):
Edit `packages/apps/GameBar/init/init.gamebar.rc` to match your device's hardware paths. Edit `packages/apps/GameBar/init/init.gamebar.rc` to match your device's hardware paths.
Ensure permissions are set for all sysfs nodes used by GameBar. Ensure permissions are set for all sysfs nodes used by GameBar.
6. **Build**: 5. **Build**:
```bash ```bash
# Clean build (recommended for first build) # Clean build (recommended for first build)
m clean m clean

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 KiB

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 KiB

After

Width:  |  Height:  |  Size: 286 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 KiB

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 KiB

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 KiB

After

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 KiB

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 322 KiB

After

Width:  |  Height:  |  Size: 250 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 381 KiB

After

Width:  |  Height:  |  Size: 308 KiB