Nexus Player到手后,需要将系统刷成CM12.1的系统方便调试。本以为和其他Nexus设备一样非常的容易与简单。结果还是遇到了不少问题。
启动后出现SystemUI Not response问题
不管是自己编译的CM12.1,还是使用XDA中其他人编译的或者是CM官方下载的,都有这个问题,这个问题来源于两个方面,一个是App的问题,另一个是Gapps的问题。
APP问题
如果始终出现SystemUI not response,那么可以考虑将TV相关的App都删除,除了那个ARemoteService,这个应该是用于Remote Control的,需要保留。其中正常的列表如下:
root@fugu:/ # ls /system/app/ -l
drwxr-xr-x root root 2015-05-19 19:34 AppDrawer
drwxr-xr-x root root 2015-05-19 19:34 BasicDreams
drwxr-xr-x root root 2015-05-19 19:34 Bluetooth
drwxr-xr-x root root 2015-05-19 19:34 Browser
drwxr-xr-x root root 2015-05-19 19:34 CMFileManager
drwxr-xr-x root root 2015-05-19 19:34 CMWallpapers
drwxr-xr-x root root 2015-05-19 19:34 Calculator
drwxr-xr-x root root 1999-12-31 13:02 CalendarGooglePrebuilt
drwxr-xr-x root root 2015-05-19 19:34 Camera2
drwxr-xr-x root root 2015-05-19 19:34 CaptivePortalLogin
drwxr-xr-x root root 2015-05-19 19:34 CertInstaller
drwxr-xr-x root root 2015-05-19 19:34 DeskClock
drwxr-xr-x root root 2015-05-19 19:34 Development
drwxr-xr-x root root 2015-05-19 19:34 DocumentsUI
drwxr-xr-x root root 2015-05-19 19:34 DownloadProviderUi
drwxr-xr-x root root 2015-05-19 19:34 Eleven
drwxr-xr-x root root 2015-05-19 19:34 Email
drwxr-xr-x root root 1999-12-31 13:03 FaceLock
drwxr-xr-x root root 2015-05-19 19:34 Galaxy4
drwxr-xr-x root root 2015-05-19 19:34 Gallery2
drwxr-xr-x root root 1999-12-31 13:02 GoogleContactsSyncAdapter
drwxr-xr-x root root 1999-12-31 13:02 GoogleHome
drwxr-xr-x root root 1999-12-31 13:03 GoogleTTS
drwxr-xr-x root root 2015-05-19 19:34 HTMLViewer
drwxr-xr-x root root 2015-05-19 19:34 HoloSpiralWallpaper
drwxr-xr-x root root 2015-05-19 19:34 KeyChain
drwxr-xr-x root root 1999-12-31 13:06 LatinIME
drwxr-xr-x root root 2015-05-19 19:34 LeanbackIme
drwxr-xr-x root root 2015-05-19 19:34 LiveWallpapers
drwxr-xr-x root root 2015-05-19 19:34 LiveWallpapersPicker
drwxr-xr-x root root 2015-05-19 19:34 LockClock
drwxr-xr-x root root 2015-05-19 19:34 NoiseField
drwxr-xr-x root root 2015-05-19 19:34 PacProcessor
drwxr-xr-x root root 2015-05-19 19:34 PackageInstaller
drwxr-xr-x root root 2015-05-19 19:34 PhaseBeam
drwxr-xr-x root root 2015-05-19 19:34 PhotoPhase
drwxr-xr-x root root 2015-05-19 19:34 PhotoTable
drwxr-xr-x root root 2015-05-19 19:34 PicoTts
drwxr-xr-x root root 1999-12-31 13:02 PrebuiltExchange3Google
drwxr-xr-x root root 1999-12-31 13:02 PrebuiltGmail
drwxr-xr-x root root 2015-05-19 19:34 PrintSpooler
drwxr-xr-x root root 2015-05-19 19:34 Profiles
drwxr-xr-x root root 2015-05-19 19:34 SoundRecorder
drwxr-xr-x root root 2015-05-19 19:34 Terminal
drwxr-xr-x root root 2015-05-19 19:34 UserDictionaryProvider
drwxr-xr-x root root 2015-05-19 19:34 VisualizationWallpapers
drwxr-xr-x root root 2015-05-19 19:34 WAPPushManager
drwxr-xr-x root root 2015-05-19 19:34 webview
root@fugu:/ # ls -l /system/priv-app/
drwxr-xr-x root root 2015-05-19 19:34 AtvRemoteService
drwxr-xr-x root root 2015-05-19 19:34 AudioFX
drwxr-xr-x root root 2015-05-19 19:34 BackupRestoreConfirmation
drwxr-xr-x root root 2015-05-19 19:34 CMAccount
drwxr-xr-x root root 2015-05-19 19:34 CMUpdater
drwxr-xr-x root root 2015-05-19 19:34 CalendarProvider
drwxr-xr-x root root 1999-12-31 13:02 ConfigUpdater
drwxr-xr-x root root 2015-05-19 19:34 Contacts
drwxr-xr-x root root 2015-05-19 19:34 ContactsProvider
drwxr-xr-x root root 2015-05-19 19:34 CyanogenSetupWizard
drwxr-xr-x root root 2015-05-19 19:34 DefaultContainerService
drwxr-xr-x root root 2015-05-19 19:34 DownloadProvider
drwxr-xr-x root root 2015-05-19 19:34 ExternalStorageProvider
drwxr-xr-x root root 2015-05-19 19:34 FusedLocation
drwxr-xr-x root root 2015-05-19 19:34 GlobalKeyInterceptor
drwxr-xr-x root root 1999-12-31 13:02 GoogleBackupTransport
drwxr-xr-x root root 1999-12-31 13:02 GoogleFeedback
drwxr-xr-x root root 1999-12-31 13:02 GoogleLoginService
drwxr-xr-x root root 1999-12-31 13:02 GoogleOneTimeInitializer
drwxr-xr-x root root 1999-12-31 13:02 GooglePartnerSetup
drwxr-xr-x root root 1999-12-31 13:02 GoogleServicesFramework
drwxr-xr-x root root 2015-05-19 19:34 InputDevices
drwxr-xr-x root root 2015-05-19 19:34 LeanbackLauncher
drwxr-xr-x root root 2015-05-19 19:34 ManagedProvisioning
drwxr-xr-x root root 2015-05-19 19:34 MediaProvider
drwxr-xr-x root root 2015-05-19 19:34 MmsService
drwxr-xr-x root root 1999-12-31 13:02 Phonesky
drwxr-xr-x root root 1999-12-31 13:02 PrebuiltGmsCore
drwxr-xr-x root root 2015-05-19 19:34 ProxyHandler
drwxr-xr-x root root 2015-05-19 19:34 RemoteControlService
drwxr-xr-x root root 2015-05-19 19:34 Settings
drwxr-xr-x root root 2015-05-19 19:34 SettingsProvider
drwxr-xr-x root root 1999-12-31 13:02 SetupWizard
drwxr-xr-x root root 2015-05-19 19:34 SharedStorageBackup
drwxr-xr-x root root 2015-05-19 19:34 Shell
drwxr-xr-x root root 2015-05-19 19:34 SystemUI
drwxr-xr-x root root 2015-05-19 19:34 TV
drwxr-xr-x root root 2015-05-19 19:34 TeleService
drwxr-xr-x root root 2015-05-19 19:34 Telecom
drwxr-xr-x root root 2015-05-19 19:34 TelephonyProvider
drwxr-xr-x root root 2015-05-19 19:34 ThemeChooser
drwxr-xr-x root root 2015-05-19 19:34 ThemesProvider
drwxr-xr-x root root 2015-05-19 19:34 Trebuchet
drwxr-xr-x root root 2015-05-19 19:34 TvProvider
drwxr-xr-x root root 2015-05-19 19:34 TvSettings
drwxr-xr-x root root 1999-12-31 13:03 Velvet
drwxr-xr-x root root 2015-05-19 19:34 VpnDialogs
drwxr-xr-x root root 2015-05-19 19:34 WallpaperCropper
drwxr-xr-x root root 2015-05-19 19:34 ituxd
GoogleApps的选择
有两种选择:
OpenGapps Vs Stock Apps
这两种都尝试了,都有问题:
发现使用会导致后面的SystemUI Not response问题
- 使用OpenGapps会导致Google Play无法使用
- 综合考虑还是觉得使用OpenGapps比较好
ADB Debug始终为unautorized的解决
参考博客:http://blog.csdn.net/sy373466062/article/details/52232045
刷机与操作
Nexus Player在底部有一个button,要进入到bootloader模式,可以在断电后按住这个button,然后上电,出现google logo后松开。上下方向是按一下这个button,如果是选择的话,那么是按住持续2second,然后松开。