forked from i12bretro/tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
0074.html
129 lines (117 loc) · 7.2 KB
/
0074.html
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
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Run Ubuntu 12.04 on Ouya</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="UTF-8">
<meta name="keywords" content="Ouya,Recovery,ADB,Micro Console,CyanogenMod,Linux,Ubuntu,Ouya Console,Android Game Console,Android Console,Android 4,Android Jelly Bean,Install Guide,Revive The Ouya,Ubuntu 12,Run Ubuntu On Ouya,How To Run Ubuntu On Ouya,Run Linux On Ouya,How To,Tutorial,i12bretro">
<meta name="author" content="i12bretro">
<meta name="description" content="Run Ubuntu 12.04 on Ouya">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="revised" content="03/30/2022 09:10:57 PM" />
<link rel="icon" type="image/x-icon" href="includes/favicon.ico">
<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="includes/js/steps.js"></script>
<link href="css/steps.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="gridContainer">
<div class="topMargin"></div>
<div id="listName" class="topMargin">
<h1>Run Ubuntu 12.04 on Ouya</h1>
</div>
<div></div>
<div id="content">
<p>NOTE: None of the slowness/delays have been edited out of the Linux footage so you can see first hand what the Linux experience was like running on the Ouya</p>
<h2>Things You Will Need</h2>
<ul>
<li>A USB flash drive, at least 4 GB of free space <a href="https://amzn.to/3wkR5ju" target="_blank">https://amzn.to/3wkR5ju</a></li>
<li>A USB hub, preferably with external power <a href="https://amzn.to/3KTviDw" target="_blank">https://amzn.to/3KTviDw</a></li>
<li>A USB keyboard <a href="https://amzn.to/3qgUQTe" target="_blank">https://amzn.to/3qgUQTe</a> | <a href="https://amzn.to/3uchJsj" target="_blank">https://amzn.to/3uchJs</a></li>
</ul>
<h2>Prerequisites and Downloads</h2>
<ol>
<li>Download Ubuntu 12.04 files <a href="https://app.box.com/s/ni5rttar4x40tss6kbxm" target="_blank">Download</a></li>
<li>Download win32diskimager <a href="https://sourceforge.net/projects/win32diskimager/files/Archive/Win32DiskImager-1.0.0-binary.zip/download" target="_blank">Download</a></li>
<li>Download i12bretro_OUYA_Ubuntu_commands.zip <a href="https://drive.google.com/open?id=1m0aD7wPPqiZk55mP1wZnN1VzpaqAJ-Mn" target="_blank">Download</a></li>
<li>Extract Ubuntu 12.04 files</li>
<li>Extract the downloaded i12bretro_OUYA_Ubuntu_commands.zip</li>
<li>Extract win32diskimager</li>
<li>Launch win32diskimager</li>
<li>Navigate to the extracted Ubuntu files and select the .img file</li>
<li>Select and then double and triple check the correct device is selected from the dropdown
<p><strong>All data will be lost, check the selected device one more time</strong></p>
</li>
<li>Click the Write button</li>
<li>Ignore prompts to format the drive</li>
<li>Safely remove the flash drive</li>
<li>Plug the flash drive, keyboard and mouse in the USB hub</li>
<li>Plug the USB hub into the Ouya</li>
</ol>
<h2>Installing Ouya USB Drivers</h2>
<ol>
<li>Right click Start > Command Prompt (Admin)</li>
<li>Paste the following commands to disable driving signing checks temporarily
<div class="codeBlock">bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS<br />
bcdedit -set TESTSIGNING ON<br />
shutdown /r</div>
</li>
<li>Your PC will reboot</li>
<li>Connect a USB cable from the micro USB port on the back of the Ouya to your PC</li>
<li>Connect the USB hub to the USB port on the Ouya > Plug in the USB keyboard and prepared USB flash drive</li>
<li>Make sure the Ouya is connected to a display via HDMI</li>
<li>Power on the Ouya</li>
<li>After a few seconds you should hear Windows chime that a new device has been detected</li>
<li>Right click Start > Device Manager</li>
<li>Expand Other Devices and you should see OUYA listed</li>
<li>Right click OUYA > Update Driver</li>
<li>Select Browse my computer for driver software</li>
<li>Click the Browse... button</li>
<li>Navigate to the extracted i12bretro_OUYA_Ubuntu_commands\files\driver</li>
<li>Click OK</li>
<li>Make sure "Include subfolders" is checked, click Next</li>
<li>Windows should find the correct driver for the Ouya and install it</li>
<li>Navigate to the i12bretro_OUYA_Ubuntu_commands in windows explorer</li>
<li>Right click i12bretro_OUYA_Ubuntu_commands.bat > Run as administrator</li>
<li>The script uses the Android Debug Bridge (ADB) to boot the Ouya into recovery</li>
<li>When the command prompts to "-- Setup the fastboot driver", go back to Device Manager expand Android Device</li>
<li>Right click Android Bootloader Device > Update Driver</li>
<li>Select Browse my computer for driver software</li>
<li>Click the Browse... button</li>
<li>Navigate to the extracted i12bretro_OUYA_Ubuntu_commands\files\driver</li>
<li>Click OK</li>
<li>Make sure "Include subfolders" is checked, click Next</li>
<li>Windows should find the correct driver for the Ouya and install it</li>
<li>Press Enter at the command prompt once the driver is installed to continue</li>
<li>The script will run another ADB command to push a custom zImage kernel to the Ouya</li>
<li>The Ouya should boot Ubuntu 12.04 from the USB</li>
<li>Default logins are as follows:
<p>root/123456<br />
developer/ouya</p>
</li>
</ol>
<h2>Configure Ubuntu</h2>
<ol>
<li>Change the root and developer passwords by running the commands below, replacing the passwords with something secure
<div class="codeBlock">sudo passwd developer<br />
sudo passwd root</div>
</li>
<li>Configure wireless networking by modifying /etc/network/interfaces</li>
<li>To return to the Ouya OS simply reboot from the Ubuntu interface</li>
</ol>
<p>There are instructions included in the Ubuntu download to dual boot the Ouya with Ubuntu and Android. I did not test this option, but beware the dual boot option has the potential to brick your device. The fastboot option demonstrated in the video poses very little risk to your console. For further reading and history on this check out http://tuomas.kulve.fi/blog/2013/09/12/debian-on-ouya-all-systems-go/.</p>
<h2>Cleaning Up</h2>
<ol>
<li><span id="li_479051_56"><label for="cb_li_479051_56">To restore driver integrity checks, do the following:</label></span></li>
<li><span id="li_786211_57"><label for="cb_li_786211_57">Right click Start > Command Prompt (Admin)</label></span></li>
<li><span id="li_121010_58"><label for="cb_li_121010_58">Paste the following commands to re-enable driving signing checks</label></span>
<div class="codeBlock"><span id="li_121010_58"><label for="cb_li_121010_58">bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS<br />
bcdedit -set TESTSIGNING OFF<br />
shutdown /r</label></span></div>
<span id="li_121010_58"><label for="cb_li_121010_58"> </label></span></li>
<li><span id="li_154009_59"><label for="cb_li_154009_59">Your PC will reboot</label></span></li>
</ol>
</div>
</div>
</body>
</html>