Difference between revisions of "Android"

From Jon's Wiki
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
== Root your phone and install a ROM ==
 
== Root your phone and install a ROM ==
  
Install CyanogenMod. Here's what I did on my [[Galaxy Note 3]], but you can almost certainly find a similar procedure for your phone on the internet. [https://www.youtube.com/results?search_query=how+to+root+android+phone Start here].
+
Install LineageOS. Here's what I did on my [[Galaxy Note 3]], but you can almost certainly find a similar procedure for your phone on the internet. [https://www.youtube.com/results?search_query=how+to+root+android+phone Start here].
  
 
== Search, App stores ==
 
== Search, App stores ==
Line 21: Line 21:
 
== IM, chat, Hangouts ==
 
== IM, chat, Hangouts ==
  
On the server, install the [[Prosody]] XMPP server and create yourself an account. On your phone, install the seriously excellent [https://f-droid.org/repository/browse/?fdid=eu.siacs.conversations Conversations] XMPP client app - free on F-Droid, $3 on the play store.
+
On the server, install the [[Prosody]] XMPP server and create yourself an account. On your phone, install the seriously excellent [https://f-droid.org/repository/browse/?fdid=eu.siacs.conversations Conversations] XMPP client app - free on F-Droid, or a $3 donation on the play store.
  
Given the sudden recent resurgence and proliferation of a billion incompatible chat clients, both proprietary and various shades of open, the developer of Conversations has proposed [http://conversations.im/omemo/ OMEMO], an encrypted multi-user group chat protocol using [http://xmpp.org/extensions/xep-0163.html XEP-0163 PEP] and Axolotl Ratchet) that is end-to-end(s)-, future- and forward-secure. It is currently supported by the Conversations XMPP app, and the [http://conversations.im/xeps/multi-end.html proposed standard] so new it doesn't (yet) have an XEP designation.
+
Given the sudden recent resurgence and proliferation of a billion incompatible chat clients, both proprietary and various shades of open, the developer of Conversations has proposed [http://conversations.im/omemo/ OMEMO], an encrypted multi-user group chat protocol (using [http://xmpp.org/extensions/xep-0163.html XEP-0163 PEP] and Axolotl Ratchet) that is end-to-end(s)-, future- and forward-secure. It is currently supported by the Conversations XMPP app, and the [http://conversations.im/xeps/multi-end.html proposed standard] so new it doesn't (yet) have an XEP designation.
  
 
== Roll your own cloud ==
 
== Roll your own cloud ==
Line 30: Line 30:
  
 
* [http://manual.seafile.com/ Seafile] is very robust, fast, and lightweight on resources. It can handle large volumes of traffic and file data without crapping out. It lacks a shiny web interface though. [https://f-droid.org/wiki/page/com.seafile.seadroid2 (app)]
 
* [http://manual.seafile.com/ Seafile] is very robust, fast, and lightweight on resources. It can handle large volumes of traffic and file data without crapping out. It lacks a shiny web interface though. [https://f-droid.org/wiki/page/com.seafile.seadroid2 (app)]
* [https://owncloud.org/ OwnCloud] at version 8 has finally gained some stability, decent command-line server admin tools, and solved some speed problems (and some frankly rather dumb design decisions). It has add-ons for photo galleries, calendar and contacts sync, playing music and video, and more. [https://f-droid.org/repository/browse/?fdid=com.owncloud.android (app)]
+
* [https://nextcloud.com/ NextCloud] at version 12 has gained much stability, decent command-line server admin tools, and solved speed and security problems that plagued OwnCloud (and some frankly rather dumb design decisions). It has add-ons for photo galleries, calendar and contacts sync, playing music and video, video WebRTC and XMPP chat, LibreOffice Online integration, and more. [https://f-droid.org/packages/com.nextcloud.client/ (app)]
  
 
== Calendar and contacts sync ==
 
== Calendar and contacts sync ==
  
# Owncloud will sync your calendars and contacts using CalDAV and CardDAV. If you ''only'' want this calendar/contact DAV sync, you can instead install the lightweight [http://baikal-server.com/ Baïkal] PHP application on your webserver, point Apache at it, strap on an SSL certificate and you're good to go.
+
# NextCloud will sync your calendars and contacts using CalDAV and CardDAV. If you ''only'' want this calendar/contact DAV sync, you can instead install the lightweight [http://baikal-server.com/ Baïkal] PHP application on your webserver, point Apache at it, strap on an SSL certificate and you're good to go.
# Export your contacts from Google/Facebook/wherever, and import them into Owncloud/Baïkal.
+
# Export your contacts from Google/Facebook/wherever, and import them into NextCloud/Baïkal.
# On your phone, install [https://f-droid.org/repository/browse/?fdid=at.bitfire.davdroid DAVdroid] and add accounts with your CalDAV and CardDAV URLs. Now your contacts and calendars will sync on your phone. Sorted.
+
# On your phone, install [https://f-droid.org/repository/browse/?fdid=at.bitfire.davdroid DAVx⁵] and add accounts with your CalDAV and CardDAV URLs. Now your contacts and calendars will sync on your phone. Sorted.
 +
 
 +
== More about calendars ==
 +
 
 +
To support local offline calendars on your phone, install [https://f-droid.org/repository/browse/?fdid=org.sufficientlysecure.localcalendar Offline Calendars]. You can then sync calendars using .ics files from the phone or from a URL using [https://f-droid.org/repository/browse/?fdid=org.sufficientlysecure.ical Calendar Import-Export].
  
 
== Email ==
 
== Email ==

Latest revision as of 01:03, 4 February 2022

A terse run-down on how to get off the Google train, stop corporations Hoovering data from your phone, and all that (the story so far, at least...)

Root your phone and install a ROM

Install LineageOS. Here's what I did on my Galaxy Note 3, but you can almost certainly find a similar procedure for your phone on the internet. Start here.

Search, App stores

On your phone, install the F-Droid app, it's an open source only app store.

Security and anonymity

  • Install AFWall+ for an excellent firewall.
  • Install Orbot if you want to use the Tor network.
    • Install orWall if you want to force other applications through Tor (using Orbot), but it will clash with AFWall+

IM, chat, Hangouts

On the server, install the Prosody XMPP server and create yourself an account. On your phone, install the seriously excellent Conversations XMPP client app - free on F-Droid, or a $3 donation on the play store.

Given the sudden recent resurgence and proliferation of a billion incompatible chat clients, both proprietary and various shades of open, the developer of Conversations has proposed OMEMO, an encrypted multi-user group chat protocol (using XEP-0163 PEP and Axolotl Ratchet) that is end-to-end(s)-, future- and forward-secure. It is currently supported by the Conversations XMPP app, and the proposed standard so new it doesn't (yet) have an XEP designation.

Roll your own cloud

There are open source projects you can run on a webserver for Dropbox-style file sync, photo albums, documents, etc., and they usually have their own sync apps that can auto-upload your photos and whatnot.

  • Seafile is very robust, fast, and lightweight on resources. It can handle large volumes of traffic and file data without crapping out. It lacks a shiny web interface though. (app)
  • NextCloud at version 12 has gained much stability, decent command-line server admin tools, and solved speed and security problems that plagued OwnCloud (and some frankly rather dumb design decisions). It has add-ons for photo galleries, calendar and contacts sync, playing music and video, video WebRTC and XMPP chat, LibreOffice Online integration, and more. (app)

Calendar and contacts sync

  1. NextCloud will sync your calendars and contacts using CalDAV and CardDAV. If you only want this calendar/contact DAV sync, you can instead install the lightweight Baïkal PHP application on your webserver, point Apache at it, strap on an SSL certificate and you're good to go.
  2. Export your contacts from Google/Facebook/wherever, and import them into NextCloud/Baïkal.
  3. On your phone, install DAVx⁵ and add accounts with your CalDAV and CardDAV URLs. Now your contacts and calendars will sync on your phone. Sorted.

More about calendars

To support local offline calendars on your phone, install Offline Calendars. You can then sync calendars using .ics files from the phone or from a URL using Calendar Import-Export.

Email

Run your own mail server, and install:

E-Books

Use Calibre on your PC to manage your e-book collection, and install FBReader on your phone. The FBReader Calibre OPDS plugin will find your Calibre library on your local network.