无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 2481|回复: 6
打印 上一主题 下一主题

[讨论] android 手机 启动笔记

[复制链接]
跳转到指定楼层
1#
发表于 2018-3-25 15:17:46 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
整个启动模式一直没搞很懂
字库到linux到虚拟机到安卓
基本是这个过程
看一点记一点吧
2#
 楼主| 发表于 2018-3-25 15:18:08 | 只看该作者
本帖最后由 cii09 于 2018-3-26 00:31 编辑

工程模式速查表


  1. We've already established that a resistor on the micro USB port can be used to force the Galaxy S into download mode, but the USB switching chip used on the phone has a lot of other capabilities that are triggered by different resistors between pin 4 and 5 of the plug.

  2. Update 6 March 2011: Confirmed modes so far:
  3. Desk Dock: 365K (also works with 1K)
  4. Car Dock: 619K
  5. In these modes audio output can be switched to pins D- and D+ of the USB port (D- is left) but this is not done by default, see this thread.

  6. Serial port/UART: RID_FM_BOOT_OFF_UART (523K)
  7. Read the rest of this thread for more details on using this port.
  8. Other resistor values that also enable the serial port:
  9. RID_AUD_DEV_TY_2 (80.07K): Doesn't switch the phone on, but produces bootlog output on the serial port when you switch it on manually. The bootlog output only starts partway through the second bootloader, rather than from the start of the primary bootloader.
  10. UART_CABLE (150K): Same as RID_AUD_DEV_TY_2


  11. Download mode: 301K (this thread).

  12. Here is a list of all the resistor values, from fsa9480_i2c.h in the open source code for JPM. The resistor goes from pin 4 to pin 5 of the micro USB plug (full details on how to wire this up are in this thread). When you connect the plug with the resistor (in Froyo) you should see some messages from the fsa9480 driver in the kernel log, which you can view with the "dmesg" command.

  13. Code:
  14. RID_USB_OTG_MODE,        /* 0 0 0 0 0         GND                 USB OTG Mode              */
  15. RID_AUD_SEND_END_BTN,        /* 0 0 0 0 1         2K                Audio Send_End Button*/
  16. RID_AUD_REMOTE_S1_BTN,        /* 0 0 0 1 0         2.604K                Audio Remote S1 Button */
  17. RID_AUD_REMOTE_S2_BTN,        /* 0 0 0 1 1         3.208K                Audio Remote S2 Button                         */
  18. RID_AUD_REMOTE_S3_BTN,        /* 0 0 1 0 0         4.014K                Audio Remote S3 Button */
  19. RID_AUD_REMOTE_S4_BTN,        /* 0 0 1 0 1         4.82K                Audio Remote S4 Button */
  20. RID_AUD_REMOTE_S5_BTN,        /* 0 0 1 1 0         6.03K                Audio Remote S5 Button */
  21. RID_AUD_REMOTE_S6_BTN,        /* 0 0 1 1 1         8.03K                Audio Remote S6 Button */
  22. RID_AUD_REMOTE_S7_BTN,        /* 0 1 0 0 0         10.03K                Audio Remote S7 Button */
  23. RID_AUD_REMOTE_S8_BTN,        /* 0 1 0 0 1         12.03K                Audio Remote S8 Button */
  24. RID_AUD_REMOTE_S9_BTN,        /* 0 1 0 1 0         14.46K                Audio Remote S9 Button */
  25. RID_AUD_REMOTE_S10_BTN,        /* 0 1 0 1 1         17.26K                Audio Remote S10 Button */
  26. RID_AUD_REMOTE_S11_BTN,        /* 0 1 1 0 0         20.5K                Audio Remote S11 Button */
  27. RID_AUD_REMOTE_S12_BTN,        /* 0 1 1 0 1         24.07K                Audio Remote S12 Button */
  28. RID_RESERVED_1,                /* 0 1 1 1 0         28.7K                Reserved Accessory #1 */
  29. RID_RESERVED_2,                /* 0 1 1 1 1         34K                 Reserved Accessory #2 */
  30. RID_RESERVED_3,                /* 1 0 0 0 0         40.2K                Reserved Accessory #3 */
  31. RID_RESERVED_4,                /* 1 0 0 0 1         49.9K                Reserved Accessory #4 */
  32. RID_RESERVED_5,                /* 1 0 0 1 0         64.9K                Reserved Accessory #5 */
  33. RID_AUD_DEV_TY_2,        /* 1 0 0 1 1         80.07K                Audio Device Type 2 */
  34. RID_PHONE_PWD_DEV,        /* 1 0 1 0 0         102K                Phone Powered Device */
  35. RID_TTY_CONVERTER,        /* 1 0 1 0 1         121K                TTY Converter */
  36. RID_UART_CABLE,                /* 1 0 1 1 0         150K                UART Cable */
  37. RID_CEA936A_TY_1,        /* 1 0 1 1 1         200K                CEA936A Type-1 Charger(1) */
  38. RID_FM_BOOT_OFF_USB,        /* 1 1 0 0 0         255K                Factory Mode Boot OFF-USB */
  39. RID_FM_BOOT_ON_USB,        /* 1 1 0 0 1         301K                Factory Mode Boot ON-USB */
  40. RID_AUD_VDO_CABLE,        /* 1 1 0 1 0         365K                Audio/Video Cable */
  41. RID_CEA936A_TY_2,        /* 1 1 0 1 1         442K                CEA936A Type-2 Charger(1) */
  42. RID_FM_BOOT_OFF_UART,        /* 1 1 1 0 0         523K                Factory Mode Boot OFF-UART */
  43. RID_FM_BOOT_ON_UART,        /* 1 1 1 0 1         619K                Factory Mode Boot ON-UART */
  44. RID_AUD_DEV_TY_1_REMOTE,        /* 1 1 1 1 0         1000.07K        Audio Device Type 1 with Remote(1) */
  45. RID_AUD_DEV_TY_1_SEND = RID_AUD_DEV_TY_1_REMOTE ,                /* 1 1 1 1 0         1002K                Audio Device Type 1 / Only Send-End(2) */
  46. RID_USB_MODE,                /* 1 1 1 1 1         Open                USB Mode
复制代码


  1. i think there is many people whitout the factory cable so i will say to you how to reboot in fastboot mode kindle fire HD 7

  2. ------------------------Kindle Fire in general--------------------
  3. -completly root the device
  4. -on a terminal write:
  5. "adb shell"
  6. "su"
  7. "reboot bootloader"
复制代码


Kindle fastboot usb
a jumper between pins 1 & 4 on the small USB side
红空

  1. Quote:
  2. Originally Posted by harryhoudini66
  3. Okay, before I proceed further in troubleshooting I have a basic question. I am at the point that I need to use a fastboot cable to unbrick my Kindle Fire HD.

  4. So is this a special cable I need to purchase or is the cable that came with my Kindle Fire HD considered a fastboot cable? I have lots of usb cables for different devices Galaxy S4, Nexus 7, Blackberry etc. Are any of these fastboot cables or do I literally have to buy one labeled as such or make one myself?

  5. I had the exact same problem and exact same question not to long ago.

  6. To answer, a fastboot, also called a "factory" cable is NOT the cable that came with your device from the factory. It is a cable used BY the factory to put a kindle into fastboot mode. It must be purchased or made. I suggest buying one. The difference between a standard cable and a fastboot, and how you make one, is a jumper between pins 1 & 4 on the small USB side. Amazon sells 1 for $15. http://www.amazon.com/gp/aw/d/B0099E...AC_SX110_SY165 as well as someone on xda. If you have faith in your ability to micro solder make one, just know that a poorly made fastboot cable can permanently brick a device by sending power to pins which should not have power. Check this out for more info.

  7. http://forum.xda-developers.com/show...6#post44952966

  8. And good luck. Getting into fastboot is 80% of the problem with most bricks.
复制代码



https://ppt-online.org/337129

337129.7z

875.39 KB, 下载次数: 1, 下载积分: 无忧币 -2

回复

使用道具 举报

3#
发表于 2018-3-25 16:57:12 | 只看该作者
mark
回复

使用道具 举报

4#
 楼主| 发表于 2018-3-26 00:35:04 | 只看该作者


https://ppt-online.org/337129

337129.7z (875.39 KB, 下载次数: 0)
回复

使用道具 举报

5#
发表于 2018-3-26 09:34:54 | 只看该作者
楼主介绍的应该是高通的深度刷机模式
回复

使用道具 举报

6#
发表于 2018-4-5 09:00:57 来自手机 | 只看该作者
支持并感谢楼主的研究分享
回复

使用道具 举报

7#
 楼主| 发表于 2018-5-2 23:01:14 | 只看该作者
https://forum.xda-developers.com/showthread.php?t=3034811

Downloads:
XposedInstaller_*.apk from this thread: Must be installed to manage installed modules, the framework won't work without it.

xposed*.zip from https://dl-xda.xposed.info/framework/: Must be flashed with a custom recovery (e.g. TWRP) to install the framework.
SDK21 is Android 5.0 (Lollipop), SDK22 is Android 5.1 (also Lollipop) and SDK23 is Android 6.0 (Marshmallow).
For Nougat, SDK24 is Android 7.0 and SDK25 is Android 7.1.
For Oreo, SDK26 is Android 8.0 and SDK27 is Android 8.1.
I only support the latest Xposed version per Android release!

xposed-uninstaller*.zip from https://dl-xda.xposed.info/framework/: Can be flashed with a custom recovery (e.g. TWRP) to uninstall the framework.

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-6-14 05:20

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表