From 9e8cd952188ac17212579de8206f862cba23aa34 Mon Sep 17 00:00:00 2001 From: David Ludovino Date: Mon, 16 Dec 2019 02:40:31 +0100 Subject: FOSDEM 2020: Add Replicant sustainability presentation During the FOSDEM presentation I had to resume with the 36C3 slides as it wasn't merged in this latex file yet yet. Future improvements: - It would also have been a good idea to add more context such as context on number of suppoted devices as this was taken out of the 36C3 sustainability presentation because I also did a presentation on what was Replicant there. - The lack of context has created questions that could could be seen in the questions afterward. - Fix the references and check if all image authors and licenses are cited. Thanks to David 'dllud' Ludovino for finding spelling mistakes in the play and before. Even if we were completely unsure about the play and that I finished the last part minutes before doing it, and that an "actor" even learned the play content minutes before, people that assisted to it seem to have liked it a lot, as we got a lot of applause and several nice comments after it. Signed-off-by: Denis 'GNUtoo' Carikli --- Fosdem2020/Replicant_sustainability/COPYING | 428 ++++++ Fosdem2020/Replicant_sustainability/Makefile | 26 + .../Replicant_sustainability.tex | 1532 ++++++++++++++++++++ .../images/i9300_hardware.svg | 659 +++++++++ .../images/virtuous_circle.dot | 6 + 5 files changed, 2651 insertions(+) create mode 100644 Fosdem2020/Replicant_sustainability/COPYING create mode 100644 Fosdem2020/Replicant_sustainability/Makefile create mode 100644 Fosdem2020/Replicant_sustainability/Replicant_sustainability.tex create mode 100644 Fosdem2020/Replicant_sustainability/images/i9300_hardware.svg create mode 100644 Fosdem2020/Replicant_sustainability/images/virtuous_circle.dot diff --git a/Fosdem2020/Replicant_sustainability/COPYING b/Fosdem2020/Replicant_sustainability/COPYING new file mode 100644 index 0000000..fd662a7 --- /dev/null +++ b/Fosdem2020/Replicant_sustainability/COPYING @@ -0,0 +1,428 @@ +Attribution-ShareAlike 4.0 International + +======================================================================= + +Creative Commons Corporation ("Creative Commons") is not a law firm and +does not provide legal services or legal advice. Distribution of +Creative Commons public licenses does not create a lawyer-client or +other relationship. Creative Commons makes its licenses and related +information available on an "as-is" basis. Creative Commons gives no +warranties regarding its licenses, any material licensed under their +terms and conditions, or any related information. Creative Commons +disclaims all liability for damages resulting from their use to the +fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and +conditions that creators and other rights holders may use to share +original works of authorship and other material subject to copyright +and certain other rights specified in the public license below. The +following considerations are for informational purposes only, are not +exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + +======================================================================= + +Creative Commons Attribution-ShareAlike 4.0 International Public +License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution-ShareAlike 4.0 International Public License ("Public +License"). To the extent this Public License may be interpreted as a +contract, You are granted the Licensed Rights in consideration of Your +acceptance of these terms and conditions, and the Licensor grants You +such rights in consideration of benefits the Licensor receives from +making the Licensed Material available under these terms and +conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + f. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + g. License Elements means the license attributes listed in the name + of a Creative Commons Public License. The License Elements of this + Public License are Attribution and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + k. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + l. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. Additional offer from the Licensor -- Adapted Material. + Every recipient of Adapted Material from You + automatically receives an offer from the Licensor to + exercise the Licensed Rights in the Adapted Material + under the conditions of the Adapter's License You apply. + + c. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + b. ShareAlike. + + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-SA Compatible License. + + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition + in any reasonable manner based on the medium, means, and + context in which You Share Adapted Material. + + 3. You may not offer or impose any additional or different terms + or conditions on, or apply any Effective Technological + Measures to, Adapted Material that restrict exercise of the + rights granted under the Adapter's License You apply. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material, + + including for purposes of Section 3(b); and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + +======================================================================= + +Creative Commons is not a party to its public +licenses. Notwithstanding, Creative Commons may elect to apply one of +its public licenses to material it publishes and in those instances +will be considered the “Licensor.” The text of the Creative Commons +public licenses is dedicated to the public domain under the CC0 Public +Domain Dedication. Except for the limited purpose of indicating that +material is shared under a Creative Commons public license or as +otherwise permitted by the Creative Commons policies published at +creativecommons.org/policies, Creative Commons does not authorize the +use of the trademark "Creative Commons" or any other trademark or logo +of Creative Commons without its prior written consent including, +without limitation, in connection with any unauthorized modifications +to any of its public licenses or any other arrangements, +understandings, or agreements concerning use of licensed material. For +the avoidance of doubt, this paragraph does not form part of the +public licenses. + +Creative Commons may be contacted at creativecommons.org. + diff --git a/Fosdem2020/Replicant_sustainability/Makefile b/Fosdem2020/Replicant_sustainability/Makefile new file mode 100644 index 0000000..7bc95ec --- /dev/null +++ b/Fosdem2020/Replicant_sustainability/Makefile @@ -0,0 +1,26 @@ +TEXFLAGS ?= -halt-on-error -output-format pdf -output-directory output +TITLE = Replicant_sustainability +IMAGES := \ + output/i9300_hardware.png \ + output/virtuous_circle.png \ + +.PHONY: all clean test medias +all: output/$(TITLE).pdf + +output: + mkdir -p output + +output/$(TITLE).pdf: output $(TITLE).tex $(IMAGES) + pdflatex $(TEXFLAGS) '\providecommand\locale{en}\input{$(TITLE).tex}' + # pdflatex $(TEXFLAGS) '\providecommand\locale{en}\input{$(TITLE).tex}' + +output/%.png: dot/%.dot output + dot -T png $< > $@ + +output/i9300_hardware.png: images/i9300_hardware.svg + convert $< $@ + +output/virtuous_circle.png: images/virtuous_circle.dot + dot -T png $< > $@ +clean: + rm -rf output diff --git a/Fosdem2020/Replicant_sustainability/Replicant_sustainability.tex b/Fosdem2020/Replicant_sustainability/Replicant_sustainability.tex new file mode 100644 index 0000000..be62825 --- /dev/null +++ b/Fosdem2020/Replicant_sustainability/Replicant_sustainability.tex @@ -0,0 +1,1532 @@ +\documentclass{beamer} +\usepackage[english]{babel} +\usepackage{color} +\usepackage{graphicx} +\usepackage{ifthen} +\usepackage[utf8]{inputenc} +\usepackage{ulem} +\usepackage{listings} +\usepackage{pdfpages} +\usepackage{tikz} +\usepackage{xtab} + +\newcommand{\outputpicture}[2] { + {\includegraphics[scale=#1]{output/#2}} +} +\newcommand{\devicepicture}[1] { + {\includegraphics[scale=0.5]{../../external_resources/replicant_website/images/supported-devices/#1.png}} +} + +%% \usetheme{Singapore} + +\title{Extending the lifetime of smartphones with Replicant, a fully free Android distribution} +\author{Denis 'GNUtoo' Carikli and David 'dllud' Ludovino} +\date{\today} + +\begin{document} + +\maketitle + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{Introduction} + +\begin{frame} + \center{Introduction} +\end{frame} + +\begin{frame} + \center{Replicant:} + \begin{itemize} + \item Fully free Android distribution approved by the FSF + \item But the hardware it runs on is not... + \item More details on hardware related freedom issues later %% TODO + \end{itemize} +\end{frame} + +\begin{frame} + \center{Quick Facts} + \begin{itemize} + \item Website: replicant.us + \item Exists since September 2009 + \item Currently based on LineageOS + \item Android versions: + \begin{itemize} + \item Replicant 6: Android 6, last security update: October 2017\cite{last-android-6-update} + \item Replicant 9: Android 9, work in progress\cite{porting-to-android-9} + \end{itemize} + \item Supports $\sim$ 10 devices (smartphones and tablets) + \item $\sim$ 2 full time equivalent contributors and a big community + \end{itemize} +\end{frame} + +\begin{frame} + \center{Minimum feature set required to support a device:} + \begin{itemize} + \item Display working and graphics fast enough + \item Sound working + \item Be able to make calls + \item etc + \item GPS, Camera, and other non crucial hardware may not work, or work in later releases + \end{itemize} +\end{frame} + +{ + \begin{frame} + \center{A very short introduction on hardware:} + \outputpicture{0.8}{i9300_hardware.png} +%% \float + %% \setbeamercolor{block body}{fg=red} + %% \begin{block} + \begin{itemize} + \item System on a chip + \item Smartphones and the modem + \end{itemize} + %% \end{block} + \end{frame} +} + +\begin{frame} + \center{Why Android?} + \begin{itemize} + \item Advantages: + \begin{itemize} + \item GUI and applications adapted to big fingers + \item $\rightarrow$ run on devices that: + \begin{itemize} + \item Lack keyboard + \item Have capacitve touchscreen and no stylus + \item Have very small displays with very high number of pixel + \end{itemize} + \end{itemize} + \item Issues + \begin{itemize} + \item Part of the GNU/Linux software architecture is light years away: package management and build system, graphics, audio, etc + \item Huge unknown code from Google + \item Meant to run proprietary software, not to empower users + \end{itemize} + \end{itemize} +\end{frame} + +\begin{frame} + \center{Android: From time to market driven architecture to substainability} + \begin{itemize} + \item SOCs, WiFi chips, smartphones and tablets + \begin{itemize} + \item Write the code that work as fast as possible + \item Support as many hardware features as possible + \item $\rightarrow$ Varying code quality + \item $\rightarrow$ Example: One driver rewritten 3 times %% TODO: reference + \end{itemize} + \item Breaking Kernel API and ABI + \begin{itemize} + \item It can take time (years) to bring in a new framework in Linux + \item Example of API breakage: HTC dream audio driver + \item Solution: Apps $\leftrightarrow$ Android framework $\leftrightarrow$ HAL $\leftrightarrow$ Kernel + \item Getting better in Android: Trebble and Generic Kernel images + \end{itemize} + \end{itemize} +\end{frame} + +\begin{frame} + \center{Ugly code is good (for freedom):} + %% TODO: replace with [blobby from OpenBSD] VS [dirty tux] -> [freedo] + \begin{itemize} + \item Having the source code under free software licenses, even if the code quality is bad is crucial for freedom: + \begin{itemize} + \item Hardware bringup is often made that way anyway + \item Things can be improved later: + always be cleaned up later or if the code quality is too bad, rewritten from scratch + \item Having the source code under a free software license is very important + \item Worst case: use the source code as documentation or reverse engineer it (add prints) + \end{itemize} + \item $\rightarrow$ We depend on that source code + \end{itemize} +\end{frame} + +%% \begin{frame} +%% \center{What affect a device lifetime in Replicant?} +%% \begin{itemize} +%% \item Upstream support $\leftarrow$ We're working on it +%% \item Android RAM consumption VS device RAM size $\leftarrow$ Very little leverage from Replicant +%% \item Removable batteries and developers being able to get the device $\leftarrow$ We don't support devices without removable batteries +%% \item Freedom issues (Chinese whispers) $\leftarrow$ Conflicting interests +%% \end{itemize} +%% \end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +{ +\setbeamercolor{background canvas}{bg=black} +\setbeamercolor{normal text}{fg=white} +\usebeamercolor*{normal text} +\begin{frame} + \center { + [ + \setbeamercolor{normal text}{fg=green} + \usebeamercolor*{normal text} + OK + \setbeamercolor{normal text}{fg=white} + \usebeamercolor*{normal text} + ] Listened to the background introduction. + } +\end{frame} +} + +{ +\setbeamercolor{background canvas}{bg=black} +\setbeamercolor{normal text}{fg=white} +\usebeamercolor*{normal text} +\begin{frame} + + \center { + [ + \setbeamercolor{normal text}{fg=green} + \usebeamercolor*{normal text} + OK + \setbeamercolor{normal text}{fg=white} + \usebeamercolor*{normal text} + ] Listened to the background introduction. \\ + \setbeamercolor{normal text}{fg=white} + \usebeamercolor*{normal text} + \hspace{4.5em} + Starting second part about sustainability. + } +\end{frame} +} + +\section{Smartphones lifetime} + +\begin{frame} + \center{Part II: Smartphones lifetime} +\end{frame} + + +\setbeamercolor{background canvas}{bg=black} +\setbeamercolor{normal text}{fg=green} +\usebeamercolor*{normal text} + +{ + \setbeamercolor{normal text}{fg=white} + \usebeamercolor*{normal text} + \begin{frame} + \center { + What I'm about to tell you is subversive... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=green} + \usebeamercolor*{normal text} + \begin{frame} + \center { + $<$subversive$>$ + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=green} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Once upon a time... + } + \end{frame} +} + +\begin{frame} + \center { + \large{Dave didn't want to buy a smartphone...} \\ + \bigskip + \small{ + "Nearly all Present-day cell phones are Stalin's dream” \\ + Richard Stallman\cite{stalin-dream} + } + } +\end{frame} + +\begin{frame} + \center { + \large{But...} \\ + \bigskip + \small{ + $\rightarrow$ [[Peer pressure]] and advertizing \\ + $\rightarrow$ Employment (exploitation?) + } + } +\end{frame} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + You need to be reeeeachable at all timesssss. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: okay okay, I finally bought a smartphone. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=green} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave bought an Android smartphone off the shelf. \\ + The smartphone has a removable battery. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + This smartphone will self-destruct in 5 years + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: Why didn't I know that at the time of buying? + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=green} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Two years later... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Hmmm + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: What? + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + I'm sorry Dave, your battery ran out. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Game Over: Buy a new phone. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: Play again! Insert a new battery to continue! + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=green} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave buys a new battery. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Uhhh consumers like Dave are tiring me... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: I'm a humain beeing! + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Uh oh. + } + \end{frame} +} +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Hmmm + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: What now? + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + I'm sorry Dave, your smartphone ran out of software support. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: Shiiit + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=green} + \usebeamercolor*{normal text} + \begin{frame} + \center { + %% TODO: Charlie chaplin like interlude + Dave doesn't want to destroy the planet + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: \\ + \sout{No passaran} \\ + \sout{You shall not pass} \\ + I shall not buy a new smartphone. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: I can still run Android apps. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Securityyyy.... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: my smartphone is full of backdoors anyway. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: You're part of my threat model. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Shit they become more and more clever. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Hmmm? + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + I'm sorry Dave, the Android apps don't support your old Android version. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: Shiiit + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: Fuck you, I'll install LineageOS. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + I'm sorry Dave, you will loose your data in the process. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: \\ + I'll migrate the data myself. \\ + DIY is great ! \\ + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave Dave please remain with us... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: + I don't trust you. + Fuck off! \\ + Leave me alone! \\ + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=green} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Two years later... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=green} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave was living happily \sout{ever after} and forgot about his smartphone \\ + (and all the backdoors...). + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + I'm sorry Dave, LineageOS dropped support for your smartphone. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=green} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave faints... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: How is that possible? + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Knock Knock Dave... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Do you want the red pill [y/N]? + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Do you want the red pill [y/N]? + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + Y + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: Fuck yes I want the red pill! + } + \end{frame} +} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{Replicant} + +{ + \setbeamercolor{background canvas}{bg=white} + \setbeamercolor{normal text}{fg=black} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Part III: The Phantom Menace + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave, you've been living in a dream... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Until recently the Linux kernel in your phone was very heavily modified... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Our informations are scarse and sometimes outdated... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + But we deduced that in 2008 the device and chip manufacturers did that to improve the time to market... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + But who care about time to market when most of the humans will die with 2 degrees? + } + \end{frame} +} + +%%TODO: fix /!\ +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + HAL: %% /!\ + Warning: Anarcho-ecolo-communist terrorist detected + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: Good idea! + } + \end{frame} +} + +%% TODO: improve error +{ + \setbeamercolor{normal text}{fg=red} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Kernel panic: error -1: Operation not permitted \\ + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + So they abstract the kernel in libraries that are often nonfree. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Like the libril which implements the modem protocol, and in some cases a backdoor too... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: Shiit... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave: So they own us? + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + In some way yes, but we have the devices, so we can still fight back. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + For instance we have greater assurance of not being recorded, but if you left your phone on, they know where you are. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Shit. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=white} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Dave panicks and removes the battery. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + You trapped me! \\ + Because we're at the same location, they know I'm in the resistance now! + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + I don't use a smartphone so they don't know where I am. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + By the way: Welcome to the Resistance. + } + \end{frame} +} + +{ + \setbeamercolor{background canvas}{bg=white} + \setbeamercolor{normal text}{fg=black} + \usebeamercolor*{normal text} + \begin{frame} + \center { + %% TODO: attack of the clones with Replicant instead + Part IV: The counter attack of the \sout{clones} Replicants + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + How to fight back? Do I need a \sout{light saber} soldering iron? + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + I've no definite answer on that, many things were tried in the past. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Revolutions, assasinations, armed conflicts, theft, strikes, teaching, living in remote communities, regicides, and even making a bank. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + But besides remote communities and self-management spaces within the system, we didn't get rid of abuse of power yet. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + I meant for smartphones. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + I'm sorry Dave, as of today smartphones can't respect your freedom. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + They track you with a deadly precision. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Our sources indicated us 10 or 20 meters for GSM and 3G. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + But replacing more and more nonfree software by free software limits the damage. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + We have several fully free software GNU/Linux distributions and even Replicant, a fully free Android distribution. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Replicant is almost as old as \sout{the Matrix} Android. + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + So if I've a supported device that has a removable battery, will it last longer with Replicant? + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Not yet. + } + \end{frame} +} + +\section{Breaking the chains} + +{ + \setbeamercolor{background canvas}{bg=white} + \setbeamercolor{normal text}{fg=black} + \usebeamercolor*{normal text} + \begin{frame} + \center { + %% TODO: attack of the clones with Replicant instead + Part IV: Breaking the chains + } + \end{frame} +} + +%% { +%% \setbeamercolor{normal text}{fg=violet} +%% \usebeamercolor*{normal text} +%% \begin{frame} +%% \center { +%% And in some places where the resistance is strong. +%% } +%% \end{frame} +%% } + +%% { +%% \setbeamercolor{normal text}{fg=violet} +%% \usebeamercolor*{normal text} +%% \begin{frame} +%% \center { +%% There are communities operating various types of wireless networks. +%% } +%% \end{frame} +%% } + +%% { +%% \setbeamercolor{normal text}{fg=violet} +%% \usebeamercolor*{normal text} +%% \begin{frame} +%% \center { +%% We could take advantage of that, but then would we still really need smartphones? +%% } +%% \end{frame} +%% } + +%% { +%% \setbeamercolor{normal text}{fg=violet} +%% \usebeamercolor*{normal text} +%% \begin{frame} +%% \center { +%% Replicant is still heavily based on LineageOS. +%% } +%% \end{frame} +%% } + +%% { +%% \setbeamercolor{normal text}{fg=violet} +%% \usebeamercolor*{normal text} +%% \begin{frame} +%% \center { +%% So if LineageOS didn't port a device to new Android versions... +%% } +%% \end{frame} +%% } + +%% { +%% \setbeamercolor{normal text}{fg=violet} +%% \usebeamercolor*{normal text} +%% \begin{frame} +%% \center { +%% Replicant would also need to drop that device for new Android versions. +%% } +%% \end{frame} +%% } + +%% { +%% \setbeamercolor{normal text}{fg=violet} +%% \usebeamercolor*{normal text} +%% \begin{frame} +%% \center { +%% But many projects are working to get rid of hardware vendor kernels. +%% } +%% \end{frame} +%% } + +%% { +%% \setbeamercolor{normal text}{fg=violet} +%% \usebeamercolor*{normal text} +%% \begin{frame} +%% \center { +%% Including Replicant, postmarketOS, LineageOS and even Android are involved. +%% } +%% \end{frame} +%% } + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Some smartphones have longer software support... \\ + But they have batteries that cannot be easily removed... \\ + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Others are meant to be repaired... \\ + But the software support is bad... \\ + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + So we lost? \\ + There are many many smartphones being produced each years... \\ + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + What you must learn is that these rules are no different than rules of a computer system. \\ + Some of them can be bent, others can be broken. \\ + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Most modern smartphones have non removable batteries! \\ + It's hopeless! \\ + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Free your mind... + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Do you think that the number of smartphones has anything to do with their strength? + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=blue} + \usebeamercolor*{normal text} + \begin{frame} + \center { + Right, but how? + } + \end{frame} +} + +{ + \setbeamercolor{normal text}{fg=violet} + \usebeamercolor*{normal text} + \begin{frame} + \center { + We're going to hangup on this political system, + and then show these people what thoses in power don’t want them to see. + We're going to show them a world without power. + A world without forced rules or controls, borders or boundaries. + A world where anything is possible. + Where we go from there, is a choice I leave to the people. + } + \end{frame} +} + +\section{Real world} + +\setbeamercolor{background canvas}{bg=white} +\setbeamercolor{normal text}{fg=black} +\usebeamercolor*{normal text} +\begin{frame} + \center{Part V: Back to the real world} +\end{frame} + +\begin{frame} + \center{Replicant 6 $\rightarrow$ More recent Android.} +\end{frame} + +\begin{frame} + \center{Requirements += Replacable battery:} + \begin{itemize} + \item No need to rush to support the device + \item The device lasts longer + \item $\rightarrow$ In line with upstreaming longer term work. + \end{itemize} +\end{frame} + +\begin{frame} + \center{Devices supported by Lineage 16 with a removable battery:} + \begin{itemize} + \item Qualcomm MSM8*: + \begin{itemize} + \item Fairphone: FP2 + \item LG: G3 (many versions) + \item OPPO: Find 7a/s + \item Samsung: Galaxy Note 3 LTE (Many versions) + \item Samsung: Galaxy S III Neo (2 versions) + \item Samsung: Galaxy S5 Active + \item Samsung: Galaxy S5 LTE (Many versions) + \item Samsung: Galaxy S5 LTE Duos (Many versions) + \item Wileyfox: Swift + \end{itemize} + \item Qualcomm APQ8* + \begin{itemize} + \item Samsung: Galaxy S4 (Many versions) + \item Samsung: Galaxy S4 Value Edition (GT-I9515/L) + \item Samsung: Galaxy S4 Active + \item Samsung: Galaxy S5 LTE-A + \item Samsung: Galaxy S5 Plus + \end{itemize} + \item Samsung Exynos 7580: + \begin{itemize} + \item Samsung: Galaxy S5 Neo + \end{itemize} + \end{itemize} +\end{frame} + +\begin{frame} + \center{Limiting freedom, privacy and security attacks:} + \begin{itemize} + \item Isolated modem: + \begin{itemize} + \item Modem not in the SOC. + \item No shared memory (RAM) between the modem and the SOC. + \begin{itemize} + \item HSIC: USB-like, the host control re-enumeration. + \item MIPI: Should be OK, not extensively reviewed. + \end{itemize} + \end{itemize} + \end{itemize} +\end{frame} + +\begin{frame} + \center{Devices supported by Lineage 16 with a removable battery:} + \begin{itemize} + \item \sout{Qualcomm MSM8*:} Modem in the SOC + \begin{itemize} + \item \sout{Fairphone: FP2} + \item \sout{LG: G3 (many versions)} + \item \sout{OPPO: Find 7a/s} + \item \sout{Samsung: Galaxy Note 3 LTE (Many versions)} + \item \sout{Samsung: Galaxy S III Neo (2 versions)} + \item \sout{Samsung: Galaxy S5 Active} + \item \sout{Samsung: Galaxy S5 LTE (Many versions)} + \item \sout{Samsung: Galaxy S5 LTE Duos (Many versions)} + \item \sout{Wileyfox: Swift} + \end{itemize} + \item Qualcomm APQ8* + \begin{itemize} + \item Samsung: Galaxy S4 (Many versions) + \item Samsung: Galaxy S4 Value Edition (GT-I9515/L) + \item Samsung: Galaxy S4 Active + \item Samsung: Galaxy S5 LTE-A + \item Samsung: Galaxy S5 Plus + \end{itemize} + \item Samsung Exynos 7580: + \begin{itemize} + \item \sout{Samsung: Galaxy S5 Neo} Modem $\leftrightarrow$ SOC: shared memory + \end{itemize} + \end{itemize} +\end{frame} + +\begin{frame} + \center{Hmmm} + \begin{itemize} + \item $\rightarrow$ No Exynos with removable battery and isolated modem. + \item $\rightarrow$ All the devices supported by Replicant 6.0 have been dropped. + \item $\rightarrow$ We'd like to support the devices longer... + \item The APQ* also look interesting, we would need to do more research on it: + \begin{itemize} + \item Isolated modem? + \item Upstream support for the SOC? + \item Nonfree bootloader ($\sim$ BIOS+GRUB) (signed?) + \item Probably way more work needed (different modem, more upstreaming work). + \end{itemize} + \item We also took the decision when LineageOS didn't support these. + \end{itemize} +\end{frame} + +\section{Part III} +\begin{frame} + \center{Part III} +\end{frame} + +\begin{frame} + \center{Already supported by Replicant 6.0:} + \begin{itemize} + \item Galaxy SIII (I9300): Good upstream status, modem support lacking, and other small fixes to do. + \item Galaxy Note II (I9300): Good upstream status, modem and display support lacking. + \item Galaxy SIII 4G (I9305) and Galaxy Note II 4G (N7105): Different modem. + \end{itemize} +\end{frame} + +\begin{frame} + \center{Making devices more sustainable:} + \begin{itemize} + \item $\rightarrow$ Upstream Linux $\rightarrow$ We can support them longer. + \item $\rightarrow$ Most Replicant users and developers already have one. + \item $\rightarrow$ Known hardware that works and can still be bought second hand. + \item Remaining issues: + \begin{itemize} + %% $\rightarrow$ Repurpose the device and run GNU/Linux when not supported anymore. + \item RAM size and new Android versions. + \item Nonfree bootloader. + \end{itemize} + \end{itemize} +\end{frame} + +\begin{frame} + \center{Main blocker: Nonfree bootloader} + \begin{itemize} + \item Nonfree $\rightarrow$ Incentive to drop the device. + \item Partially free u-boot port $\rightarrow$ can't redistribute the nonfree part. + \item Research to understand if we can make it fully free (XBOOT). + \item Stock bootloader incompatible with Linux... + \end{itemize} +\end{frame} + +\begin{frame} + \center{Upstream Linux bootloader requirements} + Documentation/arm/Booting (since 2003): + \begin{verse} + The MMU must be off. + + Instruction cache may be on or off. + + Data cache must be off. + \end{verse} +\end{frame} + +\begin{frame} + \center{Some funding later...} +\end{frame} + +\begin{frame} + \center{Replicant 9.0:} + \begin{itemize} + \item Galaxy SIII booting, modem initialized. + \item Still work to do(testing, audio, networking, etc.). + \item Slowed down by conferences and other Replicant work (XBOOT, Replicant 6, etc). + \end{itemize} +\end{frame} + +\begin{frame} + \center{Future directions:} + \begin{itemize} + \item Finish the research on XBOOT. + \begin{itemize} + \item https://github.com/xboot/xboot + \end{itemize} + \item Look into devices like the PinePhone and the Librem5. + \item Share more work with GNU/Linux upstream (OFono, other hardware support libraries). + \end{itemize} +\end{frame} + +%% { +%% \setbeamercolor{background canvas}{bg=black} +%% \setbeamercolor{normal text}{fg=green} +%% \usebeamercolor*{normal text} +%% \begin{frame} +%% \center { +%% \less $\slash$ subversive \gtr +%% } +%% \end{frame} +%% } + +%% { +%% \setbeamercolor{background canvas}{bg=black} +%% \setbeamercolor{normal text}{fg=green} +%% \usebeamercolor*{normal text} +%% \begin{frame} +%% \center { +%% +%% } +%% \end{frame} +%% } + + + +%% %% TODO: also add picture of the 8086 + internals +%% { +%% \setbeamercolor{normal text}{fg=green} +%% \usebeamercolor*{normal text} +%% \begin{frame} +%% \center { +%% %% From cpu/x86/16bit/entry16.inc in Coreboot +%% \begin{verbatim} +%% movw %cs, %ax +%% shlw $4, %ax +%% movw $nullidt_offset, %bx +%% subw %ax, %bx +%% lidt %cs:(%bx) +%% movw $gdtptr16_offset, %bx +%% subw %ax, %bx +%% lgdtl %cs:(%bx) +%% \end{verbatim} +%% } +%% \end{frame} +%% } + +%% { +%% \setbeamercolor{background canvas}{bg=white} +%% \setbeamercolor{normal text}{fg=black} +%% \usebeamercolor*{normal text} +%% \begin{frame} +%% \center { +%% How all that works in practice? +%% } +%% \end{frame} +%% } + +%% { +%% \setbeamercolor{background canvas}{bg=white} +%% \setbeamercolor{normal text}{fg=black} +%% \usebeamercolor*{normal text} +%% \begin{frame} +%% \center { +%% How all that works in practice? +%% } +%% \end{frame} +%% } + +%% \begin{frame} +%% Licenses: +%% \begin{itemize} +%% \item The SIM card and BTS pictures comes from \url{https://en.wikipedia.org/wiki/File:Gsm_network.png} and are under the GFDL 1.2 or the Creative commons Attributions-Share ALike 3.0 Unported. +%% \begin{itemize} +%% \item GSM: \url{http://wiki.openmoko.org/wiki/QtMoko} +%% \item SHR pictures: \url{http://wiki.openmoko.org/wiki/SHR_User_Manual} +%% \end{itemize} +%% \item HTC Dream: \url{https://commons.wikimedia.org/wiki/File:HTC_Dream_opened.jpg} +%% Creative Commons Attribution 3.0 Unported +%% \item \url{https://creativecommons.org/licenses/by-sa/4.0/} for the rest. +%% \end{itemize} +%% \end{frame} + +\begin{frame} + Licenses: + \begin{itemize} + \item The SIM card and BTS pictures comes from \url{https://en.wikipedia.org/wiki/File:Gsm_network.png} and are under the GFDL 1.2 or the Creative commons Attributions-Share ALike 3.0 Unported. + \item This presentation: CC-BY-SA 4.0 International. + \item The Galaxy SIII picture: CC-BY-SA 4.0 International. + \end{itemize} +\end{frame} + +\begin{thebibliography}{99} +\bibitem{stalin-dream} + \url{https://stallman.org/archives/2011-nov-feb.html} +\end{thebibliography} +\end{document} diff --git a/Fosdem2020/Replicant_sustainability/images/i9300_hardware.svg b/Fosdem2020/Replicant_sustainability/images/i9300_hardware.svg new file mode 100644 index 0000000..7b9fa10 --- /dev/null +++ b/Fosdem2020/Replicant_sustainability/images/i9300_hardware.svg @@ -0,0 +1,659 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SOC:SamsungExynos4412 + Modem:IntelXMM626 + + + + + + + HSIC bus + + + + + + + + + + + + + + + + + + + + + BTS: BaseTransceiverStation + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Fosdem2020/Replicant_sustainability/images/virtuous_circle.dot b/Fosdem2020/Replicant_sustainability/images/virtuous_circle.dot new file mode 100644 index 0000000..4bb1617 --- /dev/null +++ b/Fosdem2020/Replicant_sustainability/images/virtuous_circle.dot @@ -0,0 +1,6 @@ +digraph "Replicant and GNU/Linux" { + bgcolor="#ffffff00" # Transparent background + ratio=0.9 + "Replicant" -> "GNU/Linux" [label="benefits"]; + "GNU/Linux" -> "Replicant" [label="benefits"]; +} -- cgit v1.2.3