mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Various fixes
This commit is contained in:
parent
8f609e9cbe
commit
3c806603d9
5 changed files with 12 additions and 4 deletions
|
@ -92,6 +92,7 @@ echo "Deblobbing..."
|
|||
|
||||
#Dirac (Audio Codec + Effects) [Dirac]
|
||||
blobs=$blobs"|libDiracAPI_SHARED.so|.*dirac.*";
|
||||
blobs=$blobs"|diracmobile.config";
|
||||
|
||||
#Discretix (DRM/HDCP) [Discretix Technologies]
|
||||
blobs=$blobs"|DxDrmServerIpc|discretix";
|
||||
|
@ -227,7 +228,8 @@ echo "Deblobbing..."
|
|||
blobs=$blobs"|dolby_vision.cfg";
|
||||
|
||||
#I/O Prefetcher [Qualcomm]
|
||||
blobs=$blobs"|libqc-opt.so|libqti-iop.*.so";
|
||||
#blobs=$blobs"|libqc-opt.so"; #Can break camera in some cases
|
||||
blobs=$blobs"|libqti-iop.*.so";
|
||||
blobs=$blobs"|bin[/]iop";
|
||||
blobs=$blobs"|QPerformance.jar";
|
||||
blobs=$blobs"|vendor.qti.hardware.iop.*";
|
||||
|
|
|
@ -85,13 +85,16 @@ scanForMalware() {
|
|||
scanQueue="$DOS_BUILD_BASE";
|
||||
fi;
|
||||
fi;
|
||||
du -hsc "$scanQueue";
|
||||
/usr/bin/clamscan --recursive --detect-pua --infected "$excludes" "$scanQueue";
|
||||
du -hsc $scanQueue;
|
||||
/usr/bin/clamscan --recursive --detect-pua --infected $excludes $scanQueue;
|
||||
clamscanExit="$?";
|
||||
if [ "$clamscanExit" -eq "1" ]; then
|
||||
echo -e "\e[0;31m----------------------------------------------------------------\e[0m";
|
||||
echo -e "\e[0;31mWARNING: MALWARE WAS FOUND! PLEASE INVESTIGATE!\e[0m";
|
||||
echo -e "\e[0;31m----------------------------------------------------------------\e[0m";
|
||||
echo -e "\e[0;33mFalse positivies such as the following are probably OK\e[0m";
|
||||
echo -e "\e[0;33mPUAs: Ewind, Mobidash\e[0m";
|
||||
echo -e "\e[0;31m----------------------------------------------------------------\e[0m";
|
||||
sleep 60;
|
||||
fi;
|
||||
if [ "$clamscanExit" -eq "0" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue