blob: f30c0c15f836e8ee2b3c8575704d4361fc32d37d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>postmarketOS</title>
<meta name="description" content="Aiming for a 10 year life-cycle for smartphones">
<meta name="keywords" content="postmarketOS">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all">
<link rel="canonical" href="https://postmarketos.org/wiki/htc-monarudo-(HTC-Droid-DNA)/">
<link href="/pmosweb/static/css/tachyons.min.css" rel="stylesheet">
<link href="/pmosweb/static/css/main.css" rel="stylesheet">
</head>
<body>
<div class="mw7 center">
<div class="cf ph2-ns">
<a class="title" href="/pmosweb/">
<h1 class="f2 lh-title">
<img src="/pmosweb/static/img/recycle.png"></img>
<span>postmarketOS</span>
</h1>
</a>
<div class="menu">
<ul>
<li><a href="/pmosweb/">Home</a></li>
<li><a href="/pmosweb/wiki/">Wiki</a></li>
<li><a href="/pmosweb/blog/">Blog</a></li>
</ul>
</div>
<h1>htc monarudo (HTC Droid DNA)</h1>
<h3>Contributors</h3>
<ul>
<li>Ross Schulman</li>
</ul>
<h3>Current Status</h3>
<ul>
<li>Kernel builds</li>
<li>Trying to boot the kernel with <code>fastboot boot ...</code> freezes the phone, as does using <code>pmbootstrap.py flasher boot</code></li>
<li>Trying to flash the kernel with <code>pmboostrap.py flasher flash_system</code> or <code>flash_kernel</code> results in a <code>remote:not allowed</code> error, although this may be related to a corrupted partition table on my particular device.</li>
</ul>
<h3>What works</h3>
<ul>
<li>Nothing yet</li>
</ul>
<h3>Links</h3>
<ul>
<li><a href="https://github.com/postmarketOS/pmbootstrap/tree/device-htc-dlx">Working branch</a></li>
<li><a href="https://github.com/rschulman/pmbootstrap/tree/dlx">Working branch</a></li>
<li><a href="https://github.com/rschulman/pmbootstrap-htc-dlx-debug">Working CM boot.img and non-working pmOS kernel binaries</a></li>
</ul>
<h3>Partition layout</h3>
<table>
<thead>
<tr>
<th>device</th>
<th>size</th>
<th>filesystem</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>mmcblk0p16</td>
<td>25 MiB</td>
<td>vfat</td>
<td>~</td>
</tr>
<tr>
<td>mmcblk0p17</td>
<td>5 MiB</td>
<td>vfat</td>
<td>~</td>
</tr>
<tr>
<td>mmcblk0p24</td>
<td>10 MiB</td>
<td>ext4</td>
<td>~</td>
</tr>
<tr>
<td>mmcblk0p31</td>
<td>48 MiB</td>
<td>vfat</td>
<td>~</td>
</tr>
<tr>
<td>mmcblk0p32</td>
<td>928 MiB</td>
<td>ext4</td>
<td>android system</td>
</tr>
<tr>
<td>mmcblk0p33</td>
<td>320 MiB</td>
<td>ext4</td>
<td>android cache</td>
</tr>
<tr>
<td>mmcblk0p34</td>
<td>5.8 GiB</td>
<td>ext4</td>
<td>android userdata</td>
</tr>
</tbody>
</table>
<h3>What have I tried so far</h3>
<ul>
<li>Pulling flash offsets from two different dlx ROMS. Both match each other and what we're using.</li>
<li><code>adb push</code>ing the .img file and attempting to use <code>dd</code> to write into the system partition. Only succeeded in mangling the partition.</li>
<li>Reflashing CM-12 just to be sure that the phone isn't totally bricked, but CM installs just fine and boots properly.</li>
</ul>
<h3>Some theories</h3>
<ul>
<li>Ross Schulman's particular HTC Droid DNA is individually broken and/or not unlocked properly (but see the ability to flash and boot multiple different CyanogenMod versions) </li>
<li>Somehow the offsets are incorrect (haunting feeling this is it, but numbers were taken from previously mentioned CyanogenMod boot.img)</li>
<li>The dlx doesn't actually use the m7's kernel at all (this doesn't seem plausible given the number of places that have indicated it is true)</li>
<li>Ross is just mis-executing commands in some fundamental ways (the most likely of the bunch)</li>
</ul>
</div>
</div>
</body>
</html>
|