android fastboot 最新版,用adb、fastboot拯救你的安卓手机

本文详细介绍了如何在Android手机无法进入系统时,通过adb和fastboot命令导出数据并进行刷机救机的过程。首先,准备adb和fastboot工具,确保手机已刷入第三方recovery。接着,利用adb命令进入recovery模式导出数据。然后,进入fastboot模式,执行数据清除和刷机操作,包括fastboot -w清除所有数据,逐一分区刷入系统映像。最后,通过fastboot reboot重启手机完成刷机。该教程适用于掌握adb和fastboot基础知识的Android用户。
摘要由CSDN通过智能技术生成

很久以来就想过写一些有关安卓 adb 和 fastboot 的使用分享,但是鉴于平时太忙加上自我感觉文笔不好,所以一直没着手。说来也巧,正当我今天提起左右手想写点东西的时候,一个激动一个手抖就不小心敲了一个万年没出过事的命令 fastboot erase cache (清除缓存),结果手机就定在开机logo进不了系统了。借此机会,来记录一下我是怎么在手机未进入系统的情况下导出手机数据,以及使用 fastboot 命令救机的过程。

准备工作:

1、 准备好手机:本文使用红米note2做测试

2、 adb、fastboot命令工具下载地址:百度网盘

3、 把上面的命令工具解压到电脑上任意位置,并打开cmd命令窗口cd到此目录

4、红米note2国际版线刷包下载地址:点击下载

5、确定你的电脑已经装过手机驱动以及fastboot驱动,并且手机已经刷入了第三方recovery。(那么问题来了,怎么确定是否已经刷入了第三方recovery呢?此文仅作命令上的分享,不对刷机知识做过多的讲解,故还请不了解的刷机的盆友们自行百度,女生们可以来找我单独做辅导。)

下面进入正题

第一部分:使用 adb 命令来导出手机资料

让我们同时按住音量上键和开机键,并保持三秒以上,直到进入recovery界面。

36b8d71f9268

进入之后,我们把手机连接电脑,在cmd窗口输入 adb devices 就可以看到已连接的手机状态。

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
What is this? This is All-in-One installer for 3 most needed PC tools for Android. No need to download big SDK for 3 small things. I originaly made it for my Kurdish friend AnGrY DuDe in early 2013. I saw another ADB installer on XDA, but it wasn't good enough for me so i'm finaly posting it here. It's very small and fast installer for tools and drivers. Features: Small - 9.18 MB Fast - 15 seconds install (many times its even less) AIO - ADB, Fastboot and also Drivers Easy to install - just run it and program will guide you Clean - ADB and Google Drivers from latest SDK Install process: 1. Run it (Require administrator privileges) 2. Press Y/Yes to install ADB and Fastboot or N/No to skip 3. Press Y/Yes to install ADB system-wide or N/No for current user only 4. Press Y/Yes to install Drivers or N/No to skip 5. Continue Driver installation 6. 15 seconds passed - finished! Notes: System-wide: ADB and Fastboot are installed to %SystemDrive%\adb directory, and added system-wide path. Current user only: ADB and Fastboot are installed to %UserProfile%\adb directory, and added path for current user. CMD can use ADB and Fastboot from any directory. Drivers are installed to system - no need to install them from directories. Installer automaticly decides if install 32-bit or 64-bit drivers. If anybody got problem with detecting device, go see picture guide howto_driver.zip If installation fails, then post here contents of "adb-installer.log" from desktop. (if there is any) If you have problem with driver enumeration in Windows 8.1 install update KB2917929 If you have older Google USB Driver installed, please uninstall it from Control Panel before installing new If you have previously installed it as system-wide and now you want it current user only (or vice-versa), it won't remove it, you must do it yourself. (at least for now)
HTC目前的系统结构都是几个储存分区独立存在而又关联的。 一个完整的官方rom解开如下所示(参考) boot.img system.img recovery.img hboot.nb0 data.img cache.img radio.img 等等。。。 我们所说的刷机也仅仅是boot.img引导分区加上system.img系统分区、 那么很多同学卡在第一屏,白屏。或者recovery无法进入(有时候涉及到系统文件不完整,一般都是未刷入第三方recovery) 都是因为boot系统内核(引导分区)加上system不匹配,造成不能正确引导所致。 既然知道了问题所在,接下来就有几种解决方案了 第一:手动刷入boot。或者recovery。 通过fastboot命令刷入。 首先必须要有fastboot支持,官方刷机包里面都自带。我这里提取给大家 解压运行里面的cmd.exe 我的是直接在系统里面提取的cmd。不一定都适用。如果不能运行那就 点击开始-运行-cmd 进入这个文件夹。运行fastboot命令 手机进入fastboot模式有2种方法。如果你的手机能用adb识别到,有时候卡在第一屏也可以识别 你可以先运行 adb devices 如下图显示说明此时adb命令是可以运行的,也可以做更多的事情。 那么我们通过adb命令进入fastboot吧。 运行命令adb reboot bootloader 这样手机就进入fastboot usb模式,如果电脑驱动没装好,这里会识别不到的 第二种进入方法是,手机完全断电,按住音量向下+电源键不放。进入hboot之后点击下电源键 接下来就是刷入boot和recovery了。 把recovery.img和boot.img提取放到刚才下载的文件夹里面。 回到cmd。运行命令。 单刷boot.img命令 : fastboot flash boot boot.img 单刷recovery.img命令 : fastboot flash recovery recovery.img 当然这里不排除有些机器因为民间解锁后刷官方ROM以及升级hboot的问题出错。 我刚才也是刷了4.0系统的官方rom造成错误,然后刷了一个hboot解决掉了 如果以上还达不到你的要求,那么,继续下一步吧。 第二节:刷入原生官方rom 大家经常遇到的就是手机无法进入系统,刷机各种报错,无法进recovery,那好。我刷htc官方rom总行吧。 但是,经过解锁的机器。有很多局限性。什么cid错误啊,什么版本错误啊。。眼花缭乱了吧。 下面我们一htc sensation和htc raider为例说明下刷机方法。 如果htc sensation和raider都是官方解锁的话。刷入完整的官方rom需要先上锁。 具体方法请参考这里: HTC Raider 4G/X710e/突袭者刷回官方ROM教程 http://bbs.dospy.com/viewthread.php?tid=14412965&bbsid=354&page=1&extra=page=1#pid210911214 那如何选择官方ROM呢。哪一个才是适合自己的手机呢? 这里我给大家提供下对应方法, 回到cmd界面,运行命令。 fastboot getvar all
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值