mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-24 23:19:31 -05:00
Fixup athene
- Disable default encryption on athene, doesn't work - Remove QC telephony extensions, causes Dialer to crash Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
e067f59555
commit
f7d0ff4af2
@ -553,11 +553,13 @@ echo "Deblobbing...";
|
||||
blobs=$blobs"|SecProtect.apk";
|
||||
|
||||
#SecureUI [Qualcomm]
|
||||
blobs=$blobs"|lib-sec-disp.so|libSecureUILib.so|libsecureui.so|libsecureuisvc_jni.so|libsecureui_svcsock.so"; #XXX: Maybe reaks radio
|
||||
blobs=$blobs"|lib-sec-disp.so|libSecureUILib.so|libsecureui.so|libsecureuisvc_jni.so|libsecureui_svcsock.so"; #XXX: Can break qseecomd
|
||||
blobs=$blobs"|com.qualcomm.qti.services.secureui.*";
|
||||
blobs=$blobs"|libHealthAuthClient.so|libHealthAuthJNI.so|libSecureExtAuthJNI.so";
|
||||
blobs=$blobs"|libSampleAuthJNI.so|libSampleAuthJNIv1.so|libSampleExtAuthJNI.so|libSecureSampleAuthClient.so";
|
||||
#blobs=$blobs"|libsdedrm.so"; #Direct Rendering Manager not evil DRM? #XXX: potential breakage
|
||||
|
||||
#TrustedUI [Qualcomm]
|
||||
blobs=$blobs"|vendor.qti.hardware.tui.*";
|
||||
manifests=$manifests"|tui_comm|trustedui";
|
||||
|
||||
|
@ -620,7 +620,7 @@ hardenUserdata() {
|
||||
|
||||
#TODO: Ensure: noatime,nosuid,nodev
|
||||
sed -i '/\/data/{/discard/!s|nosuid|discard,nosuid|}' *fstab* */*fstab* */*/*fstab* &>/dev/null || true;
|
||||
if [ "$1" != "device/samsung/tuna" ] && [ "$1" != "device/amazon/hdx-common" ]; then #tuna needs first boot to init, hdx-c has broken encryption
|
||||
if [ "$1" != "device/samsung/tuna" ] && [ "$1" != "device/amazon/hdx-common" ] && [ "$1" != "device/motorola/athene" ]; then #tuna needs first boot to init, hdx-c has broken encryption
|
||||
sed -i 's|encryptable=/|forceencrypt=/|' *fstab* */*fstab* */*/*fstab* &>/dev/null || true;
|
||||
fi;
|
||||
echo "Hardened /data for $1";
|
||||
|
@ -580,6 +580,7 @@ fi;
|
||||
if enterAndClear "device/motorola/athene"; then
|
||||
sed -i 's/camera.msm8952.so/camera.vendor.msm8952.so/' proprietary-files.txt; #Fixups
|
||||
sed -i 's/libchromatix_ov13850_polaris_default_video_bu64297/libchromatix_ov13850_polaris_default_video_bu64297.so/' proprietary-files.txt;
|
||||
awk -i inplace '!/qti-telephony-common/' proprietary-files.txt; #Fix Phone crashing
|
||||
fi;
|
||||
|
||||
if enterAndClear "device/samsung/exynos5420-common"; then
|
||||
|
Loading…
Reference in New Issue
Block a user