diff --git a/Scripts/LineageOS-14.1/Patch.sh b/Scripts/LineageOS-14.1/Patch.sh index c7e34d18..5a496743 100755 --- a/Scripts/LineageOS-14.1/Patch.sh +++ b/Scripts/LineageOS-14.1/Patch.sh @@ -159,7 +159,7 @@ patch -p1 < $patches"android_packages_services_Telephony/0001-LTE_Only.patch" #L enterAndClear "system/core" cat /tmp/ar/hosts >> rootdir/etc/hosts #Merge in our HOSTS file -git revert 0217dddeb5c16903c13ff6c75213619b79ea622b d7aa1231b6a0631f506c0c23816f2cd81645b15f #Always update recovery +git revert 0217dddeb5c16903c13ff6c75213619b79ea622b d7aa1231b6a0631f506c0c23816f2cd81645b15f #Always update recovery XXX: This doesn't seem to work patch -p1 < $patches"android_system_core/0001-Harden_Mounts.patch" #Harden mounts with nodev/noexec/nosuid. Disclaimer: From CopperheadOS 13.0 enterAndClear "system/keymaster" diff --git a/Scripts/LineageOS-15.1/Functions.sh b/Scripts/LineageOS-15.1/Functions.sh index add5da9c..6f07ce5e 100644 --- a/Scripts/LineageOS-15.1/Functions.sh +++ b/Scripts/LineageOS-15.1/Functions.sh @@ -39,8 +39,8 @@ buildAll() { #brunch lineage_clark-user; #requires blobs from https://androidfilehost.com/?w=files&flid=244563 and also broken brunch lineage_angler-user; brunch lineage_bullhead-user; - brunch lineage_d802-userdebug; - brunch lineage_d855-userdebug; + brunch lineage_d802-user; + brunch lineage_d855-user; brunch lineage_flo-user; brunch lineage_flounder-user; #brunch lineage_h850-userdebug; diff --git a/Scripts/LineageOS-15.1/Patch.sh b/Scripts/LineageOS-15.1/Patch.sh index 001049cc..32c1b243 100755 --- a/Scripts/LineageOS-15.1/Patch.sh +++ b/Scripts/LineageOS-15.1/Patch.sh @@ -125,7 +125,7 @@ patch -p1 < $patches"android_packages_apps_LineageParts/0001-Remove_Analytics.pa rm AndroidManifest.xml.orig res/values/*.xml.orig; enterAndClear "packages/apps/Settings" -git revert a96df110e84123fe1273bff54feca3b4ca484dcd +git revert a96df110e84123fe1273bff54feca3b4ca484dcd #don't hide oem unlock sed -i 's/private int mPasswordMaxLength = 16;/private int mPasswordMaxLength = 48;/' src/com/android/settings/password/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 patch -p1 < $patches"android_packages_apps_Settings/0002-Remove_Analytics.patch" #Remove analytics @@ -181,6 +181,9 @@ sed -i 's/messaging/Silence/' config/telephony.mk; #Replace AOSP Messaging app w # #START OF DEVICE CHANGES # +enterAndClear "device/lge/g2-common" +sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te; + enterAndClear "device/lge/g3-common" sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te; sed -i '1itypeattribute wcnss_service misc_block_device_exception;' sepolicy/wcnss_service.te; diff --git a/Scripts/LineageOS-15.1/Rebrand.sh b/Scripts/LineageOS-15.1/Rebrand.sh index 81787b06..2d8ca0d9 100644 --- a/Scripts/LineageOS-15.1/Rebrand.sh +++ b/Scripts/LineageOS-15.1/Rebrand.sh @@ -22,7 +22,7 @@ echo "Rebranding..." enter "bootable/recovery" sed -i 's|Android Recovery|DivestOS Recovery|' *_ui.cpp; sed -i 's|LineageOS|DivestOS|' ui.cpp; -#TODO: Rebrand the rest of the recovery +#TODO: Change out res-*/images/logo_image.png enter "build/make" sed -i 's|echo "ro.build.user=$USER"|echo "ro.build.user=emy"|' tools/buildinfo.sh; #Override build user