Merge pull request #182 from fourofspades/Issue_#1141_TabletMode

Added shell script to remove telephony.
This commit is contained in:
Pierre-Hugues HUSSON 2020-05-23 11:47:41 +02:00 committed by GitHub
commit 46b853461c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -150,6 +150,9 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/phh/treble/phh-securize.sh:system/bin/phh-securize.sh \ device/phh/treble/phh-securize.sh:system/bin/phh-securize.sh \
PRODUCT_COPY_FILES += \
device/phh/treble/remove-telephony.sh:system/bin/remove-telephony.sh \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.secure_lock_screen.xml:system/etc/permissions/android.software.secure_lock_screen.xml \ frameworks/native/data/etc/android.software.secure_lock_screen.xml:system/etc/permissions/android.software.secure_lock_screen.xml \

11
remove-telephony.sh Normal file
View File

@ -0,0 +1,11 @@
#!/system/bin/sh
mount -o remount,rw /
mount -o remount,rw /system
remount
rm -Rf /system/priv-app/TeleService
mount -o remount,ro /
mount -o remount,ro /system
sync
reboot