[已解决]deepin下怎么线刷小米?
Tofloor
poster avatar
Feng Yu
deepin
2015-08-14 22:34
Author
本帖最后由 abcfy2 于 2015-8-14 17:46 编辑

小米的线刷包里面有很多sh脚本,看名字应该是在linux下可以双清进行刷机的。但是具体怎么用就不知道了,有没有折腾过刷机的?

是不是要先装adb啊?

已解决,没我想的那么复杂,小米的线刷包里面有脚本,打开一看调用的是fastboot这个软件,于是乎sudo apt-get install andriod-tools-fastboot,然后手机进入fastboot,用sudo fastboot devices列一下设备,可以看到的话就OK。然后sudo ./flash_all.sh刷机即可,如果需要保留某些数据,可以使用其他对应名字的脚本

  1. $ sudo ./flash_all.sh
  2. product: MSM8226
  3. target reported max download size of 838860800 bytes
  4. sending 'tz' (353 KB)...
  5. OKAY [  0.013s]
  6. writing 'tz'...
  7. OKAY [  0.022s]
  8. finished. total time: 0.035s
  9. target reported max download size of 838860800 bytes
  10. sending 'sdi' (11 KB)...
  11. OKAY [  0.002s]
  12. writing 'sdi'...
  13. OKAY [  0.005s]
  14. finished. total time: 0.007s
  15. target reported max download size of 838860800 bytes
  16. sending 'sbl1' (246 KB)...
  17. OKAY [  0.009s]
  18. writing 'sbl1'...
  19. OKAY [  0.018s]
  20. finished. total time: 0.027s
  21. target reported max download size of 838860800 bytes
  22. sending 'rpm' (148 KB)...
  23. OKAY [  0.006s]
  24. writing 'rpm'...
  25. OKAY [  0.014s]
  26. finished. total time: 0.020s
  27. target reported max download size of 838860800 bytes
  28. sending 'aboot' (1152 KB)...
  29. OKAY [  0.038s]
  30. writing 'aboot'...
  31. OKAY [  0.051s]
  32. finished. total time: 0.089s
  33. erasing 'boot'...
  34. OKAY [  1.605s]
  35. finished. total time: 1.605s
  36. target reported max download size of 838860800 bytes
  37. sending 'misc' (8 KB)...
  38. OKAY [  0.002s]
  39. writing 'misc'...
  40. OKAY [  0.011s]
  41. finished. total time: 0.013s
  42. target reported max download size of 838860800 bytes
  43. sending 'modem' (51041 KB)...
  44. OKAY [  1.607s]
  45. writing 'modem'...
  46. OKAY [  2.021s]
  47. finished. total time: 3.628s
  48. target reported max download size of 838860800 bytes
  49. erasing 'system'...
  50. OKAY [  1.925s]
  51. sending 'system' (658550 KB)...
  52. OKAY [ 20.682s]
  53. writing 'system'...
  54. OKAY [ 33.733s]
  55. finished. total time: 56.341s
  56. target reported max download size of 838860800 bytes
  57. erasing 'cache'...
  58. OKAY [  1.610s]
  59. sending 'cache' (4664 KB)...
  60. OKAY [  0.149s]
  61. writing 'cache'...
  62. OKAY [  0.210s]
  63. finished. total time: 1.969s
  64. target reported max download size of 838860800 bytes
  65. erasing 'userdata'...
  66. OKAY [  3.979s]
  67. sending 'userdata' (432706 KB)...
  68. OKAY [ 13.594s]
  69. writing 'userdata'...
  70. OKAY [ 17.102s]
  71. finished. total time: 34.675s
  72. target reported max download size of 838860800 bytes
  73. sending 'recovery' (12946 KB)...
  74. OKAY [  0.408s]
  75. writing 'recovery'...
  76. OKAY [  0.511s]
  77. finished. total time: 0.919s
  78. target reported max download size of 838860800 bytes
  79. sending 'boot' (11384 KB)...
  80. OKAY [  0.359s]
  81. writing 'boot'...
  82. OKAY [  0.450s]
  83. finished. total time: 0.809s
  84. rebooting...

  85. finished. total time: 0.001s
Copy the Code


Reply Favorite View the author
All Replies
balance
deepin
2015-08-15 00:34
#1
刷机还是去windows下吧,简单
Reply View the author
rekols
deepin
2015-08-15 00:54
#2
Windows刷机软件多,Deepin下就{:4_88:}
Reply View the author
oocool
deepin
2015-08-15 01:04
#3
支持你去研究
Reply View the author
linux0208
deepin
2015-08-15 01:43
#4
刷机adb是肯定要的
Reply View the author
Feng Yu
deepin
2015-08-15 01:47
#5
不是这么悲催吧,刷机过程没报错,不过之后卡MI了,卡了5分钟了,等到下班还没恢复就放弃了,准备救砖
Reply View the author
Feng Yu
deepin
2015-08-15 01:50
#6
吓我,卡了进10 min的mi居然进去了
Reply View the author
brophy
deepin
2015-08-15 03:31
#7
abcfy2 发表于 2015-8-14 17:50
吓我,卡了进10 min的mi居然进去了

看得好惊险!不过楼主的折腾精神很赞啊!
Reply View the author
Feng Yu
deepin
2015-08-15 05:07
#8
https://bbs.deepin.org/post/31940
看得好惊险!不过楼主的折腾精神很赞啊!

算不上折腾,因为这个远比我想的要简单的多,可以说无压力
Reply View the author
liulangdedao
deepin
2015-08-15 06:04
#9
如果可以做成一个用来线刷的软件,那么。。。。。。。。好吧,大神们看着办吧。
Reply View the author
deepin4king
deepin
2015-08-15 07:30
#10
刷安卓简单,毕竟开放的技术
求问有没有谁知道Linux下面刷苹果设备的软件?
我找了好久,最后还是回到了win,用的itunes
Reply View the author
Feng Yu
deepin
2015-08-15 07:33
#11
https://bbs.deepin.org/post/31940
刷安卓简单,毕竟开放的技术
求问有没有谁知道Linux下面刷苹果设备的软件?
我找了好久,最后还是回到了win ...

苹果的封闭生态就这鸟样子。只能用苹果自己的itunes,这玩意就没有Linux版本
Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG