Project

General

Profile

UsageNotes » History » Version 27

Denis 'GNUtoo' Carikli, 11/09/2020 06:50 PM

1 1 Paul Kocialkowski
h1. Usage Notes
2
3 13 Wolfgang Wiedmeyer
{{>toc}}
4
5 12 Wolfgang Wiedmeyer
General-purpose usage notes and tips can be found on this page.
6
"The website":https://www.replicant.us/freedom-privacy-security-issues.php#recommendations also provides recommendations and general advice.
7 1 Paul Kocialkowski
8 2 Wolfgang Wiedmeyer
h2. Enabling root access
9
10 24 Denis 'GNUtoo' Carikli
See [[EnablingRootAccess]] for more details.
11 2 Wolfgang Wiedmeyer
12
h2. Device Encryption
13 1 Paul Kocialkowski
14 25 Denis 'GNUtoo' Carikli
See [[DeviceEncryption]] for how to do it.
15 3 Wolfgang Wiedmeyer
16 10 Wolfgang Wiedmeyer
h2. Browser and webview: freedom and security issues
17 8 Wolfgang Wiedmeyer
18
The default Browser has JavaScript enabled and runs the JavaScript that is loaded when you visit a website. Replicant has no mechanism to check if the complex JavaScript programs that are included in some websites are free software. See the "JavaScript Trap":https://www.gnu.org/philosophy/javascript-trap.en.html article for more general freedom-related information about JavaScript.
19
20
Not only browser apps might run non-free JavaScript. Some apps include an embedded view that loads websites which is called webview. Although app developers can disable JavaScript for the webview, JavaScript is usually enabled in the webview. So you might run non-free software inside a webview.
21
22
For these reasons, it is recommended to disable JavaScript by default in the browser settings. As most browser exploits require JavaScript to work, you can also prevent that malicious websites can make use of security issues with your browser. Unfortunately, the currently used webview in Replicant has many security issues. See #1780 for more information. So disabling JavaScript helps a lot in securing your device.
23
24
h3. Prevent usage of the embedded webview in apps
25
26 9 Wolfgang Wiedmeyer
Some apps have a setting that allows to use an external browser to view websites. This ensures that the embedded webview is not used and websites are loaded with a browser you can configure for security and privacy and that allows to disable JavaScript.
27 8 Wolfgang Wiedmeyer
28
h3. Use AdAway
29 1 Paul Kocialkowski
30 9 Wolfgang Wiedmeyer
"AdAway":https://f-droid.org/repository/browse/?fdfilter=adaway&fdid=org.adaway blocks a lot of known malicious websites that contain spyware and malware. However, using AdAway does not guarantee that all malicious websites or domains in general are blocked or that only free JavaScript is loaded.
31 1 Paul Kocialkowski
32 9 Wolfgang Wiedmeyer
h3. Use two web browsers
33 1 Paul Kocialkowski
34 9 Wolfgang Wiedmeyer
The "Lightning browser":https://f-droid.org/repository/browse/?fdfilter=lightning&fdid=acr.browser.lightning works well with Replicant, but it is prone to the same security issues as the default browser or the webview in general. However, this browser can be better configured for privacy and security. It is recommended to go through all the settings and to not only disable Javascript, but also to enable other settings that enhance privacy and security.
35
36
If you use Lightning as your default browser with the above described configuration, some websites might not work due to disabled JavaScript or other settings. But if you are sure that these websites do not contain non-free JavaScript, spyware or malware, you could load these websites with the default browser that has JavaScript enabled. This way, you do not need to enable JavaScript or disable other conflicting settings in Lightning for certain websites and revert the changes afterwards again. The default browser is then your browser for trusted websites with only free programs, while you visit all other websites with the configured Lightning browser.
37 5 Wolfgang Wiedmeyer
38 18 Kurtis Hanna
**Note: The recommendation above to use the Lightning browser needs to be reviewed because it hasn't been updated in "over two years":https://f-droid.org/en/packages/acr.browser.lightning/
39
40 16 Jeremy Rand
h3. Use a Gecko-based web browser
41
42
Gecko-based web browsers (such as "IceCatMobile":https://f-droid.org/packages/org.gnu.icecat/ and Orfox) don't use WebView, and therefore don't have the security issues associated with WebView.  However, Gecko-based web browsers require [[Graphics#Enabling-llvmpipe-as-software-renderer|enabling llvmpipe]].
43
44
Note that "Firefox Klar":https://f-droid.org/packages/org.mozilla.klar/ uses "WebView, not Gecko":https://github.com/mozilla-mobile/focus-android/issues/13, and therefore does have the security issues associated with WebView.
45
46 14 Wolfgang Wiedmeyer
h2. Backups
47
48 27 Denis 'GNUtoo' Carikli
See the [[UsingReplicant#Backup-and-restore-data|"Backup and restore data" section in the UsingReplicant wiki page]].
49 14 Wolfgang Wiedmeyer
50 5 Wolfgang Wiedmeyer
h2. Camera app
51
52
* If the front camera on your device [[ReplicantStatus|requires a non-free firmware]], selecting the front camera will crash the app and you will not be able to use the app unless you delete the data of the app: 
53
54
  # In the settings under *Personal*, select *Apps* 
55
  # There will be two apps named *Camera*. Select the second one that has a camera as icon. 
56
  # Press *Storage*
57
  # Select *Clear Data* and confirm the dialog
58
59
  You should now be able to use the camera again. 
60
61
* If the camera app freezes when you take a picture, press the shutter button a second time. This should restart the camera in the background and take the picture.
62 7 Wolfgang Wiedmeyer
63
* If your device [[ReplicantStatus|needs a non-free firmware]] for hardware media encoding/decoding, video recording will not work.
64 3 Wolfgang Wiedmeyer
65
h2. Barcode scanning
66
67 4 Wolfgang Wiedmeyer
The mostly used barcode scanner app "ZXing":https://f-droid.org/repository/browse/?fdfilter=zxing&fdid=com.google.zxing.client.android has a slow preview. The "privacy-friendly QR Scanner":https://f-droid.org/repository/browse/?fdfilter=qr+code&fdid=com.secuso.privacyFriendlyCodeScanner has a faster preview.
68
69
h2. Video playback
70
71
Viewing videos in the gallery or in the browser is not possible. See #1539 for background information.
72
73
Only the VLC app is known to be able to play videos on Replicant. Make sure to disable hardware acceleration in the settings to prevent crashes.
74
75 11 Wolfgang Wiedmeyer
h2. Terminal emulator
76
77 26 Denis 'GNUtoo' Carikli
See [[TerminalEmulator]] for more details.