Project

General

Profile

DeprecatedPortingToAndroid10 » History » Version 44

Denis 'GNUtoo' Carikli, 03/28/2019 12:15 AM

1 1 Denis 'GNUtoo' Carikli
h1. Porting Replicant to Android 9
2
3 34 Denis 'GNUtoo' Carikli
h2. Replicant 9 work in progress
4
5
*Repository*: git://git.putti.eu/aosp/manifest_i9305.git
6 42 Joonas Kylmälä
*Clone command*: repo init -u git://git.putti.eu/aosp/manifest_i9305.git -b android-9.0.0
7 34 Denis 'GNUtoo' Carikli
*Status[1]*: The Galaxy SIII 4G (i9305) boots (with graphics hacks) under AOSP9, without having to import nonfree libraries. Not much has been validated beside that.
8
9 36 Denis 'GNUtoo' Carikli
TODO:
10 38 Denis 'GNUtoo' Carikli
* -Boot a device under AOSP9-
11 44 Denis 'GNUtoo' Carikli
* Build it under a "FSDG compliant distribution":https://www.gnu.org/distros/free-distros.html like Trisquel8
12 1 Denis 'GNUtoo' Carikli
* Port the device on top of LineageOS 16
13 43 Denis 'GNUtoo' Carikli
* Find and remove proprietary software if there is any shipped or downloaded with the source code
14 36 Denis 'GNUtoo' Carikli
* Port Replicant 6 changes
15
* Port libsamsung-ipc and libsamsung-ril
16 1 Denis 'GNUtoo' Carikli
* Port the sensors libraries and other device specific libraries
17 38 Denis 'GNUtoo' Carikli
* Port the AOSP9 changes on top of LineageOS 16
18 36 Denis 'GNUtoo' Carikli
* Rebrand LineageOS as Replicant
19
* Make sure that Replicant can be built on a GNU/Linux distribution that follows the Free Software Distributions Guidelines
20
* Reduce the attack surface
21
* Add support for smartphones that were supported in Replicant 4.2 and 6.0 if they meet the [[HardwareRequirements]]
22 39 Denis 'GNUtoo' Carikli
* Add in-system upgrades
23 36 Denis 'GNUtoo' Carikli
24 34 Denis 'GNUtoo' Carikli
fn1. at the time of writing
25
26
h2. Replicant 6.0 changes
27
28 2 Denis 'GNUtoo' Carikli
|_. Repository path |_. rebase worked |_. Changes |
29 4 Denis 'GNUtoo' Carikli
| build | No | |
30 22 Denis 'GNUtoo' Carikli
| manifest | No | N/A |
31 1 Denis 'GNUtoo' Carikli
| bootable/recovery | Yes | * UI changes to improve usability 
32 32 Denis 'GNUtoo' Carikli
* Branding
33 5 Denis 'GNUtoo' Carikli
* Small fix(es) | 
34 31 Denis 'GNUtoo' Carikli
| external/boringssl | Yes | * Small fix(es) |
35 4 Denis 'GNUtoo' Carikli
| external/heimdall | No | |
36
| frameworks/av | Yes | * Software rendering fix(es) |
37
| frameworks/base | Yes | * WiFi fixe(s) for external dongles
38
* Software rendering fix(es) 
39
* Privacy fix(es) 
40
* Security improvements 
41 1 Denis 'GNUtoo' Carikli
* Usability improvements |
42 5 Denis 'GNUtoo' Carikli
| frameworks/native | No |
43
| hardware/broadcom/wlan | Yes | * Remove nonfree software |
44
| hardware/libhardware | Yes | * Software rendering fix(es) |
45 10 Denis 'GNUtoo' Carikli
| hardware/libhardware_legacy | Yes | * Don't depend on nonfree software |
46 5 Denis 'GNUtoo' Carikli
| hardware/ti/omap4 | Yes | * Remove nonfree software 
47
* Don't depend on nonfree software 
48 33 Denis 'GNUtoo' Carikli
* Small fix(es) |
49
| libcore | Yes | * Small fix(es) | 
50 6 Denis 'GNUtoo' Carikli
| packages/apps/Browser | Yes | * Privacy fix(es) 
51 8 Denis 'GNUtoo' Carikli
* Branding
52 33 Denis 'GNUtoo' Carikli
* Small fix(es) |
53 7 Denis 'GNUtoo' Carikli
| packages/apps/LegacyCamera | Yes | * Software rendering fix(es)
54 33 Denis 'GNUtoo' Carikli
* Small fix(es) |
55 22 Denis 'GNUtoo' Carikli
| packages/apps/RepWifi | Not upstreamed, obsolete | N/A |
56
| packages/apps/ReplicantWallpapers | Not upstreamed | * Branding |
57 11 Denis 'GNUtoo' Carikli
| packages/apps/Settings | No | |
58
| packages/apps/SetupWizard | Yes | * Privacy fix(es) 
59
* Don't depend on nonfree software
60
* Branding |
61 12 Denis 'GNUtoo' Carikli
| packages/apps/ThemeChooser | Yes | * Privacy fix(es) ?
62
* Don't depend on nonfree software ? |
63 33 Denis 'GNUtoo' Carikli
| packages/providers/ContactsProvider | Yes | * Small fix(es) |
64 13 Denis 'GNUtoo' Carikli
| system/core | Yes | * Branding
65
* various fixes |
66
| vendor/replicant | No | |
67
| vendor/cmsdk | Yes | * Branding |
68 14 Denis 'GNUtoo' Carikli
| external/chromium-webview | ? | ? |
69
| external/drm_gralloc | Yes | * Software rendering fix(es) |
70
| external/llvm | Yes | * Software rendering fix(es) |
71
| external/mesa3d |  Yes | * Software rendering fix(es)
72
* Performance debugging for software rendering |
73 33 Denis 'GNUtoo' Carikli
| external/parameter-framework | Yes | * Small fix(es) |
74 14 Denis 'GNUtoo' Carikli
| external/protobuf | N/A | No changes |
75
| prebuilts/ndk | ? | ? |
76
| prebuilts/sdk | ? | ? |
77 33 Denis 'GNUtoo' Carikli
| sdk | Yes | * Small fix(es) |
78
| toolchain/src/binutils | Yes | * Small fix(es) |
79 14 Denis 'GNUtoo' Carikli
| toolchain/src/gcc | No | |
80 33 Denis 'GNUtoo' Carikli
| toolchain/src/jack | Yes | * Small fix(es) |
81
| toolchain/src/jill | Yes | * Small fix(es) |
82 22 Denis 'GNUtoo' Carikli
| kernel/samsung/smdk4412 |/3. Yes |/3. * Security fixes
83 1 Denis 'GNUtoo' Carikli
* Privacy Fixes (TrustZone)
84
* Don't depend on nonfree software
85 20 Denis 'GNUtoo' Carikli
* Remove nonfree software
86 33 Denis 'GNUtoo' Carikli
* Small fix(es) |
87 22 Denis 'GNUtoo' Carikli
| kernel/samsung/tuna |
88
| kernel/samsung/espresso10 |
89 28 Denis 'GNUtoo' Carikli
| device/samsung/i9100 | No |/14. * Replace nonfree software by free software
90
* free software sensors implementation(s)
91
* free software modem audio implementation(s)
92 25 Denis 'GNUtoo' Carikli
* Software rendering fix(es)
93 29 Denis 'GNUtoo' Carikli
* Privacy Fixes (TrustZone)
94
* Don't depend on nonfree software
95
* Remove nonfree software
96 1 Denis 'GNUtoo' Carikli
* Branding
97 33 Denis 'GNUtoo' Carikli
* Small fix(es) |
98 1 Denis 'GNUtoo' Carikli
| device/samsung/n7000 | Yes |
99
| device/samsung/i9300 | No |
100
| device/samsung/i9305 | No |
101
| device/samsung/n7100 | Yes |
102 29 Denis 'GNUtoo' Carikli
| device/samsung/n5100 | Yes |
103
| device/samsung/n5110 | Yes |
104
| device/samsung/maguro | Yes |
105
| device/samsung/tuna | Yes |
106 30 Denis 'GNUtoo' Carikli
| device/samsung/espressowifi | Yes |
107
| device/samsung/espresso3g | Yes |
108
| device/samsung/galaxys2-common | Yes |
109
| device/samsung/smdk4412-common | No |
110
| device/samsung/kona-common | Yes |
111 22 Denis 'GNUtoo' Carikli
| hardware/ril/samsung-ril | Not upstreamed | N/A |
112
| external/libsamsung-ipc | Not upstreamed | N/A |
113 23 Denis 'GNUtoo' Carikli
| hardware/tinyalsa-audio | Not upstreamed? | N/A |
114 40 Denis 'GNUtoo' Carikli
115
h2. Links 
116
117
* https://source.android.com/setup/build/requirements