DeprecatedPortingToAndroid10 » History » Version 45
Denis 'GNUtoo' Carikli, 03/28/2019 12:18 PM
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 | 45 | Denis 'GNUtoo' Carikli | h2. Building (WIP) |
10 | |||
11 | For Trisquel8 (WIP): |
||
12 | <pre> |
||
13 | sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev libgl1-mesa-dev libxml2-utils xsltproc unzip bc python-mako |
||
14 | </pre> |
||
15 | |||
16 | h2. TODO |
||
17 | |||
18 | 38 | Denis 'GNUtoo' Carikli | * -Boot a device under AOSP9- |
19 | 44 | Denis 'GNUtoo' Carikli | * Build it under a "FSDG compliant distribution":https://www.gnu.org/distros/free-distros.html like Trisquel8 |
20 | 1 | Denis 'GNUtoo' Carikli | * Port the device on top of LineageOS 16 |
21 | 43 | Denis 'GNUtoo' Carikli | * Find and remove proprietary software if there is any shipped or downloaded with the source code |
22 | 36 | Denis 'GNUtoo' Carikli | * Port Replicant 6 changes |
23 | * Port libsamsung-ipc and libsamsung-ril |
||
24 | 1 | Denis 'GNUtoo' Carikli | * Port the sensors libraries and other device specific libraries |
25 | 38 | Denis 'GNUtoo' Carikli | * Port the AOSP9 changes on top of LineageOS 16 |
26 | 36 | Denis 'GNUtoo' Carikli | * Rebrand LineageOS as Replicant |
27 | * Make sure that Replicant can be built on a GNU/Linux distribution that follows the Free Software Distributions Guidelines |
||
28 | * Reduce the attack surface |
||
29 | * Add support for smartphones that were supported in Replicant 4.2 and 6.0 if they meet the [[HardwareRequirements]] |
||
30 | 39 | Denis 'GNUtoo' Carikli | * Add in-system upgrades |
31 | 36 | Denis 'GNUtoo' Carikli | |
32 | 34 | Denis 'GNUtoo' Carikli | fn1. at the time of writing |
33 | |||
34 | h2. Replicant 6.0 changes |
||
35 | |||
36 | 2 | Denis 'GNUtoo' Carikli | |_. Repository path |_. rebase worked |_. Changes | |
37 | 4 | Denis 'GNUtoo' Carikli | | build | No | | |
38 | 22 | Denis 'GNUtoo' Carikli | | manifest | No | N/A | |
39 | 1 | Denis 'GNUtoo' Carikli | | bootable/recovery | Yes | * UI changes to improve usability |
40 | 32 | Denis 'GNUtoo' Carikli | * Branding |
41 | 5 | Denis 'GNUtoo' Carikli | * Small fix(es) | |
42 | 31 | Denis 'GNUtoo' Carikli | | external/boringssl | Yes | * Small fix(es) | |
43 | 4 | Denis 'GNUtoo' Carikli | | external/heimdall | No | | |
44 | | frameworks/av | Yes | * Software rendering fix(es) | |
||
45 | | frameworks/base | Yes | * WiFi fixe(s) for external dongles |
||
46 | * Software rendering fix(es) |
||
47 | * Privacy fix(es) |
||
48 | * Security improvements |
||
49 | 1 | Denis 'GNUtoo' Carikli | * Usability improvements | |
50 | 5 | Denis 'GNUtoo' Carikli | | frameworks/native | No | |
51 | | hardware/broadcom/wlan | Yes | * Remove nonfree software | |
||
52 | | hardware/libhardware | Yes | * Software rendering fix(es) | |
||
53 | 10 | Denis 'GNUtoo' Carikli | | hardware/libhardware_legacy | Yes | * Don't depend on nonfree software | |
54 | 5 | Denis 'GNUtoo' Carikli | | hardware/ti/omap4 | Yes | * Remove nonfree software |
55 | * Don't depend on nonfree software |
||
56 | 33 | Denis 'GNUtoo' Carikli | * Small fix(es) | |
57 | | libcore | Yes | * Small fix(es) | |
||
58 | 6 | Denis 'GNUtoo' Carikli | | packages/apps/Browser | Yes | * Privacy fix(es) |
59 | 8 | Denis 'GNUtoo' Carikli | * Branding |
60 | 33 | Denis 'GNUtoo' Carikli | * Small fix(es) | |
61 | 7 | Denis 'GNUtoo' Carikli | | packages/apps/LegacyCamera | Yes | * Software rendering fix(es) |
62 | 33 | Denis 'GNUtoo' Carikli | * Small fix(es) | |
63 | 22 | Denis 'GNUtoo' Carikli | | packages/apps/RepWifi | Not upstreamed, obsolete | N/A | |
64 | | packages/apps/ReplicantWallpapers | Not upstreamed | * Branding | |
||
65 | 11 | Denis 'GNUtoo' Carikli | | packages/apps/Settings | No | | |
66 | | packages/apps/SetupWizard | Yes | * Privacy fix(es) |
||
67 | * Don't depend on nonfree software |
||
68 | * Branding | |
||
69 | 12 | Denis 'GNUtoo' Carikli | | packages/apps/ThemeChooser | Yes | * Privacy fix(es) ? |
70 | * Don't depend on nonfree software ? | |
||
71 | 33 | Denis 'GNUtoo' Carikli | | packages/providers/ContactsProvider | Yes | * Small fix(es) | |
72 | 13 | Denis 'GNUtoo' Carikli | | system/core | Yes | * Branding |
73 | * various fixes | |
||
74 | | vendor/replicant | No | | |
||
75 | | vendor/cmsdk | Yes | * Branding | |
||
76 | 14 | Denis 'GNUtoo' Carikli | | external/chromium-webview | ? | ? | |
77 | | external/drm_gralloc | Yes | * Software rendering fix(es) | |
||
78 | | external/llvm | Yes | * Software rendering fix(es) | |
||
79 | | external/mesa3d | Yes | * Software rendering fix(es) |
||
80 | * Performance debugging for software rendering | |
||
81 | 33 | Denis 'GNUtoo' Carikli | | external/parameter-framework | Yes | * Small fix(es) | |
82 | 14 | Denis 'GNUtoo' Carikli | | external/protobuf | N/A | No changes | |
83 | | prebuilts/ndk | ? | ? | |
||
84 | | prebuilts/sdk | ? | ? | |
||
85 | 33 | Denis 'GNUtoo' Carikli | | sdk | Yes | * Small fix(es) | |
86 | | toolchain/src/binutils | Yes | * Small fix(es) | |
||
87 | 14 | Denis 'GNUtoo' Carikli | | toolchain/src/gcc | No | | |
88 | 33 | Denis 'GNUtoo' Carikli | | toolchain/src/jack | Yes | * Small fix(es) | |
89 | | toolchain/src/jill | Yes | * Small fix(es) | |
||
90 | 22 | Denis 'GNUtoo' Carikli | | kernel/samsung/smdk4412 |/3. Yes |/3. * Security fixes |
91 | 1 | Denis 'GNUtoo' Carikli | * Privacy Fixes (TrustZone) |
92 | * Don't depend on nonfree software |
||
93 | 20 | Denis 'GNUtoo' Carikli | * Remove nonfree software |
94 | 33 | Denis 'GNUtoo' Carikli | * Small fix(es) | |
95 | 22 | Denis 'GNUtoo' Carikli | | kernel/samsung/tuna | |
96 | | kernel/samsung/espresso10 | |
||
97 | 28 | Denis 'GNUtoo' Carikli | | device/samsung/i9100 | No |/14. * Replace nonfree software by free software |
98 | * free software sensors implementation(s) |
||
99 | * free software modem audio implementation(s) |
||
100 | 25 | Denis 'GNUtoo' Carikli | * Software rendering fix(es) |
101 | 29 | Denis 'GNUtoo' Carikli | * Privacy Fixes (TrustZone) |
102 | * Don't depend on nonfree software |
||
103 | * Remove nonfree software |
||
104 | 1 | Denis 'GNUtoo' Carikli | * Branding |
105 | 33 | Denis 'GNUtoo' Carikli | * Small fix(es) | |
106 | 1 | Denis 'GNUtoo' Carikli | | device/samsung/n7000 | Yes | |
107 | | device/samsung/i9300 | No | |
||
108 | | device/samsung/i9305 | No | |
||
109 | | device/samsung/n7100 | Yes | |
||
110 | 29 | Denis 'GNUtoo' Carikli | | device/samsung/n5100 | Yes | |
111 | | device/samsung/n5110 | Yes | |
||
112 | | device/samsung/maguro | Yes | |
||
113 | | device/samsung/tuna | Yes | |
||
114 | 30 | Denis 'GNUtoo' Carikli | | device/samsung/espressowifi | Yes | |
115 | | device/samsung/espresso3g | Yes | |
||
116 | | device/samsung/galaxys2-common | Yes | |
||
117 | | device/samsung/smdk4412-common | No | |
||
118 | | device/samsung/kona-common | Yes | |
||
119 | 22 | Denis 'GNUtoo' Carikli | | hardware/ril/samsung-ril | Not upstreamed | N/A | |
120 | | external/libsamsung-ipc | Not upstreamed | N/A | |
||
121 | 23 | Denis 'GNUtoo' Carikli | | hardware/tinyalsa-audio | Not upstreamed? | N/A | |
122 | 40 | Denis 'GNUtoo' Carikli | |
123 | h2. Links |
||
124 | |||
125 | * https://source.android.com/setup/build/requirements |