Project

General

Profile

ContributorsMeetingJuly2019 » History » Version 118

Denis 'GNUtoo' Carikli, 07/30/2019 04:06 PM
discussion results: Add section about recovery and signing keys

1 1 Denis 'GNUtoo' Carikli
h1. Replicant contributors meeting the 27,28 July in France
2 2 Denis 'GNUtoo' Carikli
3 31 Denis 'GNUtoo' Carikli
h2. Date
4 2 Denis 'GNUtoo' Carikli
5 32 Denis 'GNUtoo' Carikli
The meeting will take place the 27 and 28 July 2019.
6 2 Denis 'GNUtoo' Carikli
7 13 Denis 'GNUtoo' Carikli
h2. Location
8
9 90 Denis 'GNUtoo' Carikli
The event will take place in the "April":https://en.wikipedia.org/wiki/April_(French_association) "office":https://april.org/en/contact-us. April is an association for the defense and promotion of free software.
10 1 Denis 'GNUtoo' Carikli
11 90 Denis 'GNUtoo' Carikli
*Precise location*: April, 44/46 rue de l'Ouest, bâtiment 8, 75014 Paris (It's accesible through the "place de la Catalogne", on the left of the "Biocoop" supermarket). Select "April" on the intercomm.
12
*map:* https://www.agendadulibre.org/events/19754
13
*Phone number of the April office*: 01 78 76 92 80.
14
15
The April office is relatively close to the "Gare Montparnasse railway station.":https://en.wikipedia.org/wiki/Gare_Montparnasse
16 13 Denis 'GNUtoo' Carikli
17 24 Denis 'GNUtoo' Carikli
In addition to trains, Gare Montparnasse railway station has also, in the same building, there is a metro station where you can access the metro lines "4":https://en.wikipedia.org/wiki/Paris_M%C3%A9tro_Line_4, "6":https://en.wikipedia.org/wiki/Paris_M%C3%A9tro_Line_6, "12":https://en.wikipedia.org/wiki/Paris_M%C3%A9tro_Line_12 and "13":https://en.wikipedia.org/wiki/Paris_M%C3%A9tro_Line_13.
18 16 Denis 'GNUtoo' Carikli
19 91 Denis 'GNUtoo' Carikli
h3. Related events
20
21 92 Denis 'GNUtoo' Carikli
On Friday, a dinner will take place.
22
23
*Dinner meeting time:* From 18h30 to 18h45
24 97 Denis 'GNUtoo' Carikli
*Dinner meeting location*: "Near the Montparnasse tower":https://redmine.replicant.us/attachments/1614/Friday_dinner_meeting.jpeg . The Montparnasse tower is very close to the Montparnasse railway station.
25 92 Denis 'GNUtoo' Carikli
26
At 18h45 we will try to find a Restaurant nearby.
27 91 Denis 'GNUtoo' Carikli
28 17 Denis 'GNUtoo' Carikli
h3. Airports
29
30
The two main airports near Paris are the "Roissy Charles de Gaulle International Airport":https://en.wikipedia.org/wiki/Charles_de_Gaulle_International_Airport and the "Paris Orly Airport":https://en.wikipedia.org/wiki/Orly_Airport.
31
32 25 Denis 'GNUtoo' Carikli
h4. Roissy Charles de Gaulle International Airport <-> Gare Montparnasse railway station
33 26 Denis 'GNUtoo' Carikli
34 21 Denis 'GNUtoo' Carikli
To get to the Gare Montparnasse railway station from the Roissy Charles de Gaulle International Airport by public transportation, you can take the "RER":https://en.wikipedia.org/wiki/R%C3%A9seau_Express_R%C3%A9gional B metro line up to the "Denfert-Rochereau station":https://en.wikipedia.org/wiki/Denfert-Rochereau_(Paris_M%C3%A9tro) where you can take the "line 6":https://en.wikipedia.org/wiki/Paris_M%C3%A9tro_Line_6 up to the Gare Montparnasse railway station.
35 25 Denis 'GNUtoo' Carikli
36
h4. Paris Orly Airport <-> Gare Montparnasse railway station
37 26 Denis 'GNUtoo' Carikli
38 33 Denis 'GNUtoo' Carikli
To get to the Gare Montparnasse railway station from the Paris Orly Airport by public transportation, you can take the "Orlyval":https://en.wikipedia.org/wiki/Orlyval up to the "Antony":https://en.wikipedia.org/wiki/Antony_(Paris_RER) stop, and from there take the "RER":https://en.wikipedia.org/wiki/R%C3%A9seau_Express_R%C3%A9gional "B":https://en.wikipedia.org/wiki/RER_B metro line up to the "Denfert-Rochereau station":https://en.wikipedia.org/wiki/Denfert-Rochereau_(Paris_M%C3%A9tro) where you can take the "line 6":https://en.wikipedia.org/wiki/Paris_M%C3%A9tro_Line_6 up to the Gare Montparnasse railway station.
39 21 Denis 'GNUtoo' Carikli
40 18 Denis 'GNUtoo' Carikli
h2. More information
41
42 19 Denis 'GNUtoo' Carikli
"Wikivoyage":https://en.wikivoyage.org has a page on "Paris":https://en.wikivoyage.org/wiki/Paris and "France":https://en.wikivoyage.org/wiki/France which have many practical information such as:
43
* Visa and other border requirements
44
* How to stay safe
45 1 Denis 'GNUtoo' Carikli
* The climate
46 18 Denis 'GNUtoo' Carikli
* Information on the public transportation
47 19 Denis 'GNUtoo' Carikli
* SIM cards
48 18 Denis 'GNUtoo' Carikli
49 29 Denis 'GNUtoo' Carikli
It also has pages on the "Roissy Charles de Gaulle International Airport":https://en.wikivoyage.org/wiki/Paris_Charles_de_Gaulle_Airport and the "Paris Orly Airport":https://en.wikivoyage.org/wiki/Paris_Orly_Airport with more details on the public transportation lines to use to go to Paris, which tickets to buy, etc.
50 20 Denis 'GNUtoo' Carikli
51 34 Denis 'GNUtoo' Carikli
h2. Contacting the organizers
52
53 35 Denis 'GNUtoo' Carikli
You can use the Replicant [[PrivateContact|private contact mail address]] in advance to obtain the cellphone number of an organizer to be able to  use it in case of issue (like being lost, not finding the location of the meeting, etc).
54 34 Denis 'GNUtoo' Carikli
55 36 Denis 'GNUtoo' Carikli
h2. Confirmed presentations
56
57 59 Denis 'GNUtoo' Carikli
|_. Topic |_. Time and dependencies |_. Status |_. Rationale |
58 96 Denis 'GNUtoo' Carikli
| Replicant history: "WIP source code":https://git.replicant.us/contrib/GNUtoo/presentations.git/tree/Replicant_contributors_meeting_27_28_July_2019_Paris_France/history?h=GNUtoo/wip  | | | * Has some context that might be useful for new Replicant contributors
59 59 Denis 'GNUtoo' Carikli
* Has information on the relationship between Replicant and GNU/Linux |
60 102 Joonas Kylmälä
| "Porting AOSP for a new device":https://redmine.replicant.us/attachments/download/1618/Porting-AOSP.pdf | Should be in the beginning / before technical talks. Can be after Replicant history presention. | | |
61 94 Denis 'GNUtoo' Carikli
| Replicant and bootloaders: "Source code":https://git.replicant.us/contrib/GNUtoo/presentations.git/tree/Replicant_contributors_meeting_27_28_July_2019_Paris_France/bootloaders  "pdf":https://redmine.replicant.us/attachments/download/1613/Replicant_and_bootloaders.pdf | | | * The Galaxy SIII (and similar devices) bootloader status is complicated and relevant to Replicant 9 |
62
| Replicant and modems: 
63
* "Source code":https://git.replicant.us/contrib/GNUtoo/presentations.git/tree/Replicant_contributors_meeting_27_28_July_2019_Paris_France/modems
64
* "Introduction pdf":https://redmine.replicant.us/attachments/download/1615/Replicant_and_modems_Introduction.pdf
65 101 Denis 'GNUtoo' Carikli
* "Samsung IPC PDF":https://redmine.replicant.us/attachments/download/1616/Replicant_and_modems_Samsung-ipc.pdf
66
* "oFono based Java RIL pdf":https://redmine.replicant.us/attachments/download/1617/Replicant_and_oFono-based_Java_RIL.pdf | | | * Meant to enable new contributors to work on the modem part |
67 63 Denis 'GNUtoo' Carikli
| Discussions on the bootloader situation on the Galaxy SIII and similar smartphones | After the talk on the bootloaders | | |
68
| Discussions on minimal requirement to accept a device in Replicant:
69 1 Denis 'GNUtoo' Carikli
* Do we still accept devices with modems that are not isolated?
70 64 Denis 'GNUtoo' Carikli
* Do we have plan to require free software bootloaders? 
71
* Do we require replacable batteries? | After the talk on modems and bootloaders | | |
72 1 Denis 'GNUtoo' Carikli
| Discussions on the future of Replicant:
73
* Which devices do we target
74 64 Denis 'GNUtoo' Carikli
* Do we continue focusing on devices with signed bootloaders
75
* Allwinner tablets, upstream Linux, and scalability
76 65 Denis 'GNUtoo' Carikli
* Devices with non-replacable batteries | After the talk on Replicant history | |
77 66 Denis 'GNUtoo' Carikli
| Discussion about Upstream components, design choices, and cultural re-appropriation of technology
78
* [[Upstream]]
79
* Issues when combining together different build systems (Example: Android build system with Kconfig)
80
* Sharing work with GNU/Linux to enable more political control and cultural re-appropriation of mobile device in the long run, and the risk associated with it
81
* Android upstream anti-features and political design choices
82
* How subjective security is, threat models, and the difference between free software and device maker point of view | Please take a look at [[Upstream]] before attending if possible. | | |
83 103 Grim Kriegor
| Graphics acceleration on Replicant | Should optimally be before Paul leaves | | |
84 66 Denis 'GNUtoo' Carikli
85 36 Denis 'GNUtoo' Carikli
86 47 Denis 'GNUtoo' Carikli
Known schedule constraints:
87
* On Sunday, the April offices will be closed at 16h, so we need to already have packed everything and left the room at this time.
88
89 2 Denis 'GNUtoo' Carikli
h2. Still being defined, to be confirmed
90
91
Precise schedule:
92 99 Denis 'GNUtoo' Carikli
*Saturday:* 10:00 -> 17:00 (possibly continuing to the night)?
93 98 Joonas Kylmälä
*Sunday:* 10:00 -> 14:00?
94 46 Denis 'GNUtoo' Carikli
95 47 Denis 'GNUtoo' Carikli
*Poll for using the April offices*: https://framadate.org/ReplicantContributorMeetingJuly2019RoomOccupation
96 46 Denis 'GNUtoo' Carikli
97 37 Denis 'GNUtoo' Carikli
h3. Presentations:
98 43 Denis 'GNUtoo' Carikli
99 7 Denis 'GNUtoo' Carikli
* The Graphic stack in Replicant 9
100 2 Denis 'GNUtoo' Carikli
* Porting Replicant to Android 9 by Joonas Kylmälä?
101 4 Denis 'GNUtoo' Carikli
* A discussion about [[Upstream]] components, [[Upstream#Design-decisions|design choices]], and cultural re-appropriation of technology?
102 5 Denis 'GNUtoo' Carikli
** How subjective security is, threat models, and the difference between free software and device maker point of view
103
** Sharing work with GNU/Linux to enable more political control and cultural re-appropriation of mobile device in the long run, and the risk associated with it
104 1 Denis 'GNUtoo' Carikli
** Android upstream anti-features and political design choices
105
** Issues when combining together different build systems (Example: Android build system with Kconfig)
106 61 Denis 'GNUtoo' Carikli
107 37 Denis 'GNUtoo' Carikli
108 45 Fil Bergamo
h3. Over a cup of coffee:
109
110
* Fil is available for informal chatting about RepWifi
111
112 37 Denis 'GNUtoo' Carikli
h3. Hardware
113
114
h4. Devices
115
116 85 Denis 'GNUtoo' Carikli
Good practices:
117
* It would be a good idea to put your name on a sticker on the device if possible
118
119 67 Denis 'GNUtoo' Carikli
|_. Person |_. Hardware |_. Comments |_. Usage |
120 70 Denis 'GNUtoo' Carikli
|/12. GNUtoo | Galaxy SIII (I9300) with the stock bootloader | |
121 69 Denis 'GNUtoo' Carikli
| Galaxy SIII 4G (I9305) with the stock bootloader | |
122
| Galaxy SIII 4G (I9305) with u-boot | |
123
| Galaxy Nexus (I9250) with the stock bootloader | |
124
| Galaxy SII (I9100) with the stock bootloader | |
125 67 Denis 'GNUtoo' Carikli
| GTA04 A3 | | |
126
| GTA04 A4 | | |
127
| Optimus black (P970) | | |
128 69 Denis 'GNUtoo' Carikli
| GTA01 |/4. Used in a presentation about Replicant history | |
129
| GTA02 | |
130
| HTC Dream | |
131 76 Denis 'GNUtoo' Carikli
| N900 | Testing the battery charger driver is still needed but require a heavy PSU |
132 74 Denis 'GNUtoo' Carikli
|/4. Fil | Galaxy Note 2 (N7100) stock bootloader | [Working] Available for non-critical tests | * Test the upstream touchkey driver
133 75 Denis 'GNUtoo' Carikli
=> TODO:
134
* Bring a Parabola microSD (GNUtoo)
135
* Test the patch with an I9300
136
* Rebase the patch on master or linux-next |
137 67 Denis 'GNUtoo' Carikli
| Galaxy SIII (I9300) stock bootloader | [Working] Test Subject available for any experiment | |
138 81 Denis 'GNUtoo' Carikli
| Galaxy SIII (I9300) stock bootloader | [Bricked] available for hardware hacking | * Test "fixing the phone":https://media.ccc.de/v/34c3-8784-emmc_hacking_or_how_i_fixed_long-dead_galaxy_s3_phones |
139 110 Denis 'GNUtoo' Carikli
| Galaxy Tab 2 7.0 (GT P3100) | Property of the Replicant Project | * -Add support for it in the [[BackupTheEFS]] instructions- |
140 109 Denis 'GNUtoo' Carikli
|/2. Paulk | Galaxy Note (N7000) | | * -Add support for it in the [[BackupTheEFS]] instructions- |
141 104 Denis 'GNUtoo' Carikli
| Galaxy Tab 2 10.1 (P5100) | | * -Add support for it in the [[BackupTheEFS]] instructions- |
142 79 Denis 'GNUtoo' Carikli
|\2. Looking for a Galaxy Note 8.0 (N5100) | | * Add support for it in the [[BackupTheEFS]] instructions |
143 80 Denis 'GNUtoo' Carikli
| | Add devices you can bring here or you want other to bring | Add comments, requirements, etc | Add what you want to do with the device or other people's device |
144 37 Denis 'GNUtoo' Carikli
145 1 Denis 'GNUtoo' Carikli
h4. Debug utilities
146 37 Denis 'GNUtoo' Carikli
147 71 Denis 'GNUtoo' Carikli
|_. Person |_. Hardware |_. Comments |_. Usage |
148 84 Denis 'GNUtoo' Carikli
|/6. GNUtoo | Serial port cable with variable resistors |  |
149 37 Denis 'GNUtoo' Carikli
| Multimeter |  |
150
| Simtrace 1: Can get the dialog between the modem and the SIM card in wireshark |  |
151 108 Denis 'GNUtoo' Carikli
| SIM card that is not recognized in Replicant (STK related?) | Test on Replicant 4.2 and on Replicant 6.0 |
152 84 Denis 'GNUtoo' Carikli
| SIM card + phone that can trigger the audio call issue | |
153 37 Denis 'GNUtoo' Carikli
| Sigrok compatible adjustable power supply | Not sure to bring it (heavy) |
154 44 Fil Bergamo
|/1. Fil | SIM card that is not recognized in Replican 6 | |
155 105 Denis 'GNUtoo' Carikli
156
h2. Discussion results
157
158
|_. Topic |_. Impact |_. Result |_. Consensus in that meeting |
159 107 Denis 'GNUtoo' Carikli
| Do we care about supporting devices with non-removable batteries? | This impacts the design decisions as supporting new devices through upstream code takes longer than hacking together the vendor code not to require nonfree libraries. Because of that either users, repair shops or Replicant device vendors will need to have a viable way to change the non-removable battery. If this is not the case it would force the Replicant project to race to try to support a device while it's still being sold new. If not users buying devices would have a battery that doesn't last enough when bought second hand. |  It's too hard, even for vendors like Technoethical which have some expertise in that area to upgrade non-removable batteries when the case is sealed. Practically speaking that could be done but the end result would not be as good as the new device, like the sealing would not be as good, making users damage the phone as they would expect the sealing to work. | The cost for Replicant would be too high, so participant thought that not caring about devices without non-removable batteries and prioritize to support devices in Replicant through upstream project was better |
160 118 Denis 'GNUtoo' Carikli
| How to handle the various keys used to sign releases, and other related things and should the recovery check signatures  | * The installation instructions need to be as simple as possible => If users have to check the signatures only once it's better. So now users check the recovery only, which then checks the rest.
161
* The people involved in local Replicant install parties (in Paris) will help local Replicant users to update the recovery
162
* Technoethical previously stated that the users having bought devices already running Replicant through them are either able to install new recoveries or that they are able to help them do it |\2. * Keys usage in the short term: Developers sign with their keys
163
* Keys usage in the longer term (requires time to implement it): use a keyring with the public key of several Replicant developers, like it is done in Parabola with the parabola-keyring package 
164
* Keep checking signatures by default in the recovery |
165 111 Denis 'GNUtoo' Carikli
166
h2. Video encoding
167 1 Denis 'GNUtoo' Carikli
168 112 Denis 'GNUtoo' Carikli
h3. Sound
169 1 Denis 'GNUtoo' Carikli
170 113 Denis 'GNUtoo' Carikli
The microphone was mono, with only a channel from the left. So we need to create mono audio files from the videos.
171 112 Denis 'GNUtoo' Carikli
172
To make the sound go in both channel, do the following in Audacity:
173
174
* Create a new project with File -> New
175
* Import the video file with File -> Open
176 111 Denis 'GNUtoo' Carikli
* Click on the audio channel -> Split Stereo to Mono
177
* Delete the second channel
178 1 Denis 'GNUtoo' Carikli
* File -> Export -> Export Audio
179 113 Denis 'GNUtoo' Carikli
180 117 Denis 'GNUtoo' Carikli
h3. Video 
181
182
The videos were recorded with some equipement that was lent to us:
183
* A camera that outputed mp4 files on an SD card
184
* One wireless microphone
185
186
=> Next time ask if they have a second microphone available for questions.
187 113 Denis 'GNUtoo' Carikli
188
* The videos are splitted in several mp4 files
189
* The part before the presentation has to be removed
190
191
Kdenlive is being used for that.
192
193
Using kdenlive with Nouveau (with default settings), xfce4 under Parabola manage to freeze the screen (there are some messages like "nouveau: kernel rejected pushbuf: Cannot allocate memory" that can be observed when launching kdenlive through SSH).
194
195
To workaround that the following was used:
196
* gnome3 (probably under wayland)
197
* pushbuffer enabled in the module parameters for nouveau
198
199
=> It's still slow while zomming in the timeline but it manage not to freeze the whole graphics stack.
200 114 Denis 'GNUtoo' Carikli
201
To edit a video with kdenlive:
202
* create a project, and select the right resolution (720p 25fps here)
203
* Import the videos files to use with project->Add clip
204
* Also import the mono audio files that you just converted with audacious
205
* Import the clips from the Project bin into the timeline with drag and drop
206
* Right click on the imported click in the timeline and select Ungroup
207
* Right click on the audio below, and select remove
208
* Import the mono audio file from the Project bin in the timeline with drag and drop
209 115 Denis 'GNUtoo' Carikli
210
Once that is done you can remove the part before the presentation this way:
211
* In the timeline you can zoom at the maximum level 
212
* Use the cisors to divide the zone in two, you only need to click once with the left click to separate two zones
213
* Select the arow again (on the left of the cisors) and right click on the zone to remove, and select remove
214
* Do that for both the video and the audio tracks, then move both to the left to remove the gap done by the removal if there is one.
215 116 Denis 'GNUtoo' Carikli
216
h2. Files