Android: 解决GAPPS刷入时报Error 64/70的办法
Error 64:
GAPPS包架构错误,arm64刷arm包就会报此错误。
Error 70:
system分区空间不足,需要向下更换更小的包,或使用parted通过adb修改system分区大小。
手机GAPPS
aroma #带UI界面的自助安装 约1.5G
super #全家桶 约1.4G
stock #最接近Google Pixel预装的软件和界面 约1.1G
full #与stock包类似但不会替换aosp原生应用 约830M
mini #包含基础框架以及比较常用的软件 约580M
micro #包含基础框架以及Gmail等常见预装 约320M
nano #基础框架 约240M
pico #精简框架 无Play商店 约120M
机顶盒GAPPS
tvstock #最接近Google TV预装的软件和界面 约230M
tvmini #包含Google TV基础框架以及比较常用的软件 约110M
鉴于部分人有强迫症非要刷入stock包但报错(其实就是我……)
新建一个文本文档命名为 gapps-config.txt
该文本文档需要与GAPPS包放在同一目录下
文件内容为
Exclude
GMail
GoogleNow
Maps
YouTube
TagGoogle
Books
Drive
Keep
Movies
NewsStand
TalkBack
YTMusic
Duo
GooglePay
VRService
AndroidAuto
DMAgent
Docs
Earth
Fitness
Hangouts
Indic
Japanese
Korean
ProjectFi
Sheets
Slides
Street
ZhuYin
刷入时就可以排除以上组件,以达到主动精简的效果,成功刷入GAPPS包。
可以根据个人喜好添加或删除需要排除的组件。
也可以将指令 Exclude【排除】 换为 Include【仅安装】安装指定组件
该文本文档对aroma包无效
具体的组件注释请参考以下网址
附上gapps-config.txt完整注释内容
# Read more about gapps-config file here:
https://github.com/opengapps/opengapps/wiki/Advanced-Features-and-Options
# Prevent automatic Stock removals
# +Browser # Don't remove Stock Browser, even if Google Chrome is being installed
# +CameraStock # Don't remove Stock Camera, even if Google Camera is being installed
# +DialerStock # Don't remove Stock Dialer, even if Google Dialer is being installed
# +Email # Don't remove Stock Email, even if Gmail is being installed
# +Gallery # Don't remove Stock Gallery, even if Google Photos is being installed
# +Launcher # Don't remove Stock Launchers, even if Google Now Launcher is being installed
# +MMS # Don't remove Stock SMS app, even if Android Messages is being installed
# +PicoTTS # Don't remove PicoTTS, even if GoogleTTS is being installed
# +WebViewStock # Don't remove Stock WebView
# Remove apps (uncomment a line to remove the app)
# CMAccount # Remove CM Account
# CMAudioFX # Remove CM AudioFX
# CMBugReport # Remove CM Bug Report
# CMFileManager # Remove CM File Manager
# CMMusic # Remove CM Music
# CMScreenCast # Remove CM ScreenCast
# CMSetupWizard # Remove CM Setup Wizard (see Notes for CMSetupWizard)
# CMUpdater # Remove CM Updater
# CMWallpapers # Remove CM Wallpapers
# CMWeatherProvider # Remove CM Weather Underground
# DashClock # Remove DashClock Widget (found in certain ROMs)
# Hexo # Remove Hexo Libre CM Theme
# LRecorder # Remove LineageOS Recorder
# LSetupWizard # Remove LineageOS Setup Wizard
# LUpdater # Remove LineageOS Updater
# Logcat # Remove OmniROM MatLog
# OmniSwitch # Remove OmniSwitch recent apps switcher replacement
# BasicDreams # Remove Basic Dreams Wallpaper
# Galaxy # Remove Galaxy (also known as BlackHole) Wallpaper
# HoloSpiral # Remove Holo Spiral Wallpaper
# NoiseField # Remove Noise Field Wallpaper
# Phasebeam # Remove Phasebeam Wallpaper
# PhotoPhase # Remove Photo Phase Wallpaper
# PhotoTable # Remove Photo Table Wallpaper
# Browser # Remove Stock Browser
# CalculatorStock # Remove Stock Calculator (automatically removed when Google Calculator is installed)
# CalendarStock # Remove Stock Calendar (automatically removed when Google Calendar is installed)
# CameraStock # Remove Stock Camera (Including CAF's camera application, Snap)
# ClockStock # Remove Stock Desk Clock (automatically removed when Google Clock is installed)
# Email # Remove Stock Email Client
# ExchangeStock # Remove Stock Exchange Services (automatically removed when Google Exchange Services is installed)
# FMRadio # Remove Stock FM Radio (not found on all devices or ROMs)
# Gallery # Remove Stock Gallery (automatically removed when Google Photos is installed)
# KeyboardStock # Remove Stock Keyboard (automatically removed when Google Keyboard is installed)
# Launcher # Remove Stock Launcher (removes most commonly named launchers)
# LiveWallpapers # Remove Stock Live Wallpapers
# LockClock # Remove Stock Lockscreen Clock Widget
# MMS # Remove Stock SMS (automatically removed if Android Messages is installed)
# MzFileManager # Remove Stock FlymeOS File Manager
# MzPay # Remove Stock FlymeOS Pay system (this service is only available in China)
# MzSetupWizard # Remove Stock FlymeOS SetupWizard
# MzUpdater # Remove Stock FlymeOS Updater
# MzWeather # Remove Stock FlymeOS Weather (this service is only available in China)
# PicoTTS # Remove Stock PicoTTS
# PrintServiceStock # Remove Stock Print Service Recommendation Service (automatically removed when Google Print Service Recommendation Service is installed)
# SimToolKit # Remove Stock SimToolKit
# SoundRecorder # Remove Stock Sound Recorder
# StorageManagerStock # Remove Stock Storage Manager (automatically removed when Google Storage Manager is installed)
# Studio # Remove Stock Movie Studio
# SykoPath # Remove SykoPath Layers Manager (found in certain ROMs)
# TagStock # Remove Stock NFC Tags (automatically removed when Google NFC Tags is installed)
# Terminal # Remove Stock Terminal
# Themes # Remove Stock Theme Engine (will break the Settings Entry and can cause unexpected reboots on some ROMs)
# VisualizationWallpapers # Remove Stock Visualization Wallpapers
# WhisperPush # Remove Stock WhisperPush support
# Include or Exclude GApps
# Include
# Exclude
# Pico+
CalSync # Install Google Calendar Sync (if Google Calendar is being installed)
DialerFramework # Install Dialer Framework (Android 6.0+)
GearheadStub # Install Android Auto stub. Android Auto needs to be updated to function. Android 10+.
GoogleTTS # Install Google Text-to-Speech Engine (Micro+ on 5.0-, Pico+ on 6.0+)
PackageInstallerGoogle # Install Package Installer (Android 6.0 only & Android 8.0+)
# Nano+
BatteryUsage # Install Device Health Services (Android 7.1+)
Markup # Install Markup (ARM64 + Android 9.0+)
Search # Install Google App (excluding excludes GoogleNow/PixelLauncher)
SoundPicker # Install SoundPicker
Speech # Install Offline Speech Files
Wellbeing # Install Digital Wellbeing (Android 9.0+)
# Micro+
ActionsServices # Install Actions Services (Android 10+)
CalendarGoogle # Install Google Calendar
ExchangeGoogle # Install Exchange Services
Gmail # Install Gmail
GoogleNow # Install Google Now Launcher (Android 4.4 only) (requires Search)
PixelIcons # Install Pixel Icons (Android 7.1 only)
PixelLauncher # Install Pixel Launcher (Android 5.0+) (requires Search and Wallpapers)
Wallpapers # Install Google Wallpapers (Android 5.0+)
# Mini+
CalculatorGoogle # Install Google Calculator (Android 5.0+)
CarrierServices # Install Carrier Services (Android 6.0+) (required for Google Messages)
ClockGoogle # Install Google Clock
Maps # Install Google Maps
Messenger # Install Google Messages (except on tablet devices) (requires Carrier Services)
Photos # Install Google Photos
TagGoogle # Install Google Tags (Android 5.0+)
YouTube # Install YouTube
# Full+
Books # Install Google Play Books
Chrome # Install Chrome
CloudPrint # Install Cloud Print
Drive # Install Google Drive
Keep # Install Keep Notes
Movies # Install Google Play Movies & TV
Music # Install Google Play Music
NewsStand # Install Google News
PlayGames # Install Google Play Games
Talkback # Install Android Accessibility Suite
# Stock+
AndroidAuto # Install Android Auto (Android 5.0+)
CameraGoogle # Install Google Camera (Android 6.0+)
ContactsGoogle # Install Google Contacts (Android 5.1+)
DialerGoogle # Install Google Phone (Android 6.0+)
Duo # Install Duo
GooglePay # Install Google Pay
KeyboardGoogle # Install Gboard
PrintServiceGoogle # Install Print Service Recommendation Service (Android 7.0+)
StorageManagerGoogle # Install Smart Storage (Android 7.0+)
Translate # Install Google Translate
VRService # Install Google VR Services (Android 7.0+)
WebViewGoogle # Install Android System Webview (Android 5.1+) (WebViewStub is installed on Android 7.0+)
WebViewStub # Install Android System Webview (Stub) (Android 7.0+) (See note with WebViewGoogle)
# Super+
ActionsServices # Install Actions Services (Android 9.0+)
BetterTogether # Install Better Together (Android 9.0+)
DMAgent # Install Google Apps Device Policy
Docs # Install Google Docs
Earth # Install Google Earth
Fitness # Install Google Fit
GCS # Install Google Connectivity Services (Android 5.1+) (excluding also excludes ProjectFi)
Hangouts # Install Hangouts
Indic # Install Google Indic Keyboard
Japanese # Install Google Japanese Input
Korean # Install Google Korean Input
Pinyin # Install Google Pinyin Input
ProjectFi # Install Project Fi (Android 5.1+)
Sheets # Install Google Sheets
Slides # Install Google Slides
Street # Install Google Street View
Zhuyin # Install Google Zhuyin Input