diff --git a/Misc/android-devel/PKGBUILD b/Misc/android-devel/PKGBUILD index 516d0b3c..9dbaaaa0 100644 --- a/Misc/android-devel/PKGBUILD +++ b/Misc/android-devel/PKGBUILD @@ -6,4 +6,4 @@ pkgdesc='Metapackage to pull all dependencies required to build Android' arch=('x86_64') url='https://wiki.archlinux.org/index.php/Android#Building_Android' license=('None') -depends=('gcc-multilib' 'git' 'gnupg' 'flex' 'bison' 'gperf' 'sdl' 'wxgtk' 'squashfs-tools' 'curl' 'ncurses' 'zlib' 'schedtool' 'perl-switch' 'zip' 'unzip' 'libxslt' 'python2-virtualenv' 'bc' 'rsync' 'lib32-zlib' 'lib32-ncurses' 'lib32-readline' 'xml2' 'lzop' 'pngcrush' 'imagemagick' 'repo' 'ccache' 'maven' 'gradle' 'lib32-ncurses5-compat-libs' 'ncurses5-compat-libs') +depends=('gcc-multilib' 'git' 'gnupg' 'flex' 'bison' 'gperf' 'sdl' 'wxgtk' 'squashfs-tools' 'curl' 'ncurses' 'zlib' 'schedtool' 'perl-switch' 'zip' 'unzip' 'libxslt' 'python2-virtualenv' 'bc' 'rsync' 'lib32-zlib' 'lib32-ncurses' 'lib32-readline' 'xml2' 'lzop' 'pngcrush' 'imagemagick' 'repo' 'ccache' 'maven' 'gradle' 'ninja' 'lib32-ncurses5-compat-libs' 'ncurses5-compat-libs') diff --git a/Patches/LineageOS-14.1/cm_platfork_sdk/profile_default.xml b/Patches/LineageOS-14.1/cm_platfork_sdk/profile_default.xml new file mode 100644 index 00000000..a2f922fa --- /dev/null +++ b/Patches/LineageOS-14.1/cm_platfork_sdk/profile_default.xml @@ -0,0 +1,364 @@ + + + 12935e06-b233-4093-b94c-06eb5fa73ed8 + + + toggle + no + 0 + 0 + 2 + 1 + + 0 + true + + + 154 + true + + + normal + true + + + content://settings/system/notification_sound + content://settings/system/ringtone + DEFAULT + DEFAULT + DEFAULT + DEFAULT + + + 4 + 5 + true + + + 5 + 5 + true + + + 2 + 5 + true + + + 3 + 4 + true + + + 8 + 0 + true + + + 4 + 1 + true + + + 0 + 1 + true + + + 1 + 0 + true + + + 7 + 0 + true + + + 5 + 1 + true + + + 2 + 0 + true + + + 9 + 9 + true + 1 + + + + + toggle + no + 0 + 0 + 2 + 1 + + 0 + true + + + 103 + true + + + normal + true + + + content://settings/system/notification_sound + content://settings/system/ringtone + DEFAULT + DEFAULT + DEFAULT + DEFAULT + + + 4 + 5 + true + + + 5 + 5 + true + + + 3 + 4 + true + + + 2 + 5 + true + + + 8 + 0 + true + + + 4 + 0 + true + + + 1 + 1 + true + + + 0 + 1 + true + + + 7 + 0 + true + + + 5 + 1 + true + + + 2 + 0 + true + + + 9 + 1 + true + 1 + + + + + toggle + no + 0 + 0 + 2 + 2 + + 0 + true + + + 51 + true + + + normal + true + + + content://settings/system/notification_sound + content://settings/system/ringtone + DEFAULT + DEFAULT + DEFAULT + DEFAULT + + + 4 + 5 + true + + + 5 + 5 + true + + + 2 + 5 + true + + + 3 + 4 + true + + + 8 + 0 + true + + + 4 + 0 + true + + + 0 + 1 + true + + + 1 + 1 + true + + + 7 + 0 + true + + + 5 + 0 + true + + + 2 + 0 + true + + + 9 + 1 + true + 1 + + + + + toggle + no + 0 + 0 + 0 + 0 + + 0 + true + + + 128 + true + + + normal + true + + + content://settings/system/notification_sound + content://settings/system/ringtone + DEFAULT + DEFAULT + DEFAULT + DEFAULT + + + 4 + 5 + true + + + 5 + 5 + true + + + 3 + 4 + true + + + 2 + 5 + true + + + 8 + 0 + true + + + 4 + 1 + true + + + 1 + 1 + true + + + 0 + 1 + true + + + 7 + 0 + true + + + 5 + 1 + true + + + 2 + 0 + true + + + 9 + 9 + true + 1 + + + diff --git a/Scripts/LAOS-14.1_Patches.sh b/Scripts/LAOS-14.1_Patches.sh index 6eef0b11..b43235c1 100755 --- a/Scripts/LAOS-14.1_Patches.sh +++ b/Scripts/LAOS-14.1_Patches.sh @@ -96,6 +96,7 @@ sed -i 's/CM_BUILDTYPE := UNOFFICIAL/CM_BUILDTYPE := dsc/' config/common.mk; enter "vendor/cmsdk" git fetch https://review.lineageos.org/LineageOS/cm_platform_sdk refs/changes/21/148321/12 && git cherry-pick FETCH_HEAD #network traffic +cp $patches"cm_platform_sdk/profile_default.xml" cm/res/res/xml/profile_default.xml; #Replace default profiles with *way* better ones enter "packages/apps/CMParts" rm -rf src/org/cyanogenmod/cmparts/cmstats/ res/xml/anonymous_stats.xml res/xml/preview_data.xml #Nuke part of CMStats @@ -116,6 +117,13 @@ patch -p1 < $patches"android_device_qcom_sepolicy/0001-Camera_Fix.patch" #Fix ca enter "packages/apps/Settings" sed -i 's/Settings.Secure.WEB_ACTION_ENABLED, 1/Settings.Secure.WEB_ACTION_ENABLED, 0/' src/com/android/settings/applications/ManageDomainUrls.java; #Disable "Instant Apps" sed -i 's/private int mPasswordMaxLength = 16;/private int mPasswordMaxLength = 48;/' src/com/android/settings/ChooseLockPassword.java; #Increase max password length +sed -i 's/GSETTINGS_PROVIDER = "com.google.settings";/GSETTINGS_PROVIDER = "com.google.oQuae4av";/' src/com/android/settings/PrivacySettings.java; #MicroG doesn't support Backup, hide the options + +enter "packages/apps/Dialer" +sed -i 's/FLP_DEFAULT = FLP_GOOGLE;/FLP_DEFAULT = FLP_OPENSTREETMAP;/' src/com/android/dialer/lookup/LookupSettings.java; #Change default FLP to OpenStreetMap +sed -i 's/CMSettings.System.ENABLE_FORWARD_LOOKUP, 1)/CMSettings.System.ENABLE_FORWARD_LOOKUP, 0)/' src/com/android/dialer/lookup/LookupSettings.java; #Disable FLP by default +sed -i 's/CMSettings.System.ENABLE_PEOPLE_LOOKUP, 1)/CMSettings.System.ENABLE_PEOPLE_LOOKUP, 0)/' src/com/android/dialer/lookup/LookupSettings.java; #Disable PLP by default +sed -i 's/CMSettings.System.ENABLE_REVERSE_LOOKUP, 1)/CMSettings.System.ENABLE_REVERSE_LOOKUP, 0)/' src/com/android/dialer/lookup/LookupSettings.java; #Disable RLP 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/