mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-10-11 12:58:50 -04:00
Many changes
- Allow OTA server to be set from init.sh - Fix link updating from Rebrand.sh - Update CVE patchers
This commit is contained in:
parent
af9126ffcb
commit
e65234f8eb
7 changed files with 20 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
|||
From d1d42f87977c344cc4e98551b073a89238c0f352 Mon Sep 17 00:00:00 2001
|
||||
From 4727712ba79e02a706735e0f01e094a0e4a8deb2 Mon Sep 17 00:00:00 2001
|
||||
From: Tad <tad@spotco.us>
|
||||
Date: Fri, 6 Apr 2018 14:14:03 -0400
|
||||
Subject: [PATCH] Switch to our update server
|
||||
|
@ -9,7 +9,7 @@ Change-Id: Ief2f6ae8952de1a5a8e3ca73989fab42ca22f622
|
|||
1 file changed, 1 insertion(+), 9 deletions(-)
|
||||
|
||||
diff --git a/src/org/lineageos/updater/misc/Utils.java b/src/org/lineageos/updater/misc/Utils.java
|
||||
index 6b15e2d..8008156 100644
|
||||
index 67895da..d4d3379 100644
|
||||
--- a/src/org/lineageos/updater/misc/Utils.java
|
||||
+++ b/src/org/lineageos/updater/misc/Utils.java
|
||||
@@ -147,16 +147,8 @@ public class Utils {
|
||||
|
@ -26,10 +26,10 @@ index 6b15e2d..8008156 100644
|
|||
- return serverUrl.replace("{device}", device)
|
||||
- .replace("{type}", type)
|
||||
- .replace("{incr}", incrementalVersion);
|
||||
+ return "https://divestos.xyz/updater.php?base=LineageOS&device=" + device + "&inc=" + incrementalVersion;
|
||||
+ return "0OTASERVER0?base=LineageOS&device=" + device + "&inc=" + incrementalVersion;
|
||||
}
|
||||
|
||||
public static String getChangelogURL(Context context) {
|
||||
--
|
||||
2.17.0
|
||||
2.18.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From d1d42f87977c344cc4e98551b073a89238c0f352 Mon Sep 17 00:00:00 2001
|
||||
From 4727712ba79e02a706735e0f01e094a0e4a8deb2 Mon Sep 17 00:00:00 2001
|
||||
From: Tad <tad@spotco.us>
|
||||
Date: Fri, 6 Apr 2018 14:14:03 -0400
|
||||
Subject: [PATCH] Switch to our update server
|
||||
|
@ -9,7 +9,7 @@ Change-Id: Ief2f6ae8952de1a5a8e3ca73989fab42ca22f622
|
|||
1 file changed, 1 insertion(+), 9 deletions(-)
|
||||
|
||||
diff --git a/src/org/lineageos/updater/misc/Utils.java b/src/org/lineageos/updater/misc/Utils.java
|
||||
index 6b15e2d..8008156 100644
|
||||
index 67895da..d4d3379 100644
|
||||
--- a/src/org/lineageos/updater/misc/Utils.java
|
||||
+++ b/src/org/lineageos/updater/misc/Utils.java
|
||||
@@ -147,16 +147,8 @@ public class Utils {
|
||||
|
@ -26,10 +26,10 @@ index 6b15e2d..8008156 100644
|
|||
- return serverUrl.replace("{device}", device)
|
||||
- .replace("{type}", type)
|
||||
- .replace("{incr}", incrementalVersion);
|
||||
+ return "https://divestos.xyz/updater.php?base=LineageOS&device=" + device + "&inc=" + incrementalVersion;
|
||||
+ return "0OTASERVER0?base=LineageOS&device=" + device + "&inc=" + incrementalVersion;
|
||||
}
|
||||
|
||||
public static String getChangelogURL(Context context) {
|
||||
--
|
||||
2.17.0
|
||||
2.18.0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue