1 00:00:00,000 --> 00:00:06,240 Thanks, everybody, for coming. My name is John. I'm going to be talking about Android in 2 00:00:06,240 --> 00:00:11,000 short, specifically the way that we replaced the Java layers of Android with an environment of 3 00:00:11,000 --> 00:00:22,520 our own. A little bit of background about me. I am trained as a computer engineer at RIT. I work 4 00:00:22,520 --> 00:00:29,300 for Sandia National Labs in California. That's a Department of Energy lab. I work in high 5 00:00:29,300 --> 00:00:37,780 performance computing. I've also started doing some research into mobile and security. So as it 6 00:00:37,780 --> 00:00:43,560 says there, I like doing open source stuff and most of my coworkers do as well. Is this too 7 00:00:43,560 --> 00:00:51,240 loud? Okay. I thought I was hearing a little feedback. Okay. So a lot of my coworkers and I, 8 00:00:51,320 --> 00:00:55,560 we really do like working in the open and so projects like this really make us happy where we 9 00:00:55,560 --> 00:00:58,700 can take what we do and put it back out to the community. 10 00:01:01,060 --> 00:01:07,500 So, yeah, smart phones. Probably everybody here has one or damn near. And my first thought when I 11 00:01:07,500 --> 00:01:11,720 got one was, oh, yeah, great, I've got a PC in my pocket now. And I guess it can also make phone 12 00:01:11,720 --> 00:01:17,580 calls. They're sort of better than the old PDA model which was you had a computer in your 13 00:01:17,580 --> 00:01:22,140 pocket but unless you had the Wi-Fi card then you couldn't talk to the Internet or anything like 14 00:01:22,140 --> 00:01:28,200 that. And it's got a bunch of nice sensors like the camera, the GPS, the accelerometer. And so, 15 00:01:28,240 --> 00:01:29,280 you know, it's a lot of fun. It's a lot of fun. It's a lot of fun. It's a lot of fun. It's a lot of 16 00:01:29,300 --> 00:01:33,000 fun. There's a lot of people just use it for everything now, right? My girlfriend is, I mean, 17 00:01:33,000 --> 00:01:39,520 she's a biochemical engineer and she hasn't actually opened her laptop in months. She just 18 00:01:39,520 --> 00:01:44,760 uses her phone for everything. I'm not quite at that stage but a lot of us I think are getting 19 00:01:44,760 --> 00:01:50,500 closer. You can use it to manage your passwords, do two-factor authentication, pay for stuff. 20 00:01:50,920 --> 00:01:55,720 So they're really becoming very ubiquitous, kind of the ubiquitous computing platform that 21 00:01:55,720 --> 00:01:57,280 we've been talking about for so long. 22 00:02:00,980 --> 00:02:07,000 But problem with smartphones in terms of, you know, being a hacker, wanting to hack on them is 23 00:02:07,000 --> 00:02:11,280 that most of them are closed source to begin with. You look at the Blackberry, the iPhone, the 24 00:02:11,280 --> 00:02:16,300 Windows phone, you're not going to get the source to those. And there's some security issues with 25 00:02:16,300 --> 00:02:22,100 these. There's been a few incidents where it's RIM has indicated that they're willing to decrypt 26 00:02:22,100 --> 00:02:27,520 users' text messages to each other for the government. I think that happened recently in 27 00:02:27,520 --> 00:02:28,780 London after the riots. 28 00:02:30,260 --> 00:02:34,940 We've seen the iPhone maintains a record of all the cell towers you come into contact 29 00:02:34,940 --> 00:02:39,700 with, meaning that they know your position and store it on the phone. And there's been 30 00:02:39,700 --> 00:02:45,120 incidences of, say, security holes like a DOS attack. You could do a denial of service on 31 00:02:45,120 --> 00:02:51,640 someone's smartphone by sending SMS. The Windows phone, well, nobody really has one. There's 32 00:02:51,640 --> 00:02:57,360 probably a few in this audience but that's it. They also had a similar denial of service via SMS 33 00:02:57,360 --> 00:02:57,820 messages. 34 00:02:59,300 --> 00:03:05,280 And of course they're closed source as well. And then I don't know how many people heard about 35 00:03:05,280 --> 00:03:12,620 the carrier IQ event some time ago. And that was a lot of different phones. I think it was on the 36 00:03:12,620 --> 00:03:17,420 iPhone, if I remember right. It was on Android. I don't even know if Windows has enough 37 00:03:17,420 --> 00:03:22,780 micro chair to actually have been affected by that. But so there's some security issues, some 38 00:03:22,780 --> 00:03:28,880 privacy issues in all these devices. And Android, I was really excited when I heard about Android. 39 00:03:29,300 --> 00:03:33,780 I thought, oh, great. So it's Linux based. It's open source. You can download the entire source 40 00:03:33,780 --> 00:03:39,380 online. As we've seen now, there's a huge proliferation of devices all the way from the free 41 00:03:39,380 --> 00:03:47,320 things that AT&T gives you up to, you know, $500 tablets and, you know, even better. You can write 42 00:03:47,320 --> 00:03:51,140 your own applications. Unlike the iPhone, there's no fee to get started on it. You just download the 43 00:03:51,140 --> 00:03:57,280 SDK and go from there. You can even hack the OS if you want. It's just Linux with Android, the 44 00:03:57,280 --> 00:03:58,520 open source Android on top. 45 00:03:59,300 --> 00:04:02,460 And there's a really big community of it. There's a lot of mailing lists. There's a lot of 46 00:04:02,460 --> 00:04:08,440 people interested in Android development. So, you know, so it's very, when I heard about it, I 47 00:04:08,440 --> 00:04:15,620 thought, great, this is a really great platform for hacking on. But then I actually started 48 00:04:15,620 --> 00:04:22,840 playing with it. And, you know, I said, I have to use what language? I can use Java and or C++ 49 00:04:22,840 --> 00:04:29,080 with JNI. And I apologize to the Java lovers, but I really want to gouge my eyes out when I use 50 00:04:29,080 --> 00:04:35,280 it. And, yeah, half of, most of my coworkers who are, they're very interested in Android, but 51 00:04:35,280 --> 00:04:40,080 they really, they don't know anything about, they don't know Java. They're C programmers, they're 52 00:04:40,080 --> 00:04:45,440 C++ programmers, Ruby, Python, all these things. But those aren't really good options. I mean, 53 00:04:45,460 --> 00:04:48,800 you can get, like, Python with scripting language for Android, but it's still kind of a second 54 00:04:48,800 --> 00:04:55,320 class citizen in the Android environment. Besides programming, the vendors don't really have any 55 00:04:55,320 --> 00:04:59,060 incentive to keep updating your OS on your old phones. You've bought it, you've used it, you've 56 00:04:59,080 --> 00:05:02,540 used it. They're not going to get any more money out of you. And they'd rather in a year you go 57 00:05:02,540 --> 00:05:07,980 buy a new one anyway. And then, because we're paranoid people, I mean, how much do you really 58 00:05:07,980 --> 00:05:16,540 trust Joe Random on the XDA forums who has just said, here's a ROM I just cooked up. Do you 59 00:05:16,540 --> 00:05:20,440 really want to trust him? Maybe. He probably didn't put carrier IQ on there. He's probably more 60 00:05:20,440 --> 00:05:28,020 trustworthy than AT&T. But, I mean, who knows? Who knows what's in there? And Android, like the 61 00:05:28,020 --> 00:05:32,860 other devices, has some security problems. In fact, I think I've seen more issues with Android, 62 00:05:33,620 --> 00:05:42,500 talks here, stuff on the news, than with the other phone OS's. Like last year there was a talk 63 00:05:42,500 --> 00:05:49,640 about fake over the air updates being pushed via a just a rogue cell tower somebody had in their 64 00:05:49,640 --> 00:05:56,000 backpack. I haven't really seen any much confirmation of that. I just saw a post on a mailing list 65 00:05:56,000 --> 00:05:58,000 claiming to have done it. But, I don't know. I don't know. I don't know. I don't know. I don't know. 66 00:05:58,000 --> 00:06:04,020 But, I believe that could be possible. As I mentioned, Android was affected by carrier IQ. 67 00:06:04,900 --> 00:06:16,320 There's been a plethora of malicious apps which have kind of showed up. And then from the point of 68 00:06:16,320 --> 00:06:19,320 view, you know, you look at the security stuff and you say, well, maybe we should audit it or 69 00:06:19,800 --> 00:06:25,300 take a look at it or strip it down to make it a simpler base that we can secure better. But then 70 00:06:25,300 --> 00:06:27,980 you realize that there's 15 million lines of code just here. So, you know, I don't know. I don't 71 00:06:28,000 --> 00:06:30,820 know. You can look at the Android. This is the stuff that doesn't include the Linux kernel. 72 00:06:31,080 --> 00:06:37,980 There's another 15 million lines of code in the Linux kernel. And as we've discovered over the 73 00:06:37,980 --> 00:06:42,120 course of this project, I'll talk about it a little bit later, it's just not exceptionally well 74 00:06:42,120 --> 00:06:48,940 documented. You have to jump around a lot of places in the source tree. And of course it's 75 00:06:48,940 --> 00:06:54,340 piles and piles of Java which interlink with C++ programs which link back to Java. Things like 76 00:06:54,340 --> 00:06:57,980 that. It's really quite confusing for one person to all take it. But it's a good thing. The other 77 00:06:57,980 --> 00:07:04,600 in and understand or even a small team, it can be a difficult or daunting task. And then my 78 00:07:04,600 --> 00:07:11,800 phone, for example, it's a 1.2 gigahertz processor. It's got 512 megs of RAM. It still runs 79 00:07:11,800 --> 00:07:17,240 like a dog. It ran like a dog when I got it. You run a few apps and pretty quick your 80 00:07:17,240 --> 00:07:27,420 memory is all full. So maybe you don't want to hack on Android as a Java environment. 81 00:07:28,400 --> 00:07:33,460 But when we looked at it, we really realized that Android is just this pile of user-level Java 82 00:07:33,860 --> 00:07:39,500 and a few C++ demons all running on top of a Linux kernel. And they've got a little busy box 83 00:07:39,500 --> 00:07:46,460 environment down there. They've got demons written in C which just run for talking to the 84 00:07:46,460 --> 00:07:50,940 radio and things like that. And it's pretty standard down there. There's a few tweaks in the 85 00:07:50,940 --> 00:07:54,260 kernel and of course they have the hardware support and things like that. But by and large 86 00:07:54,260 --> 00:07:57,960 once you get rid of the Java, you're just back down to Linux. So it's a little bit of a 87 00:07:57,980 --> 00:08:03,740 mess. So we said, all right, let's scrape all that off. Kind of like you don't like mayo on 88 00:08:03,740 --> 00:08:08,700 your sandwich, you just scrape it right off. So we scraped that off and now we've got this 89 00:08:08,700 --> 00:08:12,420 Linux platform. And sure, it's not driving the screen or anything. We can't get a prompt 90 00:08:12,420 --> 00:08:18,580 except through the USB port. But we do have ‑‑ this means we have a huge variety of 91 00:08:18,580 --> 00:08:25,780 hardware sitting there running Linux. It's got support for the radio now. And the drivers have 92 00:08:25,780 --> 00:08:27,960 been written. It's just waiting for us to open up and I don't know how long it's going to be. 93 00:08:32,240 --> 00:08:37,720 So we thought, okay, what can we do with this Linux platform we've got here? And we looked and 94 00:08:37,720 --> 00:08:44,220 some of us at work are a fan of the work of Bell Labs like Plan 9 and Inferno. And we said 95 00:08:44,220 --> 00:08:48,580 Inferno might be a really good fit. So Inferno is this open‑source operating system written at 96 00:08:48,580 --> 00:08:54,720 Bell Labs back in the 90s. It's been maintained since then. Currently it is owned by Vita Nuova, 97 00:08:54,900 --> 00:08:57,940 which is a British company. It is an open‑sourced operating system. It has a lot of features. It's 98 00:08:57,940 --> 00:09:05,460 a virtual machine. It's called DISS. And it's compiled and interpreted. So Inferno can run 99 00:09:06,080 --> 00:09:11,500 natively or hosted on top of Linux, on top of Windows, on top of Mac OS. You can run it 100 00:09:11,500 --> 00:09:16,240 natively on hardware directly but very few people do that because it's so convenient to run it on 101 00:09:16,240 --> 00:09:24,060 top of Linux. As it says, it's inspired by Plan 9. It's kind of a ‑‑ it's sort of an evolution 102 00:09:24,760 --> 00:09:27,920 of some of the concepts taken from Plan 9. Sort of a way of thinking about it. It's a way of 103 00:09:27,920 --> 00:09:32,180 thinking about it with an intention to be used in set‑top boxes, embedded devices. And this was 104 00:09:32,180 --> 00:09:38,760 back in the mid‑90s. So it was kind of ‑‑ sort of ahead of its time. Sort of pushed as a 105 00:09:38,760 --> 00:09:45,460 competitor to Java as well because it's a virtual machine. It's ‑‑ it actually ‑‑ the code 106 00:09:45,460 --> 00:09:50,160 actually is quite portable, unlike Java code, which you might have to tweak to run on Windows and 107 00:09:50,160 --> 00:09:57,500 Linux. It's very portable. It's very lightweight. As it says here, it only takes a few megabytes of 108 00:09:57,500 --> 00:10:01,900 RAM. I think our environment, you know, you run the Windows system, you run a bunch of demons, 109 00:10:02,140 --> 00:10:07,080 you're talking about maybe 16 megabytes of RAM used. And there's about a million lines of code. 110 00:10:07,300 --> 00:10:15,220 This includes the kernel, a whole bunch of applications, you know, the windowing system, a 111 00:10:15,220 --> 00:10:22,340 bunch of drivers for native ‑‑ for use on native hardware, which we don't even use. It 112 00:10:22,340 --> 00:10:27,000 compiles really fast. You can recompile the kernel in, like, five seconds on a modern machine. 113 00:10:28,420 --> 00:10:33,400 And when you run it, it's started up. It's got you into the windowing system within about a 114 00:10:33,400 --> 00:10:39,320 second. So this seemed to us, you know, as a really ideal thing to put on top of this Linux 115 00:10:39,320 --> 00:10:46,780 system that we've got here. So, you know, you look at the Android thing, we've got this Linux 116 00:10:46,780 --> 00:10:51,240 running on Android. It's very basic. But it does provide drivers for all the hardware, including 117 00:10:51,240 --> 00:10:56,220 the binary blobs that the manufacturers ship for the radio, which would be ‑‑ would basically be 118 00:10:57,500 --> 00:11:01,740 great if we didn't have those. So it's not really ‑‑ it wasn't really an option to, you know, 119 00:11:01,740 --> 00:11:05,840 write your own OS from scratch. But building on top of this very thin layer of Linux, it's 120 00:11:05,840 --> 00:11:10,960 possible. And the neat thing about running it hosted on Linux is it's actually quite easy to 121 00:11:10,960 --> 00:11:17,300 update Inferno, because Inferno just lives in a subdirectory on your memory device. So all we'd 122 00:11:17,300 --> 00:11:22,780 have to do to update Inferno would just be to push the latest copy of freshly compiled stuff over 123 00:11:22,780 --> 00:11:27,480 to the storage device. So, you know, we've got a bunch of things that we've been working on. 124 00:11:27,500 --> 00:11:31,600 So when we were going about this, the first thing we did was, as Shakespeare said, let's kill all 125 00:11:31,600 --> 00:11:38,600 the Java. And when you look at it, Android's Linux environment is a little bit different, but when 126 00:11:38,600 --> 00:11:42,700 it comes right down to it, it, you know, it starts the kernel, the kernel loads in a script and it 127 00:11:42,700 --> 00:11:49,180 just goes through the script processing it. And as we found that every single Java process on the 128 00:11:49,180 --> 00:11:57,360 system is launched from one initial process called Zygote. And if you stop ‑‑ if you stop Zygote 129 00:11:57,500 --> 00:12:01,780 from starting in the init script, which is very easy, you just comment it out, then the Java 130 00:12:01,780 --> 00:12:06,240 environment doesn't launch and you just have Linux. And so the way to do that, you just take it 131 00:12:06,240 --> 00:12:13,640 out of slash init RC, but then you realize slash is reset on every boot. They reload it from 132 00:12:13,640 --> 00:12:19,180 a ‑‑ from storage. Well, the way to fix that is either you can build your own custom ROM, 133 00:12:19,320 --> 00:12:24,440 which has init.rc the way you want, or you can do what we did, which is write a script which 134 00:12:27,720 --> 00:12:36,860 modifies it and then reflashes it. It's very quick, very convenient. Now that we had a Linux 135 00:12:36,860 --> 00:12:43,400 system sans all the Java, we were ‑‑ we were ‑‑ just had to adapt Inferno to actually work on 136 00:12:43,400 --> 00:12:48,260 the Android device. There's some hoops you have to jump through in order to actually get it to 137 00:12:48,260 --> 00:12:54,160 build, because Inferno's got their ‑‑ sorry, Android has its own set of libraries like Bionic, 138 00:12:54,220 --> 00:12:57,480 which is their lib C. And so it's a little bit different. But, you know, it's a little bit 139 00:12:57,500 --> 00:13:02,820 different from GNU lib C, which is what Inferno expects. And there's a script that we found 140 00:13:02,820 --> 00:13:09,000 called AGCC, which basically sets up your environment to use the Android GCC compilers and 141 00:13:09,000 --> 00:13:13,760 tells it where all the libs are. So rather than running GCC, you just run AGCC and it wraps 142 00:13:13,760 --> 00:13:19,800 it. We found that most of the existing code for Linux in Android was suitable for our 143 00:13:19,800 --> 00:13:26,880 users. There were definitely some changes we had to make. I mean, not a lot of people actually 144 00:13:26,880 --> 00:13:27,480 run Inferno. But, you know, it's a little bit different from GNU lib C, which is what Inferno 145 00:13:27,480 --> 00:13:34,720 on ARM. So there were some ‑‑ there were some issues with the scheduling. And I think we had 146 00:13:34,720 --> 00:13:39,020 to tweak some of the assembly because it didn't work on the specific processor models we were 147 00:13:39,020 --> 00:13:45,260 using. And then we had to add support for some of the bits of hardware. We got the frame 148 00:13:45,260 --> 00:13:51,360 buffer. So the nice thing about the Android Linux is that it just provides a plain old frame 149 00:13:51,360 --> 00:13:57,460 buffer on ‑‑ I think it's slash dev slash graphics slash frame zero. And there's a lot of 150 00:13:57,460 --> 00:14:03,280 code left over. We had some code left over from a port of Inferno to the OLPC. We simply adapted 151 00:14:03,280 --> 00:14:09,420 that. It took some tweaking, but we adapted that to our ‑‑ for our use. And then one of the 152 00:14:09,420 --> 00:14:15,200 more complex things was figuring out how to parse the touch screen inputs. Because it's 153 00:14:15,200 --> 00:14:22,680 interesting, they differ from device to device. So you look at slash dev slash input slash event 154 00:14:22,680 --> 00:14:27,440 something. And which event file it is varies from device to device. And then you look at the 155 00:14:27,440 --> 00:14:32,560 mouse. But you read it, and it gives you a bunch of binary. And the format's going to be a 156 00:14:32,560 --> 00:14:37,660 little bit different based on which device you're looking at. So basically we just took that 157 00:14:37,660 --> 00:14:45,080 and for every device we used, you know, we had code to handle what ‑‑ to parse each touch 158 00:14:45,080 --> 00:14:48,580 screen event and convert it to movements of a mouse, movements of the mouse, clicking of the 159 00:14:48,580 --> 00:14:55,640 mouse, things like that. And we also got really sick of dealing with the binary output from 160 00:14:55,640 --> 00:14:57,420 these input files. So we had to do a lot of work on that. So we had to do a lot of work on the 161 00:14:57,420 --> 00:15:01,800 input files. So we just ‑‑ we wrote code to convert them to text and make that available to 162 00:15:01,800 --> 00:15:07,560 all the other inferno code. That saved us a lot of time because then we just dealt with text. 163 00:15:09,120 --> 00:15:21,260 Yes? I'm sorry, what? Yes, okay. So he was pointing out that the screen is multi‑touch. What 164 00:15:21,260 --> 00:15:27,360 we did here, we didn't want to go all the way in and convert it to a full‑on multi‑touch system. So 165 00:15:27,420 --> 00:15:36,080 basically we ‑‑ let's see, if I remember right, there's a way to differ between the first 166 00:15:36,080 --> 00:15:40,560 finger that comes down and the second finger that comes down. We just take a single touch out of 167 00:15:40,560 --> 00:15:46,140 this touch screen and treat that as a mouse. For the way that inferno is built ‑‑ or the way it 168 00:15:46,140 --> 00:15:51,940 comes, that's pretty much useful. That's the way you kind of want it. Although I think there is 169 00:15:52,840 --> 00:15:57,400 certainly possibility for adding multi‑touch. We didn't end up doing that. Okay. All right. 170 00:15:58,200 --> 00:16:04,600 And then with that done, with the graphic support and the ‑‑ some of this hardware support done, 171 00:16:04,780 --> 00:16:10,640 we then had to hack the window manager to make it actually suitable for use with a phone. Because 172 00:16:10,640 --> 00:16:16,080 as I'll show on the next slide, the old inferno window manager is just not really suitable for 173 00:16:16,080 --> 00:16:21,160 using on a phone. We played with it for a little bit. But let's see if I can get my mouse pointer 174 00:16:21,160 --> 00:16:26,020 up here. Can you see that? Yeah, okay. So, you know, we've got these little tiny buttons up here 175 00:16:26,020 --> 00:16:27,400 at the top of the window for ‑‑ I don't know if you can see it. I don't know if you can see it. 176 00:16:27,400 --> 00:16:33,600 We're managing the windows. We've got this little tiny menu down here for opening up ‑‑ for 177 00:16:33,600 --> 00:16:39,540 opening up programs and things like that. We've got little tiny scroll bars which we started to do 178 00:16:39,540 --> 00:16:43,740 away with but haven't completely done away with. In the new applications we've written, we have 179 00:16:43,740 --> 00:16:47,920 much better scrolling. So, you know, this is something that's very useful if you have a real 180 00:16:47,920 --> 00:16:53,020 mouse. But if you're just using a touch screen, the inputs look like somebody's poking around 181 00:16:53,020 --> 00:16:57,380 the screen with a sausage. It's just not very good. There's no resolution there. So, you know, 182 00:16:57,380 --> 00:17:02,300 it's not going to work. So we hacked out a bit and came up with something that's a lot more 183 00:17:02,300 --> 00:17:09,340 phone friendly. We moved the ‑‑ we moved the basically the start button up to the top, made it 184 00:17:09,340 --> 00:17:15,260 a nice big bar for you to hit. We left the task bar down here at the bottom, but we added a 185 00:17:16,660 --> 00:17:22,680 battery indicator. So unlike Android, we actually do ‑‑ you know, Android you can run a bunch 186 00:17:22,680 --> 00:17:26,880 of programs at once. But it's kind of hard to tell what's still running and all that. We actually 187 00:17:27,380 --> 00:17:31,920 allow you to manage your windows by hand because they'll just show up down here at the bottom. 188 00:17:34,420 --> 00:17:38,220 Let's see. So, yeah, when you click the thing at the top, you get this much more friendly drop down 189 00:17:38,220 --> 00:17:43,920 menu. A lot of these applications are things that were already in Inferno. We've just left them, 190 00:17:43,980 --> 00:17:48,560 like the shell. It's really nice to have a shell, by the way, on your phone, just readily 191 00:17:48,560 --> 00:17:55,580 accessible. You can get the same thing in Android. But the Inferno one is quite nice. We, as I'll 192 00:17:55,580 --> 00:17:57,360 show in a bit, we wrote a ‑‑ we're going to show you a little bit of what we've done with the 193 00:17:57,380 --> 00:18:04,180 phone dialer and SMS application. Let's see. It does come with a browser. It's not a great 194 00:18:04,180 --> 00:18:08,620 browser, but it does work. We haven't gone through yet and adapted it to actually make it more 195 00:18:08,620 --> 00:18:17,040 touch friendly. So we get little tiny buttons up here and little tiny scroll bars. But, so, yeah, 196 00:18:17,040 --> 00:18:20,720 we do have ‑‑ we've got some graphical applications that came with Inferno, which is nice. 197 00:18:20,820 --> 00:18:27,260 And we do ‑‑ we have an on‑screen keyboard. And you access this by pressing the ‑‑ the 198 00:18:27,380 --> 00:18:34,060 menu key ‑‑ the menu button on your phone, which toggles the on‑screen keyboard. We set up 199 00:18:34,060 --> 00:18:38,680 some shortcuts also to manage your Windows. If you press the back button, it kills that 200 00:18:38,680 --> 00:18:44,380 application. If you press the home button, it minimizes the application down to the ‑‑ down to 201 00:18:44,380 --> 00:18:52,880 the little bar down here. We've got shortcuts for setting the screen brightness, things like 202 00:18:52,880 --> 00:18:57,340 that, turning the screen on and off. Now, we've got a couple of little things that we can do in 203 00:18:57,340 --> 00:18:57,360 screen on and off. Now, the other thing that we want to do is we want to go back to our 204 00:18:57,380 --> 00:19:00,700 of course, just straight up porting it over, porting Inferno 205 00:19:00,700 --> 00:19:03,460 over wasn't really enough because it's not really a phone 206 00:19:03,460 --> 00:19:06,640 yet. It's just Inferno happening to run on what looks like a PDA 207 00:19:06,640 --> 00:19:12,100 now. So we wrote a bit of code called DevPhone and it speaks to 208 00:19:12,100 --> 00:19:15,460 the radio. So on Android they have something called the RILD, 209 00:19:15,520 --> 00:19:21,820 the radio interface layer, I think, demon. And that you 210 00:19:21,820 --> 00:19:25,820 connect to via a socket, if I remember right, and you send it 211 00:19:26,740 --> 00:19:31,080 a very poorly documented set of commands, I think in a binary 212 00:19:31,080 --> 00:19:35,100 format. And then it does stuff to the phone for you. So we 213 00:19:35,100 --> 00:19:38,460 broke that out. We had one of the interns who did a stellar 214 00:19:38,460 --> 00:19:41,860 job at this. He went through all the RILD code and figured out 215 00:19:41,860 --> 00:19:46,520 exactly what it expects. And then he wrote DevPhone for 216 00:19:46,520 --> 00:19:50,800 Inferno, which speaks to RILD for us so we don't have to deal 217 00:19:50,800 --> 00:19:54,120 with it. And what it does is with an Inferno it presents a 218 00:19:54,120 --> 00:19:55,260 little file system interface. 219 00:19:55,820 --> 00:19:59,400 Which we mount at slash phone. And then if you want to make a 220 00:19:59,400 --> 00:20:03,880 phone call, you just do what I'm showing here. You can echo dial 221 00:20:03,880 --> 00:20:08,040 and then the number into slash phone slash phone. And if you 222 00:20:08,040 --> 00:20:10,580 want to receive incoming calls, you read from slash phone slash 223 00:20:10,580 --> 00:20:14,280 phone. And the read is going to block until the call comes in. 224 00:20:15,600 --> 00:20:18,880 And there's a similar interface for SMS and slash phone slash 225 00:20:18,880 --> 00:20:24,680 SMS. You just write strings into the SMS file and it sends it out 226 00:20:24,680 --> 00:20:25,800 to the appropriate server. And then you have a little bit of a 227 00:20:25,820 --> 00:20:27,780 traffic will be blocked because you can't use a great recipient. 228 00:20:28,500 --> 00:20:30,560 But of course, nobody really wants to make a phone call like 229 00:20:30,560 --> 00:20:33,480 that. That would really suck if you have to type in all that 230 00:20:33,480 --> 00:20:36,040 stupid junk every time you want to make a phone call or receive 231 00:20:36,040 --> 00:20:39,360 one, have to have the shell open with a cat slash phone slash 232 00:20:39,360 --> 00:20:43,740 phone. So we wrote a little application to access a phone to 233 00:20:43,740 --> 00:20:47,440 do dialing and an SMS application. We also started 234 00:20:47,440 --> 00:20:52,320 working on some Wi-Fi and audio drivers for it. So you can make 235 00:20:52,320 --> 00:20:55,800 phone calls. The audio of making a phone call is separate from, I 236 00:20:55,800 --> 00:20:58,880 the audio of playing music and things like that. So that works 237 00:20:58,880 --> 00:21:02,360 but we had not yet figured out the audio thing when the summer 238 00:21:02,360 --> 00:21:05,780 completed and we had to send the interns off and stop working on 239 00:21:05,780 --> 00:21:10,380 it. So yeah, we've got a very, very primitive dialing 240 00:21:10,380 --> 00:21:13,580 application. Definitely could be better but it allows you to do 241 00:21:13,580 --> 00:21:17,840 everything that you might want. Make a phone call, receive a 242 00:21:17,840 --> 00:21:21,920 phone call, put someone on speaker phone. And we've got an 243 00:21:21,920 --> 00:21:28,360 SMS application. We took a very simple approach with this. We 244 00:21:28,360 --> 00:21:33,680 just keep the conversation log into a plain text file. And when 245 00:21:33,680 --> 00:21:36,580 a message is received, it's put into that text file. The SMS 246 00:21:36,580 --> 00:21:40,080 application pulls the modification time on the text 247 00:21:40,080 --> 00:21:43,400 file. And if it sees something that sees that it's been 248 00:21:43,400 --> 00:21:47,720 modified, it re-arrays it and displays it here for you. Are we 249 00:21:47,720 --> 00:21:49,680 getting ringing through the speakers? I'm certainly hearing 250 00:21:49,680 --> 00:21:51,900 it here. Is it ringing? Yeah. 251 00:21:51,920 --> 00:21:55,240 Is there? I don't know how to fix that though. 252 00:21:57,420 --> 00:22:04,460 All right. But this SMS application is really quite easy 253 00:22:04,460 --> 00:22:08,300 to write because all it has to do is just echo or just write 254 00:22:08,300 --> 00:22:12,500 strings into the slash phone slash SMS file and it just takes 255 00:22:12,500 --> 00:22:18,860 care of the rest. You can see we started looking at some ideas 256 00:22:18,860 --> 00:22:21,640 on how to make applications in Inferno more phone friendly. 257 00:22:21,640 --> 00:22:26,460 So we have these nice big scroll bars on the side for your fat 258 00:22:26,460 --> 00:22:30,840 fingers and the text is bigger and slightly bigger buttons and 259 00:22:30,840 --> 00:22:34,260 things like that. So it's actually not that hard to write 260 00:22:34,260 --> 00:22:40,040 a phone friendly application in Inferno. So as I said, we kind of 261 00:22:40,040 --> 00:22:42,660 ran out of time. This was a summer project last summer. I 262 00:22:42,660 --> 00:22:45,120 forgot to mention that at the beginning. The interns had to 263 00:22:45,120 --> 00:22:47,320 leave before we could really get digging into some of the 264 00:22:47,320 --> 00:22:51,620 more interesting things we could do with this. But there's a few 265 00:22:51,640 --> 00:22:54,160 things we thought of might be interesting to look at. For 266 00:22:54,160 --> 00:22:58,160 example, like I said, Inferno runs at about 16 megabytes. It's 267 00:22:58,160 --> 00:23:01,480 simple enough and small enough that you could run lots and 268 00:23:01,480 --> 00:23:05,320 lots and lots of copies of Inferno all at the same time. 269 00:23:06,520 --> 00:23:09,700 And so you could just have an instance of the OS per 270 00:23:09,700 --> 00:23:12,320 application if you want to try sandboxing them that way, for 271 00:23:12,320 --> 00:23:17,060 instance. We also thought since we have such good control, we 272 00:23:17,060 --> 00:23:20,900 have total control over this operating system, right? It's 273 00:23:21,640 --> 00:23:25,780 a lot of stuff we don't even care about. So each one of us who 274 00:23:25,780 --> 00:23:28,720 was working on this pretty much understood how the entire system 275 00:23:28,720 --> 00:23:31,340 went together, where the kernel was, what device drivers were 276 00:23:31,340 --> 00:23:34,240 being used, all these things. So we had really strong control of 277 00:23:34,240 --> 00:23:37,200 the kernel. So we could implement system level kind of 278 00:23:37,200 --> 00:23:41,380 things like security hacks. Something my boss had tossed at 279 00:23:41,380 --> 00:23:44,920 me was the idea maybe if you think you're going to lose your 280 00:23:44,920 --> 00:23:47,380 phone and you don't want somebody else to get access to 281 00:23:47,380 --> 00:23:50,420 the data on it, then you can throw it as hard as you can. And 282 00:23:50,420 --> 00:23:51,620 when the accelerometer decides that you're going to lose your 283 00:23:51,640 --> 00:23:54,240 text that you've gone over 10 Gs, it just completely wipes the 284 00:23:54,240 --> 00:24:00,120 SD card. Something like that. And something I didn't really 285 00:24:00,120 --> 00:24:03,780 mention too much, I did mention that Inferno is based on plan 286 00:24:03,780 --> 00:24:07,360 nine. It's inspired by it in many ways. And it uses the same 287 00:24:07,360 --> 00:24:11,720 file system protocol, 9P. And there's some really interesting 288 00:24:11,720 --> 00:24:15,680 things you can do with 9P because it's when you're working 289 00:24:15,680 --> 00:24:20,900 on a system like Inferno because it's network transparent. It 290 00:24:21,640 --> 00:24:22,260 doesn't always have a backup file base. So it's not really 291 00:24:22,260 --> 00:24:24,520 a backup file where any of these files it's looking at are coming 292 00:24:24,520 --> 00:24:28,180 from. So it would be incredibly easy to access the files that 293 00:24:28,180 --> 00:24:31,540 you want to store at home. You don't really need Dropbox for 294 00:24:31,540 --> 00:24:34,740 instance. You could easily share files with nearby phones. 295 00:24:34,840 --> 00:24:39,680 You could export this file tree via I don't know, maybe write 296 00:24:39,680 --> 00:24:44,040 Bluetooth driver, 9P over Bluetooth. You could also use 9P 297 00:24:44,040 --> 00:24:49,620 to export your phone devices very easily. Just say export slash phone, 298 00:24:49,680 --> 00:24:51,620 slash phone. And then put the device in the folder. And then the 299 00:24:51,640 --> 00:24:57,060 your PC can import those files, mount them and then with really 300 00:24:57,060 --> 00:25:01,680 no extra code you can make phone calls from your PC controlling 301 00:25:01,680 --> 00:25:05,760 the cell phone's radio just from your PC just by echoing stuff 302 00:25:05,760 --> 00:25:09,920 into a command file. Anti-theft programs are easy. You don't 303 00:25:09,920 --> 00:25:14,100 need that, all the hassle of, you know, there's a variety of 304 00:25:14,100 --> 00:25:16,480 these things you've seen, right? Somebody steals your phone, you 305 00:25:16,480 --> 00:25:19,240 can access the camera, take pictures of them, figure out 306 00:25:19,240 --> 00:25:21,700 where he is. Well, it's really easy when you've got 9P. All 307 00:25:21,700 --> 00:25:24,700 you do is connect to your phone and mount the devices, mount 308 00:25:24,700 --> 00:25:29,020 dev, you know, slash dev slash GPS, mount the camera device and 309 00:25:29,020 --> 00:25:31,500 then you can just access, you know, just take pictures from 310 00:25:31,500 --> 00:25:36,260 home and check out where he is. And besides that, if somebody 311 00:25:36,260 --> 00:25:39,200 steals your Inferno phone, they're not going to know what 312 00:25:39,200 --> 00:25:43,560 the hell. I mean, you're right, this thing is, he'll probably 313 00:25:43,560 --> 00:25:47,520 throw it in a ditch activating the 10G security thing. 314 00:25:51,780 --> 00:25:55,120 So, yeah. So the real thing we took away from all this is that 315 00:25:55,640 --> 00:25:58,320 it's really easy to strip down Inferno and repurpose it for 316 00:25:58,320 --> 00:26:01,900 your own, whatever you really want to do with it. And I think 317 00:26:02,480 --> 00:26:06,760 I couldn't really find any references to this, but what one 318 00:26:06,760 --> 00:26:10,080 of my coworkers was talking about was a Boeing project which 319 00:26:10,080 --> 00:26:13,040 had just done a very similar thing. Someone else may know 320 00:26:13,040 --> 00:26:18,440 more about this, might point it out after we're done. But damn 321 00:26:18,440 --> 00:26:19,220 it, we did it first. So, yeah. So, yeah. So, yeah. So, yeah. So, 322 00:26:21,140 --> 00:26:23,940 if you want to strip down Android, you don't have to put 323 00:26:23,940 --> 00:26:27,520 Inferno on it. It's quite easy to do whatever you want with it. 324 00:26:27,620 --> 00:26:29,920 You get Linux. You can put Python on there. We did put 325 00:26:29,920 --> 00:26:34,440 Python on there. As a first class citizen, you just run 326 00:26:34,440 --> 00:26:38,420 Python. And we even played around with some Python graphics 327 00:26:38,420 --> 00:26:40,780 libraries which access a frame buffer directly. And we were 328 00:26:41,240 --> 00:26:44,340 fooling with writing our own, initially before we went with 329 00:26:44,340 --> 00:26:47,120 Inferno, we were fooling around with writing our own Python 330 00:26:47,120 --> 00:26:49,200 environment. And that would be equal to, you know, the 331 00:26:49,200 --> 00:26:51,540 same thing. You could just whip up your own phone like that. 332 00:26:53,320 --> 00:26:56,300 But another thing we took away from it is that actually with a 333 00:26:56,300 --> 00:26:59,320 bit of work, Inferno could be a pretty viable OS for your 334 00:26:59,320 --> 00:27:05,040 smartphone. It's fast. It's light. When we were testing it, 335 00:27:05,080 --> 00:27:07,460 when we managed to crash it, which we did a lot because we 336 00:27:07,460 --> 00:27:11,820 were playing with the code, we put in a key shortcut on the 337 00:27:11,820 --> 00:27:15,440 phone for resetting Inferno, restarting just Inferno. And 338 00:27:16,280 --> 00:27:18,760 it's, you don't even really notice that it's happened except 339 00:27:18,760 --> 00:27:21,600 that, you know, suddenly all the windows you were running have 340 00:27:21,600 --> 00:27:24,480 gone away. It happens in the blink of an eye. It's restarted 341 00:27:24,480 --> 00:27:27,400 the phone environment. Whereas my Android phone takes 30 seconds, 342 00:27:27,480 --> 00:27:31,160 a minute to boot up. It's really easy to work on Inferno 343 00:27:31,160 --> 00:27:34,200 because you can understand the entire thing without too much 344 00:27:34,200 --> 00:27:38,020 trouble. We had two interns. We had a high school intern with 345 00:27:38,020 --> 00:27:41,080 very, basically no coding experience. He figured out how 346 00:27:41,080 --> 00:27:44,960 to use the programming language limbo. And he was writing some 347 00:27:44,960 --> 00:27:48,740 very useful code for us. You know, within a few weeks, he was 348 00:27:50,980 --> 00:27:56,520 writing good stuff. Inferno already comes with a bunch of 349 00:27:56,520 --> 00:27:59,700 software and infrastructure put in there. You're not starting 350 00:27:59,700 --> 00:28:02,080 over from scratch. You don't have to write any device drivers 351 00:28:02,080 --> 00:28:06,020 because they're already in Linux. You just take what Linux 352 00:28:06,020 --> 00:28:09,460 has given you and extract it however you like. And, yeah, 353 00:28:09,540 --> 00:28:16,080 there's, as I said last, there's no app store. But I don't 354 00:28:16,080 --> 00:28:18,720 really trust what's on the app store anyway. So I'm not sure I 355 00:28:18,740 --> 00:28:24,440 want to do that. So, yeah, if you want to play with it, for 356 00:28:24,440 --> 00:28:30,400 whatever reason, the code is at Bitbucket. And you'll probably 357 00:28:30,400 --> 00:28:32,420 want to compile it on Linux because that's really the best 358 00:28:32,420 --> 00:28:37,280 way to develop for Android and for Inferno. But, yeah, so if 359 00:28:37,280 --> 00:28:41,620 you want to take a look, go for it. I guess, I think I finished 360 00:28:41,620 --> 00:28:46,320 quite early. Quite early. Okay. We have questions. Yes. 361 00:28:56,340 --> 00:29:00,440 I'm pretty sure the voice input is in the higher levels of 362 00:29:00,440 --> 00:29:05,400 Android, which I think we killed off. I think that would be, that 363 00:29:05,400 --> 00:29:07,240 would probably be a bigger project than the whole OS that we 364 00:29:07,240 --> 00:29:11,540 just did. I'm sorry, what? . 365 00:29:19,040 --> 00:29:22,220 Oh. Oh, I'm sorry. It was, I thought you were telling me 366 00:29:22,220 --> 00:29:28,140 names. But, okay, I got it. Well, so we didn't get time to 367 00:29:28,140 --> 00:29:31,920 implement drivers for those. But the thing is, you know, like I 368 00:29:31,920 --> 00:29:34,020 was saying, the nice thing with Linux is that it's, they've 369 00:29:34,020 --> 00:29:35,940 already got the drivers implemented. So there's these 370 00:29:35,940 --> 00:29:39,120 files in slash dev under Linux. And all we have to do is write 371 00:29:39,120 --> 00:29:42,060 code in Inferno to parse what's going into, or what's coming 372 00:29:42,060 --> 00:29:44,900 out of those files. And then we can present it in however we 373 00:29:44,900 --> 00:29:48,360 want. So it's, it's not much harder than writing a Linux 374 00:29:48,740 --> 00:29:56,120 application to access those same resources. Any other 375 00:29:56,120 --> 00:30:03,280 questions? The battery life is stellar. It just, it's not 376 00:30:03,280 --> 00:30:07,240 really doing anything. You know, Android is constantly, you 377 00:30:07,240 --> 00:30:10,740 know, checking a whole variety of stuff. Ours just, it just 378 00:30:10,740 --> 00:30:14,720 kind of runs forever. Like I, I started a, you know, I've left 379 00:30:14,720 --> 00:30:16,940 it running for a week, picked it up, and it's still, you know, 380 00:30:16,940 --> 00:30:18,720 still got good battery life. I mean, these, we're dealing with 381 00:30:18,720 --> 00:30:23,000 Nexus S smartphones here for development. And, you know, if 382 00:30:23,000 --> 00:30:24,860 you've got the screen off, there's just not a lot of draw 383 00:30:24,860 --> 00:30:45,780 there. Any others? Yeah, actually, I haven't tried it 384 00:30:45,780 --> 00:30:48,700 with Inferno. But the, the thing is, yeah, you've got to 385 00:30:48,720 --> 00:30:50,060 know, you should be able to, you should even be able to 386 00:30:50,060 --> 00:30:53,560 export, export what's on the display, export what's, well, if 387 00:30:53,560 --> 00:30:55,420 you're at a driver for it, export what's coming in from the 388 00:30:55,420 --> 00:30:58,580 camera. Export, you can export the touch events coming in on the 389 00:30:58,580 --> 00:31:02,040 touch screen. You can export the phone files so you can make 390 00:31:02,040 --> 00:31:05,900 phone calls and things like that. It's, it's all really easy 391 00:31:05,900 --> 00:31:10,560 to just share all these devices. Yeah? 392 00:31:14,960 --> 00:31:15,980 . Below the what? 393 00:31:17,980 --> 00:31:18,700 . . 394 00:31:18,720 --> 00:31:28,740 So, Zygote is the first process launched with the Dalvik VM. And so it's sort of like 395 00:31:28,740 --> 00:31:34,920 Java's in it. You launch Zygote which uses the Dalvik and it launches every other Java 396 00:31:34,920 --> 00:31:41,340 program on Android. I guess I should have been repeating what questions have been asked 397 00:31:41,340 --> 00:31:44,020 before I answer them. I'm sorry. Yes? 398 00:31:49,900 --> 00:31:54,140 He was asking did we change some of the file system permissions to get set up at boot up 399 00:31:54,140 --> 00:32:02,900 for Android. We did not. We just left permissions as they were. Was there a specific thing you 400 00:32:02,900 --> 00:32:14,000 were thinking about there? I'm sorry, what? Yeah, I mean, yeah, the 401 00:32:14,020 --> 00:32:19,760 file system, Android's file system is pretty locked down to begin with. I mean, it's, we were working 402 00:32:19,760 --> 00:32:24,560 with rooted phones. We installed, well, they were Nexus S so we just unlocked them. We installed 403 00:32:24,560 --> 00:32:29,800 CyanogenMod. But we pretty much built on top of a stock CyanogenMod. I think the only change we 404 00:32:29,800 --> 00:32:34,000 had to make was we ran that script which pulled it down, modified it in it.rc and pushed it back 405 00:32:34,000 --> 00:32:40,820 up. Others? You'll have to shout. . 406 00:32:44,020 --> 00:32:46,600 The question was how many people were working on this? There were three, 407 00:32:46,680 --> 00:32:52,840 which was myself and two interns. A high school and a college student. Yes? 408 00:32:56,540 --> 00:33:02,920 The question was can you still get into the Android, like, the Java environment? Yes you can. So the 409 00:33:02,920 --> 00:33:07,700 script that we wrote to reflash the device with our, with the customized init script, what it 410 00:33:07,700 --> 00:33:13,640 actually does instead of calling, it calls a, it calls a little tiny program we wrote, which, 411 00:33:13,680 --> 00:33:14,000 basically, out of the ordinary code we wrote, and we're making some load on it, again, to use some of the 412 00:33:14,000 --> 00:33:16,340 basically flashes the entire screen white, leaves it for five 413 00:33:16,340 --> 00:33:19,780 seconds. If you touch the screen in that time, it will start the 414 00:33:19,780 --> 00:33:22,200 Android environment. If you leave it alone, it will boot into 415 00:33:22,200 --> 00:33:27,120 Inferno. We also ‑‑ I didn't show in there, but there's also a 416 00:33:27,120 --> 00:33:30,340 menu item in Inferno that lets you switch over to the Zygon 417 00:33:30,340 --> 00:33:32,840 environment. You can't switch back, though, because I don't 418 00:33:32,840 --> 00:33:36,520 know how to back out of the Java. But, yeah, it's ‑‑ if 419 00:33:36,520 --> 00:33:40,080 you want a real environment, not our busted development 420 00:33:40,080 --> 00:33:42,980 environment, it's pretty easy to do. You haven't bricked your 421 00:33:42,980 --> 00:33:54,780 phone. Yes? So the question was what made us choose Inferno? 422 00:33:55,160 --> 00:33:59,540 Well, we're all kind of Inferno fanboys at work. Those of us 423 00:33:59,540 --> 00:34:04,780 who conceived the project. And we were looking for something 424 00:34:04,780 --> 00:34:09,000 which would run hosted, which was important. It's a virtual 425 00:34:09,000 --> 00:34:12,960 machine, so it's kind of on par with the Java thing. So we 426 00:34:13,460 --> 00:34:17,520 really like the power of the 9P protocol. We find that Inferno's 427 00:34:17,520 --> 00:34:21,180 ‑‑ the way Inferno does things is very convenient. They 428 00:34:21,180 --> 00:34:24,620 have a ‑‑ their way of controlling things through 429 00:34:24,620 --> 00:34:28,740 writing just ASCII text to control files is very convenient 430 00:34:28,740 --> 00:34:32,020 for us. It makes it very good for writing applications. We 431 00:34:32,020 --> 00:34:36,440 like the programming language. We know personally the people 432 00:34:36,440 --> 00:34:39,040 who maintain Inferno right now. So we kind of had an in there. 433 00:34:39,620 --> 00:34:42,160 It was really, I think, just a really good fit. We did initially 434 00:34:42,980 --> 00:34:47,220 like I mentioned writing our own Python environment. But we found 435 00:34:47,220 --> 00:34:52,200 how easy it was to port Inferno and suddenly have a really good 436 00:34:52,200 --> 00:34:54,920 start to an environment already. And so we just went with that. 437 00:34:59,220 --> 00:35:06,400 Yes? So you're asking about which devices we've had 438 00:35:06,400 --> 00:35:09,380 experience with? So we started our work with the Android 439 00:35:09,380 --> 00:35:12,960 emulator, which ships with the SDK. Then we got the Android. 440 00:35:12,960 --> 00:35:16,440 We got I think the first thing we bought were Nook colors, Barnes 441 00:35:16,440 --> 00:35:19,000 and Noble Nook colors. We installed cyanogen mod on there 442 00:35:19,520 --> 00:35:24,220 and got it ported over to that. And then we also got like five 443 00:35:24,220 --> 00:35:28,480 Nexus S phones. And we did it for that, too. Those were the 444 00:35:28,480 --> 00:35:30,960 only ones that we had at work. So those are the only ones we 445 00:35:30,960 --> 00:35:34,080 ported to. But it really ‑‑ there's not a ton of device 446 00:35:34,080 --> 00:35:36,280 specific code for each one. The main thing you're going to be 447 00:35:36,280 --> 00:35:40,480 doing is ‑‑ let's see. You'll probably have to make some 448 00:35:40,480 --> 00:35:42,940 tweaks for, like, the frame buffer size. And then you'll be 449 00:35:44,440 --> 00:35:46,420 probably going to have to write your own touch screen handling 450 00:35:46,420 --> 00:35:49,040 code because the events that come down the pipe are just 451 00:35:49,040 --> 00:35:51,960 different for every single thing. But there's not a lot of 452 00:35:51,960 --> 00:36:07,640 code. Yes? Well, so we did ‑‑ I did kind of realize 453 00:36:07,640 --> 00:36:11,820 that after ‑‑ when I started talking about the shortcuts when 454 00:36:11,820 --> 00:36:12,940 I was writing up my slides and stuff, I realized that there was 455 00:36:12,960 --> 00:36:15,900 a lot of stuff that, yeah, a lot of Android smart phones are 456 00:36:15,900 --> 00:36:18,740 getting rid of all physical buttons. Personally, I thought 457 00:36:18,740 --> 00:36:20,760 the physical buttons were really great because they just gave us 458 00:36:20,760 --> 00:36:23,500 this shortcut to give a command directly to the OS no matter 459 00:36:23,500 --> 00:36:26,900 what was on the screen. They're getting rid of them. It wouldn't 460 00:36:26,900 --> 00:36:29,880 be a big deal, I think, to add similar on screen buttons to 461 00:36:29,880 --> 00:36:33,120 Inferno, say perhaps down in that bar at the bottom where all 462 00:36:33,120 --> 00:36:36,800 the applications go. I just wish that they kept the physical 463 00:36:36,800 --> 00:36:42,940 buttons. Any more? Am I missing anybody? Okay. All right. So, 464 00:36:47,960 --> 00:36:51,440 I think that might be it. All right. Thank you, guys.