|
本帖最后由 窄口牛 于 2020-2-27 09:25 编辑
- <div class="blockcode"><blockquote>#!/bin/sh
- basepath=$(cd `dirname $0`; pwd)
- mkdir /hh
- mount -rw $basepath/system.img /hh
- rm -rf /hh/app/GoogleCalendarSyncAdapter
- rm -rf /hh/app/GoogleContactsSyncAdapter
- rm -rf /hh/app/GoogleTTS
- rm -rf /hh/app/BookmarkProvider
- rm -rf /hh/app/Stk
- rm -rf /hh/app/LiveWallpapersPicker
- rm -rf /hh/app/Email
- rm -rf /hh/app/WallpaperBackup
- rm -rf /hh/app/messaging
- rm -rf /hh/app/Gallery2
- rm -rf /hh/app/WallpaperPicker
- rm -rf /hh/app/YouTube
- rm -rf /hh/app/Gmail2
- rm -rf /hh/app/CZTextEditor
- rm -rf /hh/app/BasicDreams.apk
- rm -rf /hh/app/AmberTheme
- rm -rf /hh/app/BasicSmsReceiver
- rm -rf /hh/priv-app/Telecom
- rm -rf /hh/priv-app/CMUpdater
- rm -rf /hh/priv-app/Updater
- rm -rf /hh/priv-app/WeatherManagerService
- rm -rf /hh/priv-app/WeatherProvider
- rm -rf /hh/priv-app/PrebuiltGmsCore
- rm -rf /hh/priv-app/Feedback
- #rm -rf /hh/priv-app/Launcher3
- rm -rf /hh/priv-app/Trebuchet
- rm -rf /hh/priv-app/com.google.android.apps.nexuslauncher
- rm -rf /hh/priv-app/Lawnchair
- rm -rf /hh/priv-app/Launcher3QuickStep
- # Launcher3,com.google.android.apps.nexuslauncher,Trebuchet,Lawnchair,Launcher3QuickStep是启动器,需要别的启动器同时存在
- rm -rf /hh/priv-app/Velvet
- # Velvet 就是google
- #rm -rf /hh/priv-app/com.farmerbb.taskbar
- rm -rf /hh/priv-app/com.farmerbb.taskbar.support
- # com.farmerbb.taskbar.support是bliss的taskbar强制设置
- rm -rf /hh/priv-app/Phonesky
- rm -rf /hh/priv-app/SharedStorageBackup
- rm -rf /hh/priv-app/BackupRestoreConfirmation
- rm -rf /hh/priv-app/CallLogBackup
- rm -rf /hh/priv-app/MmsService
- rm -rf /hh/priv-app/Contacts
- rm -rf /hh/priv-app/ContactsProvider
- rm -rf /hh/priv-app/Dialer
- rm -rf /hh/priv-app/CellBroadcastReceiver\
- rm -rf /hh/priv-app/GmsCoreSetup
- rm -rf /hh/priv-app/GooglePartnerSetup
- rm -rf /hh/priv-app/GoogleBackupTransport
- rm -rf /hh/priv-app/GoogleFeedback
- rm -rf /hh/priv-app/GoogleLoginService
- rm -rf /hh/priv-app/GoogleRestore
- #rm -f /hh/app/NotePad/NotePad.apk
- #cp QuickEdit-Pro-v1.4.8_build_115-Mod.apk /hh/app/NotePad/NotePad.apk
- #替换写字板为好用的编辑器
- rm -rf /hh/phoenixos/app/qihoo360
- rm -rf /hh/phoenixos/app/jinritoutiao
- rm -rf /hh/phoenixos/app/aiqiyihd
- #凤凰必减的三个预装应用
- #rm -rf /hh/priv-app/GmsCore
- #rm -rf /hh/priv-app/GoogleServicesFramework
- #rm -rf /hh/app/GoogleExtShared
- #9.0不能删这个了,之前可以,必须保留谷歌框架的两个,否则开机向导报错,没有开机向导无法打开开发者模式
- # rm -rf /hh/app/Camera2
- #相机
- # rm -rf /hh/priv-app/TelephonyProvider
- # TelephonyProvider某些因为这个删除报错
- #rm -rf /hh/priv-app/LineageSetupWizard
- #rm -rf /hh/priv-app/SetupWizard
- #开机向导删了打不开开饭人员工具
- sed -i 's/en-US/zh-CN/g' '/hh/build.prop'
- #修改为中文默认语言
- sed -i 's/ro.enable.native.bridge.exec=0/ro.enable.native.bridge.exec=1/g'
- sed -i 's/ro.enable.native.bridge.exec64=0/ro.enable.native.bridge.exec64=1/g'
- #打开arm翻译器
- echo "qemu.hw.mainkeys=1" >> /hh/build.prop
- #去掉虚拟按键,因为我习惯用taskbar
- echo "has_sensors=true" >> /hh/etc/init.sh
- echo "hal_sensors=iio" >> /hh/etc/init.sh
- #打开重旋
- #echo "hal.sensors.iio.accel.matrix=0,1,0,1,0,0,0,0,-1 >> /hh/build.prop
- #echo "set_property ro.iio.accel.order 102 >> /hh/etc/init.sh
- #echo "set_property ro.iio.accel.x.opt_scale -1 >> /hh/etc/init.sh
- #echo "set_property ro.iio.accel.y.opt_scale -1 >> /hh/etc/init.sh
- #向左90看
- #echo "hal.sensors.iio.accel.matrix=0,-1,0,-1,0,0,0,0,-1 >> /hh/build.prop
- #echo "set_property ro.iio.accel.order 102 >> /hh/etc/init.sh
- #向右90看
- #echo "hal.sensors.iio.accel.matrix=0,1,0,-1,0,0,-1,0,0 >> /hh/build.prop
- #echo "set_property ro.iio.accel.y.opt_scale -1 >> /hh/etc/init.sh
- #左看270
- #echo "hal.sensors.iio.accel.matrix=-1,0,0,0,-1,0,0,0,-1 >> /hh/build.prop
- #echo "set_property ro.iio.accel.quirks no-trig >> /hh/etc/init.sh
- #上下倒左右不动
- #echo "hal.sensors.iio.accel.matrix=1,0,0,0,-1,0,0,0,-1 >> /hh/build.prop
- #echo "set_property ro.iio.accel.x.opt_scale -1 >> /hh/etc/init.sh
- #上下左右反转
- #echo "set_property ro.iio.accel.x.opt_scale -1 >> /hh/etc/init.sh
- #echo "set_property ro.iio.accel.z.opt_scale -1 >> /hh/etc/init.sh
- #左右道上下不动
- #其它调整方向
- #echo mv /dev/snd/pcmC0D10p /dev/snd/1pcmC0D10p >> /hh/etc/init.sh
- #echo mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p >> /hh/etc/init.sh
- #echo killall audioserver >> /hh/etc/init.sh
- #打开凤凰核显hdmi声音
- umount /dev/sda4/$1/system.img /hh
复制代码
|
|