diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary new file mode 100644 index 0000000..90beec4 --- /dev/null +++ b/META-INF/com/google/android/update-binary @@ -0,0 +1,47 @@ +#!/sbin/sh + +################# +# Initialization +################# + +umask 022 + +# echo before loading util_functions +ui_print() { echo "$1"; } + +require_new_magisk() { + ui_print "*******************************" + ui_print " Please install Magisk v20.4+! " + ui_print "*******************************" + exit 1 +} + +grep_prop() { + REGEX="s/^$1=//p" + shift + FILES=$@ + [ -z "$FILES" ] && FILES='/system/build.prop' + cat $FILES 2>/dev/null | dos2unix | sed -n "$REGEX" | head -n 1 +} + +######################### +# Load util_functions.sh +######################### + +OUTFD=$2 +ZIPFILE=$3 + +[ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk +. /data/adb/magisk/util_functions.sh +[ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk + +# Remove comments from files and place them, add blank line to end if not already present +for i in $(find "$MODPATH" -type f -name "*.sh" -o -name "*.prop" -o -name "*.rule"); do + [ -f "$i" ] && { + sed -i -e "/^#/d" -e "/^ *$/d" "$i" + [ "$(tail -1 "$i")" ] && echo "" >>"$i" + } || continue +done + +install_module +exit 0 diff --git a/META-INF/com/google/android/updater-script b/META-INF/com/google/android/updater-script new file mode 100644 index 0000000..11d5c96 --- /dev/null +++ b/META-INF/com/google/android/updater-script @@ -0,0 +1 @@ +#MAGISK diff --git a/customize.sh b/customize.sh new file mode 100644 index 0000000..a55fafa --- /dev/null +++ b/customize.sh @@ -0,0 +1,17 @@ +#!/system/bin/sh + +# Module variables +MODPATH_SYSTEM_PROP="$MODPATH"/system.prop +MOD_PROP_MODEL=$(grep_prop ro.product.model "$MODPATH_SYSTEM_PROP") +MOD_PROP_PRODUCT=$(grep_prop ro.build.product "$MODPATH_SYSTEM_PROP" | tr '[:lower:]' '[:upper:]') +MOD_PROP_VERSION=$(grep_prop ro.build.version.release "$MODPATH_SYSTEM_PROP") +MOD_PROP_SECURITYPATCH=$(grep_prop ro.build.version.security_patch "$MODPATH_SYSTEM_PROP") +MOD_PROP_VERSIONCODE=$(date -d "$MOD_PROP_SECURITYPATCH" '+%y%m%d') +MOD_PROP_MONTH=$(date -d "$MOD_PROP_SECURITYPATCH" '+%B') +MOD_PROP_YEAR=$(date -d "$MOD_PROP_SECURITYPATCH" '+%Y') + +# Print head message +ui_print "- Installing, $MOD_PROP_MODEL ($MOD_PROP_PRODUCT) Prop - $MOD_PROP_MONTH $MOD_PROP_YEAR" + +# Print footer message +ui_print "- Script by MRX7014, Telegram: @MRX7014" diff --git a/module.prop b/module.prop new file mode 100644 index 0000000..37b33b7 --- /dev/null +++ b/module.prop @@ -0,0 +1,7 @@ +id=S24U_Spoofer +name=Samsung S24 Ultra (SM-S928B) Spoofer +version=2.0.0 +versionCode=20240731 +author=MRX7014 +description=Spoof your device props to SM-S928B [UP1A.231005.007] (Jul 2024) +support=https://t.me/mrx7014cloud \ No newline at end of file diff --git a/system.prop b/system.prop new file mode 100644 index 0000000..3805be1 --- /dev/null +++ b/system.prop @@ -0,0 +1,203 @@ +### +# begin product/etc/build.prop +### + +# begin common build properties +ro.product.brand=samsung +ro.product.device=qssi_64 +ro.product.manufacturer=samsung +ro.product.model=SM-S928B +ro.product.name=e3qxxx +ro.product.product.brand=samsung +ro.product.product.device=qssi_64 +ro.product.product.manufacturer=samsung +ro.product.product.model=SM-S928B +ro.product.product.name=e3qxxx +ro.product.name_for_attestation=barbet +ro.product.build.date=Thu Jul 4 17:56:56 KST 2024 +ro.product.build.date.utc=1720083416 +ro.product.build.fingerprint=samsung/e3qxxx/qssi_64:14/UP1A.231005.007/S928BXXS3AXEF:user/release-keys +ro.product.build.id=UP1A.231005.007 +ro.product.build.tags=release-keys +ro.product.build.type=user +ro.product.build.version.incremental=S928BXXS3AXEF +ro.product.build.version.release=14 +ro.product.build.version.release_or_codename=14 +ro.product.build.version.sdk=34 +# end common build properties + +# begin PRODUCT_BOOTIMAGE_PROPERTIES +ro.product.bootimage.brand=samsung +ro.product.bootimage.device=qssi_64 +ro.product.bootimage.manufacturer=samsung +ro.product.bootimage.model=SM-S928B +ro.product.bootimage.name=e3qxxx +ro.bootimage.build.date=Thu Jul 4 17:56:56 KST 2024 +ro.bootimage.build.date.utc=1720083416 +ro.bootimage.build.fingerprint=samsung/e3qxxx/qssi_64:14/UP1A.231005.007/S928BXXS3AXEF:user/release-keys +ro.bootimage.build.id=UP1A.231005.007 +ro.bootimage.build.tags=release-keys +ro.bootimage.build.type=user +ro.bootimage.build.version.incremental=S928BXXS3AXEF +ro.bootimage.build.version.release=14 +ro.bootimage.build.version.release_or_codename=14 +ro.bootimage.build.version.sdk=34 +# end PRODUCT_BOOTIMAGE_PROPERTIES + +### +# end product/etc/build.prop +### + +### +#-# +### + +### +# begin vendor/build.prop +### + +# begin common build properties +ro.product.vendor.brand=samsung +ro.product.vendor.device=qssi_64 +ro.product.vendor.manufacturer=samsung +ro.product.vendor.model=SM-S928B +ro.product.vendor.name=e3qxxx +ro.vendor.build.date=Thu Jul 4 17:56:56 KST 2024 +ro.vendor.build.date.utc=1720083416 +ro.vendor.build.fingerprint=samsung/e3qxxx/qssi_64:14/UP1A.231005.007/S928BXXS3AXEF:user/release-keys +ro.vendor.build.id=UP1A.231005.007 +ro.vendor.build.tags=release-keys +ro.vendor.build.type=user +ro.vendor.build.version.incremental=S928BXXS3AXEF +ro.vendor.build.version.release=14 +ro.vendor.build.version.release_or_codename=14 +ro.vendor.build.version.sdk=34 +# end common build properties + +### +# end vendor/build.prop +### + +### +#-# +### + +### +# begin vendor/odm/etc/build.prop +### + +# begin common build properties +ro.product.odm.brand=samsung +ro.product.odm.device=qssi_64 +ro.product.odm.manufacturer=samsung +ro.product.odm.model=SM-S928B +ro.product.odm.name=e3qxxx +ro.odm.build.date=Thu Jul 4 17:56:56 KST 2024 +ro.odm.build.date.utc=1720083416 +ro.odm.build.fingerprint=samsung/e3qxxx/qssi_64:14/UP1A.231005.007/S928BXXS3AXEF:user/release-keys +ro.odm.build.id=UP1A.231005.007 +# end common build properties + +### +# end vendor/odm/etc/build.prop +### + +### +#-# +### + +### +# begin system/system/build.prop +### + +# begin common build properties +ro.product.system.brand=samsung +ro.product.system.device=generic +ro.product.system.manufacturer=samsung +ro.product.system.model=SM-S928B +ro.product.system.name=e3qxxx +ro.system.build.date=Thu Jul 4 17:56:56 KST 2024 +ro.system.build.date.utc=1720083416 +ro.system.build.fingerprint=samsung/e3qxxx/qssi_64:14/UP1A.231005.007/S928BXXS3AXEF:user/release-keys +ro.system.build.id=UP1A.231005.007 +ro.system.build.tags=release-keys +ro.system.build.type=user +# end common build properties + +# begin build properties +ro.build.date=Thu Jul 4 17:56:56 KST 2024 +ro.build.date.utc=1720083416 +ro.build.fingerprint=samsung/e3qxxx/qssi_64:14/UP1A.231005.007/S928BXXS3AXEF:user/release-keys +ro.build.id=UP1A.231005.007 +ro.build.display.id=UP1A.231005.007.S928BXXS3AXEF +ro.build.type=user +ro.build.user=android-build +ro.build.host=SWDK6607 +ro.build.tags=release-keys +ro.build.flavor=e3qxxx-user +ro.build.product=qssi_64 +ro.build.description=e3qxxx-user 14 UP1A.231005.007 S928BXXS3AXEF release-keys +ro.build.version.incremental=S928BXXS3AXEF +# end build properties + +# Samsung Specific Properties +ro.build.PDA=S928BXXS3AXEF +ro.build.changelist=28243294 +ro.product_ship=true +ro.build.official.release=true +ro.build.official.developer=false +ro.build.2ndbrand=false +ro.config.rm_preload_enabled=1 +ro.build.characteristics=phone +# Samsung Specific Properties + +# begin ADDITIONAL_SYSTEM_PROPERTIES +ro.treble.enabled=true +ro.actionable_compatible_property.enabled=true +ro.postinstall.fstab.prefix=/system +ro.config.knox=v30 +ro.build.selinux=1 +ro.config.iccc_version=3.0 +ro.config.dmverity=G +ro.oem_unlock_supported=1 +ro.secure=1 +security.perf_harden=1 +ro.adb.secure=1 +ro.allow.mock.location=0 +ro.binary.type=user +ro.debuggable=0 +dalvik.vm.lockprof.threshold=500 +net.bt.name=Android +ro.vendor.qti.va_aosp.support=1 +ro.force.debuggable=0 +# end ADDITIONAL_SYSTEM_PROPERTIES + +### +# end system/system/build.prop +### + +### +#-# +### + +### +# begin system_ext/etc/build.prop +### + +# begin common build properties +ro.product.system_ext.brand=samsung +ro.product.system_ext.device=qssi_64 +ro.product.system_ext.manufacturer=samsung +ro.product.system_ext.model=SM-S928B +ro.product.system_ext.name=e3qxxx +ro.system_ext.build.date=Thu Jul 4 17:56:56 KST 2024 +ro.system_ext.build.date.utc=1720083416 +ro.system_ext.build.fingerprint=samsung/e3qxxx/qssi_64/UP1A.231005.007/S928BXXS3AXFE:user/release-keys +ro.system_ext.build.id=UP1A.231005.007 +ro.system_ext.build.tags=release-keys +ro.system_ext.build.type=user +# end common build properties + +### +# end system_ext/etc/build.prop +### \ No newline at end of file