This commit is contained in:
2026-06-10 01:58:48 +02:00
parent 32c700d41d
commit 1a65c41458
4 changed files with 44 additions and 1 deletions

4
.gitignore vendored
View File

@@ -39,7 +39,6 @@ local.properties
captures/ captures/
.externalNativeBuild/ .externalNativeBuild/
.cxx/ .cxx/
*.apk
output.json output.json
# IntelliJ # IntelliJ
@@ -59,3 +58,6 @@ google-services.json
# Android Profiling # Android Profiling
*.hprof *.hprof
*.key
*_fix*
out/

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@@ -1,2 +1,43 @@
# bejeweled-classic # bejeweled-classic
## The issue
Bejewled Classic (v3.8.1) has issues with newer high resolution screens, which results in forced landscape mode. In some cases, the inputs are all over the place.
![](.res/Screenshot_20260609_224457_Classic.png)
## Fix
### Download
[Download from releases]()
### DIY
> Keep in mind that I use linux mint, so some stuff might be a bit different, depending on your distro.
> Tools:
> - default-jdk (more specific `apksigner` is needed)
> - [apktool](https://apktool.org/docs/install) (newer versions do work better than what comes from the debian repos)
> - aapt
> - adb (optional)
1. Download the apk or use the one which comes within this repo (I got it from [apkpure](https://apkpure.com/bejeweled-classic/com.ea.gp.bej3/download))
2. decompile the apk `apktool d bejeweled_classic_3.8.1.apk -o out`
3. edit the `out/AndroidManifest.xml` and change in the `<supports-screens>` section the value for the attribute `xlargeScreens` from `false` to `true`
4. Recompile the apk `apktool b out -o bejeweled_classic_3.8.1_fix.apk`
5. Generate a key to sign the apk
- `keytool -genkeypair -keystore bejeweled-classic.key -alias mykey -keyalg RSA -keysize 2048 -validity 10000`
- Set a password for the key, for example using `openssl rand -hex 20`
- Answer every question, except the organisation (use anything like your nickname or whatever), with a `.` dot and finally confirm with `yes`
6. Sign the apk `apksigner sign --ks bejeweled-classic.key bejeweled_classic_3.8.1_fix.apk`
7. Install the `bejeweled_classic_3.8.1_fix.apk` by transfering it to your phone or via adb, make sure to uninstall the existing app beforehand
### XML Line
```xml
<supports-screens android:largeScreens="true" android:normalScreens="true" android:requiresSmallestWidthDp="240" android:smallScreens="true" android:xlargeScreens="false"/>
```
Needs to be changed to
```xml
<supports-screens android:largeScreens="true" android:normalScreens="true" android:requiresSmallestWidthDp="240" android:smallScreens="true" android:xlargeScreens="true"/>
```

BIN
bejeweled_classic_3.8.1.apk Normal file

Binary file not shown.