This commit is contained in:
Tad 2017-01-05 04:38:08 -05:00
parent a82653be0b
commit e35d0fa945
5 changed files with 20 additions and 33 deletions

View File

@ -1,10 +1,11 @@
Last Updated: 01/03/2017
Credits: LineageOS, CyanogenMod, CopperheadOS, OmniROM, TeamWin, F-Droid, MicroG, anarkia1976, bhb27, Daniel Micay, dirtyhank, Evisceration, Felipe de Leon, flar2, franciscofranco, hellsgod, mar-v-in, nikhil18, Paul Reioux, savoca, stefano.villa1976, WedyDQ10, XileForce
Last Updated: 01/05/2017
Credits: LineageOS, CyanogenMod, CopperheadOS, OmniROM, TeamWin, F-Droid, MicroG, EmojiOne, anarkia1976, bhb27, Daniel Micay, dirtyhank, Evisceration, Felipe de Leon, flar2, franciscofranco, hellsgod, mar-v-in, nikhil18, Paul Reioux, savoca, stefano.villa1976, WedyDQ10, XileForce
General Changes
- Added support for Chromium monochrome
- Builds are dex-preopted on supported devices
- Builds are signed with private release-keys
- Bundled in our custom DNS blocklist
- Changed the default wallpaper
- Compiled with OpenJDK 8
- Doze is re-enabled on devices without real Google Play Services
- Hardened IPv4 and IPv6 stacks
@ -13,7 +14,8 @@ General Changes
- Nuked CMAnalytics from orbit
- Removed unnecessary/outdated/insecure packages. Warning: No Browser is included, please install getChromium or IceCat from F-Droid
- Replaced stock emoji font with EmojiOne (Standardized and Legible)
- Updated Chromium WebView on arm64 devices
- Switched from userdebug to user builds (Faster and More Secure)
- Updated Chromium WebView
- F-Droid
- F-Droid and FDroidPrivilegedExtension are included by default
- FDroidPrivilegedExtension ONLY allows access to our signed version of F-Droid

View File

@ -2,23 +2,11 @@
<manifest>
<!-- START OF UNNECESSARY REPO REMOVAL -->
<remove-project name="LineageOS/android_external_ant-wireless_ant_native" />
<remove-project name="LineageOS/android_external_ant-wireless_ant_service" />
<remove-project name="LineageOS/android_external_gello_build" />
<remove-project name="LineageOS/android_hardware_intel_common_libmix" />
<remove-project name="LineageOS/android_hardware_intel_common_libva" />
<remove-project name="LineageOS/android_hardware_intel_common_libwsbm" />
<remove-project name="LineageOS/android_hardware_intel_common_omx-components" />
<remove-project name="LineageOS/android_hardware_intel_common_utils" />
<remove-project name="LineageOS/android_hardware_intel_img_hwcomposer" />
<remove-project name="LineageOS/android_hardware_intel_img_psb_headers" />
<remove-project name="LineageOS/android_hardware_intel_img_psb_video" />
<remove-project name="LineageOS/android_hardware_ti_omap4xxx" />
<remove-project name="LineageOS/android_packages_apps_Browser" />
<remove-project name="LineageOS/android_packages_apps_CMBugreport" />
<remove-project name="LineageOS/android_packages_apps_FMRadio" />
<remove-project name="LineageOS/android_packages_apps_Gello" />
<remove-project name="LineageOS/android_packages_apps_ManagedProvisioning" />
<!--<remove-project name="LineageOS/android_packages_apps_ManagedProvisioning" />-->
<remove-project name="LineageOS/android_packages_apps_Stk" />
<remove-project name="LineageOS/android_packages_apps_TvSettings" />
<remove-project name="LineageOS/android_packages_providers_PartnerBookmarksProvider" />
@ -26,7 +14,6 @@
<remove-project name="LineageOS/android_packages_screensavers_Basic" />
<remove-project name="LineageOS/android_packages_screensavers_PhotoTable" />
<remove-project name="LineageOS/android_packages_screensavers_WebView" />
<remove-project name="LineageOS/android_packages_services_Car" />
<remove-project name="LineageOS/android_prebuilts_gcc_darwin-x86_aarch64_aarch64-linux-android-4.9" />
<remove-project name="LineageOS/android_prebuilts_gcc_darwin-x86_arm_arm-linux-androideabi-4.9" />
<remove-project name="LineageOS/android_prebuilts_gcc_darwin-x86_x86_x86_64-linux-android-4.9" />
@ -37,16 +24,7 @@
<remove-project name="device/generic/mini-emulator-x86_64" />
<remove-project name="device/generic/qemu" />
<remove-project name="device/sample" />
<remove-project name="platform/cts" />
<remove-project name="platform/hardware/intel/audio_media" />
<remove-project name="platform/hardware/intel/bootstub" />
<remove-project name="platform/hardware/intel/common/bd_prov" />
<remove-project name="platform/hardware/intel/common/libstagefrighthw" />
<remove-project name="platform/hardware/intel/common/wrs_omxil_core" />
<remove-project name="platform/hardware/intel/sensors" />
<remove-project name="platform/hardware/ti/omap3" />
<remove-project name="platform/hardware/ti/omap4-aah" />
<remove-project name="platform/packages/apps/Provision" />
<!--<remove-project name="platform/packages/apps/Provision" />-->
<remove-project name="platform/prebuilts/clang/darwin-x86/host/3.6" />
<remove-project name="platform/prebuilts/clang/host/darwin-x86" />
<remove-project name="platform/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8" />
@ -59,12 +37,13 @@
<!-- START OF REPLACEMENT REPOS -->
<!-- Updated WebView
<remove-project name="platform/external/chromium-webview" /> -->
<!-- Updated WebView -->
<remove-project name="platform/external/chromium-webview" />
<project path="external/chromium-webview" name="LineageOS/android_external_chromium-webview" remote="github" />
<!-- OpenDelta Updater -->
<remove-project name="LineageOS/android_packages_apps_CMUpdater" />
<project path="packages/apps/OpenDelta" name="omnirom/android_packages_apps_OpenDelta" remote="github" revision="android-7.1" />
<!--<project path="packages/apps/OpenDelta" name="omnirom/android_packages_apps_OpenDelta" remote="github" revision="android-7.1" />-->
<!-- TWRP
<remove-project name="LineageOS/android_bootable_recovery" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

