Commit Graph

2854 Commits

Author SHA1 Message Date
Denis 'GNUtoo' Carikli
79c21f1b92
Add build script to simplify the build procedure.
Once the source code is downloaded and the dependencies are
installed, it makes it easier for people to build Replicant.

It also saves the builds logs, to enable to later look at why
the build failed without needing to re-run the build.

However users still have to take care of running repo --sync
if necessary. This ensure that the local modifications are not
lost and also simplifies the procedure for testing patches.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2019-09-04 16:45:06 +02:00
Denis 'GNUtoo' Carikli
950958a74c
Remove F-Droid until we can make a FSDG compliant version
It's been more than one year that Replicant is aware that
shipping F-Droid as-is is not compliant with the Free System
Distrbution Guidelines(FSDG)[1].

This is beacause we hoped to resolve the issue upstream in
a timely manner, but that didn't happen.

As we now focus on a longer term solution[2], it doesn't make
any sense to keep F-Droid as-is in Replicant.

That new approach would enable to have an extremely low
maintenance cost for both F-Droid and Replicant if it
is merged upstream.

It would also enable users and developers of other
Android distributions to use it.

References:
-----------
[1]https://www.gnu.org/distros/free-system-distribution-guidelines.html
[2]https://gitlab.com/fdroid/fdroidclient/issues/564#note_162158449

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
2019-07-24 17:16:46 +02:00
doak
c1c94e5fec
Do not leave certificates creation in undefined state
Create either all or none keys and certificates.

Signed-off-by: doak <doak+dev@posteo.net>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2019-03-06 00:39:17 +01:00
doak
1d677d9f9f
Make creation of certificates more robust
This fixes several issues:
  * Mostly all fields have to be set (at least it seems like this)
    to create certificates using 'make_key' successfully.
  * Handle default values.
  * Avoid unwanted whitespaces in 'SUBJECT' due of linebreak.

Signed-off-by: doak <doak+dev@posteo.net>
[GNUtoo@cyberdimension.org: added linebreak in commit message]
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2019-03-06 00:35:20 +01:00
doak
d6448fbb8a
Formatting: Split all arguments into seperate lines
Signed-off-by: doak <doak+dev@posteo.net>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2019-03-06 00:32:11 +01:00
doak
d4eea619b9
Add output messages
Signed-off-by: doak <doak+dev@posteo.net>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2019-03-06 00:31:24 +01:00
Wolfgang Wiedmeyer
8f93ac90e6
Replicant 6.0 0003 images release
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-12-10 06:13:30 +01:00
Wolfgang Wiedmeyer
a6cdc8eab3
Replicant 6.0 0002 images release
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-09-09 20:49:50 +02:00
Wolfgang Wiedmeyer
ae7ec245c8
targets: add n5100 and n5110
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-09-08 22:50:23 +02:00
Wolfgang Wiedmeyer
06f71dd1a4
readd setup wizard to product packages
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-07-09 15:33:36 +02:00
Wolfgang Wiedmeyer
da76a3e288
simplify (and fix) boot animation selection
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-06-23 13:04:25 +02:00
Wolfgang Wiedmeyer
fbea83bdb5
softwaregl overlay: update default workspaces
Add workspace layouts for tablets and show RepWifi on the workspace.

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-06-23 01:32:20 +02:00
Wolfgang Wiedmeyer
f14027ae6b
sepolicy: set fsck_untrusted to permissive in recovery
Breaks installation from SD card in some cases otherwise.

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-06-16 23:32:12 +02:00
Wolfgang Wiedmeyer
f02a8d59a5
targets: add n7000 and espresso variants
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-06-12 22:26:17 +02:00
Wolfgang Wiedmeyer
665eb3985c
sign-build: detect n7000
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-06-12 20:25:57 +02:00
Wolfgang Wiedmeyer
ec44b9092c
targets: add maguro
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-05-13 13:37:50 +02:00
Wolfgang Wiedmeyer
c1a7ee8deb
Replicant 6.0 0001 images release
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-05-06 20:26:35 +02:00
Wolfgang Wiedmeyer
c606cc8a80
targets: only list devices that are currently supported
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-05-04 21:15:18 +02:00
Wolfgang Wiedmeyer
39598b2466
Include live wallpapers only when USE_OPENGL_RENDERER is enabled
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-05-03 19:10:21 +02:00
Wolfgang Wiedmeyer
016bb5b919
remove obsolete settings overlay
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-05-03 16:06:45 +02:00
Wolfgang Wiedmeyer
7983ebafbb
CONTRIBUTORS and README: https urls for redmine domains
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-05-02 23:58:17 +02:00
Wolfgang Wiedmeyer
180780e30b
readd mac_permissions.xml from LineageOS
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-05-02 20:01:24 +02:00
Wolfgang Wiedmeyer
801e730e7e Merge branch 'cm-13.0' of https://github.com/LineageOS/android_vendor_cm into replicant-6.0 2017-05-02 19:56:19 +02:00
Wolfgang Wiedmeyer
2b5008db43
config: more vendor/cm -> vendor/replicant path fixes
Makes sure that these configs can be used for potential Replicant
targets.

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-05-01 22:49:59 +02:00
Gabriele M
109fef9e1e
su: Don't start daemon for adb only mode
adb root doesn't rely on su to work, so the daemon shouldn't
be started.

