Commit graph

981 commits

Author SHA1 Message Date
Bruno Martins
70307a29eb prebuilt: Update terminfo path
Due to bash compilation issues, libncurses had to be moved to /system_ext.

Change-Id: Idbc2ac810b98843c00ada4f96b46ebb1c8744128
2022-02-08 13:04:39 +01:00
Alexander Winkowski
8661e04096 apns: Add Unifi
Change-Id: I4c27c4089c548eca528c70d13bb7cb8d87373b54
2022-01-29 14:54:11 +01:00
Mike Auser
2007eddeb7 Changed protocol from IPV6 to IP for Telus
(This is consistent with Google's APNs config.)
These changes have been thoroughly tested on the Telus mobile network.

More Info...
Telus (from Western Canada) doesn't yet fully support IPV6.  As a
result, Telus customers trying to run LineageOS won't have mobile data.
Telus users (including myself) have been running into this
problem for years.  For example...
https://www.reddit.com/r/LineageOS/comments/hyg5hw/change_apn_settings/

Change-Id: I5085c9463e26da7101106525550f1efef2474c5b
2022-01-05 05:36:07 +01:00
Michael W
b4af84e630 vendor: apns: Add auth_type explanation
* Since it's unclear what the numbers are, make it easier to add a new
  apn by specifying the possible values in a comment at the top
* Also add missing copyright (verified, first LineageOS commit was
  indeed 2016)

Change-Id: Icaf292fd79a903bcf9ef5a3813f6288cffc468ad
(cherry picked from commit 7aded097379bd76b9167cc7f5784bcb3a9858066)
2021-12-14 21:43:20 +01:00
Michael W
d636573394 vendor: apns: Fix wrong IPV4 protocols
* The correct string is "IP", not "IPV4"
* Other possible values are "IPV6" or "IPV4V6"
* Source: prebuilts/sdk/30/public/api/android.txt
  Lines: 46832-46834

Change-Id: I3d4729b829f87a4d7ab83584d1aed01d87e10fd2
(cherry picked from commit 7dc952be2a46b2987a293f02dc394d1e5c9809ab)
2021-12-14 21:43:09 +01:00
Michael W
1f9ceb9582 vendor: apns: Remove unused "spn" attribute
* The parsing of apns-conf.xml happens in
  packages/providers/TelephonyProvider/src/com/android/providers/telephony/
  TelephonyProvider.java
* Looking at the code, the only possible occurance of "spn" is as a
  value for "mvno_type"
  -> Remove all spn="" attributes

Change-Id: Ic7fef88c98ad54ea98d702e028a0455de22e55cd
2021-12-14 21:42:56 +01:00
Michael W
4ce4571ffa vendor: apns: Correct Telia
* We have duplicate entries with one of them having a proxy
* According to the issue, no proxy is required
* Since the one with proxy is selected by default, the user has to change
  it manually
  -> Remove the wrong one
* Also correct order: Internet, then MMS

* Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3850

Change-Id: Id3857d74b703b1dd7d16714a3edc6853d4752e64
(cherry picked from commit 7efa2053b6a08da41ddea78bfd30b543693b5c05)
2021-12-14 21:34:28 +01:00
Michael Bestas
48796c9213
Move terminfo to /product
Change-Id: I51a7bc49dab09714cc66d056660a7b2e33ac2c49
2021-11-28 23:58:39 +02:00
Michael Bestas
03d5a8aa29
Revert "FOTA: Create /cache/recovery in init.rc for FOTA"
* This is done in init.rc since 2015

This reverts commit d32b741b5b.

Change-Id: I446b8586befaf1650a4e772890640c9ccde9e35b
2021-11-28 23:53:12 +02:00
Michael Bestas
de372eb7f9
Revert "cm: Give BootReceiver permissions to read fsck log"
* This is done in init.rc since 2019

This reverts commit 1b4eeb3ce7.

Change-Id: Ie3f7cdb9506f7e86f697cde649bcc20af97129ca
2021-11-28 23:53:12 +02:00
Michael Bestas
1f0d9c1341
Reorganize init scripts
* Add init prefix
* Improve naming
* Move to system_ext

Change-Id: Ic6cc600feca48e9f9b83e023a16daed25b5a7de8
2021-11-28 23:53:11 +02:00
Han Wang
c52b5a0883
Remove fake wget
* Toybox supports it now, and there is no real need for
   this tool.

Change-Id: I6f3f8e10f148ffc9626cd150ea21275096d2daed
2021-11-14 20:20:53 +02:00
Han Wang
7be1947e01
prebuilt: Remove lineage-radio.rc
* Devices should use ro.radio.noril and considering vendor
   services now should have a vendor. prefix, this script is
   useless. No device is using this script now.

Change-Id: I7cbb4f966124ca1307aaf1787301b8247d881b26
2021-11-14 20:20:53 +02:00
Michael Bestas
8c26f9b069
Remove color font and icon overlays
These are not used anymore with the new theming

Change-Id: Iacb086f9dacc36fca5c9a9dedcbd2b2ba4f86e6e
2021-10-12 17:52:14 +03:00
LuK1337
be135083d6
Remove IO tuning init scripts
Change-Id: I2ec439990b74cf099a78832fef4b7bc8dd17993c
2021-10-12 17:52:12 +03:00
Michael Bestas
e843a047cd Lineage 19.0
Change-Id: I406a755d475de4ca7f92f58164282c7a07a06743
2021-10-07 19:57:15 +02:00
David Wheatley
359cf85a97 apn: Fix FreedomPop UK
- FreedomPop UK uses three.co.uk for its APN
- Add missing `type` param that prevents use of data on any Three UK or Three MVNO SIM

Change-Id: I5f0656d95070c312d5d563536909f23722857372
2021-10-02 21:12:35 +02:00
David Wheatley
6261bcc96f apn: Update giffgaff APN
As per:
- https://www.giffgaff.com/help/articles/internet-apn-settings-guide
- https://www.giffgaff.com/help/articles/mms-apn-settings-guide

GitLab issue: https://gitlab.com/LineageOS/issues/android/-/issues/3828

Change-Id: Iec3b2c11d529cdbeef9c662a28422824d83ed575
2021-09-30 14:21:42 +02:00
Michael W
bcac3f39f0 apns: Update Vodafone NL
* Source: https://community.vodafone.nl/t5/Diensten/Update-netwerkinstellingen-voor-gebruik-in-het-buitenland/m-p/1850/highlight/true#M1786

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3942
Change-Id: I05c4d6dd6fc1ee8e1f0c51073d8e6d6a518964b2
2021-09-14 17:17:06 +02:00
Martincz Gao
c57312ce4b apns: Update APNs for Chinese carriers
from MIUI v12.0.8.0.QJKCNXM for lmi

The default APN selection for some Chinese carrier SIM cards is
incorrect, resulting in no internet or very slow internet access.
Therefore, replace APN configs from MIUI for all mcc=460 entries.

[TH779] Still keep IPv6 enabled for these APNs.

Signed-off-by: TH779 <i@779.moe>
Change-Id: Id95cbeda2a63764348d07ddcc8caa7b7e49c6f7c
2021-09-09 23:18:03 +02:00
Erik Jensen
31a8d98385 backuptool: Support tab-delimited fstab
Change-Id: Ib3fcde92d0c1ebb8754b11c577e4885d8dd02624
2021-09-04 14:30:36 +02:00
Michael Bestas
f16a9d9d14 Move sensitive_pn.xml to product partition
Change-Id: I9edd9c2641c8e724122e2219f9ffe2b14242f964
2021-07-23 01:04:38 +02:00
Alessandro Astone
14062ab9d2 apns: Add IPV4V6 to EE (UK)
As per https://android.stackexchange.com/a/233395,
without it data transfers may fail with PDN_IPV4_CALL_DISALLOWED

Closes: https://gitlab.com/LineageOS/issues/android/-/issues/3068

Change-Id: I1a663eafa4d913f45478f4dcf062f25a76411abf
2021-07-16 20:58:51 +02:00
dwayne goben
0a78392c43 sensitive_pn: Add two numbers for Italy
– Telefono Amico Italia
   – European Hotline for Missing Children

Change-Id: Ie5abc4b255c1502a38d59fffaa325af76a2b481d
2021-06-03 22:07:19 +02:00
Alessandro Astone
c43ccf2852 apns: Add AT&T 310-280 ids
From Pixel CarrierSettings

Change-Id: I9fd719aa986efe74e42b070f4b19138dd2ae6a72
2021-05-21 11:42:56 +02:00
Nicholas Lim
94aaca4b0e apns-conf: Add TPG Singapore configs
* With (partial) reference to https://android-review.googlesource.com/c/device/sample/+/665341

Change-Id: If94379bc0d834ee4969e6634657f370a98f7cf0b
2021-05-13 19:25:37 +02:00
Michael W
fb59cfdc6d apns: Remove T-Mobile UK
* It's EE now
* Should not be required since 2015:
  "In 2010, it merged with Orange UK to form a joint venture,
  Everything Everywhere, in 2010, which continued to operate the
  T-Mobile and Orange brands until March 2015 and allowed T-Mobile
  customers to utilise Orange's 2G signal and vice versa.
  In 2012, Everything Everywhere launched a new network, branded EE."
  -- https://en.wikipedia.org/wiki/T-Mobile_UK

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3069
Change-Id: Id94a6e156f20b484ea3d23cd3a30f5f9e796b117
2021-05-13 17:28:46 +02:00
Michael W
e21a1e8c9a vendor: apns: Add LIDL Connect
* Source: https://www.apnsettings.org/de/lidl-connect/
* Fixes https://gitlab.com/LineageOS/issues/android/-/issues/3401

Change-Id: I69b1a180d4360a72acf282f95e0af12d60672e87
2021-05-13 17:28:46 +02:00
zhaoguomanong
6c32584ae0 apns: Enable IPV6 for China Telecom
Signed-off-by: zhaoguomanong <zhaoguomanong@gmail.com>
Change-Id: I767ac312ed20bd569959c873e6b6c53f5333da5f
2021-05-13 17:28:46 +02:00
sjllls
9f1696ae64 apns: Enable IPV6 for China Unicom
Change-Id: I5f53961a68c5cb08f8e7ab0d288ae243e5254fff
2021-05-13 17:28:46 +02:00
sjllls
d377a1c9f4 apns: Enable IPV6 for China Mobile
Change-Id: I5294753b8d0a9a83b144e213796246af9b6fa866
2021-05-13 17:28:46 +02:00
Tim Zimmermann
11c43d2e93
backuptool: use correct BLK_PATH on a-only dynamic partitions devices
Change-Id: I295d39e35245e3541648369acbfe79d88ac21865
2021-05-08 16:17:27 +02:00
Sebastiano Barezzi
c966b956bb
apns-conf: Add Kena Mobile entries
* Entries extracted from platina-user 10 QKQ1.190910.002 V12.0.3.0.QDTMIXM release-keys

Change-Id: If30dcb0c544cbe100277795ddfdfffdcb59ad489
2021-05-05 10:48:55 +02:00
Sebastiano Barezzi
ebb8899cbc
apns-conf: Update PosteMobile entries
* PosteMobile is now a full MVNO and it has its own mnc
* Entries extracted from platina-user 10 QKQ1.190910.002 V12.0.3.0.QDTMIXM release-keys

Change-Id: I70d314c558074f2564e88c761c22bc842b973d99
2021-05-05 10:48:55 +02:00
Sebastiano Barezzi
c0541e70f5
apns-conf: Add ho.mobile configs
* Entries extracted from platina-user 10 QKQ1.190910.002 V12.0.3.0.QDTMIXM release-keys

Change-Id: I8f42d4d62a5a60e55cb4345d922629eed7558a29
2021-05-05 10:48:55 +02:00
Sebastiano Barezzi
a10bd28bdb
apns-conf: Update CoopVoce entries
* CoopVoce is now a full MVNO, thus deprecating older ESP entries (still kept here because not all users changed SIM card yet)
* Entries extracted from platina-user 10 QKQ1.190910.002 V12.0.3.0.QDTMIXM release-keys

Change-Id: I9a59ba54926e27ce64d5adbca42fb7b058436e6f
2021-05-05 10:36:57 +02:00
Michael W
70925d642f vendor: apns: Add Ting
* Source: https://help.ting.com/hc/en-us/articles/205428698-APN-setup-guide
* Might also fix https://gitlab.com/LineageOS/issues/android/-/issues/3301

Change-Id: I75db0cf7c0f275b55b3c6a7636a7b0b21a57a3e3
2021-05-01 13:35:47 +02:00
Alessandro Astone
02f0ab69db backuptool: Ensure dedicated partitions are not unused before mounting
* Ignore the block devices in case their mount points are symlinks.
  This is common on devices where maintainers have chosen not to use
  real partitions because of their size being too small to be useful

Also `continue` instead of `break`. Oops.

Change-Id: I3e27abe510219066ecacd81d099220ac8e119f9f
2021-04-07 23:08:20 +02:00
Johannes UNGER
2410404e56 Enable IPV4V6 for APN Yesss
The APN of (Austria) A1's Yesss brand supports IPv4+IPv6 for more than
a year already. Carrier is A1 which officially describes IPv6 support
there: https://www.a1community.net/mobiles-internet-a1-net-cube-316/alle-infos-ipv6-bei-a1-fuer-dein-mobiles-internet-252429

Change-Id: I51f33d4d940ee02f38326228dcbe5cc11a93c129
2021-04-04 10:11:27 +02:00
Michael W
7076898c40 apns: Add Belong
Combines:
* https://www.belong.com.au/support/mobile/fix-a-problem/device-support/what-are-the-mms-settings-for-my-phone-1503981148864
* https://www.4gapn.com/au/en/belong

Change-Id: Ib973be63919a34901f120fe36511a4fa3921ab6f
2021-04-04 10:11:27 +02:00
Michael W
5ad936a051 apns: Fix giffgaff
* Source:
  https://www.giffgaff.com/help/articles/internet-apn-settings-guide

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3070
Change-Id: I1d3c82d8fab704c9178bec639bc09556e3f7715d
2021-04-04 10:11:27 +02:00
Alessandro Astone
7686039f09 apn: Add Visible Wireless (VZW)
Change-Id: I699fc9b247b84520d21c0619014cb93436425e21
2021-03-30 19:33:06 +02:00
Alessandro Astone
adaad8f74f backuptool: Do not set ADDOND_VERSION=2 for a-only
There are addon.d scripts that rely on the value of ADDOND_VERSION
to determine if they're being called from a-only vs a/b backuptool.

If they declare ADDOND_VERSION=3, they shall stop doing that;
otherwise offer them the same environment, that is unset ADDOND_VERSION
for a-only backuptool.

Change-Id: I1be21eda2e6ec9837b3080bb5e7fbe5241318eaa
2021-03-28 18:33:43 +02:00
Alessandro Astone
b5f3a4a72d backuptool: Ensure to cleanup the environment on failure
Change-Id: I6f974a40b4f3f4a0a1f3a4b46bf8e0cfeb81c4ec
2021-03-28 18:33:11 +02:00
Luca Stefani
271ba02664 sensitive_pn: Run XML lint against the schema
Change-Id: I083bd5834f5dd69bdbb5955e9f0e1f8dba760fe5
2021-03-26 11:02:13 +01:00
Michael W
2b30c72a53 sensitive_pn: Convert to new format
* Also: add a lot of additional info for many of the numbers based on
  the comments from the commit prior to this

Change-Id: I937637c8f002d193ed6b23ac60c1f350d7d2eec7
2021-03-26 11:02:13 +01:00
Arekusu Rin
e4359d9a17 sensitive_pn: Comment, add and change numbers for multiple countries.
* Renamed Macedonia to North Macedonia.
* Renamed GB to United Kingdom.

Change-Id: Ibe0968b3679834f86854a86a1104cbde4c1fffaa
2021-03-26 11:02:13 +01:00
Alessandro Astone
f16993e63b backuptool: Correct supported partitions for addon.d v3
* The plan was to support odm & oem too, but it turned out
  unnecessarily complicated due to their symlink setup,
  while being most likely unused.
  The partitions were removed from the list of supported ones
  in a-only backuptool, but were forgotten in ab backuptool.

Change-Id: I58a01cdc3f5c4239048b204f3313f4bf697dd60a
2021-02-18 14:34:21 +01:00
Alessandro Astone
c63fa8441b backuptool: Support seamless backup and restore to extra partitions
For scripts declaring ADDOND_VERSION=3 automatically mount
vendor, product, system_ext and others (when they're dedicated partitions).

Also expose the get_output_path() function to get the path to where
a file is mounted in case it lives in a dedicated partition.

ab exapmles:
get_output_path "system/product/priv-app/MyApp.apk"  = "/postinstall/product/priv-app/MyApk.apk"
get_output_path "system/app/MySystemApp.apk"         = "/postinstall/system/app/MySystemApp.apk"

a-only examples:
get_output_path "/mnt/system/system/product/priv-app/MyApp.apk" = "/mnt/system/system/product/priv-app/MyApp.apk"

******************************************************************
Instead of cycling all scripts for each stage, run
pre-backup -> backup -> post-backup in quick succession
(and likewise for restore), to ensure backwards compatibility
with scripts that wrongly assumed their environment not to
change between steps.
This is needed because we want to undo any mounting done for V3
scripts when executing V2 scripts. If a V2 script did mounting in
pre-restore and expected things to still be mounted in restore,
we would break their (yes incorrect) assumption.

Change-Id: I73fbad6f45824fed99e4482128769435348588f5
2021-02-07 20:07:09 +01:00
Alessandro Astone
6245873019 backuptool_ab: Make tmp actually tmpfs
Change-Id: I668e0f24486197d762981bef4c9f2437c4fa9c14
2021-02-07 20:07:09 +01:00
Paul Crowley
916ecda319 init: Make encryption action an argument to mkdir
FscryptSetDirectoryPolicy no longer tries to infer the action from the
filename. Well mostly; it still assumes top-level directories in /data
should be encrypted unless the mkdir arguments say otherwise, but
it warns.

Bug: 26641735
Test: boot, check log messages
Change-Id: Id6d2cea7fb856f17323897d85cf6190c981b443c
2021-02-01 00:55:36 +01:00
Zachariah Anderson
f17c8550f2 lineage: apns: Update T-Mobile US to reflect latest carrier changes
* This fixes VoLTE on the Pixel 4 series, Moto Z2 Force, and
  numerous others - this seems globally required at this point.

* Reference:
  https://www.t-mobile.com/support/devices/android/google-pixel-4/network-apn-and-volte-google-pixel-4

Change-Id: Icd89fbe07f084eb57e74e7ac380c6cffea29c953
2020-12-29 22:02:39 +01:00
Han Wang
4562fe4ef4 prebuilt: Remove content-types.properties
* This is now moved to fw/b and should be overriden in 
   vendor.mime.types.

Change-Id: I0546763be34567816b6e87f2a721f1445c83eaf8
2020-12-16 15:13:28 +01:00
Bruno Martins
e1df13eb4a Lineage 18.1 is here for Xmas
Change-Id: Ic7bd96c188eb97c53cf245f79c85cc0e0d14a094
2020-12-12 03:26:14 +01:00
Thomas Karl Pietrowski
ab69681c1f apn: Ting: Adding missing flag to list of types
Adding "default" to the type list, will allow to connect to mobile internet via LTE again.
According to the user, even if enforcing LTE here, it won't work unless adding "default".

I couldn't find any official resources, just that this APN seems to relate to CDMA and other people fixed the issue by adding the APN manually:
https://help.ting.com/hc/en-us/community/posts/206433277/comments/216019607

Therefore trusting the reporter in the ticket below that default is enough:
https://gitlab.com/LineageOS/issues/android/-/issues/2819

Change-Id: I931f5355af74e197020032a1581dd11abf84f10c
2020-12-05 17:57:03 +01:00
115ek
0cf494c3cb apn: Add netzclub
Change-Id: I4eb4df440c231e1037c359abc59762ffb5d8d074
2020-11-24 18:33:40 +01:00
115ek
63f921ed8d apn: Add MEDIONmobile
Change-Id: I23c5fc451d0d47ee5b6bdf2c09d9684ed9e196c5
2020-11-24 18:33:08 +01:00
Michael Bestas
0463e4feaa apn: Update Greek APN list
* Remove old vodafone entries
* Add ims entries
* Add Nova

Change-Id: Ifa71ea89e88affd1786e8b45bf41cee4f0f56884
2020-11-20 18:07:31 +02:00
althafvly
51db2e2b8e apns: Update APNs for Euskaltel
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/2724

Updated from: https://www.euskaltel.com/eu/enpresak/bezeroa-naiz/hauei-buruzko-zalantzak-ditut/mugikorra/internet-mugikorrean-konfiguratu/android-bat-daukat

Change-Id: I2983b09047f3bde4bf4322b36d47148b6f274224
2020-11-13 11:12:35 +02:00
Han Wang
692b1af12b prebuilt: Remove lineage-livedisplay.rc
* Already present in vendor.lineage.livedisplay@2.0-service-sysfs.rc.

Change-Id: I87ec20e3b0c9e9559963bebe7221f51e1dd4d7f3
2020-10-30 18:20:46 +02:00
Abhijeet Kaur
5412f813b0 Remove notifications from bugreport generation using combo keys
In Q, we added a new bugreport API that asks for user consent before
showing the "Share" notification for the bugreport. We will be migrating
all bugreporting clients to use the API in R.

In the new API workflow we are moving away from broadcasts and using
callbacks to communicate with dumpstate. Finished bugreport notification
broadcast used to share the final path of the bugreport but API now uses
file descriptors instead. Hence, moving away from broadcasts.

The full bugreport in this case can be retrieved from dumpstate directory
using 'adb pull' or finding and attaching the file directly to gmail or
betterbug.

Remove outputfile flag since it's unused.

Bug: 135186519
Bug: 137825702
Test: Build and flash to the device. Create a bugreport using combo
keys, share notification does not pop up. Full bugreport created in
bugreports/ dir

Change-Id: I3c15123a6a4ed62ae9cb87f5dd07db60b1416dfc
2020-10-18 16:31:13 +02:00
Han Wang
b2c606a079 prebuilt: Remove lineage-adb.rc
* Yes, this is no more.

Change-Id: I3cf2831fafc475486018281641c1ff4c2efc810c
2020-10-15 19:52:51 +02:00
razorloves
48ab00f925 backuptool_ab: Use mv instead of cp for restore step
Using cp instead of mv during the restore step resulted in double the
amount of free space and inodes being used.
For example, a nano arm64 opengapps install uses around 500M. But during
a backup/restore process when the Updater is used, it temporarily uses
1G on the other slot.  That causes failed updates on devices that
don't have that much free space on the system partition.

Change-Id: I57ba2e0f52d328d4ff91d47a3db45f47bb8402af
2020-09-25 03:50:30 +02:00
Martin Dünkelmann
a66d3d4e9b Update APNs for O2 Germany & E-Plus
Extracted from sony stock rom firmware 'H8266_Customized DE_1313-6279_52.1.A.3.49_R3C'

E-Plus got merged into O2

Synced the newest O2 changes

Change-Id: I67e6987769d0bcc271e58e7416468faa902a870b
2020-09-21 13:43:44 +02:00
Jan Altensen
dd29a4766a Lineage 18.0
Change-Id: Icda4887efd1a965530213f82fbbf8ae908843b05
2020-09-13 19:45:42 +02:00
althafvly
14c51c7c4a vendor: apns-conf: Add Hits APN
Fixes : https://gitlab.com/LineageOS/issues/android/-/issues/2386

Change-Id: Ie6c3a0a33291f3a1e03abffec5e2dfa62f5773d2
2020-08-20 11:45:46 +02:00
althafvly
5c57616d9b vendor: apns-conf: Drop proxy for Movistar
Updated from : https://comunidad.movistar.es/t5/Soporte-M%C3%B3vil/APN-de-MOVISTAR-Android/m-p/1248474

- Fixes https://gitlab.com/LineageOS/issues/android/-/issues/2169

Change-Id: Ia1181c8fd3a5c066e1ac74b28b0e76d0c3f4626d
2020-08-14 07:56:45 +02:00
Han Wang
939e2e69d1 prebuilt: Clean up lineage-system.rc
* There is no reference to ANDROID_CACHE now, and
   /persist does not exist on most devices, neither
   can we write to it.

Change-Id: I91af1e6f571ced317d195e3a7901bf4c269486a1
2020-07-31 17:47:04 +02:00
LuK1337
2057f50e48 config: Install {Lato,Rubik} fonts and their overlay packages
Change-Id: I3fe93982095722d22e726baf9561a6bde31f5bf1
2020-05-14 01:05:45 +01:00
shagbag913
e754d88c2a aosp_audio: copy our own old AOSP alarm variants
* "Old" appended to metadata title to prevent duplicate alarm sound
   names in picker

Change-Id: I695a3760b8ae13c5cf959104dfb8b2336c6b0125
2020-03-12 19:22:26 +01:00
z3DD3r
284ec83fee backuptool: Fix backup/restore functionality
Backup/restore functionality was broken in the
Ia1f4ae95c9e4dae4df844853e81c264bc838f177 change
because of incorrect check of the function's result.

check_prereq() function refactored to return 0 if
backuping/restoration is possible. Any work should be
performed only if check_prereq() succeeds.

Change-Id: Ic977dba675df58a228ef4b882b25beb66cc9d2c6
2020-03-04 20:32:58 +03:00
z3DD3r
fa8a442ba2 backuptool: Properly unmount system partition
For non AB devices system partition should be unmounted
if check_prereq function fails.

This patch also refactors backuptool a bit for AB devices
in order to look same as backuptool for non AB devices.

Change-Id: Ia1f4ae95c9e4dae4df844853e81c264bc838f177
2020-03-04 12:42:10 +03:00
Wang Han
e43d699cfe backuptool: Remove backup blacklist/whitelist
Change-Id: Ia89e6fa4c31377a429e0dfa912d0b61393696009
2020-03-03 16:12:08 +01:00
Marc Bourgoin
835b434363 apn: Update Canadian carriers
*From https://android.googlesource.com/device/google/wahoo/+/android-8.1.0_r29/apns-full-conf.xml
 *Mobilicity removed. Defunct since 2016.
 *Wind -> Freedom Mobile

Change-Id: I3d8501a82441adbb9cdc385c990bef997dba6f97
2020-02-21 02:44:48 +02:00
Davide Garberi
18745cffe8 prebuilt: backuptool: Drop addond version check on A-only
* This check was supposed to check whether the script
   addon.d version was lower than backuptool's

 * Given that the backuptool addon.d version is 1, this
   isn't going to happen ever making this check completely
   unuseful

Change-Id: I2464749b52bf4e8825e0b4ef42500ee7d3bbfa61
2020-02-09 11:33:21 +01:00
Davide Garberi
497a6aef36 backuptool: Execute check_blacklist from the current directory
* For some odd reasons executing `cd /system/addon.d` makes the system
   hang and unmount error:
     umount: /system_root: Device or resource busy
 * Don't change directory to not allow the system partition hang

Change-Id: I3d30bdc59c2f05d16823e99046c1dce2e1e6eb73
2020-02-03 14:47:59 +01:00
Davide Garberi
6b83f943ad backuptool: Run check_{black, white}list with proper system path
* If any of these two function gets run on a recovery mounting system
   to /system, /system/addon.d won't exist while /system/system/addon.d will.
 * Run the functions with $S as argument to make this work correctly

Change-Id: I02e7b91429a9e74d28bdb77e56955dad97ca75ac
2020-02-03 14:47:59 +01:00
Davide Garberi
23d677b5de backuptool: Fix addon.d version check for A-only
* The path /postinstall exists only for A/B, causing:
   grep: /postinstall/tmp/addon.d/*sh: No such file or directory

Change-Id: Ia07b3029e949c3e08302457cd08798a4dde00ef6
2020-02-03 14:47:59 +01:00
Davide Garberi
e40c31887d prebuilt: backuptool: Implement dynamic system mount for A-only
* Dynamically mount system to the path chosen by the recovery through backuptool
* This can be helpful because of the fragmentation that will happen with system mount in recovery after Q

Change-Id: I2d1e775efcf87e33319bc7790d1e54bca72116d3
2020-01-10 19:15:42 +01:00
Bruno Martins
8f3d941706 addond: Remove versioning
It doesn't make sense to keep updating this file on
every new version.

Change-Id: I865764eda559407d29364d686603b4ad80a6b445
2020-01-03 15:55:43 +02:00
Michael Bestas
42020e23f5 Lineage 17.1
Change-Id: Iaf3b75e49677b616a19431da8087c338ee7eb8da
2020-01-03 02:03:00 +02:00
Han Wang
ee283b0857 prebuilt: Remove lineage-governor.rc
* This seems to be a leftover of CM days.

Change-Id: Iff75e120e4a71e64fa45ab3734ab63151ce21cb1
2019-12-01 12:59:18 +01:00
Luca Stefani
243b877ea4 Kill sysinit
Change-Id: Ia8d46d794ff829f3fc39ff48d57fdb6f9c03262d
2019-10-23 01:29:31 +02:00
Bruno Martins
da2c7502a3 common: Copy APN list to $(TARGET_COPY_OUT_PRODUCT)/etc
This handles GSI product

Change-Id: I5754ff9c020e094c5ca5bd08e0572584009558ee
2019-09-27 16:57:25 +02:00
Michael Bestas
24ecfd641c lineage: Remove boosted ringtones
* No longer used by any device and fw/base part is missing

Revert "Update boosted audio files 2/2"

This reverts commit 103c64a964.

Revert "Add volume boosted ringtones (1/2)"

This reverts commit a1c783fb28.

Change-Id: I384f44d515e2bcc237662184de0830836ba95b09
2019-09-13 17:52:19 +03:00
Rashed Abdel-Tawab
b6b3421188 Lineage 17.0
Change-Id: Ib166a6218d18cf192aa314477e4044892b068e97
2019-09-05 10:38:36 +02:00
Bruno Martins
0eba72af4d prebuilts: Remove outdated TCP init script
These props are long deprecated and code cross reference
takes us back to KitKat days.

Change-Id: Id98f6ade71d877b64466906ddb1a1e6dd251904a
2019-09-03 16:05:13 +02:00
Luca Stefani
c4e288c467 backuptool_ab: Make copy_file preserve file/directory attrs
Change-Id: I52c7b124ff8364464643c51b3f17dba4e4e49435
2019-08-24 12:18:05 +02:00
Marc Bourgoin
7a85b90de1 apn: Update German carriers
*From https://android.googlesource.com/device/google/wahoo/+/android-8.1.0_r29/apns-full-conf.xml
 *Removed A LOT of defunct APN settings. Most are MVNO's that use the major networks.
 *t-mobile -> Telekom
 *eplus & Blau & BASE -> o2

Change-Id: I7552ee091262bc53bb394d9fa89cdee1bdccb84f
2019-06-15 22:11:33 +02:00
Nicholas Lim
10ca86d1ff apns: Update Singapore's APNs
* Based off: https://android.googlesource.com/device/sample/+/master/etc/apns-full-conf.xml

Change-Id: Ie724a1f7f26d5bbcefb4459c5f92fcbc7c8bbff8
2019-06-01 16:28:09 +02:00
Reza Feizi
701610828f
apns: Update IRAN APNs
* References : operators sites

Change-Id: If9b8df78bc5b35fa71432535dfae1a256e6beb62
2019-05-06 11:53:33 +03:00
aleksei74
c670f14863 apns : Update the KT IMS apn
Update KT IMS apn for VoLTE

reference site:
https://android.googlesource.com/device/sample/+/refs/tags/android-9.0.0_r35/etc/apns-full-conf.xml#25304

Change-Id: Iaa7924aeb6038e7ecefe56042bc19af0b0db82c2
2019-04-24 19:09:32 +09:00
jperal
13cff90427 Add APN ION Mobile & APN for Roaming
Change-Id: Ie3103db1fcdd41e70024fceaf96d070f2d66577c
2019-03-14 22:39:27 +01:00
Arekusu Rin
4b93d993db sensitive_pn: New United Kingdom helplines
*Added new helplines for the United Kingdom, including helplines for
Scotland, Northern Ireland, Wales and Britain. Further numbers may be
available at websites such as http://www.itv.com/thismorning/helplines
and https://helplines.org/helplines/?fwp_helpline_region=national.

Change-Id: I3682c9e8c14d7124a76a054498e1eaf0f1ded52c
2019-03-08 12:35:03 +01:00
Jacob Willoughby
42252b823b Add APN for XFINITY Mobile
Change-Id: I0ae20dc5c982cc0b65fa8ef3a5c3eee7c0190441
2019-02-19 10:38:41 +01:00
Michael W
562f26ff45 apns: Add new Virgin Mobile apn
https://community.virginmedia.com/t5/Virgin-Mobile/New-Purple-Virgin-Mobile-SIM-and-need-the-APN-settings-for-data/td-p/3597569

BUGBASH-2269

Change-Id: I177e04f982a9c6669a39638e376598bde0601f7e
(cherry picked from commit e9b4abc428888aa1d32419e99d7b1d0f94470574)
2019-02-19 10:34:08 +01:00
razorloves
1fb9ca5bd8 apn: Update the Ultra Mobile apn
Add dun apn type to fix hotspot/tethering.
Also update according to https://www.ultramobile.com/data-settings/

BUGBASH-2371

Change-Id: I202cc7be26403d774e8694dd4386391d3576ea66
(cherry picked from commit 367ca28f8206a1e5be8655fb2f1c2e4972d7e8e3
2019-02-19 10:28:35 +01:00
Rashed Abdel-Tawab
0d2fa55f2f lineage: Dynamically add custom APNs
For Example new devices need the new Sprint APNs, so add a new board flag for
them to set that will make the build system add the new APNs to
the APN config XML. If the flag is not set, continue to use the
old APNs.
To add or replace APNs, the custom_apns.py script has been
added. If CUSTOM_APNS_FILE is defined, custom_apns.py
is run and generates a new version of apns-conf.xml.

Change-Id: I7ff12a4342de2a7663b2b66fd627244214a8dc71
2018-12-13 07:25:18 +01:00
LuK1337
57490e6120 lineage: Support system-as-root A-only backuptool
Change-Id: I8336e5ab3c9d03fae7426044066318b987653d99
2018-12-06 17:45:15 +01:00
Kevin F. Haggerty
f4720d0925 lineage-iosched: restorecon scheduler tuneables before touching them
* LineageOS/android_system_sepolicy@0e3235f45d removed open, read,
  and write for init to general sysfs types. As schedulers are
  changed, the related directories gets dynamically torn-down and
  rebuilt, but they lacks proper contexts. We need to make sure the
  context is correct before init can write to these nodes.

Change-Id: Ic6f4567c173799bc56ecccc217040392f73aeaba
2018-11-29 05:57:39 +01:00