View File

@ -8,3 +8,7 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
F-Droid \
FDroidPrivilegedExtension
# Superuser
PRODUCT_PACKAGES += \
su

View File

@ -1,6 +1,6 @@
#!/bin/bash
#TODO: Aggressive Doze (Verify Extended Doze First), App-based battery profiles, Change connectivity check URL, Optimized build flags, Optimized toolchain, OTA Updates, Ship Chromium, Update WebView for arm
#TODO: Aggressive Doze (Verify Extended Doze First), App-based battery profiles, Change connectivity check URL, Optimized build flags, Optimized toolchain, OTA Updates, Ship Chromium
#Build UberTC
#cd /home/tad/Android/Build/UBERTC/scripts && repo sync -j18 && ./arm-eabi-4.8 && ./arm-linux-androideabi-4.9 && ./aarch64-linux-android-4.9
@ -24,7 +24,7 @@ mkdir -p /tmp/ar
cd /tmp/ar
wget https://spotco.us/hosts -N
wget https://gitlab.com/copperhead/platform_external_chromium-webview/raw/nougat-mr1-release/prebuilt/arm64/webview.apk -N
wget https://github.com/Ranks/emojione/raw/master/assets/fonts/emojione-android.ttf
wget https://github.com/Ranks/emojione/raw/master/assets/fonts/emojione-android.ttf -N
#Accept all SDK licences, not normally needed but Gradle managed apps fail without it
mkdir -p "$ANDROID_HOME/licenses"
@ -47,7 +47,7 @@ enter() {
#START OF ROM CHANGES
#
enter "build"
#git revert 6f9c2e115aeccd7090f92f1fb91bc6052522cdd1 #Enable dex pre-optimization by default again
git revert 6f9c2e115aeccd7090f92f1fb91bc6052522cdd1 #Enable dex pre-optimization by default again
patch -p1 < $patches"android_build/0001-Automated_Build_Signing.patch" #Automated build signing
enter "external/noto-fonts"
@ -97,8 +97,10 @@ rm -rf gello #Gello is built out-of-tree and bundles Google Play Services librar
patch -p1 < $patches"android_vendor_cm/0001-SCE.patch" #Include our extras such as MicroG and F-Droid
cp $patches"android_vendor_cm/sce.mk" config/sce.mk
patch -p1 < $patches"android_vendor_cm/0002-Monochromium.patch" #Add Chromium webview support
echo drawable-hdpi drawable-nodpi drawable-sw600dp-nodpi drawable-sw720dp-nodpi drawable-xhdpi drawable-xxhdpi drawable-xxxhdpi | xargs -n 1 cp $patches"android_vendor_cm/default_wallpaper.png" #Change the default wallpaper
enter "packages/apps/CMParts"
git fetch https://review.lineageos.org/LineageOS/android_packages_apps_CMParts refs/changes/44/154844/1 && git cherry-pick FETCH_HEAD #fix crash
git revert 5b40a9be9e8bb3e5dee428c442cf7451a1d14c0c 4675ff3e918eba2156338753d81fbfb8351f077e fed965cd2980b3cab5d950f38921191d83b3c23d 3e7c02893affcd217d16bac9400ee361613b0692 ae1f124858943f7d99e9eb1e100e01297da5cc52 #revert stat changes
patch -p1 < $patches"android_packages_apps_CMParts/0001-Remove_Analytics.patch" #Remove analytics FIXME: Rebase