Extracting SIP Credentials from Sipgate Satellite

WARNING:

Sipgate have contacted me. They WILL block your account and ban you from Satellite if you connect any other SIP client using these credentials. I only still provide the following because it is interesting from a technical perspective, don’t do it if you depend on your accout.

 

Sipgate Satellite is a VoIP app that allows you to use a German mobile phone number in an app.

But this app requires Google Play Services (though it works with microg) and is not open source and you don’t get the actual SIP credentials to use the SIP account on a normal phone or on your desktop computer.

You can, however, extract the SIP credentials. This is how it works.

Prerequisites

Extracting the Credentials

  1. Open Preferences Manager. It will ask you for root access so it can read the app’s data, confirm that.
  2. Scroll down till you find the app.
  3. Search for “sipCredentialsStorage.xml” and note down the values of the keys “sipCredentialsUsername” and “sipCredentialsPassword”.
  4. Profit!

(SIP server is sipgate.de)

Conclusion

While before you weren’t able to choose a VoIP software of your liking, you can now do so. Now you can even use a physical SIP phone, too.

What I don’t yet know is:
What happens if you set up multiple phones? Will they all ring? Does every installation of the app use the same credentials?
I don’t happen to have a second phone with root access for testing. Drop me a message, if you know about that.

You should note that, since this is not officially supported, it might stop working at any time.

 

edit: It seems to work with more than one client. No idea how reliably, though.

Using Android – but without Google or other proprietary Apps

I didn’t like the fact that Google and maybe some other companies could spy on the activities on my phone, so I decided to remove everything that comes from Google. After some time I also thought it was great to only use open source software where many people usually read the code, making it more secure. If just the company producing it has the code, how can I be sure the App does what is says it does?

I found some great alternatives for every App I use and I want to share what I found good. All apps have been installed via f-droid store.

Amaze – A great file manager. Nothing more to say. Just works.

AntennaPod – Podcatcher. Listen to your favourite podcasts. Supports different podcast directories: Popular iTunes directory, fyyd and gpodder.net. Lets you change the speed to listen faster, import/export subscriptions via OPML, automated downloads and a lot more.

DAVx⁵ – Lets you sync contacts and calender, formerly known as DAVdroid. “DAVdroid is a CalDAV/CardDAV synchronisation adapter for Android 4+ devices. Use it with your own server (like Nextcloud, Baïkal, DAViCal or radiCALe) or with a trusted hoster to keep your contacts and events under your control.”

Dimmer – Maybe you know Twilight? It dimms your screen at night and changes the colour of the screen, making it easier to read the screen in a dark environment or simply while in bed.

Easy xkcd – A simple, but also feature rich viewer for the xkcd online comic. Lets you save your favorites. Can also show you ‘what if?’.

Etar – A calender in material design, fork of the AOSP calender.

F-droid – App store for open source apps. Lets you add alternative app sources.

Firefox – A browser for the phone, features: tabs, sync, private mode, addons, …

FFUpdater – A simple app to download and update Firefox, which isn’t in the F-droid repos.

FoodRestrictions – ” When traveling abroad, are you having a hard time getting your food restrictions across? This app is here to help you ordering food when you are traveling to a country where language barriers can make it difficult to make yourself understood.”

Gallery – View your photos.

K-9 Mail – In my humble opinion the best mail client available. Also supports encrypted emails, multiple accounts and more.

LibreSignal – The great Signal messenger. Only that it is completely open source and doesn’t contain binary blobs as Signal  Update: Now longer developed, as you can now download Signal directly from the developers. https://signal.org/android/apk/

MemeTastic – Lets you create memes. Contains some popular pictures to which you can add text.

Mitzuli – Offline Translator. Great alternative to Google translate.

MuPDF – View PDFs.

Nextcloud Notes – Write notes and sync them to your nextcloud.

NewPipe – Youtube player app which lets you play the video in background.

Notepad – Just a simple notes app.

