Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit feaf1ec2 authored by Jackeagle's avatar Jackeagle
Browse files

Easy-Installer: Migrate /dev -> /community and /stable -> /official

parent 9f47c1aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ SECURITY_PATCH=${ARCHIVE_FOLDER_PATH}""${device_model}"-security-patch"
DEVICE_STATE=${ARCHIVE_FOLDER_PATH}""${device_model}"-device-state"
MURENA_ROM_INFO=${ARCHIVE_FOLDER_PATH}""${device_model}"-rom-info"

curl -o $MURENA_ROM_INFO https://images.ecloud.global/stable/FP4/e-latest-FP4.zip.prop
curl -o $MURENA_ROM_INFO https://images.ecloud.global/official/FP4/e-latest-FP4.zip.prop

MURENA__SECURITY_PATCH=`sed -n 's/^ro.build.version.security_patch=//p' $MURENA_ROM_INFO`
expr "$MURENA__SECURITY_PATCH" : '\(^[0-9]\{4\}-\(0[1-9]\|1[012]\)-\(0[1-9]\|[12][0-9]\|3[01]\)$\)' && echo "MURENA__SECURITY_PATCH is valid!" || exit 1
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ set SECURITY_PATCH=%ARCHIVE_FOLDER_PATH%%device_model%-security-patch"
set DEVICE_STATE=%ARCHIVE_FOLDER_PATH%%device_model%-device-state"
set MURENA_ROM_INFO=%ARCHIVE_FOLDER_PATH%%device_model%-rom-info"

bitsadmin.exe /transfer "RomInfo" https://images.ecloud.global/stable/FP4/e-latest-FP4.zip.prop %MURENA_ROM_INFO% > nul
bitsadmin.exe /transfer "RomInfo" https://images.ecloud.global/official/FP4/e-latest-FP4.zip.prop %MURENA_ROM_INFO% > nul

:: For FP4 on stock ROM the key [ro.build.flavor] returns [qssi-user].
:: On Murena OS: returns [lineage_FP4-userdebug]
+1 −1
Original line number Diff line number Diff line
@@ -16,5 +16,5 @@
---
sources:
  rom:
    url: https://images.ecloud.global/stable/FP3/IMG-e-latest-t-FP3.zip
    url: https://images.ecloud.global/official/FP3/IMG-e-latest-t-FP3.zip
    filePath: IMG-e-latest-t-FP3.zip
+1 −1
Original line number Diff line number Diff line
@@ -16,5 +16,5 @@
---
sources:
  rom:
    url: https://images.ecloud.global/stable/FP4/IMG-e-latest-t-FP4.zip
    url: https://images.ecloud.global/official/FP4/IMG-e-latest-t-FP4.zip
    filePath: IMG-e-latest-t-FP4.zip
+1 −1
Original line number Diff line number Diff line
@@ -16,5 +16,5 @@
---
sources:
  rom:
    url: https://images.ecloud.global/stable/GS290/IMG-e-latest-s-GS290.zip
    url: https://images.ecloud.global/official/GS290/IMG-e-latest-s-GS290.zip
    filePath: IMG-e-latest-s-GS290.zip
Loading