手机开机时怎么刷机刷机一半时卡死然后开机就无限重启 用线刷屏幕黑的时候可以连接电脑 等亮了就断开了连接无法线刷

我的位置:&>&&>&MTK手机刷机原厂线刷救砖教程
MTK手机刷机原厂线刷救砖教程
&如果你的手机是采用MTK芯片的手机这个MTK刷机教程可以帮你解决不会刷MTK芯片手机的问题,刷机教程是采用连接电脑线刷的刷机方式(也就是救砖用的主流刷机模式,也是原厂售后的刷机模式),手机在刷机模式下连接电脑,理论上能够解决一切手机软件问题,针对刷机失败后无法开机的情况有奇效,特别是部分手机ROOT提权以后无法卡刷或者升级等问题!
以下图文教程如果看不明白的请到此处下载视频教程!!!
视频教程下载地址:
MTK芯片通用刷机能够解决的问题
能够解决因为系统原因导致的无法开机、反复重启等问题;
能够解决因为软件冲突导致的系统崩溃无法操作等情况;
能够解决因为恢复出厂设置导致的无法开机等情况;
能够解决一切系统软件问题,正常手机也能够使用本教程刷机升级。
手机ROOT之后出现的各种问题等都可以完美解决。
刷机前需要准备的工作
MTK手机刷机联机驱动 & & & & & & &驱动下载地址:
mtk手机刷机平台 & & & & & & & &刷机平台下载地址:
下载手机刷机包 & 请选择适合您手机的刷机包:
第一步先安装MTK的联机驱动
安装驱动的方法,把下载好的驱动解压出来如下图:
根据你电脑的操作系统选择驱动的版本进行安装,如果你不懂我可以告诉你方法,如果你电脑的操作系统是XP的话那么请你选择32位系统,如果你电脑的操作系统是WIN7那么32位系统或者是64位系统都有可能,小编告诉你一个方法鉴别你WIN7系统是几位的,首先在你WIN7的系统桌面上找到 &计算机& 然后右键选择属性我们就可以知道这个WIN7系统是几位的了如下图:
确认好系统版本之后我们来安装MTK刷机的联机驱动:我们双击安装驱动,安装好了以后我们在使用手机联机试试是否安装正确可以联机,如果还提示出现需要安装驱动那么我们将 手机完全关机(取下电池),按住侧上键(个别机型要按下键)(音量+)不放,然后装入电池,再插入数据连接手机到电脑上,此时电脑自动安装MTK USB Port驱动,如果电脑没有自动安装驱动(或自动安装失败)请按以下方法手动安装:
此教程以Windows7为例,XP电脑的安装方法也差不多,可参考此教程
首先请打开电脑的设备管理器XP:鼠标右键单击我的电脑&属性&硬件&设备管理器(针对xp电脑)Win7:开始菜单-计算机-系统属性-设备管理器(针对win7电脑)
手机完全关机,按住侧上键(音量+)不放,装入电池,插入数据连接手机到电脑上。
此时在设备管理器中就会出现一个标记为黄颜色感叹号的 未知设备 或 MT65xx Preloader;请在此黄颜色感叹号的设备上单击鼠标右键,在右键窗口中点击 更新驱动程序如下图:
注意:手机连接电脑后需快速在黄颜色感叹号设备上点击右键并点击更新驱动程序,否则这个设备会在约5秒后自动消失,此时就得取下手机重新按住侧上键连接电脑。
在弹出的窗口中选择浏览计算机以查找驱动程序(XP请选择从列表或指定位置安装)
然后我们下一步选择你刚才下载的并已经解压出来的驱动文件夹单击确定按钮【如下图:】XP电脑请勾选 在搜索中包括这个位置,然后单击 浏览 在弹出的窗口中选择驱动文件夹
请勾选&包括子文件夹&,然后单击下一步开始安装驱动【如下图:】XP电脑直接单击下一步即可
驱动安装完成后断开手机,重新按住侧上键(音量+)不放,插入数据连接手机到电脑上,这时在设备管理器中就能看到USB VCOM Port,证明驱动安装成功。如下图:
到此我们就可以下一步进行刷机了!
第二步打开MTK刷机平台刷机
我们打开MTK刷机平台如下图:
我们导入好刷机包文件之后点击「Download」按钮&如上图的最后一步开始刷机(附注:导入的刷机包文件名次为MT****_Android_scatter.txt)
上面全部做好之后,我们将手机关机,然后按下音量减 不放,插入数据线联机,如果成功联机平台的右下角会显示出联机的端口,平台的最底部也会出现进度条,这个进度条可能需要跑上好几圈以后才能完成刷机,如果刷机完成会有个绿色的提示勾提示你已经刷机完成了!
刷机完成之后如果你刷入的软件版本过低可能会出现开机定屏无法进入系统等现象,建议您进入RE进行双清即可!还有刷完机之后抠出电池,然后安装回去在开机!MTK刷机刷完之后第一次开机时间会比较长,耐心等等就可以使用了!
如果你在刷机的过程中平台提示出错
请参考联发科MTK手机线刷错误代码信息解译以及解决方法大全&& 如果有什么疑问你可以发布评论我们会尽快回复!
同类周排行同类总排行高通平台所有黑砖(不开机)手机通用救砖方法(Qualcomm hs-usb qdloader救砖)
后使用快捷导航没有帐号?
高通平台所有黑砖(不开机)手机通用救砖方法(Qualcomm hs-usb qdloader救砖)
大家一起来探讨下:
高通平台所有黑砖(不开机)手机通用救砖方法(Qualcomm hs-usb qdloader救砖)
经过自己半个月的摸找到的方法,没想到有大大早在网上发了贴,现转载... 方法确认可行,
风险很大,如果此步骤刷成砖的话,真的只有送联想了,后果自负
不怕死的机友往前冲吧....
+++++++++++++++++++++++++++++++++++++++++++++
主要使用QPST中的eMMC Software Download工具进行修复
这里使用的版本主要是QPST_2.7_374,也可以下其他更新的版本(366等旧版本不支持8660的hex,会报错)
QPST_2.7_374.rar
此时QPST的主要用处就是将手机重新分区,并写入bootloader等底层,最终实现将手机启动到S/W刷机模式或fastboot模式来进行刷机。
需要的文件主要有MPRG8660.hex,8660_msimage.mbn,还有根据对应手机编写的的rawprogram0.xml
MPRG8660.hex的生成可以参考
不过显然我们是无法得到那些文件的,所以这里就只能借用小米手机fastboot包中的MPRG8660.hex
不过这个hex文件是个刷机程序(flash programmer),在我看来应该就是一个让cpu知道如何把数据写入到ROM中并启动bootloader的程序,所以它应该是相同的cpu之间通用的
而8660_msimage.mbn应该就是bootloader了,小米的8660_msimage.mbn的作用就是让手机启动到U盘模式(此时手机的emmc作为磁盘接到电脑上进行操作,方便进行重新分区并写入正确的底层)
这个文件的生成可以参考
需要相应手机的sbl1.mbn,sbl2.mbn,sbl3.mbn,rpm.mbn,tz.mbn和partition_boot.xml来生成(注意,并不推荐这样做,这样生成的文件A820L不能使用,会造成手机无法再进入QHSUSB_DLOAD模式,只能使用JTAG进行恢复)
下面的partition_boot.xml格式在374及更新版本中已经不再使用了,这里附上仅供参考
partition_boot.xml
&?xml version=&1.0&?&
& & & & &physical_partition number=&0&&
& & & & & & & & &primary order=&1& type=&4d& bootable=&true& label=&SBL1& size=&1000& readonly=&false&&
& & & & & & & & & & & & &file name=&sbl1.mbn& offset=&0&/&
& & & & & & & & &/primary&
& & & & & & & & &primary order=&2& type=&51& bootable=&false& label=&SBL2& size=&3000& readonly=&false&&
& & & & & & & & & & & & &file name=&sbl2.mbn& offset=&0&/&
& & & & & & & & &/primary&
& & & & & & & & &primary order=&3& type=&45& bootable=&false& label=&SBL3& size=&1500& readonly=&false&&
& & & & & & & & & & & & &file name=&sbl3.mbn& offset=&0&/&
& & & & & & & & &/primary&
& & & & & & & & &primary order=&4& type=&5& bootable=&false& label=&EXT& size=&1000000&&
& & & & & & & & & & & & &extended order=&1& type=&47& label=&RPM& size=&1000& readonly=&false&&
& & & & & & & & & & & & & & & & &file name=&rpm.mbn& offset=&0&/&
& & & & & & & & & & & & &/extended&
& & & & & & & & & & & & &extended order=&2& type=&46& label=&TZ& size=&1000& readonly=&false&&
& & & & & & & & & & & & & & & & &file name=&tz.mbn& offset=&0&/&
& & & & & & & & & & & & &/extended&
& & & & & & & & &/primary&
& & & & &/physical_partition&
需要用到eMMC Software Download工具来生成8660_msimage.mbn(版本366)
emmcswdownload.exe -f 8660_msimage.mbn -x partition_boot.xml -s 1G -g 4M
这里再给出用374生成正确8660_msimage.mbn的方法
需要制作一个partition_boot.xml,还要有提取的分区表partition0.bin
partition_boot.xml(不保证该文件的正确性,仅供参考,后果自负)
&?xml version=&1.0& ?&
& & & & &!--NOTE: Sector size is 512bytes--&
& & & & &program file_sector_offset=&0& filename=&& label=&MODEM& num_partition_sectors=&65536& physical_partition_number=&0& size_in_KB=&32768.0& start_sector=&1&/&
& & & & &program file_sector_offset=&0& filename=&sbl1.mbn& label=&SBL1& num_partition_sectors=&1000& physical_partition_number=&0& size_in_KB=&500.0& start_sector=&65537&/&
& & & & &program file_sector_offset=&0& filename=&sbl2.mbn& label=&SBL2& num_partition_sectors=&3000& physical_partition_number=&0& size_in_KB=&1500.0& start_sector=&66537&/&
& & & & &program file_sector_offset=&0& filename=&rpm.mbn& label=&RPM& num_partition_sectors=&1000& physical_partition_number=&0& size_in_KB=&500.0& start_sector=&69559&/&
& & & & &program file_sector_offset=&0& filename=&sbl3.mbn& label=&SBL3& num_partition_sectors=&4096& physical_partition_number=&0& size_in_KB=&2048.0& start_sector=&70559&/&
& & & & &program file_sector_offset=&0& filename=&emmc_appsboot.mbn& label=&ABOOT& num_partition_sectors=&5000& physical_partition_number=&0& size_in_KB=&2500.0& start_sector=&74655&/&
& & & & &program file_sector_offset=&0& filename=&& label=&BOOT& num_partition_sectors=&20480& physical_partition_number=&0& size_in_KB=&10240.0& start_sector=&79655&/&
& & & & &program file_sector_offset=&0& filename=&tz.mbn& label=&TZ& num_partition_sectors=&1000& physical_partition_number=&0& size_in_KB=&500.0& start_sector=&100135&/&
& & & & &program file_sector_offset=&0& filename=&pdl_phoneinfo.bin& label=&INFO& num_partition_sectors=&8192& physical_partition_number=&0& size_in_KB=&4096.0& start_sector=&131072&/&
& & & & &program file_sector_offset=&0& filename=&partition0.bin& label=&MBR& num_partition_sectors=&1& physical_partition_number=&0& size_in_KB=&0.5& start_sector=&0&/&
& & & & &program file_sector_offset=&1& filename=&partition0.bin& label=&EXT& num_partition_sectors=&22& physical_partition_number=&0& size_in_KB=&11.0& start_sector=&69537&/&
上面的filename后面的是要写到对应分区的文件,这个可以从手机对应分区中提取,也可以根据我的另一篇博文进行提取
需要注意的是已经证实mmcblk0p10中包含手机的NV信息,所以若是没有进行过备份的话,建议去除
&program file_sector_offset=&0& filename=&pdl_phoneinfo.bin& label=&INFO& num_partition_sectors=&8192& physical_partition_number=&0& size_in_KB=&4096.0& start_sector=&131072&/&
不过这样的话在p10损坏的情况下S/W模式下有可能不识别手机的机型(但还是可以启动的,若内核损坏只要在boot项中添加boot.img,即便system损坏,也只要在boot项中添加recovery.img就可以进入recovery来进行恢复)
也可以先在第一项中加入NON-HLOS.bin,防止无限重启,当然也可以不加,后面再进行恢复
生成mbn所需要的命令
emmcswdownload.exe -f 8660_msimage.mbn -x partition_boot.xml -s 16G
当然,这个文件你可以直接用小米的fastboot包中的8660_msimage.mbn,应该是可以通用的,它的作用是让手机启动到U盘模式,可以让我们直接对emmc进行访问读写
也可以尝试使用自行制作的8660_msimage.mbn,这样应该就能够直接启动到S/W模式或Fastboot模式下进行恢复分区表及分区了
rawprogram0.xml这个文件就需要个人根据手机的不同进行改写了,因为它是描述如何分区并在各个中写入什么文件的
当然,这个不可能凭空的写出来,可以根据
adb shell cat /proc/partitions
adb shell su -c &fdisk -l /dev/block/mmcblk0&
的结果来写
下面是备份完整partition0.bin,和分析它生成分区信息的脚本,强烈建议运行备份分区表,方便恢复
这个脚本应该支持所有/dev/block/mmcblk0的手机
是用Python语言写的,有些简陋,高手勿见笑
from struct import *
def mbr():
& & & & global offset, partitions
& & & & os.popen(&adb shell su -c 'dd if=/dev/block/mmcblk0 of=/cache/partition0.bin bs=512 count=1'&).close()
& & & & os.popen(&adb shell su -c 'cp /cache/partition0.bin /sdcard/partition0.bin'&).close()
& & & & os.popen(&adb pull /sdcard/partition0.bin .&).close()
& & & & f =&&open(&partition0.bin&, 'rb')
& & & & data = f.read()
& & & & f.close()
& & & & partitions = [ ]
& & & & n=0
& & & & while True:
& & & & & & & & buf = data[446+(16*n):446+(16*(n+1))]
& & & & & & & & partition = dict(zip(('boot', 'id', 'start', 'size'), unpack('4I', buf)))
& & & & & & & & partition['type'] = &MBR&
& & & & & & & & n += 1
& & & & & & & & partition['no'] = n
& & & & & & & & partitions.append(partition)
& & & & & & & & if partition['id'] == 5:
& & & & & & & & & & & & offset = partition['start']
& & & & & & & & & & & & break
def ebr():
& & & & global offset, partitions
& & & & n = 0
& & & & while True:
& & & & & & & & a = 0
& & & & & & & & os.popen(&adb shell su -c 'dd if=/dev/block/mmcblk0 of=/cache/ebr bs=512 count=1 skip=& + str(offset+n) + &\'&).close()
& & & & & & & & n += 1
& & & & & & & & os.popen(&adb shell su -c 'dd if=/cache/ebr of=/cache/partition0.bin bs=512 count=1 seek=& + str(n) + &'&).close()
& & & & & & & & os.popen(&adb shell su -c 'cp /cache/ebr /sdcard/partition0.bin'&).close()
& & & & & & & & os.popen(&adb pull /sdcard/partition0.bin .&).close()
& & & & & & & & f = open(&partition0.bin&, 'rb')
& & & & & & & & data = f.read()
& & & & & & & & f.close()
& & & & & & & & while True:
& & & & & & & & & & & & buf = data[446+16*a:446+16*(a+1)]
& & & & & & & & & & & & partition = dict(zip(('boot', 'id', 'start', 'size'), unpack('4I', buf)))
& & & & & & & & & & & & if partition['id'] == 5:
& & & & & & & & & & & & & & & & break
& & & & & & & & & & & & if partition['id'] == 0:
& & & & & & & & & & & & & & & & return
& & & & & & & & & & & & partition['type'] = &EBR&
& & & & & & & & & & & & partition['no'] = n
& & & & & & & & & & & & partition['start'] += n-1+offset
& & & & & & & & & & & & partitions.append(partition)
& & & & & & & & & & & & a += 1
if __name__ == &__main__&:
& & & & mbr()
& & & & ebr()
& & & & os.popen(&adb shell su -c 'cp /cache/partition0.bin /sdcard/partition0.bin'&).close()
& & & & os.popen(&adb pull /sdcard/partition0.bin .&).close()
& & & & for part in partitions:
& & & & & & & & print &%s %2i, Boot: 0x%02X, Id: 0x%02X, Start: 0x%08X (%8i), Size: 0x%08X (%8i, %8i KB)& % (part['type'], part['no'], part['boot'], part['id'], part['start'], part['start'], part['size'], part['size'], part['size']/2)
运行上面脚本可以得到partition0.bin和下列信息(IM-A820L):
EXT Start: 69537
MBR&&1, Boot: 0x00, Id: 0x0C, Start: 0x (& && & 1), Size: 0x (& &65536,& & 32768 KB)
MBR&&2, Boot: 0x80, Id: 0x4D, Start: 0x (& &65537), Size: 0x (& & 1000,& && &500 KB)
MBR&&3, Boot: 0x00, Id: 0x51, Start: 0x (& &66537), Size: 0x00000BB8 (& & 3000,& &&&1500 KB)
MBR&&4, Boot: 0x00, Id: 0x05, Start: 0x00010FA1 (& &69537), Size: 0x01D4905F (353903 KB)
EBR&&1, Boot: 0x00, Id: 0x47, Start: 0x00010FB7 (& &69559), Size: 0x (& & 1000,& && &500 KB)
EBR&&2, Boot: 0x00, Id: 0x45, Start: 0x0001139F (& &70559), Size: 0x (& & 4096,& &&&2048 KB)
EBR&&3, Boot: 0x00, Id: 0x4C, Start: 0x0001239F (& &74655), Size: 0x (& & 5000,& &&&2500 KB)
EBR&&4, Boot: 0x00, Id: 0x48, Start: 0x (& &79655), Size: 0x (& &20480,& & 10240 KB)
EBR&&5, Boot: 0x00, Id: 0x46, Start: 0x (&&100135), Size: 0x (& & 1000,& && &500 KB)
EBR&&6, Boot: 0x00, Id: 0x71, Start: 0x (&&131072), Size: 0x (& & 8192,& &&&4096 KB)
EBR&&7, Boot: 0x00, Id: 0x4A, Start: 0x (&&139264), Size: 0x (& & 6144,& &&&3072 KB)
EBR&&8, Boot: 0x00, Id: 0x4B, Start: 0x (&&145408), Size: 0x (& & 6144,& &&&3072 KB)
EBR&&9, Boot: 0x00, Id: 0x83, Start: 0x (&&262144), Size: 0x ( 1228800,& &614400 KB)
EBR 10, Boot: 0x00, Id: 0x83, Start: 0x ( 1572864), Size: 0x ( 2097152,&&1048576 KB)
EBR 11, Boot: 0x00, Id: 0x83, Start: 0x ( 3670016), Size: 0x (& &16384,& &&&8192 KB)
EBR 12, Boot: 0x00, Id: 0x83, Start: 0x ( 3686400), Size: 0x (&&204800,& &102400 KB)
EBR 13, Boot: 0x00, Id: 0x83, Start: 0x003B6000 ( 3891200), Size: 0x (&&524288,& &262144 KB)
EBR 14, Boot: 0x00, Id: 0x60, Start: 0x ( 4456448), Size: 0x (& &20480,& & 10240 KB)
EBR 15, Boot: 0x00, Id: 0x0C, Start: 0x ( 4476928), Size: 0x (&&102400,& & 51200 KB)
EBR 16, Boot: 0x00, Id: 0x59, Start: 0x ( 4587520), Size: 0x (& & 6144,& &&&3072 KB)
EBR 17, Boot: 0x00, Id: 0x5A, Start: 0x ( 4593664), Size: 0x (& & 6144,& &&&3072 KB)
EBR 18, Boot: 0x00, Id: 0x5B, Start: 0x ( 4599808), Size: 0x (& & 6144,& &&&3072 KB)
EBR 19, Boot: 0x00, Id: 0x58, Start: 0x ( 4605952), Size: 0x (& & 6144,& &&&3072 KB)
EBR 20, Boot: 0x00, Id: 0x5D, Start: 0x ( 4612096), Size: 0x (& && &16,& && &&&8 KB)
EBR 21, Boot: 0x00, Id: 0x83, Start: 0x ( 4612112), Size: 0x (& &40960,& & 20480 KB)
EBR 22, Boot: 0x00, Id: 0x83, Start: 0x ( 4653072), Size: 0x018E9FEF (062135 KB)
根据上面的信息就可以改写rawprogram0.xml了
我再提供下我个人修改的rawprogram0.xml(IM-A820L)
&?xml version=&1.0& ?&
& & & & &!--NOTE: Sector size is 512bytes--&
& & & & &program file_sector_offset=&0& filename=&& label=&MODEM& num_partition_sectors=&65536& physical_partition_number=&0& size_in_KB=&32768.0& start_sector=&1&/&
& & & & &!--program file_sector_offset=&0& filename=&NON-HLOS.bin& label=&MODEM& num_partition_sectors=&65536& physical_partition_number=&0& size_in_KB=&32768.0& start_sector=&1&/--&
& & & & &program file_sector_offset=&0& filename=&& label=&SBL1& num_partition_sectors=&1000& physical_partition_number=&0& size_in_KB=&500.0& start_sector=&65537&/&
& & & & &program file_sector_offset=&0& filename=&sbl1.mbn& label=&SBL1& num_partition_sectors=&1000& physical_partition_number=&0& size_in_KB=&500.0& start_sector=&65537&/&
& & & & &program file_sector_offset=&0& filename=&& label=&SBL2& num_partition_sectors=&3000& physical_partition_number=&0& size_in_KB=&1500.0& start_sector=&66537&/&
& & & & &program file_sector_offset=&0& filename=&sbl2.mbn& label=&SBL2& num_partition_sectors=&3000& physical_partition_number=&0& size_in_KB=&1500.0& start_sector=&66537&/&
& & & & &program file_sector_offset=&0& filename=&& label=&RPM& num_partition_sectors=&1000& physical_partition_number=&0& size_in_KB=&500.0& start_sector=&69559&/&
& & & & &program file_sector_offset=&0& filename=&rpm.mbn& label=&RPM& num_partition_sectors=&1000& physical_partition_number=&0& size_in_KB=&500.0& start_sector=&69559&/&
& & & & &program file_sector_offset=&0& filename=&& label=&SBL3& num_partition_sectors=&4096& physical_partition_number=&0& size_in_KB=&2048.0& start_sector=&70559&/&
& & & & &program file_sector_offset=&0& filename=&sbl3.mbn& label=&SBL3& num_partition_sectors=&4096& physical_partition_number=&0& size_in_KB=&2048.0& start_sector=&70559&/&
& & & & &program file_sector_offset=&0& filename=&& label=&ABOOT& num_partition_sectors=&5000& physical_partition_number=&0& size_in_KB=&2500.0& start_sector=&74655&/&
& & & & &program file_sector_offset=&0& filename=&emmc_appsboot.mbn& label=&ABOOT& num_partition_sectors=&5000& physical_partition_number=&0& size_in_KB=&2500.0& start_sector=&74655&/&
& & & & &program file_sector_offset=&0& filename=&& label=&BOOT& num_partition_sectors=&20480& physical_partition_number=&0& size_in_KB=&10240.0& start_sector=&79655&/&
& & & & &!--program file_sector_offset=&0& filename=&boot.img& label=&BOOT& num_partition_sectors=&20480& physical_partition_number=&0& size_in_KB=&10240.0& start_sector=&79655&/--&
& & & & &program file_sector_offset=&0& filename=&& label=&TZ& num_partition_sectors=&1000& physical_partition_number=&0& size_in_KB=&500.0& start_sector=&100135&/&
& & & & &program file_sector_offset=&0& filename=&tz.mbn& label=&TZ& num_partition_sectors=&1000& physical_partition_number=&0& size_in_KB=&500.0& start_sector=&100135&/&
& & & & &program file_sector_offset=&0& filename=&& label=&INFO& num_partition_sectors=&8192& physical_partition_number=&0& size_in_KB=&4096.0& start_sector=&131072&/&
& & & & &program file_sector_offset=&0& filename=&pdl_phoneinfo.bin& label=&INFO& num_partition_sectors=&8192& physical_partition_number=&0& size_in_KB=&4096.0& start_sector=&131072&/&
& & & & &program file_sector_offset=&0& filename=&& label=&& num_partition_sectors=&6144& physical_partition_number=&0& size_in_KB=&3072.0& start_sector=&139264&/&
& & & & &program file_sector_offset=&0& filename=&& label=&& num_partition_sectors=&6144& physical_partition_number=&0& size_in_KB=&3072.0& start_sector=&145408&/&
& & & & &program file_sector_offset=&0& filename=&& label=&SYSTEM& num_partition_sectors=&1228800& physical_partition_number=&0& size_in_KB=&& start_sector=&262144&/&
& & & & &!--program file_sector_offset=&0& filename=&system.img.ext4& label=&SYSTEM& num_partition_sectors=&1228800& physical_partition_number=&0& size_in_KB=&& start_sector=&262144&/--&
& & & & &program file_sector_offset=&0& filename=&& label=&USERDATA& num_partition_sectors=&2097152& physical_partition_number=&0& size_in_KB=&& start_sector=&1572864&/&
& & & & &!--program file_sector_offset=&0& filename=&userdata.img.ext4& label=&USERDATA& num_partition_sectors=&2097152& physical_partition_number=&0& size_in_KB=&& start_sector=&1572864&/--&
& & & & &program file_sector_offset=&0& filename=&& label=&PERSIST& num_partition_sectors=&16384& physical_partition_number=&0& size_in_KB=&8192.0& start_sector=&3670016&/&
& & & & &!--program file_sector_offset=&0& filename=&persist.img.ext4& label=&PERSIST& num_partition_sectors=&16384& physical_partition_number=&0& size_in_KB=&8192.0& start_sector=&3670016&/--&
& & & & &program file_sector_offset=&0& filename=&& label=&CACHE& num_partition_sectors=&204800& physical_partition_number=&0& size_in_KB=&& start_sector=&3686400&/&
& & & & &!--program file_sector_offset=&0& filename=&cache.img.ext4& label=&CACHE& num_partition_sectors=&204800& physical_partition_number=&0& size_in_KB=&& start_sector=&3686400&/--&
& & & & &program file_sector_offset=&0& filename=&& label=&tombstones& num_partition_sectors=&524288& physical_partition_number=&0& size_in_KB=&& start_sector=&3891200&/&
& & & & &program file_sector_offset=&0& filename=&& label=&RECOVERY& num_partition_sectors=&20480& physical_partition_number=&0& size_in_KB=&10240.0& start_sector=&4456448&/&
& & & & &!--program file_sector_offset=&0& filename=&recovery.img& label=&RECOVERY& num_partition_sectors=&20480& physical_partition_number=&0& size_in_KB=&10240.0& start_sector=&4456448&/--&
& & & & &program file_sector_offset=&0& filename=&& label=&MDM& num_partition_sectors=&102400& physical_partition_number=&0& size_in_KB=&51200.0& start_sector=&4476928&/&
& & & & &!--program file_sector_offset=&0& filename=&fat.bin& label=&MDM& num_partition_sectors=&102400& physical_partition_number=&0& size_in_KB=&51200.0& start_sector=&4476928&/--&
& & & & &program file_sector_offset=&0& filename=&& label=&& num_partition_sectors=&6144& physical_partition_number=&0& size_in_KB=&3072.0& start_sector=&4587520&/&
& & & & &program file_sector_offset=&0& filename=&& label=&& num_partition_sectors=&6144& physical_partition_number=&0& size_in_KB=&3072.0& start_sector=&4593664&/&
& & & & &program file_sector_offset=&0& filename=&& label=&& num_partition_sectors=&6144& physical_partition_number=&0& size_in_KB=&3072.0& start_sector=&4599808&/&
& & & & &program file_sector_offset=&0& filename=&& label=&& num_partition_sectors=&6144& physical_partition_number=&0& size_in_KB=&3072.0& start_sector=&4605952&/&
& & & & &program file_sector_offset=&0& filename=&& label=&& num_partition_sectors=&16& physical_partition_number=&0& size_in_KB=&8.0& start_sector=&4612096&/&
& & & & &program file_sector_offset=&0& filename=&& label=&SKYLOG& num_partition_sectors=&40960& physical_partition_number=&0& size_in_KB=&20480.0& start_sector=&4612112&/&
& & & & &program file_sector_offset=&0& filename=&& label=&SDCARD& num_partition_sectors=&& physical_partition_number=&0& size_in_KB=&.0& start_sector=&4653072&/&
& & & & &program file_sector_offset=&0& filename=&partition0.bin& label=&MBR& num_partition_sectors=&1& physical_partition_number=&0& size_in_KB=&0.5& start_sector=&0&/&
& & & & &program file_sector_offset=&1& filename=&partition0.bin& label=&EXT& num_partition_sectors=&22& physical_partition_number=&0& size_in_KB=&11.0& start_sector=&69537&/&
其中num_partition_sectors是Size括号里的第一个数值,size_in_KB是第二个数值了,start_sector就是Start
最后关于partition0.bin的项里,MBR项一般不用改,EXT项num_partition_sectors是逻辑分区数就是EBR数,size_in_KB就是它的一半,start_sector就是MBR 4那一项的Start,需要注意的是两项的size_in_KB加起来就是partition0.bin的大小
最后,把这些个文件,还有partition.xml或rawprogram0.xml中用到的文件放到同一文件夹中
以下运行版本均为374
运行eMMC Software Download工具
点击Browse选择手机对应的端口,当然需要先在QPST Configuration中添加对应端口
Flash Programmer file name 中填MPRG8660.hex
Boot Image中填8660_msimage.mbn
去掉Program MMC device的勾选
勾选Search path 2并填入或选择文件所在目录
最后,点击Download吧
若是使用的是小米的2个文件,成功的话应该会将手机启动到U盘模式
此时便可随意操作手机的eMMC了
之后,最简单的恢复方法:若是有mmcblk0前面几十兆的备份,此时就可以直接到Linux环境下(或在windows下用一些工具)直接写回去,而不用管分区到底是怎样的
这里给出一些命令范例
首先是备份,这里就姑且以备份100M为例吧(注意:一定要用自己手机备份的版本,以免覆盖手机内原有各种IMEI之类的特有信息)
adb shell su -c 'dd if=/dev/block/mmcblk0 of=/sdcard/mmcblk0.img bs=512 count=200000
若是没有备份,必须得用别人的备份,也要在启动到U盘模式后进行备份
dd if=/dev/sdX of=mmcblk0.img bs=512 count=200000
Windows下(也以windows版dd为例)
dd if=\\?\Device\HarddiskX\Partition0 of=mmcblk0.img bs=512 count=200000
恢复(警告:不熟悉者勿要乱用,否则把电脑硬盘数据都破坏了)
dd if=mmcblk0.img of=/dev/sdX bs=512 count=200000
dd if=mmcblk0.img of=\\?\Device\HarddiskX\Partition0 bs=512 count=200000
再说一下使用QPST恢复
选中代表手机的那项,载入rawprogram0.xml点Download
经常出现高通芯片不开机的机器,连接电脑时显示9008驱动.
有经验朋友交流下!
有个P用,这样的砖头拆下来的字库,编程器都编不过去.
傻逼,qhusb的砖头多半都是刷机导致的 ,,可以修复,
如果是用着坏的出qhusb 多半都得换字库
Qualcomm HS-USB QDLoader 9008
高手啊,可惜看不懂!
哎&&还是没有看明白&&不过谢谢你
参考生成地址&&打开 啥也没有啊
chenglihong 发表于
有个P用,这样的砖头拆下来的字库,编程器都编不过去.
傻逼,qhusb的砖头多半都是刷机导致的 ,,可以修复,
如果是用着坏的出qhusb&&多半都得换字库&&
写的很牛,理想很丰满,现实很骨感。呵呵。楼主牛人

我要回帖

更多关于 刷机时要开机吗 的文章

 

随机推荐