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