Change-Id: Ice9131b7efe9344df5d77fdbc465ce0b82dbe07f
2017-05-01 23:31:39 +03:00
Wolfgang Wiedmeyer
652c57c520
sign-build: save images in subdirectory with the name of the device
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-04-30 19:42:51 +02:00
Michael Bestas
c30dc1b5ea addonsu: Add Lineage version to zip name
* Avoid confusion

Change-Id: I823d77e037b0d0dc2a4b9f0466d594213c72e179
2017-04-28 20:55:59 +00:00
Wolfgang Wiedmeyer
57366d354a
README: use two spaces for line-breaks
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-04-26 23:52:13 +02:00
Tim Schumacher
116515991c
Fix lunch names in vendorsetup.sh
Change-Id: Ic2daf7ae920126fa6af420225bf9eac101c534e3
2017-04-17 09:47:26 +02:00
Sean McCreary
4a53e9a7d0 sepolicy: com.cyanogenmod.updater -> org.lineageos.updater
Update seapp_contexts and mac_permissions.xml for the new
LineageOS updater

Change-Id: I171b35ad5578202724efc3f823f7e7a461e5e5cd
2017-03-26 14:58:55 -06:00
Wolfgang Wiedmeyer
6c85ea5648
add RepWifi app to product packages
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-03-16 15:19:06 +01:00
Simon Josefsson
1ad1f1a341 Work around that 'make-key' has rc 1 on success.
The 'make_key' script returns rc 1 on both failure and success, so work
around by ignoring exit code from that script.
2017-03-04 10:26:45 +01:00
Gabriele M
5f124ae55b Add target to make a flashable su addon
Run 'make addonsu' to make a flashable zip to install the addon and
'make addonsu-remove' for a flashable zip that removes it.

Change-Id: I5b2fe67f98f2474b923c074dc6025b47c6db2ae0
2017-02-27 23:33:02 -05:00
Gabriele M
52996421a1 backuptool: Preserve the SELinux context of the files
Add a function that allows to copy files preserving their SELinux
context that is generic enough to work with both busybox and toybox.

Change-Id: If2c245863df5675c18dbf43b6bcedeb33383fc38
2017-02-27 23:33:02 -05:00
Gabriele M
cf276aa7cd backuptool: Don't rely on the order of the elements in the list
We should not test symlinks using -e or -f, otherwise the order in
which the files are backed up and restored matters.

Change-Id: I9b87972b27a63ef562c0c5f46f943eafd0a08ce1
2017-02-27 23:33:02 -05:00
Zhao Wei Liew
70e53042eb cm: Import init.superuser.rc into init.local.rc
With change I73bbf37e547323846cd863b3dcea5c890f9ee969,
we need to move all the contents of the su service into
the main init.cm.rc file.

