Skip to content

Commit 1505433

Browse files
committed
Issue #17: known to work with Topway TS10
1 parent 1cc54f4 commit 1505433

File tree

4 files changed

+31
-4
lines changed

4 files changed

+31
-4
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ Please note that the boot.img MUST follows AOSP verified boot flow, either [Boot
7676
| Pixel 3 (blueline) | Google | Y | 11 (RP1A.200720.009, <Br>2020)| [more ...](doc/additional_tricks.md#pixel-3-blueline) |
7777
| Pixel 3 (blueline) | Google | Y | Q preview (qpp2.190228.023, <Br>2019)| [more ...](doc/additional_tricks.md#pixel-3-blueline) |
7878
| Redmi K30 4G (phoenix[n]) | XiaoMi | Y | 10 | [verified](https://github.com/cfig/Android_boot_image_editor/issues/17#issuecomment-817169307) by @eebssk1 |
79+
| TS10 | Topway | Y | 10 | car headunit, @mariodantas |
7980
| Pixel XL (marlin) | HTC | Y | 9.0.0 (PPR2.180905.006, <Br>Sep 2018)| [more ...](doc/additional_tricks.md#pixel-xl-marlin) |
8081
| K3 (CPH1955) | OPPO | Y for recovery.img<Br> N for boot.img | Pie | [more](doc/additional_tricks.md#k3-cph1955) |
8182
| Z18 (NX606J) | ZTE | Y | 8.1.0 | [more...](doc/additional_tricks.md#nx606j) |

doc/layout.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,8 @@ Value at 0x28 is one of {0x00,0x01,0x02,0x03,0x04}, this filed should be read fi
132132
+-----------------------------------------------------------+
133133
|<boot signature> (v4 only) | boot signature length |
134134
+--------------------------------+--------------------------+
135-
136-
padding calculation:
137135
|<padding> | min(n * page_size - len) |
138-
139-
136+
+-----------------------------------------------------------+
140137

141138
## 3. vendor\_boot.img v3-v4
142139

src/resources/eth0_up.puml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
@startuml
2+
'comment
3+
4+
autonumber
5+
6+
box "Framework"
7+
participant "EthernetTracker.java" as EthernetTracker
8+
participant "NetworkManagementService.java" as NetworkManagementService
9+
end box
10+
11+
EthernetTracker -> EthernetTracker: maybeTrackInterface(eth0)
12+
EthernetTracker -> EthernetTracker: addInterface(eth0)
13+
EthernetTracker -> NetworkManagementService: INetworkManagementService\n::setInterfaceUp(eth0)
14+
15+
box "Netd"
16+
participant "NetdNativeService.cpp" as NetdNativeService
17+
NetworkManagementService -> NetworkManagementService: setInterfaceConfig(iface, ifcg)
18+
NetworkManagementService -> NetworkManagementService: INetd.interfaceSetCfg(cfgParcel)
19+
NetworkManagementService --[#green]> NetdNativeService: NetdNativeService\n::interfaceSetCfg()
20+
participant "InterfaceController.cpp" as InterfaceController
21+
end box
22+
23+
entity "kernel" as kernel
24+
25+
NetdNativeService -> InterfaceController: InterfaceController\n::setCfg(cfg)
26+
InterfaceController -[#green]> kernel: ioctl()
27+
@enduml

tools/release.mk

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ endef
2222

2323
define gw_win
2424
@IF EXIST tools\\bin SET PATH=%PATH%;tools\\bin\n
25+
if "%1" == "check" exit 0\n
26+
if "%1" == "clean" exit 0\n
2527
@java -jar bbootimg/bbootimg.jar %*
2628
endef
2729
export gw gw_win

0 commit comments

Comments
 (0)