Add our own boot stript

This commit is contained in:
Nehemiah of Zebulun 2023-11-23 14:55:18 -05:00
parent b861a82d9a
commit 9209197db7
5 changed files with 11 additions and 1197 deletions

View File

@ -6,6 +6,8 @@ PRODUCT_BRAND := wePhone
PRODUCT_SYSTEM_BRAND := wePhone
PRODUCT_MODEL := weOs - v0.4 - jnsw
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += device/phh/cats22flip/sepolicy
PRODUCT_SYSTEM_PROPERTIES += \
ro.system.ota.json_url=https://ota.mezimmah.net/ota.json \
persist.sys.phh.mainkeys=0 \
@ -23,5 +25,6 @@ PRODUCT_PACKAGES += \
NextcloudNotes
PRODUCT_COPY_FILES += \
device/phh/cats22flip/rw-system.sh:system/bin/rw-system.sh
device/phh/cats22flip/wephone.rc:system/etc/init/vndk.rc \
device/phh/cats22flip/wephone.sh:system/bin/rw-system.sh

File diff suppressed because it is too large Load Diff

1
sepolicy/file_contexts Normal file
View File

@ -0,0 +1 @@
/system/bin/rw-system.sh u:object_r:phhsu_exec:s0

1
wephone.rc Normal file
View File

@ -0,0 +1 @@
wephone.rc

5
wephone.sh Executable file
View File

@ -0,0 +1,5 @@
#!/system/bin/sh
if getprop ro.vendor.build.fingerprint | grep -iq -e S22FLIP; then
setprop ro.vendor.gsi.image_running false
fi