forked from continuwuation/continuwuity
3 KiB
3 KiB
Setup
Server
- Use this fork
- Make sure email works (config)
- Or don't use email if testing
Login still needs an email address, so!admin users change-email user user@mail.invalid
- Or don't use email if testing
- Set
well_known.clientif using delegation (config) - Route
api.server.nameto c10y if registration is enabled
Android
- Get an APK from somewhere
apktool d com.beeper.android.apk- Edit
com.beeper.android/smali_classes3/com/beeper/datastore/Environment.smali- Replace these strings with the server url and name (around line 200)
.line 50 .line 51 const-string v7, "https://matrix.beeper.com" .line 52 .line 53 const-string v8, "https://api.beeper.com" .line 54 .line 55 const-string v4, "PROD" .line 56 .line 57 const/4 v5, 0x3 .line 58 const-string v6, "beeper.com"
- Replace these strings with the server url and name (around line 200)
apktool b com.beeper.androiduber-apk-signer -a com.beeper.android/dist/com.beeper.android.apk- Install
com.beeper.android/dist/com.beeper.android-aligned-debugSigned.apk
Registration
Seems to work fine
Login
- Open Beeper and log in
- When it gets to
Syncing inbox...wait a few minutes to make sure it's done and then close the app adb rootadb pull /data/data/com.beeper.android/matrix/account.db{,-shm,-wal} .sqlite3 account.db "INSERT INTO store VALUES ('first_sync_done', 1);"adb push account.db /data/data/com.beeper.android/matrix/account.dbadb shellls -l /data/data/com.beeper.android/matrixand check the file ownerschown u0_a??? /data/data/com.beeper.android/matrix/account.dbchangeu0_a???to matchrm /data/data/com.beeper.android/matrix/account.db-*
- Open Beeper again
Linux
curl -OL https://api.beeper.com/desktop/download/linux/x64/stable/com.automattic.beeper.desktopchmod +x com.automattic.beeper.desktop./com.automattic.beeper.desktop --appimage-extractfind ./squashfs-root/resources/app/build -type f -print0 | xargs -0 sed -i '' -e 's|https://api.beeper.com|https://matrix.server.name|g'squashfs-root/beepertexts- Log in / register
- When it gets to
Syncing inbox...wait a few minutes to make sure it's done and then close Beeper sqlite3 ~/.config/BeeperTexts/account.db "INSERT INTO store VALUES ('first_sync_done', 1);"- Open it again
Issues
- The displayname and profile picture is sometimes not shown in the settings (but is fine everywhere else)
- They usually appear after changing either
- Changing the email doesn't work yet
- The app occasionally crashes
- UIAA is not implemented yet
- Messages can't be sent if
m.room.power_levelshasevents_default> powerlevel, even ifm.room.messagewould allow it - Beeper Desktop is weird with the room timeline
- Push/background notifications don't work