Giter Site home page Giter Site logo

signal-message-changer's Introduction

signal-message-changer

Alter the message type of the messages in the Signal database. Three modes:

  1. Default mode: make all your SMS/MMS messages in Signal, look like Signal messages.
  2. --tosms mode: make all your Signal messages look more like SMS/MMS (this might help with exporting the entire Signal message store back to Android...)
  3. --undo mode: take previous modifications that have been made with signal-message-changer, and undo them

Change the message type

This code changes the type of your SMS text messages in Signal, to make them look more like Signal messages, so that hopefully they won't eventually all get deleted.

Note: future text messages will still need to be sent with a separate SMS app. But at least your existing messages won't suddenly one day disappear if Signal decides to stop showing (or delete) the old messages.

Caveats

  • Only tested on Docker, Linux and for Android
  • MAKE SURE YOU:
    • backup Signal before you begin
    • have written down the 30 digit backup code
    • still have your phone number for identity verification
    • still remember your numerical Signal Pin

Instructions

  1. Generate a Signal backup file
Signal -> Chats -> Backups -> Local Backup
  1. Transfer that file to your computer, file will be named eg: signal-2022-06-10-17-00-00.backup

  2. Download this repo and run:

cd signal-message-changer
export SIG_KEY=123451234512345123451234512345
export SIG_FILE=signal-2022-06-10-17-00-00.backup
make run
  1. A new backup file should be generated named signal-all-messages.backup. Transfer it back to your phone.

  2. Delete Signal from your phone (only if you're 100% confident that you can use your original backup if things don't work!)

  3. Reinstall Signal, it'll ask you if you've got a backup file that you want to restore from. Select your new file.

Thoughts

  • Feel free to shout out with any issues problems in github issues
  • Make sure to go and give signalbackup-tools some kudos as they do most of the heavy lifting

signal-message-changer's People

Contributors

alexlance avatar

Stargazers

Max Perrello avatar Peter avatar M avatar R.B. Boyer avatar  avatar

Watchers

 avatar

signal-message-changer's Issues

no such table: sms

Backup was created on a phone running Android 13 and Signal version 6.13.7.
Backup was transferred to computer and repo was downloaded as zip file.
Zip file was extracted, and terminal opened in the directory containing the python file and make file.
Backup was copied to this directory and backup file name was exported, as well as the passphrase.

After executing make run, the terminal shows the following output:

Read entire backup file...

done!

Exporting backup into 'bits//'
Writing HeaderFrame...
Writing DatabaseVersionFrame...
Writing Attachments...
Writing Avatars...
Writing SharedPrefFrame(s)...
Writing KeyValueFrame(s)...
Writing StickerFrames...
Writing EndFrame...
Writing database...
Done!

Traceback (most recent call last):
  File "/root/signal-message-changer.py", line 155, in <module>
    print_num_sms()
  File "/root/signal-message-changer.py", line 30, in print_num_sms
    cursor.execute(q)
sqlite3.OperationalError: no such table: sms
make: *** [Makefile:10: run] Error 1

Looking for a way to complete the process successfully.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.