mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
15.1: Switch more devices to -user
This commit is contained in:
parent
1fa75dcb65
commit
2289ba2053
@ -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"
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user