Fixes and switch to new updater parameters

This commit is contained in:
Tad 2017-10-06 20:44:56 -04:00
parent f835a6e5f1
commit c9df695f0c
3 changed files with 14 additions and 12 deletions

View File

@ -1,4 +1,4 @@
Last Updated: 07/18/2017
Last Updated: 10/06/2017
Credits: https://divestos.xyz/pages/about.html
Recommended Apps: https://divestos.xyz/pages/apps.php
@ -7,9 +7,9 @@ General Changes
- Builds are signed with private release-keys
- Bundled in our custom DNS blocklist
- Doze is re-enabled on devices without real Google Play Services
- Enabled GLONASS on select devices
- Nuked a *ton* of proprietary blobs
- Nuked CMStats from orbit
- Enabled GLONASS and HTTPS AGPS downloads on all devices
- Nuked a *ton* of proprietary blobs from orbit
- Removed CMStats
- Removed unnecessary/outdated/insecure packages.
- Replace default SMS app with Silence
- Dialer
@ -32,6 +32,8 @@ Device Changes
- bacon
- Overclocked from 2.45Ghz to 2.95Ghz (=+2.02Ghz)
- Underclocked from 300Mhz to 268Mhz
- clark
- Changed flashlight gesture to a tri-state one: back, front, off
- osprey
- Overclocked from 1.36Ghz to 1.88Ghz (=+2.07Ghz)
- Overclocked GPU by 255Mhz

View File

@ -1,15 +1,15 @@
From 91f6cf3814a5d7e90068683f5526a8a6abc1b7fd Mon Sep 17 00:00:00 2001
From 6c0a56705b258953b317295c0c659c2e47c99dbb Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Sat, 26 Aug 2017 16:06:23 -0400
Date: Fri, 6 Oct 2017 16:55:04 -0400
Subject: [PATCH] Switch to our update server
Change-Id: I81967fd97e7c151100b93327501caf8d436a08e5
Change-Id: I826437d2ec6c3fb5358ae7ab1d369da538bd2eeb
---
src/org/lineageos/updater/misc/Utils.java | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/org/lineageos/updater/misc/Utils.java b/src/org/lineageos/updater/misc/Utils.java
index f15be50..8e4fcb1 100644
index 7713993..014f989 100644
--- a/src/org/lineageos/updater/misc/Utils.java
+++ b/src/org/lineageos/updater/misc/Utils.java
@@ -144,14 +144,9 @@ public class Utils {
@ -24,10 +24,10 @@ index f15be50..8e4fcb1 100644
String device = SystemProperties.get(Constants.PROP_DEVICE);
- String type = SystemProperties.get(Constants.PROP_RELEASE_TYPE).toLowerCase(Locale.ROOT);
- return serverUrl + "/v1/" + device + "/" + type + "/" + incrementalVersion;
+ return "https://divestos.xyz/updater.php?device=" + device + "&inc=" + incrementalVersion;
+ return "https://divestos.xyz/updater.php?base=LineageOS&device=" + device + "&inc=" + incrementalVersion;
}
public static void triggerUpdate(Context context, String downloadId) {
--
2.14.1
2.14.2

View File

@ -100,7 +100,7 @@ sed -i 's/ScaleSetting = 1.0f;/ScaleSetting = 0.5f;/' services/core/java/com/and
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
rm core/res/res/values/config.xml.orig core/res/res/values/strings.xml.orig
#enter "frameworks/opt/net/ims"
#patch -p1 < $patches"android_frameworks_opt_net_ims/0001-Fix_Calling.patch" #Fix calling after we remove IMS
@ -202,7 +202,7 @@ sed -i 's/shouldUseOptimizations(weight)/true/' cm/lib/main/java/org/cyanogenmod
#
enter "device/motorola/clark"
enableDexPreOpt
patch -p1 < $patches"android_device_motorola_Clark/0001-Tri_State_Torch.patch" #Tri-state torch
patch -p1 < $patches"android_device_motorola_clark/0001-Tri_State_Torch.patch" #Tri-state torch
enter "device/oneplus/bacon"
enableDexPreOpt