mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-25 15:39:26 -05:00
Improvements
This commit is contained in:
parent
6730df80fb
commit
df959d5fa6
68
Patches/LineageOS-14.1/android_external_svox/94d2ddb.diff
Normal file
68
Patches/LineageOS-14.1/android_external_svox/94d2ddb.diff
Normal file
@ -0,0 +1,68 @@
|
||||
From 94d2ddb00a2dbcaa4b352a3fceaaa5e6296a9ae0 Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Micay <danielmicay@gmail.com>
|
||||
Date: Sun, 13 Nov 2016 02:01:45 -0500
|
||||
Subject: [PATCH] force 32-bit build to fix garbled output
|
||||
|
||||
Pico TTS is currently broken on 64-bit. There was an attempt to port it,
|
||||
but the voices are garbled, perhaps due to integer truncation. Until it
|
||||
gets fixed (if ever), it needs to be compiled as 32-bit.
|
||||
|
||||
Change-Id: Iae009dafc41796169999cab2dae4b246be2ea0f4
|
||||
---
|
||||
|
||||
diff --git a/pico/Android.mk b/pico/Android.mk
|
||||
index 2f6420e..e35e6be 100755
|
||||
--- a/pico/Android.mk
|
||||
+++ b/pico/Android.mk
|
||||
@@ -8,6 +8,7 @@
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_PACKAGE_NAME := PicoTts
|
||||
+LOCAL_MULTILIB := 32
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
$(call all-java-files-under, src) \
|
||||
diff --git a/pico/compat/jni/Android.mk b/pico/compat/jni/Android.mk
|
||||
index 5a7180c..9b3ad60 100755
|
||||
--- a/pico/compat/jni/Android.mk
|
||||
+++ b/pico/compat/jni/Android.mk
|
||||
@@ -2,6 +2,7 @@
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE:= libttscompat
|
||||
+LOCAL_MULTILIB := 32
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
com_android_tts_compat_SynthProxy.cpp
|
||||
diff --git a/pico/lib/Android.mk b/pico/lib/Android.mk
|
||||
index 70f0099..cdf0026 100644
|
||||
--- a/pico/lib/Android.mk
|
||||
+++ b/pico/lib/Android.mk
|
||||
@@ -4,6 +4,7 @@
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := libsvoxpico
|
||||
+LOCAL_MULTILIB := 32
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
picoacph.c \
|
||||
diff --git a/pico/tts/Android.mk b/pico/tts/Android.mk
|
||||
index 335a1c2..0f0d737 100644
|
||||
--- a/pico/tts/Android.mk
|
||||
+++ b/pico/tts/Android.mk
|
||||
@@ -7,6 +7,7 @@
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := libttspico_engine
|
||||
+LOCAL_MULTILIB := 32
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
com_svox_picottsengine.cpp \
|
||||
@@ -36,6 +37,7 @@
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := libttspico
|
||||
+LOCAL_MULTILIB := 32
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
com_svox_picottsengine.cpp \
|
@ -0,0 +1,63 @@
|
||||
From de03f9cb91b9882a6222a17edcfcad556a56cadb Mon Sep 17 00:00:00 2001
|
||||
From: Tad <tad@spotco.us>
|
||||
Date: Sat, 10 Jun 2017 10:01:03 -0400
|
||||
Subject: [PATCH] Add Izzy and microG repos
|
||||
|
||||
---
|
||||
app/src/main/res/values/default_repos.xml | 40 +++++++++++++++++++++++++++++++
|
||||
1 file changed, 40 insertions(+)
|
||||
|
||||
diff --git a/app/src/main/res/values/default_repos.xml b/app/src/main/res/values/default_repos.xml
|
||||
index 3a895f57..7ada7490 100644
|
||||
--- a/app/src/main/res/values/default_repos.xml
|
||||
+++ b/app/src/main/res/values/default_repos.xml
|
||||
@@ -89,6 +89,46 @@
|
||||
308205d8308203c0020900a397b4da7ecda034300d06092a864886f70d01010505003081ad310b30090603550406130255533111300f06035504080c084e657720596f726b3111300f06035504070c084e657720596f726b31143012060355040b0c0b4644726f6964205265706f31193017060355040a0c10477561726469616e2050726f6a656374311d301b06035504030c14677561726469616e70726f6a6563742e696e666f3128302606092a864886f70d0109011619726f6f7440677561726469616e70726f6a6563742e696e666f301e170d3134303632363139333931385a170d3431313131303139333931385a3081ad310b30090603550406130255533111300f06035504080c084e657720596f726b3111300f06035504070c084e657720596f726b31143012060355040b0c0b4644726f6964205265706f31193017060355040a0c10477561726469616e2050726f6a656374311d301b06035504030c14677561726469616e70726f6a6563742e696e666f3128302606092a864886f70d0109011619726f6f7440677561726469616e70726f6a6563742e696e666f30820222300d06092a864886f70d01010105000382020f003082020a0282020100b3cd79121b9b883843be3c4482e320809106b0a23755f1dd3c7f46f7d315d7bb2e943486d61fc7c811b9294dcc6b5baac4340f8db2b0d5e14749e7f35e1fc211fdbc1071b38b4753db201c314811bef885bd8921ad86facd6cc3b8f74d30a0b6e2e6e576f906e9581ef23d9c03e926e06d1f033f28bd1e21cfa6a0e3ff5c9d8246cf108d82b488b9fdd55d7de7ebb6a7f64b19e0d6b2ab1380a6f9d42361770d1956701a7f80e2de568acd0bb4527324b1e0973e89595d91c8cc102d9248525ae092e2c9b69f7414f724195b81427f28b1d3d09a51acfe354387915fd9521e8c890c125fc41a12bf34d2a1b304067ab7251e0e9ef41833ce109e76963b0b256395b16b886bca21b831f1408f836146019e7908829e716e72b81006610a2af08301de5d067c9e114a1e5759db8a6be6a3cc2806bcfe6fafd41b5bc9ddddb3dc33d6f605b1ca7d8a9e0ecdd6390d38906649e68a90a717bea80fa220170eea0c86fc78a7e10dac7b74b8e62045a3ecca54e035281fdc9fe5920a855fde3c0be522e3aef0c087524f13d973dff3768158b01a5800a060c06b451ec98d627dd052eda804d0556f60dbc490d94e6e9dea62ffcafb5beffbd9fc38fb2f0d7050004fe56b4dda0a27bc47554e1e0a7d764e17622e71f83a475db286bc7862deee1327e2028955d978272ea76bf0b88e70a18621aba59ff0c5993ef5f0e5d6b6b98e68b70203010001300d06092a864886f70d0101050500038202010079c79c8ef408a20d243d8bd8249fb9a48350dc19663b5e0fce67a8dbcb7de296c5ae7bbf72e98a2020fb78f2db29b54b0e24b181aa1c1d333cc0303685d6120b03216a913f96b96eb838f9bff125306ae3120af838c9fc07ebb5100125436bd24ec6d994d0bff5d065221871f8410daf536766757239bf594e61c5432c9817281b985263bada8381292e543a49814061ae11c92a316e7dc100327b59e3da90302c5ada68c6a50201bda1fcce800b53f381059665dbabeeb0b50eb22b2d7d2d9b0aa7488ca70e67ac6c518adb8e78454a466501e89d81a45bf1ebc350896f2c3ae4b6679ecfbf9d32960d4f5b493125c7876ef36158562371193f600bc511000a67bdb7c664d018f99d9e589868d103d7e0994f166b2ba18ff7e67d8c4da749e44dfae1d930ae5397083a51675c409049dfb626a96246c0015ca696e94ebb767a20147834bf78b07fece3f0872b057c1c519ff882501995237d8206b0b3832f78753ebd8dcbd1d3d9f5ba733538113af6b407d960ec4353c50eb38ab29888238da843cd404ed8f4952f59e4bbc0035fc77a54846a9d419179c46af1b4a3b7fc98e4d312aaa29b9b7d79e739703dc0fa41c7280d5587709277ffa11c3620f5fba985b82c238ba19b17ebd027af9424be0941719919f620dd3bb3c3f11638363708aa11f858e153cf3a69bce69978b90e4a273836100aa1e617ba455cd00426847f
|
||||
</item>
|
||||
|
||||
+ <!-- name -->
|
||||
+ <item>IzzyOnDroid</item>
|
||||
+ <!-- address -->
|
||||
+ <item>https://apt.izzysoft.de/fdroid/repo</item>
|
||||
+ <!-- description -->
|
||||
+ <item>This is a repository of apps to be used with F-Droid. Applications in this repository are official binaries built by the original application developers, taken from their resp. repositories (mostly Github). At this moment I cannot give guarantees on regular updates for all of them, though most are checked multiple times a week.
|
||||
+ </item>
|
||||
+ <!-- version -->
|
||||
+ <item>13</item>
|
||||
+ <!-- enabled -->
|
||||
+ <item>0</item>
|
||||
+ <!-- priority -->
|
||||
+ <item>5</item>
|
||||
+ <!-- push requests -->
|
||||
+ <item>ignore</item>
|
||||
+ <!-- pubkey -->
|
||||
+ <item>
|
||||
+ 308204e1308202c9a003020102020454c60934300d06092a864886f70d01010b050030213110300e060355040b1307462d44726f6964310d300b060355040313046e65626f301e170d3136303331303230313634325a170d3433303732373230313634325a30213110300e060355040b1307462d44726f6964310d300b060355040313046e65626f30820222300d06092a864886f70d01010105000382020f003082020a0282020100ac59258ca2e9c216af14d58cb53adb13658480aed5ebc1f59bfc474f0f67c0efe9d58304d0cbda2897bd3283e7afe15512f32743ee243f4b9bba5a017806bc5c3441c905df37d00d3cf77b012af33ee4033b7e8d686277043bcb28241a3fe9f6ebfd72f305a928e300edf554ffaa139d85b5c9282aa8f1a82ff74caea2c13006dbeae8aac9ff44fa4c9122808b90c304db8b9e6ddecdbfbf5ce4ed0115cf1ba2bc6a4d6211765553df9b650db69155448aec4b0aaf59d19712aca3010a0d96eb02ed84e90c16162272af32fe909a5acde37d78fba500994f50c1ec5afa528945a7567567560a9fbafbabd68190c5c13f9a53f39a72734bd8de43c06b21a5cecf2747e6a1879352c49ee29fa092c26ca495baac69eddb614941e27b6a27fb3fb74cbdfe5822bfc266130c1f723a7ab91ed3d6c5261d31fc80ab82b7caa2727120522e65863af436a438c05039e1e099faae4d6170baa10fc9bb7bf101e2b4c9769e693eb7e4e3eebd47bfbfe0069c24a8b1ef72d8fe6549202490cff7b0f36c458b8192fe58f984839290d69639abb15fe1ef2925eb491627f2eefbd13225b925a7bbfc0fb4d95a3fb43599c172037e599639b4f86c4eabc173013776a854e146dfacf424cbae4254f9806ecd79d092f5e67a2f00c98ad64c0bfbeaff117fe4c62685e2e75e2ef507325d05f866510c20006a6c01e8e25d75bd42a0d5397b73eb0203010001a321301f301d0603551d0e0416041417f4fd41b0aa3f4fa981423a123f6f6016e3ce80300d06092a864886f70d01010b050003820201008d5d93cbb48fde9df566d75c54a8da2f29e9ae1bac2ed2436a0f165730244ac9e471b473674bc68717c34e30c29ce5ffa027fa12a7eb2f45b036db0cca79238262ba84f6ec8ffddcfe2b398c0a6aa33d117f83996b3bece96b1ea6f8066c395e5021c2b5fe1638c7ac146cda6ef2e4a836bd9c968ed76c51cc0b09caa4b1a79d5d10b3829804db992a70feb9a76535bc04631193abee9c9d7ebfb07ad464542f65744e76d92c5aeb3beb96dbb0b3d746845cbfa2b12c6da31863ea4a0d664dc5974d5b808c1be52a5e595ed181d86feeff4dc82bc8ee3c11ff807a811322931e804df1d90b5b813dd9ce81f3d8dd7d1bb2994901fe1c1004673f53c7b60cdbc2f914ce0718fbfc8e89b443091f71ecb9f169d558c3818bb1db714a47025154eb974600ca54e29933a87a4080910eee05dcc34de7048fa95b1128d8910b18b5957f2e745de00decd2434af455b24aa3e53de889e37919212a6adb3f4088baec6cc9f3e21b812593605fba0394355bd994f21ceaba861aae29244f5113d4291fdddedbef091e63885ebf318c6e12d338fa9555783643a19181c2cc935307fcee5e6dabf8dd6e19a92b29dbc529d3ef170916fb7b2d9dbf95a358ac7c0204b6e6a416b59441c49c41d6f78b1de63eb8b10c516a5952a20eb0c595cfa21530350c5adde74d815918deb870a9e7750fcb4dc50538fd591006434cbbb001cc2ae1fe11
|
||||
+ </item>
|
||||
+
|
||||
+ <!-- name -->
|
||||
+ <item>microG</item>
|
||||
+ <!-- address -->
|
||||
+ <item>https://microg.org/fdroid/repo</item>
|
||||
+ <!-- description -->
|
||||
+ <item>This is a repository of microG apps to be used with F-Droid. Applications in this repository are signed official binaries built by the microG Team from the corresponding source code.
|
||||
+ </item>
|
||||
+ <!-- version -->
|
||||
+ <item>13</item>
|
||||
+ <!-- enabled -->
|
||||
+ <item>0</item>
|
||||
+ <!-- priority -->
|
||||
+ <item>6</item>
|
||||
+ <!-- push requests -->
|
||||
+ <item>ignore</item>
|
||||
+ <!-- pubkey -->
|
||||
+ <item>
|
||||
+ 308202ed308201d5a003020102020426ffa009300d06092a864886f70d01010b05003027310b300906035504061302444531183016060355040a130f4e4f47415050532050726f6a656374301e170d3132313030363132303533325a170d3337303933303132303533325a3027310b300906035504061302444531183016060355040a130f4e4f47415050532050726f6a65637430820122300d06092a864886f70d01010105000382010f003082010a02820101009a8d2a5336b0eaaad89ce447828c7753b157459b79e3215dc962ca48f58c2cd7650df67d2dd7bda0880c682791f32b35c504e43e77b43c3e4e541f86e35a8293a54fb46e6b16af54d3a4eda458f1a7c8bc1b7479861ca7043337180e40079d9cdccb7e051ada9b6c88c9ec635541e2ebf0842521c3024c826f6fd6db6fd117c74e859d5af4db04448965ab5469b71ce719939a06ef30580f50febf96c474a7d265bb63f86a822ff7b643de6b76e966a18553c2858416cf3309dd24278374bdd82b4404ef6f7f122cec93859351fc6e5ea947e3ceb9d67374fe970e593e5cd05c905e1d24f5a5484f4aadef766e498adf64f7cf04bddd602ae8137b6eea40722d0203010001a321301f301d0603551d0e04160414110b7aa9ebc840b20399f69a431f4dba6ac42a64300d06092a864886f70d01010b0500038201010007c32ad893349cf86952fb5a49cfdc9b13f5e3c800aece77b2e7e0e9c83e34052f140f357ec7e6f4b432dc1ed542218a14835acd2df2deea7efd3fd5e8f1c34e1fb39ec6a427c6e6f4178b609b369040ac1f8844b789f3694dc640de06e44b247afed11637173f36f5886170fafd74954049858c6096308fc93c1bc4dd5685fa7a1f982a422f2a3b36baa8c9500474cf2af91c39cbec1bc898d10194d368aa5e91f1137ec115087c31962d8f76cd120d28c249cf76f4c70f5baa08c70a7234ce4123be080cee789477401965cfe537b924ef36747e8caca62dfefdd1a6288dcb1c4fd2aaa6131a7ad254e9742022cfd597d2ca5c660ce9e41ff537e5a4041e37
|
||||
+ </item>
|
||||
+
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
--
|
||||
2.13.1
|
||||
|
@ -2,7 +2,7 @@
|
||||
#Copyright (c) 2015-2017 Spot Communications, Inc.
|
||||
|
||||
#Delete Everything
|
||||
#repo forall -c 'git add -A && git reset --hard' && rm -rf packages/apps/GmsCore out
|
||||
#repo forall -c 'git add -A && git reset --hard' && rm -rf packages/apps/F-Droid packages/apps/GmsCore out
|
||||
|
||||
#Prepare a build
|
||||
#repo sync -j20 --force-sync && sh ../../Scripts/LAOS-14.1_Patches.sh && source ../../Scripts/Generic_Deblob.sh && source build/envsetup.sh && export ANDROID_HOME="/home/$USER/Android/Sdk" && export ANDROID_JACK_VM_ARGS="-Xmx6144m -Xms512m -Dfile.encoding=UTF-8 -XX:+TieredCompilation" && export JACK_SERVER_VM_ARGUMENTS="${ANDROID_JACK_VM_ARGS}" && GRADLE_OPTS=-Xmx2048m && export KBUILD_BUILD_USER=emy && export KBUILD_BUILD_HOST=dosbm
|
||||
@ -69,7 +69,7 @@ enter "external/sqlite"
|
||||
patch -p1 < $patches"android_external_sqlite/0001-Secure_Delete.patch" #Enable secure_delete by default
|
||||
|
||||
enter "external/svox"
|
||||
git fetch https://android.googlesource.com/platform/external/svox refs/changes/72/302872/2 && git cherry-pick FETCH_HEAD #Fix garbled output See https://android-review.googlesource.com/#/c/302872/
|
||||
patch -p1 < $patches"android_external_svox/94d2ddb.diff" #Fix garbled output See https://android-review.googlesource.com/#/c/302872/
|
||||
|
||||
enter "frameworks/base"
|
||||
git revert 0326bb5e41219cf502727c3aa44ebf2daa19a5b3 #re-enable doze on devices without gms
|
||||
@ -77,6 +77,7 @@ git fetch https://review.lineageos.org/LineageOS/android_frameworks_base refs/ch
|
||||
sed -i 's/DEFAULT_MAX_FILES = 1000;/DEFAULT_MAX_FILES = 0;/' services/core/java/com/android/server/DropBoxManagerService.java; #Disable DropBox
|
||||
patch -p1 < $patches"android_frameworks_base/0003-Signature_Spoofing.patch" #Allow packages to spoof their signature (MicroG)
|
||||
patch -p1 < $patches"android_frameworks_base/0005-Harden_Sig_Spoofing.patch" #Restrict signature spoofing to system apps signed with the platform key
|
||||
rm -rf packages/PrintRecommendationService; #App that just creates popups to install proprietary print apps
|
||||
rm core/res/res/values/config.xml.orig core/res/res/values/strings.xml.orig core/res/AndroidManifest.xml.orig
|
||||
|
||||
#enter "frameworks/opt/net/ims"
|
||||
@ -104,6 +105,7 @@ patch -p1 < $patches"android_packages_apps_FakeStore/0001-Fixes.patch" #Update o
|
||||
|
||||
enter "packages/apps/FDroid"
|
||||
patch -p1 < $patches"android_packages_apps_FDroid/0001.patch" #Enable privigled module
|
||||
patch -p1 < $patches"android_packages_apps_FDroid/0002-Repos.patch" #Add IzzySoft and microG repos
|
||||
|
||||
enter "packages/apps/FDroidPrivilegedExtension"
|
||||
patch -p1 < $patches"android_packages_apps_FDroidPrivilegedExtension/0002-Release_Key.patch" #Change to release key
|
||||
|
Loading…
Reference in New Issue
Block a user