Change-Id: Id7cf00738dcb81935b27e5de33d1f7dd2b2fcdb3
2017-02-27 23:33:02 -05:00
Brinly Taylor
5da6b60229 cm: Add BQ Aquaris X5 (paella) maintainers.
Change-Id: I782dd3109ea441d2d0bf77a86d1b3b22d6a2a673
2017-02-24 05:12:05 +00:00
ElDainosor
1966e99909 apn: Updating Movistar Argentina APN
This change updates the APN settings, removing the proxy and the port. 
  This, according to movistar itself, makes the connection slower and 
  will be shut down soon.

More info on their forum: 
https://foro.movistar.com.ar/threads/43044-NOVEDAD-Apagado-de-Proxy

Change-Id: I705e6ed2237503ee67c7371bf3595b461dfbbd9c
(cherry picked from commit 08eb71e86a4218817496eee60a80d21a5781e1b3)
2017-02-19 21:11:15 +00:00
Wolfgang Wiedmeyer
4971a943eb
build-toolchain: more common path for gold ld
also remove obsolete TODO

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-02-18 16:28:59 +01:00
Wolfgang Wiedmeyer
d93a358a4a
sign-build: consider device-specific releasetools code for Galaxy S2
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-02-15 01:56:01 +01:00
codeworkx
edbf4ba227 add LeEco Le Pro3 maintainers
Change-Id: I4798d78f264b375be3942f15d6f41a2fb9821fc4
2017-02-14 21:06:36 +01:00
Wolfgang Wiedmeyer
37254642e9
remove LineageOS bootanimation
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-02-12 20:29:44 +01:00
Wolfgang Wiedmeyer
64dba5e9e2
Merge remote-tracking branch 'lineageos/cm-13.0' into replicant-6.0
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-02-12 19:41:06 +01:00
Zhao Wei Liew
dee66450bb cm: bootanimation: Fail the build if mogrify is absent
We're no longer using convert, but mogrify.

Change-Id: Ifd58527b49e5548dd94b35a8cf0ffa4ad5196804
2017-02-11 12:09:58 +00:00
nicknitewolf
49d115a88a apns: Add SingTel hi!card sim APN
Change-Id: I0715dcdfb7ff845f0d156e2a0919ae6ce02a72b0
(cherry picked from commit 0258f3e8a2e308353264ffd531330770ee0f5ec9)
2017-02-10 22:20:02 +00:00
Daniel Marsee
c9fc176de8 apns: Update H2O Wireless for LTE
New H2O Wireless APN to allow LTE is PRODATA, not att.mvno
New settings were copied from 
http://easygo.h2owirelessnow.com/easygo/images/english/APN_SETTING-2014.pdf.

Change-Id: Ic09f9c9a8db90877fa2842d076762a14bdf154ca
(cherry picked from commit a434e63395933d22ef8731858ee9af8e824408d3)
2017-02-10 22:19:34 +00:00
Paul Keith
895fce99c8 apns: Remove differentiation between FreedomPop GSM APNs
* Unnecessary due to differing mcc/mnc

Change-Id: Ica43ec381d4aa1873f2e332adf31381fac309e1b
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
(cherry picked from commit 4f163738655de88ec6b2818028bbf8356d4a4e39)
2017-02-10 22:19:15 +00:00
Paul Keith
71c83d686d apns: Correct FreedomPop US LTE APN
* This is not run on 3 UK's network, but AT&T's

Change-Id: I81c8881b04ebd5c7a24794835097056d9075d9a2
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
(cherry picked from commit 6dc33ac9c59065c676bb908fea860ba48be9acc6)
2017-02-10 22:18:49 +00:00
Paul Keith
ab2315ce65 apns: Add differentiation to FreedomPop Global GSM APN
Change-Id: Ifd45a3ce39002ff3f1668e03b2ddb822a096d326
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
(cherry picked from commit 4e3f2767361509326367bd25e1ab6ab0742795ca)
2017-02-10 22:17:57 +00:00
Paul Keith
7971d7e53d apns: Add FreedomPop US LTE sim APN
Change-Id: I91a9f5d503e49161399ab3f73cad4d8a8174c40b
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
(cherry picked from commit 3576ede78cf34a01bb0aeb7afb6def521be3c5a9)
2017-02-10 22:17:48 +00:00