{"id":517,"date":"2014-04-26T22:52:28","date_gmt":"2014-04-26T20:52:28","guid":{"rendered":"http:\/\/valentijn.sessink.nl\/?p=517"},"modified":"2014-04-29T09:40:01","modified_gmt":"2014-04-29T07:40:01","slug":"unbrick-the-minix-neo-x7-mini-with-linux","status":"publish","type":"post","link":"https:\/\/valentijn.sessink.nl\/?p=517","title":{"rendered":"Unbrick the Minix Neo X7 Mini &#8211; with Linux"},"content":{"rendered":"<p>Lately I bought a Minix Neo X7 Mini. Next thing you know: I brick the box. Here&#8217;s how to unbrick the thing &#8211; with Linux. It&#8217;s rather easy, too!<!--more--><br \/>\nLast time I tried, the Neo X5 was just out and the same thing happened. Back then, I did not have time to dive into it. But luckily, things are different now.<\/p>\n<p>Please note: this article is work in progress. If you have any questions, please drop me a note.<\/p>\n<p><a href=\"https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/IMG_1628.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-535\" alt=\"a screwdriver, the USB cable and a piece of wire\" src=\"https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/IMG_1628-150x150.jpg\" width=\"150\" height=\"150\" \/><\/a>Here&#8217;s the deal. The Minix Neo X7 &#8220;mini&#8221; is based on the Rockchip RK3188 chipset. As far as I understand, you cannot possibly &#8220;brick&#8221; (<em>or &#8220;depth meter&#8221;, as I&#8217;m used to saying &#8211; you can still build a depth meter with it: drop it off a cliff and count the seconds until it touches the ground<\/em>) these. The Rockchip processor has a trimmed down USB protocol on board, so you can always, always &#8211; even if there&#8217;s no NAND ROM left &#8211; flash it back. You won&#8217;t need special cables, JTAG stuff or soldering.<\/p>\n<p>You only need the USB cable that&#8217;s included with the Neo X7 Mini, a screw driver, and a bit of wire (maybe a paper clip).<\/p>\n<h3>Dead? Or resting?<\/h3>\n<p>First, let&#8217;s check if your box is really, really dead. Start your Linux-computer. To see the list of connected USB-devices, open a terminal, type <code>lsusb<\/code>. Or, better, type <code>watch -n 1 lsusb<\/code> to see the list of USB-devices refresh every second.<\/p>\n<p>Disconnect all cables from your X7 Mini. Then connect the USB cable to port 1 (the left port). Insert a pin or a paper clip in the small hole in the bottom of the X7 Mini to press the switch below. Still pressing the reset button, insert the power cable. Wait 5 seconds. If something like <code>Bus 002 Device 005: ID 2207:310b<\/code> (<em>Bus<\/em> and <em>Device<\/em> will differ, it&#8217;s the ID 2207:310b that we&#8217;re after) shows up in your list of USB devices, your Neo is not a brick &#8211; and you can proceed to flash a new image.<\/p>\n<p>If nothing shows up, proceed below.<\/p>\n<h3>Unbricking<\/h3>\n<p><a href=\"https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/neo-box.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-526\" alt=\"neo box\" src=\"https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/neo-box-300x225.jpg\" width=\"300\" height=\"225\" srcset=\"https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/neo-box-300x225.jpg 300w, https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/neo-box-1024x768.jpg 1024w, https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/neo-box-768x576.jpg 768w, https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/neo-box-1536x1152.jpg 1536w, https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/neo-box-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>1) unscrew the box. There&#8217;s 4 screws below the rubber feet of the Minix Neo X7 Mini. Lift the bottom of the box &#8211; there are no plastic clamps, you should be able to get the box open really easily.<\/p>\n<p>2) lift out the print board. Detach the antenna if you like.<\/p>\n<p>3) locate the pads marked T4 and T5, next to the Hynix Flash chip.<\/p>\n<figure id=\"attachment_524\" aria-describedby=\"caption-attachment-524\" style=\"width: 300px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/minix-neo-x7-mini.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-524\" alt=\"mainboard of the Minix Neo X7\" src=\"https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/minix-neo-x7-mini-300x225.png\" width=\"300\" height=\"225\" srcset=\"https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/minix-neo-x7-mini-300x225.png 300w, https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/minix-neo-x7-mini-1024x768.png 1024w, https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/minix-neo-x7-mini-768x576.png 768w, https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/minix-neo-x7-mini-1536x1152.png 1536w, https:\/\/valentijn.sessink.nl\/wp-content\/uploads\/2014\/04\/minix-neo-x7-mini-2048x1536.png 2048w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-524\" class=\"wp-caption-text\">T4 and T5 on the Neo X7 mini mainboard<\/figcaption><\/figure>\n<p>Reattach the USB cable to USB port 1 (the leftmost). You may attach your HDMI cable, but it won&#8217;t help as there won&#8217;t be anything to display.<\/p>\n<p>Now comes the hard part.<\/p>\n<p>You need to connect T4 and T5. Please note, that it doesn&#8217;t matter if you connect T4 and T5 or the soldered pads marked ED13 &#8211; they&#8217;re connected so both should work. But theyre TINY little bastards and I found it all too easy to press a wire but not connect them.<\/p>\n<p>Anyway, you connect T4 and T5 and while connecting, you connect the power cable. After about 4 seconds, ID 2207:310b will show up. If not, something went wrong (most likely, you did not really connect T4 and T5).<\/p>\n<p>If you don&#8217;t see 2207:310b, then detach power cable; detach USB cable (because otherwise the X7 Mini can be powered by USB); count to 5; attach the USB cable again; connect T4 and T5 and connect the power cable again. Rinse, repeat, until you see ID 2207:310b in your device list.<\/p>\n<p>Ready to rock!<\/p>\n<h3>Flashing<\/h3>\n<p>Download <a href=\"http:\/\/dl.radxa.com\/rock\/tools\/linux\/Linux_Upgrade_Tool_v1.16.zip\">http:\/\/dl.radxa.com\/rock\/tools\/linux\/Linux_Upgrade_Tool_v1.16.zip<\/a> and unpack it. In a terminal, run <code>sudo .\/upgrade_tool<\/code>.<\/p>\n<p>It will show:<br \/>\n<code>DevNo=1 Vid=0x2207,Pid=0x310b,LocationID=205 Maskrom<\/code><\/p>\n<p>Hey, it&#8217;s working! Enter <em>q<\/em> to quit upgrade_tool again.<\/p>\n<p>Now download the latest X7mini ROM from Minix. You can find it in the list <a href=\"http:\/\/www.minix.com.hk\/Support.htm\">here<\/a>. At the time of writing, it&#8217;s here: <a href=\"http:\/\/www.minix.com.hk\/firmware\/NEO_X7mini_20140211.rar\">http:\/\/www.minix.com.hk\/firmware\/NEO_X7mini_20140211.rar<\/a><br \/>\nUnpack it with &#8220;unrar&#8221; (or with file-roller or anything else).<\/p>\n<p>Type:<br \/>\n<code>sudo .\/upgrade_tool uf images\/X7mini_20140211_OTA.img<\/code><\/p>\n<p>In my case, this wasn&#8217;t enough the first time &#8211; I had to run this command a second time from within &#8220;loader&#8221; mode &#8211; where you press the reset button while powering up and upgrade_tool finds<br \/>\nDevNo=1 Vid=0x2207,Pid=0x310b,LocationID=208 Loader<\/p>\n<p>But after that: it worked!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lately I bought a Minix Neo X7 Mini. Next thing you know: I brick the box. Here&#8217;s how to unbrick the thing &#8211; with Linux. It&#8217;s rather easy, too!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,22],"tags":[98,99,79,9,101,95,80,96,97,100],"class_list":["post-517","post","type-post","status-publish","format-standard","hentry","category-happy-hacking","category-vrije-software","tag-brick","tag-bricked","tag-flash","tag-linux","tag-maskrom-mode","tag-minix","tag-nand","tag-neo-x7","tag-neo-x7-mini","tag-unbrick"],"_links":{"self":[{"href":"https:\/\/valentijn.sessink.nl\/index.php?rest_route=\/wp\/v2\/posts\/517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/valentijn.sessink.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/valentijn.sessink.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/valentijn.sessink.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/valentijn.sessink.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=517"}],"version-history":[{"count":20,"href":"https:\/\/valentijn.sessink.nl\/index.php?rest_route=\/wp\/v2\/posts\/517\/revisions"}],"predecessor-version":[{"id":543,"href":"https:\/\/valentijn.sessink.nl\/index.php?rest_route=\/wp\/v2\/posts\/517\/revisions\/543"}],"wp:attachment":[{"href":"https:\/\/valentijn.sessink.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/valentijn.sessink.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/valentijn.sessink.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}