ObscuraCam – Helps you to obscure people from photos. (Just add the package source to f-droid, if you want it: https://guardianproject.info/fdroid/repo )

OCReader – A great alternative to feedly. Uses the nextcloud app ‘News’ to sync rss feeds and always have the same news list – including read and saved – across devices.

Offi Directions / Öffis – Navigation using public transport

OpenCamera – Lets you take photos.

OpenVPN for Android – Connect to OpenVPN servers.

OsmAnd+ – Map and navigation based on Open Street Map

Plumble – Connect to mumble servers. Speak with people via internet.

Calculator – Calculator which lets you also use pi, log, sin, cos, tan and ().

Slide – App for Reddit. Many features, easy to use.

Sound Recorder – Record audio.

StreetComplete – “Help to improve the OpenStreetMap with StreetComplete! This app finds incomplete and extendable data in your vicinity and displays it on a map as markers. Each of those is solvable by answering a simple question to complete the info on site. The info you enter is then directly added to the OpenStreetMap in your name, without the need to use another editor.”

Suntimes – Useful if you want to when the sun rises or sets. Also has the nautical times.

Survival Manual – Survival Manual based on the US Army Field Manual 21-76, works offline.

Transistor – Save URLs and listen to radio stations. Very simple, does not do more than that.

Telegram (f-droid version) – It is just like the Play store version, but competely open source. Does not include Google stuff.

Twidere – A client for twitter, Mastodon, Fanfou and StatusNet.

VLC – The well known video and audio player with many features. UPDATE: App hasn’t been updated in f-droid for some time. Maybe get it here: https://www.videolan.org/vlc/download-android.html

WiFiAnalyzer – “Optimize your WiFi network by examining surrounding WiFi networks, measuring their signal strength as well as identifying crowded channels.”

Yalp Store – Download apps from play store, but without any code from Google running on your phone. Be aware that many apps still connect to Google.

ZANavi – Navigation app. Mainly for cars.

 

Syncing data without Google:

For that task I use my own nextcloud server. Contacts and Calender are synced using DAVdroid. Notes are synced with nextcloud app ‘notes’ using android apps ‘Notes’.

 

How to use every bluetooth CAT dongle with RepeaterBook – now without root!

Last time I showed you how you can use any bluetooth CAT dongle with RepeaterBook. This time I show you how to do the same but without the need to get root access. Everything is the same except how we get to that file and get it back to the device.

Prerequisites

  • You have ADB (Android Debug Bridge) installed
  • You have a USB cable for your phone
  • You have enabled ADB debugging for your phone (if not: just google it)
  • You have Android Backup Extractor on you Computer Get it HERE.

Extracting the file

First of all we need to get the file com.zbm2.repeaterbook_preferences.xml from the device.
To do that we just type in a command line: adb backup -noapk com.zbm2.repeaterbook

Confirm to backup on your device. You mustn’t use a password in order to follow my tutorial.

You will find a file called backup.ab in your current folder. We need to get a backup.tar file out of it.
Now we type: java -jar abe.jar unpack ~/backup.ab backup.tar

After that you will find a file called backup.tar. You will find the file we are looking for under the subfolder apps. Open the file and edit it as I explained in an earlier post. Save it and update the .tar archive. The exact way depends on the Software you use. Try googling it if you have now idea.

Getting the changed file to the device

First we need to get a new .ab file from the .tar file. To accomplish that we type: java -jar abe.jar pack backup.tar backup-new.ab 

Restore the file to your device: adb restore backup-new.ab

 

Just confirm that you want to restore. That’s it.

 

If you have difficulties following these steps: Write a comment and wait. A will write it in a more clean way the next days.

Just the usual note: I take NO responsibility if you are a not capable of using your brain and/or your computer and then damage something. Following this tutorial could kill cat babies if used wrong and without caution.

How to use every bluetooth CAT dongle with RepeaterBook

By default RepeaterBook only works with CAT dongles that have a specific MAC address. I bought a cheap dongle from ebay, but the Android App RepeaterBook didn’t recognize it. So I decided to look into the apps files. I found a file containing settings of the app. There I could set the MAC address:

<?xml version=’1.0′ encoding=’utf-8′ standalone=’yes’ ?>
<map>
<boolean name=”PREF_DISPLAY_5GHz” value=”false” />
<boolean name=”PREF_DISPLAY_APCO25″ value=”false” />
<boolean name=”PREF_DISPLAY_WIDE_VER2″ value=”false” />
<string name=”PREF_DISPLAY”>1</string>
<string name=”PREF_LAST_MAC_ADDRESS”>20:16:05:19:36:33</string>
<boolean name=”PREF_DISPLAY_2M” value=”true” />
<boolean name=”PREF_DISPLAY_23CM” value=”false” />
<string name=”PREF_MILE_KILOMETRE”>km</string>
<boolean name=”PREF_ENABLE_AUTOCONNECT” value=”true” />
<boolean name=”PREF_DISPLAY_TV” value=”false” />
<string name=”PREF_MANUAL_LOCATION”>JO41BN</string>
<boolean name=”PREF_DISPLAY_1_25m” value=”false” />
<boolean name=”PREF_DISPLAY_6M” value=”false” />
<boolean name=”PREF_DISPLAY_33CM” value=”false” />
<boolean name=”PREF_DISPLAY_DMR” value=”true” />
<boolean name=”PREF_DISPLAY_10M” value=”true” />
<boolean name=”PREF_DISPLAY_ECHOLINK” value=”false” />
<boolean name=”PREF_DISPLAY_ANALOG” value=”true” />
<boolean name=”PREF_DISPLAY_ALLSTAR” value=”false” />
<string name=”PREF_MAX_DISTANCE_VER2″>500</string>
<boolean name=”PREF_DISPLAY_DSTAR” value=”false” />
<string name=”PREF_SORT_BY_VER3″>35</string>
<boolean name=”PREF_ENABLE_SCREENON” value=”false” />
<boolean name=”PREF_DISPLAY_WIRES” value=”false” />
<boolean name=”PREF_DISPLAY_24GHz” value=”false” />
<boolean name=”PREF_DISPLAY_4M” value=”false” />
<string name=”PREF_BLUECAT_RADIO”>1</string>
<boolean name=”PREF_DISPLAY_IRLP” value=”false” />
<boolean name=”PREF_DISPLAY_YSF_VER2″ value=”false” />
<boolean name=”PREF_DISPLAY_13CM” value=”false” />
<boolean name=”PREF_DISPLAY_WIRES_X” value=”false” />
<boolean name=”PREF_DISPLAY_70CM” value=”true” />
<boolean name=”PREF_DISPLAY_9CM” value=”false” />
<boolean name=”PREF_DISPLAY_10GHz” value=”false” />
<boolean name=”PREF_AUTO_LOCATION” value=”false” />
</map>

As you can see, <string name=”PREF_LAST_MAC_ADDRESS”>20:16:05:19:36:33</string> contains the MAC address. Just get the MAC address of your devices using apps like “Bluetooth Viewer LITE” and put it into the file. You need root access to edit that file. The file is located under: /data/data/com.zbm2.repeaterbook/shared_prefs/com.zbm2.repeaterbook_preferences.xml

Now I can finally set my FT-857D’s frequency using my smartphone. 😀

HowTo: Frequenzbereich beim Baofeng UV-3R verändern

Bei dem günstigen Handfunkgerät UV-3R von Baofeng kann man den Frequenzbereich beliebig vergrößern oder verkleinern.

Gehe dazu in das Verzeichnis der Software ( C:\Programme\UV3R\ ) und öffne die Konfigurationsdatei settings.ini mit einem Editor.
(z.B. Notepad)

Suche nun die Zeilen

[ModelInfo]
Freq0=[136-174/400-470]
data0=6013401700400047

Freq0=[INHALT] ist das was im Dropdown-Menü Freq-Range angezeigt wird.

data0 sind die eigentlichen Frequenzbereiche.

Man kann mehrere Bereiche in der Sofware nutzen, in dem man sie unterschiedlich nummeriert.

Das data0 kann man am Besten so verstehen:

Beispiel: Freq0=[1234-5678/400-470]
Beispiel: data0=4123 8567  4123 8567

So, jetzt weißt du, in welcher Reihenfolge du die Zahlen eintragen musst. Jetzt kannst du dir deine eigene settings.ini basteln. 🙂

Und falls nicht:

Nur Amateurfunk:

Freq1=[144-146/400-470]
data1=4014601400440044

 

 

 

Übrigens kansst du den Frequenzbereich auch in einem gewissen Maße vergrößern. Jedoch geschieht das Ausführen dieser Anleitung auf eigene Gefahr.