2019年9月29日 星期日

Simplify MIUI - updater-script

Use updater-script to remove some unused apps.


ui_print("");
ui_print("");
ui_print("Remove some APPs");
ui_print("");
ui_print("");
ui_print("Mount System");
run_program("/sbin/busybox","mount","/system");
ui_print("");
ui_print("");
ui_print("Start to remove system apps.");
delete_recursive("/system/app/AntHalService");
delete_recursive("/system/app/BookmarkProvider");
delete_recursive("/system/app/BugReport");
delete_recursive("/system/app/BuiltInPrintService");
delete_recursive("/system/app/CatcherPatch");
delete_recursive("/system/app/Calculator");
delete_recursive("/system/app/ConfURIDialer");
delete_recursive("/system/app/Email");
delete_recursive("/system/app/FidoAuthen");
delete_recursive("/system/app/FidoClient");
delete_recursive("/system/app/FidoCryptoService");
delete_recursive("/system/app/FileExplorer");
delete_recursive("/system/app/greenguard");
delete_recursive("/system/app/HTMLViewer");
delete_recursive("/system/app/HybridPlatform");
delete_recursive("/system/app/Joyose");
delete_recursive("/system/app/KSICibaEngine");
delete_recursive("/system/app/LiveWallpapersPicker");
delete_recursive("/system/app/MiDrive");
delete_recursive("/system/app/MiuiCompass");
delete_recursive("/system/app/MiuiContentCatcher");
delete_recursive("/system/app/MiuiScreenRecorder");
delete_recursive("/system/app/MiWallpaper");
delete_recursive("/system/app/Notes");
delete_recursive("/system/app/PaymentService");
delete_recursive("/system/app/PrintRecommendationService");
delete_recursive("/system/app/PrintSpooler");
delete_recursive("/system/app/SecurityAdd");
delete_recursive("/system/app/SecurityCoreAdd");
delete_recursive("/system/app/TouchAssistant");
delete_recursive("/system/app/UserDictionaryProvider");
delete_recursive("/system/app/WallpaperBackup");
delete_recursive("/system/app/XMCloudEngine");
ui_print("");
ui_print("");
ui_print("Start to remove priv-apps.");
delete_recursive("/system/priv-app/BackupRestoreConfirmation");
delete_recursive("/system/priv-app/Browser");
delete_recursive("/system/priv-app/Calendar");
delete_recursive("/system/priv-app/CallLogBackup");
delete_recursive("/system/priv-app/CellBroadcastReceiver");
delete_recursive("/system/priv-app/CleanMaster");
delete_recursive("/system/priv-app/CloudBackup");
delete_recursive("/system/priv-app/DownloadProviderUi");
delete_recursive("/system/priv-app/EmergencyInfo");
delete_recursive("/system/priv-app/MiDrop");
delete_recursive("/system/priv-app/MiGameCenterSDKService");
delete_recursive("/system/priv-app/MiuiScanner");
delete_recursive("/system/priv-app/MiuiVideo");
delete_recursive("/system/priv-app/MiuiGallery");
delete_recursive("/system/priv-app/Music");
delete_recursive("/system/priv-app/QuickSearchBox");
delete_recursive("/system/priv-app/SoundRecorder");
delete_recursive("/system/priv-app/SpacesManagerService");
delete_recursive("/system/priv-app/VirtualSim");
delete_recursive("/system/priv-app/WallpaperCropper");
delete_recursive("/system/priv-app/YellowPage");
ui_print("");
ui_print("");
ui_print("Un-Mount System");
unmount("/system");
ui_print("");
ui_print("");
ui_print("Done");
ui_print("");
ui_print("");


ref:
[Android] 升級包中的 updater-script 簡易撰寫教學
updater-script命令详解教你写刷机脚本
[TUTORIAL] The updater-script completely explained

2019年9月5日 星期四

Mi6 - find device storage corrupted your device is unsafe now



My Problem is like the under reference website. Please check the under first one reference website #3,062.

I have fixed the problem, but I don't know the root cause.

1. Install OmniRom(clean dalvik, cache, and internal).
2. Install magisk to root OS(clean dalvik, cache, and internal).
3. Boot to os and reboot to twrp.
4. Reinstall xiaomi.eu_multi_MI6_V10.3.1.0.OCACNXM_v10-8.0.zip.
5. Boot to OS and I find the problem is fixed.

Reference:
MIUI 10.0/10.1/10.2/10.3/10.4 STABLE RELEASE
[Discussion] find device storage corrupted your device is unsafe now
find device storage corrupted your device is unsafe now

2019年9月2日 星期一

Facebook App 自動播放影片,音效關閉


右上三條線-->設定和隱私-->設定-->媒體和聯絡人-->媒體和聯絡人

自動播放影片,音效關閉
->動態消息的影片音效已開啟-->關閉

應用程式中的音效-->關閉

關閉自動播放影片功能
->自動播放-->永遠不要自動播放影片