就像我之前在其他 nexus 手机上所做的那样,我正在将 nexus 恢复为出厂映像。刷新引导加载程序后,我无法再使用 ADB 连接到手机。“启用 USB 调试”在开发人员选项中被选中,但是当我插入手机时 USB 调试永远不会启动。这款手机之前有一个自定义版本的软糖,我正在将它刷到 ICS。有人对我如何让 adb 在这部手机上再次工作有任何提示吗?
这是出现问题的 shell 输出。刷新引导加载程序后,fastboot 无法再连接以刷新收音机。用于刷新手机的脚本位于输出的末尾。
zzz:$ pwd
/Users/zzz/Downloads/soju-imm76d
zzz:$ ls
bootloader-crespo-i9020xxkl1.img flash-all.sh flash-base.sh image-soju-imm76d.zip radio-crespo-i9020xxki1.img
zzz:$ flash-all.sh
sending 'bootloader' (1536 KB)...
OKAY [ 0.282s]
writing 'bootloader'...
OKAY [ 0.369s]
finished. total time: 0.651s
rebooting into bootloader...
OKAY [ 0.001s]
finished. total time: 0.001s
< waiting for device >
^C
zzz:$ more flash-all.sh
#!/bin/sh
# Copyright (C) 2011 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
fastboot flash bootloader bootloader-crespo-i9020xxkl1.img
fastboot reboot-bootloader
sleep 5
fastboot flash radio radio-crespo-i9020xxki1.img
fastboot reboot-bootloader
sleep 5
fastboot -w update image-soju-imm76d.zip
zzz:$ fastboot devices
zzz:$ fastboot device
< waiting for device >
^C