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
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
With change I73bbf37e547323846cd863b3dcea5c890f9ee969,
we need to move all the contents of the su service into
the main init.cm.rc file.
Change-Id: Id7cf00738dcb81935b27e5de33d1f7dd2b2fcdb3
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)
* Unnecessary due to differing mcc/mnc
Change-Id: Ica43ec381d4aa1873f2e332adf31381fac309e1b
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
(cherry picked from commit 4f163738655de88ec6b2818028bbf8356d4a4e39)
* 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)
Change-Id: Ifd45a3ce39002ff3f1668e03b2ddb822a096d326
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
(cherry picked from commit 4e3f2767361509326367bd25e1ab6ab0742795ca)
Change-Id: I91a9f5d503e49161399ab3f73cad4d8a8174c40b
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
(cherry picked from commit 3576ede78cf34a01bb0aeb7afb6def521be3c5a9)
* Type configuration is empty, not "default,supl"
Change-Id: I4d9bb0e4d61058dbf256059c3ba6b217faabcf78
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
(cherry picked from commit 1bbf68ffee1f8eb85e4d10a7841f52401f6791e9)
Some systems seem to have with the convert command as-is:
convert: Cannot write PNG8 or color-type 3; colormap is NULL
Because we are writing PNG8, there area a max of 256 colors total.
Explicitly telling convert to stay under the max fixes the issue.
Change-Id: I595fb4503396ca20226ea76bf7b15ed9878752fd
Used for freedompop in Spain.
Change-Id: Iae465f70bc7dad535eea8f13de425857093045c3
(cherry picked from commit 9ec810f6830a97300f2ed29b96b1858ec2bab539)
* Make it run at 60 FPS
* Slow down the pace to make it more relaxed
Change-Id: I563b09da875c53f1cd456606ee7a6200e8841bb1
(cherry picked from commit 070053c6abf1d2d23a9cbbcf910db139fde8100c)
* Avoids:
Cleaning output directory (./../../../vendor/.../.../proprietary)..
mv: cannot stat './../../../vendor/.../.../proprietary/*':
No such file or directory
Change-Id: I3258e64f3997f139d8db4fb4e07d14964a469c78
(cherry picked from commit 3c6bdac74bc212b26f723aa8697099fd636451a8)
Make sure that any changes to the boot animation can be picked up
and rebuilt by running 'mka bootanimation.zip'.
Change-Id: Ice10e919df4c1b651c5c5dbb9700cab38eeac748
(cherry picked from commit e796a286bd72df3e4715164171a3e7ef6d2eadb2)
Let a device specify INITIAL_COPYRIGHT_YEAR=XXXX in setup-makefiles.sh
so that the correct copyright(s) is/are included in vendor makefiles.
The CyanogenMod copyright is retained when INITIAL_COPYRIGHT_YEAR<2017
and the LineageOS copyright is now included for >=2017.
Change-Id: I6895b5b69bc7ba399042ac3c29e17f3209d15f1b
(cherry picked from commit 8945f5e8c796a3fca6fe2ae3cd90df331959c167)
- We plan on distributing an addon for our SU
- Developers that want SU by default can export
WITH_SU=true to their env
- This helps with application compatibility for
various services, while maintaining user flexibility
Change-Id: I6d52159676f805c3698ff59c896d943a3a4b25db
All usages of ro.com.android.dataroaming default to false.
The rest of the props are no longer used.
Change-Id: I2320e82a1859f8c13f3430a43aa8714186158ee0
The current version always redownloads the artifact.
Kali does not like the nested md5sum command and ignores it
leaving file checksum value blank so the test always fails.
A temporary variable is used to get around this limitation
of kali.
The echo "Downloading..." command has been modified to actually
print and has been moved so it only does so when downloading
the artifact.
Change-Id: I115860a87e55399a652d6548fe50f6204337f854
(cherry picked from commit 20c06fd75e09f3910ec699bdc54eec08f6bb4594)
* checksum will be downloaded and asserted to prevent a
redownload every clean
* Archives will exist (invisibly) at vendor/cm/prebuilt/archive
Change-Id: I637e86cacd146d665044a119885900dc4660e22b
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
For some reason the mkdir command:
mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part{0..2}
creates a directory part{0..2} instead of three separate directories.
Non-fatal build errors and a 386 byte bootanimation.zip file result.
This explicitly creates each directory.
Change-Id: Ia6ae0e4f64521992de8cc34a376af3eaac5c8819
* Gello being our first pawn
* Use curl instead of wget (more powerful)
* Ensure the intermediates directory exists prior to download
Change-Id: If19c18638a14a8b9ab55470ae6ee5a2deda2e3ec
This property is already defaulted to 0 in the code.
The su_daemon is also disabled by default.
Thus, for all intents and purposes, root access is
already being disabled by default.
Change-Id: I1241689c0d3253aa2e44835c55839f24b3b74341
We no longer sync Launcher3. This entry never did anything anyway,
since we build Trebuchet instead, which overrides Launcher3.
Change-Id: Ia2c56c9f819025ba34cbff1daf8d3380a924a8a5
Some time ago, hollandsnieuwe issued new SIM cards, which should
be associated with a different APN. This patch makes sure that we
support both the old and new ones.
Patch set 2: Add username and password (credits to Louis Matthijssen)
Change-Id: I21d0060825bc126b40990789c7552d6a3f0f6e43